[pkg-apparmor] Bug#871953: apparmor: init script unconditionally uses systemd-detect-virt

intrigeri intrigeri at debian.org
Sun Aug 13 14:53:25 UTC 2017


Control: tag -1 + pending

Hi!

Guillem Jover:
> The apparmor init script uses systemd-detect-virt unconditionally,
> which is not available when systemd is not installed, and prints an
> error message.

> The program should be checked for its existence first before its
> usage.

Indeed, thanks!

I've committed a fix in Vcs-Bzr:
https://alioth.debian.org/scm/loggerhead/collab-maint/apparmor/revision/1655
Reviews/comments are welcome :)

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list