ubuntu server minimal vm install tor service wont start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tor (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The tor daemon fails to start after clean minimal VM install.
Steps to reproduce:
1 - Install Ubuntu Server 16.04 64bits, choosing the minimal VM install in install menu (F4 key).
2 - Install tor package.
3 - Reboot.
After reboot the tor daemon will not be running.
The following lines can be found on /var/log/syslog:
Jul 4 14:26:00 ubuntu tor[543]: Jul 04 14:26:00.737 [notice] Tor v0.2.7.6 (git-605ae66500
Jul 4 14:26:00 ubuntu tor[543]: Jul 04 14:26:00.738 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https:/
Jul 4 14:26:00 ubuntu tor[543]: Jul 04 14:26:00.739 [notice] Read configuration file "/usr/share/
Jul 4 14:26:00 ubuntu tor[543]: Jul 04 14:26:00.740 [notice] Read configuration file "/etc/tor/torrc".
Jul 4 14:26:00 ubuntu tor[543]: Configuration was valid
Jul 4 14:26:00 ubuntu kernel: [ 12.835111] audit: type=1400 audit(146765676
Jul 4 14:26:00 ubuntu systemd[555]: <email address hidden>: Failed at step APPARMOR spawning /usr/bin/tor: No such file or directory
Jul 4 14:26:00 ubuntu systemd[1]: <email address hidden>: Main process exited, code=exited, status=231/APPARMOR
Jul 4 14:26:00 ubuntu systemd[1]: Failed to start Anonymizing overlay network for TCP.
Jul 4 14:26:01 ubuntu systemd[1]: Startup finished in 4.609s (kernel) + 7.756s (userspace) = 12.365s.
Jul 4 14:26:01 ubuntu systemd[1]: <email address hidden>: Unit entered failed state.
Jul 4 14:26:01 ubuntu systemd[1]: <email address hidden>: Failed with result 'exit-code'.
Jul 4 14:26:01 ubuntu systemd[1]: <email address hidden>: Service hold-off time over, scheduling restart.
Jul 4 14:26:01 ubuntu systemd[1]: Stopped Anonymizing overlay network for TCP.
After installing the apparmor package and rebooting, the tor daemon starts.
Either the tor package should be fixed not to require apparmor or apparmor should be added as a dependency for the tor package.
Note: You can ignore any automatically attached system information in this bug report. I've submitted the ticket from a different system due to not being able to submit it on the affected machine.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: tor (not installed)
ProcVersionSign
Uname: Linux 3.16.0-76-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Jul 4 23:32:13 2016
InstallationDate: Installed on 2012-08-02 (1432 days ago)
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: tor
UpgradeStatus: Upgraded to trusty on 2014-07-27 (708 days ago)
Changed in tor (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.