Additional lines for usr.sbin.smbd profile.
Bug #237066 reported by
Adam Sommer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apparmor
When testing the usr.sbin.smbd profile which is part of the apparmor-profiles package I noticed that adding the following fixed log entries caused by smbd:
/var/
/var/run/utmp rwk,
There may be better permissions than the ones I used, but they worked fine for me. /var/spool/samba is needed for sharing printers, and from what I can tell about /var/run/utmp contains information about who is logged in etc. Found this site giving a decent explanation:
http://
Thanks,
Adam
Related branches
To post a comment you must log in.
This bug was fixed in the package apparmor - 2.1+1075-0ubuntu10
--------------- 0ubuntu10) intrepid; urgency=low
apparmor (2.1+1075-
[ Jamie Strandboge ] smbpass and #include it in abstractions/ authentication samba/* .tdb. LP: #217787
* added abstractions/
to allow access to /var/lib/
[ Mathias Gug ]
* update likewise-open authentication abstraction: allow access to
privileged pipe (LP: #235646).
* Update smbd profile to include access to /var/spool/samba/ (printer
sharing) and utmp update (LP: #237066).
* Update esound location in audio profile (LP: #229127).
Thanks to Adam Mondl.
* Add dnsmasq profile (LP: #148590). Thanks to John Dong.
-- Mathias Gug <email address hidden> Mon, 09 Jun 2008 18:24:09 -0400