[Apparmor-dev] [RFR] Fix SubDomain.pm to not fail when extras/ doesn't exist

Mathias Gug mathiaz at ubuntu.com
Thu Sep 20 09:44:25 MDT 2007


Hi,

I've attached a diff that refactors SubDomain.pm to not fail when
directories that should be scanned for profiles don't exist.

This is the case in Ubuntu as profiles in extas/ are not shipped by
default. In such case, aa-genprof fails to scan the extra directory.
See https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/141128.

--
Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apparmor-readinactiveprofiles.diff
Type: text/x-diff
Size: 2093 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070920/65dd646d/apparmor-readinactiveprofiles.bin


More information about the Apparmor-dev mailing list