Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | journal: properly export sd_journal_add_disjunction() | 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 | |
2012-07-13 | journal: fix bisection logic for first entry | Lennart Poettering | |
2012-07-13 | journal: fix interleaving of files with different time sources | Lennart Poettering | |
2012-07-11 | journal: replace implicit flushing of journal by explicit one | Lennart Poettering | |
The old automatism that the flushing of the journal from /run to /var was triggered by the appearance of /var/log/journal is broken if that directory is mounted from another host and hence always available to be useful as mount point. To avoid probelsm with this, introduce a new unit that is explicitly orderer after all mounte files systems and triggers the flushing. | |||
2012-07-11 | journalctl: add a marker to log output for reboots | Lennart Poettering | |
With this we'll print a marker "----- Reboot -----" between two subsequent lines with different boot IDs. | |||
2012-07-11 | journal: rework directory enumeration/watch logic | Lennart Poettering | |
There's now sd_journal_new_directory() for watching specific journal directories. This is exposed in journalctl -D. sd_journal_wait() and sd_journal_process() now return whether changes in the journal are invalidating or just appending. We now create inotify kernel watches only when we actually need them | |||
2012-07-10 | journal: introduce sd_journal_wait() to simplify writing synchronous clients | Lennart Poettering | |
2012-07-10 | journald: use "persistent", not "permanent" as storage option | Lennart Poettering | |
"permanent" is simply the wrong term and we use "persistant" in most other contexts to correct this. | |||
2012-07-09 | paranoia: refuse rm_rf("/") | Lennart Poettering | |
2012-07-03 | journal: default ImportKernel=no until we make use of structured logging | Lennart Poettering | |
2012-07-03 | journal: move Storage=auto stanza to right file | Lennart Poettering | |
2012-07-03 | journald: handle /proc/kmsg reads returning 0 more nicely | Lennart Poettering | |
2012-07-03 | journal: fix iteration through journal if one file is corrupt | Lennart Poettering | |
2012-07-02 | journald: add Storage= setting to control where the journal is stored | Lennart Poettering | |
2012-07-02 | journalctl: add new switch -b to show data from current boot only | Lennart Poettering | |
2012-06-22 | cryptsetup: allow configuration of LUKS disks via the kernel cmdline | Lennart Poettering | |
This generalizes a bit of the functionality already available in dracut. | |||
2012-06-22 | man: document all kernel command line options we understand | Lennart Poettering | |
2012-06-22 | journal: fix sd_journal_stream_fd() | Lennart Poettering | |
2012-06-22 | journal: set the _SYSTEMD_UNIT field for messages from terminated processes | Eelco Dolstra | |
As described in https://bugs.freedesktop.org/show_bug.cgi?id=50184 the journal currently doesn't set fields such as _SYSTEMD_UNIT properly for messages coming from processes that have already terminated. This means among other things that "systemctl status" may not show some of the output of services that wrote messages just before they exited. This patch fixes this by having processes that log to the journal write their unit identifier to journald when the connection to /run/systemd/journal/stdout is opened. Journald stores the unit ID and uses it to fill in _SYSTEMD_UNIT when it cannot be obtained normally (i.e. from the cgroup). To prevent impersonating another unit, this information is only used when the caller is root. This doesn't fix the general problem of getting metadata about messages from terminated processes (which requires some kernel support), but it allows "systemctl status" and similar queries to do the Right Thing for units that log via stdout/stderr. | |||
2012-06-17 | journal: fix monotonic seeking | Lennart Poettering | |
2012-06-17 | journal: rotate on SIGUSR2 | Lennart Poettering | |
2012-06-17 | journal: fix SD_JOURNAL_SYSTEM_ONLY flag | Lennart Poettering | |
2012-06-17 | journal: expose and make use of cutoff times of journal | Lennart Poettering | |
This helps explaining when the log output of "systemctl status" is incomplete because the logs got rotated since the service was started. | |||
2012-06-17 | journal: correct list link up on hash collisions | Lennart Poettering | |
2012-06-17 | journal: add basic object definition for signatures | Lennart Poettering | |
2012-06-17 | journal: replace arena offset by header size | Lennart Poettering | |
2012-06-12 | journal-file: fix mmap leak | Michal Schmidt | |
https://bugzilla.redhat.com/show_bug.cgi?id=831132 | |||
2012-06-01 | journal: allow setting of a cutoff log level for disk storage, syslog, kmsg, ↵ | Lennart Poettering | |
console forwarding | |||
2012-06-01 | journal: support changing the console tty to forward to | Lennart Poettering | |
2012-05-31 | mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵ | Kay Sievers | |
context | |||
2012-05-31 | journald: properly handle if we have no PID in a kmsg line | Lennart Poettering | |
2012-05-30 | journal: don't allow adding invalid matches to the context | Lennart Poettering | |
2012-05-30 | journalctl: check first if match is a path name | Lennart Poettering | |
2012-05-30 | journalctl: support /usr/bin/nginx, etc | Shawn Landden | |
2012-05-30 | journalctl: for now complain if more than one match is provided since this ↵ | Lennart Poettering | |
is still broken | |||
2012-05-30 | build-sys: fix built with --disable-logind | Lennart Poettering | |
2012-05-30 | journald: ignore messages read from /proc/kmsg that we generated via /dev/kmsg | Lennart Poettering | |
Avoid a busy loop. | |||
2012-05-27 | journald: refer to the correct man page | Matthias Clasen | |
Fix the reference to the journald.conf man page in the config file of the same name. | |||
2012-05-24 | build-sys: prepare release 183 | Lennart Poettering | |
2012-05-23 | journal: don't complain if SELinux userspace is available but the kernel ↵ | Lennart Poettering | |
lacks it | |||
2012-05-22 | log: make sure generators never log into the journal to avoid activation ↵ | Lennart Poettering | |
deadlocks This makes all generators log to kmsg by default. | |||
2012-05-22 | journal: log journal internal messages to kmsg | Lennart Poettering | |
2012-05-22 | journal: crash when filesystem is low on space | Sjoerd Simons | |
When space is getting too low on a file system rotating the journal file will fail after the rotation, as opening the new logfile will fail. Recognize this when logging the error and don't try to dereference a NULL JournalFile pointer. | |||
2012-05-22 | Fixed handling of posix_fallocate() returned value | Guillermo Vidal | |
According to the man pages of posix_fallocate, it returns zero on success or an error number on failure; however, errno is not set on failure. If the kernel or a library other than glibc does not support the function for example, EOPNOTSUPP will be returned and the error will not be handled properly with original code. |