summaryrefslogtreecommitdiff
path: root/src/execute.h
AgeCommit message (Collapse)Author
2011-06-15execute: fix function prototypeLennart Poettering
2011-05-18exec: hangup/reset/deallocate VTs in gettysLennart Poettering
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty.
2011-03-29exec: drop process group kill mode since it has little use and confuses the userLennart Poettering
2011-03-28execute: socket isn't abstract anymoreLennart Poettering
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-17def: centralize definition of default timeout in one placeLennart Poettering
2011-03-14core: move abstract namespace sockets to /dev/.runLennart Poettering
Now that we have /dev/.run there's no need to use abstract namespace sockets. So, let's move things to /dev/.run, to make things more easily discoverable and improve compat with chroot() and fs namespacing.
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-02-15execute: optionally forward program output to /dev/console in addition to ↵Lennart Poettering
syslog/kmsg
2011-01-18execute: make sending of SIGKILL on shutdown optionalLennart Poettering
2010-10-22systemctl: introduce systemctl killLennart Poettering
2010-10-08service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a serviceLennart Poettering
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-09-03work around busted capability.hKay Sievers
It contains things like: #ifndef _LINUX_TYPES_H #define _LINUX_TYPES_H #include <stdint.h> typedef uint32_t __u32; typedef __u32 __le32; ... which result in: /usr/include/asm-generic/int-ll64.h:30:42: error: conflicting types for ‘__u64’ /usr/include/sys/capability.h:39:18: note: previous declaration of ‘__u64’ was here make[1]: *** [src/libsystemd_core_la-unit.lo] Error 1 make[1]: Leaving directory `/home/kay/work/src/systemd' make: *** [all] Error 2 So, include linux/types.h to get around that.
2010-08-31exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interfaceLennart Poettering
This replaces OOMAdjust= by OOMScoreAdjust= in the config files, breaking compatibility with older unit files. However, this keeps compat with older kernels which lack the new OOM rework.
2010-08-20service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and ↵Lennart Poettering
decode exit codes in systemctl
2010-08-17emacs: disable tabs in .h files, tooLennart Poettering
2010-08-11pahole: rearrange structs to make them smallerLennart Poettering
2010-07-12execute: optionally ignore return status of invoked commandsLennart Poettering
2010-07-10execute: add ability to configure the kill signalLennart Poettering
2010-07-08execute: if the main process of a service already owns the TTY, don't wait ↵Lennart Poettering
for acquiring it again in the reload/stop step
2010-07-05turn negative options into positive optionsLennart Poettering
2010-07-04uniformly suffix time span properties with their unitLennart Poettering
2010-07-04dbus: complete exec status coverageLennart Poettering
2010-07-04dbus: complete exec coverageLennart Poettering
2010-07-01core: rename struct timestamp to dual_timestamp to avoid name clash with IP ↵Lennart Poettering
system headers
2010-06-16service: optionally call into PAM when dropping priviligesLennart Poettering
2010-06-16tcpwrap: execute tcpwrap check in forked client, to avoid blocking name ↵Lennart Poettering
lookups in main systemd process
2010-05-22execute: fix typoLennart Poettering
2010-05-22execute: only reset those signals to the default we really need to reset to ↵Lennart Poettering
the default
2010-05-19execute: s/EXEC_OUTPUT_KERNEL/EXEC_OUTPUT_KMSG/ to follow LOG_TARGET_xxx ↵Lennart Poettering
nomenclature
2010-05-16build-sys: move source files to subdirectoryLennart Poettering