[opensuse] bind errors `/var/run/named/named': File exists
Hi everyone 12.1 BIND 9.8.1-P1 named running without chroot Restarting bind with the init script produces: Starting name server BIND ln: failed to create symbolic link `/var/run/named/named': File exists hh3:/var/run/named # ls -la total 8 drwxr-xr-x 2 named named 100 Dec 20 20:30 . drwxr-xr-x 23 root root 740 Dec 20 19:56 .. lrwxrwxrwx 1 root root 14 Dec 20 20:10 named -> /var/run/named -rw-r--r-- 1 named named 5 Dec 20 20:30 named.pid -rw------- 1 named named 102 Dec 20 20:30 session.key Stop bind and we get: hh3:/var/run/named # ls -la total 0 drwxr-xr-x 2 named named 60 Dec 20 20:31 . drwxr-xr-x 23 root root 740 Dec 20 19:56 .. lrwxrwxrwx 1 root root 14 Dec 20 20:10 named -> /var/run/named The workaround is not to use /etc/init.d/named: killall -9 named chkconfig named off rm -r /var/run/named mkdir /var/run/named chown named:root /var/run/named named -u named 1. Why is the link, named -> /var/run/named created? 2. If the link needs to be created upon starting and deleted upon ending, then why does root create it? Need confirmation that this is not a bug. Thanks for your patience. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Dec 20, 2011 at 08:52:55PM +0100, lynn wrote:
12.1 BIND 9.8.1-P1 named running without chroot [ 8< ] 1. Why is the link, named -> /var/run/named created?
Looks like nobody tested the a chrooted ISC named. :/
2. If the link needs to be created upon starting and deleted upon ending, then why does root create it?
The init script is broken. Please file a bug report where you reference the this dicussion with a pointer to the start of this thread in the list archive. Please also reply back to the list with the bug ID. Thanks. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Wed, Dec 21, 2011 at 10:45:51PM +0100, Lars Müller wrote: [ 8< ]
The init script is broken. Please file a bug report where you reference the this dicussion with a pointer to the start of this thread in the list archive. Please also reply back to the list with the bug ID.
https://bugzilla.novell.com/show_bug.cgi?id=738156 with a reference to a trial of a fix. Please test and provide feedback inside bugzilla. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On 21/12/11 22:45, Lars Müller wrote:
On Tue, Dec 20, 2011 at 08:52:55PM +0100, lynn wrote:
12.1 BIND 9.8.1-P1 named running without chroot [ 8< ] 1. Why is the link, named -> /var/run/named created? Looks like nobody tested the a chrooted ISC named. :/
2. If the link needs to be created upon starting and deleted upon ending, then why does root create it? The init script is broken. Please file a bug report where you reference the this dicussion with a pointer to the start of this thread in the list archive. Please also reply back to the list with the bug ID.
Thanks.
Lars
https://bugzilla.novell.com/show_bug.cgi?id=738258 Is this likely to interfere with testing Samba 4? Really appreciate quick reply as have some spare time tomorrow:) Thanks y Feliz Navidad. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Dec 22, 2011 at 01:28:58PM +0100, lynn wrote:
On 21/12/11 22:45, Lars Müller wrote:
On Tue, Dec 20, 2011 at 08:52:55PM +0100, lynn wrote:
12.1 BIND 9.8.1-P1 named running without chroot [ 8< ] 1. Why is the link, named -> /var/run/named created? Looks like nobody tested the a chrooted ISC named. :/
2. If the link needs to be created upon starting and deleted upon ending, then why does root create it? The init script is broken. Please file a bug report where you reference the this dicussion with a pointer to the start of this thread in the list archive. Please also reply back to the list with the bug ID.
Sorry, I had been faster. See bnc#738156 and test, test, test and provide the requested information. Ensure to clean the needinfo state as soon as you have finished your testing.
Is this likely to interfere with testing Samba 4?
No. This is or better was a simple bug in the init script. See bugzilla there you have all the references. We either have to port the change to the code in use with openSUSE 12.1 or we might even use the same code for 12.1 as it is now in openSUSE Factory. The difference is minimal. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
participants (2)
-
Lars Müller
-
lynn