Page 1 of 1

rc.services weird output

Posted: 5. Feb 2011, 00:29
by pwatk
I've been meaning to post this for a while.

If I allow rc.services to start rc.shorewall I end up with this during startup (this is set to normal verbosity):
Image

If, however, I blacklist rc.shorewall and start it from rc.local (or just rename it to rc.firewall) then everything returns to normal:

Image

Can the rc.services script be modified to fix this or do I need to get creative with my packaging (I don't really want to hijack rc.firewall :twisted: )?

Re: rc.services weird output

Posted: 5. Feb 2011, 16:01
by gapan
Oh, that is the infamous staircase effect. Can you try editing the /etc/rc.d/rc.M file and adding:

Code: Select all

stty onlcr
just before it runs rc.services?

Re: rc.services weird output

Posted: 5. Feb 2011, 19:49
by pwatk
I did this but still no joy:

Code: Select all

# Start all other rc files not listed in here
if [ -x /etc/rc.d/rc.services ]; then
	stty onlcr
	python /etc/rc.d/rc.services
fi