[Bug 1228485] Re: smbd and nmbd can start up before their respective apparmor profiles are loaded

David 1228485 at bugs.launchpad.net
Sat Sep 21 03:58:41 UTC 2013


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
Foundations Bugs, 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

Status in “samba” package in Ubuntu:
  New

Bug description:
  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.

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



More information about the foundations-bugs mailing list