Diff for smbd:

diff --git a/etc/init/smbd.conf b/etc/init/smbd.conf
index 3e85ea4..cdb077c 100644
--- a/init/smbd.conf
+++ b/init/smbd.conf
@@ -14,6 +14,7 @@ pre-start script
        [ "$RUN_MODE" = inetd ] && { stop; exit 0; }
 
        install -o root -g root -m 755 -d /var/run/samba
+       /lib/init/apparmor-profile-load usr.sbin.smbd
 end script
 
 exec smbd -F


** Description changed:

- It is possible for smbd and nmbd to start up before their respective apparmor 
profiles are loaded. This can be fixed by adding a 
- /lib/init/apparmor-profile-load $daemon_location to the pre-start script of 
the smbd and nmdb  upstart init configuration files.
+ It is possible for smbd and nmbd to start up before their respective apparmor 
profiles are loaded. This can be fixed by adding a
+ /lib/init/apparmor-profile-load $daemon_location to the pre-start script of 
the smbd and nmbd  upstart init configuration files.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1228485

Title:
  smbd and nmbd can start up before their respective apparmor profiles
  are loaded

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1228485/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to