Please integrate Samba 4 with bind9 package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Debian) |
Confirmed
|
Unknown
|
|||
bind9 (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned | ||
samba4 (Debian) |
Confirmed
|
Unknown
|
|||
samba4 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I am attempting to install Samba 4 using version 4.0.0~alpha18.
include "/var/lib/
to /etc/bind/
sudo aa-complain /usr/sbin/named
allowed bind to restart and run, leaving the following apparmor reports to appear in my /var/log/syslog over the first few seconds after bind's restart:
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
all appeared once, while these two messages
apparmor="ALLOWED" operation=
apparmor="ALLOWED" operation=
appeared several times.
As a workaround, adding the following to /etc/apparmor.
# samba4
/var/lib/samba/** rwmk,
/usr/
/usr/
No doubt the proper Apparmor permissions change would be a lot narrower than this. I'm also not certain if these changes are sufficient to allow named to run without Apparmor problems once Windows clients start causing dynamic DNS updates.
summary: |
- bind9 config changes for samba4 cause apparmor profile conflicts + integrate with bind package |
Changed in samba4 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in bind9 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
summary: |
- integrate with bind package + samba4: integrate with bind package |
Changed in bind9 (Debian): | |
status: | Unknown → Confirmed |
Changed in samba4 (Debian): | |
status: | Unknown → Confirmed |
Just to add: one thing I have confirmed is that the test DNS requests suggested by the Samba 4 HOWTO,
host -t SRV _ldap._ tcp.samdom. example. com. _udp.samdom. example. com. example. com.
host -t SRV _kerberos.
host -t A samba.samdom.
do succeed without /var/log/syslog warnings once the /etc/apparmor. d/usr.sbin. named changes are in place (and then Apparmor has been restarted with
sudo /etc/init. d/apparmor reload
. )