Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-05-14 | job: report the status of first half of JOB_RESTART the same as JOB_STOP | Michal Schmidt | |
2012-05-14 | unit: unit type dependent status messages | Michal Schmidt | |
Instead of generic "Starting..." and "Started" messages for all unit use type-dependent messages. For example, mounts will announce "Mounting..." and "Mounted". Add status messages to units of types that used to be entirely silent (automounts, sockets, targets, devices). For unit types whose jobs are instantaneous, report only the job completion, not the starting event. Socket units with non-instantaneous jobs are rare (Exec*= is not used often in socket units), so I chose not to print the starting messages for them either. This will hopefully give people better understanding of the boot. | |||
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-14 | job: only jobs on the runqueue can be run | Michal Schmidt | |
2012-05-14 | keymap: Add Mio N890 | Martin Pitt | |
https://launchpad.net/bugs/998621 | |||
2012-05-10 | udev: path_id - cciss - set "we have a bus" flag | Kay Sievers | |
2012-05-10 | udev: path_id - add cciss support | Hannes Reinecke | |
2012-05-09 | dbus-manager: fix tainted string | Michal Schmidt | |
The pointer to the end of the string was not advanced after adding the "cgroups-missing" taint. If "local-hwclock" was detected too, it would overwrite the previous string. With 'e' always pointing to the end of the string, removing the last delimiter is easier. | |||
2012-05-09 | main: fix uninitialized variable | Michal Schmidt | |
2012-05-09 | main: fix assertion failure due to use of ELEMENTSOF on a non-array | Michal Schmidt | |
2012-05-09 | util: a few updates for rm_rf() | Lennart Poettering | |
2012-05-09 | manager: introduce SwitchRoot bus call for initrd/main transition | Lennart Poettering | |
2012-05-08 | path-util: there is no function path_parent() | Lennart Poettering | |
2012-05-08 | main: simplify+unify logic for parsing runtime booleans | 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 | logind: use "sleep" as generic term for "suspend", "hibernate", and later on ↵ | Lennart Poettering | |
"hybrid suspend" | |||
2012-05-08 | logind: fix test-inhibit | 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 | logind: fix memory leak | Frederic Crozat | |
2012-05-07 | util: split-out conf-file.[ch] | Kay Sievers | |
2012-05-07 | udev: path_id - skip PCI-only-parents for block devices | Kay Sievers | |
2012-05-07 | udev: use conf_files_list() to search rules files | 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-04 | udev: fix the ENV{} blacklist logic | Kay Sievers | |
2012-05-04 | systemctl: fix typo | Lennart Poettering | |
as Sergey Ptashnick pointed out we should write "poweroff" once instead of "reboot" twice. | |||
2012-05-04 | systemd-analyze: add a --user option to support user instances | Patrick McCarty | |
2012-05-04 | readahead: store inode numbers in pack file | Lennart Poettering | |
If the inode nr for each file is available in the pack file we can easily detect replaced files (like they result from package upgrades) which we can then skip to readahead. | |||
2012-05-04 | units: use OOMScoreAdjust= in the unit files to set OOM score adjust | Lennart Poettering | |
2012-05-04 | readhead: temporarily lower the kernel's read_ahead_kb setting while collecting | Lennart Poettering | |
While collecting readahead data we want to know exactly what userspace accesses unblurred by the kernel's read_ahead_kb. Hence lower this during collection, and raise it afterwards. This is mostly based on ideas and code by Auke Kok. | |||
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 | dbus: include unit name in JobNew/JobRemoved signals | Lennart Poettering | |
This breaks D-Bus interface slightly, but since the D-Bus API isn't covered by the interface stability promise this should be OK. | |||
2012-05-03 | service: explicitly remove control/ subcgroup after each control command | Lennart Poettering | |
The kernel will only notify us of cgroups running empty if no subcgroups exist anymore. Hence make sure we don't leave our own control/ subcgroup around longer than necessary. https://bugzilla.redhat.com/show_bug.cgi?id=818381 | |||
2012-05-03 | systemctl: allow 'systemctl reboot -ff' to succeed even without D-Bus | Lennart Poettering | |
2012-05-03 | systemctl: print a nice error message if an unprivileged user calls ↵ | Lennart Poettering | |
systemctl reboot -ff | |||
2012-05-03 | systemctl: get rid of arg_immediate and fold it into arg_force | Lennart Poettering | |
2012-05-03 | rc-local-generator: hook halt-local in based on generator too | Lennart Poettering | |
2012-05-03 | hwclock: add taint flag for non-local hwclock | Lennart Poettering | |
2012-05-03 | vconsole: fix some error messages | Lennart Poettering | |
2012-05-03 | service: default to Type=dbus if BusName= is specified | Lennart Poettering | |
2012-05-03 | service: warn if a dbus name is specified but the service type is not dbus | Lennart Poettering | |
2012-05-03 | vconsole: fix error messages | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=49192 | |||
2012-04-30 | unit: add new dependency type RequiresMountsFor= | Lennart Poettering | |
RequiresMountsFor= is a shortcut for adding requires and after dependencies to all mount units neeed for the specified paths. This solves a couple of issues regarding dep loop cycles for encrypted swap. | |||
2012-04-29 | udev: use container_of() macro | Lucas De Marchi | |
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. |