systemd.git
5 years agounits: pull in systemd-pstore.service from sysinit.target
Lennart Poettering [Wed, 8 Apr 2020 14:12:00 +0000 (16:12 +0200)]
units: pull in systemd-pstore.service from sysinit.target

sysinit.target is the target our early boot services are generally
pulled in from, make systemd-pstore.service not an exception of that.

Effectively this doesn't mean much, either way our unit is part of the
initial transaction.

(cherry picked from commit 167241912f51fbc0d7d0869b9af34c15b5ecc4b6)

Gbp-Pq: Name units-pull-in-systemd-pstore.service-from-sysinit.target.patch

5 years agodocs: add a longer document explaining our rules on user/group names
Lennart Poettering [Tue, 7 Apr 2020 08:38:39 +0000 (10:38 +0200)]
docs: add a longer document explaining our rules on user/group names

(cherry picked from commit cafed7b32cdac13024c4093b7942a49ee8602dcf)

Gbp-Pq: Name docs-add-a-longer-document-explaining-our-rules-on-user-g.patch

5 years agopid1: by default make user units inherit their umask from the user manager
Franck Bui [Fri, 3 Apr 2020 08:00:25 +0000 (10:00 +0200)]
pid1: by default make user units inherit their umask from the user manager

This patch changes the way user managers set the default umask for the units it
manages.

Indeed one can expect that if user manager's umask is redefined through PAM
(via /etc/login.defs or pam_umask), all its children including the units it
spawns have their umask set to the new value.

Hence make user units inherit their umask value from their parent instead of
the hard coded value 0022 but allow them to override this value via their unit
file.

Note that reexecuting managers with 'systemctl daemon-reexec' after changing
UMask= has no effect. To take effect managers need to be restarted with
'systemct restart' instead. This behavior was already present before this
patch.

Fixes #6077.

(cherry picked from commit 5e37d1930b41b24c077ce37c6db0e36c745106c7)

Gbp-Pq: Name pid1-by-default-make-user-units-inherit-their-umask-from-.patch

5 years agosystemd (245.6-2) unstable; urgency=medium
Michael Biebl [Sun, 5 Jul 2020 09:44:39 +0000 (10:44 +0100)]
systemd (245.6-2) unstable; urgency=medium

  [ Dan Streetman ]
  * 40-vm-hotadd.rules: check offline before onlining memory/cpus.
    The kernel will return EINVAL if the memory or cpu is already online,
    which is harmless, but adds a confusing error to the log. Avoid the error
    message by only onlining if the memory or cpu is currently offline.
    (LP: #1876018)

  [ Michael Biebl ]
  * d/t/boot-and-services: use canonical name for NetworkManager service
  * Fix build with libmicrohttpd 0.9.71.
    The return type of callbacks was changed from int to an enum.

  [ Youfu Zhang ]
  * fsckd: avoid useless CR displayed on console (LP: #1692353)

  [ Balint Reczey ]
  * dhclient-exit-hooks.d/timesyncd: Act only when systemd-timesyncd is available.
    Otherwise the hook script might trigger an error if the
    systemd-timesyncd package is uninstalled but not purged. (LP: #1873031)

[dgit import unpatched systemd 245.6-2]

5 years agoImport systemd_245.6-2.debian.tar.xz
Michael Biebl [Sun, 5 Jul 2020 09:44:39 +0000 (10:44 +0100)]
Import systemd_245.6-2.debian.tar.xz

[dgit import tarball systemd 245.6-2 systemd_245.6-2.debian.tar.xz]

5 years agoImport systemd_245.6.orig.tar.gz
Michael Biebl [Sun, 7 Jun 2020 22:56:37 +0000 (23:56 +0100)]
Import systemd_245.6.orig.tar.gz

[dgit import orig systemd_245.6.orig.tar.gz]