1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
systemd/src
Zbigniew Jędrzejewski-Szmek 3f57bc2267 shared/install: rework alias check and add test
This mostly reuses existing checkers used by pid1, so handling of aliases
should be consistent. Hopefully, with the test it'll be clearer what it
happening.

Support for .wants/.requires "aliases" is restored. Those are still used in the
wild quite a bit, so we need to support them.

See https://github.com/systemd/systemd/pull/13119 for a discussion of aliases
with an instance that point to a different template: this is allowed.
2020-01-10 14:27:04 +01:00
..
ac-power
activate tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
analyze analyze: deprecate the commands moved to systemctl 2019-11-18 16:28:38 +01:00
ask-password
backlight
basic basic/unit-name: make sure UnitNameFlags is signed 2019-12-19 20:57:27 +01:00
binfmt tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
boot Merge pull request #14196 from keszybz/gpt-auto-generator-debugging 2019-12-16 09:24:02 +01:00
busctl tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
cgls tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
cgroups-agent tree-wide: drop socket.h when socket-util.h is included 2019-11-04 00:30:32 +09:00
cgtop Remove path_compare_func() alias for path_compare() 2019-11-15 14:47:45 +01:00
core shared/unit-file: expose function to check .wants/.requires symlink validity 2020-01-10 12:20:18 +01:00
coredump tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
cryptsetup cryptsetup-pkcs11: just return zero on success, no need to return anything else 2019-12-17 18:54:07 +01:00
debug-generator initrd: fix systemd.debug-shell & friends 2019-12-03 14:48:27 +01:00
delta tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
detect-virt
dissect loop-util: accept loopback flags when creating loopback device 2019-12-02 10:05:09 +01:00
environment-d-generator
escape
firstboot
fsck tree-wide: drop stdio.h when stdio-util.h is included 2019-11-04 00:30:32 +09:00
fstab-generator Allow overriding /etc/fstab with $SYSTEMD_FSTAB 2019-11-13 22:04:51 +01:00
fuzz json: add flags parameter to json_parse_file(), for parsing "sensitive" data 2019-12-02 09:47:00 +01:00
getty-generator tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
gpt-auto-generator gpt-auto-generator: rename function for clarity 2019-11-30 17:42:13 +01:00
hibernate-resume hibernate-resume-generator: wait "infinitely" for the resume device 2019-12-03 17:20:19 +01:00
hostname tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
hwdb tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
id128 id128: fix initializer element is not constant 2019-11-20 10:59:25 +01:00
import [import] fix stdin/stdout pipe behavior in import/export tar/raw 2019-12-17 23:14:53 +09:00
initctl
journal tree-wide: use SD_ID128_STRING_MAX where appropriate 2019-12-10 11:56:18 +01:00
journal-remote tree-wide: use SD_ID128_STRING_MAX where appropriate 2019-12-10 11:56:18 +01:00
kernel-install
libsystemd Merge pull request #14337 from yuwata/network-tc-fq-more 2019-12-17 23:30:10 +09:00
libsystemd-network network: make Name= in [Match] support alternative names of interfaces 2019-12-16 10:55:56 +09:00
libudev tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
locale tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
login pam_systemd: prolong method call timeout when allocating session 2019-11-19 21:05:03 +01:00
machine machine: fold machine_stop_scope() into machine_stop() 2019-11-22 10:24:32 +01:00
machine-id-setup machine-id-setup: avoid unexpected aborting 2019-10-25 13:35:37 +09:00
modules-load tree-wide: drop libkmod.h when module-util.h is included 2019-11-04 00:30:32 +09:00
mount basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
network Merge pull request #14337 from yuwata/network-tc-fq-more 2019-12-17 23:30:10 +09:00
notify notify: add color to --help 2019-11-28 11:41:24 +01:00
nspawn Merge pull request #14208 from poettering/json-homed-prepare 2019-12-17 23:10:08 +09:00
nss-myhostname tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
nss-mymachines
nss-resolve tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
nss-systemd
partition growfs: port over to resize_fs() 2019-12-05 10:15:49 +01:00
path
portable loop-util: accept loopback flags when creating loopback device 2019-12-02 10:05:09 +01:00
pstore tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
quotacheck
random-seed tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
rc-local-generator
remount-fs Allow overriding /etc/fstab with $SYSTEMD_FSTAB 2019-11-13 22:04:51 +01:00
reply-password tree-wide: drop socket.h when socket-util.h is included 2019-11-04 00:30:32 +09:00
resolve resolved, networkd: don't resolve the user if not root 2019-12-07 18:55:54 +02:00
rfkill
run tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
run-generator core: use SPECIAL_DEFAULT_TARGET more 2019-11-28 09:13:45 +01:00
shared shared/install: rework alias check and add test 2020-01-10 14:27:04 +01:00
shutdown umount: log on all errors 2019-11-15 14:58:06 +01:00
sleep tree-wide: drop stdio.h when stdio-util.h is included 2019-11-04 00:30:32 +09:00
socket-proxy tree-wide: drop socket.h when socket-util.h is included 2019-11-04 00:30:32 +09:00
stdio-bridge
sulogin-shell tree-wide: normalize includes of public headers 2019-11-28 09:14:22 +01:00
sysctl tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
system-update-generator
systemctl systemctl: show what verbs support --dry-run in the help page 2019-12-17 11:08:00 +01:00
systemd sd-netlink: introduce sd_netlink_message_append_strv() 2019-12-16 10:52:22 +09:00
sysusers Revert "sysusers: properly mark generated accounts as locked" 2019-10-22 17:59:11 +09:00
sysv-generator
test shared/install: rework alias check and add test 2020-01-10 14:27:04 +01:00
time-wait-sync tree-wide: drop signal.h when signal-util.h is included 2019-11-04 00:30:32 +09:00
timedate tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
timesync tree-wide: drop socket.h when socket-util.h is included 2019-11-04 00:30:32 +09:00
tmpfiles tmpfiles: create with correct MAC label on option C 2019-11-28 12:18:04 +01:00
tty-ask-password-agent tree-wide: drop signal.h when signal-util.h is included 2019-11-04 00:30:32 +09:00
udev udev: introduce AlternativeNamesPolicy= setting 2019-12-17 15:44:43 +09:00
update-done
update-utmp tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
user-sessions
vconsole tree-wide: drop stdio.h when stdio-util.h is included 2019-11-04 00:30:32 +09:00
veritysetup id128: introduce ID128_UUID_STRING_MAX for sizing UUID buffers 2019-12-10 11:56:18 +01:00
version
volatile-root basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00