[systemd-devel] networkd link file not setting MTU

Tom Gundersen teg at jklm.no
Wed Jan 21 00:42:37 PST 2015


On Wed, Jan 21, 2015 at 2:53 AM, Cameron Norman
<camerontnorman at gmail.com> wrote:
> On Tue, Jan 20, 2015 at 4:40 PM, Tom Gundersen <teg at 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 and for future reference, is there any way to get
> udev to apply the link files without rebooting? E.g. possibly with a
> udevadm trigger command of some sort.

# udevadm trigger --action=add /sys/class/net/eth0

Not really recommended though, these things are really _not_ meant to
be changed at run-time, but rather provide a saner (and configurable)
default when the devices first appear (and before libudev annonces
them to the rest of the system) than what the kernel does.

Cheers,

Tom


More information about the systemd-devel mailing list