[pkg-apparmor] Tor does not start with latest Linux kernel

Viktor Jägersküpper viktor_jaegerskuepper at freenet.de
Tue Oct 31 12:14:00 UTC 2017


Dear Tor and AppArmor Maintainers,

with the latest change in the Debian Linux kernel package 4.13.10-1

* security: Enable DEFAULT_SECURITY_APPARMOR

the tor daemon (with the Debian standard configuration as a client) failed to start with

systemd[1]: Starting Anonymizing overlay network for TCP...
tor[517]: Oct 31 13:49:40.688 [notice] Tor 0.3.2.3-alpha (git-894b61b1d19f6235) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0f, Zlib 1.2.8,
tor[517]: Oct 31 13:49:40.688 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warn
tor[517]: Oct 31 13:49:40.688 [notice] This version is not a stable Tor release. Expect more bugs than usual.
tor[517]: Oct 31 13:49:40.732 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
tor[517]: Oct 31 13:49:40.761 [notice] Read configuration file "/etc/tor/torrc".
tor[517]: Configuration was valid
systemd[538]: tor at default.service: Failed to prepare AppArmor profile change to system_tor: No such file or directory
systemd[538]: tor at default.service: Failed at step APPARMOR spawning /usr/bin/tor: No such file or directory
systemd[1]: tor at default.service: Main process exited, code=exited, status=231/APPARMOR
systemd[1]: tor at default.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Anonymizing overlay network for TCP.

The only AppArmor package I had installed was "libapparmor1" because e.g. systemd depends on it.

Then I installed the package "apparmor" and after a restart tor started again. Is there a dependency missing in the tor package?

Regards,
Viktor



More information about the pkg-apparmor-team mailing list