summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-05-21dbus-unit: always load the unit before handling a message for itMichal Schmidt
We need to be able to show the properties even of inactive units. systemctl loads the unit before getting its properties, but this is racy as the garbage collector may kick in right after the loading. Fix it by always loading the unit before handling a message for it. https://bugzilla.redhat.com/show_bug.cgi?id=814966#c6
2012-05-21delta: drop PHP'ismLennart Poettering
2012-05-21delta: don't highlight unchanged filesLennart Poettering
2012-05-21delta: introduce arg_flags field, to follow our usual schemeLennart Poettering
2012-05-16delta: use same nomenclature for equivalent and redirected everywhereLennart Poettering
2012-05-16delta: enums are much cooler than definesLennart Poettering
2012-05-16delta: Support filtering what type of deltas to showGergely Nagy
Not everyone is interested in every kind of deltas (and some might even be interested knowing which files do not have overrides), so this here is an implementation of a --type=LIST... option for systemd-delta, that makes it possible to filter what subset of deltas we want. The available modifiers are masked, equivalent, redirected, overriden, and unchanged - they should be self explanatory, and the man page explains them in a little more detail anyway. As a side effect, in case of overriden files, the diff output was made optional. By default, everything is shown (with a diff, if appropriate) except for completely unchanged files. Signed-off-by: Gergely Nagy <algernon@balabit.hu>
2012-05-16delta: add preset dirsLennart Poettering
2012-05-16delta: add missing filesLennart Poettering
2012-05-16switch-root: check for absolute pathsLennart Poettering
2012-05-15udev: update docs, NEWSKay Sievers
2012-05-15udev: libudev - bump soname, remove deprecated functions, introduce symbol ↵Kay Sievers
versions
2012-05-15tmpfiles: 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-15install: fix inverted meaning of '--force' in systemctl enableMichal Schmidt
2012-05-14missing: Fix broken syscall(__NR_fanotify_mark... on ppc32Andreas Schwab
The same situation as on o32 mips.
2012-05-14sd-login: update header docs a bitLennart Poettering
2012-05-14namespace: make PrivateTmp= apply to both /tmp and /var/tmpLennart Poettering
2012-05-14systemctl: add switch-root verbLennart Poettering
2012-05-14core: add extra safety check before switching rootLennart Poettering
2012-05-14job: info message if JOB_VERIFY_ACTIVE detects an inactive unitMichal Schmidt
2012-05-14job: report the status of first half of JOB_RESTART the same as JOB_STOPMichal Schmidt
2012-05-14unit: unit type dependent status messagesMichal 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-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-14job: only jobs on the runqueue can be runMichal Schmidt
2012-05-14keymap: Add Mio N890Martin Pitt
https://launchpad.net/bugs/998621
2012-05-10udev: path_id - cciss - set "we have a bus" flagKay Sievers
2012-05-10udev: path_id - add cciss supportHannes Reinecke
2012-05-09dbus-manager: fix tainted stringMichal 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-09main: fix uninitialized variableMichal Schmidt
2012-05-09main: fix assertion failure due to use of ELEMENTSOF on a non-arrayMichal Schmidt
2012-05-09util: a few updates for rm_rf()Lennart Poettering
2012-05-09manager: introduce SwitchRoot bus call for initrd/main transitionLennart Poettering
2012-05-08path-util: there is no function path_parent()Lennart Poettering
2012-05-08main: simplify+unify logic for parsing runtime booleansLennart 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-08logind: use "sleep" as generic term for "suspend", "hibernate", and later on ↵Lennart Poettering
"hybrid suspend"
2012-05-08logind: fix test-inhibitLennart Poettering
2012-05-08util: split-out path-util.[ch]Kay Sievers
2012-05-08util: split-out hwclock.[ch]Kay Sievers
2012-05-07logind: fix memory leakFrederic Crozat
2012-05-07util: split-out conf-file.[ch]Kay Sievers
2012-05-07udev: path_id - skip PCI-only-parents for block devicesKay Sievers
2012-05-07udev: use conf_files_list() to search rules filesKay 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-04udev: fix the ENV{} blacklist logicKay Sievers
2012-05-04systemctl: fix typoLennart Poettering
as Sergey Ptashnick pointed out we should write "poweroff" once instead of "reboot" twice.