Commit Graph

76 Commits

Author SHA1 Message Date
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
Lennart Poettering
86fbf37085 dbus: install some properties on the job objects 2010-02-02 12:42:08 +01:00
Lennart Poettering
ea4309869e add basic (and not very useful) D-Bus support 2010-02-01 03:33:24 +01:00
Lennart Poettering
94f043472a greatly extend what we enforce as process properties 2010-01-30 01:55:42 +01:00
Lennart Poettering
f94ea366d3 monitor udev for device changes 2010-01-29 06:45:59 +01:00
Lennart Poettering
ef734fd6c2 watch mount status file 2010-01-29 06:04:08 +01:00
Lennart Poettering
c20cae324d fix impact minimizing code 2010-01-29 04:26:30 +01:00
Lennart Poettering
9f04bd5251 fix ordering cycle detection 2010-01-29 04:11:36 +01:00
Lennart Poettering
f50e0a0123 implement coldpluggin 2010-01-29 03:18:09 +01:00
Lennart Poettering
7824bbebe3 add new manager initializer callbacks to per-unit type vtable 2010-01-28 06:45:55 +01:00
Lennart Poettering
98b5b2986f add more special units 2010-01-28 02:43:52 +01:00
Lennart Poettering
ce578209aa add infrastructure for special units 2010-01-28 02:01:15 +01:00
Lennart Poettering
957ca89087 process only one epoll event at a time
if we ask for more than one from the kernel we might need to check for
the validity of the ptr element since event might be processed after its
ptr was already destructed.
2010-01-27 22:40:10 +01:00
Lennart Poettering
2a987ee8c9 reset signal handlers on startup 2010-01-27 06:19:28 +01:00
Lennart Poettering
6632c6023c trap some signals 2010-01-27 05:31:53 +01:00
Lennart Poettering
b9cd2ec1c8 exit cleanly on SIGINT 2010-01-27 04:36:30 +01:00
Lennart Poettering
acbb02252a yay, we can start socket units 2010-01-27 04:31:52 +01:00
Lennart Poettering
f04fa1d5aa fully clean up job dependencies on abort, too 2010-01-27 01:43:18 +01:00
Lennart Poettering
01184e042b after installing the transaction make sure we kill all remains ob the transaction 2010-01-27 01:39:24 +01:00