]> git.proxmox.com Git - systemd.git/log
systemd.git
5 years ago40-systemd: Honour __init_d_script_name
Mert Dirik [Thu, 29 Nov 2018 12:01:25 +0000 (15:01 +0300)]
40-systemd: Honour __init_d_script_name

Make /lib/lsb/init-functions.d/40-systemd use __init_d_script_name
(if available) to figure out real script name.

Closes: #826214
5 years agoDrop procps dependency from systemd
Michael Biebl [Sat, 1 Dec 2018 14:11:12 +0000 (15:11 +0100)]
Drop procps dependency from systemd

The systemd-exit.service user service no longer uses the "kill" binary.

https://github.com/systemd/systemd/commit/add384dd4d2b96db6ace5ad9c52b1dd7553ebec2

5 years agomeson: Unify linux/stat.h check with other checks and use _GNU_SOURCE
Michael Biebl [Sat, 1 Dec 2018 00:01:36 +0000 (01:01 +0100)]
meson: Unify linux/stat.h check with other checks and use _GNU_SOURCE

Fixes a build failure with glibc 2.28.

5 years agoresolved: Increase size of TCP stub replies
Michael Biebl [Thu, 29 Nov 2018 21:16:28 +0000 (22:16 +0100)]
resolved: Increase size of TCP stub replies

Closes: #915049
5 years agoautopkgtest: Drop test_custom_cgroup_cleanup from boot-and-services
Michael Biebl [Wed, 21 Nov 2018 20:34:01 +0000 (21:34 +0100)]
autopkgtest: Drop test_custom_cgroup_cleanup from boot-and-services

So far, we tried to avoid cleaning up manually created cgroups via a
Debian specific patch. This patch was dropped though and that particular
use case was never really supported upstream.
As this would trigger an autopkgtest failure now, let's remove this test.

Follow-up for commit 973881639847c213cdb32ae3c8a1bdd08d09936f.

Gbp-Dch: Short

5 years agoRelease version 239-13 to unstable
Michael Biebl [Tue, 20 Nov 2018 19:00:54 +0000 (20:00 +0100)]
Release version 239-13 to unstable

5 years agoRemove obsolete Replaces from pre-jessie
Michael Biebl [Tue, 20 Nov 2018 18:05:44 +0000 (19:05 +0100)]
Remove obsolete Replaces from pre-jessie

5 years agoDrop cgroup-don-t-trim-cgroup-trees-created-by-someone-el.patch
Michael Biebl [Mon, 19 Nov 2018 18:45:02 +0000 (19:45 +0100)]
Drop cgroup-don-t-trim-cgroup-trees-created-by-someone-el.patch

The patch is no longer necessary as lxc.service now uses Delegate=yes.

5 years agopam_systemd: Suppress LOG_DEBUG log messages if debugging is off
Michael Biebl [Mon, 19 Nov 2018 16:49:38 +0000 (17:49 +0100)]
pam_systemd: Suppress LOG_DEBUG log messages if debugging is off

Closes: #825949
5 years agosystemctl: Tell update-rc.d to skip creating any systemd symlinks
Michael Biebl [Sun, 18 Nov 2018 13:43:03 +0000 (14:43 +0100)]
systemctl: Tell update-rc.d to skip creating any systemd symlinks

When calling update-rc.d via systemd-sysv-install, tell it to skip
creating any systemd symlinks as we want to handle those directly in
systemctl. Older update-rc.d versions will ignore that request, but
that's ok. This means we don't need a versioned dependency against
init-system-helpers.

Closes: #743217
5 years agoautopktest: Add e2fsprogs dependency to upstream test
Michael Biebl [Sat, 17 Nov 2018 21:59:12 +0000 (22:59 +0100)]
autopktest: Add e2fsprogs dependency to upstream test

Some of the upstream tests require mkfs.ext4.

Closes: #887250
5 years agoRelease version 239-12 to unstable
Michael Biebl [Sat, 17 Nov 2018 17:40:26 +0000 (18:40 +0100)]
Release version 239-12 to unstable

urgency=high for the security fix.

5 years agomachined: When reading os-release file, join PID namespace too
Michael Biebl [Sat, 17 Nov 2018 17:34:48 +0000 (18:34 +0100)]
machined: When reading os-release file, join PID namespace too

