summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-17journalctl: decode more header files in --headerLennart Poettering
2012-07-17journal: size journal data hash table based on maximum file size metricsLennart Poettering
The default of 2047 hash table entries turned out to result in way too many collisions for bigger files, hence scale the hash table size by the estimated maximum file size.
2012-07-17journal: immediately rotate when the journal was previously not closed properlyLennart Poettering
2012-07-17journal: automatically rotate journal files if the data hash table is full > 75%Lennart Poettering
Previously, when the main data hash table grows too full the performance simply started to decrease drastically. Instead, now simply rotate to a new journal file as the hash table gets to full, so that we can start with a new fresh empty hash table.
2012-07-16make-man-index.py: pretty-print HTMLKay Sievers
2012-07-16journal: use tail/head timestamps from header for cutoff logicLennart Poettering
We have them, they are faster to use them, so use them...
2012-07-16journald: don't enforce monotonicity of realtime clocks when copying entriesLennart Poettering
After all the point of the realtime clock (in contrast to the monotonic clock) is that it does not have to be strictly monotonic, hence don't enforce this when flushing the journal from /run to /var.
2012-07-16man: actually generate h2 headers for letters in index as we meant toLennart Poettering
2012-07-16core: fix name of dbus call parameterLennart Poettering
2012-07-16man: include number of man pages in index pageLennart Poettering
2012-07-16build-sys: make building of index.html fail sensiblyLennart Poettering
2012-07-16man: set description in italics in the indexLennart Poettering
2012-07-16man: reword man page titlesLennart Poettering
Make sure the man page titles are similar in style and capitalization so that our man page index looks pretty.
2012-07-16man: show man page summary in index, tooLennart Poettering
2012-07-16min: generate an index page for all man pagesLennart Poettering
This makes use of python, if it is available
2012-07-16unit: set default working directory to the user's home directory when ↵Lennart Poettering
running in user mode
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