Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-05-22 | util: make sure to fstatat() at most once in rm_rf_children() | Lennart Poettering | |
2012-05-21 | util: rework in_initrd() logic | Lennart Poettering | |
Checking the device major/minor is not a good idea. Let's replace this with an explicit flag file, which we model after /etc/os-release and call /etc/initrd-release. | |||
2012-05-21 | util: rm_rf_children() add root_dev parameter | Harald Hoyer | |
if root_dev is set, remove subdirectories only, if the device is the same as the root_dev. This prevents to remove files across device boundaries. | |||
2012-05-21 | util.c: add in_initrd() | Harald Hoyer | |
in_initrd() checks, if the stat() for the device for "/" is 1, which it is for the initramfs. | |||
2012-05-21 | main: corrected do_switch_root() | Harald Hoyer | |
do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and removes the old root recursively. | |||
2012-05-21 | util: fix typo in newdup | Frederic Crozat | |
2012-05-21 | hostname-setup: also consider (ńone) an unset hostname | Lennart Poettering | |
2012-05-21 | unit: introduce RequiredBy= setting in [Install], to complement WantedBy= | Lennart Poettering | |
2012-05-21 | units: introduce new Documentation= field and make use of it everywhere | Lennart Poettering | |
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them. | |||
2012-05-15 | tmpfiles: if we are supposed to write a string to a file, it's OK if we ↵ | Lennart Poettering | |
can't write the trailing newline | |||
2012-05-15 | install: fix inverted meaning of '--force' in systemctl enable | Michal Schmidt | |
2012-05-14 | missing: Fix broken syscall(__NR_fanotify_mark... on ppc32 | Andreas Schwab | |
The same situation as on o32 mips. | |||
2012-05-14 | unit: print the color status marks on the left | Michal 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-14 | job: 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-09 | util: a few updates for rm_rf() | Lennart Poettering | |
2012-05-08 | path-util: there is no function path_parent() | Lennart Poettering | |
2012-05-08 | logind: implement suspend/hibernate calls with inhibition logic | Lennart Poettering | |
2012-05-08 | sleep: implement suspend/hibernate as first class targets | Lennart Poettering | |
2012-05-08 | util: split-out path-util.[ch] | Kay Sievers | |
2012-05-08 | util: split-out hwclock.[ch] | Kay Sievers | |
2012-05-07 | util: split-out conf-file.[ch] | Kay Sievers | |
2012-05-07 | conf_files_list(): split out conf_files_list_strv() | Kay Sievers | |
2012-05-07 | conf_files_list(): files-add() - do not canonicalize file names | Kay 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-05 | logind: implement delay inhibitor locks in addition to block inhibitor locks | Lennart Poettering | |
This is useful to allow applications to synchronously save data before the system is suspended or shut down. | |||
2012-05-03 | cgroup: fix alloca() misuse in cg_shorten_controllers() | Lennart Poettering | |
2012-05-03 | dbus: handle invalid enum values better | Lennart Poettering | |
2012-05-03 | hwclock: add taint flag for non-local hwclock | Lennart Poettering | |
2012-04-29 | util: introduce container_of() macro | Lucas 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-22 | util: unify getenv() logic for other PID | Lennart Poettering | |
2012-04-22 | nspawn: add -b switch to automatically look for an init binary | Lennart Poettering | |
2012-04-22 | default to v102 everywhere, instead of vt100, to synchronize with agetty | Lennart Poettering | |
2012-04-22 | login: assing /dev/console logins to seat0 | Lennart Poettering | |
2012-04-22 | util: fix tty_is_vc_resolve() in a container where ↵ | Lennart Poettering | |
/sys/class/tty/console/active is misleading | |||
2012-04-22 | log: include syslog identifier in default log properties, to avoid comm ↵ | Lennart Poettering | |
truncation | |||
2012-04-20 | log: fix LOG_TARGET_JOURNAL_OR_KMSG | Lennart Poettering | |
2012-04-19 | fix typo in src/shared/install.c | Sven Anders | |
2012-04-17 | udev: unify /dev static symlink setup | Kay Sievers | |
2012-04-17 | silence a bunch of gcc warnings | Kay Sievers | |
2012-04-17 | selinux: unify systemd and udev code | Kay Sievers | |
2012-04-17 | mkdir: do not use alloca() in a loop | Kay Sievers | |
2012-04-17 | udev: replace util_create_path() with mkdir_parents() | Kay Sievers | |
2012-04-16 | logind: remove redundant entries from logind's default controller lists too | Lennart Poettering | |
2012-04-16 | systemctl: show main and control PID explicitly in cgroup-show | Lennart 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-16 | util: introduce memdup() | Lennart Poettering | |
2012-04-16 | cgls: don't show empty cgroups by default | Lennart Poettering | |
2012-04-16 | logind: add shutdown/suspend/idle inhibition framework | Lennart Poettering | |
2012-04-16 | cgroup: if a controller is not available don't try to create cgroups in its ↵ | Lennart Poettering | |
hierarchy | |||
2012-04-13 | polkit: spawn agent in --fallback mode | Lennart Poettering | |
2012-04-13 | watchdog: make watchdog dbus properties writable | Lennart Poettering | |
2012-04-13 | dbus: automatically send out changed events for properties written to | Lennart Poettering | |