[systemd-devel] sshd.service fails on boot when primary listener is a bridge (br0) instead of real interface (eth0). What dependency is needed?

Andrei Borzenkov arvidjaar at gmail.com
Sun Apr 12 21:19:24 PDT 2015


В Sun, 12 Apr 2015 12:12:45 -0700
lyndat3 at your-mail.com пишет:

> Hi Lennart
> 
> On Sun, Apr 12, 2015, at 11:06 AM, Lennart Poettering wrote:
> > This looks like Fedora/Red Hat initscripts networking? 
> 
> Close; same style.  But it's opensuse networking.
> 
> > If so, please file a bug against the initscripts package. It's up to
> > the networking management solution to fill network-line.target with
> > something useful, and in your case that appears to be the initscripts
> > implementation.
> 
> Since I wasn't sure where the problem starts, I'd got that already going here
> 
>  Bug 926835 - sshd.service (openssh) fails on boot when primary listener is a bridge (br0) instead of real interface (eth0)
>   https://bugzilla.opensuse.org/show_bug.cgi?id=926835
> 
> So far the advice there is to increase the value of WAIT_FOR_INTERFACES in /etc/sysconfig/network/config from 30 sec to > 40 secs.
> 
> Seems to me that there should be *some* real check for the 'up' state of the bridge, not just "waiting long enough" and hoping.

You need to have upper limit, otherwise your system will hang
indefinitely when booting if interface is not present. Today we probably
can remove this upper limit in networking layer and simply rely on
systemd standard timeout.


In any case - you managed to NEVER say whether increasing above
mentioned timeout solved your problem or not. Neither here not in bug
report.


More information about the systemd-devel mailing list