Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Grant Edwards <grant.b.edwards@...>
Subject: Re: sshd no longer starting when it should.
Date: Wed, 8 Jun 2011 20:43:26 +0000 (UTC)
On 2011-06-08, Alan McKinnon <alan.mckinnon@...> wrote:
> Apparently, though unproven, at 22:18 on Wednesday 08 June 2011, Grant Edwards 
> did opine thusly:
>
>> A recent update seems to have broken sshd.  It no longer starts when
>> it should.  It seems to refuse to start up unless eth0 is up.  For years
>> I've had the following in /etc/conf.d/rc
>> 
>> RC_NET_STRICT_CHECKING="lo"
>> 
>> According to the comments that means that the "net" service is up as
>> long as at least one interface (including lo) is up, and sshd used to
>> obey that setting.  But now sshd seems to ignore that and has decided
>> that it knows better than I do -- it refuses to start when I tell it
>> to via "/etc/init.d/sshd start", and says "sshd is scheduled to start
>> when net.eth0 has started".  I don't plan on starting net.eth0, but I
>> want sshd started anyway. If I'd meant "start if you happen to feel
>> like it" I would have typed
>
> Didn't read all the messages and files after upgrading openrc, right?

I read them, but...

> What you want is in /etc/rc.conf and it's now called rc_depend_strict

Right:

  # Do we allow any started service in the runlevel to satisfy the dependency
  # or do we want all of them regardless of state? For example, if net.eth0
  # and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
  # both will be started, but services that depend on 'net' will work if either
  # one comes up. With rc_depend_strict="YES" we would require them both to
  # come up.
  #rc_depend_strict="YES"

I had assumed that since the line setting it to YES was commented out
that the default was NO, and you uncommented the line to set it to
YES.  I don't know where that belief came from, but it's wrong -- the
commented out line apparently shows the default.

-- 
Grant Edwards               grant.b.edwards        Yow! Being a BALD HERO
                                  at               is almost as FESTIVE as a
                              gmail.com            TATTOOED KNOCKWURST.



Replies:
Re: Re: sshd no longer starting when it should.
-- Alan McKinnon
References:
sshd no longer starting when it should.
-- Grant Edwards
Re: sshd no longer starting when it should.
-- Alan McKinnon
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: sshd no longer starting when it should.
Next by thread:
Re: Re: sshd no longer starting when it should.
Previous by date:
Re: sshd no longer starting when it should.
Next by date:
Re: kde-4 device detection


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.