Commit Graph

57 Commits

Author SHA1 Message Date
Lennart Poettering
8d025b231b main: don't open console in --test mode 2010-04-23 23:26:19 +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
2146621ba3 main: never reset console unless pid=1, to make sure that we don't kill X when somebody passes --test 2010-04-23 04:06:23 +02:00
Lennart Poettering
15ae422b74 execute: support basic filesystem namespacing 2010-04-21 22:15:06 +02:00
Lennart Poettering
a16e112358 reload: implement reload/reexec logic 2010-04-21 03:27:44 +02:00
Lennart Poettering
9e2f7c11fb core: add minimal templating system 2010-04-15 03:11:15 +02:00
Lennart Poettering
6f5e3f3527 main: run crash shell as subprocess, so that we can gdb pid 1 2010-04-13 20:26:54 +02:00
Lennart Poettering
5e7ee61c1a main: add kernel option to enable confirm_spawn 2010-04-13 19:10:01 +02:00
Lennart Poettering
c99b188ea0 main: expclitly ignore signal when executing crash shell 2010-04-13 18:52:56 +02:00
Lennart Poettering
c3b3c274cf main: freeze instead of exiting when run as init 2010-04-13 04:19:02 +02:00
Lennart Poettering
8c43883a68 main: try to block signals before executing crash shell 2010-04-13 04:07:19 +02:00
Lennart Poettering
a337c6fcee main: when ignoring a signal set SA_RESTART 2010-04-13 02:36:19 +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
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
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
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
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
302e8c4c4c hostname: set hostname early during boottime 2010-04-10 18:00:21 +02:00
Lennart Poettering
37d88da701 main: fall back to rescue target when default target cannot be loaded 2010-04-08 02:00:40 +02:00
Lennart Poettering
82771ba1f9 main: fix parsing of systemd.default= kernel command line argument 2010-04-08 02:00:22 +02:00
Lennart Poettering
09082a94b6 main: set $PATH if it isn't set 2010-04-07 23:24:50 +02:00
Lennart Poettering
d89e521ead main: fail if we cannot mount /cgroup/debug 2010-04-07 03:18:35 +02:00
Lennart Poettering
004e33b632 main: small typo fix 2010-04-07 03:18:13 +02:00
Lennart Poettering
a23da0622c main: don't verify that we have no trailing args since the kernel sometimes passes us some 2010-04-07 03:17:47 +02:00
Lennart Poettering
e965d56dac main: implement --test 2010-04-07 00:10:17 +02:00
Lennart Poettering
a5dab5ce0f manager: make running_as configurable 2010-04-06 23:55:42 +02:00
Lennart Poettering
f170852aea main: parse our own command line and the kernel command line 2010-04-06 23:40:24 +02:00
Lennart Poettering
4ade7963ed main: move basic setup into main.c 2010-04-06 21:59:25 +02:00
Lennart Poettering
27b14a2297 main: initialize default boot target from argv[1] 2010-04-04 22:49:26 +02:00
Lennart Poettering
d970982174 don't use test directory anymore by default 2010-04-01 18:05:55 +02:00
Lennart Poettering
8e27452380 cgroup: add cgroupsification 2010-03-31 16:29:55 +02:00
Lennart Poettering
a7334b0952 license: add GPLv2+ license blurbs everwhere 2010-02-03 13:03:47 +01:00
Lennart Poettering
ea4309869e add basic (and not very useful) D-Bus support 2010-02-01 03:33:24 +01:00
Lennart Poettering
c20cae324d fix impact minimizing code 2010-01-29 04:26:30 +01:00
Lennart Poettering
f50e0a0123 implement coldpluggin 2010-01-29 03:18:09 +01:00
Lennart Poettering
d46de8a1a2 rework config file load logic 2010-01-28 02:44:47 +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
8f5847c48e enable startup job again 2010-01-27 00:20:21 +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
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
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