Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-20 | journalctl: fix assertion failure in ellipsize_mem() | Eelco Dolstra | |
When showing the journal through "journalctl --no-pager", if the prefix of the log message (i.e. the date and syslog identifier) is less than 3 characters shorter than the width of the terminal, you get: Assertion 'new_length >= 3' failed at src/shared/util.c:3859, function ellipsize_mem(). Aborting. because there is not enough space for the "...". This patch add the necessary check. | |||
2012-07-20 | units: apply default resource limits to socket/mount/swap processes too | Lennart Poettering | |
2012-07-20 | core: drop KillMode parameter from KillUnit() bus call | Lennart Poettering | |
It made no sense, and since we are documenting the bus calls now and want to include them in our stability promise we really should get it cleaned up sooner, not later. | |||
2012-07-20 | unit: split off KillContext from ExecContext containing only kill definitions | Lennart Poettering | |
2012-07-19 | journald: upgrade signal reception message to INFO | Lennart Poettering | |
2012-07-19 | udev: firmware - do not cancel requests in the initrd | Kay Sievers | |
2012-07-19 | use #pragma once instead of foo*foo #define guards | Shawn Landden | |
#pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers | |||
2012-07-19 | journal: allow watching symlinked journal dirs | Lennart Poettering | |
2012-07-19 | journal: when watching directories actually watch the directories asked for | Lennart Poettering | |
2012-07-19 | journal: rotate busy files away when we try to write to them | Lennart Poettering | |
2012-07-19 | journal: follow symlinks when enumerating journals | Lennart Poettering | |
2012-07-19 | manager: use a private notify sockets in containers to avoid problems with ↵ | Lennart Poettering | |
shared abstract socket namespaces | |||
2012-07-19 | killall: avoid gcc warning about wait name clash | Lennart Poettering | |
2012-07-19 | nspawn: generate proper error messages in the child | Lennart Poettering | |
2012-07-19 | journald: don't choke on journal files with no cutoff date | Lennart Poettering | |
2012-07-19 | nspawn: introduce new --link-journal= switch to link container journals into ↵ | Lennart Poettering | |
host | |||
2012-07-18 | journal: remove all of /run/log/journal when serializing, since the machine ↵ | Lennart Poettering | |
ID might deviate | |||
2012-07-18 | journal: don't complain if the syslog forwarder socket doesn't exist | Lennart Poettering | |
2012-07-18 | journal: when we suggest a rotation, explain why | Lennart Poettering | |
2012-07-18 | journal: estimate data hash table size a bit larger by default | Lennart Poettering | |
2012-07-18 | journald: fix another bad memory access | Lennart Poettering | |
If we rotate due to header out of date we need the new journal file object, too. | |||
2012-07-18 | journald: fix bad memory access | Lennart Poettering | |
After vacuuming we need to retrieve the journal file object again, since it might have changed. | |||
2012-07-18 | keymap: Add Dell Latitude force-release quirk | Rex Tsai | |
Signed-off-by: Martin Pitt <martinpitt@gnome.org> | |||
2012-07-18 | service: don't print a warning if we are in autorestart state, and can't ↵ | Lennart Poettering | |
start a unit just yet | |||
2012-07-18 | service: make start jobs wait, not fail, when an automatic restart is queued | Lennart Poettering | |
When an automatic restart is already queued, then make subsequent start jobs wait until the restart can be handled (i.e. after the holdhoff time), instead of simply fail. | |||
2012-07-18 | unit: don't serialize job state, only unit state across switch-root | Lennart Poettering | |
2012-07-17 | switch-root: don't wait for processes | Lennart Poettering | |
When we transition from the initrd to the main system, don't reap processes, so that they can be handled normally after deserialization. | |||
2012-07-17 | journalctl: do not ellipsize when using pager | Zbigniew Jędrzejewski-Szmek | |
If a pager is used, ellipsization is redundant — the pager does that better by hiding the part that cannot be shown. Pager's advantage is that the user can press → to view the hidden part of a message, and then ← to return. | |||
2012-07-17 | logs: Adapt interface in log-show.c (show_journal_by_unit) | Zbigniew Jędrzejewski-Szmek | |
Convert more flag arguments into one flag variable. | |||
2012-07-17 | logs: Adapt interface in log-show.c (output_journal) | Zbigniew Jędrzejewski-Szmek | |
In preparation for adding more output switches, convert a series of flags arguments into one flag variable. | |||
2012-07-17 | Revert "keymap: add --version option" | Kay Sievers | |
This reverts commit d8f173fd2ee9ee60affa1a4d1a89f2501977fb0b. | |||
2012-07-17 | keymap: add --version option | Zbigniew Jędrzejewski-Szmek | |
2012-07-17 | systemd: add --version option | Zbigniew Jędrzejewski-Szmek | |
systemd --version mirrors systemctl --version: $ ./systemd --version systemd 186 other +PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP This information can be retrieved by other means (systemctl, etc.), but it's easier for a newbie if 'systemd --version' says something useful. And 'systemd --help' is already there, so let's complement that with '--version'. | |||
2012-07-17 | execute: free syscall filter array after use | Lennart Poettering | |
2012-07-17 | execute: support syscall filtering using seccomp filters | Lennart Poettering | |
2012-07-17 | journal: actually set archived files to archived state | Lennart Poettering | |
2012-07-17 | journalctl: decode more header files in --header | Lennart Poettering | |
2012-07-17 | journal: size journal data hash table based on maximum file size metrics | Lennart 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-17 | journal: immediately rotate when the journal was previously not closed properly | Lennart Poettering | |
2012-07-17 | journal: 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-16 | journal: use tail/head timestamps from header for cutoff logic | Lennart Poettering | |
We have them, they are faster to use them, so use them... | |||
2012-07-16 | journald: don't enforce monotonicity of realtime clocks when copying entries | Lennart 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-16 | core: fix name of dbus call parameter | Lennart Poettering | |
2012-07-16 | unit: set default working directory to the user's home directory when ↵ | Lennart Poettering | |
running in user mode | |||
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 | 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 |