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

Bug#765486: openssh-server: ssh server should start ealier on Debian to allow debugging hanging application startup



On Wed, Oct 15, 2014 at 03:03:15PM +0100, Paul Shore wrote:
> Would like to be able to access ssh server ealier in boot (i.e. first
> service to be started after network).
> Not sure how you specify this in the /etc/init.d/ssh startup script or
> if its even possible within the Debian configuration.

In practice it was extremely difficult to make everyone happy doing this
in non-dependency-based sysvinit.  In wheezy, it was started at S16, and
I think any earlier ran into deadlocks in some situations.

However, in jessie you should find that either you're using
dependency-based boot with sysvinit, or you're using a fundamentally
smarter init daemon (systemd or upstart).  In any of those cases, you
should find that sshd starts pretty much as early as possible in
practice.

I don't think that it would be a good idea to try to change this in
wheezy at this point, I'm afraid.  I would be concerned about
introducing more serious boot ordering bugs in the process.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: