rc.services weird output

You think you have found a bug? Let us know about it.
Post Reply
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

rc.services weird output

Post 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: )?
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: rc.services weird output

Post 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?
Image
Image
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: rc.services weird output

Post 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
Image
Post Reply