1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 18:27:04 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
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
Kay Sievers
dacdf15367 work around busted capability.h
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-09-03 12:26:30 +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
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
03467c88fb emacs: disable tabs in .h files, too 2010-08-17 03:50:18 +02:00
Lennart Poettering
7fab9d01b5 pahole: rearrange structs to make them smaller 2010-08-11 22:37:10 +02:00
Lennart Poettering
b708e7cea9 execute: optionally ignore return status of invoked commands 2010-07-12 03:07:01 +02:00
Lennart Poettering
2e22afe909 execute: add ability to configure the kill signal 2010-07-10 04:49:37 +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
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
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
5b6319dcee service: optionally call into PAM when dropping priviliges 2010-06-16 21:54:17 +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
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
e99e38bbdc build-sys: move source files to subdirectory 2010-05-16 18:45:24 +02:00