Your message dated Fri, 17 Mar 2017 23:23:43 +0100
with message-id <[email protected]>
and subject line Re: Bug#858062: systemd: rc.local should depend on
network-online.target
has caused the Debian Bug report #858062,
regarding systemd: rc.local should depend on network-online.target
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
858062: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858062
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd
Version: 215-17+deb8u6
Severity: normal
The rc.local service currently depends on network.target. In at least
some cases, that means that e.g. domain name resolution doesn't work,
other servers can't be contacted by commands in rc.local, etc.
The rc.local service should instead depend on the network-online.target.
-- Package-specific info:
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to es_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-59
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1+b1
ii libblkid1 2.25.2-6
ii libc6 2.19-18+deb8u7
ii libcap2 1:2.24-8
ii libcap2-bin 1:2.24-8
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.3-2+deb8u2
ii libkmod2 18-3
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libpam0g 1.1.8-3.1+deb8u2
ii libselinux1 2.3-2
ii libsystemd0 215-17+deb8u6
ii mount 2.25.2-6
ii sysv-rc 2.88dsf-59
ii udev 215-17+deb8u6
ii util-linux 2.25.2-6
Versions of packages systemd recommends:
ii dbus 1.8.22-0+deb8u1
pn libpam-systemd <none>
Versions of packages systemd suggests:
pn systemd-ui <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 220-4
Am 17.03.2017 um 22:16 schrieb Dennis Boone:
> Package: systemd
> Version: 215-17+deb8u6
> Severity: normal
>
>
> The rc.local service currently depends on network.target. In at least
> some cases, that means that e.g. domain name resolution doesn't work,
> other servers can't be contacted by commands in rc.local, etc.
>
> The rc.local service should instead depend on the network-online.target.
Such a change was added in
> systemd (220-4) unstable; urgency=medium
>
> [ Martin Pitt ]
> * debian/extra/initramfs-tools/scripts/init-top/udev: Drop $ROOTDELAY wait.
> This does not concern udev in particular, but is handled by
> initramfs-tools itself (scripts/local). The intention of this parameter is
> not to statically wait for the given time, but wait *up to* that time for
> the root device to appear.
> * Add debian/extra/units/rc-local.service.d/wait-online.conf: Make
> rc-local.service wait for network-online.target (if it gets started). This
> not specified by LSB, but has been behaving that way in Debian under SysV
> init and upstart. (LP: #1451797)
Keep in mind though, that network-online.target requires your networking
subsystem to properly hook into the network-online.target
Using ifupdown and allow-hotplug interfaces will not hook into
network-online.target. auto interfaces should work sort of, as those are
started by networking.service. That service is already ordered before
network.target though.
For NetworkManager it would require NetworkManager-wait-online.target to
be enabled. This can not be done safely in jessie though, as this would
lead to dependency cycles.
Given this, there is no point in backporting this change to jessie.
Thus closing the bug accordingly.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---