http://bugzilla.novell.com/show_bug.cgi?id=625019 http://bugzilla.novell.com/show_bug.cgi?id=625019#c0 Summary: named refuse to start : init.d/named script is wrong to mount /proc bind Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bruno@ioda-net.ch QAContact: qa@suse.de CC: abittner@stud.fh-heilbronn.de Depends on: 470828 Found By: Community User Blocker: --- +++ This bug was initially created as a clone of Bug #470828 +++ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2 (.NET CLR 3.5.30729) Jan 29 23:43:57 box named[9302]: starting BIND 9.5.0-P2 -t /var/lib/named -u named Jan 29 23:43:57 box named[9302]: found 1 CPU, using 1 worker thread Linux box 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 athlon i386 GNU/Linux CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02 CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02 Reproducible: Always Steps to Reproduce: 1. install named 2. configure the number of cpu in sysconfig + chroot yes 3. try to start named failed with error message /var/lib/named/proc mounted rw Here the pb is localized in init script # mount /proc for multicore CPUs (bnc#470828) if [ ! -e "${CHROOT_PREFIX}/proc/meminfo" ]; then mkdir -p "${CHROOT_PREFIX}/proc" # Working lines picked from init.d/ntp mount -o bind /proc ${CHROOT_PREFIX}/proc 2>/dev/null mount -o remount,ro,nosuid,nodev ${CHROOT_PREFIX}/proc 2>/dev/null # This line doesn't work # mount --bind /proc "${CHROOT_PREFIX}/proc" -o ro fi; I've adjust it by picking the two working line from ntp init script The non working line work on 11.2 but no more on 11.3 Can be tricky to find by normal user. Fix is also simple I've made a clone of 470828 as it was reported in init.d Ideal solution : standardize all chroot daemon init script :-) -- 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.