1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00
The systemd System and Service Manager
Go to file
Zbigniew Jędrzejewski-Szmek 2fd7ecd2da rpm: remove check if systemd is running in a few cases
rpms can be installed in two different modes: into a chroot, where the system
is not running, and onto a live system. In the first mode, where should create
all changes that are "permanent", and in the second mode, all changes which are
"permanent" but also those which only affect the running system. Thus, changes
like new modprobe rules, tmpfiles rules, binfmt rules, udev rules, etc., are
guarded by 'test -d "/run/systemd/system"' which is the official way to check
if systemd is running, so that they are *not* executed when installed into a
chroot. But the same logic does not apply to sysusers, hwdb, and the journal
catalog: all those files can and should result in changes being performed
immediately to the system. This makes the creation of immutable images possible
(because there are no permanent changes to executed after a reboot), and allows
other packages to depend on the the effect of those changes.

Thus, the guard to check if we're not in a chroot is dropped from triggers for
sysusers, hwdb, and the journal catalog. This means that those triggers will
execute, and no subsequent work is needed. systemd-sysusers.service,
systemd-journal-catalog-update.service, and systemd-hwdb-update.service.in all
have ConditionNeedsUpdate= so they they generally won't be invoked after a
reboot. (systemd.rpm does not touch /usr to trigger the condition, because the
%transfiletriggers make that unnecessary.)

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2085481
2022-05-16 21:27:34 +01:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github Don't not lint kernel-install 2022-05-14 15:21:34 +02:00
.lgtm/cpp-queries
.semaphore semaphoreci: re-enable rebooting tests 2022-04-07 14:53:49 +09:00
catalog catalog,po: update Polish translation 2022-05-15 17:42:36 +01:00
coccinelle
docs fix typo 2022-05-12 21:13:03 +09:00
factory
hwdb.d hwdb: Add Google Hangouts Meet speakermic 2022-05-16 21:16:58 +01:00
LICENSES
man man,mkosi: fedora 36 has been released 2022-05-13 02:34:07 +09:00
mkosi.default.d mkosi: drop libiptc from build for Fedora 2022-05-13 04:21:27 +09:00
modprobe.d
network
po catalog,po: update Polish translation 2022-05-15 17:42:36 +01:00
presets
rules.d Add support to set autosuspend delay via hwdb 2022-05-09 21:14:12 -05:00
shell-completion bash-completion: resolvectl: add missing options and verb 2022-05-08 14:14:28 +02:00
src rpm: remove check if systemd is running in a few cases 2022-05-16 21:27:34 +01:00
sysctl.d
sysusers.d
test fuzz: drop too large input 2022-05-16 00:25:18 +01:00
tmpfiles.d meson: Sort lines in tmpfiles.d/meson.build 2022-05-03 20:46:16 +02:00
tools Merge pull request #23246 from medhefgo/check-compilation 2022-05-05 01:53:28 +03:00
units units: remove spurious empty line 2022-05-04 10:17:05 +02:00
xorg
.clang-format
.ctags
.dir-locals.el
.editorconfig
.gitattributes
.gitignore git: ignore manifest 2022-05-15 15:35:46 +01:00
.lgtm.yml Revert "lgtm: disable cpp/missing-return (again)" 2022-04-16 10:59:29 +00:00
.mailmap
.packit.yml
.vimrc
.ycm_extra_conf.py
configure
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile
meson_options.txt meson: turn on log-message-verification by default in developer builds 2022-05-11 18:18:59 +02:00
meson.build meson: add 'pam' install_tag to pam modules 2022-05-16 17:58:27 +01:00
mkosi.build
mkosi.postinst
NEWS NEWS: update contributors list 2022-05-13 17:13:39 +01:00
README README: mention kernel requirement for ambient capabilities 2022-05-06 09:33:49 +01:00
README.md
TODO tree-wide: fix typo 2022-05-14 04:58:47 +09:00

Systemd

System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
Language Grade: C/C++
CentOS CI - CentOS 8
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
CentOS CI - Rawhide (SELinux)
Fossies codespell report
Coverage Status
Packaging status

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Code Map for information about this repository's layout and content.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.