summaryrefslogtreecommitdiff
path: root/src/shared
AgeCommit message (Collapse)Author
2012-05-14unit: print the color status marks on the leftMichal Schmidt
The alignment of the "[ OK ]" and "[FAILED]" status marks to the right side of the terminal makes it difficult to link them with the messages on the left if your console is wide. I considered the options: 1. Align them to the 80th column regardless of the console width. Disadvantage - either: - truncating messages needlessly, not using available space; or - If the message is long, write the mark over it. => ugly 2. Write them to the 80th column for short messages, and further to the right for longer ones. Disadvantage: - jagged look 3. Write the marks on the left, before the message. Disadvantage: - Breaks tradition from RHL. Advantages: + slightly simpler code + Will annoy holy-traditionalists. I chose option 3. BTW, Debian now uses similar marks on the left with its makefile-style boot. Special values of the "status" argument to status_vprintf are: NULL - no status mark, no message indentation "" - no status mark, message indented as if the mark was there
2012-05-14job: change red [ABORT] status to yellow [DEPEND]Michal Schmidt
The red "[ABORT]" for a dependency failure is too scary. It suggests a crash. And it suggests a problem with the unit itself. Change it to a yellow "[DEPEND]" message. The color communicates the level of seriousness better.
2012-05-09util: a few updates for rm_rf()Lennart Poettering
2012-05-08path-util: there is no function path_parent()Lennart Poettering
2012-05-08logind: implement suspend/hibernate calls with inhibition logicLennart Poettering
2012-05-08sleep: implement suspend/hibernate as first class targetsLennart Poettering
2012-05-08util: split-out path-util.[ch]Kay Sievers
2012-05-08util: split-out hwclock.[ch]Kay Sievers
2012-05-07util: split-out conf-file.[ch]Kay Sievers
2012-05-07conf_files_list(): split out conf_files_list_strv()Kay Sievers
2012-05-07conf_files_list(): files-add() - do not canonicalize file namesKay Sievers
File names in /etc, /run, /usr/lib are sorted/overridden by basename. Sorting things like "/dev/null" with the basename "null" in the hash of config files breaks the ordering and the overriding logic.
2012-05-05logind: implement delay inhibitor locks in addition to block inhibitor locksLennart Poettering
This is useful to allow applications to synchronously save data before the system is suspended or shut down.
2012-05-03cgroup: fix alloca() misuse in cg_shorten_controllers()Lennart Poettering
2012-05-03dbus: handle invalid enum values betterLennart Poettering
2012-05-03hwclock: add taint flag for non-local hwclockLennart Poettering
2012-04-29util: introduce container_of() macroLucas De Marchi
This macro comes from kernel and it's useful for unwrapping structs inside another one. The generated code is actually the same to the one where this logic is used in udev, but using this macro is much cleaner and less error prone.
2012-04-22util: unify getenv() logic for other PIDLennart Poettering
2012-04-22nspawn: add -b switch to automatically look for an init binaryLennart Poettering
2012-04-22default to v102 everywhere, instead of vt100, to synchronize with agettyLennart Poettering
2012-04-22login: assing /dev/console logins to seat0Lennart Poettering
2012-04-22util: fix tty_is_vc_resolve() in a container where ↵Lennart Poettering
/sys/class/tty/console/active is misleading
2012-04-22log: include syslog identifier in default log properties, to avoid comm ↵Lennart Poettering
truncation
2012-04-20log: fix LOG_TARGET_JOURNAL_OR_KMSGLennart Poettering
2012-04-19fix typo in src/shared/install.cSven Anders
2012-04-17udev: unify /dev static symlink setupKay Sievers
2012-04-17silence a bunch of gcc warningsKay Sievers
2012-04-17selinux: unify systemd and udev codeKay Sievers
2012-04-17mkdir: do not use alloca() in a loopKay Sievers
2012-04-17udev: replace util_create_path() with mkdir_parents()Kay Sievers
2012-04-16logind: remove redundant entries from logind's default controller lists tooLennart Poettering
2012-04-16systemctl: show main and control PID explicitly in cgroup-showLennart Poettering
In some cases the main/control PID of a service can be outside of the services cgroups (for example, if logind readjusts the processes' cgroup). In order to clarify this for the user show the main/control PID in the cgroup tree nonetheless, but mark them specially.
2012-04-16util: introduce memdup()Lennart Poettering
2012-04-16cgls: don't show empty cgroups by defaultLennart Poettering
2012-04-16logind: add shutdown/suspend/idle inhibition frameworkLennart Poettering
2012-04-16cgroup: if a controller is not available don't try to create cgroups in its ↵Lennart Poettering
hierarchy
2012-04-13polkit: spawn agent in --fallback modeLennart Poettering
2012-04-13watchdog: make watchdog dbus properties writableLennart Poettering
2012-04-13dbus: automatically send out changed events for properties written toLennart Poettering
2012-04-13fix a couple of things found with the llvm static analyzerLennart Poettering
2012-04-12build-sys: move src/linux/ to src/shared/linuxLennart Poettering
2012-04-12build-sys: move *-setup out of shared to avoid selinux being pulled inLennart Poettering
2012-04-12move remainig shared stuff to shared/Kay Sievers
2012-04-12main: we want all setup functions to be in files called xxx-setup.[ch]Lennart Poettering
2012-04-12hostname-setup: move to core/Lennart Poettering
2012-04-12build-sys: move a few things into more appropriate placesLennart Poettering
2012-04-12build-sys: add stub makefiles to make emacs easier to useLennart Poettering
2012-04-12rename machine-id-main.c tomacht the binary and move main.c to core/Kay Sievers
2012-04-12execute: when we can't get the requested rlimit, get the next closestLennart Poettering
2012-04-12move more common files to shared/ and add them to shared.laKay Sievers
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.