Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-16 | unit: introduce %s specifier for the user shell | Lennart Poettering | |
2012-07-16 | unit: printf specifiers %u and %h: $USER and $HOME. | Auke Kok | |
These printf specifiers allow us to refer to $HOME and $USER in unit files. These are particularly helpful in instanced units that have "User=" set, and in systemd --user domains. The specifiers will return the pw_name and pw_dir fields if the unit file has a User= field. If the unit file does not have a User= field, the value substituted is either $USER or $HOME from the environment, or, if unset, the values from pw_name or pw_dir. This patch is somewhat after Ran Benita's original patch, which didn't get merged. I've split up the 2 specifiers and extended them to do what is logically expected from these specifiers. Note that expansion is done at `start` time, not after the units are parsed. Using `systemctl show` will just show the specifiers. | |||
2012-07-16 | util: add getusername_malloc(), get_shell(), get_home_dir() | Lennart Poettering | |
2012-07-16 | Spelling fixes. | Ville Skyttä | |
2012-07-15 | udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run | Kay Sievers | |
2012-07-15 | intltool: skip the intermediate file in case it remains, not the source file | Kay Sievers | |
2012-07-15 | update TODO | Kay Sievers | |
2012-07-15 | unit: avoid re-definition of enum for older gcc versions | Kay Sievers | |
<koen> | ./src/shared/unit-name.h:29:23: error: redefinition of typedef 'UnitType' <koen> | ./src/core/unit.h:30:23: note: previous declaration of 'UnitType' was here | |||
2012-07-15 | build-sys: fix "make distcheck" | Kay Sievers | |
2012-07-15 | aquire_terminal(): fix uninitialized variable | Kay Sievers | |
./src/shared/util.c:2457:45: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] | |||
2012-07-15 | journal: align byte-buffer that gets cased to an object | Kay Sievers | |
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote: > | src/journal/sd-journal.c: In function 'sd_journal_process': > | src/journal/sd-journal.c:1891:21: warning: cast increases required alignment of target type [-Wcast-align] > | src/journal/sd-journal.c:1900:29: warning: cast increases required alignment of target type [-Wcast-align] | |||
2012-07-15 | journal: avoid re-definition of enums for older gcc versions | Kay Sievers | |
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote: > | In file included from src/journal/sd-journal.c:37:0: > | src/journal/journal-internal.h:47:3: error: redefinition of typedef 'MatchType' > | src/journal/journal-internal.h:36:24: note: previous declaration of 'MatchType' was here > | src/journal/journal-internal.h:67:3: error: redefinition of typedef 'LocationType' > | src/journal/journal-internal.h:37:27: note: previous declaration of 'LocationType' was here | |||
2012-07-14 | rules: fix typo in 42-usb-hid-pm.rules | Kay Sievers | |
<arjan> can you open the 42-usb-hid-pm.rules file <arjan> and go to line 46 <arjan> and tell me why ATTR{idProduct}="0002" only has one = and not two (e.g. == ) ? <kay> arjan: yep <kay> arjan: bug | |||
2012-07-14 | udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=n | Kay Sievers | |
2012-07-13 | build-sys: fix build | Lennart Poettering | |
2012-07-13 | unit: rename BindTo= to BindsTo= | Lennart Poettering | |
all other dependencies are in 3rd person. Change BindTo= accordingly to BindsTo=. Of course, the dependency is widely used, hence we parse the old name too for compatibility. | |||
2012-07-13 | man: add man page aliases for all macros/types too | Lennart Poettering | |
2012-07-13 | man: Split sd_randomize(3) from sd_id128_get_{machine,boot}(3) | Lennart Poettering | |
They have too little to do with each other... | |||
2012-07-13 | build-sys: don't install sd-readahead.h as include file, but as documentation | Lennart Poettering | |
sd-readahead.h is supposed to be a drop-in API, nothing people should ever link to or could make use without also adding sd-readahead.c to their sources. Hence, don't install this header file into INCLUDES, but instead install it as DOCS. | |||
2012-07-13 | man: document sd_journal_seek_head() | Lennart Poettering | |
2012-07-13 | man: document sd_journal_add_match() | Lennart Poettering | |
2012-07-13 | shutdown: add missing include | Lennart Poettering | |
2012-07-13 | man: fix various typos | Lennart Poettering | |
2012-07-13 | man: suppress man page dates/authors in generated pages | Lennart Poettering | |
2012-07-13 | build-sys: clean man pages when building them | Lennart Poettering | |
2012-07-13 | man: forgot sd_journal_get_fd() man page | Lennart Poettering | |
2012-07-13 | man: document sd_journal_get_fd() | Lennart Poettering | |
2012-07-13 | man: document sd_journal_get_cursor() | Lennart Poettering | |
2012-07-13 | man: document sd_journal_get_cutoff_realtime_usec() | Lennart Poettering | |
2012-07-13 | man: document sd_journal_get_realtime_usec() | Lennart Poettering | |
2012-07-13 | man: document sd_journal_get_data() and friends | Lennart Poettering | |
2012-07-13 | man: document sd_journal_next() | Lennart Poettering | |
2012-07-13 | man: document sd_journal_open() | Lennart Poettering | |
2012-07-13 | log: correct usage of logging API at a few places | Lennart Poettering | |
2012-07-13 | main: only reopen /dev/console if we switch-root to a custom init | Harald Hoyer | |
There's no point in reopening /dev/console if we reopen it anyway afterwards. | |||
2012-07-13 | container: when shutting down in a container don't detach loop devices | Lennart Poettering | |
We don't do device handling in containers, hence no loop devices either. | |||
2012-07-13 | core: go on a killing spree when transitioning from initrd to main system | Lennart Poettering | |
2012-07-13 | util: temporarily ignore SIGHUP while we are issuing TIOCSTTY | Lennart Poettering | |
2012-07-13 | test: hook up more tests with make check | Lennart Poettering | |
2012-07-13 | util: rename join() to strjoin() | Lennart Poettering | |
This is to match strappend() and the other string related functions. | |||
2012-07-13 | man: fix man page chapter in Makefile.am | Lennart Poettering | |
2012-07-13 | man: document sd_journal_stream_fd() | Lennart Poettering | |
2012-07-13 | man: move header file man pages from section 7 to 3 | Lennart Poettering | |
This way we can include documentation about minor macros/inline function within the introducionary man page in a sane way. | |||
2012-07-13 | journal: properly export sd_journal_add_disjunction() | Lennart Poettering | |
2012-07-13 | journalctl: show any printable Unicode character | Zbigniew Jędrzejewski-Szmek | |
This makes sure we are OK in outputting all valid, non-control UTF-8 characters, instead of just printable 7bit ASCII. | |||
2012-07-13 | update TODO | Lennart Poettering | |
2012-07-13 | journal: beef up journal matches considerably | Lennart Poettering | |
we now can take multiple matches, and they will apply as AND if they apply to different fields and OR if they apply to the same fields. Also, terms of this kind can be combined with an overreaching OR. | |||
2012-07-13 | journal: check fields we search for more carefully | Lennart Poettering | |
2012-07-13 | journal: fix seeking by realtime/seqnum | Lennart Poettering | |
2012-07-13 | journal: fix bad memory access | Lennart Poettering | |