Commit Graph

14065 Commits

Author SHA1 Message Date
Dimitri John Ledkov
0a67c4bc15 Build manpages in .deb variant.
Upstream snapshots are switching to building manpages off by default.

Fixes: https://github.com/systemd/systemd/pull/12519
Gbp-Dch: Ignore
2019-05-10 11:31:15 +01:00
Michael Biebl
8127cbd86f systemctl: Restore "systemctl reboot ARG" functionality
Fixes a regression introduced in v240.

Closes: #928659
2019-05-09 20:13:57 +02:00
Michael Biebl
d8e4bc4487 journal-remote: Do not request Content-Length if Transfer-Encoding is chunked
Closes: #927008
2019-04-24 12:11:36 +02:00
Martin Pitt
3b80938124 debian/extra/checkout-upstream: Support submodules
See https://github.com/systemd/systemd/pull/12151
2019-04-12 08:24:53 +02:00
Michael Biebl
49f46e6382 Release version 241-3 to unstable
urgency=high for the security fix.
2019-04-08 13:04:47 +02:00
Michael Biebl
996e854fef pam-systemd: Use secure_getenv() rather than getenv()
Fixes a vulnerability in the systemd PAM module which insecurely uses
the environment and lacks seat verification permitting spoofing an
active session to PolicyKit.

CVE-2019-3842
2019-04-08 12:58:57 +02:00
Martin Pitt
b96b67cac4 boot-and-service autopkgtest: Ensure graphical.target gets booted
Follow-up to commit fbdd60c51. LXC's debian template sets
multi-user.target by default, so gdm never gets started.

Gbp-Dch: Ignore
2019-04-03 23:50:19 +02:00
Michael Biebl
2d871ae472 network: Fix routing policy rule issue
When multiple links request a routing policy, make sure they are all
applied correctly.

Closes: #924406
2019-04-03 19:32:01 +02:00
Martin Pitt
fbdd60c51a Enable boot-and-service autopkgtest in containers
- Skip tests which can't work in containers.
- Add missing rsyslog test dependency.
- e2scrub_reap.service fails in containers, ignore (filed as #926138)
- Relax pgrep pattern for gdm, as there's no wayland session in
  containers.
2019-03-31 22:56:33 +02:00
Martin Pitt
c923cd4a7e Enable udev autopkgtest in containers
This test doesn't actually need udev.service (which is disabled in
containers) and works fine in LXC.
2019-03-31 21:48:42 +02:00
Michael Biebl
e1b3868e8b Revert "Drop systemd-timesyncd.service.d/disable-with-time-daemon.conf"
Apparently Conflicts= are not a reliable mechanism to ensure alternative
NTP implementations take precedence over systemd-timesyncd.

This reverts commit b2ced99893.

Closes: #902026
2019-03-31 19:37:41 +00:00
Michael Biebl
0ceb922acc networkd: Clarify that IPv6 RA uses our own stack, no the kernel's
Closes: #815582
2019-03-28 21:27:52 +01:00
Michael Biebl
d4eebefd0b bash-completion: Use default completion for redirect operators
Closes: #924541
2019-03-28 21:25:22 +01:00
Michael Biebl
95a57c2179 udev: Run programs in the specified order
Closes: #925190
2019-03-28 21:18:17 +01:00
Michael Biebl
cdd220dd3e Properly remove duplicate directories from systemd package
When removing duplicate directories from the systemd package, sort the
list of directories in reverse order so we properly delete nested
directories.

Running debdiff shows the following result:

Files in first .deb but not in second
-------------------------------------
drwxr-xr-x  root/root   /etc/udev/
drwxr-xr-x  root/root   /usr/lib/systemd/tests/
drwxr-xr-x  root/root   /usr/lib/systemd/tests/testdata/

Those empty directories clearly do not belong into systemd package.
2019-03-21 06:33:08 +00:00
Michael Biebl
8d292a0afd Drop systemd-shim alternative from libpam-systemd
A fixed systemd-shim package which works with newer versions of systemd
is unlikely to happen given that the systemd-shim package has been
removed from the archive. Drop the alternative dependency from
libpam-systemd accordingly.
2019-03-20 23:52:16 +01:00
Michael Biebl
a7e55fb430 Release version 241-2 to unstable 2019-03-15 18:43:46 +01:00
Martin Pitt
558fae47bf Revert "debian/tests/boot-smoke: Create "render" system group"
This reverts commit 2ab793c735.

