summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-16unit: introduce %s specifier for the user shellLennart Poettering
2012-07-16unit: 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-16util: add getusername_malloc(), get_shell(), get_home_dir()Lennart Poettering
2012-07-16Spelling fixes.Ville Skyttä
2012-07-15udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers
2012-07-15intltool: skip the intermediate file in case it remains, not the source fileKay Sievers
2012-07-15update TODOKay Sievers
2012-07-15unit: avoid re-definition of enum for older gcc versionsKay 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-15build-sys: fix "make distcheck"Kay Sievers
2012-07-15aquire_terminal(): fix uninitialized variableKay Sievers
./src/shared/util.c:2457:45: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
2012-07-15journal: align byte-buffer that gets cased to an objectKay 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-15journal: avoid re-definition of enums for older gcc versionsKay 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-14rules: fix typo in 42-usb-hid-pm.rulesKay 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-14udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=nKay Sievers
2012-07-13build-sys: fix buildLennart Poettering
2012-07-13unit: 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-13man: add man page aliases for all macros/types tooLennart Poettering
2012-07-13man: Split sd_randomize(3) from sd_id128_get_{machine,boot}(3)Lennart Poettering
They have too little to do with each other...
2012-07-13build-sys: don't install sd-readahead.h as include file, but as documentationLennart 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-13man: document sd_journal_seek_head()Lennart Poettering
2012-07-13man: document sd_journal_add_match()Lennart Poettering
2012-07-13shutdown: add missing includeLennart Poettering
2012-07-13man: fix various typosLennart Poettering
2012-07-13man: suppress man page dates/authors in generated pagesLennart Poettering
2012-07-13build-sys: clean man pages when building themLennart Poettering
2012-07-13man: forgot sd_journal_get_fd() man pageLennart Poettering
2012-07-13man: document sd_journal_get_fd()Lennart Poettering
2012-07-13man: document sd_journal_get_cursor()Lennart Poettering
2012-07-13man: document sd_journal_get_cutoff_realtime_usec()Lennart Poettering
2012-07-13man: document sd_journal_get_realtime_usec()Lennart Poettering
2012-07-13man: document sd_journal_get_data() and friendsLennart Poettering
2012-07-13man: document sd_journal_next()Lennart Poettering
2012-07-13man: document sd_journal_open()Lennart Poettering
2012-07-13log: correct usage of logging API at a few placesLennart Poettering
2012-07-13main: only reopen /dev/console if we switch-root to a custom initHarald Hoyer
There's no point in reopening /dev/console if we reopen it anyway afterwards.
2012-07-13container: when shutting down in a container don't detach loop devicesLennart Poettering
We don't do device handling in containers, hence no loop devices either.
2012-07-13core: go on a killing spree when transitioning from initrd to main systemLennart Poettering
2012-07-13util: temporarily ignore SIGHUP while we are issuing TIOCSTTYLennart Poettering
2012-07-13test: hook up more tests with make checkLennart Poettering
2012-07-13util: rename join() to strjoin()Lennart Poettering
This is to match strappend() and the other string related functions.
2012-07-13man: fix man page chapter in Makefile.amLennart Poettering
2012-07-13man: document sd_journal_stream_fd()Lennart Poettering
2012-07-13man: move header file man pages from section 7 to 3Lennart Poettering
This way we can include documentation about minor macros/inline function within the introducionary man page in a sane way.
2012-07-13journal: properly export sd_journal_add_disjunction()Lennart Poettering
2012-07-13journalctl: show any printable Unicode characterZbigniew 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-13update TODOLennart Poettering
2012-07-13journal: beef up journal matches considerablyLennart 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-13journal: check fields we search for more carefullyLennart Poettering
2012-07-13journal: fix seeking by realtime/seqnumLennart Poettering
2012-07-13journal: fix bad memory accessLennart Poettering