This ensures that we properly acquire the os-release file from containers.

Closes: #911231
5 years agosystemd: Do not pass .wants fragment path to manager_load_unit
Michael Biebl [Sat, 17 Nov 2018 17:13:01 +0000 (18:13 +0100)]
systemd: Do not pass .wants fragment path to manager_load_unit

Fixes an issue with overridden units in /etc not being used due to a
.wants/ symlink pointing to /lib.

Closes: #907054
5 years agoMake lintian happy and don't parse/mangle /etc/group directly
Michael Biebl [Sat, 17 Nov 2018 16:19:35 +0000 (17:19 +0100)]
Make lintian happy and don't parse/mangle /etc/group directly

delgroup --system will already do the right thing, so we don't need any
hand-written code.

Follow-up for commit a2344f4e8d16f98c9151de777ec8cf8d79ae0eff.

Gbp-Dch: Ignore

5 years agoFix wrong "nobody" group from sysusers.d
Martin Pitt [Fri, 16 Nov 2018 17:21:29 +0000 (18:21 +0100)]
Fix wrong "nobody" group from sysusers.d

Fix our make-sysusers-basic sysusers.d generator to special-case the
nobody group. "nobody" user and "nogroup" group both have the same ID
65534, which is the only special case for Debian's static users/groups.
So specify the gid explicitly, to avoid systemd-sysusers creating a
dynamic system group for "nobody".

Also clean up the group on upgrades.

Thanks to Keh-Ming Luoh for the original patch!

Closes: #912525
5 years agomeson: Use the host architecture compiler/linker for src/boot/efi
Michael Biebl [Sat, 17 Nov 2018 13:53:46 +0000 (14:53 +0100)]
meson: Use the host architecture compiler/linker for src/boot/efi

Fixes cross build failure for arm64.

Closes: #905381
5 years agocore: When deserializing state always use read_line(…, LONG_LINE_MAX, …)
Michael Biebl [Fri, 16 Nov 2018 23:21:32 +0000 (00:21 +0100)]
core: When deserializing state always use read_line(…, LONG_LINE_MAX, …)

Fixes a vulnerability in unit_deserialize which allows an attacker to
supply arbitrary state across systemd re-execution via NotifyAccess.

CVE-2018-15686
Closes: #912005
5 years agoDrop non-existing gnuefi=false build option
Michael Biebl [Fri, 16 Nov 2018 22:35:42 +0000 (23:35 +0100)]
Drop non-existing gnuefi=false build option

This was mistakenly added when converting from autotools to meson.

5 years agoautopkgtest: Use shutil.which() which is provided by Python 3
Michael Biebl [Fri, 16 Nov 2018 20:56:31 +0000 (21:56 +0100)]
autopkgtest: Use shutil.which() which is provided by Python 3

Suggested in https://salsa.debian.org/systemd-team/systemd/merge_requests/11

Gbp-Dch: Short

6 years agoautopkgtest: Avoid test bed reset for boot-smoke
Martin Pitt [Wed, 31 Oct 2018 22:31:06 +0000 (23:31 +0100)]
autopkgtest: Avoid test bed reset for boot-smoke

Make "boot-smoke"'s dependencies a strict superset of "upstream"'s, so
that autopkgtest doesn't have to provide a new testbed.

6 years agoEnable QEMU on more architectures in "upstream" autopkgtest
Martin Pitt [Wed, 31 Oct 2018 22:29:59 +0000 (23:29 +0100)]
Enable QEMU on more architectures in "upstream" autopkgtest

Taken from the Ubuntu package, so apparently QEMU works well enough on
these architectures now.

6 years agoRelease version 239-11 to unstable
Michael Biebl [Sun, 28 Oct 2018 12:06:26 +0000 (13:06 +0100)]
Release version 239-11 to unstable

urgency=high for the security fixes.

6 years agoDrop test-chown-rec
Michael Biebl [Sun, 28 Oct 2018 12:18:45 +0000 (13:18 +0100)]
Drop test-chown-rec

It requires log_tests_skipped() which was introduced after v239.

Follow-up for commit e3696255cf57ec98177b3144f6a3a0b4a8aac0a0.

Gbp-Dch: Ignore