Commit 8ca0c4921b creates the group in the package now.

Gbp-Dch: Ignore
2019-03-14 21:50:00 +01:00
Michael Biebl
8ca0c4921b Make /dev/dri/renderD* accessible to group "render"
Follow upstream and make render nodes available to a dedicated system
group "render" instead of "video". Keep the uaccess tag for local,
active users.
2019-03-14 18:06:39 +01:00
Martin Pitt
8d72f4f1c3 Revert "debian/tests/unit-config: Tolerate path variations"
The double slashes got fixed properly upstream again:
https://github.com/systemd/systemd/commit/23bdba61b

This reverts commit 3da52a0fab.
2019-03-14 13:29:49 +01:00
Martin Pitt
bd89a706b1 udev: Relax udev's dpkg dependency again
The previous commit added an udev dependency to the latest dpkg. This
broke backportability and upstream CI.

As this is only necessary with SysV init, add an alternative to
systemd-sysv.

Gbp-Dch: Ignore
2019-03-12 09:37:32 +01:00
Michael Biebl
8d810fda9a udev.init: Use new s-s-d --notify-await to start udev daemon
Fixes a race condition during startup under SysV init.
Add versioned dependency on dpkg (>= 1.19.3) to ensure that a version
of start-stop-daemon which supports --notify-await is installed.

Closes: #908796
2019-03-11 18:58:31 +01:00
Michael Biebl
811854674a core: Remove "." path components from required mount paths
Fixes mount related failures when a user's home directory contains "/./"

Closes: #923881
2019-03-11 10:40:02 +01:00
Martin Pitt
57465d928d debian/tests/timedated: Fix race condition
If timesyncd is running in the testbed, set-ntp does not synchronously
disable it, so wait until it goes down.

Gbp-Dch: Ignore
2019-03-11 08:09:33 +01:00
Michael Biebl
349a7e9464 udev: Restore debug level when logging a failure in the external prog called by IMPORT{program}
Closes: #924199
2019-03-10 22:09:38 +01:00
Michael Biebl
e2edaaf8df cgtop: Fix processing of controllers other than CPU
Closes: #921280
2019-03-10 22:07:46 +01:00
Martin Pitt
0cd41d3692 debian/tests/timedated: Check enabling/disabling NTP
Assert that `timedatectl set-ntp` correctly controls the service, sets
the `org.freedesktop.timedate1 NTP` property, and sends the right
`PropertiesChanged` signal.

This reproduces <https://github.com/systemd/systemd/issues/11944> and
also the earlier <https://github.com/systemd/systemd/issues/9672>.
2019-03-10 20:52:27 +01:00
Martin Pitt
bc11e5ff53 timedated: Fix emitted value when ntp client is enabled/disabled
Fixes a regression introduced in 241.
2019-03-10 20:51:45 +01:00
Martin Pitt
e54dc6dd77 debian/tests/boot-smoke: Only check current boot for connection timeouts
Otherwise we'll catch some

    Failed to resolve group 'render': Connection timed out

messages that happen in earlier boots during VM setup, before the
"render" group is created.

Fixes https://github.com/systemd/systemd/issues/11875
2019-03-03 21:21:50 +01:00
Martin Pitt
d48f273d6a debian/tests/boot-smoke: Save complete journal artifact on failure
Gbp-Dch: Ignore
2019-03-03 12:12:40 +01:00
Michael Biebl
e6c7860a1f Disable fallback DNS servers in resolved
Closes: #923081
2019-03-03 10:51:22 +00:00
Martin Pitt
b235953419 Bump Standards-Version to 4.3.0
No changes necessary.
2019-03-03 11:50:08 +01:00
Martin Pitt
d848b9d4d7 networkd-test: ignore failures of test_route_only_dns* in containers
This test exposes a race condition when running in LXC, see issue #11848
for details. Until that is understood and fixed, skip the test as it's
not a recent regression.
2019-03-03 11:48:09 +01:00
Martin Pitt
ca4674f900 autopkgtests: Replace obsolete $ADT_* variables
Use their $AUTOPKGTEST_* equivalents.

