https://bugzilla.novell.com/show_bug.cgi?id=809812 https://bugzilla.novell.com/show_bug.cgi?id=809812#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2013-03-18 10:31:39 UTC --- I'm thinking on a simply shell function for the initrd script defined the lines below the shell function die() ... emergency (){ local plymouth sulogin if plymouth=$(type -p plymouth 2> /dev/null) ; then $plymouth quit $plymouth --wait fi cd / echo -n "${1+$@} -- " if sulogin=$(type -p sulogin 2> /dev/null); then echo "exiting to $sulogin" $sulogin else echo "exiting to /bin/sh" PATH=$PATH PS1='$ ' /bin/sh -i fi } and then replace all occurrences of echo ... cd / PATH=$PATH PS1='$ ' /bin/sh -i with this shell function should solve the trouble ... beside this with the sulogin from sysvinit-tools or the new linux-utils it would be possible to do the emergency on all system consoles in parallel. Only the root lines from /etc/passwd and /etc/shadow together with /sbin/sulogin are required. This would require to add /sbin/sulogin to the `#%programs:' line of boot-start.sh and a view lines in setup-start.sh
$tmp_mnt/etc/passwd $tmp_mnt/etc/shadow chmod 0644 $tmp_mnt/etc/passwd chmod 0600 $tmp_mnt/etc/shadow grep ^root /etc/passwd >> $tmp_mnt/etc/passwd grep ^root /etc/shadow >> $tmp_mnt/etc/shadow
-- 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.