Skip to content

[Backport staging-21.11] systemd: 249.5 -> 249.7 & various fixes#149719

Merged
Ma27 merged 6 commits intostaging-21.11from
backport-149153-to-staging-21.11
Dec 11, 2021
Merged

[Backport staging-21.11] systemd: 249.5 -> 249.7 & various fixes#149719
Ma27 merged 6 commits intostaging-21.11from
backport-149153-to-staging-21.11

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 8, 2021

Bot-based backport to staging-21.11, triggered by a label in #149153.

  • Before merging, ensure that this backport complies with the Criteria for Backporting.
    • Even as a non-commiter, if you find that it does not comply, leave a comment.

ajs124 and others added 6 commits December 8, 2021 21:34
(cherry picked from commit 84a769c)
It was originally moved because of nixops autoLuks feature which
has been unsupported for a while.

See:
* #62211
* NixOS/nixops#1156 (comment)

systemd-tmpfiles-setup-dev.service needs to run very  early (even before
udev runs) because udev rules assume static device nodes already exist
even before udev is started. If these static device nodes do not exist;
systemd might have trouble mounting filesystems that require static
device nodes (like loopfs and btrfs).

(cherry picked from commit d4e4d27)
…rget

Since https://github.com/NixOS/nixpkgs/pull/56184/files  local-fs.target
is already pulled in by sysinit.target

swap.target has always already been pulled in by sysinit.target

(cherry picked from commit b4d7911)
There is no real harm having them there; but it means these units really
only become active if there is a service providing the underlying
functionality.

nss-lookup.target should not be pulled in unconditionally. It should be
pulled in by providers of DNS lookups. E.g. systemd-resolved.service has
a Wants=nss-lookup.target, Before=nss-lookup.target. So once
systemd-resolved.service has finished starting up; other units that rely
on DNS can be started; but if systemd-resolved is not enabled; those
units can start up immediately.

Same story goes for nss-user-lookup.target and daemons like sssd.

From https://systemd.io/UIDS-GIDS/:

 Note that nss-user-lookup.target is a passive unit: in order to
 minimize synchronization points on systems that don’t need it the unit
 is pulled into the initial transaction only if there’s at least one
 service that really needs it, and that means only if there’s a service
 providing the local user database somehow through IPC or suchlike.

(cherry picked from commit 3efbd53)
…ths-being-symlinks.patch

(cherry picked from commit e2f009e)
@github-actions github-actions bot requested a review from dasJ as a code owner December 8, 2021 21:34
@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Dec 8, 2021
@flokli flokli requested review from ajs124 and yu-re-ka December 8, 2021 21:55
@Ma27 Ma27 merged commit 72121eb into staging-21.11 Dec 11, 2021
@Ma27 Ma27 deleted the backport-149153-to-staging-21.11 branch December 11, 2021 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants