1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 03:25:31 +03:00
The systemd System and Service Manager
Go to file
Zbigniew Jędrzejewski-Szmek 4b37c89f06 shared/install: ignore symlinks which have lower priority than the unit file
In #10583, a unit file lives in ~/.config/systemd/user, and
'systemctl --runtime --user mask' is used to create a symlink in /run.
This symlink has lower priority than the config file, so
'systemctl --user' will happily load the unit file, and does't care about
the symlink at all.

But when asked if the unit is enabled, we'd look for all symlinks, find the
symlink in the runtime directory, and report that the unit is runtime-enabled.
In this particular case the fact that the symlink points at /dev/null, creates
additional confusion, but it doesn't really matter: *any* symlink (or regular
file) that is lower in the priority order is "covered" by the unit fragment,
and should be ignored.

Fixes #10583.
2018-12-13 10:46:27 +01:00
.github/ISSUE_TEMPLATE docs: move markdown docs from .github/ to docs/ 2018-09-08 13:39:03 -07:00
.lgtm/cpp-queries lgtm: drop redundant newlines 2018-10-26 14:52:17 +02:00
.mkosi mkosi: drop my copyright 2018-11-26 00:30:28 +01:00
catalog catalog: update Polish translation 2018-11-19 09:23:04 +01:00
coccinelle tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
docs meson: make net.naming-scheme= default configurable 2018-12-12 10:09:36 +01:00
factory/etc man,factory: update factory config for nsswitch.conf to match the man pages 2018-11-27 22:35:02 +01:00
hwdb Logitech MX Master 2S: Unifying Receiver and Bluetooth Connectivity (#11078) 2018-12-11 11:18:20 +10:00
man Merge pull request #10892 from mbiebl/revert-systemctl-runtime-unmask-breakage 2018-12-12 14:23:04 +01:00
modprobe.d
network Drop my copyright headers 2018-06-14 13:03:20 +02:00
po l10n: update Czech Translation 2018-12-04 09:25:39 +01:00
presets Drop my copyright headers 2018-06-14 13:03:20 +02:00
rules rules: watch metadata changes on DASD devices 2018-12-04 20:57:47 +01:00
shell-completion bash-completion: analyze: support 'security' 2018-12-07 08:05:18 +01:00
src shared/install: ignore symlinks which have lower priority than the unit file 2018-12-13 10:46:27 +01:00
sysctl.d sysctl.d: switch net.ipv4.conf.all.rp_filter from 1 to 2 2018-11-28 16:29:01 +01:00
sysusers.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
test udev-test: check if permitted to create block device nodes 2018-12-11 16:55:34 +03:00
tmpfiles.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
tools tree-wide: drop header for emacs from python scripts 2018-12-10 03:17:33 +09:00
travis-ci travis: mount tmpfs on /tmp before running the tests 2018-12-09 11:46:23 +01:00
units Merge pull request #10357 from poettering/import-fs 2018-11-29 16:38:46 +01:00
xorg
.dir-locals.el coding style: reduce text width to 109 characters 2018-12-08 10:14:28 +01:00
.editorconfig
.gitattributes
.gitignore gitignore: add nspawn image lock and mkosi temporary files 2018-09-07 20:00:22 +02:00
.lgtm.yml lgtm: use python3 2018-12-10 03:07:17 +09:00
.mailmap update NEWS contributors list again 2018-06-20 13:32:57 +02:00
.travis.yml travis: also compile systemd on Debian Testing 2018-12-07 17:12:58 +01:00
.vimrc coding style: reduce text width to 109 characters 2018-12-08 10:14:28 +01:00
.ycm_extra_conf.py
configure
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile
meson_options.txt meson: make net.naming-scheme= default configurable 2018-12-12 10:09:36 +01:00
meson.build meson: make net.naming-scheme= default configurable 2018-12-12 10:09:36 +01:00
mkosi.build mkosi: update the boot loader from our freshly built one 2018-10-16 16:44:34 +02:00
mkosi.default
NEWS NEWS: Add DisableControllers= to v240 2018-12-11 15:54:20 +00:00
README Drop support for lz4 < 1.3.0 2018-10-29 21:54:42 +01:00
README.md README: embed a CentOS CI badge into README 2018-12-05 12:42:52 +01:00
TODO update TODO 2018-12-10 16:09:41 +01:00
zanata.xml

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
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI 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.