[systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

Lennart Poettering lennart at poettering.net
Wed Feb 11 12:46:28 PST 2015


On Wed, 11.02.15 20:36, Keller, Jacob E (jacob.e.keller at intel.com) wrote:

> > > Yes. I believe that possibly the netlink messages are occurring too
> > > early before networkd has started. Thus, when I restart the service
> > > after startup it works fine.
> > 
> > Well, the first thing after subscribing to links coming/going that
> > networkd does is query the kernel for the list of devices it has. This
> > means that it should always get all links, regardless when it is started.
> 
> What about network device renames? Devices are renamed after they
> appear. Is it also possible that networkd is started too early and thus
> the devices haven't actually appeared yet? But.. then it should get the
> message once it does appear? (assuming here that it continues listening
> to rtnl messages about links)

networkd should get all netlink msgs about all of this just fine, and
be able to track renames and everything.

> How difficult would it be to create an RPM? 

Well, you can get the spec file from fedpkg and then use it on a
tarball from systemd git made with "make dist". But you probably need
to make a number of updates to the .spec file. Unless you are an RPM
guru I wouldn't bother.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list