[Bug 397014] New: AppArmor fails on policy unload, reload
https://bugzilla.novell.com/show_bug.cgi?id=397014 Summary: AppArmor fails on policy unload, reload Product: openSUSE 11.0 Version: RC 1 Platform: All OS/Version: Linux Status: NEW Severity: Blocker Priority: P5 - None Component: AppArmor AssignedTo: jjohansen@novell.com ReportedBy: jjohansen@novell.com QAContact: qa@suse.de CC: cthiel@novell.com, abittner@stud.fh-heilbronn.de Depends on: 395060 Found By: --- the AppArmor initscript and parser had a bug where policy could fail to be removed or reloaded beyond what was caused by https://bugzilla.novell.com/show_bug.cgi?id=395060 This would result in rc.apparmor stop not removing all of loaded policy, and keep rc.apparmor reload from reloading some of the policy. The bug is split into two parts: reload relies on apparmor_parser -N to output the profile names list, this was not being properly output for profiles containing hats. both reload and remove would then take the above names and generate a dummy profile and pass that through apparmor_parser -R to remove profiles. The dummy profile generation failed for unattached profiles and some hats. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397014
John Johansen
https://bugzilla.novell.com/show_bug.cgi?id=397014
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397014#c1
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=397014 Bug 397014 depends on bug 395060, which changed state. Bug 395060 Summary: /lib/apparmor/rc.apparmor.functions: line 377: [: eq: binary operator expected https://bugzilla.novell.com/show_bug.cgi?id=395060 What |Old Value |New Value ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397014
User jjohansen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397014#c2
John Johansen
participants (1)
-
bugzilla_noreply@novell.com