We have some libraries which systemd can take advantage of which have
formerly not been enabled.
This patch also fixes running the testsuite which - however - currently
does not run through.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This is needed for the network stack.
The patch reverts https://github.com/systemd/systemd/commit/dd35a61
as systemd currently does not export sd-netlink.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Change the old user/group creation mechanism to use systemd's
sysusers mechanism instead.
This is a bit of a tricky part, because before systemd we do not have
this binary. So at first we have to push the sysusers files to the jails
sysusers directory and use the previous compiled and installed systemd-sysusers
binary in order to create the groups/users which are part of systemd
inside the jail.
After that, everything works quite normal when modifying the files or
direcotry owners.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This "optional" feature now has to be enabled.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
The systemd-sysusers and systemd-tmpfiles tools
are used by various services and the build system in order
to install / build packages.
Moving this tools into an own package allows us to early access
them without requiremet to install the whole systemd package.
Anyway the systemd package requires those tools to proper get
installed and handle their own sysusers files.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
The pam_systemd module nowadays is part of the
default pam auth configuration - so this is not longer
required.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
systemctl fails to execute the "enable" operation
if a given service name does not exist or could not
be enabled.
In case multiple services have been given at once,
the entire request fails.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Otherwise there are hints about non executed operations
displayed because systemd does not run or lives in a chrooted
environment.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
* Rework build process to use meson and ninja macros.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This is a major update to the latest stable version.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This is a major update for systemd to version 233.
* Drop support for the audit subsystem.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
The systemd tool now requires an rpath for libsystemd-shared
library to run properly.
Fixes#11272
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
* Drop sub-package for compat-libs which will not be provided
anymore since systemd 230.
* Drop sub-package for python binding, which have been moved to
an own package.
* Remove unneeded file for X11 and ZSH.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This is an major update to the latest stable version of systemd.
* Enable testsuite during buildtime.
* Dropp support for SELinux.
Fixes#10962.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Do not longer generate the machine-id during the installation progress,
it will be gernerated (if not exists) on the first run of the system
automatically.
Fixes#10078.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Enable the build of systemd python bindings for python3.
Requires python-lxml and python development headers to be present.
Fixes#10969.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
The system groups input and utmp where missing which
are required by udevd to proper work.
Fixes#10942.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Some software out there is still linking against the old
systemd libraries which now are shipped in an own package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This is an update to the latest stable version of systemd. I also fixed
some problems with a non existing user group (systemd-journal) which have triggered
error messages to the journal in the past.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reexec the systemd init daemon after update from now. This will prevent
from leaving the system in an undefined / unuseable status.
Fixes#10820.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
* Remove old patch for branding, because this doens't work in this way anymore.
* Drop rpm stuff, we don't want to ship that.
* Add dependeny to python-gobect3 for systemd-analyze.
Fixes#10327.
If a package requires the systemd-units package, every time the whole systemd
and all its dependencies have to be installed which grows up build environments
for 160MB. To prevent this and save space on disk and time to download and extract
those packages I've moved systemd lib into an own package.
Also fixed a small packaging problem on libudev.