summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2011-09-23util: move virtualization detection into its own files, and extend return codesLennart Poettering
2011-09-01fsck: show progress while fscking at bootLennart Poettering
2011-08-30service: change default stdout/stderr to syslogLennart Poettering
2011-08-23cgroup: optionally mount a specific cgroup controllers together, and add ↵Lennart Poettering
cpu+cpuacct to the default
2011-08-01main: fix reexecLennart Poettering
2011-08-01load-fragment: speed up parsing by using a perfect hash table with ↵Lennart Poettering
configuration settings built by gperf
2011-07-31main: show load profiling in test mode, tooLennart Poettering
2011-07-28selinux: use setcon() instead of reexec to apply selinux policyLennart Poettering
2011-07-28main: redirection to telinit is unnecessary if sysv compat is disabledLennart Poettering
2011-07-28main: profile unit file loadingLennart Poettering
2011-07-25selinux: log how much time it takes to load the SELinux policy and databaseLennart Poettering
2011-07-21fix hwclock_apply_localtime_delta() to properly handle negative TZ offsetKay Sievers
Localtime may be a negative number, i.e. GMT-7. Fix based on a patch from Kelly Anderson <kelly@silka.with-linux.com>.
2011-07-11clarify separate-/usr messageKay Sievers
Everything should be fine if /usr is mounted from initramfs.
2011-07-06manager: merge serialization and desrialization counter into one, and ↵Lennart Poettering
increase it when reexecuting Instead of having individual counters n_serializing and n_deserializing have a single one n_reloading, which should be sufficient. Set n_reloading when we are about to go down for reexecution to avoid cgroup trimming when we free the units for reexecution.
2011-07-01log: log to syslog unless connected to a tty in user modeLennart Poettering
2011-06-30util: try harder to rename the processLennart Poettering
2011-06-21timedated: sync clock down to RTC where necessaryLennart Poettering
2011-06-20main: Fix a typo emergency shall->emergency shellMichal Vyskocil
2011-05-24rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)Kay Sievers
We check for LOCAL in /etc/adjtime and if needed, ask the kernel to apply the timezone delta to the system clock. The very first call of settimeofday() without a time, but a timezone warps the system clock, so that it properly runs in UTC.
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