Bug#819314: procps: [sysctl] Missing dependency when used with systemd
Michael Biebl
biebl at debian.org
Sun Mar 27 09:32:53 BST 2016
Control: tags -1 + moreinfo
On Sat, 26 Mar 2016 16:03:24 +0100 Martin Mares <mj at ucw.cz> wrote:
> Package: procps
> Version: 2:3.3.9-9
> Severity: normal
>
> With sysvinit, the init script for procps ensures that sysctl's
> are set before networking is started (via X-Start-Before: $network).
>
> When run with systemd, procps.service does not have such dependency.
> Since system startup is highly parallel, there is a race condition:
> sometimes network interfaces are initialized before net.ipv6.conf.default.*
> is set.
>
Are you sure?
networking.service has
> After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service
This makes sure that networking.service, which deals with type auto
interfaces, is started after systemd-sysctl.service.
And for hotplugged devices
/lib/udev/rules.d/99-systemd.rules contains
> 99-systemd.rules:# Apply sysctl variables to network devices (and only to those) as they appear.
> 99-systemd.rules:ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/$name --prefix=/net/ipv4/neigh/$name --prefix=/net/ipv6/conf/$name --prefix=/net/ipv6/neigh/$name"
Can you explain the specific problem you ran into and what configuration
you are using exactly.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160327/4a07ada8/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list