Go to file
Ronan Pigott 110ba0ccf9 zsh: update default caching policy for units
The existing caching policy was completely bogus.

In the first stanza, despite the comment, the pattern given would
consider the cache invalid if it was more than 1 hour old.

The second stanza was also incorrect, since the output of `systemctl
--all` is not unit file paths, but unit names. When they were being
tested against the cachefile mtime, the test would always fail becuase
of the nonexistant file (hopefully).

In fact it's not very useful to test if the unit files have newer mtime
in this case anyway, since we are only caching their names. Also,
`systemctl --all` is an unfortunately slow operation to be used in
testing for the cache validity — we want this operation to at least be
faster than rebuilding the cache.

I've rewritten this stanza with my best guess at its original intent. It
now checks against the mtime of the parent directories in the search
path, which should be updated and cause the cache to rebuild when we
add, remove, or rename any unit files.
2023-07-19 14:27:45 -07:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github ci: drop super-linter's shellcheck 2023-07-17 20:12:57 +01:00
.semaphore ci: bump debian release bullseye -> bookworm 2023-06-16 10:43:06 +09:00
catalog catalog: update Polish translation 2023-07-14 18:22:00 +02:00
coccinelle coccinelle/take-fd: match for -EBADF instead of -1 2023-07-09 14:07:48 +09:00
docs docs: fix order 2023-07-13 09:37:00 +00:00
factory vconsole: allow setting default keymap through build option 2023-02-15 20:00:51 +00:00
hwdb.d Update hwdb 2023-07-14 23:40:49 +01:00
LICENSES LICENSES/README.md: fix syntax 2023-07-08 22:33:53 +00:00
man Merge pull request #27867 from keszybz/vconsole-reload-again 2023-07-14 23:06:18 +01:00
mkosi.conf.d Merge pull request #28401 from keszybz/set-console-size 2023-07-14 23:02:41 +01:00
mkosi.presets mkosi: Stop using python3.9 on CentOS 8 2023-07-14 14:52:08 +02:00
modprobe.d meson: install the right README file in modprobe.d 2021-07-07 14:52:05 +02:00
network meson: Install missing network file 2023-01-27 17:50:27 +01:00
po po: Translated using Weblate (Swedish) 2023-07-17 13:20:59 +02:00
presets preset: enable systemd-networkd-wait-online.service by default 2023-06-07 21:51:37 +01:00
rules.d rules: drop weird spaces 2023-06-20 15:04:31 +02:00
shell-completion zsh: update default caching policy for units 2023-07-19 14:27:45 -07:00
src test: fix use of ERRNO_IS_PRIVILEGE() 2023-07-16 10:53:30 +00:00
sysctl.d tree-wide: link to docs.kernel.org for kernel documentation 2022-07-04 19:56:53 +02:00
sysusers.d sysusers.d: create the user for systemd-journal-upload.service 2023-06-19 23:42:00 +02:00
test test: avoid TEST-70 passphrase and password file mode complaints 2023-07-16 11:53:30 +01:00
tmpfiles.d core: Add RootEphemeral= setting 2023-06-21 12:48:46 +02:00
tools elf2efi: Make compatible with python 3.6 again 2023-07-14 14:41:19 +02:00
units units: Add --graceful flag to pcrphase units 2023-07-17 14:24:46 +02:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format clang-format: Adjust style of pointers 2022-05-30 04:00:54 +09:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig mkosi: Use 4 space indentation for scripts 2023-02-21 14:22:52 +01:00
.gitattributes gitattributes: introduce and use "generated" attribute 2021-10-18 09:42:55 +02:00
.gitignore mkosi: Update .gitignore to account for changed output locations 2023-05-12 11:38:02 +02:00
.mailmap NEWS: more preparation for 254-rc1 2023-07-06 11:16:16 +02:00
.packit.yml packit: temporarily use older Rawhide spec 2023-07-14 20:47:19 +09:00
.vimrc vimrc: use 109ch text width for shell scripts as well 2023-05-13 22:02:37 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
configure tools: shellcheck-ify tool scripts 2021-09-30 12:27:06 +02:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
meson.build elf2efi: Make compatible with python 3.6 again 2023-07-14 14:41:19 +02:00
meson_options.txt shared: add libpasswdqc support 2023-07-06 10:59:41 +00:00
mkosi.kernel.config mkosi: Make sure we build custom kernels with EROFS support 2023-06-13 15:42:17 +02:00
NEWS NEWS: fix typo 2023-07-15 17:59:49 +09:00
README README: mention that meson 0.60 is now required 2023-07-07 11:44:54 +01:00
README.md Update badge on README to refer new scorecard viewer (#28050) 2023-06-15 19:24:32 +01:00
TODO update TODO 2023-07-12 23:23:42 +02:00

Systemd

System and Service Manager

Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
CentOS CI - CentOS 8
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
Fossies codespell report
Weblate
Coverage Status
Packaging status
OpenSSF Scorecard

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.