Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-27 | Revert "log: fix fallbacks to kmsg" | Lennart Poettering | |
This reverts commit 4a01181e460686d8b4a543b1dfa7f77c9e3c5ab8. This patch broke LOG_TARGET_AUTO, i.e. automatic selection of STDERR if it is a TTY with a fallback on the journal and kmsg otherwise. The general rule should probably be: log_open() -- open the "best" possible logging channel according to log_target configuration. log_dispatch() -- don't open any log channels ever, with the exception of kmsg since that has no drawbacks. And do this only on true errors of the better log channel, not just when it wasn't opened. | |||
2013-02-27 | mount-setup: mount pstore filesystem | Kay Sievers | |
2013-02-26 | log-show: look at everything in /run/log/journal | Zbigniew Jędrzejewski-Szmek | |
Logs written by journald from the initramfs may be written to a directory with the name created from a random machine-id. Afterwards, when the root filesystem has been mounted and machine-id reinitalized, logs will be written to the directory with a name created from the proper machine-id. When logs are flushed to /var/log/journal, everything is copied to one output directory. When journalctl without '-m' is run after the logs have been flushed to /var/log/journal, all messages are shown. However, when run while logs are still in /run/log/journal, those stored under the random machine-id will not be shown. Make journalctl behave the same regardless whether persistent storage has been enabled or not, and slurp all files from /run/log/journal even without '-m'. | |||
2013-02-26 | bash-completion: journalctl query by binary and device | Zbigniew Jędrzejewski-Szmek | |
The approach taken is different between the two: - since there are many files in /usr, but messages appear only for a tiny subset, the completion is performed only for stuff shown by journalctl -F _EXE. This makes sense because the list is already in proper form. - since it is hard to convert _KERNEL_DEVICE to device file name, simply all files in /dev/ are used as possible completions. Unfortunately zsh completion requires more work and is not covered by this commit. | |||
2013-02-27 | update TODO, hackfest edition | Lennart Poettering | |
2013-02-26 | test-util.c: added hexchar, unhexchar, octchar, unoctchar, decchar, ↵ | Daniel Buch | |
undecchar tests | |||
2013-02-26 | TODO: update | Kay Sievers | |
2013-02-26 | kernel-install: rename the loader entry filename | Harald Hoyer | |
The wildcard matching the default loader entry should always be able to point to the same machine. So instead of sorting by <distribution>-<kernel-version>-<machine-id> we better sort by <machine-id>-<kernel-version>. | |||
2013-02-26 | kernel-install: create the loader entries with absolute paths relative to /boot | Harald Hoyer | |
2013-02-26 | kernel-install: replace URLs with man pages in the error messages | Harald Hoyer | |
2013-02-26 | kernel-install: fixed paths in boot loader entry | Harald Hoyer | |
For the loader entry a relative path has to be used. | |||
2013-02-25 | tests: add a few more tests to test-util.c | Thomas Hindoe Paaboel Andersen | |
Add asserts on the resutls in FOREACH_WORD_QUOTED Added tests for: FOREACH_WORD strstrip delete_chars in_charset | |||
2013-02-25 | kernel-install: remove LANG= | Kay Sievers | |
2013-02-25 | nspawn: add --bind= and --bind-ro= to bind mount host paths into the container | Lennart Poettering | |
2013-02-25 | kernel-install(8): add documentation about the configuration files used | Harald Hoyer | |
2013-02-25 | kernel-install: add kernel-install tool | Harald Hoyer | |
2013-02-25 | Revert "nspawn: catch config mistake of specifying -b and args" | Michal Schmidt | |
This reverts commit cb96a2c69a312fb089fef4501650f4fc40a1420b. It is not a mistake to pass args when -b is specified. They will simply be passed on to the container's init. The manpage needs fixing, that's true. | |||
2013-02-25 | debug-shell: don't be picky, use /bin/sh rather than /bin/bash | Tom Gundersen | |
In a minimal initramfs, one might not always have the full bash available. Typically if using busybox. | |||
2013-02-24 | build: remove explicit -shared in LDFLAGS | Dave Reisner | |
This doesn't need to be passed, as it's handled by libtool. Since the default for autoconf is --disable-static, this change is effectively a noop. It only matters if you pass --enable-static, in which case the static libs for systemd libraries will actually be built. Nitpicky, but this only affects systemd libs. The override for the other libs remains since these libs are always loaded dynamically and never compiled staticly. | |||
2013-02-24 | journal: fix --until | Paul W. Frields | |
https://bugs.freedesktop.org/show_bug.cgi?id=58946 | |||
2013-02-24 | nspawn: catch config mistake of specifying -b and args | Zbigniew Jędrzejewski-Szmek | |
2013-02-23 | test: test irreversible jobs | Michal Schmidt | |
2013-02-22 | systemd-python: indenation and style tweaks | Zbigniew Jędrzejewski-Szmek | |
2013-02-22 | build-sys: move systemd-analyze to /usr/bin | Kay Sievers | |
2013-02-22 | systemd-python: downgrade _reader.c to C89 | Zbigniew Jędrzejewski-Szmek | |
2013-02-22 | systemd-python: add casts and fix unused variable warnings in _reader | Zbigniew Jędrzejewski-Szmek | |
2013-02-22 | systemd-python: wrap some python differences using macros | Zbigniew Jędrzejewski-Szmek | |
2013-02-22 | systemd-python: introduce error setting helper | Zbigniew Jędrzejewski-Szmek | |
2013-02-22 | systemd-python: Added doc string for Journal | Steven Hiscocks | |
2013-02-22 | systemd-python: Journal convert_unicode exception handling change | Steven Hiscocks | |
Rather than catch all, is now limited to UnicodeDecodeError | |||
2013-02-22 | systemd-python: add Journal method to add MESSAGE_ID match | Steven Hiscocks | |
2013-02-22 | systemd-python: fix memory leak in _reader and minor bugs | Steven Hiscocks | |
iternext now checks for error from get_next, and changed a DECREF to XDECREF rather than NULL check | |||
2013-02-22 | systemd-python: update Journal python docstrings | Steven Hiscocks | |
2013-02-22 | systemd-python: tidy up import names in journal | Steven Hiscocks | |
2013-02-22 | systemd-python: Journal this_boot/machine now accepts ID | Steven Hiscocks | |
2013-02-22 | systemd-python: remove unneeded ifdef for query_unique | Steven Hiscocks | |
2013-02-22 | systemd-python: _reader now takes unix timestamp in seconds | Steven Hiscocks | |
2013-02-22 | systemd-python: Update _reader docstrings | Steven Hiscocks | |
2013-02-22 | systemd-python: _reader add_match takes single string | Steven Hiscocks | |
python code now takes care of multiple matches | |||
2013-02-22 | systemd-python: correct data_threshold error return value | Steven Hiscocks | |
2013-02-22 | systemd-python: updated _reader header to standard license | Steven Hiscocks | |
2013-02-22 | systemd-python: Moved _reader datetime usage to python | Steven Hiscocks | |
2013-02-22 | systemd-python: Tidy up _reader error handling | Steven Hiscocks | |
2013-02-22 | systemd-python: some python3 and bug fixes | Steven Hiscocks | |
2013-02-22 | systemd-python: implement this_boot/this_machine in Python | Steven Hiscocks | |
2013-02-22 | systemd-python: Journal log_level moved to python | Steven Hiscocks | |
2013-02-22 | sphinx: document Journal class too | Zbigniew Jędrzejewski-Szmek | |
2013-02-22 | systemd-python: move default call dicts from C to python | Steven Hiscocks | |
2013-02-22 | systemd-python: MESSAGE_ID as UUID for Journal | Steven Hiscocks | |
2013-02-22 | systemd-python: moved PyRun_String to journal.py code | Steven Hiscocks | |