Commit Graph
36053 Commits
Author SHA1 Message Date
Lennart Poettering 7740296dcf service: fix minor memory leak 2010-07-11 00:52:28 +02:00
Lennart Poettering 65e92d67b6 manager: free dbus error when ignoring it 2010-07-11 00:52:19 +02:00
Lennart Poettering fe51822e71 manager: introduce unit path cache to minimize disk accesses 2010-07-11 00:52:00 +02:00
Lennart Poettering 9014a8bd7a dbus: suppress duplicate message when reusing bus for system and session 2010-07-11 00:51:28 +02:00
Lennart Poettering c6c18be35b cgroup: kill processes, not tasks and other cgroup changes 2010-07-11 00:50:49 +02:00
Lennart Poettering 5509654721 cgroup: make cgroup controller name a constant 2010-07-10 17:38:50 +02:00
Lennart Poettering fb38518151 unit: trim cgroups when going down 2010-07-10 17:34:42 +02:00
Lennart Poettering 582a507f1a systemctl: show exec status of all exited programs 2010-07-10 15:42:24 +02:00
Lennart Poettering 3f6c78dceb service: allow immediate stopping while starting 2010-07-10 04:52:00 +02:00
Lennart Poettering 82c64bf578 snapshot: fix deserialization 2010-07-10 04:51:03 +02:00
Lennart Poettering 1e001f52d2 main: add a few more useful diagnostic log messages 2010-07-10 04:50:19 +02:00
Lennart Poettering 2e22afe909 execute: add ability to configure the kill signal 2010-07-10 04:49:37 +02:00
Lennart Poettering 73c33e7f22 mount: add implicit umount.target conflicts only in system mode 2010-07-10 04:46:58 +02:00
Lennart Poettering 41e450596a automount: refuse automounts for the root file system 2010-07-10 02:41:25 +02:00
Lennart Poettering 4e67ddd6b3 units: introduce umount.target for unmounting all file systems 2010-07-10 02:41:06 +02:00
Lennart Poettering b8131a87cc systemctl: show connection counters only for Accept=yes sockets 2010-07-10 00:55:44 +02:00
Lennart Poettering 83bda35801 build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus 2010-07-10 00:22:38 +02:00
Lennart Poettering 25366e094c socket: fix loading of .service files for .socket files 2010-07-09 23:43:16 +02:00
Lennart Poettering a821caaae1 main: make it possible to run a system daemon along side an aloready running one for testing purposes 2010-07-09 23:43:16 +02:00
Lennart Poettering 71a6f75381 install: properly parse --realize=reload 2010-07-09 23:43:16 +02:00
Lennart Poettering ca326f6f2d main: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FS 2010-07-09 00:03:09 +02:00
Lennart Poettering b4f10a5e89 install: various improvements
Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".

Introduce --realize=reload.

Don't talk to systemd when run within a chroot, or when systemd isn't
running.
2010-07-08 21:39:01 +02:00
Lennart Poettering bc8c2f5c54 systemctl: short cut things if we aren't root and the user requested a reboot to suppress unnecessary wall message 2010-07-08 21:36:40 +02:00
Kay Sievers d47b555bb6 systemctl: don't actually reboot/poweroff/halt if only a wtmp update is requested 2010-07-08 21:36:40 +02:00
Lennart Poettering e34b6159f3 cgls: fix missing initialization 2010-07-08 21:17:41 +02:00
Lennart Poettering fa776d8e96 cgls: beef up control group dumping and introduce cgls tool 2010-07-08 21:01:42 +02:00
Lennart Poettering ab35fb1bc6 systemctl: filter and sort member pid of cgroup 2010-07-08 06:08:32 +02:00
Lennart Poettering f8820b628c service: don't enable native services via legacy sysv symlinks anymore 2010-07-08 05:29:46 +02:00
Lennart Poettering 301056b7a0 util: fix missing memory initialization 2010-07-08 05:23:34 +02:00
Lennart Poettering c368608323 mount: fix confirm spawn setting 2010-07-08 05:22:34 +02:00
Lennart Poettering 4c90c122af dbus: add missing dbus-errors.h header 2010-07-08 04:24:09 +02:00
Lennart Poettering 420a0166a2 man: document variable substitution 2010-07-08 04:19:54 +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 398ef8ba02 dbus: make errors reported via D-Bus more useful 2010-07-08 02:43:18 +02:00
Lennart Poettering 2105e76a77 service: set env var for stop/reload commands 2010-07-08 00:47:35 +02:00
Lennart Poettering 9c2d9caab2 job: when converting restart jobs, move them to WAITING state 2010-07-08 00:28:04 +02:00
Lennart Poettering 46d95c0fe0 dbus: log received message only once, in filter function 2010-07-08 00:27:09 +02:00
Lennart Poettering e167fb86f6 util: handle \s escape as defined in the XDG spec properly in cunescape() 2010-07-07 22:28:51 +02:00
Lennart Poettering 923f8d76dc dbus: shut down bus connection cleanly and fully when a direct client disconnects 2010-07-07 22:28:02 +02:00
Lennart Poettering 61e5d8ed87 service: allow configuration of more than one Exec command in one line 2010-07-07 20:59:20 +02:00
Lennart Poettering f60f22dfbb util: use quoted word parsing where applicable 2010-07-07 20:58:41 +02:00
Lennart Poettering 6febfd0d4b util: introduce cunescape_length() 2010-07-07 20:58:02 +02:00
Lennart Poettering 0bab36f250 util: properly handle escaped quotes in words in split_quoted() 2010-07-07 20:57:47 +02:00
Lennart Poettering f3d4cc0148 util: fix handling of unknown escapes in cunescape() 2010-07-07 20:57:10 +02:00
Lennart Poettering 3dab29438c conf-parser: support continuation lines with trailing backslashes in lines 2010-07-07 18:20:42 +02:00
Lennart Poettering 54165a3939 log: bump up a number of log messages so that they are shown even if debug logging is disabled, for diagnostic purposes 2010-07-07 17:57:54 +02:00
Lennart Poettering e015090f32 main: always log when we reexecute or reload 2010-07-07 17:44:11 +02:00
Lennart Poettering af2ab1f9a3 service: fix parsing word size functions 2010-07-07 17:42:06 +02:00
Lennart Poettering 8f75a603ec util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word size 2010-07-07 17:40:25 +02:00