summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-27man: fix docbook in systemd-activate(8)Zbigniew Jędrzejewski-Szmek
2013-02-27man: document systemd-nspawn behaviour with -bZbigniew Jędrzejewski-Szmek
Cf. cb96a2c69 and 1ddf879a.
2013-02-27systemd-activate: add a socket-activation test toolZbigniew Jędrzejewski-Szmek
2013-02-27nspawn: environment would be truncated with TERM unsetZbigniew Jędrzejewski-Szmek
2013-02-27man: drop rhs parts in snippets in directive indexZbigniew Jędrzejewski-Szmek
- --exit-if-exists=file + --exit-if-exists= etc.
2013-02-27build-sys: fix update-man-rules for vpath buildsZbigniew Jędrzejewski-Szmek
2013-02-27build-sys: tell Makefile.am to distribute kernel-installZbigniew Jędrzejewski-Szmek
2013-02-28core/manager: print status messages about running jobsMichal Schmidt
Sometimes the boot gets stuck until a timeout hits. The usual timeouts are on the order of minutes, so users may lose patience. Print animated status messages telling the names of units with running jobs to make it easy to see what systemd is waiting for. The animation looks cooler with a shorter interval, but 1 s is OK and should not be too hard on slow serial console users.
2013-02-28core: count active units that may mind our printing to /dev/consoleMichal Schmidt
2013-02-28core/execute: determine if ExecContext may fiddle with /dev/consoleMichal Schmidt
There is some guesswork, but it should work satisfactorily for the purpose of knowing when to suppress printing of status messages.
2013-02-28core/execute: add internal is_terminal_output()Michal Schmidt
Similar to already existing is_terminal_input(). Note that the only current user (connect_logger_as) is never called for EXEC_OUTPUT_TTY, so it won't mind whether we accept it.
2013-02-28util: split resolving of /dev/console into a new functionMichal Schmidt
2013-02-28core/unit: use a temp variable for manager pointer in unit_notify()Michal Schmidt
2013-02-28util, core: add support for ephemeral status linesMichal Schmidt
Ephemeral status lines do not end with a newline and they expect to be overwritten by the next printed status line.
2013-02-28core/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-28core: 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-28core/manager: make a couple of functions staticMichal Schmidt
They're not used outside manager.c anymore.
2013-02-28core: 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-27core: keep track of the number of JOB_RUNNING jobsMichal Schmidt
2013-02-27man: document the new systemctl cgroup commandsLennart Poettering
2013-02-27systemctl: fix minimal number of params for new cgroup commandsLennart Poettering
2013-02-27update TODOLennart Poettering
2013-02-27unit: rework resource management APILennart 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-27systemctl: fix indentationLennart Poettering
2013-02-27update TODOLennart Poettering
2013-02-27man: clarify how to configure default control group hierarchies for services ↵Lennart Poettering
and sessions
2013-02-27Revert "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-27mount-setup: mount pstore filesystemKay Sievers
2013-02-26log-show: look at everything in /run/log/journalZbigniew 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-26bash-completion: journalctl query by binary and deviceZbigniew 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-27update TODO, hackfest editionLennart Poettering
2013-02-26test-util.c: added hexchar, unhexchar, octchar, unoctchar, decchar, ↵Daniel Buch
undecchar tests
2013-02-26TODO: updateKay Sievers
2013-02-26kernel-install: rename the loader entry filenameHarald 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-26kernel-install: create the loader entries with absolute paths relative to /bootHarald Hoyer
2013-02-26kernel-install: replace URLs with man pages in the error messagesHarald Hoyer
2013-02-26kernel-install: fixed paths in boot loader entryHarald Hoyer
For the loader entry a relative path has to be used.
2013-02-25tests: add a few more tests to test-util.cThomas Hindoe Paaboel Andersen
Add asserts on the resutls in FOREACH_WORD_QUOTED Added tests for: FOREACH_WORD strstrip delete_chars in_charset
2013-02-25kernel-install: remove LANG=Kay Sievers
2013-02-25nspawn: add --bind= and --bind-ro= to bind mount host paths into the containerLennart Poettering
2013-02-25kernel-install(8): add documentation about the configuration files usedHarald Hoyer
2013-02-25kernel-install: add kernel-install toolHarald Hoyer
2013-02-25Revert "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-25debug-shell: don't be picky, use /bin/sh rather than /bin/bashTom Gundersen
In a minimal initramfs, one might not always have the full bash available. Typically if using busybox.
2013-02-24build: remove explicit -shared in LDFLAGSDave 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-24journal: fix --untilPaul W. Frields
https://bugs.freedesktop.org/show_bug.cgi?id=58946
2013-02-24nspawn: catch config mistake of specifying -b and argsZbigniew Jędrzejewski-Szmek
2013-02-23test: test irreversible jobsMichal Schmidt
2013-02-22build-sys: move systemd-analyze to /usr/binKay Sievers
2013-02-22TODO: drop two itemsZbigniew Jędrzejewski-Szmek