6 years agochown-recursive: Rework the recursive logic to use O_PATH
Michael Biebl [Sun, 28 Oct 2018 11:56:21 +0000 (12:56 +0100)]
chown-recursive: Rework the recursive logic to use O_PATH

Fixes a race condition in chown_one() which allows an attacker to cause
systemd to set arbitrary permissions on arbitrary files.

CVE-2018-15687
LP: #1796692
Closes: #912007
6 years agodhcp6: Make sure we have enough space for the DHCP6 option header
Michael Biebl [Sun, 28 Oct 2018 11:43:42 +0000 (12:43 +0100)]
dhcp6: Make sure we have enough space for the DHCP6 option header

Fixes out-of-bounds heap write in systemd-networkd dhcpv6 option
handling.

CVE-2018-15688
LP: #1795921
Closes: #912008
6 years agoIncrease timeout for test in riscv64
Manuel A. Fernandez Montecelo [Sat, 29 Sep 2018 13:28:58 +0000 (15:28 +0200)]
Increase timeout for test in riscv64

The buildds for the riscv64 arch used at the moment are slow, so increase the
timeouts for this arch by a factor of 10, for good measure.

Closes: #906429
6 years agoRun "meson test" instead of "ninja test"
Manuel A. Fernandez Montecelo [Fri, 28 Sep 2018 23:01:29 +0000 (01:01 +0200)]
Run "meson test" instead of "ninja test"

Upstream developers of meson recommend to run it in this way, because "ninja
test" just calls "meson test", and by using meson directly and using extra
command line arguments it is possible to control aspects of how the tests are
run.

For example, it is possible to increase the timeouts depending on the
architecture (for slow buildds), which otherwise it is not possible without
resorting to patch upstream's build files.

For more details, see:
 - https://bugs.debian.org/906429
 - https://github.com/mesonbuild/meson/issues/2037

6 years agodebian/tests/boot-and-services: Accept gdm with Wayland session
Martin Pitt [Sat, 27 Oct 2018 07:07:38 +0000 (09:07 +0200)]
debian/tests/boot-and-services: Accept gdm with Wayland session

Remove the Xorg check and use pgrep to accept any gdm session type.

Gbp-Dch: Ignore

6 years agodebian/tests/boot-and-services: Use gdm instead of lightdm
Martin Pitt [Thu, 25 Oct 2018 18:55:35 +0000 (20:55 +0200)]
debian/tests/boot-and-services: Use gdm instead of lightdm

This seems to work more reliably, on Ubuntu CI's i386 instances lightdm
fails.

Backported from Ubuntu package, thanks Dimitri John Ledkov!

https://github.com/systemd/systemd/issues/10497

6 years agoRevert "test: Add accountsservice dependency to boot-and-services test"
Martin Pitt [Thu, 25 Oct 2018 06:24:17 +0000 (08:24 +0200)]
Revert "test: Add accountsservice dependency to boot-and-services test"

This did not help.

This reverts commit 42a377a7f5dd1132b1806680b3883a0a8cf6da34.

Gbp-Dch: Ignore

6 years agotest: Add accountsservice dependency to boot-and-services test
Martin Pitt [Wed, 24 Oct 2018 14:52:04 +0000 (16:52 +0200)]
test: Add accountsservice dependency to boot-and-services test

It appears lightdm fails to start up without it, even though it's just a
Recommends:, and it does seem to work without it on amd64. But it does
not hurt much, so let's see if it helps.

https://github.com/systemd/systemd/issues/10497

Gbp-Dch: Short

6 years agodebian/tests/upstream: Clean up after each test run
Michael Biebl [Thu, 18 Oct 2018 00:52:59 +0000 (02:52 +0200)]
debian/tests/upstream: Clean up after each test run

Otherwise the loopback images used by qemu are not properly released and
we might run out of disk space.

6 years agoRelease version 239-10 to unstable
Michael Biebl [Tue, 25 Sep 2018 14:12:35 +0000 (16:12 +0200)]
Release version 239-10 to unstable

6 years agoAdd conflicts against consolekit
Michael Biebl [Tue, 25 Sep 2018 10:35:38 +0000 (12:35 +0200)]
Add conflicts against consolekit

Letting both ConsoleKit and logind manage dynamic device permissions
will only lead to inconsistent and unexpected results.

