Commit Graph

425 Commits

Author SHA1 Message Date
Michael Biebl
1f8e44576e Ship systemd-oomd.socket in correct systemd-oomd package 2022-01-12 20:47:31 +01:00
Michael Biebl
4a93ec2f56 Enable systemd-repart and ship it in the main systemd package
Add fdisk as test dependency, needed by test-repart which calls sfdisk.
2022-01-08 21:25:29 +01:00
Lukas Märdian
14c3d06646 d/control: Ship oomd in a systemd-oomd package
Deploying the default configuration as used in Fedora.
2022-01-06 09:20:49 +01:00
Michael Biebl
f60e4054fd Bump meson Build-Depends to (>= 0.53.2) 2021-12-20 22:22:05 +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
Helmut Grohne
db161f59a9 Fix FTCBFS: Annotate python3-jinja2 dependency with :native
Closes: #996501
2021-10-31 22:30:46 +01: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
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
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
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
06aaa01f52 Provide standalone binaries for sysusers and tmpfiles
Closes: #946456
2021-08-08 22:45:58 +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
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
2f58bd18bd Replace m4 Build-Depends with python3-jinja2 2021-06-16 21:27:44 +02:00
Michael Biebl
9da0649d60 Bump Standards-Version to 4.5.1 2021-01-18 17:36:20 +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
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
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
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
6bf4bfb273 Bump libapparmor-dev Build-Depends to (>= 2.13) 2020-07-30 22:02:45 +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
Dimitri John Ledkov
6938984197 Enable EFI/bootctl on armhf. 2020-07-14 18:08:19 +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
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
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
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
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
17eef82c06 Enable seccomp support on riscv64
Closes: #954077
2020-03-18 23:06:54 +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
e9a5cee901 Update systemd package description
Recommend init=/lib/systemd/systemd instead of init=/bin/systemd.
The latter is just a compat symlink which might go away eventually.

See #913061
2020-02-01 20:46:37 +01:00
Michael Biebl
d913113b86 Drop btrfs-progs Recommends from systemd-container
Upstream has dropped the logic of setting up /var/lib/machines as btrfs
loopback mount so this Recommends is no longer necessary.

See upstream commit 5f7ecd610c7918bb89468ce068bfcf68114dc53e.
2020-01-29 18:51:21 +01:00
Helmut Grohne
b69992eee7 Annotate dbus build dependency with <!noinsttest>
The dbus library is needed for building tests. As such it must be
present unless we disable both build time and installed tests.
Previously, building with the nocheck profile worked, but it didn't
reproduce a regular build.
2020-01-25 22:34:02 +01:00
Helmut Grohne
19faa76be4 Add basic support for the noinsttest build profile
https://wiki.debian.org/BuildProfileSpec#Registered_profile_names
2020-01-25 22:33:11 +01:00
Michael Biebl
3194e35236 Revert "Add libfdisk-dev build-depends for upstream CI for repart tool."
This reverts commit c88fa47477.
2020-01-25 16:19:06 +01:00
Michael Biebl
1e3da9ba98 Revert "Add build-depends libssl-dev, libp11-kit-dev, libpwquality-dev for upstream CI of homed."
This reverts commit 5b16220f62.
2020-01-25 16:19:04 +01:00
Dimitri John Ledkov
5b16220f62 Add build-depends libssl-dev, libp11-kit-dev, libpwquality-dev for upstream CI of homed. 2019-12-19 10:27:49 +00:00
Dimitri John Ledkov
c88fa47477 Add libfdisk-dev build-depends for upstream CI for repart tool. 2019-12-19 10:23:28 +00:00
Michael Biebl
9eda570d3c Move libpam-systemd Recommends from systemd to systemd-sysv
libpam-systemd is only really useful if systemd is PID 1 and the systemd
package should be installable without affecting another installed init
system.

Closes: #926316
2019-12-02 18:07:37 +01:00
Michael Biebl
6347d1da5f Bump Standards Version to 4.4.1
No changes necessary.
2019-11-10 17:29:48 +01:00
Luca Boccassi
4b7a238163 Enable portabled and install related files in systemd-container
Keep disabled for the udeb profile.

