1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
The systemd System and Service Manager
Go to file
Zbigniew Jędrzejewski-Szmek 9c5bb2033d path: show various systemd directories and search paths too
So far we had various ad hoc APIs to query search paths:
systemd-analyze unit-paths, lookup_paths_log(), the pkgconfig file,
debug logs emitted by systemd-analyze cat-config.
But answering a simple question "what is the search path for tmpfiles,
sysusers, .network files, ..." is surprisingly hard.

I think we should have an api that makes it easy to query this. Pkgconfig is
not bad, but it is primarily a development tool, so it's not available in many
context. Also it can't provide support for paths which are influenced by
environment variables, and I'd like to be able to answer the question "what is
the search path for ..., assuming that VAR_FOO=... is set?".

Extending sd-path to support more of our internal paths seems to be most
flexible solution. We already have systemd-path which provides a nice
way to query, and we can add stuff like optional descriptions later on.
We we essentially get a nice programmatic and commmandline apis for the price
of one.
2020-03-27 20:12:45 +01:00
.github github: remove direct paypal link 2020-02-05 21:29:34 +09:00
.lgtm/cpp-queries lgtm: complain about accept() [people should use accept4() instead, due to O_CLOEXEC] 2019-04-10 20:03:38 +02:00
.mkosi tree-wide: drop printk.devkmsg=on setting in various places 2020-03-03 15:02:53 +01:00
catalog Update Croatian translation (#15042) 2020-03-08 22:06:12 +01:00
coccinelle tree-wide: use empty-to-root a bit more 2019-07-16 12:40:22 +02:00
docs docs: fix typo 2020-03-06 22:58:53 +01:00
factory/etc home: add pam_systemd_home.so PAM hookup 2020-01-28 22:36:41 +01:00
hwdb.d Add Lenovo IdeaPad Miix 300 ACCEL_MOUNT_MATRIX 2020-03-27 19:32:29 +01:00
man path: show various systemd directories and search paths too 2020-03-27 20:12:45 +01:00
modprobe.d Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
network network: set AlternativeNamesPolicy= in 99-default.link 2019-12-17 15:44:48 +09:00
po po: update Ukrainian translation (#15228) 2020-03-26 18:45:41 +01:00
presets presets: enable systemd-pstore.service by default 2020-02-29 10:01:45 +01:00
rules.d rules.d: import the keyboard builtin instead of running it 2020-03-01 14:04:30 +01:00
semaphoreci ci: add new dependencies to CI 2020-01-28 22:38:22 +01:00
shell-completion Add shell to machinectl ZSH completion 2020-03-27 18:15:15 +01:00
src path: show various systemd directories and search paths too 2020-03-27 20:12:45 +01:00
sysctl.d sysctl: set ipv4 settings in a race-free way 2020-02-04 00:01:50 +01:00
sysusers.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
test network: Fix split in SendOption= on client and server 2020-03-19 09:08:40 +01:00
tmpfiles.d tmpfiles: apply ACLs to top-level journal directory in /run, too 2020-01-31 15:04:12 +01:00
tools sd-bus: mark sd_bus_try_close() as deprecated 2020-03-18 19:57:44 +01:00
travis-ci ci: pass max_total_time to libFuzzer 2020-02-18 02:29:50 +03:00
units systemd-network-generator.service: network-pre.target is a passive target unit 2020-03-27 18:30:57 +01:00
xorg scripts: use 4 space indentation 2019-04-12 08:30:31 +02: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 scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore gitignore: add nspawn image lock and mkosi temporary files 2018-09-07 20:00:22 +02:00
.lgtm.yml lgtm: drop the TMPDIR/meson workaround 2020-03-03 20:27:42 +01:00
.mailmap NEWS: update contributors list 2020-03-03 08:31:06 +01:00
.travis.yml travis: add missing closing quote sign 2019-11-24 13:15:20 +03:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +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
azure-pipelines.yml Free up some resources on Azure Pipelines 2019-07-17 13:28:38 +09:00
configure treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
fuzzbuzz.yaml ci: add new dependencies to CI 2020-01-28 22:38:22 +01: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 build-sys: Fix Makefile wrapper for install target (#6548) 2017-08-07 11:29:20 +02:00
meson_options.txt timesync, meson: allow statically linked build 2020-03-04 10:46:10 +01:00
meson.build meson.build: drop unused SYSTEMD_SLEEP_BINARY_PATH 2020-03-09 14:52:30 +01:00
mkosi.build mkosi: let's update the boot loader also in /efi 2019-03-01 12:41:32 +01:00
mkosi.default mkosi: create .mkosi directory 2016-10-06 11:53:58 -04:00
NEWS NEWS: fix use of tabs instead of spaces for one item 2020-03-16 12:33:43 +09:00
README Revert "Drop dbus activation stub service" 2019-12-20 17:28:12 +01:00
README.md minor: avoid double title 2019-12-11 19:57:57 +01:00
TODO pid1: add new mode systemd.show-status=error and use it when 'quiet' is passed 2020-03-01 11:48:23 +01:00
zanata.xml po: add basic fedora.zanata.org configuration 2018-02-19 13:56:57 +01:00

Systemd

System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI Build Status
Coverity Scan Status
Fuzzit Status
OSS-Fuzz Status
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status
Build Status

Details

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 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.