summaryrefslogtreecommitdiff
path: root/src/core/main.c
AgeCommit message (Collapse)Author
2012-07-18unit: don't serialize job state, only unit state across switch-rootLennart Poettering
2012-07-17switch-root: don't wait for processesLennart Poettering
When we transition from the initrd to the main system, don't reap processes, so that they can be handled normally after deserialization.
2012-07-17systemd: add --version optionZbigniew Jędrzejewski-Szmek
systemd --version mirrors systemctl --version: $ ./systemd --version systemd 186 other +PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP This information can be retrieved by other means (systemctl, etc.), but it's easier for a newbie if 'systemd --version' says something useful. And 'systemd --help' is already there, so let's complement that with '--version'.
2012-07-13main: only reopen /dev/console if we switch-root to a custom initHarald Hoyer
There's no point in reopening /dev/console if we reopen it anyway afterwards.
2012-07-13core: go on a killing spree when transitioning from initrd to main systemLennart Poettering
2012-07-10switch-root: reopen /dev/console before we switch rootLennart Poettering
2012-07-02core: mention if we are run from an initial RAM diskLennart Poettering
2012-06-28main: print detected virtualiaztion at bootLennart Poettering
2012-06-26core: make systemd.confirm_spawn=1 actually workLennart Poettering
This adds a timeout if the TTY cannot be acquired and makes sure we always output the question to the console, never to the TTY of the respective service.
2012-06-22core: remove sysv_console optionLennart Poettering
This option never made much sense. It was originally intended to make sure that the usual startup output of sysv scripts goes to the terminal. However, since SysV scripts started from a terminal would not output to that terminal, but rather /dev/console this effect was more often than not actually taking place. Nowadays systemd has much nicer boot time status output than SysV which makes the sysv output redundant. Finally, all output of services goes to the journal anyway, and is not lost. Hence, let's drop this option, and simplify things a bit.
2012-06-22cryptsetup: allow configuration of LUKS disks via the kernel cmdlineLennart Poettering
This generalizes a bit of the functionality already available in dracut.
2012-06-22man: document all kernel command line options we understandLennart Poettering
2012-05-31main: allow setting of timer slack for PID 1Lennart Poettering
2012-05-29capabilities: when dropping capabilities system-wide also drop them from ↵Lennart Poettering
usermode helpers This hooks things up with /proc/sys/kernel/usermodehelper/bset and /proc/sys/kernel/usermodehelper/inheritable.
2012-05-24main: add configuration option to alter capability bounding set for PID 1Lennart Poettering
This also ensures that caps dropped from the bounding set are also dropped from the inheritable set, to be extra-secure. Usually that should change very little though as the inheritable set is empty for all our uses anyway.
2012-05-22main: only fall back to /bin/sh in case /sbin/init does not existKay Sievers
2012-05-22main: properly queue default.target after switched rootLennart Poettering
This also introduces rd.systemd.unit= to specify the unit to boot into in the initrd.
2012-05-21main: allow system wide limits for servicesFrederic Crozat
2012-05-21main: rename a few fix to follow general naming styleLennart Poettering
2012-05-21switch-root: move switch_root() call into its own .c fileLennart Poettering
2012-05-21main: do_switch_root() do not recursively remove across device boundariesHarald Hoyer
2012-05-21core/main.c: handle the initrd timestamp differently, if in the initrdHarald Hoyer
If systemd is in the initrd/initramfs, set the initrd timestamp and do not try to read it from the RD_TIMESTAMP environment variable.
2012-05-21core/main.c: do_switch_root(): do not remove the old root if not in initrdHarald Hoyer
Only recursively remove the old root, if we have been in an initrd/initramfs.
2012-05-21core/main.c: add "--switchedroot" parameterHarald Hoyer
If systemd serializes from a switch_root, it adds "--switchedroot" to the systemd in the real root. If "--switchedroot" is found, then we do not skip all the stuff, which is skipped for normal rexecs.
2012-05-21main: corrected do_switch_root()Harald Hoyer
do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and removes the old root recursively.
2012-05-21main: try a bit harder to find an init process to execute after ↵Lennart Poettering
reexec/switch-root
2012-05-09main: fix uninitialized variableMichal Schmidt
2012-05-09main: fix assertion failure due to use of ELEMENTSOF on a non-arrayMichal Schmidt
2012-05-09manager: introduce SwitchRoot bus call for initrd/main transitionLennart Poettering
2012-05-08main: simplify+unify logic for parsing runtime booleansLennart Poettering
2012-05-08util: split-out hwclock.[ch]Kay Sievers
2012-04-24manager: drop MountAuto= and SwapAuto= optionsLennart Poettering
The ability to set MountAuto=no and SwapAuto=no was useful during the adoption phase of systemd, so that distributions could stick to their classic mount scripts a bit longer. It is about time to get rid of it now.
2012-04-20main: log to the journal in container mode, by defaultLennart Poettering
2012-04-17selinux: unify systemd and udev codeKay Sievers
2012-04-13main: unset some more env varsLennart Poettering
2012-04-12main: we want all setup functions to be in files called xxx-setup.[ch]Lennart Poettering
2012-04-12rename machine-id-main.c tomacht the binary and move main.c to core/Kay Sievers