Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-28 | util, core: add support for ephemeral status lines | Michal Schmidt | |
Ephemeral status lines do not end with a newline and they expect to be overwritten by the next printed status line. | |||
2013-02-28 | core/transaction: replace a bare status_printf() | Michal Schmidt | |
Like other status messages, this one too should not be printed unconditionally, but it should take the manager state into account. unit_status_printf() does that. | |||
2013-02-28 | core: redefine unit_status_printf() | Michal Schmidt | |
Take advantage of the fact that almost all callers want to pass unit description as the last parameter. Those who don't can use the more flexible manager_status_printf(). | |||
2013-02-28 | core/manager: make a couple of functions static | Michal Schmidt | |
They're not used outside manager.c anymore. | |||
2013-02-28 | core: add manager_status_printf() | Michal Schmidt | |
unit_status_printf() checks the state of the manager, not of the unit as such. Move it to manager.c and rename it to manager_status_printf(). Temporarily keep unit_status_printf as a wrapper macro. | |||
2013-02-27 | core: keep track of the number of JOB_RUNNING jobs | Michal Schmidt | |
2013-02-27 | systemctl: fix minimal number of params for new cgroup commands | Lennart Poettering | |
2013-02-27 | unit: rework resource management API | Lennart Poettering | |
This introduces a new static list of known attributes and their special semantics. This means that cgroup attribute values can now be automatically translated from user to kernel notation for command line set settings, too. This also adds proper support for multi-line attributes. | |||
2013-02-27 | systemctl: fix indentation | Lennart Poettering | |
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 | test-util.c: added hexchar, unhexchar, octchar, unoctchar, decchar, ↵ | Daniel Buch | |
undecchar tests | |||
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: 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-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-22 | systemd-python: indenation and style tweaks | Zbigniew Jędrzejewski-Szmek | |
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 | |