summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-29util: avoid divide by zero FPEDave Reisner
In early userspace, if kernel initialization happens extremely quickly, a call to systemd-timestamp can potentially result in division by zero. Ensure that the check in timespec_load, which only makes sense if tv_sec is greater than zero, is guarded by this condition.
2012-10-29NEWS: fix typoZbigniew Jędrzejewski-Szmek
2012-10-29swap: fix swap behaviour with symlinksOlivier Brunel
Starting a swap unit pointing to (What) a symlink (e.g. /dev/mapper/swap or /dev/disk/by-uuid/...) would have said unit marked active, following the one using the "actual" device (/dev/{dm-1,sda3}), but that new unit would be seen as inactive. Since all requests to stop swap units would follow/redirect to it, and it is seen inactive, nothing would be done (swapoff never called). This is because this unit would be treated twice in swap_process_new_swap, the second call to swap_add_one causing it to eventually be marked inactive.
2012-10-29swap: modernize styleZbigniew Jędrzejewski-Szmek
2012-10-29swap: use automatic cleanupZbigniew Jędrzejewski-Szmek
2012-10-29swap: introduce helper variableZbigniew Jędrzejewski-Szmek
Just for readability, no funcational change.
2012-10-28login: trivial grammar fixZbigniew Jędrzejewski-Szmek
2012-10-28systemctl: skip JOBS column if no jobsZbigniew Jędrzejewski-Szmek
Output is very constrained. This change saves 4 columns in the common case.
2012-10-28bash-completion: avoid usage of ls for listing devicesDave Reisner
2012-10-28bash-completion: add minimal 'udevadm' supportKay Sievers
2012-10-28NEWS: fix a typoBen Boeckel
2012-10-28logind: add 'lock' as possible choice for handling hw keysLennart Poettering
2012-10-28libudev: hwdb - cleanup list before getting new propertiesKay Sievers
2012-10-28udev: add "udevadm hwdb --test=<modalias>"Kay Sievers
2012-10-28udev: get rid of SYSCONFDIRKay Sievers
2012-10-28completion: fix typo in accessing array indexRamkumar Ramachandra
Remove spurious '}'. This error went unnoticed so far because Bash doesn't complain.
2012-10-28units: teach m4 scripts in units/ about Debian's rc.localRamkumar Ramachandra
This makes the behaviour wrt. to rc[-.]local consistent between various distributions supporting it.
2012-10-28Tweak TODOZbigniew Jędrzejewski-Szmek
2012-10-28man/logind.conf.xml: Add missing 'suspend' value for Handle*Key options.Thomas Bächler
2012-10-28util: fix possible integer overflowsMichal Sekletar
2012-10-28localectl: fix memleak, use _cleanup_strv_free_Michal Sekletar
l might contain zero strings, however there is still memory allocated for NULL terminator, use _cleanup_strv_free_ instead to prevent tiny leak in such case.
2012-10-28localectl: fix memleak, jump to finish before returningMichal Sekletar
2012-10-28journal: fix memleak, call set_free before returnMichal Sekletar
2012-10-28units: reword rescue mode hintsZbigniew Jędrzejewski-Szmek
Do not suggest to the user that commands can be issued before logging in. sulogin prints it own message, which mentions ^D, so there's no need to repeat it here.
2012-10-28update TODOLennart Poettering
2012-10-28logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)Lennart Poettering
2012-10-27libudev: import hwdb and export lookup interfaceKay Sievers
2012-10-27hwclock: do not seal the kernel's time-warp call from inside the initrdKay Sievers
2012-10-26bash-compleiton: add missing --disk-usage option for journalctlDave Reisner
2012-10-27util: return the remaining string in startswith()Lennart Poettering
2012-10-27coredumpctl: add 'gdb' verb to start gdb right-away on a collected coredumpLennart Poettering
2012-10-26coredumpctl: show timestamps in listLennart Poettering
2012-10-26journal: special case the trivial cache chain cache entryLennart Poettering
2012-10-26coredumpctl: optimize journal entry parsing a bit by enumerating only onceLennart Poettering
2012-10-26coredumpctl: initialize global varsLennart Poettering
2012-10-26journal: provide an API that allows client to figure out whether they need ↵Lennart Poettering
to recheck the journal manually for changes in regular intervals Network file systems generally do not offer inotify() that would work across the network. We hence cannot rely on inotify() exclusiely in those case. Provide an API to determine these cases, and suggest doing manual regular rechecks. Note that this is not complete yet, as we need to rescan journal dirs on network file systems explicitly to find new/removed files
2012-10-26journal: fix parsing of monotonic kernel timestampsLennart Poettering
2012-10-26keymap: Add HP EliteBook 8440pMartin Pitt
Thanks to Glen Ditchfield <gjditchfield@acm.org>! https://launchpad.net/bugs/1071579
2012-10-26update TODOLennart Poettering
2012-10-26udev: builtin - do not fail builtin initialization if one of them returns an ↵Kay Sievers
error
2012-10-26journal: introduce entry array chain cacheLennart Poettering
When traversing entry array chains for a bisection or for retrieving an item by index we previously always started at the beginning of the chain. Since we tend to look at the same chains repeatedly, let's cache where we have been the last time, and maybe we can skip ahead with this the next time. This turns most bisections and index lookups from O(log(n)*log(n)) into O(log(n)). More importantly however, we seek around on disk much less, which is good to reduce buffer cache and seek times on rotational disks.
2012-10-26test: extend test-send to send some weirder dataLennart Poettering
2012-10-26journal: properly determine cutoff max dateLennart Poettering
2012-10-26man: minor updatesLennart Poettering
2012-10-26update TODOLennart Poettering
2012-10-26man: fix exampleLennart Poettering
2012-10-26sysctl: parse all keys in a config fileMichal Sekletar
https://bugzilla.redhat.com/show_bug.cgi?id=869779
2012-10-26udev: kmod - fix typoKay Sievers
2012-10-26man: typo fixesThomas Hindoe Paaboel Andersen
https://bugs.freedesktop.org/show_bug.cgi?id=55890 Fixed typos, serial comma, and removed "either" as there were more than two options. Also did an extra rename of "system-shutdown" to "systemd-shutdown" that was forgotten in commit 8bd3b8620c80d0f2383f2fb04315411fc8077ca1
2012-10-25udev: kmod, hwdb - do not fail if databases are not availableKay Sievers