Commit graph

94 commits

Author SHA1 Message Date
Lennart Poettering e99e38bbdc build-sys: move source files to subdirectory 2010-05-16 18:45:24 +02:00
Lennart Poettering 949061f0d6 manager: add newly created units to gc queue 2010-05-16 04:31:07 +02:00
Lennart Poettering 413d6313d8 manager: don't dispatch load queue if we don't have to 2010-05-16 04:30:45 +02:00
Lennart Poettering 37a8e68316 manager: rearrange order of mainloop, put gc/cleanup last to maximize reusing 2010-05-16 03:57:56 +02:00
Lennart Poettering 94b6dfa24f unit,job: when we suppress a D-Bus signal because nobody is listening, don't delay it until later 2010-05-16 03:57:07 +02:00
Lennart Poettering affda78706 main: make sure we don't accidentally acquire a controlling terminal 2010-05-14 04:36:24 +02:00
Lennart Poettering 4697132b91 manager: merge /etc/xdg/systemd/session and /etc/systemd/session 2010-05-14 02:50:19 +02:00
Lennart Poettering c0b52914d2 manager: fix minor memory leak -- free cleanup queue on exit 2010-05-14 02:10:33 +02:00
Lennart Poettering 6e2ef85b25 units: rework automatic dependency logic between automounts, mounts, sockets, swaps 2010-05-13 03:07:16 +02:00
Lennart Poettering 1137a57c26 environment: allow control of the environment block via D-Bus 2010-05-09 23:53:52 +02:00
Lennart Poettering 1005d14f4a manager: switch SIGUSR1 and SIGSUR2, to follow upstart's scheme a little 2010-04-24 04:27:05 +02:00
Lennart Poettering db06e3b6a5 service: sysv priorities in link names should take precedence, since they are possibly fixed up by chkconfig 2010-04-24 04:26:33 +02:00
Lennart Poettering e11dc4a213 manager: reexecute on SIGTERM, for compat with sysv 2010-04-24 00:02:12 +02:00
Lennart Poettering 6089f4a9a8 manager: properly check for EINTR in main loop 2010-04-23 22:29:35 +02:00
Lennart Poettering eced69b301 manager: fix GC algorithm 2010-04-23 18:47:49 +02:00
Lennart Poettering c497c7a9e4 manager: introduce 'isolate' job mode which kills all units but the requested one 2010-04-22 02:42:59 +02:00
Lennart Poettering c9c0cadbf8 manager: fix GC logic 2010-04-22 02:41:14 +02:00
Lennart Poettering 701cc384c2 manager: automatically GC unreferenced units 2010-04-21 06:01:13 +02:00
Lennart Poettering a16e112358 reload: implement reload/reexec logic 2010-04-21 03:27:44 +02:00
Lennart Poettering 4139c1b272 dbus: greatly extend dbus coverage 2010-04-18 03:08:16 +02:00
Lennart Poettering 8d567588ca automount: implement automount unit type 2010-04-16 23:24:39 +02:00
Lennart Poettering 05e343b704 service: optionally, trie dbus name cycle to service cycle 2010-04-15 23:16:16 +02:00
Lennart Poettering 9e2f7c11fb core: add minimal templating system 2010-04-15 03:11:15 +02:00
Lennart Poettering 57ee42cefd manager: start D-Bus on SIGUSR2 2010-04-13 03:20:22 +02:00
Lennart Poettering 57c0c30e73 manager: we are not interested in SIGSTOP notifications 2010-04-13 02:36:56 +02:00
Lennart Poettering 15d5d9d972 manager: fix printing of child process names 2010-04-13 02:10:17 +02:00
Lennart Poettering 80876c20f6 rework tty handling
We now make sure to run all services in their own session, possibly with
a controlling terminal.

This also extends the service and socket state machines a little.
2010-04-13 02:06:27 +02:00
Lennart Poettering 4112df1635 manager: instead of using siginfo_t when reading SIGCHLD PIDs, run waitid() twice to avoid dropped signals 2010-04-13 02:05:27 +02:00
Lennart Poettering 8d0e8067af manager: we are not interested in SIGPIPE/SIGTTIN 2010-04-13 02:03:39 +02:00
Lennart Poettering 2824707654 manager: simplify startup of special targets 2010-04-13 01:59:06 +02:00
Lennart Poettering e537352b9b mount: implement mounting properly
This also includes code that writes utmp/wtmp records when applicable,
making use the mount infrastructure to detct when those files are
accessible.

Finally, this also introduces a --dump-configuration-items switch.
2010-04-10 18:00:34 +02:00
Lennart Poettering 7072ced827 manager: print process name for all SIGCHLD received 2010-04-08 03:22:25 +02:00
Lennart Poettering 0571e0111d build-sys: automatically detect SysV init dirs 2010-04-07 15:35:01 +02:00
Lennart Poettering 6c1a047834 manager: mention to which unit a SIGCHLD belongs 2010-04-07 03:19:00 +02:00
Lennart Poettering a5dab5ce0f manager: make running_as configurable 2010-04-06 23:55:42 +02:00
Lennart Poettering 4ade7963ed main: move basic setup into main.c 2010-04-06 21:59:25 +02:00
Lennart Poettering 0398f3da3c manager: dump status on SIGUSR1 2010-04-06 21:54:57 +02:00
Lennart Poettering f278026d21 dbus: connect to bus as soon as the special dbus service is around 2010-04-06 16:32:07 +02:00
Lennart Poettering 8b44eabff0 manager: if wanted dependencies are invalid, don't fail 2010-04-06 02:44:23 +02:00
Lennart Poettering 23a177ef7c rework merging/loading logic 2010-04-06 02:43:58 +02:00
Lennart Poettering 8e27452380 cgroup: add cgroupsification 2010-03-31 16:29:55 +02:00
Lennart Poettering e141400362 manager: actually enable ctrl-alt-del/kbrequest request handling in the kernel 2010-02-14 22:39:40 +01:00
Lennart Poettering 6be1e7d538 unit: rename load_path to fragment_path to make clear what kind of configuration file this is 2010-02-14 01:01:10 +01:00
Lennart Poettering 84e9af1e01 manager: run ctrl-alt-del/kbrequest targets on SIGINT/SIGWINCH when run in init mode 2010-02-13 01:17:08 +01:00
Lennart Poettering 036643a247 config: implement search path logic 2010-02-13 01:07:02 +01:00
Lennart Poettering dfcd764ea6 manager: identify the init/system/user mode we are running it and pick D-Bus bus accordingly 2010-02-12 21:57:39 +01:00
Lennart Poettering c0dafa4853 manager: properly return newly created job in transaction_add_job_and_dependencies() 2010-02-12 02:21:08 +01:00
Lennart Poettering be888ebbe6 manager: properly read timerfd elapse counter 2010-02-05 00:40:39 +01:00
Lennart Poettering c1e1601e8c dbus: send out signals when units/jobs come, go and change 2010-02-05 00:38:41 +01:00
Lennart Poettering a7334b0952 license: add GPLv2+ license blurbs everwhere 2010-02-03 13:03:47 +01:00