A System and Service Manager
2a3fc2e21f
This file changes rarely, but it does every one in a while. And since we have an independent copy, we forget to adjust it. We have had already two bugs because of this. I submitted a PR upstream to include pam_namespace (because that makes sense for all distros), so the diff between upstream and us now is just the inclusion of system-auth (which is not upstreamable). Effectively, the only difference right now is that 'pam_keyinit force revoke' is included. It was added upstream with the comment: We want that systemd --user gets its own keyring as usual, even if the barebones PAM snippet we ship upstream is used. If we don't do this we get the basic keyring systemd --system sets up for us. |
||
---|---|---|
tests | ||
.gitignore | ||
.zuul.yaml | ||
10-oomd-defaults.conf | ||
10-oomd-per-slice-defaults.conf | ||
20-yama-ptrace.conf | ||
0001-pam-align-second-and-third-columns.patch | ||
0002-pam-add-a-call-to-pam_namespace.patch | ||
0003-pam-actually-align-the-columns.patch | ||
changelog | ||
fedora-use-system-auth-in-pam-systemd-user.patch | ||
inittab | ||
libsystemd-shared.abignore | ||
macros.sysusers | ||
owner-check.sh | ||
owner-check.template | ||
purge-nobody-user | ||
README.build-in-place.md | ||
rpminspect.yaml | ||
sources | ||
split-files.py | ||
sysctl.conf.README | ||
systemd-journal-gatewayd.xml | ||
systemd-journal-remote.xml | ||
systemd-udev-trigger-no-reload.conf | ||
systemd.rpmlintrc | ||
systemd.spec | ||
sysusers.attr | ||
sysusers.generate-pre.sh | ||
sysusers.prov | ||
triggers.systemd | ||
use-bfq-scheduler.patch | ||
yum-protect-systemd.conf |
Building systemd rpms for local development using rpmbuild --build-in-place
This approach is based on filbranden's git-rpmbuild and his talk during ASG2019.
git clone https://github.com/systemd/systemd
fedpkg clone systemd fedora-systemd
cd systemd
rpmbuild -bb --build-in-place --noprep --define "_sourcedir $PWD/../fedora-systemd" --define "_rpmdir $PWD/rpms" --with inplace ../systemd.spec
sudo dnf upgrade --setopt install_weak_deps=False rpms/*/*.rpm
--without lto
and --without tests
may be useful to speed up the build.