[opensuse] testing an alpha vesion with named chroot
12.1 Hi I have a default /etc/named.conf with this added by me: include "/usr/local/samba/private/named.conf"; and this added by Yast: zone "hh3.site.zone" in { file "master/hh3.site.zoneX"; type master; }; It works fine when not chrooted, so I made the folder structure: /var/lib/named/usr/local/samba/private and copied /usr/local/samba/private/named.conf to it, reinstated the chroot and restarted named: Dec 5 09:26:22 hh3 named[5336]: Loading 'AD DNS Zone' using driver dlopen Dec 5 09:26:22 hh3 named[5336]: dlz_dlopen failed to open library '/usr/local/samba/modules/bind9/dlz_bind9.so' - /usr/local/samba/modules/bind9/dlz_bind9.so: cannot open shared object file: No such file or directory So it seems that I would have to put the whole of the /usr/local/samba tree in the jail. I've tried symlinking but it can't see out of the chroot. As I'm testing an alpha, I need to update these files frequently. Question: does named really need to be chrooted? What would be the opensuse way of doing this given running named chroot is is default? Thanks L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2011-12-05 at 09:38 +0100, lynn wrote:
Question: does named really need to be chrooted?
No.
What would be the opensuse way of doing this given running named chroot is is default? Thanks
Just disable chroot. Change the change-root setting in /etc/sysconfig/named to no. You can do this via the Yast sysconfig editor. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Adam Tauno Williams
-
lynn