Commit Graph

64 Commits

Author SHA1 Message Date
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
Lennart Poettering
0301abf48e implement drop-in directories 2010-01-27 00:15:56 +01:00
Lennart Poettering
87f0e418cf s/name/unit 2010-01-26 21:39:06 +01:00
Lennart Poettering
ac1135be1f get rid of 'linked' notion for objects 2010-01-26 19:25:02 +01:00
Lennart Poettering
44d8db9e5a various cleanups 2010-01-26 07:02:51 +01:00
Lennart Poettering
034c6ed7da first attempt at proper service/socket logic 2010-01-26 04:18:44 +01:00
Lennart Poettering
9152c76506 add simple event loop 2010-01-24 00:39:29 +01:00
Lennart Poettering
83c60c9f0c implement proper binding on ports 2010-01-23 22:56:47 +01:00
Lennart Poettering
542563babd rework socket handling 2010-01-23 03:35:54 +01:00
Lennart Poettering
5cb5a6ffc3 first attempt in implementinging execution logic 2010-01-23 01:52:57 +01:00
Lennart Poettering
cd2dbd7df9 only accept valid job types for specific names 2010-01-21 03:26:34 +01:00
Lennart Poettering
e094e853a0 make sure impact of transactions is minimized 2010-01-21 02:59:12 +01:00
Lennart Poettering
1ffba6fe82 fix job merging 2010-01-21 00:51:37 +01:00