6 years agoLink systemctl binary statically against libshared
Felipe Sateler [Mon, 10 Sep 2018 21:43:33 +0000 (18:43 -0300)]
Link systemctl binary statically against libshared

This reduces the Pre-Depends list considerably, and is more resilient against borked
installs

Before this change:

 Pre-Depends: libacl1 (>= 2.2.51-8), libblkid1 (>= 2.19.1), libc6 (>= 2.27), libcap2 (>= 1:2.10), libcryptsetup12 (>= 2:1.4), libgcrypt20 (>= 1.8.0), libidn11 (>= 1.13), libip4tc0 (>= 1.6.0+snapshot20161117), liblz4-1 (>= 0.0~r130), liblzma5 (>= 5.1.1alpha+20120614), libmount1 (>= 2.19.1), libseccomp2 (>= 2.3.1), libselinux1 (>= 2.1.9)

After this change:

 Pre-Depends: libblkid1 (>= 2.17.2), libc6 (>= 2.27), libgcrypt20 (>= 1.8.0), liblz4-1 (>= 0.0~r113), liblzma5 (>= 5.1.1alpha+20120614), libselinux1 (>= 2.1.9)

6 years agomeson: Rename -Ddebug to -Ddebug-extra
Michael Biebl [Sun, 23 Sep 2018 21:52:51 +0000 (23:52 +0200)]
meson: Rename -Ddebug to -Ddebug-extra

Meson added -Doptimization and -Ddebug options, which obviously causes
a conflict with our -Ddebug options. Let's rename it.

Cherry-picked from upstream master.

Closes: #909455
6 years agoRelease version 239-9 to unstable
Michael Biebl [Wed, 12 Sep 2018 17:09:25 +0000 (19:09 +0200)]
Release version 239-9 to unstable

6 years agotest: Use "systemd-runtest.env" to set $SYSTEMD_TEST_DATA and $SYSTEMD_CATALOG_DIR
Michael Biebl [Wed, 12 Sep 2018 17:03:30 +0000 (19:03 +0200)]
test: Use "systemd-runtest.env" to set $SYSTEMD_TEST_DATA and $SYSTEMD_CATALOG_DIR

This avoids embedding ABS_{SRC,BUILD}_DIR into libsystemd-shared.so and
the test binaries and should make the build reproducible.

Closes: #908365
6 years agotest: Use installed catalogs when test-catalog is not located at build dir
Michael Biebl [Tue, 11 Sep 2018 21:33:52 +0000 (23:33 +0200)]
test: Use installed catalogs when test-catalog is not located at build dir

This makes it possible to run test-catalog as installed test, so we no
longer need to mark it as EXFAIL in our root-unittests autopkgtest.

6 years agoautopkgtest: Remove needs-recommends runtime restriction
Michael Biebl [Sun, 9 Sep 2018 07:21:31 +0000 (09:21 +0200)]
autopkgtest: Remove needs-recommends runtime restriction

This restriction has been deprecated and there are plans to remove it
altogether. The tests pass withouth needs-recommends, so it seems safe
to remove.

See https://salsa.debian.org/ci-team/autopkgtest/commit/9fade8dcb501250f704da9c77af1f8e6165dc941

6 years agoRelease version 239-8 to unstable
Michael Biebl [Fri, 7 Sep 2018 06:42:42 +0000 (08:42 +0200)]
Release version 239-8 to unstable

6 years agoBump Standards-Version to 4.2.1
Michael Biebl [Fri, 7 Sep 2018 03:58:35 +0000 (05:58 +0200)]
Bump Standards-Version to 4.2.1

6 years agoClean up SysV init script a bit while at it
Michael Biebl [Fri, 7 Sep 2018 01:34:24 +0000 (03:34 +0200)]
Clean up SysV init script a bit while at it

Drop no longer needed check and convert tabs to spaces.

Gbp-Dch: Ignore

6 years agoRemove udev control socket on shutdown under sysvinit
Michael Biebl [Fri, 7 Sep 2018 01:29:10 +0000 (03:29 +0200)]
Remove udev control socket on shutdown under sysvinit

The udev control socket is no longer removed automatically when the
daemon is stopped. As this can confuse other software, update the SysV
init script to remove the control socket manually and make sure the init
script is executed on shutdown (runlevel 0) and reboot (runlevel 6).

