Commit Graph

2684 Commits

Author SHA1 Message Date
Michael Biebl
d57aa1ef5b Rebase patches 2020-06-07 23:40:50 +02:00
Michael Biebl
1ece030606 New upstream version 245.6 2020-06-07 23:30:22 +02:00
Balint Reczey
3f13216aae debian/tests/boot-and-services: Handle missing fstab
LP: #1877078
2020-05-26 16:30:12 +02:00
Michael Biebl
f05ee59b96 Release version 245.5-3 to unstable 2020-05-17 19:30:10 +02:00
Michael Biebl
60a354d641 Drop custom initramfs update code
Now handled by dh_installinitramfs which is enabled by default in compat
level 12 and above.
2020-05-17 19:28:30 +02:00
Michael Biebl
536137206c Convert to dh_installsystemd and disable dh_installsystemduser 2020-05-17 19:24:03 +02:00
Michael Biebl
cd019ea76b Bump debhelper compatibility level to 13
Use the debhelper-compat package to declare the compatibility level and
drop debian/compat.
2020-05-17 19:24:03 +02:00
Michael Biebl
e99d4d7c1f Disable DNSSEC support by default in resolved
The upstream default, DNSSEC=allow-downgrade can lead to compatibility
issues with certain network access points. Previously, DNSSEC support
was only turned off when built for a stable Debian release, but it is
safer and more consistent to just generally change the default to
DNSSEC=no.

Closes: #959996
2020-05-17 19:19:17 +02:00
Michael Biebl
1e94cdd33e logind: avoid shadow lookups when doing userdb client side 2020-05-17 18:57:48 +02:00
Topi Miettinen
32c0a18d2b
Delete empty lines at end of file
Upstream commit hooks don't allow empty lines and of course they serve no
purpose.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-05-16 11:25:10 +03:00
Dan Streetman
ad0482b8a4 Cherry-pick fix from upstream master to adjust UseGateway= default
- network: change UseGateway= default to UseRoutes= setting
- network: honor SetDNSRoutes= even if UseGateway=False

LP: #1867375
2020-05-08 16:05:30 -04:00
Michael Biebl
b9498a5a9a Bump priority of libnss-systemd to standard
This follows the changes that were made to the archive a while ago.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914876

Gbp-Dch: Short
2020-04-28 21:00:13 +02:00
Michael Biebl
6abe33e81b Release version 245.5-2 to unstable 2020-04-27 18:38:50 +02:00
Michael Biebl
1454130b26 Install 60-block.rules in udev-udeb and initramfs-tools
The block device rules were split out from 60-persistent-storage.rules
into its own rules file in v220. Those rules ensure that change events
are emitted and the udev db is updated after metadata changes.

Closes: #958397
Thanks: Pascal Hambourg
2020-04-27 17:55:26 +02:00
Michael Biebl
bce6874f9c Cherry-pick various fixes from upstream master
- network: add a flag to ignore gateway provided by DHCP server
- userdb: when doing client-side NSS look-ups optionally avoid shadow look-ups
- nss-systemd: don't synthesize root/nobody when iterating
- core: make sure we don't get confused when setting TERM for a tty fd
- core: make sure to restore the control command id, too
2020-04-27 17:55:21 +02:00
Michael Biebl
ac5c2deb19 Release version 245.5-1 to unstable 2020-04-18 20:41:34 +02:00
Michael Biebl
a0b2669b77 Add reference to upstream issue for systemd-tmpfiles needing /proc
Gbp-Dch: Ignore
2020-04-18 20:39:24 +02:00
Michael Biebl
f98b4f2c52 Rebase patches 2020-04-18 20:30:12 +02:00
Michael Biebl
4219a2e9af Update changelog 2020-04-18 20:26:02 +02:00
Dan Streetman
80879444bc cleanup ondemand.service symlink
The ondemand.service is removed, so make sure to cleanup its symlink.
2020-04-18 09:39:33 -04:00
Dan Streetman
65f46a7d14 remove Ubuntu-specific ondemand.service
New processors handle scaling/throttling in internal firmware
(e.g. intel_pstate), and do not require OS config.

Additionally, nobody else does this, not even Debian.

And finally, this has caused problems for years, e.g.:

https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1497375
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1503773
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1480320
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579278
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1806012
https://bugs.launchpad.net/charm-sysconfig/+bug/1873028
2020-04-16 10:53:10 -04:00
Dan Streetman
46f3d7af5e Follow symlinks when finding link files to copy into initramfs
If the /{etc,lib}/systemd/network directory itself is a symlink, the find
command will not actually find any of the files in the dir it links to.
Use the find -L param to follow symlinks.

Note that the -L does not need to be provided to the cp command, as when
using only the -p parameter symlinks are followed by default.  Also,
the [ -d ] test follows symlinks by default, and does not need changing.

