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
078e453981
main: ignore SIGKILL and SIGPIPE so that nothing intereferes with us
2010-04-13 02:01:28 +02:00
Lennart Poettering
5373d60204
main: install crash handler in all signals that usually dump core
2010-04-13 02:00:30 +02:00
Lennart Poettering
2824707654
manager: simplify startup of special targets
2010-04-13 01:59:06 +02:00
Lennart Poettering
ca714c0e55
mount-setup: fix nosuid/noexec/nodev mount option passing
2010-04-12 21:58:01 +02:00
Lennart Poettering
5e94833f41
service,mount,socket: explicitly unwatch control pids
2010-04-11 00:22:36 +02:00
Lennart Poettering
601f6a1e82
main: switch to primary console vt on crash
2010-04-10 23:36:43 +02:00
Lennart Poettering
4fc935cad4
main: introduce configurable crash shell
2010-04-10 22:35:37 +02:00
Lennart Poettering
e8536954c5
mount-setup: disable device, execution, suid on device file systems
2010-04-10 21:46:51 +02:00
Lennart Poettering
18149b9f57
main: remove testing assert
2010-04-10 21:42:55 +02:00
Lennart Poettering
97c4f35cd5
main: install crash handler for creating core dumps
2010-04-10 21:40:40 +02:00
Lennart Poettering
dec1c02a34
udev: look for new instead of add action
2010-04-10 21:23:55 +02:00
Lennart Poettering
5cc5d790f4
udev: install rules file that ignore those nasty useless tty devices by default
2010-04-10 19:18:21 +02:00
Kay Sievers
206bf5c294
hostname-setup: add SuSE compatiblity
2010-04-10 18:53:48 +02:00
Lennart Poettering
e24067c3ec
dbus: install D-Bus policy file by default
2010-04-10 18:51:07 +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
108736d0d3
load-fragment: make socket timeout configurable
2010-04-10 18:00:34 +02:00
Lennart Poettering
b778d55514
load-fragment: move NonBlocking option from generic to service options
2010-04-10 18:00:34 +02:00
Lennart Poettering
43d0fcbd3f
execute: introduce exec_command_done() to free data from static ExecCommand structs
2010-04-10 18:00:34 +02:00
Lennart Poettering
26fd040d4a
execute: introduce exec_command_set() for easy setting for command lines
2010-04-10 18:00:34 +02:00
Lennart Poettering
1a63a75010
execute: improve exec_spawn() logging
2010-04-10 18:00:34 +02:00
Lennart Poettering
6326a423e7
device: ignore a couple of 'API' devices
2010-04-10 18:00:34 +02:00
Lennart Poettering
d2b9fd2bb9
conf-parser: get rid of redundant NEWLINES definition
2010-04-10 18:00:33 +02:00
Lennart Poettering
257eca1a9c
strv: introduce strv_new_ap() call
2010-04-10 18:00:33 +02:00
Lennart Poettering
dad08730c4
mount-setup: introduce mount_point_is_api() call
2010-04-10 18:00:33 +02:00
Lennart Poettering
42856c1093
util: introduce fstype_is_network()
2010-04-10 18:00:33 +02:00
Lennart Poettering
1adf1049dc
dbus: add a couple of properties to the dbus manager interface
2010-04-10 18:00:28 +02:00
Lennart Poettering
b9f49ee478
dbus: make data pointer for properties read-only
2010-04-10 18:00:28 +02:00
Lennart Poettering
6f4706b79e
dbus: add generic DEFINE_BUS_PROPERTY_APPEND_ENUM() macro for enum properties
2010-04-10 18:00:27 +02:00
Lennart Poettering
b152adec93
dbus: add Dump() D-Bus call
2010-04-10 18:00:22 +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
9fb867204f
execute: automatically record start/exit timestamps for forked processes
2010-04-10 18:00:21 +02:00
Lennart Poettering
302e8c4c4c
hostname: set hostname early during boottime
2010-04-10 18:00:21 +02:00
Lennart Poettering
e293f0f07d
target: introduce target_get_runlevel() for distilling SysV compatible runlevel information from a target
2010-04-10 18:00:21 +02:00
Lennart Poettering
11857f8daf
mount-setup: create full paths when mounting
2010-04-10 18:00:21 +02:00
Lennart Poettering
2c696a96a2
build-sys: automatically figure out names of dbus/syslog services
2010-04-10 18:00:21 +02:00
Lennart Poettering
f6ff8c29ca
unit: introduce unit_load_related_unit()
2010-04-10 18:00:20 +02:00
Lennart Poettering
013b87c091
unit: make cgroup controller/path specification more flexible
2010-04-10 18:00:20 +02:00
Lennart Poettering
8e471ccd15
unit: issue notify even if the high-level state didn't change
2010-04-10 18:00:20 +02:00
Lennart Poettering
b065047527
unit: dump some data only when unit is loaded
2010-04-10 18:00:20 +02:00
Lennart Poettering
2fad8195ba
unit: dump start/exit timestamp
2010-04-10 18:00:20 +02:00
Lennart Poettering
3616a49cb0
unit: free data from merged unit when we don't need it anymore
2010-04-10 18:00:20 +02:00
Lennart Poettering
819e213fbf
unit: refuse merging if the unit in question has a job assigned or suchlike
2010-04-10 18:00:20 +02:00
Lennart Poettering
8b6c71206d
util: introduce format_timestamp()
2010-04-10 18:00:14 +02:00
Lennart Poettering
bbd6713566
util: introduce mkdir_p()
2010-04-10 04:38:33 +02:00
Lennart Poettering
e05797fba2
util: introduce streq_ptr() for comparing strings or their pointers
2010-04-10 04:38:14 +02:00
Lennart Poettering
2e317f525f
dbus: extra protection against dbus calling into us while we are already disconnected
2010-04-08 04:58:30 +02:00
Lennart Poettering
90d3f30b6f
dbus: make sure dbus doesn't call us anymore when we unref'ed it
2010-04-08 04:43:47 +02:00