Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-18 | journal: don't complain if the syslog forwarder socket doesn't exist | 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-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-13 | util: rename join() to strjoin() | Lennart Poettering | |
This is to match strappend() and the other string related functions. | |||
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-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 | journald: handle /proc/kmsg reads returning 0 more nicely | Lennart Poettering | |
2012-07-02 | journald: add Storage= setting to control where the journal is stored | 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: rotate on SIGUSR2 | Lennart Poettering | |
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 | 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-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-21 | journald: one more SYSLOG_IDENTIFIER length fix | Michal Schmidt | |
2012-05-21 | journald: fix length of "SYSLOG_IDENTIFIER=" | Michal Schmidt | |
Fixes weird messages like: May 20 22:23:30 jik2 TIFIER=systemd-logind[795]: New session 46 of user gdm. https://bugzilla.redhat.com/show_bug.cgi?id=823498 | |||
2012-04-13 | nspawn: fake /dev/kmsg and /proc/kmsg as fifo | Lennart Poettering | |
2012-04-13 | fix a couple of things found with the llvm static analyzer | Lennart Poettering | |
2012-04-12 | journald: add missing flag to open() | Lennart Poettering | |
2012-04-12 | relicense to LGPLv2.1 (with exceptions) | Lennart Poettering | |
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends. | |||
2012-04-11 | put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch] | Kay Sievers | |
2012-04-10 | rename basic.la to shared.la and put selinux deps in shared-selinx.la | Kay Sievers | |
Only 34 of 74 tools need libselinux linked, and libselinux is a pain with its unconditional library constructor. | |||
2012-04-10 | util: move ACL code into internal library | Kay Sievers | |
2012-04-03 | logind: log with AUTH facility | Lennart Poettering | |
2012-03-30 | rename /etc/systemd/systemd-{login,journal}d.conf to {login,journal}d.conf | Kay Sievers | |
2012-03-22 | add sparse support to detect endianness bug | Frederic Crozat | |
le16/32/64_t type should be used when storing little-endian value header to integrate with sparse from Josh Triplett <josh@joshtriplett.org> | |||
2012-03-21 | journal: PAGE_SIZE is not known on ppc and other archs | Lennart Poettering | |
Let's use NAME_MAX, as suggested by Dan Walsh | |||
2012-03-21 | journal: react with immediate rotation to a couple of more errors | Lennart Poettering | |
2012-03-15 | a couple of fixes to make llvm-analyze quiet | Lennart Poettering | |
2012-03-15 | journald: don't try to roatet corrupted files when we open read-only anyway | Lennart Poettering | |
2012-03-15 | journald: adjust permissions for rotated files | Lennart Poettering | |
2012-03-15 | journald: take corrupted files into account when calculating disk space | Lennart Poettering | |
2012-03-15 | journald: fix calculation of disk space | Lennart Poettering | |
2012-03-15 | journald: copy metrics/compression state from template when rotating | Lennart Poettering | |
2012-03-15 | journal: if we encounter a corrupted file, rotate and go on | Lennart Poettering | |
2012-03-15 | journald: fix typo | Lennart Poettering | |