touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #19732
[Bug 1370228] Re: init script returns 0 even after parsing failure
** Changed in: apparmor (Ubuntu)
Status: New => In Progress
** Changed in: apparmor (Ubuntu)
Assignee: (unassigned) => Jamie Strandboge (jdstrand)
--
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:
In Progress
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