touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #18176
[Bug 1370228] Re: init script returns 0 even after parsing failure
Tested with apparmor 2.8.96~2652-0ubuntu4.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1370228
Title:
init script returns 0 even after parsing failure
Status in “apparmor” package in Ubuntu:
New
Bug description:
The apparmor init script (and likely the upstart job, but haven't
checked) returns exit code 0 even when a profile can't be loaded.
In /lib/apparmor/functions foreach_configured_profile first loads profiles from /etc/apparmor.d and then from /var/lib/apparmor/profiles.
Parsing errors in the first dir are ignored.
The attached patch returns the first non-zero return code or zero if
there are no errors.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1370228/+subscriptions
References