summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-18tests: skip tests when executed without privileges but which require themKay Sievers
2013-07-18util: add split_pair() for splitting foo=bar stringsLennart Poettering
2013-07-18journal: Leave server_dispatch_message early when Storage is noneHolger Hans Peter Freyther
When using Storage=none there is no point in collecting all the information just to throw them away. After this change journald consumes a lot less CPU time when only forwarding messages.
2013-07-18systemctl: option to list units by stateMaciej Wereski
This allows to show only units with specified LOAD or SUB or ACTIVE state.
2013-07-18journalctl: add ”short-iso” output format with verbose ISO8601 timestampsTomasz Torcz
Example: 2013-07-18T10:10:01+0200 sandworm CROND[20957]: (root) CMD (/usr/lib64/sa/sa1 1 1)
2013-07-18rules: keyboard - use builtin commandKay Sievers
2013-07-18journalctl: fix signedness warning and boot-id syntax checkZbigniew Jędrzejewski-Szmek
2013-07-18test: Keep the test-suite.log around in case of a test failureHolger Hans Peter Freyther
The addition of .DELETE_ON_ERROR will lead to the removal of the test-suite.log in case of a test failure. Mark the rule as PRECIOUS to keep that file around.
2013-07-18systemd-python: also update the documentationZbigniew Jędrzejewski-Szmek
sphinx, oh sphinx, why do you require manual ficksups all the time?
2013-07-17systemd,systemctl: export condition status and show failing conditionZbigniew Jędrzejewski-Szmek
$ systemctl --user status hoohoo hoohoo.service Loaded: loaded (/home/zbyszek/.config/systemd/user/hoohoo.service; static) Active: inactive (dead) start condition failed at Tue 2013-06-25 18:08:42 EDT; 1s ago ConditionPathExists=/tmp/hoo was not met Full information is exported over D-Bus: [(condition, trigger, negate, param, state),...] where state is one of "failed" (<0), "untested" (0), "OK" (>0). I've decided to use 0 for "untested", because it might be useful to differentiate different types of failure later on, without breaking compatibility. systemctl shows the failing condition, if there was a non-trigger failing condition, or says "none of the trigger conditions were met", because there're often many trigger conditions, and they must all fail for the condition to fail, so printing them all would consume a lot of space, and bring unnecessary attention to something that is quite low-level.
2013-07-17systemd: log failed conditionsZbigniew Jędrzejewski-Szmek
ConditionPathExists=/tmp/nosuchpath failed for nosuchpath.service.
2013-07-17journalctl: remove ":" from the --boot syntaxZbigniew Jędrzejewski-Szmek
Instead of :-0, :1, :5, etc., use -0, 1 or +1, 5, etc. For BOOT_ID+OFFSET, use BOOT_ID+offset or BOOT_ID-offset (either + or - is required). Also make error handling a bit more robust and verbose. Modify the man page to describe the most common case (-b) first, and the second most common case (-b -1) second.
2013-07-17systemd-python: add support for sd_j_open_filesZbigniew Jędrzejewski-Szmek
Also export missing flags.
2013-07-17systemd-python: fix iterationZbigniew Jędrzejewski-Szmek
Back in 6a58bf4135 raising stop iteration was removed from the C code, but wasn't added in the Python counterpart.
2013-07-18hwdb: data updateKay Sievers
2013-07-18systemctl: also highlight a load state of "not-found" as redLennart Poettering
"not-found" is a recently added load state and was previously just a special case of "error". Since it also indicates a load error we should also highlight it red, the same way as "error" was treated before.
2013-07-18mount: also exclude /usr from unmount at shutdownLennart Poettering
2013-07-18update TODOLennart Poettering
2013-07-18service: don't enter a second SIGTERM/SIGKILL cycle if no ExecStopPost= ↵Michael Olbrich
process is defined It won't help if the main process is still there and there is no new process to kill.
2013-07-17remove RD_TIMESTAMP importHarald Hoyer
If you want timing information from the initramfs, use systemd in the initramfs.
2013-07-17remove /run/initramfs/root-fsck logicHarald Hoyer
dracut uses systemd in the initramfs and does not write these files anymore. The state of the root fsck is serialized.
2013-07-16Update TODOZbigniew Jędrzejewski-Szmek
This point was done in 77a9e8de6.
2013-07-16journalctl,systemctl: fix tiny memleakZbigniew Jędrzejewski-Szmek
2013-07-16journalctl: augment short mode with a cursor at the endZbigniew Jędrzejewski-Szmek
Two options are added: --show-cursor to print the cursor at the end, and --after-cursor to resume logs on the next line after the previous one.
2013-07-17util: make gcc shut up by passing a 0 mode param to open()Lennart Poettering
If we pass a variable to open()'s flags parameter it really wants a mode parameter too, otherwise some gcc version whine. Hence, pass 0 in that case.
2013-07-17util: make some gcc versions shut up regarding unintialized variable accessLennart Poettering
2013-07-17update TODOLennart Poettering
2013-07-17logind: remove "if (0)" left-overKay Sievers
2013-07-17logind-acl: use macrosTom Gundersen
Simplify by using FOREACH_DIRENT and _cleanup_closedir_ macros.
2013-07-16logind: apply ACL's to "dead" device nodesTom Gundersen
Based on a patch by Kay Sievers. When a dead device nodes is tagged with "uaccess" using the static_node mechanism, it's ACL's are managed by logind in the same way as "live" device nodes. This allows in particular /dev/snd/{seq,timer} to cause modules to be loaded on-demand when accessed by a non-privileged user.
2013-07-16udev: export tags of "dead" device nodes to /run/udev/static_node-tags/Tom Gundersen
Based on a patch by Kay Sievers. A tag is exported at boot as a symlinks to the device node in the folder /run/udev/static_node-tags/<tagname>/, if the device node exists. These tags are cleaned up by udevadm info --cleanup-db, but are otherwise never removed.
2013-07-16util.c:is_locale_utf8(): check, if "C" was set on purposeHarald Hoyer
If you have a ASCII only terminal, there is no way to set the charmap to ANSI_X3.4-1968, other than using LC_CTYPE=C. We don't want to assume a UTF-8 capable terminal in this case and only do so, if LANG, LC_ALL and LC_CTYPE are unset.
2013-07-16updateLennart Poettering
2013-07-16rpm: add RPM macro for creating tmpfiles entries after package installationLennart Poettering
2013-07-1660-keyboard.hwdb: Fix syntax errorMartin Pitt
Add missing '='.
2013-07-16journal: return -ECHILD after a forkZbigniew Jędrzejewski-Szmek
A few asserts are replaced with 'return -EINVAL'. I think that assert should not be used to check argument in public functions. Fields in struct sd_journal are rearranged to make it less swiss-cheesy.
2013-07-16test-tables: allow sparse tables and check mapping for -1Zbigniew Jędrzejewski-Szmek
Jan: test-tables fails on my system. The one it's failing on is: syscall: 222 → (null) → -1 ... and indeed, our own tables should not have holes, but syscall tables certainly might.
2013-07-16Do not set LANG=C in every child environment.Harald Hoyer
LANG does not have to be set and setting it to default to the default does not add any value.
2013-07-16man: improve readability of --output options in journalctl(1)Jason St. John
The list and descriptions of valid output options was difficult to read, so break up the long block of text into discrete man page list items to improve readability.
2013-07-16man: use HTTPS links for links that support itJason St. John
2013-07-16journalctl: Add support for showing messages from a previous bootJan Janssen
Hi, I redid the boot ID look up to use enumerate_unique. This is quite fast if the cache is warm but painfully slow if it isn't. It has a slight chance of returning the wrong order if realtime clock jumps around. This one has to do n searches for every boot ID there is plus a sort, so it depends heavily on cache hotness. This is in contrast to the other way of look-up through filtering by a MESSAGE_ID, which only needs about 1 seek + whatever amount of relative IDs you want to walk. I also have a linked-list + (in-place) mergesort version of this patch, which has pretty much the same runtime. But since this one is using libc sorting and armortized allocation, I prefer this one. To summarize: The MESSAGE_ID way is a *lot* faster but can be incomplete due to rotation, while the enumerate+sort will find every boot ID out there but will be painfully slow for large journals and cold caches. You choose :P Jan
2013-07-16update TODOLennart Poettering
2013-07-16keymap: re-add Logitech USB corded/cordless modelsMartin Pitt
These add back are the remaining 3 udev keymap rules which used name based instead of ID based matching.
2013-07-16also remove keymaps-force-release directoryKay Sievers
2013-07-16switch from udev keymaps to hwdbKay Sievers
2013-07-16detect-virt: detect User-Mode LinuxRamkumar Ramachandra
In a User-Mode Linux session: $ systemd-detect-virt none Although it is possible to reliably detect virtualization: $ cat /proc/cpuinfo processor : 0 vendor_id : User Mode Linux model name : UML mode : skas host : Linux kytes 3.11.0-rc1-00009-ge5fd680 (...) bogomips : 7007.43 So, grep for the string "\nvendor_id\t: User Mode Linux\n" in /proc/cpuinfo, and say "uml" when asked.
2013-07-16Update TODOLennart Poettering
2013-07-16hwdb: follow: "keymap: Drop non-existant Samsung 900XC3"Kay Sievers
2013-07-16keymap: Drop non-existant Samsung 900XC3Martin Pitt
Revert commit 90fc91d0065 again. There is no 900XC3 model, that's 900X3C and already covered by the 900X3* match. See https://launchpad.net/bugs/1012365
2013-07-15build-sys: make generated man pages part of the distribution tarballZbigniew Jędrzejewski-Szmek
They were removed by mistake, and since we ship .html files, we certainly should ship man pages. https://bugs.freedesktop.org/show_bug.cgi?id=61753