[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#352301: Hang after selinux messages on SunFire v240


The selinux mounting message comes from the on-disk /sbin/init (sysvinit package), so switching to real root is successful. Looking at the sysvinit syslog I see the following suspicious entry dating Feb 9th:

sysvinit (2.86.ds1-12) unstable; urgency=low
  * init: 41_selinux_console.dpatch: print to same console as others do
    (Closes: #349149)

That patch changes the function to print the informational selinux
message from printf() to print(), which opens the console, writes to it, and then closes it. I'm not sure about the rationale of this change, but it looks like the primary suspect. Can you try building the sysvinit package without this patch and try it? If you want to do it during installation, you'll have to wget the package, chroot into /target
and install it there.

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC

Reply to: