Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-16 | journalctl: properly track rotated journals in follow mode | Lennart Poettering | |
2012-10-16 | sd-journal: fix bad memory access | Lennart Poettering | |
2012-10-16 | journal: implement time-based rotation/vacuuming | Lennart Poettering | |
This also enables time-based rotation (but not vacuuming) after 1month, so that not more one month of journal is lost at a time per vacuuming. | |||
2012-10-16 | journal: sort data items of entries by offset | Lennart Poettering | |
This should slightly optimize disk access patterns on rotating disks for simple readers. | |||
2012-10-16 | mount: don't try to initialize extra deps for mount units before ↵ | Lennart Poettering | |
initializing their basic fields Under some circumstances this could lead to a segfault since we we half-initialized a mount unit, then tried to hook it into the network of things and while doing that recursively ended up looking at our half-initialized mount unit again assuming it was fully initialized. | |||
2012-10-16 | logind: only release logind session from the PAM module if the same module ↵ | Lennart Poettering | |
instance actually created it | |||
2012-10-16 | id128: introduce new SD_ID128_CONST_STR() macro | Lennart Poettering | |
2012-10-16 | journal: don't export MESSAGE_ID() macro | Lennart Poettering | |
If it is exported it would need to be prefixed, but since we need it exclusively internally so far, simply move it to an internal header. | |||
2012-10-16 | service: Heuristically determine whether SysV scripts support reload | Michael Stapelberg | |
This commit checks for a usage line which contains [{|]reload[|}"] (to not errnously match force-reload). Heuristics like this suck, but it solves a real problem and there appears to be no better way... | |||
2012-10-16 | journal: Set the last_unused pointer correctly when attaching an unused window | Colin Guthrie | |
It seems the previous code was copy/pasted from context_detach_window() but not updated. | |||
2012-10-16 | journal: Properly track the number of allocated windows. | Colin Guthrie | |
Checks were already in place to make sure that the number of windows was limited to 64, but the count was never incremented or decremented. | |||
2012-10-16 | systemctl: append .service when unit does not have valid suffix | Lukas Nykryn | |
systemctl status a and systemctl status a.service lead to same output but systemctl status a.b and systemctl status a.b.service do not. | |||
2012-10-16 | journalctl: add --unit=/-u to match by unit name | Lennart Poettering | |
This applies unit_name_mangle() to the specified unit names and hence can handle weird characters nicely and will add unit suffixes as necessary. | |||
2012-10-16 | core/swap.c: Do not add Before=swap.target to swap units. | Thomas Bächler | |
The fstab generator adds Before=swap.target by default, and when creating a custom .swap unit, you can also add Before=swap.target to the unit. However, it is impossible to not have this ordering dependency right now. Virtually all existing setups likely use the fstab generator, so this change is unlikely to break anything. | |||
2012-10-16 | core: Refuse to run a user instance when the system hasn't been booted with ↵ | Thomas Bächler | |
systemd. Running as a user instance won't work at all if systemd isn't running as system manager, so refuse to start in that case. | |||
2012-10-16 | selinux: selabel_lookup_raw can return ENOENT and be a non failure mode. | Daniel J Walsh | |
2012-10-16 | SELinux patch still broken, in that we are not checking the correct source ↵ | Daniel J Walsh | |
context. This patch does the dbus calls correctly. | |||
2012-10-16 | core: allow Type=oneshot services to have ExecReload | Mantas Mikulėnas | |
Use cases: * iptables.service – atomically reload rules without having to flush them beforehand (which may leave the system insecure if reload fails) * rpc-nfsd.service – reexport filesystems after /etc/exports update without completely stopping and restarting nfsd (In both cases, the actual service is provided by a kernel module and does not have any associated user-space processes, thus Type=oneshot.) | |||
2012-10-16 | build-sys: check for name_to_handle_at declaration instead of its definition | Michael Olbrich | |
AC_CHECK_FUNCS may be successful, even though name_to_handle_at and 'struct file_handle' are not available. | |||
2012-10-16 | journalctl: harmonise in-stream comments | Lennart Poettering | |
From now on, always use ANSI-SQL-style comments in log streams, i.e. prefix with --. We also suffix things with this, just to be nice... | |||
2012-10-16 | util: properly handle -1 timespec/timeval | Lennart Poettering | |
2012-10-15 | journalctl: skip informational messages in export/json modes | Zbigniew Jędrzejewski-Szmek | |
2012-10-15 | systemctl: don't mangle name when it is a path | Lukas Nykryn | |
systemctl enable, disable, ... can also accept full path and in this case we don't need to alter it. https://bugzilla.redhat.com/show_bug.cgi?id=866346 | |||
2012-10-14 | journalctl: make --follow really work | Zbigniew Jędrzejewski-Szmek | |
2012-10-13 | journalctl: make --follow work again | Zbigniew Jędrzejewski-Szmek | |
Stopped working after cfbc22ab 'journalctl: implement --since= and --until for filtering by time'. | |||
2012-10-13 | journal-verify: get rid of an unused variable | Zbigniew Jędrzejewski-Szmek | |
When compiling without gcrypt, gcc emits an annoying warning. | |||
2012-10-13 | journald: add missing include | Zbigniew Jędrzejewski-Szmek | |
./src/journal/journald.h:123:114: warning: ‘struct ucred’ declared inside parameter list [enabled by default] | |||
2012-10-13 | journal-gatewayd: rename variables to avoid -Wshadow warning | Zbigniew Jędrzejewski-Szmek | |
2012-10-13 | journald: properly update message size after stripping the identifier | Zbigniew Jędrzejewski-Szmek | |
Valgrind says: ==29176== Conditional jump or move depends on uninitialised value(s) ==29176== at 0x412A85: cunescape_length_with_prefix (util.c:1565) ==29176== by 0x40B351: dev_kmsg_record (journald-kmsg.c:301) ==29176== by 0x40B653: server_read_dev_kmsg (journald-kmsg.c:347) ==29176== by 0x40B701: server_flush_dev_kmsg (journald-kmsg.c:365) ==29176== by 0x409DE7: main (journald.c:1535) | |||
2012-10-13 | journal: fix build in VALGRIND compatibility mode | Zbigniew Jędrzejewski-Szmek | |
2012-10-13 | log: introduce a macro to format message id | Zbigniew Jędrzejewski-Szmek | |
The MESSAGE_ID=... stanza will appear in countless number of places. It is just too long to write it out in full each time. Incidentally, this also fixes a typo of MESSSAGE is three places. | |||
2012-10-11 | udev: path_id - add scm support | Sebastian Ott | |
Add support for scm block devices. Introduced here: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f30664e2 Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> | |||
2012-10-11 | journalctl: implement --since= and --until for filtering by time | Lennart Poettering | |
2012-10-11 | journal: support epxorting the journal in a format suitable for ↵ | Lennart Poettering | |
text/event-stream | |||
2012-10-11 | journal: take scroll events in the entire white box in browse.html | Lennart Poettering | |
2012-10-11 | journal: make buttons bigger in browse.html | Lennart Poettering | |
2012-10-11 | journal: use localstorage instead of cookies in browse.html and store where ↵ | Lennart Poettering | |
the current position | |||
2012-10-11 | journal: move buttons to the center in browse.html | Lennart Poettering | |
2012-10-10 | journal: add mousewheel scrolling to browse.html | Kay Sievers | |
2012-10-10 | journal: add keyboard navigation to browse.html | Lennart Poettering | |
2012-10-10 | journal: properly HTML escape more output in browse.html | Lennart Poettering | |
2012-10-10 | journal: properly escape HTML entities in browse.html | Mantas Mikulėnas | |
2012-10-10 | journal: when browsing the journal via browse.html allow clicking on entries ↵ | Lennart Poettering | |
to show their details | |||
2012-10-10 | journal: drop path name from cursor strings | Lennart Poettering | |
we had this mostly for debugging purposes and it was ignored when parsing anyway, so let's get rid of it | |||
2012-10-10 | keymap: Fix scan codes > 0x7FFFFFFF | Martin Pitt | |
According to Linux drivers/input/evdev.c, scan codes are unsigned, not int nor uint32_t. Thanks to Dejan Tosovic <dejan@post.com> for reporting this! | |||
2012-10-10 | gatewayd: beef up browse.html a bit | Lennart Poettering | |
2012-10-10 | journal: fix seeking backwards in gateway daemon | Lennart Poettering | |
2012-10-10 | journal: update comments a bit | Lennart Poettering | |
2012-10-10 | journalctl: properly parse --cursor= long getopt in addition to short -c | Lennart Poettering | |
2012-10-10 | journal: make sure sd_journal_seek_cursor() seeks to the specified entry if ↵ | Lennart Poettering | |
it exists, not one after it |