Lennart Poettering
b29a8e58fa
service: only kill the main daemon for legacy sysv services, so that we don't kill sshd sessions
2010-04-24 02:31:42 +02:00
Lennart Poettering
e93bc5a61f
service: don't wait for any child unless we no its pid
2010-04-24 02:05:42 +02:00
Lennart Poettering
825636e5a8
service: fix serialization of exec id
2010-04-24 01:04:31 +02:00
Lennart Poettering
a0fcc5f6ce
service: make sure sysv services keep a ref on shutdown.target so that it doesn't get GC'd
2010-04-23 23:36:52 +02:00
Lennart Poettering
3a76266192
service: never do automatic restarts for user requested stops
2010-04-23 22:55:14 +02:00
Lennart Poettering
e558336f7b
service: treat 0 timeouts as no timeouts
2010-04-23 20:28:33 +02:00
Lennart Poettering
40d50879d9
get rid of unicode arrows, since the linux console cannot show them, not even in unicode mode
2010-04-23 20:25:55 +02:00
Lennart Poettering
6542952f8b
initctl: minor updates
2010-04-23 05:22:20 +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
4f2d528d3b
socket: optionally call accept() for incoming connections and spawn one service instance per connection
2010-04-15 06:20:00 +02:00
Lennart Poettering
9e2f7c11fb
core: add minimal templating system
2010-04-15 03:11:15 +02:00
Lennart Poettering
10a9442017
systemctl: show sub state along active state
2010-04-13 20:59:01 +02:00
Lennart Poettering
ba8c0bef6b
service: fix segfault
2010-04-13 20:27:10 +02:00
Lennart Poettering
90a13a44cb
service: don't timeout special services
2010-04-13 18:39:37 +02:00
Lennart Poettering
9ea9a0c85c
unit: allow state change from running to restarting
2010-04-13 04:51:38 +02:00
Lennart Poettering
243b1432c6
service: add basic validation hooks
2010-04-13 04:00:03 +02:00
Lennart Poettering
40531a555a
service: fix restart enum name
2010-04-13 03:26:20 +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
5e94833f41
service,mount,socket: explicitly unwatch control pids
2010-04-11 00:22:36 +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
51a1a79d3f
service: don't necessarily add ordering links for non-sysv services
2010-04-10 18:00:21 +02:00
Lennart Poettering
16f6025e70
service: when reading pid file make sure to watch the pid read
2010-04-08 04:05:56 +02:00
Lennart Poettering
b8c597d5d2
service: verify PID is valid when reading it from PID file
2010-04-08 03:48:52 +02:00
Lennart Poettering
70123e68a0
service/socket: show main/control pids in dump
2010-04-08 03:48:27 +02:00
Lennart Poettering
a90ebccc07
unit: shortcut unit_notify() early, if possible
2010-04-08 03:01:05 +02:00
Lennart Poettering
50159e6a77
execute: make kill mode configurable
2010-04-08 00:52:14 +02:00
Lennart Poettering
0bc824be78
sysv: add basic.target dependencies only for normal init scripts
2010-04-07 20:28:44 +02:00
Lennart Poettering
8309400a17
service: parse default runlevels from init scripts
2010-04-07 20:27:52 +02:00
Lennart Poettering
fc22fc6efc
sysv: use lsb dependencies only for ordering, not for pulling in stuff, leave that to the symlink farms
2010-04-07 18:47:36 +02:00
Lennart Poettering
adcbe07c2f
sysv: handle suse style boot.d dirs
2010-04-07 18:46:49 +02:00
Lennart Poettering
5e177ece17
sysv: properly enumerate rcN.d directory
2010-04-07 16:22:30 +02:00
Lennart Poettering
061978fa4d
build-sys: fix build regarding SYSTEM_SYSVRCND_PATH
2010-04-07 15:39:28 +02:00
Lennart Poettering
0571e0111d
build-sys: automatically detect SysV init dirs
2010-04-07 15:35:01 +02:00
Lennart Poettering
4a21885b43
sysv: sysv service should depend on the full basic system, not only rc.sysinit
2010-04-07 03:20:19 +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
23a177ef7c
rework merging/loading logic
2010-04-06 02:43:58 +02:00
Lennart Poettering
0fd030bea1
sysv: require sysinit.service from all sysv services
2010-04-04 22:51:16 +02:00
Lennart Poettering
03d6ab854e
service: show service type when dumping state
2010-04-01 22:09:03 +02:00
Lennart Poettering
24e61ac49d
service: don't continue looking for syv init scripts after the first failure
2010-04-01 22:08:01 +02:00
Lennart Poettering
bd77d0fccc
sysv: properly handle Provides LSB header
2010-04-01 21:30:40 +02:00
Lennart Poettering
b866264a18
gcc: make a couple of gcc warnings go away
2010-03-31 20:08:05 +02:00
Lennart Poettering
8e27452380
cgroup: add cgroupsification
2010-03-31 16:29:55 +02:00
Lennart Poettering
1d2d223c26
service: allow enabling of native services via /etc/rcXX.d, so that we can override legacy services easily
2010-02-14 22:43:47 +01:00
Lennart Poettering
81a2b7ceda
execute: implement privilige dropping properly
2010-02-14 22:43:08 +01:00
Lennart Poettering
2c4104f009
service: add SysV init script parser
2010-02-14 01:09:01 +01:00
Lennart Poettering
47be870bd8
build: basic autoconfization
2010-02-03 14:21:48 +01:00