Closes: #791944
6 years agocore: Fix gid when DynamicUser=yes with static user
Michael Biebl [Fri, 7 Sep 2018 00:43:49 +0000 (02:43 +0200)]
core: Fix gid when DynamicUser=yes with static user

Patch cherry-picked from upstream master.

Gbp-Dch: Short

Closes: #904335
6 years agouser-runtime-dir: Fix wrong SELinux context
Michael Biebl [Fri, 7 Sep 2018 00:37:37 +0000 (02:37 +0200)]
user-runtime-dir: Fix wrong SELinux context

Patch cherry-picked from upstream master.

Gbp-Dch: Short

Closes: #908026
6 years agotimedated: Fix wrong PropertyChanged values and refcounting
Martin Pitt [Thu, 26 Jul 2018 14:42:37 +0000 (14:42 +0000)]
timedated: Fix wrong PropertyChanged values and refcounting

Patch cherry-picked from upstream master.

Gbp-Dch: Short

6 years agoReplace Revert-udev-rules-Permission-changes-for-dev-kvm.patch with upstream patches
Michael Biebl [Tue, 24 Jul 2018 13:43:50 +0000 (15:43 +0200)]
Replace Revert-udev-rules-Permission-changes-for-dev-kvm.patch with upstream patches

This also requires to set dev-kvm-mode explicitly to 0660, as the upstream
default remains 0666.

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

Gbp-Dch: Ignore

6 years agoClean up dbus-org.freedesktop.timesync1.service Alias on purge
Michael Biebl [Sun, 22 Jul 2018 18:39:32 +0000 (20:39 +0200)]
Clean up dbus-org.freedesktop.timesync1.service Alias on purge

Closes: #904290
6 years agoRelease version 239-7 to unstable
Michael Biebl [Sun, 22 Jul 2018 11:40:39 +0000 (13:40 +0200)]
Release version 239-7 to unstable

6 years agonetwork/link: Fix logic error in matching devices by MAC
Michael Biebl [Sun, 22 Jul 2018 11:17:29 +0000 (13:17 +0200)]
network/link: Fix logic error in matching devices by MAC

Closes: #904198
6 years agoautopkgtest: Add dbus-user-session and libpam-systemd dependency to root-unittests
Michael Biebl [Fri, 20 Jul 2018 21:54:49 +0000 (23:54 +0200)]
autopkgtest: Add dbus-user-session and libpam-systemd dependency to root-unittests

Without a working D-Bus user session, a lot of the test-bus-* tests are
skipped.

6 years agoautopkgtest: Add iputils-ping dependency to root-unittests
Michael Biebl [Fri, 20 Jul 2018 21:51:07 +0000 (23:51 +0200)]
autopkgtest: Add iputils-ping dependency to root-unittests

The ping binary is required by test-bpf.

6 years agoRelease version 239-6 to unstable
Michael Biebl [Wed, 18 Jul 2018 22:07:05 +0000 (00:07 +0200)]
Release version 239-6 to unstable

