[Pkg-sysvinit-devel] Bug#766578: sulogin segfaults if cannot find password database

積丹尼 Dan Jacobson jidanni at jidanni.org
Fri Oct 24 05:02:50 UTC 2014


Package: sysvinit-utils
Version: 2.88dsf-55.3
File: /sbin/sulogin

"sulogin: cannot open password database"
"sulogin: segfault ... 4 ... segment violation"

To reproduce:

Be sure you have more than one kernel installed in order to be able to
boot into another to finally get back to your system.

Now with initramfs-tools Ver: 0.118 installed,

first change /etc/fstab making the type for / be "auto", not ext4 etc.

Now change
# diff /usr/share/initramfs-tools/scripts/functions{OLD,}
581c581
<                       sleep 5
---
>                       sleep 225

(to give enough time to scroll back and read the messages
which I penciled down and typed in approximately above.)

and then run update-initramfs -u
(will give warning about filesystem type)
and reboot.



More information about the Pkg-sysvinit-devel mailing list