On Tue, Sep 15, 2009 at 03:16:53PM +0100, Colin Watson wrote: > > The ssh init script fails to do anything usefull of echo fails with EIO > > because of the set -e. Standard output is /dev/console during the > > initial startup. > > > > /dev/console is a special device. It may generate EIO on writing if > > no backend device is connected to it, aka while the console is > > missconfigured or broken. Such a system will boot up normal but the sshd > > will be missing, which may be needed to fix things. > > OK, but /etc/init.d/ssh doesn't echo anything directly; it just uses the > LSB init functions. I think they ought to be changed to explicitly > discard errors from console writes as appropriate.
The LSB init script example explicitely stat that you must not use "set -e". Bastian -- A little suffering is good for the soul. -- Kirk, "The Corbomite Maneuver", stardate 1514.0 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org