Lennart Poettering
431c32bf79
when resetting signal handlers, set them to SA_RESTART
2010-01-28 01:53:39 +01:00
Lennart Poettering
85f136b5d0
add non-failing close() variant
2010-01-28 01:53:15 +01:00
Lennart Poettering
4901f97278
implement /dev/kmsg loggin
2010-01-27 23:32:50 +01:00
Lennart Poettering
b52429d4e0
implement trivial socket activated logger daemon
2010-01-27 22:43:50 +01:00
Lennart Poettering
ab6e5f147e
drop unused function pointer
2010-01-27 22:42:21 +01:00
Lennart Poettering
3e33402a2d
make sure we don't ask the same socket unit for fds more than once
2010-01-27 22:41:57 +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
c9b97d2a83
make sure the log functions don't modify errno
2010-01-27 22:39:29 +01:00
Lennart Poettering
c25fb0edbb
port fragment loader to new utility functions
2010-01-27 22:39:10 +01:00
Lennart Poettering
b2aa81efde
port config parser to new utility functions
2010-01-27 22:38:48 +01:00
Lennart Poettering
cba8922fd4
introduce strv_contains()
2010-01-27 22:38:21 +01:00
Lennart Poettering
4a72ff34c6
implement new utility functions strstrip() and file_in_same_dir()
2010-01-27 22:37:50 +01:00
Lennart Poettering
fa06836725
properly implement target unit
2010-01-27 06:33:27 +01:00
Lennart Poettering
836698b90b
extend examples a bit
2010-01-27 06:21:25 +01:00
Lennart Poettering
ceee3d8285
notify socket unit when service unit dies
2010-01-27 06:19:48 +01:00
Lennart Poettering
2a987ee8c9
reset signal handlers on startup
2010-01-27 06:19:28 +01:00
Lennart Poettering
47a71eed0f
drop O_CLOEXEC/O_NONBLOCK from files intended for forked clients
2010-01-27 06:18:45 +01:00
Lennart Poettering
309bff19ed
reset signal mask when forking
2010-01-27 06:17:51 +01:00
Lennart Poettering
e9af15c34c
fix socket state machine to listen properly on sockets
2010-01-27 05:33:11 +01:00
Lennart Poettering
bd982a8bae
properly recognize successfull scripts
2010-01-27 05:32:31 +01:00
Lennart Poettering
6632c6023c
trap some signals
2010-01-27 05:31:53 +01:00
Lennart Poettering
2da3263ab6
fix an assert when forking
2010-01-27 05:30:58 +01:00
Lennart Poettering
1ea86b1803
don't allow comments at the end of lines
2010-01-27 05:30:38 +01:00
Lennart Poettering
48e11fe880
don't allow zero length unit names
2010-01-27 04:56:02 +01:00
Lennart Poettering
b78d0be16d
don't choke if there are no sockets for a service
2010-01-27 04:55:42 +01:00
Lennart Poettering
b952f2e175
don't choke on invalid dropin file names
2010-01-27 04:55:19 +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
b858b600e4
fix quoted parser
2010-01-27 02:16:51 +01:00
Lennart Poettering
af5ec59328
add some test script output
2010-01-27 02:16:41 +01:00
Lennart Poettering
c43d20a0af
improve dump output for sockets
2010-01-27 02:16:27 +01:00
Lennart Poettering
1c01f82bad
fill commands into right fields for sockets
2010-01-27 02:16:11 +01:00
Lennart Poettering
9164977dc6
properly terminate strings with NUL byte
2010-01-27 02:15:54 +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
8f5847c48e
enable startup job again
2010-01-27 00:20:21 +01:00
Lennart Poettering
f1857be0b9
allow a simple upgrade path for service files by ignoring unknown config items instead of failing on them
2010-01-27 00:19:06 +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
fd79db6a5d
drop useless newline
2010-01-26 19:30:51 +01:00
Lennart Poettering
be66c128c3
drop unused name_type_can_xxx() calls
2010-01-26 19:29:24 +01:00
Lennart Poettering
ac1135be1f
get rid of 'linked' notion for objects
2010-01-26 19:25:02 +01:00
Lennart Poettering
c8d9aef34f
don't care about syslog when starting up
2010-01-26 19:08:02 +01:00
Lennart Poettering
c22cbe2672
rename milestone to target
2010-01-26 19:06:50 +01:00
Lennart Poettering
44d8db9e5a
various cleanups
2010-01-26 07:02:51 +01:00
Lennart Poettering
75787bb713
add fixme todo list
2010-01-26 04:19:18 +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
476fe607ec
add simple memory zeroing macros
2010-01-24 00:38:51 +01:00
Lennart Poettering
83c60c9f0c
implement proper binding on ports
2010-01-23 22:56:47 +01:00