Closes: #918606
2019-06-05 12:52:57 +02:00
Michael Biebl
4d570847cf Drop dependency on lsb-base
It is only needed when booting with sysvinit and initscripts, but
initscripts already Depends on lsb-base (see #864999).
2019-05-08 01:51:46 +02:00
Michael Biebl
0fb9ff8988 Switch from libidn to libidn2
Closes: #928615
2019-05-08 01:33:37 +02:00
Michael Biebl
8873449ed8 Enable regexp matching support in journalctl using pcre2
Closes: #898892
2019-05-08 01:33:37 +02:00
Michael Biebl
d11f93c7df Drop pre-stretch migration code 2019-05-08 01:33:37 +02: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
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
Martin Pitt
b235953419 Bump Standards-Version to 4.3.0
No changes necessary.
2019-03-03 11:50:08 +01: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
Michael Biebl
d915397d94 meson: Stop setting -fPIE globally
Setting -fPIE globally can lead to miscompilations on certain
architectures. Instead use the b_pie=true build option, which was
introduced in meson 0.49. Bump the Build-Depends accordingly.

Closes: #909396
2019-01-12 21:49:33 +01:00
Felipe Sateler
72a011981a Add myself to uploaders 2018-12-05 21:03:25 -03:00
Michael Biebl
94cfd94d09 Simplify container check in udev SysV init script
Instead of using "ps" to detect a container environment, simply test if
/sys is writable. This matches what's used in systemd-udevd.service via
ConditionPathIsReadWrite=/sys and follows
https://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/

This means we no longer need procps, so drop that dependency from the
udev package.

Closes: #915095
2018-12-02 01:03:50 +01:00
Michael Biebl
1cf413a705 Drop procps dependency from systemd
The systemd-exit.service user service no longer uses the "kill" binary.

add384dd4d
2018-12-01 15:11:12 +01:00
Michael Biebl
5d8d69b61f Remove obsolete Replaces from pre-jessie 2018-11-20 19:06:18 +01:00
Michael Biebl
8264d3ddad Add conflicts against consolekit
Letting both ConsoleKit and logind manage dynamic device permissions
will only lead to inconsistent and unexpected results.
2018-09-25 16:16:23 +02:00
Michael Biebl
07b3b71dc2 Bump Standards-Version to 4.2.1 2018-09-07 08:41:08 +02:00
Michael Biebl
b214a669b6 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
2018-07-19 00:37:50 +02:00
Michael Biebl
21be256c44 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
2018-07-16 19:07:38 +02:00
Michael Biebl
7785b9296f 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
2018-07-12 22:41:39 +02:00
Michael Biebl
2528a329fa 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
2018-07-05 11:35:49 +02:00
Michael Biebl
51ed412f95 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
2018-07-03 23:25:47 +02:00
Michael Biebl
b59ce8356a Add missing (<< 0.18) to the python-dbusmock Breaks
Follow-up for commit c8104dcea5

Gbp-Dch: Ignore
2018-07-02 12:33:14 +02:00
Michael Biebl
c8104dcea5 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
2018-07-02 12:29:41 +02:00
Michael Biebl
08853dbede 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
2018-06-27 13:58:55 +02:00
Michael Biebl
d358cbe76c Bump Build-Depends on meson to (>= 0.44) 2018-06-22 22:04:48 +02:00
Michael Biebl
6cf7e4ead2 Drop alternative btrfs-tools Recommends
It is no longer needed as btrfs-progs is now available in both Debian
and Ubuntu and keeping the alternative around prevents the transitional
package from being autoremoved.
2018-06-06 11:05:56 +02:00
Michael Biebl
fd336cd393 Drop alternative iptables-dev Build-Depends
It is no longer needed as both Ubuntu and Debian now ship libiptc-dev in
their latest stable (LTS) release.
2018-06-06 11:01:49 +02:00
Martin Pitt
09c6423728 Simplify PO template creation
Use the existing upstream build system instead of a manual call to
`intltool-update` and `xgettext` to build systemd.pot. Remove the now
obsolete intltool build dependency, but still explicitly keep gettext.
2018-02-14 21:19:11 +01:00
Michael Biebl
1a51c92616 Set Rules-Requires-Root to no 2018-01-30 01:45:16 +01:00
Michael Biebl
091b33b540 Bump Standards-Version to 4.1.3 2018-01-30 01:44:50 +01:00
Michael Biebl
2768fa9f3f Update Vcs-* to point to https://salsa.debian.org 2018-01-29 19:31:39 +01:00
Michael Biebl
00758716d1 Add Build-Depends on python3-evdev <!nocheck>
This is used by hwdb/parse_hwdb.py to perform additional validation on
hwdb files.
2018-01-28 22:29:24 +01:00
Michael Biebl
088a8388e8 Downgrade priority of libudev1 to optional
This makes it compliant with recent versions of debian-policy which
recommends to use priority optional for library packages.
2018-01-01 23:51:05 +01:00
Michael Biebl
7a6c376147 Bump Standards-Version to 4.1.2 2017-12-15 01:24:23 +01:00
Martin Pitt
577df340ca Add Recommends: libnss-systemd to systemd-sysv
This is useful to actually be able to resolve dynamically created system
users with DynamicUser=true. This concept is going to be used much more
in future versions and (hopefully) third-party .services, so pulling it
into the default installation seems prudent now.
2017-11-14 23:14:46 +01:00
Martin Pitt
f887d11fc0 Add missing python3-minimal dependency to systemd-tests
See https://github.com/systemd/systemd/pull/7306

Gbp-Dch: Short
2017-11-13 08:15:10 +01:00
Michael Biebl
624c9da3be Switch from XC-Package-Type to Package-Type
As of dpkg-dev 1.15.7 Package-Type is recognized as an official field
name.
2017-10-13 22:14:56 +02:00
Michael Biebl
561ce13fab Bump Standards-Version to 4.1.1 2017-10-10 17:11:50 +02:00
Michael Biebl
438f3a3dac Bump Build-Depends on libmount-dev to (>= 2.30) 2017-10-10 17:02:01 +02:00
Michael Biebl
2f247fb09b Switch back to default GCC
Closes: #873661
2017-09-03 23:55:09 +02:00
Cyril Brulebois
c1687d09af Import Debian changes 234-2.3
systemd (234-2.3) unstable; urgency=high

  * Non-maintainer upload.
  * Also switch to g++-6 temporarily (needed for some tests):
    - Add g++-6 to Build-Depends
    - Export CXX = g++-6
2017-08-30 10:42:20 -03:00
Cyril Brulebois
070e85622c Import Debian changes 234-2.2
systemd (234-2.2) unstable; urgency=high

  * Non-maintainer upload.
  * Switch to gcc-6 on all architectures, working around an FTBFS on mips64el,
    apparently due to a gcc-7 bug (See: #871514):
    - Add gcc-6 to Build-Depends in debian/control
    - Export CC = gcc-6 in debian/rules
2017-08-30 10:42:00 -03:00
Michael Biebl
26da576604 Change priority of libnss-* packages from extra to optional
This follows a change in the archive triggered by
https://anonscm.debian.org/git/dbnpolicy/policy.git/commit/?id=4b3e61ac3fa06d8b82433e09a76f42a4f8859306
2017-07-12 22:48:20 +02:00
Michael Biebl
5f5de71820 Bump Standards-Version to 4.0.0 2017-07-12 22:46:27 +02:00
Martin Pitt
2607164cd6 Fix debhelper build dependency for backports
Gbp-Dch: Ignore
2017-07-12 22:28:57 +02:00
Michael Biebl
0a079888b5 Switch build system from autotools to meson
Update the Build-Depends accordingly.
2017-07-12 22:27:57 +02:00
Michael Biebl
928e4fd7be Drop Breaks for packages shipping rcS init scripts
This transition was completed in stretch.
2017-06-19 16:05:59 +02:00
Michael Biebl
f4dbed4ee5 Drop no longer needed Breaks against usb-modeswitch 2017-06-19 16:05:59 +02:00
Michael Biebl
5471a7bf36 Drop versioned Build-Depends on dpkg-dev
It's no longer necessary as even Jessie ships a new enough version.
2017-05-26 15:38:19 +02:00
Michael Biebl
639a12938b Bump debhelper compatibility level to 10
Drop --with autoreconf and --parallel as those are now enabled by
default.

The systemd sequence is now also enabled by default. We don't strictly
need the additional complexity that comes with init-system-helpers, as
we can just rely on systemctl being available. So use --without systemd
for the time being.

Gbp-Dch: Short
2017-05-26 15:15:23 +02:00