Commit Graph

14346 Commits

Author SHA1 Message Date
Michael Biebl
adf4f31db3 Release version 245.6-3 to unstable 2020-07-14 18:21:00 +02:00
Dimitri John Ledkov
6938984197 Enable EFI/bootctl on armhf. 2020-07-14 18:08:19 +02:00
Martin Pitt
d388b5d3e5 debian/tests/localed-locale: Fix for environments without en_US.UTF-8
Unconditionally back up/restore locale configuration files and generate
en_US.UTF-8. Previously the test failed in environments which have some
locale other than en_US.UTF-8 in /etc/default/locale.

Also fix the assertion of /etc/locale.conf not being present after
localectl. This only applies to Debian/Ubuntu tests, not upstream ones
(see Use-Debian-specific-config-files.patch)
2020-07-14 17:41:59 +02:00
Dan Streetman
898358a430 d/t/storage: check for ext2 or ext4 fs when using crypttab 'tmp' option
https://github.com/systemd/systemd/pull/15853
2020-07-05 19:21:55 +02:00
Dan Streetman
1300eeb4be d/t/upstream: use --directory or --file param for journalctl
properly tell journalctl if the journal to parse is a dir or file
2020-07-05 19:21:46 +02:00
Dan Streetman
35bde17b60 d/t/upstream: capture new merged 'system.journal' from tests
This was changed with the upstream PR:
https://github.com/systemd/systemd/pull/15281
2020-07-05 19:21:35 +02:00
Michael Biebl
ac0f4d0d04 Release version 245.6-2 to unstable 2020-07-05 11:46:59 +02:00
Balint Reczey
a059399694 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
2020-07-05 11:09:31 +02:00
Michael Biebl
1f768cdfa9 Fix build with libmicrohttpd 0.9.71
The return type of callbacks was changed from int to an enum.
2020-07-05 10:48:13 +02:00
Youfu Zhang
3105f22262 fsckd: avoid useless CR displayed on console
LP: #1692353
2020-07-05 10:48:13 +02:00
Michael Biebl
f28333a0f1 d/t/boot-and-services: use canonical name for NetworkManager service 2020-07-05 10:48:05 +02:00
Dan Streetman
96b178356e 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
2020-06-30 15:09:51 -04:00
Michael Biebl
fa278866b5 Release version 245.6-1 to unstable 2020-06-08 00:56:56 +02:00
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
Michael Biebl
e0b7caf54a Update upstream source from tag 'upstream/245.6'
Update to upstream version '245.6'
with Debian dir b15a4845b5
2020-06-07 23:29:51 +02:00
Michael Biebl
20a6e51f0f New upstream version 245.6 2020-06-07 23:29:16 +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
Michael Biebl
c152c2817f Update upstream source from tag 'upstream/245.5'
Update to upstream version '245.5'
with Debian dir eb1ccb5661
2020-04-18 20:24:55 +02:00
Michael Biebl
d0648cfe4f New upstream version 245.5 2020-04-18 20:24:24 +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