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

2017-08-13 Thread intrigeri
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



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

2017-08-12 Thread Guillem Jover
Package: apparmor
Version: 2.11.0-10
Severity: normal

Hi!

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.

Thanks,
Guillem