These were introduced in autopkgtest 4.0 (June 2016), and all our CI
systems use a much newer version.

Gbp-Dch: Short
2019-03-01 09:17:36 +01:00
Martin Pitt
6a9a7ec2bf debian/tests/boot-smoke: Create journal and udevdb artifacts on all failures 2019-03-01 09:13:15 +01:00
Michael Biebl
1aaa9f950e Fix typo in changelog
Found by lintian

Gbp-Dch: Ignore
2019-02-28 22:27:49 +01:00
Martin Pitt
3da52a0fab debian/tests/unit-config: Tolerate path variations
Since https://github.com/systemd/systemd/commit/1c2c7c6cb it can happen
that pkg-config paths start with '//'. These are not really meaningful,
so normalize the path before comparison.
2019-02-27 22:38:47 +01:00
Martin Pitt
2ab793c735 debian/tests/boot-smoke: Create "render" system group
When running tests for upstream PRs, this test often fails with

    checking for connection timeouts
    systemd-udevd[1228]: Failed to resolve group 'render': Connection timed out

Which is not the kind of timeout the test is looking for. Create the
group in the test to avoid this.

We explicitly don't create the group in systemd.postinst as we revert
the patch that introduces the group into the udev rules.
2019-02-26 23:36:46 +01:00
Felipe Sateler
a636626ebe Release 2019-02-21 20:10:47 -03:00
Martin Pitt
89e53e8ff6 Fix various bugs and races in networkd tests
This should get the autopkgtest back to green, which regressed with
dnsmasq 2.80.
2019-02-21 20:08:51 -03:00
Martin Pitt
672bc99c41 debian/libsystemd0.symbols: Add new symbol from release 241 2019-02-21 20:08:51 -03:00
Felipe Sateler
3558362b14 Backport upstream fix for Driver= matches in .network files 2019-02-21 20:08:51 -03:00
Felipe Sateler
250664eb5e Refresh patches 2019-02-21 20:08:51 -03:00
Felipe Sateler
96bc156510 Update upstream source from tag 'upstream/241'
Update to upstream version '241'
with Debian dir 75262bc02f
2019-02-21 20:08:50 -03:00
Martin Pitt
27cf98a5cb Revert "systemd.postinst: Don't fail on an existing dynamic systemd-timesync user"
Stopping timesyncd should also make the user go away. This was an actual
functional regression in <https://github.com/systemd/systemd/pull/11785>.

This reverts commit 5e35275ec4.
2019-02-21 23:02:51 +01:00
Martin Pitt
5e35275ec4 systemd.postinst: Don't fail on an existing dynamic systemd-timesync user
Some systemd versions have DynamicUser=yes in systemd-timesyncd.service.
adduser does not consider these high UIDs as system user and fails,
which caused package installation failures.
2019-02-21 13:23:11 +01:00
Felipe Sateler
7c20daf69c New upstream version 241 2019-02-20 21:24:33 -03:00
Adam Borowski
aeb2083932 Make libpam-systemd Provide: logind, default-logind
This allows alternate logind implementations such as elogind, without
having to recompile every dependant package -- as long as the client API
remains compatible.

These new virtual packages got policy-approved in #917431.

Closes: #915407
2019-02-19 08:13:51 +01:00
Martin Pitt
8136f32f11 releasing package systemd version 240-6 2019-02-18 13:55:11 +00:00
Martin Pitt
fc5c3bfeac sd-bus: enforce a size limit on D-Bus object paths
This avoids accessing/modifying
memory outside of the allocated stack region by sending specially
crafted D-Bus messages with very large object paths.

Vulnerability discovered by Chris Coulson <chris.coulson@canonical.com>,
patch provided by Riccardo Schirone <rschiron@redhat.com>.

CVE-2019-6454
2019-02-17 10:48:33 +01:00