[Bug 738258] New: bind errors `/var/run/named/named': File exists
https://bugzilla.novell.com/show_bug.cgi?id=738258 https://bugzilla.novell.com/show_bug.cgi?id=738258#c0 Summary: bind errors `/var/run/named/named': File exists Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lynn@steve-ss.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=468674) --> (http://bugzilla.novell.com/attachment.cgi?id=468674) logs and config files User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 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? Reproducible: Always Steps to Reproduce: 1./etc/sysconfig/named (set chroot no) 2.rcnamed start 3.look at at the end of less /var/log/messages Actual Results: `/var/run/named/named': File exists Expected Results: named starts without errors Detected as hange the result of testing the Samba 4 alpha which needs named dynamic updates. Please: don't change the named binary. I think the fault is in the init script as confirmed here: http://lists.opensuse.org/opensuse/2011-12/msg01345.html The start of that thread is here: http://lists.opensuse.org/opensuse/2011-12/msg01235.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738258 https://bugzilla.novell.com/show_bug.cgi?id=738258#c1 Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Lars Müller <lmuelle@suse.com> 2011-12-22 13:35:57 CET --- This is a duplicate of bnc#738156 *** This bug has been marked as a duplicate of bug 738156 *** http://bugzilla.novell.com/show_bug.cgi?id=738156 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com