[Bug 557618] New: pdns-recursor can not find its control socket when running chroot-ed
http://bugzilla.novell.com/show_bug.cgi?id=557618 http://bugzilla.novell.com/show_bug.cgi?id=557618#c0 Summary: pdns-recursor can not find its control socket when running chroot-ed Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: erwinlam@dds.nl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-2.2 Firefox/3.5.5 The pdns-recursor can not find its control socket when running chroot-ed. The control socket is created in the directory /var/run/pdns instead of under /var/lib/pdns, which is the chroot-dir. As a result, the rec_control program does not work:
rec_control ping
rec_control ping
Fatal: Unable to receive message over control channel: Connection timed out After installing pdns-recursor-3.1.7-8.3.x86_64, I could fix the problem as follows. Log in as root and issue the following commands: Stop the pdns-recursor: /etc/init.d/pdns-recursor stop mkdir -p /var/lib/pdns/var/run/pdns cd /var/run rm -rf pdns/ ln -s ../lib/pdns/var/run/pdns pdns Restart the pdns-recursor: /etc/init.d/pdns-recursor start The rec_control program now works properly: pong Please, fix the installation procedure. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557618
http://bugzilla.novell.com/show_bug.cgi?id=557618#c1
Erwin Lam
http://bugzilla.novell.com/show_bug.cgi?id=557618
http://bugzilla.novell.com/show_bug.cgi?id=557618#c
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=557618
http://bugzilla.novell.com/show_bug.cgi?id=557618#c2
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=557618
http://bugzilla.novell.com/show_bug.cgi?id=557618#c
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=557618
http://bugzilla.novell.com/show_bug.cgi?id=557618#c3
--- Comment #3 from Erwin Lam
participants (1)
-
bugzilla_noreply@novell.com