4 Answers
- Newest
- Most votes
- Most comments
0
I had to redirect these messages to another log file, so that my syslog file is not filled with these.
To do this I edited /etc/rsyslog.d/50-default.conf and added:
:programname,isequal,"systemd-networkd" -/var/log/systemd-networkd.log
:programname,isequal,"systemd-networkd" stop
A permanent solution is still expected.
answered 6 years ago
0
Hi, same issue here do you found a better solution ?
I m not sure my IPV6 config (vpc/subnet/route) is optimal... not a network guy at all... but it seems to work find with IPV6 (site accessible from outside)... but I have the same annoying msg related to DHCP ipv6 in my syslog.
Edited by: EdFloyd on Nov 29, 2018 5:40 AM
answered 5 years ago
0
I contacted AWS support about this and they said it's normal and the messages can be prevented by doing this:
- Make a directory /etc/systemd/system/systemd-networkd.service.d/ if it does not exist already
mkdir -p /etc/systemd/system/systemd-networkd.service.d/ - Open the /etc/systemd/system/systemd-networkd.service.d/logllevel.conf file
vi /etc/systemd/system/systemd-networkd.service.d/logllevel.conf - Paste below two lines, make sure you are not leaving any space before/after those lines
[Service]
Environment=SYSTEMD_LOG_LEVEL=notice
- Run below commands to reload daemon and restart systemd-networkd service
systemctl daemon-reload
systemctl restart systemd-networkd
answered 5 years ago
Relevant content
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago