Bug#754423: rc.local messages no longer show up at boot and HOME not set

積丹尼 Dan Jacobson jidanni at jidanni.org
Thu Jul 10 22:35:04 BST 2014


Package: systemd-sysv
Version: 208-5

My first impressions of systemd-sysv (?) after rebooting were scary.
There was a whole minute wait while the system hung.

It turned out that messages from my rc.local were not being displayed.
I found them in syslog:
Jul 11 05:11:46 jidanni6 rc.local[407]: /dev/sdb2 has been mounted 24 times without being checked, check forced.
Jul 11 05:12:41 jidanni6 rc.local[407]: #001/dev/sdb2: |= | 2.3%
  #015#002#001/dev/sdb2: |=== / 4.5% #015#002#001/dev/sdb2: |==== - 6.8%

If systemd-sysv (?) is supposed to be a 'drop-in replacement', then
please be sure these messages end up on the initial screens, else the
user thinks the system hung.

Also:
Jul 11 05:13:02 jidanni6 rc.local[407]: /etc/rc.local: line 147: cd: HOME not set

What? cd will fail!
HOME not set!
First time in history of Unix that cd will fail that way I bet!
I bet cd ~ will fail too.
I thought there were some things we could count on...

Jul 11 05:13:03 jidanni6 rc.local[407]: ============ /etc/rc.local:
Jul 11 05:13:03 jidanni6 rc.local[407]: Will execute "/etc/init.d/nodm start" in 5 seconds.
Jul 11 05:13:03 jidanni6 rc.local[407]: Hit some chars and RET to cancel.
Jul 11 05:13:03 jidanni6 rc.local[407]: Hit RET to start right away... MAYBE...

My rc.local has interaction with a timeout.

But now I cannot interact with it anymore because I can't see what it is
asking!

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rc.local
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140711/b75d44b2/attachment-0002.ksh>


More information about the Pkg-systemd-maintainers mailing list