This is particularly important for udev. It's not required for e. g. logind or
machined, but as currently none of these link against /usr let's keep this
strict for now and adjust it once we need it.
This avoids killing the forked child in the middle of its operation under
systemd when the parent exits. Up to systemd 220 forked children still survived
for several seconds, but under 221 they get cleaned up right away.
- Add debian/extra/build-upstream-master-dsc script. This checks
out upstream git, applies debian/, applies some packaging modifications,
applies most of our Debian patches (ignoring the backported upstream
ones and ignoring fuzz), and builds a dsc.
- Add debian/patches/upstream-master/: These patches override the ones in
debian/patches/ for trunk builds, in order to apply.
Deprecate the old 75-persistent-net-generator.rules.
See the ML discussion for details:
https://lists.debian.org/debian-devel/2015/05/msg00170.htmlhttps://lists.debian.org/debian-devel/2015/06/msg00018.html
- Drop Make-net.ifnames-opt-in-instead-of-opt-out.patch, to use
net.ifnames by default.
- Revert-udev-network-device-renaming-immediately-give.patch: Adjust
patch comment.
- Drop 75-persistent-net-generator.rules, write_net_rules helper and
rule_generator.functions.
- Adjust udev's README.Debian accordingly, and describe the migration.
This needs to happen manually as there is no robust way of doing this
automatically.
- Add udev NEWS file for announcing this change and pointing to udev's
README.
- udev.postinst: Drop write_interfaces_rules().
- udev.postinst: Disable net.ifnames on systems which did not support
75-persistent-net-generator.rules (most importantly, virtualized guests)
to avoid changing network interface names on upgrade.
LP: #1454254
There are still situations where it becomes active through dependencies from
other units, which is surprising, hides existing data in /tmp during runtime,
and it isn't safe to have a tmpfs /tmp on every install scenario.
- d/rules: Ship tmp.mount in /usr/share/systemd/ instead of
/lib/systemd/systemd.
- systemd.postinst: When tmp.mount already was enabled, install tmp.mount
into /etc and keep it enabled.
- systemd.postinst: When enabling tmp.mount because of RAMTMP=yes, copy it
from /usr/share.
- Drop Don-t-mount-tmp-as-tmpfs-by-default.patch and
PrivateTmp-shouldn-t-require-tmpfs.patch, not necessary any more.
Closes: #783509
Restrict the build dep on the architectures that provide libseccomp. This is
also why we can't configure with --enable-seccomp explicitly but rely on
auto-detection.
Closes: #760299
This replaces three of our patches. These are independent udev rules to change
device permissions and add CD/DVD symlinks for compatibility with earlier
Debian releases.
It was already not applied in 220-1.
This needs to be re-thought and re-done against the current code, and overlayfs
in general. On overlayfs this still reports false positives for files that
changed in the upperdir, but this does not break systemd-machine-id-commit any
more.