Hello community,

here is the log from the commit of package apparmor for openSUSE:Factory
checked in at Tue Aug 2 16:42:01 CEST 2011.



--------
--- apparmor/apparmor.changes   2011-06-24 16:06:28.000000000 +0200
+++ /mounts/work_src_done/STABLE/apparmor/apparmor.changes      2011-08-02 
11:53:57.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Aug  2 09:19:45 UTC 2011 - [email protected]
+
+- Add apparmor-securityfs-systemd.patch: do not mount securityfs
+  when running under systemd, just access the directory, systemd
+  will automount it (bnc#704460).
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  apparmor-securityfs-systemd.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apparmor.spec ++++++
--- /var/tmp/diff_new_pack.FAC5p8/_old  2011-08-02 16:41:14.000000000 +0200
+++ /var/tmp/diff_new_pack.FAC5p8/_new  2011-08-02 16:41:14.000000000 +0200
@@ -46,7 +46,7 @@
 %endif
 Summary:        AppArmor userlevel parser utility
 Version:        2.6.0
-Release:        56
+Release:        58
 Group:          Productivity/Networking/Security
 Source0:        apparmor-%{version}.tar.bz2
 Source1:        %{name}-profile-editor.png
@@ -74,6 +74,7 @@
 Patch19:        klog-needs-CAP_SYSLOG
 Patch20:        apparmor-profiles-dhclient
 Patch21:        apparmor-utils-subdomain-compat
+Patch22:        apparmor-securityfs-systemd.patch
 License:        GPLv2+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            https://launchpad.net/apparmor
@@ -467,6 +468,7 @@
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 %build
 export SUSE_ASNEEDED=0


++++++ apparmor-securityfs-systemd.patch ++++++
Index: apparmor-2.6.0/parser/rc.apparmor.functions
===================================================================
--- apparmor-2.6.0.orig/parser/rc.apparmor.functions
+++ apparmor-2.6.0/parser/rc.apparmor.functions
@@ -295,7 +295,7 @@ is_apparmor_loaded() {
 }
 
 is_securityfs_mounted() {
-       grep -q securityfs /proc/filesystems && grep -q securityfs /proc/mounts
+       test -d ${SECURITYFS} -a -d /sys/fs/cgroup/systemd || grep -q 
securityfs /proc/filesystems && grep -q securityfs /proc/mounts
        return $?
 }
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to