After I upgrade Tumbleweed with zypper dup, bind does not start anymore. I get the following error message with “systemctl status named”:
Dec 17 03:06:48 hal systemd[1]: Starting Berkeley Internet Name Domain (DNS)…
Dec 17 03:06:48 hal systemd[4671]: named.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/samba/bind-dns: No such file or directory
Dec 17 03:06:48 hal systemd[4671]: named.service: Failed at step NAMESPACE spawning /usr/libexec/bind/named.prep: No such file or directory
Dec 17 03:06:48 hal systemd[1]: named.service: Control process exited, code=exited, status=226/NAMESPACE
This is strange because this file is only needed if samba-ad-dc is active.
I had a problem with DNS when I provisioned a samba-ad-dc server. see
AFAIK the file 26-samba-dlz.conf should come with samba. I think that if you don’t have samba enabled this file should not be created.
I had a look in YaST but this file seems not present in bind, samba or samba-ad-dc-libs packages. Maybe it is a post-installation script which generates it.
Also it seems that the /etc/named.conf was updated with the include.
You can open a bug report about these problems.
You can use systemctl edit named.service and enter these two lines.
this creates a file /etc/systemd/system/named.service.d/override.conf that has a higher priority over the
/usr/lib/systemd/system/named.service.d/26-samba-dlz.conf
If another update occurs it is possible that the file 26-samba-dlz.conf should be again updated/created but with the override.conf it should not be a problem.