Commit Graph

3267 Commits

Author SHA1 Message Date
Michael Biebl
3ef3d45b84 sysusers: split up systemd.conf
Closes: #990349
2021-11-13 19:06:51 +01:00
Michael Biebl
e77d843c89 Use more consistent ordering in .install files
Gbp-Dch: Ignore
2021-11-13 18:27:30 +01:00
Michael Biebl
e2d5c74481 Temporarily disable LTO
This is a test to see if it fixes the failure to build reproducibly on
arm*.
2021-11-13 18:01:27 +01:00
Michael Biebl
1f3d6452f0 Consider dbus-broker in systemd-logind.service Condition check
Closes: #999569
2021-11-12 21:19:15 +01:00
Michael Biebl
75da4c020c Release version 249.6-1 to unstable 2021-11-11 22:05:14 +01:00
Michael Biebl
33925caa2c Drop obsolete migration code for RAMTMP, TPMTIME and UTC 2021-11-11 22:02:41 +01:00
Michael Biebl
2fa4b179e2 Make the C/R against systemd versioned in systemd-standalone-{sysusers,tmpfiles}
Those were added to facilitate an upgrade from bullseye. The version
makes it more explicit.
2021-11-11 22:01:59 +01:00
Michael Biebl
c79d1566ec Drop obsolete dpkg (>= 1.19.3) | systemd-sysv dependency from udev
It was added to ensure we have a dpkg with --notify-await which is now
satisfied by a dpkg from oldstable.
2021-11-11 21:52:17 +01:00
Michael Biebl
93607b3d92 Drop obsolete C/R upstart from systemd-sysv 2021-11-11 21:48:03 +01:00
Luca Boccassi
92f5fa8b6a depend on default-dbus-system-bus | dbus-system-bus
Allows users to install only a single system bus implementation.
Prefer the default (dbus-daemon).
2021-11-11 19:37:46 +00:00
Michael Biebl
a81b6c772e Bump Standards-Version to 4.6.0 2021-11-11 15:38:21 +01:00
Michael Biebl
39f97cdaef test: use kbd-mode-map we ship in one more test case 2021-11-11 15:38:21 +01:00
Michael Biebl
3905dd695e Rebase patches 2021-11-10 22:37:56 +01:00
Michael Biebl
932280adc3 New upstream version 249.6 2021-11-10 22:36:17 +01:00
Michael Biebl
0f565c57e4 Release version 249.5-2 to unstable 2021-11-02 17:30:05 +01:00
Michael Biebl
3b8152c962 hwdb: Allow console users access to media* nodes
Closes: #996749
2021-10-31 22:36:02 +01:00
Helmut Grohne
db161f59a9 Fix FTCBFS: Annotate python3-jinja2 dependency with :native
Closes: #996501
2021-10-31 22:30:46 +01:00
Michael Biebl
d7af42907f Release version 249.5-1 to unstable 2021-10-12 22:40:15 +02:00
Michael Biebl
a02c2b97a4 Clean up lintian overrides 2021-10-12 22:32:57 +02:00
Michael Biebl
b6f18a8473 Update debian/copyright
Thanks lintian!

Gbp-Dch: Short
2021-10-12 19:51:46 +02:00
Michael Biebl
f69bba4f83 Rebase patches 2021-10-12 19:51:27 +02:00
Michael Biebl
1867fa817c New upstream version 249.5 2021-10-12 19:49:41 +02:00
Michael Biebl
b4f70622da Release version 249.4-2 to unstable 2021-10-12 14:04:49 +02:00
Michael Biebl
edf29a12d7 Fix #993738 by pulling the patches from upstream PR#20603
Instead of reverting the multipath symlink race fixes as we did for
v247.x, we pull the patches from upstream PR#20603.
This was not easily doable for v247 but works for v249.

Gbp-Dch: Short
2021-10-12 13:23:59 +02:00
Michael Biebl
dfebac0088 Remove unused initialize_coredump() function
This patch removes the call to initialize_coredump() which currently
triggers the following warning:

