Systemd/src
Lennart Poettering 35a1ff4cfe add new run-generator
This is really useful for running commands like this:

        # systemd-run -i someimage.raw -b systemd.run='"some command line"'

This will now run the command line inside a small Type=oneshot service
and even propagate the exit code of the command back to the parent. And
all that with the full system booted up.

By default this causes the system to shutdown right after the command
completed, but this can be tweaked with systemd.run_success_action= and
systemd.run_failure_action=.

Note that when used in VMs the exit status can of course not be
propagate, as VMs don't really know a concept for that.
2018-11-27 09:44:40 +01:00
..
ac-power coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
activate coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
analyze analyze: Fix build without seccomp (#10899) 2018-11-24 02:40:32 +09:00
ask-password coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
backlight tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
basic networkd: Add support for ERSPAN tunnel 2018-11-27 11:04:42 +09:00
binfmt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
boot sd-boot: fix trailing whitespace trimming 2018-11-26 06:43:36 +09:00
busctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
cgls coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
cgroups-agent log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
cgtop coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
core core: allow to set exit status when using SuccessAction=/FailureAction=exit in units 2018-11-27 09:44:40 +01:00
coredump coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
cryptsetup tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
debug-generator coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
delta coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
detect-virt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
dissect coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
environment-d-generator Drop my copyright headers 2018-06-14 13:03:20 +02:00
escape coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
firstboot coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
fsck basic/main-func: propagate all positive return values 2018-11-20 16:48:21 +01:00
fstab-generator coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
fuzz tests: add a fuzzer for the udev rules parser (#10929) 2018-11-26 18:14:30 +09:00
getty-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
gpt-auto-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
hibernate-resume coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
hostname Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
hwdb Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
id128 coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
import import: use structured initializers 2018-11-24 03:53:18 +09:00
initctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
journal journald: don't try to rotate user journals in /var/log/journal/ if we are still in log-to-runtime-journal mode 2018-11-27 11:09:15 +09:00
journal-remote journal-upload: use static initialization 2018-11-26 14:08:46 +01:00
kernel-install kernel-install: teach bot loader spec entry generator to generate entries with "tries" 2018-10-19 22:34:50 +02:00
libsystemd networkd: Add support for ERSPAN tunnel 2018-11-27 11:04:42 +09:00
libsystemd-network sd-radv: use struct initializers 2018-11-26 22:31:15 +01:00
libudev libudev: drop unnecessary check 2018-11-23 09:16:11 +01:00
locale locale: define main through macro 2018-11-23 06:22:30 +09:00
login tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
machine coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
machine-id-setup coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
modules-load modules-load: use static destructor and DEFINE_MAIN_FUNCTION() macro 2018-11-20 18:40:02 +01:00
mount coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
network networkd: Add support for ERSPAN tunnel 2018-11-27 11:04:42 +09:00
notify coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
nspawn Merge pull request #10901 from poettering/startswith-list 2018-11-26 22:40:51 +09:00
nss-myhostname nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESS 2018-07-25 10:23:22 +02:00
nss-mymachines Merge pull request #9504 from poettering/nss-deadlock 2018-07-26 10:16:25 +02:00
nss-resolve Merge pull request #9504 from poettering/nss-deadlock 2018-07-26 10:16:25 +02:00
nss-systemd nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESS 2018-07-25 10:23:22 +02:00
partition coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
path coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
portable coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
quotacheck coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
random-seed coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
rc-local-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
remount-fs coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
reply-password log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
resolve resolvectl: use static destructor and define main through macro 2018-11-23 06:22:30 +09:00
rfkill rfkill: define main through macro 2018-11-23 06:22:30 +09:00
run tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
run-generator add new run-generator 2018-11-27 09:44:40 +01:00
shared core: allow to set exit status when using SuccessAction=/FailureAction=exit in units 2018-11-27 09:44:40 +01:00
sleep coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
socket-proxy socket-proxy: define main through macro 2018-11-23 06:22:30 +09:00
stdio-bridge coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
sulogin-shell log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
sysctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
system-update-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
systemctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
systemd sd-radv: per our CODING_STYLE don't use 'bool' in public headers 2018-11-26 22:31:15 +01:00
sysusers sysusers: use ordered_hashmap_steal_first_key_and_value() 2018-11-23 06:22:30 +09:00
sysv-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
test path-util: beef up PATH_STARTSWITH_SET() macro a bit 2018-11-26 14:08:46 +01:00
time-wait-sync time-wait: define main through macro 2018-11-23 06:22:30 +09:00
timedate timedate: define main through macro 2018-11-23 06:22:30 +09:00
timesync coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
tmpfiles coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
tty-ask-password-agent coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udev Merge pull request #10919 from yuwata/sd-device-monitor-fixes 2018-11-26 18:08:41 +01:00
update-done update-done: quit earlier on failure 2018-11-23 06:22:30 +09:00
update-utmp update-utmp: use _cleanup_ attribute to finalize process 2018-11-23 06:22:30 +09:00
user-sessions coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
vconsole vconsole: Don't skip udev call for dummy device 2018-11-22 00:59:24 +01:00
veritysetup veritysetup-generator: use static destructors and define main through macro 2018-11-23 06:22:30 +09:00
volatile-root coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00