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

Bug#546743: openssh-server - init script fails on EIO



reassign 546743 lsb-base
affects 546743 openssh-server
thanks

On Tue, Sep 15, 2009 at 02:41:20PM +0200, Bastian Blank wrote:
> Package: openssh-server
> Version: 1:5.1p1-5
> Severity: important
> 
> 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.

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: