[pkg-apparmor] Bug#771240: apparmor: Please make apparmor work with dracut, too.

intrigeri intrigeri at debian.org
Fri Nov 28 10:31:42 UTC 2014


Control: tag -1 + moreinfo

Hi,

Tilman Schröder wrote (27 Nov 2014 22:07:50 GMT) :
> please make apparmor work with dracut as the system to build an initramfs, too.

> I tried to use apparmor by installing it via
> dpkg --force-depends -i apparmor_2.9.0-2_amd64.deb

> but installation failed with the following error message in the journal:

> Nov 27 22:55:35 procyonbook systemd[1]: Cannot add dependency job for unit
> dracut-shutdown.service, ignoring: Unit dracut-shutdown.service failed to load:
> No such file or directory

First of all, may you please try installing apparmor with apt-get
instead? Problems that happen only with `dpkg --force-depends' are
generally not bugs: you're explicitly forcing dpkg to do something it
knows it shouldn't.

To be frank, I doubt that AppArmor has anything to do with that
dracut-related error. My gut feeling is that apparmor installs an
initscript, which triggers a systemd unit files reload, which exposes
a bug in the dracut systemd integration. What's the output of:

    # systemctl show dracut-shutdown.service
    # rgrep dracut-shutdown /{etc,lib}/systemd/system

?

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list