Re: [systemd-devel] networkd link file not setting MTU

2015-01-27 Thread Lennart Poettering
On Sun, 25.01.15 13:32, Ian Pilcher (arequip...@gmail.com) wrote: It looks like that 99-default.link file is part of systemd, not some- thing added by Fedora. Given that, wouldn't it make sense to document the effect of this file in the systemd.link man page (i.e. to document the fact that

Re: [systemd-devel] networkd link file not setting MTU

2015-01-25 Thread Ian Pilcher
On 01/21/2015 03:11 PM, Tom Gundersen wrote: On Wed, Jan 21, 2015 at 8:50 PM, Ian Pilcher arequip...@gmail.com wrote: I found my problem: [root@localhost ~]# cat /usr/lib/systemd/network/99-default.link [Link] NamePolicy=kernel database onboard slot path MACAddressPolicy=persistent It looks

Re: [systemd-devel] networkd link file not setting MTU

2015-01-21 Thread Ian Pilcher
I found my problem: [root@localhost ~]# cat /usr/lib/systemd/network/99-default.link [Link] NamePolicy=kernel database onboard slot path MACAddressPolicy=persistent It looks like this matches any interface and prevents any other settings from being applied. Renaming my file to

Re: [systemd-devel] networkd link file not setting MTU

2015-01-21 Thread Tom Gundersen
On Wed, Jan 21, 2015 at 8:50 PM, Ian Pilcher arequip...@gmail.com wrote: I found my problem: [root@localhost ~]# cat /usr/lib/systemd/network/99-default.link [Link] NamePolicy=kernel database onboard slot path MACAddressPolicy=persistent It looks like this matches any interface and

Re: [systemd-devel] networkd link file not setting MTU

2015-01-21 Thread Tom Gundersen
On Wed, Jan 21, 2015 at 2:53 AM, Cameron Norman camerontnor...@gmail.com wrote: On Tue, Jan 20, 2015 at 4:40 PM, Tom Gundersen t...@jklm.no wrote: Hi Ian, Did you try to reboot? Note that .link files are applied by udev (so usually during early boot). You can override their settings from

Re: [systemd-devel] networkd link file not setting MTU

2015-01-20 Thread Tom Gundersen
Hi Ian, Did you try to reboot? Note that .link files are applied by udev (so usually during early boot). You can override their settings from .network files in some cases (at least with current git you can). I was not able to reproduce here (with git). journalctl -b -u systemd-udevd may contain

Re: [systemd-devel] networkd link file not setting MTU

2015-01-20 Thread Cameron Norman
On Tue, Jan 20, 2015 at 4:40 PM, Tom Gundersen t...@jklm.no wrote: Hi Ian, Did you try to reboot? Note that .link files are applied by udev (so usually during early boot). You can override their settings from .network files in some cases (at least with current git you can). Out of curiosity

[systemd-devel] networkd link file not setting MTU

2015-01-20 Thread Ian Pilcher
I am trying to use systemd-networkd on Fedora 21, and I haven't been able to get it to set the MTU of an interface correctly: [root@localhost network]# cat eth0.link [Match] MACAddress=52:54:00:d8:3d:3e [Link] MTUBytes=8996 [root@localhost network]# [root@localhost network]# cat eth0.network