Raspbian automatic forward porter [Sun, 8 Dec 2019 03:10:26 +0000 (03:10 +0000)]
Merge version 243-8+rpi1 and 244-3 to produce 244-3+rpi1
Michael Biebl [Mon, 2 Dec 2019 22:44:52 +0000 (22:44 +0000)]
Merge systemd (244-3) import into refs/heads/workingbranch
Michael Biebl [Tue, 19 Nov 2019 08:10:23 +0000 (09:10 +0100)]
udev: drop SystemCallArchitectures=native from systemd-udevd.service
We can't really control what helper programs are run from other udev
rules. E.g. running i386 binaries under amd64 is a valid use case and
should not trigger a SIGSYS failure.
Closes: #869719
Gbp-Pq: Topic debian
Gbp-Pq: Name udev-drop-SystemCallArchitectures-native-from-systemd-ude.patch
Dan Streetman [Wed, 6 Nov 2019 14:14:54 +0000 (09:14 -0500)]
blacklist-upstream-test-24-ppc64el
Bug: https://github.com/systemd/systemd/issues/11612
Gbp-Pq: Topic debian
Gbp-Pq: Name blacklist-upstream-test-24-ppc64el.patch
Dan Streetman [Wed, 6 Nov 2019 14:14:50 +0000 (09:14 -0500)]
blacklist-upstream-test-25
Bug: https://github.com/systemd/systemd/issues/13973
Gbp-Pq: Topic debian
Gbp-Pq: Name blacklist-upstream-test-25.patch
Michael Biebl [Wed, 18 Jul 2018 21:49:16 +0000 (23:49 +0200)]
Drop seccomp system call filter for udev
The seccomp based system call whitelist requires at least systemd 239 to
be the active init and during a dist-upgrade we can't guarantee that
systemd has been fully configured before udev is restarted.
This partially reverts upstream commit
ee8f26180d01e3ddd4e5f20b03b81e5e737657ae.
Once buster is released, this patch can be dropped.
Closes: #903224
Gbp-Pq: Topic debian
Gbp-Pq: Name Drop-seccomp-system-call-filter-for-udev.patch
Martin Pitt [Wed, 18 Jan 2017 10:21:35 +0000 (11:21 +0100)]
Add env variable for machine ID path
During package build, in minimal chroots, or other systems which do not already
have an /etc/machine-id we get six test failures. Introduce a
$SYSTEMD_MACHINE_ID_PATH environment variable which can specify a location
other than /etc/machine-id, so that the unit tests are independent from the
environment.
Also adjust test-fs-util to not assume that /etc/machine-id exists. Use
/etc/passwd instead which is created by base-files.
Closes: #851445
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=62344
Gbp-Pq: Topic debian
Gbp-Pq: Name Add-env-variable-for-machine-ID-path.patch
Iain Lane [Mon, 22 Aug 2016 05:03:27 +0000 (07:03 +0200)]
Let graphical-session-pre.target be manually started
This is needed until https://github.com/systemd/systemd/issues/3750 is fixed.
Forwarded: not-needed
Bug-Ubuntu: https://launchpad.net/bugs/
1615341
Gbp-Pq: Topic debian
Gbp-Pq: Name Let-graphical-session-pre.target-be-manually-started.patch
Martin Pitt [Mon, 9 May 2016 19:24:38 +0000 (21:24 +0200)]
Revert "core: enable TasksMax= for all services by default, and set it to 512"
This reverts commit
9ded9cd14cc03c67291b10a5c42ce5094ba0912f.
Introducing a default limit on number of threads broke a lot of software which
regularly needs more, such as MySQL and RabbitMQ, or services that spawn off an
indefinite number of subtasks that are not in a scope, like LXC or cron.
15% is way too much for most "simple" services, and it's too little for others
such as the ones mentioned above. There is also no particular rationale about
any particular global limit, so even if we'd bump it higher we'd just make the
limit even less useful while still breaking software.
It is both much safer and also much more effective in terms of guarding against
berserk programs/bugs/unintended fork bombs etc. to set limits in units
individually. Once someone looks at one, this is then a great time to also flip
on the other resource and privilege limitations that systemd offers.
Bug: https://github.com/systemd/systemd/issues/3211
Bug-Debian: https://bugs.debian.org/823530
Bug-Ubuntu: https://launchpad.net/bugs/
1578080
Gbp-Pq: Topic debian
Gbp-Pq: Name Revert-core-enable-TasksMax-for-all-services-by-default-a.patch
Martin Pitt [Sat, 27 Feb 2016 11:27:06 +0000 (12:27 +0100)]
Revert "core: set RLIMIT_CORE to unlimited by default"
Partially revert commit
15a900327ab as this completely breaks core dumps
without systemd-coredump. It's also contradicting core(8), and it's not
systemd's place to redefine the kernel definitions of core files.
Commit
bdfd7b2c now honours the process' RLIMIT_CORE for systemd-coredump. This
isn't what RLIMIT_CORE is supposed to do (it limits the size of the core
*file*, but the kernel deliberately ignores it for piping), so set a static
2^63 core size limit for systemd-coredump to go back to the previous behaviour
(otherwise the change above would break systemd-coredump).
Bug-Debian: https://bugs.debian.org/815020
Gbp-Pq: Topic debian
Gbp-Pq: Name Revert-core-set-RLIMIT_CORE-to-unlimited-by-default.patch
Martin Pitt [Mon, 27 Apr 2015 13:29:13 +0000 (15:29 +0200)]
Revert "core: one step back again, for nspawn we actually can't wait for cgroups running empty since systemd will get exactly zero notifications about it"
This reverts commit
743970d2ea6d08aa7c7bff8220f6b7702f2b1db7.
Bug-Debian: https://bugs.debian.org/784720
Bug-Ubuntu: https://launchpad.net/bugs/
1448259
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=
1141137
Gbp-Pq: Topic debian
Gbp-Pq: Name Revert-core-one-step-back-again-for-nspawn-we-actual.patch
Nis Martensen [Tue, 19 Jan 2016 21:01:43 +0000 (22:01 +0100)]
Skip filesystem check if already done by the initramfs
Newer versions of initramfs-tools already fsck and mount / and /usr in
the initramfs. Skip the filesystem check in this case.
Based on a previous patch by Michael Biebl <biebl@debian.org>.
Closes: #782522
Closes: #810748
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-filesystem-check-if-already-done-by-the-initram.patch
Didier Roche [Fri, 22 May 2015 11:04:38 +0000 (13:04 +0200)]
fsckd daemon for inter-fsckd communication
Global logic:
Add systemd-fsckd multiplexer which accepts multiple (via systemd-fsck's
/run/systemd/fsck.progress socket) fsck instances to connect to it and sends
progress report. systemd-fsckd then computes and writes to /dev/console the
number of devices currently being checked and the minimum fsck progress.
Plymouth and user interaction:
Forward the progress to plymouth and support canellation of in progress fsck.
Try to connect and send to plymouth (if running) some checked report progress,
using direct plymouth protocole.
Update message is the following:
fsckd:<num_devices>:<progress>:<string>
* num_devices corresponds to the current number of devices being checked (int)
* progress corresponds to the current minimum percentage of all devices being
checked (float, from 0 to 100)
* string is a translated message ready to be displayed by the plymouth theme
displaying the information above. It can be overridden by plymouth themes
supporting i18n.
Grab in fsckd plymouth watch key Control+C, and propagate this cancel request
to systemd-fsck which will terminate fsck.
Send a message to signal to user what key we are grabbing for fsck cancel.
Message is: fsckd-cancel-msg:<string>
Where string is a translated string ready to be displayed by the plymouth theme
indicating that Control+C can be used to cancel current checks. It can be
overridden (matching only fsckd-cancel-msg prefix) for themes supporting i18n.
Misc:
systemd-fsckd stops on idle when no fsck is connected.
Add man page explaining the plymouth theme protocol, usage of the daemon
as well as the socket activation part. Adapt existing fsck man page.
Note that fsckd had lived in the upstream tree for a while, but was removed.
More information at
http://lists.freedesktop.org/archives/systemd-devel/2015-April/030175.html
-
Gbp-Pq: Topic debian
Gbp-Pq: Name fsckd-daemon-for-inter-fsckd-communication.patch
Martin Pitt [Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)]
Only start logind if dbus is installed
logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.
Part of #772700
Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
Martin Pitt [Sun, 28 Dec 2014 11:49:35 +0000 (12:49 +0100)]
Don't enable audit by default
It causes flooding of dmesg and syslog, suppressing actually important
messages.
Don't enable it for now, until a better solution is found:
http://lists.freedesktop.org/archives/systemd-devel/2014-December/026591.html
Bug-Debian: https://bugs.debian.org/773528
Gbp-Pq: Topic debian
Gbp-Pq: Name Don-t-enable-audit-by-default.patch
Martin Pitt [Fri, 28 Nov 2014 13:43:25 +0000 (14:43 +0100)]
Re-enable journal forwarding to syslog
Revert upstream commit
46b131574fdd7d77 for now, until Debian's sysloggers
can/do all read from the journal directly. See
http://lists.freedesktop.org/archives/systemd-devel/2014-November/025550.html
for details. Once we grow a journal.conf.d/ directory, sysloggers can be moved
to pulling from the journal one by one and disable forwarding again in such a
conf.d snippet.
Gbp-Pq: Topic debian
Gbp-Pq: Name Re-enable-journal-forwarding-to-syslog.patch
Julien Muchembled [Tue, 29 Apr 2014 09:40:50 +0000 (11:40 +0200)]
Add support for TuxOnIce hibernation
systemd does not support non-mainline kernel features so upstream rejected this
patch.
It is however required for systemd integration by tuxonice-userui package.
Forwarded: http://lists.freedesktop.org/archives/systemd-devel/2014-April/018960.html
Gbp-Pq: Topic debian
Gbp-Pq: Name Add-support-for-TuxOnIce-hibernation.patch
Michael Biebl [Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)]
Make /run/lock tmpfs an API fs
The /run/lock directory is world-writable in Debian due to historic
reasons. To avoid user processes filling up /run, we mount a separate
tmpfs for /run/lock. As this directory needs to be available during
early boot, we make it an API fs.
Drop it from tmpfiles.d/legacy.conf to not clobber the permissions.
Closes: #751392
Gbp-Pq: Topic debian
Gbp-Pq: Name Make-run-lock-tmpfs-an-API-fs.patch
Tollef Fog Heen [Tue, 5 Jun 2012 18:59:36 +0000 (20:59 +0200)]
Bring tmpfiles.d/tmp.conf in line with Debian defaults
Closes: #675422
Gbp-Pq: Topic debian
Gbp-Pq: Name Bring-tmpfiles.d-tmp.conf-in-line-with-Debian-defaul.patch
Michael Biebl [Thu, 18 Jul 2013 18:11:02 +0000 (20:11 +0200)]
Use Debian specific config files
Use /etc/default/locale instead of /etc/locale.conf for locale settings.
Use /etc/default/keyboard instead of /etc/X11/xorg.conf.d/00-keyboard.conf for
keyboard configuration.
Read/write /etc/timezone if /etc/localtime does not exist.
Gbp-Pq: Topic debian
Gbp-Pq: Name Use-Debian-specific-config-files.patch
Michael Biebl [Mon, 2 Dec 2019 22:44:52 +0000 (22:44 +0000)]
systemd (244-3) unstable; urgency=medium
* Update udev-udeb to use 73-usb-net-by-mac.link
[dgit import unpatched systemd 244-3]
Michael Biebl [Mon, 2 Dec 2019 22:44:52 +0000 (22:44 +0000)]
Import systemd_244-3.debian.tar.xz
[dgit import tarball systemd 244-3 systemd_244-3.debian.tar.xz]
Michael Biebl [Sat, 30 Nov 2019 15:39:57 +0000 (15:39 +0000)]
Import systemd_244.orig.tar.gz
[dgit import orig systemd_244.orig.tar.gz]
Raspbian automatic forward porter [Sun, 24 Nov 2019 21:01:14 +0000 (21:01 +0000)]
Merge version 243-7+rpi1 and 243-8 to produce 243-8+rpi1
Raspbian automatic forward porter [Tue, 19 Nov 2019 20:04:52 +0000 (20:04 +0000)]
Merge version 242-7+rpi1 and 243-7 to produce 243-7+rpi1
Michael Biebl [Tue, 19 Nov 2019 08:17:12 +0000 (08:17 +0000)]
Merge systemd (243-8) import into refs/heads/workingbranch
Michael Biebl [Tue, 19 Nov 2019 08:10:23 +0000 (09:10 +0100)]
udev: drop SystemCallArchitectures=native from systemd-udevd.service
We can't really control what helper programs are run from other udev
rules. E.g. running i386 binaries under amd64 is a valid use case and
should not trigger a SIGSYS failure.
Closes: #869719
Gbp-Pq: Name udev-drop-SystemCallArchitectures-native-from-systemd-ude.patch
Dan Streetman [Wed, 6 Nov 2019 14:14:54 +0000 (09:14 -0500)]
blacklist-upstream-test-24-ppc64el
Bug: https://github.com/systemd/systemd/issues/11612
Gbp-Pq: Topic debian
Gbp-Pq: Name blacklist-upstream-test-24-ppc64el.patch
Dan Streetman [Wed, 6 Nov 2019 14:14:50 +0000 (09:14 -0500)]
blacklist-upstream-test-25
Bug: https://github.com/systemd/systemd/issues/13973
Gbp-Pq: Topic debian
Gbp-Pq: Name blacklist-upstream-test-25.patch
Michael Biebl [Wed, 18 Jul 2018 21:49:16 +0000 (23:49 +0200)]
Drop seccomp system call filter for udev
The seccomp based system call whitelist requires at least systemd 239 to
be the active init and during a dist-upgrade we can't guarantee that
systemd has been fully configured before udev is restarted.
This partially reverts upstream commit
ee8f26180d01e3ddd4e5f20b03b81e5e737657ae.
Once buster is released, this patch can be dropped.
Closes: #903224
Gbp-Pq: Topic debian
Gbp-Pq: Name Drop-seccomp-system-call-filter-for-udev.patch
Martin Pitt [Wed, 18 Jan 2017 10:21:35 +0000 (11:21 +0100)]
Add env variable for machine ID path
During package build, in minimal chroots, or other systems which do not already
have an /etc/machine-id we get six test failures. Introduce a
$SYSTEMD_MACHINE_ID_PATH environment variable which can specify a location
other than /etc/machine-id, so that the unit tests are independent from the
environment.
Also adjust test-fs-util to not assume that /etc/machine-id exists. Use
/etc/passwd instead which is created by base-files.
Closes: #851445
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=62344
Gbp-Pq: Topic debian
Gbp-Pq: Name Add-env-variable-for-machine-ID-path.patch
Iain Lane [Mon, 22 Aug 2016 05:03:27 +0000 (07:03 +0200)]
Let graphical-session-pre.target be manually started
This is needed until https://github.com/systemd/systemd/issues/3750 is fixed.
Forwarded: not-needed
Bug-Ubuntu: https://launchpad.net/bugs/
1615341
Gbp-Pq: Topic debian
Gbp-Pq: Name Let-graphical-session-pre.target-be-manually-started.patch
Martin Pitt [Mon, 9 May 2016 19:24:38 +0000 (21:24 +0200)]
Revert "core: enable TasksMax= for all services by default, and set it to 512"
This reverts commit
9ded9cd14cc03c67291b10a5c42ce5094ba0912f.
Introducing a default limit on number of threads broke a lot of software which
regularly needs more, such as MySQL and RabbitMQ, or services that spawn off an
indefinite number of subtasks that are not in a scope, like LXC or cron.
15% is way too much for most "simple" services, and it's too little for others
such as the ones mentioned above. There is also no particular rationale about
any particular global limit, so even if we'd bump it higher we'd just make the
limit even less useful while still breaking software.
It is both much safer and also much more effective in terms of guarding against
berserk programs/bugs/unintended fork bombs etc. to set limits in units
individually. Once someone looks at one, this is then a great time to also flip
on the other resource and privilege limitations that systemd offers.
Bug: https://github.com/systemd/systemd/issues/3211
Bug-Debian: https://bugs.debian.org/823530
Bug-Ubuntu: https://launchpad.net/bugs/
1578080
Gbp-Pq: Topic debian
Gbp-Pq: Name Revert-core-enable-TasksMax-for-all-services-by-default-a.patch
Martin Pitt [Sat, 27 Feb 2016 11:27:06 +0000 (12:27 +0100)]
Revert "core: set RLIMIT_CORE to unlimited by default"
Partially revert commit
15a900327ab as this completely breaks core dumps
without systemd-coredump. It's also contradicting core(8), and it's not
systemd's place to redefine the kernel definitions of core files.
Commit
bdfd7b2c now honours the process' RLIMIT_CORE for systemd-coredump. This
isn't what RLIMIT_CORE is supposed to do (it limits the size of the core
*file*, but the kernel deliberately ignores it for piping), so set a static
2^63 core size limit for systemd-coredump to go back to the previous behaviour
(otherwise the change above would break systemd-coredump).
Bug-Debian: https://bugs.debian.org/815020
Gbp-Pq: Topic debian
Gbp-Pq: Name Revert-core-set-RLIMIT_CORE-to-unlimited-by-default.patch
Martin Pitt [Mon, 27 Apr 2015 13:29:13 +0000 (15:29 +0200)]
Revert "core: one step back again, for nspawn we actually can't wait for cgroups running empty since systemd will get exactly zero notifications about it"
This reverts commit
743970d2ea6d08aa7c7bff8220f6b7702f2b1db7.
Bug-Debian: https://bugs.debian.org/784720
Bug-Ubuntu: https://launchpad.net/bugs/
1448259
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=
1141137
Gbp-Pq: Topic debian
Gbp-Pq: Name Revert-core-one-step-back-again-for-nspawn-we-actual.patch
Nis Martensen [Tue, 19 Jan 2016 21:01:43 +0000 (22:01 +0100)]
Skip filesystem check if already done by the initramfs
Newer versions of initramfs-tools already fsck and mount / and /usr in
the initramfs. Skip the filesystem check in this case.
Based on a previous patch by Michael Biebl <biebl@debian.org>.
Closes: #782522
Closes: #810748
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-filesystem-check-if-already-done-by-the-initram.patch
Didier Roche [Fri, 22 May 2015 11:04:38 +0000 (13:04 +0200)]
fsckd daemon for inter-fsckd communication
Global logic:
Add systemd-fsckd multiplexer which accepts multiple (via systemd-fsck's
/run/systemd/fsck.progress socket) fsck instances to connect to it and sends
progress report. systemd-fsckd then computes and writes to /dev/console the
number of devices currently being checked and the minimum fsck progress.
Plymouth and user interaction:
Forward the progress to plymouth and support canellation of in progress fsck.
Try to connect and send to plymouth (if running) some checked report progress,
using direct plymouth protocole.
Update message is the following:
fsckd:<num_devices>:<progress>:<string>
* num_devices corresponds to the current number of devices being checked (int)
* progress corresponds to the current minimum percentage of all devices being
checked (float, from 0 to 100)
* string is a translated message ready to be displayed by the plymouth theme
displaying the information above. It can be overridden by plymouth themes
supporting i18n.
Grab in fsckd plymouth watch key Control+C, and propagate this cancel request
to systemd-fsck which will terminate fsck.
Send a message to signal to user what key we are grabbing for fsck cancel.
Message is: fsckd-cancel-msg:<string>
Where string is a translated string ready to be displayed by the plymouth theme
indicating that Control+C can be used to cancel current checks. It can be
overridden (matching only fsckd-cancel-msg prefix) for themes supporting i18n.
Misc:
systemd-fsckd stops on idle when no fsck is connected.
Add man page explaining the plymouth theme protocol, usage of the daemon
as well as the socket activation part. Adapt existing fsck man page.
Note that fsckd had lived in the upstream tree for a while, but was removed.
More information at
http://lists.freedesktop.org/archives/systemd-devel/2015-April/030175.html
-
Gbp-Pq: Topic debian
Gbp-Pq: Name fsckd-daemon-for-inter-fsckd-communication.patch
Martin Pitt [Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)]
Only start logind if dbus is installed
logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.
Part of #772700
Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
Martin Pitt [Sun, 28 Dec 2014 11:49:35 +0000 (12:49 +0100)]
Don't enable audit by default
It causes flooding of dmesg and syslog, suppressing actually important
messages.
Don't enable it for now, until a better solution is found:
http://lists.freedesktop.org/archives/systemd-devel/2014-December/026591.html
Bug-Debian: https://bugs.debian.org/773528
Gbp-Pq: Topic debian
Gbp-Pq: Name Don-t-enable-audit-by-default.patch
Martin Pitt [Fri, 28 Nov 2014 13:43:25 +0000 (14:43 +0100)]
Re-enable journal forwarding to syslog
Revert upstream commit
46b131574fdd7d77 for now, until Debian's sysloggers
can/do all read from the journal directly. See
http://lists.freedesktop.org/archives/systemd-devel/2014-November/025550.html
for details. Once we grow a journal.conf.d/ directory, sysloggers can be moved
to pulling from the journal one by one and disable forwarding again in such a
conf.d snippet.
Gbp-Pq: Topic debian
Gbp-Pq: Name Re-enable-journal-forwarding-to-syslog.patch
Julien Muchembled [Tue, 29 Apr 2014 09:40:50 +0000 (11:40 +0200)]
Add support for TuxOnIce hibernation
systemd does not support non-mainline kernel features so upstream rejected this
patch.
It is however required for systemd integration by tuxonice-userui package.
Forwarded: http://lists.freedesktop.org/archives/systemd-devel/2014-April/018960.html
Gbp-Pq: Topic debian
Gbp-Pq: Name Add-support-for-TuxOnIce-hibernation.patch
Michael Biebl [Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)]
Make /run/lock tmpfs an API fs
The /run/lock directory is world-writable in Debian due to historic
reasons. To avoid user processes filling up /run, we mount a separate
tmpfs for /run/lock. As this directory needs to be available during
early boot, we make it an API fs.
Drop it from tmpfiles.d/legacy.conf to not clobber the permissions.
Closes: #751392
Gbp-Pq: Topic debian
Gbp-Pq: Name Make-run-lock-tmpfs-an-API-fs.patch
Tollef Fog Heen [Tue, 5 Jun 2012 18:59:36 +0000 (20:59 +0200)]
Bring tmpfiles.d/tmp.conf in line with Debian defaults
Closes: #675422
Gbp-Pq: Topic debian
Gbp-Pq: Name Bring-tmpfiles.d-tmp.conf-in-line-with-Debian-defaul.patch
Michael Biebl [Thu, 18 Jul 2013 18:11:02 +0000 (20:11 +0200)]
Use Debian specific config files
Use /etc/default/locale instead of /etc/locale.conf for locale settings.
Use /etc/default/keyboard instead of /etc/X11/xorg.conf.d/00-keyboard.conf for
keyboard configuration.
Read/write /etc/timezone if /etc/localtime does not exist.
Gbp-Pq: Topic debian
Gbp-Pq: Name Use-Debian-specific-config-files.patch
Yu Watanabe [Mon, 18 Nov 2019 15:03:35 +0000 (00:03 +0900)]
man: add entry about SpeedMeter=
Closes #14002.
(cherry picked from commit
c9fdaed079524942445a1bbbb975766768ad9b04)
Gbp-Pq: Name man-add-entry-about-SpeedMeter.patch
Yu Watanabe [Mon, 18 Nov 2019 10:28:11 +0000 (19:28 +0900)]
udev: silence warning about PROGRAM+= or IMPORT+= rules
Closes #14062.
(cherry picked from commit
f0beb6f816035e438d684cc52ae76fc4a44fc197)
Gbp-Pq: Name udev-silence-warning-about-PROGRAM-or-IMPORT-rules.patch
Yu Watanabe [Mon, 18 Nov 2019 09:47:16 +0000 (18:47 +0900)]
udevadm: ignore EROFS and return earlier
Fixes #14060.
(cherry picked from commit
dc11d2bf6602558770e61f772d925ba8dcc71233)
Gbp-Pq: Name udevadm-ignore-EROFS-and-return-earlier.patch
Lennart Poettering [Thu, 14 Nov 2019 16:51:30 +0000 (17:51 +0100)]
seccomp: more comprehensive protection against libseccomp's __NR_xyz namespace invasion
A follow-up for
59b657296a2fe104f112b91bbf9301724067cc81, adding the
same conditioning for all cases of our __NR_xyz use.
Fixes: #14031
(cherry picked from commit
4df8fe8415eaf4abd5b93c3447452547c6ea9e5f)
Gbp-Pq: Name seccomp-more-comprehensive-protection-against-libseccomp-.patch
Yu Watanabe [Sun, 10 Nov 2019 05:42:55 +0000 (14:42 +0900)]
udev: do not append newline when write attributes
Before
25de7aa7b90c23d33ea50ada1e50c5834a414237, the content is written
by `fprintf()` without new line. So WRITE_STRING_FILE_AVOID_NEWLINE flag
is necessary.
Fixes #13985.
(cherry picked from commit
a566ed2c82d81cc6416fe0da0a14f6d5fe5d83b4)
Gbp-Pq: Name udev-do-not-append-newline-when-write-attributes.patch
Yu Watanabe [Tue, 12 Nov 2019 05:58:25 +0000 (14:58 +0900)]
udev: ignore error caused by device disconnection
During an add or change event, the device may be disconnected.
Fixes #13976.
(cherry picked from commit
b64b83d13eedfdfc616c16c4a108ef28bf6d3b33)
Gbp-Pq: Name udev-ignore-error-caused-by-device-disconnection.patch
Yu Watanabe [Tue, 12 Nov 2019 05:58:19 +0000 (14:58 +0900)]
udev: fix error code in the log message
(cherry picked from commit
ffdc9c891f00f79aa7df3ac25ad141db74686fbe)
Gbp-Pq: Name udev-fix-error-code-in-the-log-message.patch
Yu Watanabe [Tue, 12 Nov 2019 05:57:48 +0000 (14:57 +0900)]
udev: ignore ENOENT when chmod_and_chown() device node
(cherry picked from commit
4b613ec212bfd06fd9d9487bd37b0791fa6dff9e)
Gbp-Pq: Name udev-ignore-ENOENT-when-chmod_and_chown-device-node.patch
Zbigniew Jędrzejewski-Szmek [Mon, 21 Oct 2019 14:26:42 +0000 (16:26 +0200)]
Revert "sysusers: properly mark generated accounts as locked"
This reverts the gist of commit
636e72bce63e7e99b76357f7d524d16f61558775.
The comment and the tiny cleanup are left alone.
We shouldn't lock the accounts because people actually need to use them, and
if they are locked, various tools will refuse.
See https://github.com/systemd/systemd/pull/13277#issuecomment-
529964578
and follow-up comments.
(cherry picked from commit
12c829376a95ee0a734b8dbd347042062516f0a9)
Gbp-Pq: Name Revert-sysusers-properly-mark-generated-accounts-as-locke.patch
Zbigniew Jędrzejewski-Szmek [Mon, 21 Oct 2019 13:07:36 +0000 (15:07 +0200)]
logind: fix emission of PropertiesChanged for users
The same as parent commit, but users. This is the third and last
foo_object_find() function in logind, so I think that this particular
family of bugs is finally squashed.
(cherry picked from commit
8163b9f90079af298031dcbffee057fc344470a3)
Gbp-Pq: Name logind-fix-emission-of-PropertiesChanged-for-users.patch
Zbigniew Jędrzejewski-Szmek [Mon, 21 Oct 2019 13:05:58 +0000 (15:05 +0200)]
logind: fix emission of PropertiesChanged on seats
The story is the same as in
471cffcfb0e005b7c4044b3b52cc4f25d217efac:
device_attach() → seat_send_changed() → sd_bus_emit_properties_changed_strv()
→ emit_properties_changed_on_interface() → node_vtable_get_userdata()
→ seat_object_find(), which returns 0 because message == NULL.
But when we are emitting a signal, message is always NULL. Removing the
overeager check and assert in the called function allow the signal to be
emitted.
Fixes #13769.
(cherry picked from commit
8cc64c2a3640121745fdfaccc6eae896ac25a911)
Gbp-Pq: Name logind-fix-emission-of-PropertiesChanged-on-seats.patch
Zbigniew Jędrzejewski-Szmek [Mon, 21 Oct 2019 07:33:19 +0000 (09:33 +0200)]
logind: drop {}
(cherry picked from commit
4b9e5848e31cb2efb606a5292a2d2abb6ba35040)
Gbp-Pq: Name logind-drop.patch
Balint Reczey [Tue, 8 Oct 2019 14:41:24 +0000 (16:41 +0200)]
test: Pass personality test even when i686 userland runs on x86_64 kernel
(cherry picked from commit
bd89d03544d2b8ea53af7af0a97d4d121ef048c4)
(cherry picked from commit
ef677436aa203c24816021dd698b57f219f0ff64)
Gbp-Pq: Name test-Pass-personality-test-even-when-i686-userland-runs-o.patch
Zbigniew Jędrzejewski-Szmek [Sun, 6 Oct 2019 17:05:57 +0000 (19:05 +0200)]
docs: fix inadvertent change in uid range
https://github.com/systemd/systemd/commit/
a305eda35f18fbacc771cc1582b688d60890a9d2#r35378755
(cherry picked from commit
581004bd336567d936e94e616d35679da8ce32a0)
(cherry picked from commit
3f6398c450b8451e4e002f478be29db3b6aa4621)
Gbp-Pq: Name docs-fix-inadvertent-change-in-uid-range.patch
Mike Kazantsev [Thu, 3 Oct 2019 13:11:41 +0000 (18:11 +0500)]
cgroup: fix typo in BPF firewall support warning message
(cherry picked from commit
fc103b3e342429637527d3042bf7bdf15c12624d)
(cherry picked from commit
25bb377a73e72ef1443d5de87b7a801b12a3839c)
Gbp-Pq: Name cgroup-fix-typo-in-BPF-firewall-support-warning-message.patch
Norbert Lange [Thu, 19 Sep 2019 15:49:20 +0000 (17:49 +0200)]
fix build with compilers with default stack-protector enabled
building systemd fails with a compiler that supports
-fstack-protector but does not enable it by default.
(will miss several __stack_chk_* symbols).
fix this by also adding the switch during linking.
Signed-off-by: Norbert Lange <nolange79@gmail.com>
(cherry picked from commit
68e70ac2b27dcb5007fc4009553472f0b9700e66)
(cherry picked from commit
6d97aca0d50343d46cad79af3cabb46dcd56b82f)
Gbp-Pq: Name fix-build-with-compilers-with-default-stack-protector-ena.patch
Nicolas Douma [Tue, 17 Sep 2019 03:07:00 +0000 (05:07 +0200)]
nspawn: surrender controlling terminal to PID2 when using the PID1 stub
(cherry picked from commit
de1b29f375b13b0566814517bf81e3cdbdd9a610)
(cherry picked from commit
fbad077cec34c922a985d894d8181ceefc852ec8)
Gbp-Pq: Name nspawn-surrender-controlling-terminal-to-PID2-when-using-.patch
Franck Bui [Wed, 2 Oct 2019 09:58:16 +0000 (11:58 +0200)]
pid1: fix DefaultTasksMax initialization
Otherwise DefaultTasksMax is always set to "inifinity".
This was broken by
fb39af4ce42.
(cherry picked from commit
c0000de87d2c7934cb1f4ba66a533a85277600ff)
(cherry picked from commit
0553c3c6688999d960aa31f9f5e94e3daa5d522d)
Gbp-Pq: Name pid1-fix-DefaultTasksMax-initialization.patch
Dan Streetman [Sun, 29 Sep 2019 21:16:55 +0000 (17:16 -0400)]
src/core/automount: use DirectoryMode when calling mkdir -p
mkdir -p is called both when setting up the autofs mount, as well
as after being notified that the real mount unit should be called.
However the first mkdir -p is hardcoded with 0555, while the second
uses the value specified to DirectoryMode in the automount unit; the
second mkdir -p is only needed when called from coldplug, so under
normal operation the dirs are incorrectly created with mode 0555.
This replaces the hardcoded 0555 mode with the value of DirectoryMode.
Closes #13683.
(cherry picked from commit
8084dcb9d759e93669127f200bf5ca755432b96e)
(cherry picked from commit
f406a691a7229628781686dfce4c8e276e1d46e3)
Gbp-Pq: Name src-core-automount-use-DirectoryMode-when-calling-mkdir-p.patch
Yu Watanabe [Thu, 26 Sep 2019 12:33:59 +0000 (21:33 +0900)]
udevadm trigger: do not propagate EACCES and ENODEV
Inside container, writing file returns EACCESS. Moreover, some devices
return ENODEV rather than EACCES. So, let's also ignore these two
error causes.
Closes #13652.
(cherry picked from commit
67acde4869a9505f9721e31fa5167c82445e0e12)
(cherry picked from commit
20438f96c3261e55fabf44c892225efe79dd49d5)
Gbp-Pq: Name udevadm-trigger-do-not-propagate-EACCES-and-ENODEV.patch
Jonas Thelemann [Wed, 2 Oct 2019 00:42:58 +0000 (02:42 +0200)]
hwdb: Correct WWWW Pattern In Documentation Comment
(cherry picked from commit
56783ddf228c406522af5e53910d095fa2572540)
(cherry picked from commit
6480630bc397f13713f956ae02ab7877d3aa6ad9)
Gbp-Pq: Name hwdb-Correct-WWWW-Pattern-In-Documentation-Comment.patch
Zbigniew Jędrzejewski-Szmek [Fri, 27 Sep 2019 11:58:06 +0000 (13:58 +0200)]
nspawn: consistently fail if parsing the environment fails
We would parse the environment twice (to re-apply settings after reading
config from disk), but we would not check the return code first time.
This means that for some settings we would ignore invalid values, while
for others, we'd fail at some point.
Let's just consistently fail. Those environment variables define important
aspects of behaviour, and it is better for the user if we ignore invalid
values. (Unknown settings are still ignored, so forward compatibility is
maintained.)
(cherry picked from commit
490486842b6521104b594c511ca912504f61a8f3)
(cherry picked from commit
9d8e889810b50b5be6eeecec637e4a8bdda30977)
Gbp-Pq: Name nspawn-consistently-fail-if-parsing-the-environment-fails.patch
Zbigniew Jędrzejewski-Szmek [Fri, 27 Sep 2019 12:51:53 +0000 (14:51 +0200)]
nspawn: default to unified hierarchy if --as-pid2 is used
See comment added in the patch.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=
1756143.
(cherry picked from commit
75b0d8b89d6e86319e75eaead3f4b0d187a66729)
(cherry picked from commit
40e169b304231d02de387a8dd2c5f0f075973227)
Gbp-Pq: Name nspawn-default-to-unified-hierarchy-if-as-pid2-is-used.patch
Chris Down [Mon, 30 Sep 2019 17:36:13 +0000 (18:36 +0100)]
cgroup: Mark memory protections as explicitly set in transient units
A later version of the DefaultMemory{Low,Min} patch changed these to
require explicitly setting memory_foo_set, but we only set that in
load-fragment, not dbus-cgroup.
Without these, we may fall back to either DefaultMemoryFoo or
CGROUP_LIMIT_MIN when we really shouldn't.
(cherry picked from commit
184e989d7da4648bd36511ffa28a9f2b469589d1)
(cherry picked from commit
b5df1037a0c02ff04886fda7c11868be65c54bd6)
Gbp-Pq: Name cgroup-Mark-memory-protections-as-explicitly-set-in-trans.patch
Chris Down [Mon, 30 Sep 2019 17:25:09 +0000 (18:25 +0100)]
cgroup: Respect DefaultMemoryMin when setting memory.min
This is an oversight from https://github.com/systemd/systemd/pull/12332.
Sadly the tests didn't catch it since it requires a real cgroup
hierarchy to see, and it wasn't seen in prod since we're only currently
using DefaultMemoryLow, not DefaultMemoryMin. :-(
(cherry picked from commit
64fe532e90b3e99bf7821ded8a1107c239099e40)
(cherry picked from commit
f14e3e02cca759dc92c87328e257acc6abe91cbc)
Gbp-Pq: Name cgroup-Respect-DefaultMemoryMin-when-setting-memory.min.patch
Chris Down [Mon, 30 Sep 2019 17:24:26 +0000 (18:24 +0100)]
cgroup: Check ancestor memory min for unified memory config
Otherwise we might not enable it when we should, ie. DefaultMemoryMin is
set in a parent, but not MemoryMin in the current unit.
(cherry picked from commit
7c9d2b79935d413389a603918a711df75acd3f48)
(cherry picked from commit
ea248e53bf763c16fcc26bd1212f2d094db10e15)
Gbp-Pq: Name cgroup-Check-ancestor-memory-min-for-unified-memory-confi.patch
Chris Down [Mon, 30 Sep 2019 13:25:14 +0000 (14:25 +0100)]
cgroup: docs: memory.high doc fixups
The docs just tautologically call this the "high limit". Just call it
throttling as we do in cgroup-v2.rst.
(cherry picked from commit
ba79e19cb299623c9c0dd4c6a1ae80f795409b04)
(cherry picked from commit
de1d25a506db17119065447f8d0225d9ae00fafc)
Gbp-Pq: Name cgroup-docs-memory.high-doc-fixups.patch
Chris Down [Mon, 30 Sep 2019 13:23:32 +0000 (14:23 +0100)]
cgroup: docs: Mention unbounded protection for memory.{low,min}
I got asked why Memory{Low,Min} don't allow "infinity". They do, but the
docs don't say that like they already do for Memory{High,Max}.
(cherry picked from commit
b62087d4d06777ccde9eb9e7a97abc7b8945d5f5)
(cherry picked from commit
2ab45f38d8c4d694f483478c4c055f2d6577c805)
Gbp-Pq: Name cgroup-docs-Mention-unbounded-protection-for-memory.-low-.patch
Kenneth D'souza [Mon, 30 Sep 2019 10:31:21 +0000 (16:01 +0530)]
Consider smb3 as remote filesystem
Currently systemd will treat smb3 as local filesystem and cause
can't boot failures. Add smb3 to the list of remote filesystems
to fix this issue.
Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
(cherry picked from commit
ff7d6a740b0c6fa3be63d3908a0858730a0837c5)
(cherry picked from commit
19a43dc38a136d2e95ae79ee1cd28335557216b9)
Gbp-Pq: Name Consider-smb3-as-remote-filesystem.patch
Michael Olbrich [Sun, 29 Sep 2019 11:43:00 +0000 (13:43 +0200)]
Handle d_type == DT_UNKNOWN correctly
As documented in the man-page, readdir() may return a directory entry with
d_type == DT_UNKNOWN. This must be handled for regular filesystems.
dirent_ensure_type() is available to set d_type if necessary. Use it in
some more places.
Without this systemd will fail to boot correctly with nfsroot and some
other filesystems.
Closes #13609
(cherry picked from commit
28e68bb23547cbc11cd3f62a1a38dbe2b387b370)
(cherry picked from commit
5c0224c7bf3c4b0f18d44ee9da7e058833b1d8e2)
Gbp-Pq: Name Handle-d_type-DT_UNKNOWN-correctly.patch
Chris Down [Wed, 25 Sep 2019 16:09:38 +0000 (17:09 +0100)]
util-lib: Don't propagate EACCES from find_binary PATH lookup to caller
On one of my test machines, test-path-util was failing because the
find_binary("xxxx-xxxx") was returning -EACCES instead of -ENOENT. This
happens because the PATH entry on that host contains a directory which
the user in question doesn't have access to. Typically applications
ignore permission errors when searching through PATH, for example in
bash:
$ whoami
cdown
$ PATH=/root:/bin type sh
sh is /bin/sh
This behaviour is present on zsh and other shells as well, though. This
patch brings our PATH search behaviour closer to other major Unix tools.
(cherry picked from commit
4e1ddb661272ddb2f03d6046369c973657dfdd62)
(cherry picked from commit
8282bc61df10dc1f2290c9c351d5ff6fdb157c24)
Gbp-Pq: Name util-lib-Don-t-propagate-EACCES-from-find_binary-PATH-loo.patch
Yu Watanabe [Wed, 25 Sep 2019 15:21:00 +0000 (00:21 +0900)]
network: drop noisy log message
Closes #13595.
(cherry picked from commit
55a1729fd095f2e0733247e7b4911cf41bf6b2ed)
(cherry picked from commit
9d0ae987a6345ad62ab8f4b89c8ab76637396b46)
Gbp-Pq: Name network-drop-noisy-log-message.patch
cbzxt [Wed, 25 Sep 2019 15:02:46 +0000 (20:32 +0530)]
Updated log message when the timesync happens for the first time (#13624)
(cherry picked from commit
37afb0ac787783a1635165b8a4e3ba5fbd007dfd)
(cherry picked from commit
f67f0e4ec45a7aef177cf19c689dbd76460e8540)
Gbp-Pq: Name Updated-log-message-when-the-timesync-happens-for-the-fir.patch
Zbigniew Jędrzejewski-Szmek [Wed, 18 Sep 2019 10:01:41 +0000 (12:01 +0200)]
units: make systemd-binfmt.service easier to work with no autofs
See https://bugzilla.redhat.com/show_bug.cgi?id=
1731772:
when autofs4 is disabled in the kernel,
proc-sys-fs-binfmt_misc.automount is not started, so the binfmt_misc module is
never loaded. If we added a dependency on proc-sys-fs-binfmt_misc.mount
to systemd-binfmt.service, things would work even if autofs4 was disabled, but
we would unconditionally pull in the module and mount, which we don't want to do.
(Right now we ony load the module if some binfmt is configured.)
But let's make it easier to handle this case by doing two changes:
1. order systemd-binfmt.service after the .mount unit (so that the .service
can count on the mount if both units are pulled in, even if .automount
is skipped)
2. add [Install] section to the service unit. This way the user can do
'systemctl enable proc-sys-fs-binfmt_misc.mount' to get the appropriate behaviour.
(cherry picked from commit
508133917d9628f8c0adc5db34d595196b72b1c8)
(cherry picked from commit
e151bf467494c042bbfd3a4c47ad83ac8e9df2fd)
Gbp-Pq: Name units-make-systemd-binfmt.service-easier-to-work-with-no-.patch
Steve Traylen [Tue, 24 Sep 2019 07:48:03 +0000 (09:48 +0200)]
Corect man page reference in systemd-nologin.conf comments
The reference to the man page of `systemd-user-sessions.service`
in the comments of `tmpfiles.d/systemd-nologin.conf` is corrected.
(cherry picked from commit
7a72a95741970fa4919f137f6844fe11b951efd3)
(cherry picked from commit
2b8e574d8242e5d878252e5fc8f26a993a9c794f)
Gbp-Pq: Name Corect-man-page-reference-in-systemd-nologin.conf-comment.patch
Philip Withnall [Tue, 24 Sep 2019 15:07:23 +0000 (16:07 +0100)]
man: Add a missing space in machinectl(1)
Signed-off-by: Philip Withnall <withnall@endlessm.com>
(cherry picked from commit
abdc57dfe149bfba79af094fd623eb9929eff5e3)
(cherry picked from commit
a0577353f191affac1273bf68f4de4483a1d0a6a)
Gbp-Pq: Name man-Add-a-missing-space-in-machinectl-1.patch
Filipe Brandenburger [Tue, 24 Sep 2019 22:31:27 +0000 (15:31 -0700)]
log: Add missing "%" in "%m" log format strings
These were clearly intended to be "%m" to display the human readable version
of the error stored in errno.
(cherry picked from commit
28b77ab246b88d05076080bbd69ca3c353fa0f27)
(cherry picked from commit
693e983988691df9ce701f44f0dd936744aa8d34)
Gbp-Pq: Name log-Add-missing-in-m-log-format-strings.patch
Zbigniew Jędrzejewski-Szmek [Wed, 18 Sep 2019 15:52:30 +0000 (17:52 +0200)]
pid1: do not warn if /run/systemd/relabel-extra.d/ doesn't exist
After all, that is the expected state.
(cherry picked from commit
90b059b608d6c53c8efb23b8791190dffadd1a17)
(cherry picked from commit
ea7151b8c4355f12d4be56f7b41e0a6ec5db7001)
Gbp-Pq: Name pid1-do-not-warn-if-run-systemd-relabel-extra.d-doesn-t-e.patch
Michael Biebl [Sat, 21 Sep 2019 15:06:25 +0000 (17:06 +0200)]
man: fix typo
(cherry picked from commit
decef551afaff9fb72f3cde499c9c1bcd23e5874)
(cherry picked from commit
b90549290e33dd09fb2677d4236228e1f3f2a4b1)
Gbp-Pq: Name man-fix-typo.patch
Yu Watanabe [Wed, 18 Sep 2019 13:14:45 +0000 (22:14 +0900)]
dhcp6: use unaligned_read_be32()
Closes #13591.
(cherry picked from commit
0eb5e6d3f08c6b3a41cfa7ac02bcc6302259ed4a)
(cherry picked from commit
fab6f010ac6c3bc93a10868de722d7c8c3622eb9)
Gbp-Pq: Name dhcp6-use-unaligned_read_be32.patch
Yu Watanabe [Tue, 17 Sep 2019 13:18:49 +0000 (22:18 +0900)]
dhcp6: add missing option length check
Closes #13578.
(cherry picked from commit
6ffe71d0e22326f8ea5775c188ae0e13573cd123)
(cherry picked from commit
f2d9af4322f74832d93e101abfcc1b3adf0e05c6)
Gbp-Pq: Name dhcp6-add-missing-option-length-check.patch
Yu Watanabe [Fri, 6 Sep 2019 18:36:19 +0000 (03:36 +0900)]
ndisc: make first solicit delayed randomly
Closes #13460.
(cherry picked from commit
9973e6c43abb9d3d73fcfee83c886dbd32e700ca)
(cherry picked from commit
ccf797511e0af237d67a6a5511e760bd41de1732)
Gbp-Pq: Name ndisc-make-first-solicit-delayed-randomly.patch
Yu Watanabe [Fri, 6 Sep 2019 18:29:46 +0000 (03:29 +0900)]
dhcp6: read OPTION_INFORMATION_REFRESH_TIME option
Fixes #13460.
(cherry picked from commit
fcb51238e0523d64a698b8738a15bbc1aea9febe)
(cherry picked from commit
f2275b6e123f4f11878c8e989d28de3157ffdc9a)
Gbp-Pq: Name dhcp6-read-OPTION_INFORMATION_REFRESH_TIME-option.patch
AsciiWolf [Thu, 19 Sep 2019 13:36:42 +0000 (15:36 +0200)]
l10n: update Czech Translation
(cherry picked from commit
1697a28567628ba0c2cb69ab36a7c80e66c01aa0)
(cherry picked from commit
6dfbe58ee7dd6a002f310bc65a451ea6785e7f77)
Gbp-Pq: Name l10n-update-Czech-Translation.patch
Georg Müller [Fri, 20 Sep 2019 08:23:45 +0000 (10:23 +0200)]
sd-radv: if lifetime < SD_RADV_DEFAULT_MAX_TIMEOUT_USEC, adjust timeout (#13491)
The RFC states that lifetime (AdvDefaultLifetime) must be at least
MaxRtrAdvInterval (which more or less corresponds to SD_RADV_DEFAULT_MAX_TIMEOUT_USEC
in systemd).
To fulfill this limit, virtually lower MaxRtrAdvInterval and MinRtrAdvInterval
accordingly.
Also check that min is not lower than 3s and max is not lower than 4s.
(cherry picked from commit
ef90b6a4fb9509f61b9b917bbe4db7343afe1853)
(cherry picked from commit
d4cd0e9d3242f85141d835dd5a78d880b47a0817)
Gbp-Pq: Name sd-radv-if-lifetime-SD_RADV_DEFAULT_MAX_TIMEOUT_USEC-adju.patch
AsciiWolf [Thu, 19 Sep 2019 12:34:31 +0000 (14:34 +0200)]
polkit: fix typo
(cherry picked from commit
984b96aa7a793f74747b0349f0ed68e992ae17b2)
(cherry picked from commit
dbefe592596fd31581958fb2a556989c8c2621cf)
Gbp-Pq: Name polkit-fix-typo.patch
Yu Watanabe [Sun, 15 Sep 2019 13:50:36 +0000 (22:50 +0900)]
sd-netlink: fix invalid assertion
It is natural that n_attiributes is less than type. But in that case,
the message does not contain any message about the type. So, we should
not abort execution with assertion, but just return -ENODATA.
(cherry picked from commit
48fb0d1301c78112360df943f2b6ebeb545b8510)
(cherry picked from commit
a321507476af07b9ce743608a15156f2bc43da1d)
Gbp-Pq: Name sd-netlink-fix-invalid-assertion.patch
Yu Watanabe [Tue, 17 Sep 2019 12:34:06 +0000 (21:34 +0900)]
network: do not enter failed state if device's sysfs entry does not exist yet
(cherry picked from commit
4d59e14f321d50cbdec1a2ef702e2d258e377356)
(cherry picked from commit
45dca7fe864d88edd366f15322c7a7d6bff32897)
Gbp-Pq: Name network-do-not-enter-failed-state-if-device-s-sysfs-entry.patch
Yu Watanabe [Tue, 17 Sep 2019 12:29:23 +0000 (21:29 +0900)]
network: add missing link->network checks
When the function is called, no network file may be assigned to the
link.
(cherry picked from commit
b1b0b42e48303134731e017a108c6c334ef5f4c8)
(cherry picked from commit
dd83d5879661d46f85457d139f683c920875eb44)
Gbp-Pq: Name network-add-missing-link-network-checks.patch
Michal Sekletar [Mon, 9 Sep 2019 12:38:35 +0000 (14:38 +0200)]
path: stop watching path specs once we triggered the target unit
We start watching them again once we get a notification that triggered
unit entered inactive or failed state.
Fixes: #10503
(cherry picked from commit
8fca6944c2ee20c63d62154c8badddc77170b176)
(cherry picked from commit
b294305888da171f393bbb4c3dc0be332e8d50c1)
Gbp-Pq: Name path-stop-watching-path-specs-once-we-triggered-the-targe.patch
matthiasroos [Mon, 16 Sep 2019 19:10:15 +0000 (21:10 +0200)]
hwdb: add Medion Akoya E2292 (#13498)
Fixes #13480.
(cherry picked from commit
358e50fa7fab98509f2ef96cd8d6d7d1af6ed59a)
(cherry picked from commit
2cd636c437965b4a2d86aa3b6c74d4117a719f7f)
Gbp-Pq: Name hwdb-add-Medion-Akoya-E2292-13498.patch
Rafael Fontenelle [Sun, 8 Sep 2019 22:08:14 +0000 (19:08 -0300)]
po: update Brazilian Portuguese translation
(cherry picked from commit
bf55a2df4da0234932c0949801579a9a9dca72bc)
(cherry picked from commit
d133bdd1fa3de98b261314d0bf5fe117d54a6648)
Gbp-Pq: Name po-update-Brazilian-Portuguese-translation.patch
Piotr Drąg [Sat, 14 Sep 2019 10:44:57 +0000 (12:44 +0200)]
po: update Polish translation
(cherry picked from commit
9870c55ef5df8f079cd972b409ec59414869a256)
(cherry picked from commit
530e09b59450181269558fc0cdc7344888638485)
Gbp-Pq: Name po-update-Polish-translation-1.patch
Zbigniew Jędrzejewski-Szmek [Sun, 8 Sep 2019 14:13:15 +0000 (16:13 +0200)]
polkit: change "revert settings" to "reset settings"
"reset" is more understandable. The verb is "revert", but it might actually be
better to have a description which uses different words instead of duplicating
the name of the command.
https://github.com/systemd/systemd/commit/
379158684abd981cc760342aad61b1c813b71eb2#commitcomment-
34992552
(cherry picked from commit
ea2552639b22004c89df26f2374e3d3f1d2acace)
(cherry picked from commit
0c5c3e34c128588b11129bb4d53686574eb7d076)
Gbp-Pq: Name polkit-change-revert-settings-to-reset-settings.patch
Zbigniew Jędrzejewski-Szmek [Thu, 12 Sep 2019 09:15:35 +0000 (11:15 +0200)]
man: fix description of ARPIntervalSec= units
https://bugzilla.redhat.com/show_bug.cgi?id=
1751363
(cherry picked from commit
06c52cc2b7c6cf2729e130f2a23c5a7ce62e27b9)
(cherry picked from commit
73e0f372d8100e635b95b0af39d4546e069c38e0)
Gbp-Pq: Name man-fix-description-of-ARPIntervalSec-units.patch
baybal [Wed, 11 Sep 2019 02:08:59 +0000 (08:08 +0600)]
hwdb: axis override for Dell 9360 touchpad
and possibly other XPS models sharing the touchpad (#13472)
(cherry picked from commit
26fe3af8ae7d52847eb3f2267eaa3df3af90d811)
(cherry picked from commit
5412cc54a12129d53a56d4f95fdd2456302ccc9d)
Gbp-Pq: Name hwdb-axis-override-for-Dell-9360-touchpad.patch