Go to file
Anita Zhang 7665e1796f Update systemd-oomd defaults to friendlier values
- Remove swap policy. Default amount of swap (8GB?) is a lot lower than
  what we use internally with the swap policy. Which frequently leads to
  GNOME getting killed
  (e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1941170, and other
  BZs not linked here). Internally we use 0.5x-1x size of physical memory
  for swap via swapfiles (this will be documented in systemd upstream).
  In simple cases of using more memory than is available (but without
  memory pressure), the Kernel OOM killer can handle killing the
  offending process.

- Expand the memory pressure policy to system.slice, user-.slice, and
  all user owned slices. Support for ManagedOOM*= on user services was
  added in https://github.com/systemd/systemd/pull/20690 which allows
  us to be more fine grained on the pressure monitoring at the user
  level. In addition to the system.slice and user-.slice PSI monitoring
  this should result in a better systemd-oomd experience for desktop
  systems.
2022-09-30 14:49:03 +00:00
tests Improve tests structure 2020-08-27 08:13:25 +02:00
.gitignore Add script to mail inactive maintainers 2021-02-11 13:08:32 +01:00
.zuul.yaml Add zuul configuration to exclude standalone sub-packages in install test 2021-02-05 16:20:52 +00:00
10-oomd-defaults.conf Increase oomd user memory pressure limit to 50% for 20s (#1941170) 2021-03-30 12:11:37 +02:00
10-oomd-per-slice-defaults.conf Update systemd-oomd defaults to friendlier values 2022-09-30 14:49:03 +00:00
20-yama-ptrace.conf Add example file with yama config 2015-07-05 22:52:35 -04:00
93651582ae.patch Backport patches and do a full preset on first boot 2022-08-09 13:02:59 +02:00
changelog Manually bump release and add changelog for previous commit 2022-08-19 15:49:11 -04:00
f58b96d3e8d1cb0dd3666bc74fa673918b586612.patch Revert "Drop old work-around patch" 2022-05-25 21:48:16 +02:00
inittab Add /etc/inittab and /etc/crypttab 2014-10-07 15:51:56 -04:00
libsystemd-shared.abignore Version 251-rc1 2022-03-29 22:41:15 +02:00
macros.sysusers Add the sysusers compat parts 2020-02-10 17:19:18 +01:00
owner-check.sh owner-check: make sending of mails optional 2021-03-30 12:11:34 +02:00
owner-check.template Add script to mail inactive maintainers 2021-02-11 13:08:32 +01:00
purge-nobody-user Add purge-nobody-user 2018-02-21 15:23:30 +01:00
README.build-in-place.md Fix formatting of README.build-in-place 2022-05-30 16:53:38 +02:00
rpminspect.yaml Add rpminspect file to skip failing tests 2021-02-02 15:22:41 +01:00
sources Version 251.4 2022-08-08 13:10:27 +02:00
split-files.py Move networkd sysusers snippet to networkd rpm 2022-07-07 12:07:01 +02:00
sysctl.conf.README Steal sysctl.conf from initscripts 2014-10-07 15:51:56 -04:00
systemd-journal-gatewayd.xml Add firewalld port descriptions 2015-01-05 22:46:35 -05:00
systemd-journal-remote.xml Add firewalld port descriptions 2015-01-05 22:46:35 -05:00
systemd-udev-trigger-no-reload.conf Prevent systemd-udev-trigger.service from restarting 2016-10-07 07:55:56 -04:00
systemd-user sync our systemd-user PAM config. with upstream 2022-04-20 13:10:24 +02:00
systemd.rpmlintrc Add abignore file to make abigail happy 2020-04-11 10:37:42 +02:00
systemd.spec Update systemd-oomd defaults to friendlier values 2022-09-30 14:49:03 +00:00
sysusers.attr Add the sysusers compat parts 2020-02-10 17:19:18 +01:00
sysusers.generate-pre.sh Align sysusers-generated shell value with upstream systemd default 2022-08-09 13:02:59 +02:00
sysusers.prov sysusers/provides: parse and output static IDs 2021-11-16 16:36:58 +00:00
triggers.systemd Run sysusers and friends also if systemd is not running 2022-05-16 22:11:21 +02:00
use-bfq-scheduler.patch Version 251-rc3 2022-05-16 19:05:09 +02:00
yum-protect-systemd.conf Also protect systemd-udev from removal 2016-03-15 15:34:52 -04:00

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.