../src/core/main.c:1641:13: warning: ‘initialize_coredump’ defined but not used [-Wunused-function]
 1641 | static void initialize_coredump(bool skip_setup) {
      |             ^~~~~~~~~~~~~~~~~~~

With upstream commit
702d40270a
this will become an error, so remove the unused function as well.

Gbp-Dch: Short
2021-10-12 13:23:08 +02:00
Michael Biebl
cdf1c199fd Merge branch 'debian/master' into debian/experimental 2021-10-12 11:58:00 +02:00
Jan Kiszka
fe915095c9 Install native python packages
This fixes cross-building.
2021-10-07 21:55:49 +00:00
Michael Biebl
7de029b91b Release version 247.9-4 to unstable 2021-10-01 10:34:02 +02:00
Michael Biebl
4200ce2eb0 networkd-test: fix resolved_domain_restricted_dns
Cherry-pick upstream commit which hopefully fixes the flakiness in
DnsmasqClientTest.test_resolved_domain_restricted_dns.
2021-10-01 10:33:54 +02:00
Michael Biebl
6dc0a62f30 Revert "test: disable DnsmasqClientTest.test_resolved_etc_hosts in networkd-test.py"
This reverts commit 453fd0eb0a.

Let's see if this test is still flaky on debci.
2021-10-01 10:12:05 +02:00
Michael Biebl
ff6fd33762 autopkgtest: Merge configuration of logind test with timedated and related tests
They share the same restrictions and merging them avoids a bit of
duplication.
2021-10-01 10:12:05 +02:00
Michael Biebl
98e96f771a autopktest: Fix timedated test dependencies
Add an explicit systemd-timesyncd dependency as it is required by the
timedated test.
2021-10-01 10:11:52 +02:00
Michael Biebl
8439e5f2f5 test: Fix flakiness in TEST-10-ISSUE-2467 2021-10-01 09:58:05 +02:00
Michael Biebl
ecc5d532d4 Revert "tests/udev-test.pl: add multiple device test"
Follow-up to make sure the udev autopkgtest passes successfully again
after reverting the multipath symlink race fix.
2021-09-29 02:51:23 +02:00
Michael Biebl
6622ae94ac Release version 247.9-3 to unstable 2021-09-25 22:01:50 +02:00
Michael Biebl
2669f27b2e Revert multipath symlink race fix
Revert upstream commits which caused a regression in udev resulting in
long delays when processing partitions with the same label.

Closes: #993738
2021-09-25 21:55:48 +02:00
Michael Biebl
3b62a3d502 Release version 247.9-2 to unstable 2021-09-22 21:11:15 +02:00
Michael Biebl
287ced37e2 Demote systemd-timesyncd from Depends to Recommends
This avoids a dependency cycle between systemd and systemd-timesyncd and
thus makes dist upgrades more predictable and robust.
It also allows minimal, systemd based containers where no NTP client is
strictly necessary.
To ensure that systemd-timesyncd is installed in a default installation
created by d-i, bump its priority to standard.

Closes: #986651
Closes: #993947
2021-09-22 20:56:21 +02:00
Michael Biebl
59e7f14aef Release version 249.4-1 to experimental 2021-08-30 11:20:34 +02:00
Michael Biebl
13aa99dc6b Rebase patches 2021-08-30 10:31:12 +02:00
Michael Biebl
23f1581d26 New upstream version 249.4 2021-08-30 10:30:53 +02:00
Michael Biebl
0223d2b16e Release version 249.3-4 to unstable 2021-08-25 09:39:34 +02:00
Michael Biebl
12f25c5edf Add Conflicts/Replaces: systemd to systemd-standalone-{sysusers,tmpfiles}
This allows upgrades from older systemd versions which do not have
Provides: systemd-{sysusers,tmpfiles}.

Closes: #992376
2021-08-25 09:34:24 +02:00
Michael Biebl
efc59a71eb Release version 247.9-1 to unstable 2021-08-15 21:11:55 +02:00
Michael Biebl
0b4989bbfb Fix removal of systemd-hwdb-update.service
As we don't support factory-reset, we don't need this service.
In Debian, the hwdb binary database is updated via a dpkg file trigger.
2021-08-15 17:28:32 +02:00
Balint Reczey
bae102d6bc debian/rules: Don't ship README files in (/usr)/lib/*.d
README files are typically shipped in /usr/share/doc.
2021-08-15 17:27:48 +02:00
Michael Biebl
be629be92e Rebase patches 2021-08-15 15:40:20 +02:00
Michael Biebl
90df9d602a New upstream version 247.9 2021-08-15 15:34:30 +02:00
Michael Biebl
026a06446b Set upstream-branch to upstream/247.x
Stay with v247.x for the time being as the plan is to upload the latest
v247.x stable release to bullseye in 11.1. Having the latest v247.x in
unstable first will give it wider testing.

Gbp-Dch: Ignore
2021-08-15 15:29:22 +02:00
Michael Biebl
ac28b6f6d8 Release version 249.3-3 to experimental 2021-08-12 22:45:32 +02:00
Michael Biebl
b2f6ccdd50 Use C/R/P for systemd-sysusers and systemd-tmpfiles
It's an interface/facility that can only be provided by a single package
at a time.
2021-08-12 22:43:19 +02:00
Michael Biebl
ca34dc052d Release version 249.3-2 to experimental 2021-08-08 22:52:15 +02:00
Michael Biebl
8af109415d Fix test dependencies of upstream test
After splitting out the standalone binaries for sysusers and tmpfiles
into separate packages (which conflict with the main systemd package),
we can no longer use the '@' notation in the upstream test.

This reverts commit 5eeeb1b562 and also
adds systemd-tests and systemd-timesyncd to the upstream test
dependencies.
2021-08-08 22:46:06 +02:00
Michael Biebl
06aaa01f52 Provide standalone binaries for sysusers and tmpfiles
Closes: #946456
2021-08-08 22:45:58 +02:00
Michael Biebl
14072300a4 Release version 249.3-1 to experimental 2021-08-08 22:39:42 +02:00
Michael Biebl
6dc0498f59 Remove obsolete systemd-resolve compat symlink 2021-08-06 22:25:24 +02:00
Michael Biebl
7cfaf3549b Rebase patches 2021-08-06 22:24:58 +02:00
Michael Biebl
17708b6706 New upstream version 249.3 2021-08-06 22:24:41 +02:00
Michael Biebl
c41447d164 Release version 249.2-2 to experimental 2021-07-31 21:49:50 +02:00
Michael Biebl
265477ab8b autopkgtest: clean up dependencies of boot-smoke test
A lot of the dependencies are not needed but were originally added to
avoid a testbed reset and make it possible to reuse the testbed of the
upstream test. This turned out to be a maintenance problem and the
dependencies were not updated accordingly. Instead of trying to keep the
two tests in sync, trim down the boot-smoke dependencies to its bare
minimum.
2021-07-31 21:48:46 +02:00
Michael Biebl
5f089a58bf autopkgtest: add systemd-timesyncd dependency to timedated test
We need systemd-timesyncd in the timedated test, not just an arbitrary
provider of time-daemon.
2021-07-31 21:05:32 +02:00
Michael Biebl
a66d122048 Stop setting up device symlinks for CD-RW/DVD drives
Those udev rules were a Debian specific workaround that were mainly
added for compat with older software which wasn't able to automatically
discover those types of devices. Those rules didn't provide
stable/predictable names though, so remove them.

Closes: #991639
2021-07-31 19:32:56 +02:00
Michael Biebl
7ce044098c Drop patches which are no longer needed after bullseye 2021-07-31 19:32:41 +02:00
Michael Biebl
6c3b3d5240 Turn versioned systemd-shim Breaks into unversioned Conflicts
There never was a fixed systemd-shim version before it was removed from
the archive.
2021-07-31 19:29:08 +02:00
Michael Biebl
f98c2fc032 Drop obsolete python-dbusmock Breaks 2021-07-31 19:29:08 +02:00
Michael Biebl
3eb7fba5c0 Drop obsolete systemd Breaks/Replaces 2021-07-31 19:28:44 +02:00
Michael Biebl
711dc827a8 Clean up old versions from maintscript files 2021-07-30 22:10:12 +02:00
Michael Biebl
1206c57362 Remove obsolete upgrade code from maintainer scripts 2021-07-30 22:10:06 +02:00
Michael Biebl
4bf6f5397f Release version 249.2-1 to experimental 2021-07-23 21:44:50 +02:00
Michael Biebl
b15156a306 Rebase patches 2021-07-23 21:44:31 +02:00
Michael Biebl
00a6edc8ad New upstream version 249.2 2021-07-23 21:43:53 +02:00
Michael Biebl
52b543851f Release version 249.1-1 to experimental 2021-07-20 21:21:26 +02:00
Michael Biebl
e9c98dc3c6 New upstream version 249.1 2021-07-20 20:32:35 +02:00
Salvatore Bonaccorso
6ae958c97b Prepare changelog for release
Gbp-Dch: Ignore
2021-07-20 15:21:21 +02:00
Salvatore Bonaccorso
834c5d3d46 basic/unit-name: adjust comments 2021-07-20 15:21:21 +02:00
Salvatore Bonaccorso
33d9f295f6 basic/unit-name: do not use strdupa() on a path (CVE-2021-33910) 2021-07-20 15:21:21 +02:00
Salvatore Bonaccorso
0f6d6f74ef unit-name: generate a clear error code when converting an overly long fs path to a unit name 2021-07-20 15:21:21 +02:00
Michael Biebl
a79b98cbcf Release version 249-1 to experimental 2021-07-07 23:01:15 +02:00
Michael Biebl
42921d22a5 Revert "Switch debian/watch from systemd-stable to systemd to get pre releases"
This reverts commit 14969e2057.

Gbp-Dch: Ignore
2021-07-07 21:36:22 +02:00
Michael Biebl
a12cf5d187 Fix removal of systemd-hwdb-update.service
As we don't support factory-reset, we don't need this service.
In Debian, the hwdb binary database is updated via a dpkg file trigger.
2021-07-07 20:20:20 +02:00
Michael Biebl
30357d1249 Update symbol versions for the v249 release 2021-07-07 19:53:39 +02:00
Michael Biebl
c5e6e9f94d Rebase patches 2021-07-07 19:51:44 +02:00
Michael Biebl
146f09909f New upstream version 249 2021-07-07 19:51:16 +02:00
Michael Biebl
b09465db32 Release version 249~rc3-1 to experimental 2021-07-01 23:55:35 +02:00
Michael Biebl
a9f00e1ab6 Rebase patches 2021-07-01 22:09:38 +02:00
Michael Biebl
b90a63661b New upstream version 249~rc3 2021-07-01 22:09:19 +02:00
Michael Biebl
d490a01ecd Release version 249~rc2-1 to experimental 2021-06-27 17:10:36 +02:00
Michael Biebl
cf9bd15198 Rebase patches 2021-06-25 16:39:26 +02:00
Michael Biebl
67e79d34e1 New upstream version 249~rc2 2021-06-25 16:38:31 +02:00
Michael Biebl
9524123be1 Release version 249~rc1-1 to experimental 2021-06-17 18:10:36 +02:00
Michael Biebl
5092b19836 autopkgtest: add udev dependency to unit-tests
Without a properly set up hwdb the test-sd-hwdb test is skipped.
2021-06-17 18:09:37 +02:00
Michael Biebl
1ff411aec1 Add gawk <!nocheck> to Build-Depends
It is used in tools/check-directives.sh which is run during
"meson test".
2021-06-17 18:09:37 +02:00
Michael Biebl
16265930af test: drop the mawk-incompatible expression 2021-06-17 18:09:37 +02:00
Michael Biebl
09e4262a29 test: do not run 'meson configure' if NO_BUILD is set 2021-06-17 18:09:37 +02:00
Luca Boccassi
c649031591 autopkgtest: add dependency on dosfstools for upstream test
Needed to create EFI partition (vfat)
2021-06-17 18:09:25 +02:00
Michael Biebl
9fe55168c4 Update symbols file for libsystemd0 2021-06-16 21:27:48 +02:00
Michael Biebl
2f58bd18bd Replace m4 Build-Depends with python3-jinja2 2021-06-16 21:27:44 +02:00
Michael Biebl
78d16ddc4c Rebase patches 2021-06-16 13:46:06 +02:00
Michael Biebl
12b5adbeb3 New upstream version 249~rc1 2021-06-16 13:33:16 +02:00
Michael Biebl
14969e2057 Switch debian/watch from systemd-stable to systemd to get pre releases
Gbp-Dch: Ignore
2021-06-16 13:27:23 +02:00
Michael Biebl
0384acf2d0 Release version 248.3-1 to experimental 2021-05-19 13:10:56 +02:00
Dan Streetman
c7ecd05006 d/t: replace 'root-unittests' shell script with simple call to upstream script
The upstream test runner script is much better, as it only prints failing test
output, and gives a summary of the test results at the end.
2021-05-19 13:09:33 +02:00
Michael Biebl
a3186f3adf Rebase patches 2021-05-18 16:41:56 +02:00
Michael Biebl
f695e341a8 New upstream version 248.3 2021-05-18 16:41:38 +02:00
Michael Biebl
c4582a5c40 Release version 248.2-1 to experimental 2021-05-09 21:17:27 +02:00
Michael Biebl
03303d496f New upstream version 248.2 2021-05-09 21:15:18 +02:00
Michael Biebl
c66fa7a777 d/t/control: drop obsolete alternative util-linux dependency
Gbp-Dch: Ignore
2021-05-07 14:06:09 +02:00
Michael Biebl
cfe6a9ebb9 Release version 248.1-1 to experimental 2021-05-07 12:26:41 +02:00
Michael Biebl
36e5fccd5f Update make-fbdev-blacklist to not blacklist hyperv_fb
See commit d899fd1037.

Gbp-Dch: Short
2021-05-07 12:24:59 +02:00
Michael Biebl
66483f56f0 Set executable bit for make-fbdev-blacklist script
Gbp-Dch: Ignore
2021-05-07 12:24:29 +02:00
Frantisek Sumsal
53c68cdb95 upstream-ci: fix test_no_failed() check
Without `--plain` `systemctl` prints a circle (●) in the first column
for each failed service, which with the current code interferes with
attempted journal listing for each such service:

```
test_no_failed (__main__.ServicesTest)
No failed units ... -------- journal for failed service ● -----------
Invalid unit name "●" escaped as "\xe2\x97\x8f" (maybe you should use systemd-escape?).
-- Journal begins at Sun 2021-04-25 03:05:23 UTC, ends at Sun 2021-04-25 09:00:32 UTC. --
-- No entries --
FAIL
```
2021-05-07 12:23:58 +02:00
Dan Streetman
e4c364bc4c d/t/boot-smoke: update test to avoid false negatives 2021-05-07 12:23:58 +02:00
Dan Streetman
5eeeb1b562 d/t/control: install all binary packages for upstream test
With the change to just call the upstream script to run the integration
tests, the packages to test need to be installed so the test-function
script can list out the files each package contains, and copy those files
into each nspawn and/or qemu testbed. Without all packages installed,
some tests fail; specifically TEST-30 currently requires systemd-timesyncd
which was not previously installed for the 'upstream' test suite.

This changes the control file to just install all binary packages, using
the '@' notation.
2021-05-07 12:23:58 +02:00
Dan Streetman
ae1129ecd0 d/t/upstream: use NO_BUILD=1
Also don't bother sed-modifying test-functions file, as the NO_BUILD
changes remove the need for that.
2021-05-07 12:23:58 +02:00
Dan Streetman
3d97be7786 Slight adjustments to previous patch for deny/black-list naming
Also add in two vars used by the integration runner script
2021-05-07 12:23:58 +02:00
Zbigniew Jędrzejewski-Szmek
de959cc3ea Let "upstream" test use upstream test runner 2021-05-07 12:23:58 +02:00
Luca Boccassi
e1af3aed57 upstream suite: add build-dep on vim-tiny
Required by some of the images in the upstream test suite
2021-05-07 12:23:58 +02:00
Luca Boccassi
f96d002269 systemd.install: catch all files installed in usr/bin and bin
At the moment, individual binaries are mentioned specifically in the install file.
When new binaries are added, manual work is needed to get them packaged, which affects
the upstream autopkgtest-based CI.
Change systemd.install to instead pick up everything from usr/bin and bin.
2021-05-07 12:23:58 +02:00
Michael Biebl
1fb1176384 d/e/checkout-upstream: switch to main branch
See https://github.com/systemd/systemd/issues/16834
2021-05-07 12:23:58 +02:00
Michael Biebl
333223cf3c Rebase patches 2021-05-07 00:42:31 +02:00
Michael Biebl
b25b1320eb New upstream version 248.1 2021-05-07 00:36:14 +02:00
Michael Biebl
df3c11ca3f Release version 248-1 to experimental 2021-05-07 00:23:07 +02:00
Balint Reczey
d44f4f8ee2 Revert "pager: stop disabling urlification under a pager"
Debian and Ubuntu do not yet have a less version that supports
urlification. This requires less 563 or later.
2021-05-07 00:23:07 +02:00
Balint Reczey
8dae9a8dbc debian/rules: Don't ship README files in (/usr)/lib/*.d
README files are typically shipped in /usr/share/doc.
2021-05-07 00:23:02 +02:00
Balint Reczey
6d888453de debian/udev.postinst: Create the sgx system group
Intel SGX enclave device nodes are now owned by this group.
2021-05-06 23:00:03 +02:00
Balint Reczey
532abf5b61 debian/tests/control: Upstream test depends on attr 2021-05-06 23:00:03 +02:00
Balint Reczey
667e74b29f Update symbols file for libsystemd0 2021-05-06 23:00:03 +02:00
Balint Reczey
f9a36a5119 Ship systemd-cryptenroll in systemd package 2021-05-06 23:00:03 +02:00
Balint Reczey
b3966ec43a debian/rules: Build without TPM2 support
This is a new feature and needs further review.
2021-05-06 23:00:03 +02:00
Balint Reczey
3ec25d3dfa debian/rules: Build translations for debs but not for udebs 2021-05-06 23:00:03 +02:00
Balint Reczey
63225f2e67 debian/rules: Build support for flushing of the nscd caches 2021-05-06 23:00:03 +02:00
Balint Reczey
13021954a2 debian/rules: Enable new systemd-sysext tool 2021-05-06 23:00:03 +02:00
Balint Reczey
d626a5c95b Refresh patches 2021-05-06 23:00:03 +02:00
Michael Biebl
6bc6a81cd6 Switch debian-branch to debian/experimental
Gbp-Dch: Ignore
2021-05-06 22:59:53 +02:00
Balint Reczey
96f967e7f7 New upstream version 248 2021-05-06 22:54:31 +02:00
Michael Biebl
5d1b53c7db Release version 247.3-5 to unstable 2021-04-12 20:21:55 +02:00
Michael Biebl
fadf93033a udev-udeb: setup /dev/fd, /dev/std{in,out,err} symlinks
As systemd-udevd no longer sets them up itself, we create them manually
after mounting devtmpfs. This avoids breaking applications which expect
those symlinks.

Closes: #975018
2021-04-12 20:21:00 +02:00
Michael Biebl
62b60b5a3b Release version 247.3-4 to unstable 2021-04-11 18:03:34 +02:00
Michael Biebl
3ee6c7685a network: Delay addition of IPv6 Proxy NDP addresses
Fixes "IPv6 Proxy NDP addresses are being lost from interfaces after
networkd adds them".

Closes: #985510
2021-04-11 18:03:34 +02:00
Michael Biebl
16f76cae70 Fix patch metadata to be gbp dch compliant
Gbp-Dch: Ignore
2021-04-11 18:03:14 +02:00
Luca Boccassi
5f855d03e5 Backport patch to fix assert with invalid LoadCredentials=
Regression introduced in v247, fixed in v249, see:

https://github.com/systemd/systemd/issues/19178
2021-04-01 22:41:06 +01:00
Michael Biebl
1a5a51a2ad Release version 247.3-3 to unstable 2021-03-11 18:10:28 +01:00
Michael Biebl
3b0dbdb52b Revert "units: turn off DNSSEC validation when timesyncd resolves hostnames"
This reverts commit c3f7ac43a0.

Support for SYSTEMD_NSS_RESOLVE_VALIDATE=0 requires the changes from
https://github.com/systemd/systemd/pull/17823 for the dnssec bypass
logic. Those are rather invasive changes and not suitable for a stable
backport.
2021-03-11 18:08:30 +01:00
Michael Biebl
deaf89e4cb pkg-config: make prefix overridable again
Closes: #984763
2021-03-11 18:00:06 +01:00
Michael Biebl
18a1843081 Release version 247.3-2 to unstable 2021-03-06 22:33:35 +01:00
Michael Biebl
7018915f04 table: drop trailing white spaces of the last cell in row
Closes: #980820
2021-03-06 22:00:09 +01:00
Michael Biebl
c3f7ac43a0 units: turn off DNSSEC validation when timesyncd resolves hostnames
Closes: #898530
2021-03-06 21:58:23 +01:00
Michael Biebl
7d68acb67f rules: move ID_SMARTCARD_READER definition to a <70 configuration
Closes: #978011
2021-03-06 21:55:57 +01:00
Michael Biebl
2ab3ec0387 analyze: slightly reword PrivateTmp= message
Closes: #931753
2021-03-06 21:53:40 +01:00
Michael Biebl
39391c55cf core: fix mtime calculation of dropin files
Closes: #975289
2021-03-06 21:47:42 +01:00
Michael Biebl
0c6d90f783 Downgrade a couple of warnings to debug
If a package still ships only a SysV init script or if a service file or
tmpfile uses /var/run, downgrade those messages to debug. We can use
lintian to detect those issues.
For service files and tmpfiles in /etc, keep the warning, as those files
are typically added locally and aren't checked by lintian.

Closes: #981407
2021-03-06 20:36:28 +01:00
Michael Biebl
c39ab3efdc Release version 247.3-1 to unstable 2021-02-03 17:12:10 +01:00
Ioanna Alifieraki
ec1130fece systemctl: return error code when scheduled shutdown fails
This patch modifies (debian) commit ce31df6711a8(systemctl: do not
shutdown immediately on scheduled shutdown) to return the error code
when scheduled shutdown fails.

Gbp-Dch: Short
2021-02-03 17:11:22 +01:00
Michael Biebl
6063c226fe Rebase patches 2021-02-03 00:15:29 +01:00
Michael Biebl
00dc072c5a New upstream version 247.3 2021-02-03 00:13:25 +01:00
Michael Biebl
55c6560dcb Release version 247.2-5 to unstable 2021-01-18 17:36:20 +01:00
Michael Biebl
c508444a9a Set upstream metadata fields: Bug-Submit, Bug-Database, Repository, Repository-Browse 2021-01-18 17:36:20 +01:00
Michael Biebl
9da0649d60 Bump Standards-Version to 4.5.1 2021-01-18 17:36:20 +01:00
Michael Biebl
453fd0eb0a test: disable DnsmasqClientTest.test_resolved_etc_hosts in networkd-test.py
This test appears to be flaky.

See #979716
2021-01-18 17:36:09 +01:00
Michael Biebl
ce31df6711 systemctl: do not shutdown immediately on scheduled shutdown
When, for whatever reason, a scheduled shutdown fails to be set, systemd
will proceed with immediate shutdown without allowing the user to react.
This is counterintuitive because when a scheduled shutdown is issued,
it means the user wants to shutdown at a specified time in the future,
not immediately.

Closes: #931235
2021-01-18 12:49:12 +01:00
Matthias Klumpp
63f22a7a8d Configure localed to run locale-gen to generate missing locale
This applies an (upstreamed) patch to permit systemd-localed to run
locale-gen to generate missing locale when requested to switch the
system locale.
This makes localectl usable on Debian for changing locale without
breaking system localization or even prevent certain applications from
running at all after switching to a non-generated locale.
2021-01-18 03:05:05 +01:00
Michael Biebl
58881fb9fb Release version 247.2-4 to unstable 2021-01-02 17:06:23 +01:00
Michael Biebl
c0f9a7a87b Move libraries and NSS modules from /lib to /usr/lib
Keep libpam_systemd.so installed in /lib, as PAM doesn't support
loading PAM modules from /usr/lib on a split-usr system.
2021-01-02 17:05:34 +01:00
Michael Biebl
46ad3a76d4 Release version 247.2-3 to unstable 2020-12-26 13:35:53 +01:00
Michael Biebl
ec74429dbe getty-static.service: Skip if dbus-broker is installed
Check for the binary in /usr/bin as this makes it easier to move the
service files from /lib/systemd to /usr/lib/systemd.
2020-12-26 13:33:06 +01:00
Michael Biebl
8c0b1a1856 init-functions, getty-static.service: Don't hard-code path to systemctl binary
This should simplify an eventual move of systemctl from /bin to
/usr/bin.
2020-12-26 13:24:58 +01:00
Michael Biebl
cd72d4a3e4 Increase timeout when running unit tests
The default timeout for individual unit tests is 30s. On slower
architectures and environments like reproducible-builds, this sometimes
is not enough.
Instead of fine-tuning the timeout for each individual test, we instead
increase the timeouts by a factor of 10.
2020-12-25 23:58:14 +01:00
Michael Biebl
6d8f500547 test: use modern qemu numa arguments 2020-12-23 12:06:26 +01:00
Michael Biebl
d1d760befb Release version 247.2-2 to unstable 2020-12-21 20:07:31 +01:00
Michael Biebl
170fb124a3 Switch to "unified" cgroup hierarchy (i.e. cgroupv2)
Closes: #943981
2020-12-21 20:05:09 +01:00
Michael Biebl
337634b596 Release version 247.2-1 to unstable 2020-12-20 20:45:18 +01:00
Michael Biebl
a66f8c66aa test: fix fd_is_mount_point() check 2020-12-20 20:43:08 +01:00
Michael Biebl
9f30a91f1d Rebase patches 2020-12-20 20:42:24 +01:00
Michael Biebl
7ae2c9f30e Move udev NEWS entry to systemd
This is a workaround for
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977422

Most users will have installed systemd, so while strictly speaking this
NEWS entry is for udev, having it shown on upgrades is more important.

Gbp-Dch: Ignore
2020-12-20 20:37:58 +01:00
Balint Reczey
5e10cd8c43 debian/udev.NEWS: Mention udev rules changes in 247 2020-12-15 21:27:49 +01:00
Michael Biebl
0fe95ab515 Release version 247.1-4 to unstable 2020-12-11 20:27:10 +01:00
Michael Biebl
2be0150e9e sd-device: keep escaped strings in DEVLINK= property
Closes: #976699
2020-12-10 00:56:18 +01:00
наб
006bcd63f1
debian/extra/kernel-install.d/85-initrd.install: match initrd installation messages and uninstallation to 90-loaderentry.install 2020-12-09 18:53:57 +01:00
наб
409d924563
debian/extra/kernel-install.d/85-initrd.install: Don't install initrd when an explicit path was passed 2020-12-09 18:53:55 +01:00
Michael Biebl
5283923f66 Release version 247.1-3 to unstable 2020-12-03 23:54:07 +01:00
Michael Biebl
85438481ca d/t/timedated: Ignore return code of dbus-monitor in wait_mon()
We are not really interested in the return code and error messages from
dbus-monitor after killing it, so ignore them to avoid undesired
autopkgtest failures.

Follow-up for commit 3de342799c.
2020-12-03 23:52:50 +01:00
Michael Biebl
9cdb3dbbcc Release version 247.1-2 to unstable 2020-12-02 23:26:34 +01:00
Balint Reczey
3de342799c debian/tests/timedated: Wait for the killed child only
There may be other children of the script due to autopkgtest machinery
and they exit after the script exited.

LP: #1904406
2020-12-02 23:24:06 +01:00
Michael Biebl
ffc71ffb92 Switch debian-branch to debian/master
Gbp-Dch: Ignore
2020-12-02 23:19:26 +01:00
Michael Biebl
ed35a87e6f Merge branch 'debian/experimental' into debian/master 2020-12-02 23:18:37 +01:00
Michael Biebl
d21ae0f7c4 Revert "d/t/timedated: use /bin/bash to work around job handling issue in dash"
This reverts commit e437da1e4f.
2020-12-01 19:45:17 +01:00
Michael Biebl
42cb0b5a06 Release version 247.1-1 to experimental 2020-12-01 17:17:45 +01:00
Michael Biebl
6c9120646d New upstream version 247.1 2020-12-01 14:32:45 +01:00
Michael Biebl
6c23297e68 Switch debian/watch back to systemd-stable repo now that v247 is released
Gbp-Dch: Ignore
2020-12-01 14:30:14 +01:00
Michael Biebl
5ee266d002 Release version 247-1 to experimental 2020-11-26 21:00:53 +01:00
Michael Biebl
ffe4f92ab8 Update symbol versions for the v247 release 2020-11-26 19:16:01 +01:00
Michael Biebl
be961335d7 Rebase patches 2020-11-26 19:14:13 +01:00
Michael Biebl
df3374b3b4 New upstream version 247 2020-11-26 19:13:03 +01:00
Michael Biebl
373dcd7c45 Release version 247~rc2-3 to unstable 2020-11-26 18:19:53 +01:00
Michael Biebl
fe6dfad24f Add Breaks: udev (<< 247~) to systemd
This ensures that udev is upgraded alongside systemd and both support
the new udev tags concept introduced in v247.

Closes: #975554
2020-11-26 18:18:28 +01:00
Michael Biebl
b840cd560d sd-device: make sd_device_has_current_tag() compatible with udev database generated by older udevd
Closes: #974730
2020-11-26 18:07:14 +01:00
Michael Biebl
e23f9a2fb3 systemd Debian release 246.6-5
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAl+9cvYACgkQauHfDWCP
 Itz03w/+K7laA+3yUOP0U4P7kfzm9lsCrdDdIK2XTlSTMq2Q605H7JomAmZWE4GH
 bET11ChHqpNpQDNrizu6UeJLBovTlfuxZYB0wvNseJxhojs3XFGLzW7sqdmHGDjB
 III0NaLd+3dr3PsygOtmtIexa6ybnvU4s7zy7sWFUp1ZBi89xl4LTjEybBraEc04
 WUeCVZtQ4rtWu1oSgdyXMnVhEjg95q400kfOSwNGsidyhV+QkXhnn6wJhPfJukgv
 529D6qVTfhozVypHmK4iG/1ZYJnXOydA35JShkp1b6pfigtKvlA+8m/8BWm4QAI4
 svLItgA+TbQoLs8wjAxcVIMUYYOgdYsIa3hIhjBM+yV0u5dGffgYy/BdIXPxOSou
 3V0dLpGsJJzJO804a2Y2hFRQa/aNMJ1wbUEdUlI3qFLReLeCvsMDQXO3TotAYWSY
 5LDlbPTQpppmlRyaVBek863+OL/1zwTKkwij+tnATcEmW+SIz3vMUEBMEDk/8KJI
 klqfk53KF+kYRMtkAcUjxmjOT7zvztBTJpSQGizJbfhAdtXnqBBR7tClX29ChzbT
 lamvVcrdHLhI2/FPSmyhL19syLx5nxMASf5psVJbQj8uX3iRLAivylTh6/Mx26Md
 67pXSZeDMFFlUFnUUnaL2pKpAILPmiUjnROL4VErdhYcykMTakw=
 =Q6O6
 -----END PGP SIGNATURE-----

Merge tag 'debian/246.6-5' into debian/experimental

systemd Debian release 246.6-5
2020-11-26 17:58:35 +01:00
Michael Biebl
178f661858 Release version 246.6-5 to unstable 2020-11-24 21:53:45 +01:00
Michael Biebl
5063764faf test/test-functions: copy /usr/lib/pam.d into $initdir
The systemd-user file has been moved from /etc/pam.d into /usr/lib/pam.d,
so test-functions needs to copy it from /usr/lib/pam.d instead.

Follow-up for 6b159adba6.
2020-11-24 21:52:32 +01:00
Michael Biebl
3e6aa29521 test-seccomp: accept ENOSYS from sysctl(2) too
It seems that kernel 5.9 started returning that.
2020-11-24 21:45:58 +01:00
Michael Biebl
7baa72e3f4 Drop non-functional DefaultTasksMax patch
This patch was supposed to remove the DefaultTasksMax limit, but lost
its actual logic over 4 years ago, when the patches were rebased for the
v231 release. Since nobody has complained so far, we can assume it is
safe to drop this patch.

Closes: #975335
2020-11-20 22:40:48 +01:00
Michael Biebl
5cf6abbaf8 Release version 246.6-4 to unstable 2020-11-19 22:36:34 +01:00
Michael Biebl
54ebb5500e Revert "Trigger a systemctl daemon-reload when init scripts are installed or removed"
Remove the dpkg file trigger which called systemctl daemon-reload whenever
a SysV init script was installed. We have proper support in debhelper
nowadays which makes this superfluous and we want to avoid unnecessary
systemctl daemon-reload calls.
2020-11-19 22:33:24 +01:00
Michael Biebl
49ea0677ee Release version 246.6-3 to unstable 2020-11-18 01:12:08 +01:00
Michael Biebl
e437da1e4f d/t/timedated: use /bin/bash to work around job handling issue in dash
See: #975010
2020-11-18 01:12:08 +01:00
Michael Biebl
7155afaeda init-functions: update LSB hook to not use ignore-dependencies
job-mode=ignore-dependencies, as currently used in the LSB hook during
bootup and shutdown, can have undesired side-effects, like changing the
ordering of services and ultimately causing them to fail, due to unmet
dependencies.
So simplify that, and only apply --no-block on reload requests during
bootup and shutdown.

Closes: #960594
2020-11-18 01:12:08 +01:00
Michael Biebl
6b159adba6 pam: move systemd-user PAM config from /etc/pam.d to /usr/lib/pam.d
This is supported since PAM 1.2 and we want as little files in /etc as
possible.
2020-11-18 01:12:04 +01:00
Michael Biebl
351e5ec877 pam: include pam_keyinit session module in systemd-user
We want that systemd --user gets its own keyring, not the basic keyring
set up by systemd --system.
2020-11-17 21:35:00 +01:00
Michael Biebl
86f7f87454 Release version 247~rc2-2 to experimental 2020-11-13 19:23:01 +01:00
Michael Biebl
8d4dd49b28 missing: define several syscall numbers for MIPS arch
Closes: #974619
2020-11-13 19:21:30 +01:00
Michael Biebl
53f463dcf7 Release version 247~rc2-1 to experimental 2020-11-12 21:25:54 +01:00
Luca Boccassi
cde07844e6 d/t/control: install squashfs-tools for upstream test
Required by TEST-50-DISSECT since upstream PR:
https://github.com/systemd/systemd/pull/16046
2020-11-12 21:22:59 +01:00
Dan Streetman
89b1131248 d/t/upstream: convert 'blacklist' term to 'deny-list'
Support transition for upstream-ci from
https://github.com/systemd/systemd/pull/16262
2020-11-12 21:22:59 +01:00
Dan Streetman
1b564a7c99 d/control: update meson minimum version
https://github.com/systemd/systemd/pull/13842#issuecomment-601105975
2020-11-12 21:22:59 +01:00
Luca Boccassi
bbd67e8578 systemd-container: install systemd-dissect binary
Required for TEST-50-DISSECT since:

https://github.com/systemd/systemd/pull/16046
2020-11-12 21:22:59 +01:00
Michael Biebl
10d5b585c2 Update symbols file for libsystemd0 2020-11-12 21:22:59 +01:00
Michael Biebl
0de7b7f5ac Update symbols file for libudev1 2020-11-12 21:22:59 +01:00
Michael Biebl
b36fa9dca2 Use -Dmode=release as we want a release, not developer, build 2020-11-12 21:22:59 +01:00
Michael Biebl
d124c0dd53 Explicitly disable oomd 2020-11-12 21:22:59 +01:00
Michael Biebl
05caea8bcf Rebase patches 2020-11-12 21:06:25 +01:00
Michael Biebl
09e1e0f2b5 New upstream version 247~rc2
- tmpfiles: Handle filesystems without ACL support in more cases
  (Closes: #972135)
2020-11-12 13:22:05 +01:00
Michael Biebl
dc89e584a2 Switch debian-branch to debian/experimental
and switch debian/watch from systemd-stable to systemd to get
pre-releases.

Gbp-Dch: Ignore
2020-11-12 13:11:24 +01:00
Michael Biebl
8e921b0abe Release version 246.6-2 to unstable 2020-10-15 23:49:02 +02:00
Michael Biebl
d2e715ae57 bootspec: don't fail with EIO if searching for ESP and finding one without an enveloping partition table
Closes: #970534
2020-10-15 23:41:56 +02:00
Michael Biebl
78e325daf5 units: update serial-getty@.service to support 57600 baud rate
Closes: #969144
2020-10-15 23:37:43 +02:00
Michael Biebl
4ef284cd7a Move sysusers.d/sysctl.d/binfmt.d/modules-load.d back to /usr
In Debian, late mounting of /usr is no longer supported, so it is safe
to install those files in /usr.
We want those facilities in /usr, not /, as this will make an eventual
switch to a merged-usr setup easier.

Closes: #971282
2020-10-15 23:35:08 +02:00
Michael Biebl
86edce2b4b Re-enable seccomp support on riscv64
This should be safe now, as the code has fallbacks for systems with
older libseccomp versions.
2020-10-15 23:06:34 +02:00
Michael Biebl
f551c8d408 XDG autostart improvements
- Add support for Path= in XDG Desktop File
- Ignore more common XDG Desktop Entry fields
- Lower most info messages to debug level

Closes: #968116
2020-10-12 13:02:21 +02:00
Michael Biebl
66307b5b7a Release version 246.6-1 to unstable 2020-09-21 20:28:55 +02:00
Michael Biebl
ff64c774a1 Rebase patches 2020-09-21 18:41:48 +02:00
Michael Biebl
b7e7e2e5d3 New upstream version 246.6 2020-09-21 18:41:25 +02:00
Michael Biebl
13438c5b0d Release version 246.5-1 to unstable 2020-09-14 08:14:11 +02:00
Michael Biebl
8642b7ab05 Rebase patches 2020-09-13 21:01:46 +02:00
Michael Biebl
789718f775 New upstream version 246.5 2020-09-13 21:01:18 +02:00
Michael Biebl
3e2db72b37 Release version 246.4-1 to unstable 2020-09-02 13:31:05 +02:00
Michael Biebl
08c6bcfef0 Rebase patches 2020-09-02 13:29:48 +02:00
Michael Biebl
4f2e291a1f New upstream version 246.4 2020-09-02 13:28:48 +02:00
Michael Biebl
2accd0227b Release version 246.3-1 to unstable 2020-08-29 18:39:47 +02:00
Michael Biebl
ab3bb74b5c Rebase patches 2020-08-29 18:03:52 +02:00
Michael Biebl
b01948a738 New upstream version 246.3 2020-08-29 17:58:56 +02:00
Michael Biebl
bcbb3b6ee8 Release version 246.2-2 to unstable 2020-08-29 16:26:34 +02:00
Michael Biebl
d5b3c53814 path: Skip directories when finalising $PATH search
Closes: #969006
2020-08-29 16:23:49 +02:00
Michael Biebl
2e2d404a9d Support missing conditions/asserts everywhere
Closes: #968612
2020-08-29 16:19:47 +02:00
Michael Biebl
286f1379ce seccomp: Add support for riscv64
Closes: #954312
2020-08-29 16:19:45 +02:00
Michael Biebl
4a2d15949f Fix restart of systemd-networkd.socket
We can't restart the socket while systemd-networkd.service is still
active. Instead we stop the socket and ensure, that a try-restart of
systemd-networkd.service also starts the socket.
2020-08-29 16:19:33 +02:00
Balint Reczey
0fc215accc debian/systemd.postinst: Restart systemd-networkd.socket on incompatible change
PassCredentials=yes is replaced with PassPacketInfo=yes and extra padding is
dropped, too.

See: https://github.com/systemd/systemd/pull/15942

Closes: #968589
LP: #1891716
2020-08-20 15:51:29 +02:00
Michael Biebl
d52cf690b0 Release version 246.2-1 to unstable 2020-08-18 00:51:38 +02:00
Michael Biebl
f2e8ecacac Keep journal files compatible with older versions
Disable the KEYED-HASH journal feature by default and keep LZ4 (instead
of ZSTD) as default compression for new journal files. Otherwise journal
files are incompatible and can't be read by older journalctl
implementations.

This patch can be dropped in bullseye+1, as journalctl from bullseye
will then be able to read journal files with those features.

Closes: #968055
2020-08-18 00:51:01 +02:00
Michael Biebl
01cb81372f Add versioned Breaks against resolvconf (<< 1.83~) to systemd
The PathExists= directive was changed in v246 to match the documented
behaviour but now causes resolvconf-pull-resolved.service to be
continuously triggered by resolvconf-pull-resolved.path.
This requires a fix in the resolvconf package, see #968015.

Closes: #967906
2020-08-18 00:50:22 +02:00
Michael Biebl
c1fb6f6506 Rebase patches 2020-08-17 21:46:07 +02:00
Michael Biebl
e6db96f430 Update changelog for 246.2 release 2020-08-17 21:45:44 +02:00
Michael Biebl
a318f0220d Remove resolvconf.conf drop-in, resolved integration moved to resolvconf package 2020-08-17 12:54:55 +02:00
Michael Biebl
01cee9a0fa Release version 246.1-1 to unstable 2020-08-16 13:15:04 +02:00
Michael Biebl
ac71661e4f Rebase patches 2020-08-15 20:34:13 +02:00
Michael Biebl
9dc7206a4e New upstream version 246.1 2020-08-15 20:34:02 +02:00
Michael Biebl
414ff512db Release version v246-2 to unstable 2020-08-03 09:46:56 +02:00
Michael Biebl
6da7311eec Revert "Switch debian-branch to debian/experimental"
This reverts commit 6be9614965.

Gbp-Dch: Ignore
2020-08-03 09:45:42 +02:00
Michael Biebl
cc24616cda Release version 246-1 to experimental 2020-07-30 22:23:14 +02:00
Michael Biebl
ed60de5fd9 Disable libfido2 support
This is only used by homed which we don't enable.
2020-07-30 22:02:46 +02:00
Michael Biebl
6bf4bfb273 Bump libapparmor-dev Build-Depends to (>= 2.13) 2020-07-30 22:02:45 +02:00
Michael Biebl
ffe092c746 Update symbols file for libsystemd0 2020-07-30 22:02:20 +02:00
Michael Biebl
70557683b0 Rebase patches 2020-07-30 22:01:34 +02:00
Michael Biebl
d5598639c0 New upstream version 246 2020-07-30 21:56:40 +02:00
Michael Biebl
6be9614965 Switch debian-branch to debian/experimental
Update debian/watch and switch from systemd-stable to systemd.

Gbp-Dch: Ignore
2020-07-30 21:54:03 +02:00
Michael Biebl
d5e61795c1 Release version 245.7-1 to unstable 2020-07-27 23:25:06 +02:00
Michael Biebl
61cdc9cff2 Rebase patches 2020-07-27 23:24:43 +02:00
Michael Biebl
11298cd116 Update changelog 2020-07-27 23:24:42 +02:00
Michael Biebl
1e4038e8f0 Tighten libzstd-dev Build-Depends
We need >= 1.4.0 which is not available in buster, only
buster-backports. So we need to specify the version explicitly.

Gbp-Dch: Ignore
2020-07-27 22:18:30 +02:00
Michael Biebl
755fe7eb4c Mark zstd Build-Depends as <!nocheck>
It is needed for zstdcat which is used in the test suite.

Gbp-Dch: Ignore
2020-07-27 21:51:34 +02:00
Dan Streetman
e530c346bd Add libzstd-dev and zstd as build and test deps
For upstream PR:
https://github.com/systemd/systemd/pull/15422
2020-07-23 11:54:27 +00:00
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
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
Michael Biebl
adbf7d9945 execute: Fix migration from DynamicUser=yes to no 2020-03-11 13:28:32 +01:00
Michael Biebl
2d50b0d08e analyze: fix table time output 2020-03-11 13:27:33 +01:00
Michael Biebl
58bf8b5016 Disable repart, userdb, homed, fdisk, pwquality, p11kit feature
Those are new features which drag in new dependencies and need further
review first.
2020-03-11 12:54:06 +01:00
Balint Reczey
4e811999ed Update symbols 2020-03-11 11:35:09 +01:00
Balint Reczey
62464d9dc8 Update changelog 2020-03-11 11:22:36 +01:00
Balint Reczey
179dbd3bd5 Refresh patches 2020-03-11 11:22:32 +01:00
Michael Biebl
62369f089a Release version 244.3-1 to unstable 2020-02-15 15:47:07 +01:00
Michael Biebl
358a2ffa6c New upstream version 244.3 2020-02-15 15:15:43 +01:00
Michael Biebl
ea2adb40d2 Release version 244.2-1 to unstable 2020-02-07 19:31:26 +01:00
Michael Biebl
485a56e2e9 Bump Standards-Version to 4.5.0
While systemd is creating new user accounts, upstream has no plans to
follow the new policy recommendation to use a leading underscore for
user names/groups. We won't be diverging from upstream here.

Gbp-Dch: Short
2020-02-07 19:31:26 +01:00
Michael Biebl
c9465d5744 Rebase patches 2020-02-07 19:31:26 +01:00
Michael Biebl
0834ef8da3 New upstream version 244.2 2020-02-07 19:31:24 +01:00
Balint Reczey
a3d3aeab62 Remove empty /var/log/journal/ on purge
This keeps piuparts happy
2020-02-07 01:19:46 +01:00
Michael Biebl
88c3a15e53 Release version 244.1-3 to unstable 2020-02-04 00:12:58 +01:00
Michael Biebl
8b0e049feb Don't fail upgrade if /proc is not mounted
Applying ACLs on /var/log/journal via systemd-tmpfiles requires a
mounted /proc. Skip this step if /proc is not available, e.g. in a
chroot.

Closes: #950533
2020-02-04 00:10:41 +01:00
Michael Biebl
1de0288ac6 core: call dynamic_user_acquire() only when 'group' is non-null
Fixes an assertion in systemd which could happen if a unit is reloaded
and the unit is in bad-setting state.

Closes: #950409
2020-02-04 00:01:53 +01:00
Michael Biebl
47ebd1c111 shared/dropin: fix assert for invalid drop-in
Fixes an assertion when running systemctl cat on inexistent
unit templates.

Closes: #950489
2020-02-03 23:55:23 +01:00