Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-27 | journal: properly handle if we interleave files with different boot ids | Lennart Poettering | |
If we try to locate a monotonic time in a file that doesn't have any entries with the matching boot id, then don't fail on it, simply fall back to calendar time. | |||
2012-03-27 | cat: fix priority type | Lennart Poettering | |
Needs to be "int", not "char". Spotted by Frederic Crozat. | |||
2012-03-27 | journalctl: add --local switch | Lennart Poettering | |
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-16 | man: document systemd-journalctl(1) | Lennart Poettering | |
2012-03-15 | man: document systemd-journald.conf(5) | Lennart Poettering | |
2012-03-15 | man: document systemd-cat(1) | Lennart Poettering | |
2012-03-15 | journal: only use uint8_t for state | Frederic Crozat | |
2012-03-15 | a couple of fixes to make llvm-analyze quiet | Lennart Poettering | |
2012-03-15 | journalctl: add a missing 'break' | Tero Roponen | |
There is a 'break' missing in the -q handling so, for example, 'systemd-journalctl --new-id128 -q' does nothing. This patch fixes the problem. | |||
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: be a bit more verbose | 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 | journald: increase max file size to 128MB | Lennart Poettering | |
2012-03-15 | journal: vacuum corrupted files, too | 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 | |
2012-03-15 | journalctl: suppress messages about adm group if ACL support is not enabled | Lennart Poettering | |
2012-03-14 | journald: set SO_PASSEC only if selinux is enabled | Lennart Poettering | |
2012-03-14 | journalctl: warn if the user is not in the adm group | Lennart Poettering | |
2012-03-14 | journal: fix memory leak | Lennart Poettering | |
2012-03-14 | journal: Don't hold pointers to journal while remapping | Marti Raudsepp | |
Hi! I was trying out the journal and the journalctl utility sometimes crashed on me. After some debugging, I tracked it down to the fact that next_with_matches() holds the "c" object pointer through the journal_file_next_entry_for_data() call -- which apparently may re-map the journal file, invalidating the pointer. The attached patch fixes this crash for me, but being unfamiliar with the code, I don't know if I'm doing the right thing. This patch is also available from my github repository: git://github.com/intgr/systemd.git https://github.com/intgr/systemd Regards, Marti For the record, here's the original stack trace at the time of remapping: ret=0x7fff1d5cdec0) at src/journal/journal-file.c:330 ret=0x7fff1d5cdf28) at src/journal/journal-file.c:414 ret=0x7fff1d5ce0a0, offset=0x7fff1d5ce098) at src/journal/journal-file.c:1101 i=5705, ret=0x7fff1d5ce0a0, offset=0x7fff1d5ce098) at src/journal/journal-file.c:1147 p=6413608, data_offset=66600, direction=DIRECTION_DOWN, ret=0x7fff1d5ce0a0, offset=0x7fff1d5ce098) at src/journal/journal-file.c:1626 direction=DIRECTION_DOWN, ret=0x7fff1d5ce120, offset=0x7fff1d5ce128) at src/journal/sd-journal.c:533 direction=DIRECTION_DOWN, ret=0x7fff1d5ce170, offset=0x7fff1d5ce178) at src/journal/sd-journal.c:595 src/journal/sd-journal.c:651 From 9266fc6a58065a7c5dab67430fd78925e519dce9 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp <marti@juffo.org> Date: Fri, 9 Mar 2012 16:23:00 +0200 Subject: [PATCH] journal: Don't hold pointers to journal while remapping This would cause a segfault otherwise. | |||
2012-03-14 | journald: allocate PAGE_SIZE bytes for selinux label length | Lennart Poettering | |
As suggested in https://bugzilla.redhat.com/show_bug.cgi?id=798760 | |||
2012-03-13 | journald: use SCM_SECURITY to race-freely determine peer SELinux label | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=798760 | |||
2012-03-13 | socket: add option for SO_PASSEC | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=798760 (Note that this work is not complete yet, as the kernel seems to send us useless data with SCM_SECURITY enabled) | |||
2012-03-06 | journal: make sure to refresh window position and pointer after we linked up ↵ | Lennart Poettering | |
a data object | |||
2012-03-05 | journal: fix endianness errors | Frederic Crozat | |
2012-02-29 | systemd-journald: fix endianess bug | Dirk Eibach | |
2012-02-02 | coredump: avoid coredump loops, divert coredump if journald itself is crashing | Lennart Poettering | |
2012-01-31 | load-fragment: properly parse size values denoted in bytes | Lennart Poettering | |
2012-01-31 | journal: increase compression threshold for objects from 64 to 512 | Lennart Poettering | |
Apparently the perfomance price for compression is to steep to apply it for all objects >= 64 and < 512 in size, as measured by Arjan Van De Ven, hence increase the threshold to 512 which yields better results. | |||
2012-01-27 | log: increase socket buffers for logging by default | Lennart Poettering | |
2012-01-27 | log: never delay logging if the log server is stuck, always drop messages ↵ | Lennart Poettering | |
quickly | |||
2012-01-22 | cgtop: add new cgtop tool | Lennart Poettering | |
2012-01-21 | journal: systemd v38 fails to build on big-endians | Dan Horák | |
Hi, during the builds for Fedora/s390x I've found that systemd v38 fails to build on big-endian platforms. ... make[2]: Entering directory `/root/systemd' CC src/journal/libsystemd_journal_la-sd-journal.lo src/journal/sd-journal.c: In function 'init_location': src/journal/sd-journal.c:69:22: error: incompatible types when initializing type 'long unsigned int' using type 'sd_id128_t' src/journal/sd-journal.c:69:20: error: incompatible types when assigning to type 'sd_id128_t' from type 'long unsigned int' make[2]: *** [src/journal/libsystemd_journal_la-sd-journal.lo] Error 1 I see the problem in using le64toh() on the 16 bytes boot_id structure in init_location() Please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=544375 for a full build log and attachment for a proposed fix. With regards Dan | |||
2012-01-18 | journal: when sending journal data via file, place it in /dev/shm, to allow ↵ | Lennart Poettering | |
early boot operation, even if it sucks | |||
2012-01-18 | journalctl: properly honour -n when -f is passed, too | Lennart Poettering | |
2012-01-14 | journal: drop privileges when storing coredump | Lennart Poettering | |
2012-01-14 | util: introduce FORMAT_BYTES_MAX | Lennart Poettering | |
2012-01-14 | journal: collect coredump up to 24M in size | Lennart Poettering | |
2012-01-14 | journal: handle empty syslog identifier properly | Lennart Poettering | |
2012-01-14 | journal: fix bad memory access | Lennart Poettering | |
2012-01-14 | journal: if the data to be sent is larger than the maximum datagram size ↵ | Lennart Poettering | |
resort to passing a temporary fd over native protocol | |||
2012-01-14 | journal: hook up coredumping with journal | Lennart Poettering | |
2012-01-14 | journal: add new system-cat tool as kind of a more powerfull BSD logger | Lennart Poettering | |