Lennart Poettering
ba035df230
execute: make sending of SIGKILL on shutdown optional
2011-01-18 22:55:54 +01:00
Lennart Poettering
86a3475bc5
execute,util: fix two small memory leaks
2011-01-06 23:52:17 +01:00
Lennart Poettering
a6ff950e71
execute: drop empty assignments from env blocks on execution but keep them around otherwise to make them visible
2011-01-06 20:38:02 +01:00
Lennart Poettering
e3aa71c38c
exec: automatically determine right TERM= setting based on tty name
2010-11-15 23:49:02 +01:00
Lennart Poettering
8a0867d6c5
systemctl: introduce systemctl kill
2010-10-22 16:11:50 +02:00
Lennart Poettering
52661efd21
unit: add minimal condition checker for unit startup
2010-10-13 02:15:41 +02:00
Lennart Poettering
169c1bda80
service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
...
This should fix accounting for pam_limits and suchlike.
https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08 16:07:50 +02:00
Lennart Poettering
0e098b15c7
util: never use sizeof(sa_family_t) when calculating sockaddr sizes
2010-10-07 02:34:17 +02:00
Lennart Poettering
dd6c17b159
exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interface
...
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-31 01:33:43 +02:00
Lennart Poettering
da726a4d4d
exec: make sure O_NONBLOCK is off for all sockets passed as STDIN/STDOUT/STDERR
2010-08-30 23:31:27 +02:00
Lennart Poettering
d06dacd002
service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl
2010-08-20 02:31:54 +02:00
Lennart Poettering
d6c9574fb5
emacs: make sure nobody accidently adds tabs to our sources
2010-08-14 19:59:25 +02:00
Lennart Poettering
e364ad0628
clang: fix numerous little issues found with clang-analyzer
2010-08-11 22:04:25 +02:00
Lennart Poettering
73883adc1e
socket: don't close sockets when activating per-connection units
2010-07-14 04:47:57 +02:00
Lennart Poettering
21d21ea42e
execute: inherit from original input, not the fixed up
2010-07-12 22:04:59 +02:00
Lennart Poettering
85d73053f2
execute: reword comment
2010-07-12 21:53:36 +02:00
Lennart Poettering
fc9b2a84dc
execute: close inherited fds earlier
2010-07-12 20:34:53 +02:00
Lennart Poettering
b5f776cee9
execute: use right logger socket
2010-07-11 04:38:40 +02:00
Lennart Poettering
2e22afe909
execute: add ability to configure the kill signal
2010-07-10 04:49:37 +02:00
Lennart Poettering
fab56fc541
execute: support minimal environment variable replacement when executing processes
2010-07-08 04:09:59 +02:00
Lennart Poettering
1e3ad081ef
execute: if the main process of a service already owns the TTY, don't wait for acquiring it again in the reload/stop step
2010-07-08 04:09:17 +02:00
Lennart Poettering
acb591e452
execute: change stdout inherit logic, when run as PID 1 use /dev/null
2010-07-07 04:37:42 +02:00
Lennart Poettering
7492290434
turn negative options into positive options
2010-07-05 01:08:13 +02:00
Lennart Poettering
03fae01822
uniformly suffix time span properties with their unit
2010-07-04 21:12:10 +02:00
Lennart Poettering
b58b41160f
dbus: complete exec status coverage
2010-07-04 18:49:58 +02:00
Lennart Poettering
82c121a475
dbus: complete exec coverage
2010-07-04 16:44:58 +02:00
Lennart Poettering
c5da34ef1b
execute: check tcpwrap for sockets passed via new-style socket passing as well.
2010-07-02 23:25:25 +02:00
Lennart Poettering
6398320759
core: rename struct timestamp to dual_timestamp to avoid name clash with IP system headers
2010-07-01 00:26:44 +02:00
Lennart Poettering
bb00e60409
don't use 'long long' unless we have a really good reason to
2010-06-19 04:35:52 +02:00
Lennart Poettering
f2d3769a16
execute: handle format strings in User= and other directives
2010-06-18 23:25:19 +02:00
Lennart Poettering
5b6319dcee
service: optionally call into PAM when dropping priviliges
2010-06-16 21:54:17 +02:00
Lennart Poettering
04aa0cb9c4
execute: setup namespace after doing NSS calls
2010-06-16 16:39:28 +02:00
Lennart Poettering
df1f0afe0c
tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process
2010-06-16 16:27:24 +02:00
Lennart Poettering
1b91d3e8f4
execute: fix typo
2010-05-22 04:39:16 +02:00
Lennart Poettering
9a34ec5fbb
execute: only reset those signals to the default we really need to reset to the default
2010-05-22 01:46:08 +02:00
Lennart Poettering
dec5d55298
execute: check ppid, not pid for 1
2010-05-20 01:34:42 +02:00
Lennart Poettering
ff876e283a
execute: reopen console in the spawned processes, if necessary
2010-05-20 01:08:13 +02:00
Lennart Poettering
8783d2feae
execute: send output of services by default to same place as systemd internal output
2010-05-19 21:51:25 +02:00
Lennart Poettering
03fd9c4932
execute: simplify stdin/stderr/stdout fixup a little
2010-05-19 21:50:34 +02:00
Lennart Poettering
9a6bca7aad
execute: s/EXEC_OUTPUT_KERNEL/EXEC_OUTPUT_KMSG/ to follow LOG_TARGET_xxx nomenclature
2010-05-19 21:49:03 +02:00
Lennart Poettering
15ca554ba3
service: by default send service output to syslog, except for SysV services which should go to the console
2010-05-19 04:28:25 +02:00
Lennart Poettering
21de3988ab
main: ignore EPERM in TIOCSTTY when opening terminal for crash shell
2010-05-18 03:40:19 +02:00
Lennart Poettering
e99e38bbdc
build-sys: move source files to subdirectory
2010-05-16 18:45:24 +02:00