Lennart Poettering
25ac040b48
add basic udev device enumeration module
2010-01-28 06:46:33 +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
fb624d04e5
add new hexchar() call
2010-01-28 06:45:04 +01:00
Lennart Poettering
88066b3a67
add unit_name_escape_path() call
2010-01-28 06:44:30 +01:00
Lennart Poettering
b5ea5d95b4
relax unit name rules a bit
2010-01-28 06:44:13 +01:00
Lennart Poettering
b19e7dc010
make use of unit_add_dependency_by_name() where applicable
2010-01-28 06:43:49 +01:00
Lennart Poettering
09b6b09f44
add new unit_add_dependency_by_name() call
2010-01-28 06:43:23 +01:00
Lennart Poettering
1c24e7bd12
Use @ instead = as abstract namespace socket prefix
...
@ makes more sense since the NUL addr contained in the sockaddr's
sun_path field can also be written as ^@.
Also, in the .socket files writing "ListenStream==foo" is kinda ugly.
Finally, tools like strace decode it with an @ too.
2010-01-28 04:50:28 +01:00
Lennart Poettering
35355baba1
the systemd logger only matters in the abstract namespace
2010-01-28 02:54:35 +01:00
Lennart Poettering
fb33a393e2
set nice/oom_adjust only when asked for
2010-01-28 02:53:56 +01:00
Lennart Poettering
d46de8a1a2
rework config file load logic
2010-01-28 02:44:47 +01:00
Lennart Poettering
98b5b2986f
add more special units
2010-01-28 02:43:52 +01:00
Lennart Poettering
071830ff32
implement proper logging for services
2010-01-28 02:06:20 +01:00
Lennart Poettering
ce578209aa
add infrastructure for special units
2010-01-28 02:01:15 +01:00
Lennart Poettering
ba3895027e
minor cleanup
2010-01-28 02:00:33 +01:00
Lennart Poettering
fdf88f5f33
unit_merge() needs a proper review
2010-01-28 02:00:07 +01:00
Lennart Poettering
d6ea93e31d
when shortcutting states do not skip state transitions
2010-01-28 01:59:41 +01:00
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