mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-11 22:05:22 +00:00
systemd-networkd-resolvconf-update.service: Increase StartLimitBurst
This might be legitimately called several times in quick succession. If that part of the "networkd" autopkgtest fails, show the journal log for that service for easier debugging.
This commit is contained in:
parent
a2b48365c2
commit
191d4e8ddb
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -3,6 +3,10 @@ systemd (227-4) UNRELEASED; urgency=medium
|
||||
[ Martin Pitt ]
|
||||
* debian/rules: Configure with --as-needed to avoid unnecessary binary
|
||||
dependencies.
|
||||
* systemd-networkd-resolvconf-update.service: Increase StartLimitBurst, as
|
||||
this might be legitimately called several times in quick succession. If
|
||||
that part of the "networkd" autopkgtest fails, show the journal log for
|
||||
that service for easier debugging.
|
||||
|
||||
[ Felipe Sateler ]
|
||||
* Enable elfutils support for getting stack traces for systemd-coredump.
|
||||
|
||||
@ -6,6 +6,7 @@ After=resolvconf.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
DefaultStartLimitBurst=20
|
||||
# we need to wait for "online" here, as we might be triggered several times in short succession during restarting networkd
|
||||
ExecStart=/bin/sh -c 'if /lib/systemd/systemd-networkd-wait-online --timeout=30; then sed -n "/^DNS=/ { s/^DNS=/nameserver /; p}" /run/systemd/netif/state | /sbin/resolvconf -a networkd; fi'
|
||||
|
||||
|
||||
1
debian/tests/networkd
vendored
1
debian/tests/networkd
vendored
@ -142,6 +142,7 @@ DHCP=yes''' % self.iface)
|
||||
break
|
||||
time.sleep(0.1)
|
||||
else:
|
||||
subprocess.call(['journalctl', '-b', '-u', 'systemd-networkd-resolvconf-update.service'])
|
||||
self.fail('nameserver 192.168.5.1 not found in /etc/resolv.conf')
|
||||
|
||||
if not coldplug:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user