summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2011-05-18exec: hangup/reset/deallocate VTs in gettysLennart Poettering
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty.
2011-03-30status: show status messages unconditionally if plymouth is aroundLennart Poettering
2011-03-30taint: add missing cgroups taint flagLennart Poettering
2011-03-28conf-parser: fix remaining parser functions according to new prototypeLennart Poettering
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-17def: centralize definition of default timeout in one placeLennart Poettering
2011-03-16main: revert recognition of "b" argumentJan Engelhardt
Commit 099663ff8c117303af369a4d412dafed0c5614c2 added "b" as a recognized argument, however, B is not a runlevel like S. (B appears as a pseudo runlevel in openSUSE's init.d scripts only for the sake of insserv being able to manage /etc/init.d/boot.d like the other dirs).
2011-03-16main: interpret all argv[] arguments unconditionally when run in a containerLennart Poettering
2011-03-16main: parse the whole arv[] as kernel command lineLennart Poettering
2011-03-14main: log to the console in a containerLennart Poettering
2011-03-14main: don't parse /proc/cmdline in containersLennart Poettering
2011-03-11units: move the last flag files to /dev/.runLennart Poettering
2011-03-11main: properly handle -b boot optionLennart Poettering
2011-03-09main: refuse system to be started in a chrootLennart Poettering
2011-03-09main: don't check if /usr really is a mount point, since it is fine if it is ↵Lennart Poettering
passed pre-mounted to us from the initrd
2011-03-09dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemdLennart Poettering
2011-03-04main: introduce /etc/machine-idLennart Poettering
This is supposed to play the same roles /var/lib/dbus/machine-id, however fixes a couple of problems: - It is available during early boot since it is stored in /etc - Removes the ID from the D-Bus context and moves it into a system context, thus hopefully lowering hesitation by people to use it. - It is generated at installation time. If the file is empty at boot time it will be mounted over with a randomly generated ID, which is not saved to disk. This is useful to support state-less machines with no transient or writable /etc configuration.
2011-03-04main: minor optimizationLennart Poettering
2011-03-04main: add link to wiki page with longer explanation of the /usr madnessLennart Poettering
2011-03-04s/seperate/separate/Lennart Poettering
2011-02-28Spelling CorrectionsHarald Hoyer
Just some lame spelling corrections with no functionality.
2011-02-23main: print warning if /usr is on a seperate partitionLennart Poettering
2011-02-19main: refuse --test as rootLennart Poettering
2011-02-15service: change default std output to inheritLennart Poettering
2011-02-15exec: introduce global defaults for the standard output of servicesLennart Poettering
2011-02-14getty: don't parse console= anymore, use /sys/class/tty/console/active insteadLennart Poettering
2011-02-09systemd: show status when run with plymouth, and don't start plymouth a ↵Lennart Poettering
second time when it is already running
2011-01-21main: don't warn if /etc/mtab is a symlink to /proc/mountsLennart Poettering
2010-11-18manager: make list of default controllers configurableLennart Poettering
2010-11-15drop support for MANAGER_SESSION, introduce MANAGER_USER insteadLennart Poettering
2010-11-10main: warn if /etc/mtab is not a symlinkLennart Poettering
2010-11-10main: rename process on startup to 'systemd' to avoid confusionLennart Poettering
2010-11-10manager: parse RD_TIMESTAMP passed from initrdLennart Poettering
2010-10-27selinux: automatically load policy if the initrd hasn't done this for us yetLennart Poettering
2010-10-27main: move make_null_stdio() to util.cLennart Poettering
2010-10-26main: fix typo in kernel cmdline parameters helpAndrey Borzenkov
2010-10-26main: don't unset HOME/TERM when run in session modeLennart Poettering
2010-10-25systemd: unset HOME and TERM set from the kernelLennart Poettering
2010-10-14manager: hookup execution of systemd-shutdown helperFabiano Fidencio
(Modified by Lennart Poettering)
2010-10-13unit: add minimal condition checker for unit startupLennart Poettering
2010-10-08unit: rename 'banned' load state to 'masked'Lennart Poettering
2010-10-08unit: introduce 'banned' load state for units symlinked to /dev/nullLennart Poettering
2010-10-07util: unify implementations of freeze()Lennart Poettering
2010-09-27sysv: optionally disable of SysV init/rcN.d support at compile timeFabiano Fidencio
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order to minimize the number of #ifdef'ed regions I've reordered some code in path-lookup.c:lookup_paths_init() where all code dealing with sysv is now isolated under running_as == MANAGER_SYSTEM as well. Moreover, In struct Service, some fields were rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-17ask-password: add minimal framework to allow services query SSL/harddisk ↵Lennart Poettering
passphrases from the user
2010-09-16locale: initialize locale from /etc/locale by defaultLennart Poettering
2010-09-15util: use waitid() instead of waitpid() everywhere to avoid confusion due to ↵Lennart Poettering
SIGSTOP
2010-09-08main: when we encounter 'emergency' on the kernel cmdline start the ↵Lennart Poettering
emergency shell
2010-09-06systemctl: make --version a little bit more verboseLennart Poettering
2010-08-31systemctl: rework exit codes for all utility programs to follow LSB or other ↵Lennart Poettering
standards