6 years agoDrop seccomp system call filter for udev
Michael Biebl [Wed, 18 Jul 2018 21:59:32 +0000 (23:59 +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.
The versioned systemd Breaks that was added to udev for #902185 didn't
really fix this issue, so revert that change again.

Closes: #903224
6 years agoautopkgtest: Add various dependencies to make upstream test pass on Debian
Michael Biebl [Tue, 10 Jul 2018 12:20:21 +0000 (14:20 +0200)]
autopkgtest: Add various dependencies to make upstream test pass on Debian

- netcat-openbsd: Required by TEST-12-ISSUE-3171.
- busybox-static: Required by TEST-13-NSPAWN-SMOKE.
- plymouth: Required by TEST-15-DROPIN and TEST-22-TMPFILES.

6 years agoMove (re)start of services after daemon-reexec
Michael Biebl [Wed, 18 Jul 2018 08:35:49 +0000 (10:35 +0200)]
Move (re)start of services after daemon-reexec

Otherwise it will fail if the running systemd version is too old.

Follow-up for commit 9c13ce6441e786178fc8633e2ea88bfc5115363c.

See https://github.com/systemd/systemd/issues/9621

Gbp-Dch: Ignore

6 years agodebian/tests/localed-x11-keymap: Deal with absence of /etc/default/keyboard more...
Michael Biebl [Tue, 17 Jul 2018 10:04:00 +0000 (12:04 +0200)]
debian/tests/localed-x11-keymap: Deal with absence of /etc/default/keyboard more gracefully

6 years agotest: Drop SKIP_INITRD for QEMU-based tests
Michael Biebl [Mon, 16 Jul 2018 21:56:06 +0000 (23:56 +0200)]
test: Drop SKIP_INITRD for QEMU-based tests

The Debian Linux kernel ships ext4 support as a module, so we require an
initrd to succesfully start the QEMU images.

6 years agoMake sure adduser has a chance to succeed
Michael Biebl [Mon, 16 Jul 2018 20:33:44 +0000 (22:33 +0200)]
Make sure adduser has a chance to succeed

If libnss-systemd is active and the service running, adduser will fail
to create a static system user for it:

adduser: The user `systemd-timesync' already exists, but is not a system user. Exiting.

Follow-up for commit bd9bf307274faca24699c0c2d67cb86f18c0b2cb

Gbp-Dch: Ignore

6 years agoChange python3-minimal dependency to python3
Michael Biebl [Mon, 16 Jul 2018 17:07:38 +0000 (19:07 +0200)]
Change python3-minimal dependency to python3

While we strictly only need python3-minimal, the usage of
python3-minimal triggers a lintian error: depends-on-python-minimal

6 years agoGo back to statically allocate system users for timesyncd, networkd and resolved
Michael Biebl [Sun, 15 Jul 2018 17:08:10 +0000 (19:08 +0200)]
Go back to statically allocate system users for timesyncd, networkd and resolved

There are currently too many open issues related to D-Bus and the usage
of DynamicUser.

This reverts commit 4a1eb53f529c3268b0a559edd924cc143069cd41,
commit f786e808ea0fe20ac3f498bcc1c7ade6378ed7fb and partially also
commit 83ccb63f86007dab8324f631c92ce62291cfac48.

Closes: #902971
6 years agoautopkgtest: Drop no-longer needed workaround from upstream test
Michael Biebl [Sun, 15 Jul 2018 09:03:34 +0000 (11:03 +0200)]
autopkgtest: Drop no-longer needed workaround from upstream test

6 years agoMove a few man pages from systemd to systemd-journal-remote
Michael Biebl [Thu, 12 Jul 2018 20:41:39 +0000 (22:41 +0200)]
Move a few man pages from systemd to systemd-journal-remote

The systemd package shipped a few systemd-journal-remote and
systemd-journal-upload related man pages which really belong into the
systemd-journal-remote package. Move those man pages into the correct
package and add a Breaks/Replaces against systemd accordingly.

Closes: #903557
6 years agoMark patch as debian specific
Michael Biebl [Tue, 10 Jul 2018 13:08:24 +0000 (15:08 +0200)]
Mark patch as debian specific

Gbp-Dch: Ignore

6 years agoMake /dev/kvm accessible to local users and group kvm
Michael Biebl [Tue, 10 Jul 2018 12:40:47 +0000 (14:40 +0200)]
Make /dev/kvm accessible to local users and group kvm

Re-add the the uaccess tag to /dev/kvm to make it accessible to local
users. Access is also granted via group kvm, so create that in
udev.postinst.

Closes: #887852
6 years agoautopkgtest: Make AppArmor violator test work with merged-usr
Michael Biebl [Mon, 9 Jul 2018 02:18:14 +0000 (04:18 +0200)]
autopkgtest: Make AppArmor violator test work with merged-usr

6 years agoautopkgtest: Add missing python3 test dependency for udev test
Martin Pitt [Sun, 8 Jul 2018 18:41:30 +0000 (20:41 +0200)]
autopkgtest: Add missing python3 test dependency for udev test

6 years agoautopkgtest: Install libnss-systemd
Martin Pitt [Sun, 8 Jul 2018 10:56:08 +0000 (12:56 +0200)]
autopkgtest: Install libnss-systemd

Make sure that dynamic users can be resolved. This e. g. prevents a
startup failure for systemd-resolved.

6 years agoRelease version 239-5 to unstable
Michael Biebl [Thu, 5 Jul 2018 09:51:02 +0000 (11:51 +0200)]
Release version 239-5 to unstable

6 years agoAdd inverse version restriction of the Breaks to the systemd-shim alternative in...
Michael Biebl [Thu, 5 Jul 2018 09:35:49 +0000 (11:35 +0200)]
Add inverse version restriction of the Breaks to the systemd-shim alternative in libpam-systemd

Otherwise apt will fail to find an installation path for libpam-systemd
in cases where libpam-systemd is an indirect dependency.

Closes: #902998
6 years agoRelease version 239-4 to unstable
Michael Biebl [Tue, 3 Jul 2018 21:37:19 +0000 (23:37 +0200)]
Release version 239-4 to unstable

6 years agoDrop patches which try to support running systemd services without systemd as pid 1
Michael Biebl [Tue, 3 Jul 2018 21:25:10 +0000 (23:25 +0200)]
Drop patches which try to support running systemd services without systemd as pid 1

No one is currently actively maintaining systemd-shim, which means that
e.g. running systemd-logind no longer works when systemd is not pid 1.
Thus drop our no longer working patches. Bump the Breaks against
systemd-shim accordingly.

See #895292, #901404, #901405

6 years agotest: fix networkd-test.py rate limiting and dynamic user
Martin Pitt [Tue, 3 Jul 2018 13:20:59 +0000 (15:20 +0200)]
test: fix networkd-test.py rate limiting and dynamic user

Cherry-picked from upstream master.

Gbp-Dch: Short

6 years agoAdd missing (<< 0.18) to the python-dbusmock Breaks
Michael Biebl [Mon, 2 Jul 2018 10:33:14 +0000 (12:33 +0200)]
Add missing (<< 0.18) to the python-dbusmock Breaks

Follow-up for commit c8104dcea5f4ba3404872239a3307e67b016ae03

Gbp-Dch: Ignore

6 years agoAdd Breaks against python-dbusmock (<< 0.18) to systemd
Michael Biebl [Mon, 2 Jul 2018 10:24:33 +0000 (12:24 +0200)]
Add Breaks against python-dbusmock (<< 0.18) to systemd

The logind and timedated tests in python-dbusmock were broken by the
latest systemd release and had to be adjusted to work with systemd 239.

See #902602

6 years agotmpfiles: Specify access mode for /run/systemd/netif
Michael Biebl [Thu, 28 Jun 2018 10:07:39 +0000 (12:07 +0200)]
tmpfiles: Specify access mode for /run/systemd/netif

6 years agobus-util: Make log level lower in request_name_destroy_callback()
Michael Biebl [Thu, 28 Jun 2018 10:05:23 +0000 (12:05 +0200)]
bus-util: Make log level lower in request_name_destroy_callback()

6 years agobasic: Add missing comma in raw_clone assembly for sparc
Michael Biebl [Thu, 28 Jun 2018 10:04:08 +0000 (12:04 +0200)]
basic: Add missing comma in raw_clone assembly for sparc

6 years agosleep: Fix one more printf format of a fiemap field
Michael Biebl [Thu, 28 Jun 2018 10:03:04 +0000 (12:03 +0200)]
sleep: Fix one more printf format of a fiemap field

6 years agoDrop outdated section from README.Debian about switching back to SysV init
Michael Biebl [Thu, 28 Jun 2018 10:01:03 +0000 (12:01 +0200)]
Drop outdated section from README.Debian about switching back to SysV init

6 years agoRelease version 239-3 to unstable
Michael Biebl [Wed, 27 Jun 2018 12:46:57 +0000 (14:46 +0200)]
Release version 239-3 to unstable

6 years agoRevert "systemctl: when removing enablement or mask symlinks, cover both /run and...
Michael Biebl [Wed, 27 Jun 2018 12:39:54 +0000 (14:39 +0200)]
Revert "systemctl: when removing enablement or mask symlinks, cover both /run and /etc"

We currently have packages in the archive which use
"systemctl --runtime unmask" and are broken by this change.
This is a intermediate step until it is clear whether upstream will
revert this commit or whether we will have to update affected packages
to deal with this changed behaviour.

See #902287 and https://github.com/systemd/systemd/issues/9393

6 years agoRelease version 239-2 to unstable
Michael Biebl [Wed, 27 Jun 2018 12:04:04 +0000 (14:04 +0200)]
Release version 239-2 to unstable

6 years agoBump systemd Breaks to ensure it is upgraded in lockstep with udev
Michael Biebl [Wed, 27 Jun 2018 11:51:54 +0000 (13:51 +0200)]
Bump systemd Breaks to ensure it is upgraded in lockstep with udev

The hardening features used by systemd-udevd.service require systemd 239
and udev will fail to start with older versions.

Closes: #902185
6 years agotimesync: Change type of drift_freq to int64_t
Michael Biebl [Wed, 27 Jun 2018 11:11:23 +0000 (13:11 +0200)]
timesync: Change type of drift_freq to int64_t

This should fix a FTBFS on x32.

6 years agosleep: Fix printf format of fiemap fields
Michael Biebl [Wed, 27 Jun 2018 11:08:45 +0000 (13:08 +0200)]
sleep: Fix printf format of fiemap fields

This should fix a FTBFS on ia64.

6 years agoRelease version 239-1 to unstable
Michael Biebl [Fri, 22 Jun 2018 22:18:48 +0000 (00:18 +0200)]
Release version 239-1 to unstable

6 years agoRevert "Revert "Use UTF-8 locale when building the package""
Michael Biebl [Fri, 22 Jun 2018 22:16:01 +0000 (00:16 +0200)]
Revert "Revert "Use UTF-8 locale when building the package""

"make check" requires a UTF-8 locale to pass the test suite reliably,
e.g. it fails with the C locale. Since we are overriding dh_auto_test we
need to keep setting LC_ALL=UTF.8 ourselves.

This reverts commit 77ad6f3c85a63d26380f693b87802d205e352022.

6 years agoStop creating systemd-network and systemd-resolve system user
Michael Biebl [Fri, 22 Jun 2018 19:51:24 +0000 (21:51 +0200)]
Stop creating systemd-network and systemd-resolve system user

systemd-networkd.service and systemd-resolved.service now use
DynamicUser=yes.

6 years agoStop setting the path for the kill binary, no longer necessary
Michael Biebl [Fri, 22 Jun 2018 19:29:59 +0000 (21:29 +0200)]
Stop setting the path for the kill binary, no longer necessary

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

Gbp-Dch: Short

6 years agoBump Build-Depends on meson to (>= 0.44)
Michael Biebl [Fri, 22 Jun 2018 19:28:38 +0000 (21:28 +0200)]
Bump Build-Depends on meson to (>= 0.44)

6 years agoDisable pristine-tar in gbp.conf
Michael Biebl [Fri, 22 Jun 2018 19:17:27 +0000 (21:17 +0200)]
Disable pristine-tar in gbp.conf

It is currently not possible to import the systemd v239 tarball using
pristine-tar due to #902115.

6 years agoDisable support for "Portable Services"
Michael Biebl [Fri, 22 Jun 2018 19:14:40 +0000 (21:14 +0200)]
Disable support for "Portable Services"

This is still an experimental feature.

6 years agoInstall new resolvectl tool
Michael Biebl [Fri, 22 Jun 2018 19:12:14 +0000 (21:12 +0200)]
Install new resolvectl tool

Don't ship the /sbin/resolvconf compat symlink in the systemd package,
as this would cause a file conflict with the resolvconf and openresolv
package.

6 years agoRebase patches
Michael Biebl [Fri, 22 Jun 2018 19:04:21 +0000 (21:04 +0200)]
Rebase patches

6 years agoUpdate symbols file for libsystemd0
Michael Biebl [Fri, 22 Jun 2018 19:03:14 +0000 (21:03 +0200)]
Update symbols file for libsystemd0

6 years agoUpdate changelog for new version 239
Michael Biebl [Fri, 22 Jun 2018 19:01:00 +0000 (21:01 +0200)]
Update changelog for new version 239

6 years agoUpdate upstream source from tag 'upstream/239'
Michael Biebl [Fri, 22 Jun 2018 11:38:31 +0000 (13:38 +0200)]
Update upstream source from tag 'upstream/239'

Update to upstream version '239'
with Debian dir 48b4d24d8766e691928361c210804b91e8163b0c