Bug#762101: Which change?
Dominique Brazziel
dbrazziel at snet.net
Wed Nov 12 15:30:56 GMT 2014
Whatever happened to cause the NamePolicy messages
to appear every n seconds. As noted previously by Martin Krafft,
"I have not opted-in, but I also see the message all the time. Maybe
opt-in isn't working as planned?".
Let's see what I would have to do to make these messages
go away _and_ keep the persistent network names I have had in place
for years:
1. Opt-in to inform systemd I plan to use the 'new' network naming
policy via 'net.ifnames=1'.
2. Then keep my naming policy override in '/etc/udev/rules.d/70-persistent-net.rules'
or
1. Opt-out via the kernel command line parameter 'net.ifnames=0'
2. Then keep my naming policy override in '/etc/udev/rules.d/70-persistent-net.rules'
Either path I take requires a grub update to prevent log spam, and ostensibly
solve an interface naming problem which has already been solved;
a solution in search of a problem if you will.
Aside from that, I can't see why the messages repeat so often. If
I could control it I would.
I'm looking in 'udev-builtin-net_setup_link.c' and I see the call
to 'link_config_load' which emits the message, but don't understand
why it does it over and over. Is there a way other the kernel parm
to disable the link unit put there by '/lib/systemd/network/99-default.link'?
Maybe delete it and systemctl daemon-reload or some such? Just looking
for a workaround...
More information about the Pkg-systemd-maintainers
mailing list