Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-06 | systemd: do not remove empty paths from unit lookup path | Zbigniew Jędrzejewski-Szmek | |
The ability to start a new unit with 'systemctl start ...' should not depend on whether there are other units in the directory. Previously, an additional 'systemctl daemon-reload' would be necessary to tell systemd to update the list of unit lookup paths. | |||
2013-02-07 | strv: add strv_print | Thomas Hindoe Paaboel Andersen | |
Clearer, and spares the temp variable. | |||
2013-01-29 | install: allow %u an and %U specifiers in WantedBy/RequiredBy/Alias | Zbigniew Jędrzejewski-Szmek | |
2013-01-29 | install: allow specifiers in WantedBy/RequiredBy/Alias | Zbigniew Jędrzejewski-Szmek | |
This allows one templated unit to refer to another templated unit at installation time. Examples: > grep WantedBy ~/.config/systemd/user/mpop@.timer WantedBy=services@%i.target > srv disable mpop@iit.timer rm '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' > srv enable mpop@iit.timer ln -s '/home/alxchk/.config/systemd/user/mpop@.timer' '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' Based-on-patch-by: Oleksii Shevchuk <alxchk@gmail.com> | |||
2013-01-29 | Move generic specifier functions to shared | Zbigniew Jędrzejewski-Szmek | |
No functional change. This makes it possible to use them in install.c. | |||
2013-01-29 | install: automatic cleanup using local cleanup functions | Zbigniew Jędrzejewski-Szmek | |
2013-01-29 | install: use automatic cleanup in find_symlinks_fd() | Zbigniew Jędrzejewski-Szmek | |
2013-01-29 | shared: introduce _cleanup_set_free_free_ | Zbigniew Jędrzejewski-Szmek | |
2013-01-25 | Add _cleanup_pclose_ and fix mismatching pipe close opened by popen() | Zbigniew Jędrzejewski-Szmek | |
Based-on-patch-by: Thomas Jarosch <thomas.jarosch@intra2net.com> cppcheck reported: [src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f | |||
2013-01-24 | efi: fix Usec vs. USec | Kay Sievers | |
2013-01-23 | efi: read microseconds from boot loader info instead of "ticks" magic | Kay Sievers | |
2013-01-21 | efi: add efi boot generator that automatically mounts the ESP to /boot | Lennart Poettering | |
2013-01-21 | util: move is_efiboot() to efivars.c | Lennart Poettering | |
2013-01-19 | core: if the bootloader supports it, determine firmware and boot loader delay | Lennart Poettering | |
This allows us to print simple performance data of all parts of the boot now: - firmware - boot loader - kernel - initrd - userspace This only works for bootloaders which support passing TSC data via EFI variables. As of now that's only gummiboot. | |||
2013-01-19 | unit: optionally allow making cgroup attribute changes persistent | Lennart Poettering | |
2013-01-19 | cgroup: additional validity checks for cgroup attribute names | Lennart Poettering | |
2013-01-18 | core/cgroup-util: simplify functions and add tests | Zbigniew Jędrzejewski-Szmek | |
2013-01-18 | core/group-util: merge two functions | Zbigniew Jędrzejewski-Szmek | |
2013-01-18 | logs-show: add show_journal_by_user_unit | Mirco Tischler | |
Print the journal for a user session unit. For now this filters by _SYSTEMD_USER_UNIT and USER_UNIT and additionally _UID. | |||
2013-01-18 | journal: log _SYSTEMD_USER_UNIT for user session units | Mirco Tischler | |
2013-01-18 | util: modernization and test for load_env_file | Zbigniew Jędrzejewski-Szmek | |
2013-01-18 | util: continuation support for load_env_file | Michal Vyskocil | |
Variable definitions can be written on more than one line - if each ends with a backslash, then is concatenated with a previous one. Only backslash and unix end of line (\n) are treated as a continuation. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=58083 [zj: squashed two patches together; cleaned up grammar; removed comment about ignoring trailing backslash -- it is not ignored.] Document continuation support in systemd.exec | |||
2013-01-18 | share/log: skip file/line/func info if empty | Zbigniew Jędrzejewski-Szmek | |
The new microhttpd logger doesn't know this information. It is better to log nothing than fake values. | |||
2013-01-18 | share/log: unify two code paths | Zbigniew Jędrzejewski-Szmek | |
Explicit zeroing is replaced with initialization to {0}. No functional change. | |||
2013-01-18 | systemctl: add new "get-cgroup-attr" to query current cgroup attribute value | Lennart Poettering | |
Also adds a pair of bus calls for this to the daemon. | |||
2013-01-18 | strv: make strv_extend() smarter | Lennart Poettering | |
2013-01-17 | systemctl add command list-dependencies | Lukas Nykryn | |
systemctl list-dependencies lists all unit's dependecies and recursively expands all subsidiary target units into a tree. Primary purpose for this command is to show all units which are enabled in specified target. | |||
2013-01-17 | util: fix bad memory access | Lennart Poettering | |
2013-01-17 | units: for all unit settings that take lists, allow the empty string for ↵ | Lennart Poettering | |
resetting the lists https://bugzilla.redhat.com/show_bug.cgi?id=756787 | |||
2013-01-16 | systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is ↵ | Lukas Nykryn | |
specified New file output.h with output flags and modes. --full parameter also for cgls and loginctl. Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup, show_cgroup_and_extra, show_cgroup_and_extra_by_spec). get_process_cmdline with max_length == 0 will not ellipsize output. Replace LINE_MAX with 0 in some calls of get_process_cmdline. [zj: Default to --full when under pager for clgs. Drop '-f' since it wasn't documented and didn't actually work. Reindent a bit. ] | |||
2013-01-16 | logs-show: automatic cleanup | Zbigniew Jędrzejewski-Szmek | |
2013-01-15 | systemctl: when inhibiting shutdown/suspend also check for other login sessions | Lennart Poettering | |
2013-01-14 | systemctl: be smarter when mangling snapshot names | Lennart Poettering | |
For "systemctl snapshot" it makes no sense to complete an incomplete name with ".service" as we previously did, use ".snapshot" instead. Also, don't bother with mount units or suchlike, we know that this must be a snapshot and hence is the only sane way for completion. | |||
2013-01-14 | core: add bus API and systemctl commands for altering cgroup parameters ↵ | Lennart Poettering | |
during runtime | |||
2013-01-11 | unit: instead of directly loading drop-in configuration snippets use ↵ | Lennart Poettering | |
conf_files_list_strv() This has the benefit of allowing the usual overriding/masking knowledge everybody loves so much. | |||
2013-01-10 | dbus: properly serialize calendar timer data | Lennart Poettering | |
As it turns out the bus properties for timer units wre really broken, so let's clean this up for good and properly add calendar timer serialization. We really should get that right before finalizing the bus API documentation in the wiki... | |||
2013-01-09 | udev: move string copy functions to shared/ | Kay Sievers | |
2013-01-08 | core: properly initialize kernel timestamp | Lennart Poettering | |
2013-01-07 | localectl: use automatic cleanup | Zbigniew Jędrzejewski-Szmek | |
set_freep() is added to automatize set_free(). | |||
2013-01-06 | journal: new logging macros to include UNIT= | Zbigniew Jędrzejewski-Szmek | |
Adding UNIT= to log lines allows them to be shown in 'systemctl status' output, etc. A new set of macros and functions is added. This allows for less verbose notation than using log_struct() explicitly. The set of logging functions is expanded to take a pair of arguments (e.g. "UNIT=" and the RHS) which add an extra line to the structured log entry. This can be used to add macros which add a different identifier later on. | |||
2013-01-06 | build-sys: use VALGRIND not __OPTIMIZE__ as condition for valgrind compat | Zbigniew Jędrzejewski-Szmek | |
Actually, one might want to run valgrind even on optimized code. Now the same check is used in the jenkins hash functions and hashtable. | |||
2013-01-04 | Make gcc a bit quieter | Lennart Poettering | |
2012-12-31 | unit: add ConditionACPower= | Lennart Poettering | |
2012-12-31 | macro: use C11 static_assert() macro for static assertions | Lennart Poettering | |
2012-12-24 | util: if /sys mounted read-only we can't suspend/hibernate | Lennart Poettering | |
2012-12-24 | util: when determining controlling tty of a process properly handle ↵ | Lennart Poettering | |
processes without | |||
2012-12-24 | logind: add support for automatic suspend/hibernate/shutdown on idle | Lennart Poettering | |
2012-12-24 | systemctl: don't show cgroup field for a unit if cgroup is empty | Lennart Poettering | |
2012-12-23 | shared: move fdset.c from core/ to shared/ since it is used by more than the ↵ | Lennart Poettering | |
core now | |||
2012-12-23 | journalctl: strip TABs and ANSI color sequences from log messages when ↵ | Lennart Poettering | |
displaying them |