New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/lib/systemd/systemd-networkd: complains about invalid config section #5205
Comments
the logs you see suggest that your section in the file is actually spelt "[TAP]", not "[Tap]". Not that the formatting of the man page is a bit confusing there, as the man tool automatically uppercases section names. |
@poettering See the config @rickysarraf posted. The relevant part
|
well, networkd doesn't uppercase this on its own. Somehow I'd bet that @rickysarraf's file /etc/systemd/network/tap.netdev actually doesn't look like what he posted. @rickysarraf are you sure that that file contains the [Tap] capitalization, and not [TAP]? networkd, like all other systemd tools (and most of UNIX) is case-sensitive when it comes to these things... |
It does seem to be a mess-up on my end. :-( I just verified the history of that file in etckeeper and currently it was using the [TAP]. When I filed the Debian bug report, I played around with [Tap] setting without a reboot, and it turns out it doesn't reflect the right behavior with just a restart of systemd-networkd.
What perhaps systemd should do is to not ignore error For the actual issue, after switching to "[Tap]" and a reboot, it does not complain anymore. |
Well, what else would it do then log and proceed? I am mean, it should certainly not abort, otherwise failure on the TUN device might cause your entire networking to break... Anyway, closing this here, as the problem appears not to be in systemd. |
Perhaps, have 2 sets of error types. For failures like these, you could return with a non-fatal error code, which will result in networkd failing, while still, the network remaining operational. |
Well, this this is kinda what happens... we log about it but continue... |
I'm having the same problem on an up-to-date Arch Linux (systemd 236.81-1) and the solution doesn't seem to work for me. I followed these instructions exactly:
But I still get this error:
|
I also get
with
I cannot say if it worked before because I just put the config in today. |
Submission type
systemd version the issue has been seen with
Package: systemd
Version: 232-14
Used distribution
Debian
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852806
Bug report
As per the documentation:
And here's my configuration accordingly.
I keep getting the following warning/error in journal logs.
The text was updated successfully, but these errors were encountered: