https://bugzilla.novell.com/show_bug.cgi?id=656509
https://bugzilla.novell.com/show_bug.cgi?id=656509#c25
Christian Wittmer
---SNIP--- --- ntp.orig 2010-12-06 16:09:14.433023504 +0100 +++ ntp 2010-12-06 16:09:23.965026074 +0100 @@ -112,7 +112,7 @@ # prepare_chroot is called on every "start", but we need to mount only once if ! grep -q " ${CHROOT_PREFIX}/proc proc " /proc/mounts; then mount -o bind /proc ${CHROOT_PREFIX}/proc 2>/dev/null - mount -o remount,ro,nosuid,nodev ${CHROOT_PREFIX}/proc 2>/dev/null + mount -o remount,ro,nosuid,nodev,bind ${CHROOT_PREFIX}/proc 2>/dev/null fi NTPD_OPTIONS="${NTPD_OPTIONS} -i ${CHROOT_PREFIX}" }
This does not fix the problem on Starto V-PowerServer. After starting ntp you can not login via ssh: Mar 13 13:40:34 h2009499 sshd[3614]: pam_loginuid(sshd:session): Cannot open /proc/self/loginuid: Read-only file system Mar 13 13:40:34 h2009499 sshd[3614]: pam_loginuid(sshd:session): set_loginuid failed I need to patch /etc/init/ntp: --- ntp.init.orig 2012-03-12 15:30:21.000000000 +0100 2 +++ ntp.init 2012-03-13 13:42:01.000000000 +0100 3 @@ -116,6 +116,7 @@ 4 if ! grep -q " ${CHROOT_PREFIX}/proc proc " /proc/mounts; then 5 mount -o bind /proc ${CHROOT_PREFIX}/proc 2>/dev/null 6 mount -o remount,ro,nosuid,nodev,bind ${CHROOT_PREFIX}/proc 2>/dev/null 7 + mount -o remount,rw /proc 2>/dev/null 8 fi 9 NTPD_OPTIONS="${NTPD_OPTIONS} -i ${CHROOT_PREFIX}" 10 } -- 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.