LP: #1868892
2020-04-14 17:00:36 -04:00
Michael Biebl
7564610675 Release version 245.4-4 to unstable 2020-04-13 13:57:49 +02:00
Michael Biebl
846e96c87e Wrap overly long comment
Gbp-Dch: Ignore
2020-04-13 13:57:49 +02:00
Michael Biebl
56407ffb04 Fix systemd-pstore.service enablement symlink on upgrades
It is now started via sysinit.target. Also clean up the symlink on
purge.
2020-04-13 13:57:49 +02:00
Michael Biebl
77cd05cd0e pid1: automatically generate systemd-remount-fs.service deps, plus enable systemd-pstore from sysinit.target 2020-04-13 13:57:46 +02:00
Michael Biebl
02e27e24e4 Drop Conflicts: virtualbox-guest-utils from systemd-timesyncd
Otherwise this could lead to virtualbox-guest-utils being uninstalled on
upgrades which is not intended.

Closes: #956436
2020-04-13 10:34:18 +02:00
Michael Biebl
06331c4c74 Release version 245.4-3 to unstable 2020-04-10 12:40:41 +02:00
Michael Biebl
2148ba0fc7 user-util: rework how we validate user names
This reworks the user validation infrastructure. There are now two
modes. In regular mode we are strict and test against a strict set of
valid chars. And in "relaxed" mode we just filter out some really
obvious, dangerous stuff. i.e. strict is whitelisting what is OK, but
"relaxed" is blacklisting what is really not OK.

The idea is that we use strict mode whenever we allocate a new user,
while "relaxed" mode is used when we process users registered elsewhere.

Closes: #955541
2020-04-10 12:40:36 +02:00
Michael Biebl
60fef92d8d pid1: by default make user units inherit their umask from the user manager
Closes: #945000
2020-04-10 11:52:10 +02:00
Dan Streetman
05dc1ac6b4 d/rules: in dh_auto_test, include meson param --print-errorlogs
Also, don't cat testlog.txt; it's noisy and not very helpful.

Upstream request:
https://github.com/systemd/systemd/pull/14338#issuecomment-603432989
2020-04-06 18:19:49 -04:00
Michael Biebl
d131245fb8 Release version 245.4-2 to unstable 2020-04-04 10:10:47 +02:00
Michael Biebl
3bed0bbdae Small updates to debian/copyright
Gbp-Dch: Ignore
2020-04-04 10:09:42 +02:00
Michael Biebl
e2a68852b6 Small fixups for the previous commit
Gbp-Dch: Ignore
2020-04-04 08:58:22 +02:00
Balint Reczey
d6483013d5 Ship systemd-timesyncd in a separate package
The new systemd-timesyncd package conflicting with other NTP-related
packages resolves the problems arising when installing systemd-timesyncd
and other NTP servers on the same system.

Co-authored-by: Michael Biebl <biebl@debian.org>
LP: #1849156
Closes: #805927, #947936
2020-04-02 16:36:09 +02:00
Michael Biebl
74164865ac Release version 245.4-1 to unstable 2020-04-02 12:02:48 +02:00
Michael Biebl
13acdb61a3 Revert "Enable seccomp support on riscv64"
This requires further changes to the source code and a newer, not yet
officially released, libseccomp. Since this complicates backports revert
this change for the time being.
2020-04-02 11:51:20 +02:00
Michael Biebl
0a2772cc01 Enable systemd-pstore.service by default on new installs and upgrades
Closes: #952767
2020-04-02 11:29:57 +02:00
Michael Biebl
bdcc6640b9 Update changelog 2020-04-02 09:12:08 +02:00
Dan Streetman
b8e583b980 d/t/logind: use grep -s when checking /sys/power/state
Some kernels in Ubuntu (e.g. linux-kvm) do not enable CONFIG_PM, which
results in stderr output when the logind test tries to grep the power
state file, causing the test to fail.  The test already handles skipping
the test if suspend isn't supported, so just use -s to suppress grep
from printing to stderr if the file doesn't exist.
2020-03-25 15:00:06 -04:00
Michael Biebl
a7a38a576d Release version 245.2-1 to unstable 2020-03-18 23:33:40 +01:00
Michael Biebl
ea8765c837 Drop migration code for the switch from DynamicUser=yes to no
This code is no longer needed as it only affected systems between 239-1
and 239-5, i.e. it never affected a stable release.
2020-03-18 23:31:33 +01:00
Michael Biebl
b30b5c8c70 Use same GECOS field description as upstream for systemd-coredump
Gbp-Dch: Ignore
2020-03-18 23:15:43 +01:00
Michael Biebl
17eef82c06 Enable seccomp support on riscv64
Closes: #954077
2020-03-18 23:06:54 +01:00
Michael Biebl
cf5f85332f Rebase patches 2020-03-18 23:04:54 +01:00
Michael Biebl
1d9958e4f4 New upstream version 245.2 2020-03-18 23:03:47 +01:00
Michael Biebl
b60ac3d312 Release version 245-2 to unstable 2020-03-12 13:55:57 +01:00
Michael Biebl
9967bfe527 Revert "job: Don't mark as redundant if deps are relevant"
This change negatively affects plymouth which was no longer properly
stopped after the system has completed booting. The running plymouth
daemon can trigger a VT switch (to tty1).

Closes: #953670
2020-03-12 13:54:31 +01:00
Michael Biebl
be5eac41c7 Release version 245-1 to unstable 2020-03-11 13:36:21 +01:00
Michael Biebl
07ea2112bc Drop manual clean up of /var/lib/private/systemd/timesync
This is now done properly by systemd itself when a service switches from
DynamicUser=yes to no.
2020-03-11 13:29:11 +01:00