Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-15 | everywhere: port everything to sigprocmask_many() and friends | Lennart Poettering | |
This ports a lot of manual code over to sigprocmask_many() and friends. Also, we now consistly check for sigprocmask() failures with assert_se(), since the call cannot realistically fail unless there's a programming error. Also encloses a few sd_event_add_signal() calls with (void) when we ignore the return values for it knowingly. | |||
2015-06-14 | tree-wide: fix memory leaks in users of bus_map_all_properties() | David Herrmann | |
If you use bus_map_all_properties(), you must be aware that it might touch output variables even though it may fail. This is, because we parse many different bus-properties and cannot tell how to clean them up, in case we fail deep down in the parser. Fix all callers of bus_map_all_properties() to correctly cleanup any context structures at all times. | |||
2015-05-29 | util: split out signal-util.[ch] from util.[ch] | Lennart Poettering | |
No functional changes. | |||
2015-05-15 | systemctl: introduce --now for enable, disable and mask | Jan Synacek | |
https://bugs.freedesktop.org/show_bug.cgi?id=42940 | |||
2015-05-06 | machinectl: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2015-05-05 | core: rework unit name validation and manipulation logic | Lennart Poettering | |
A variety of changes: - Make sure all our calls distuingish OOM from other errors if OOM is not the only error possible. - Be much stricter when parsing escaped paths, do not accept trailing or leading escaped slashes. - Change unit validation to take a bit mask for allowing plain names, instance names or template names or an combination thereof. - Refuse manipulating invalid unit name | |||
2015-04-29 | sd-bus: drop bus parameter from message callback prototype | Lennart Poettering | |
This should simplify the prototype a bit. The bus parameter is redundant in most cases, and in the few where it matters it can be derived from the message via sd_bus_message_get_bus(). | |||
2015-04-11 | shared: add terminal-util.[ch] | Ronny Chevalier | |
2015-04-10 | shared: add process-util.[ch] | Ronny Chevalier | |
2015-03-13 | tree-wide: there is no ENOTSUP on linux | David Herrmann | |
Replace ENOTSUP by EOPNOTSUPP as this is what linux actually uses. | |||
2015-03-10 | man: document "machinectl export-tar" and "export-raw" | Lennart Poettering | |
2015-03-09 | machinectl: remove unused variables | Thomas Hindoe Paaboel Andersen | |
2015-03-09 | importd: add API for exporting container/VM images | Lennart Poettering | |
Also, expose it in machinectl. | |||
2015-03-05 | machinectl: minor --help text improvements | Lennart Poettering | |
2015-03-05 | importd: add new bus calls for importing local tar and raw images | Lennart Poettering | |
This also adds "machinectl import-raw" and "machinectl import-tar" to wrap these new bus calls. THe commands basically do for local files that "machinectl pull-raw" and friends do for remote files. | |||
2015-03-02 | machinectl: update --help text to clarify that set-limit can also change ↵ | Lennart Poettering | |
pool size | |||
2015-02-25 | machined,machinectl: add calls for changing container/VM quotas | Lennart Poettering | |
2015-02-24 | machined/machinectl: when "machinectl image-status" is used without ↵ | Lennart Poettering | |
arguments show statistics about pool | |||
2015-02-23 | remove unused includes | Thomas Hindoe Paaboel Andersen | |
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use. | |||
2015-02-18 | nspawn: when connected to pipes for stdin/stdout, pass them as-is to PID 1 | Lennart Poettering | |
Previously we always invoked the container PID 1 on /dev/console of the container. With this change we do so only if nspawn was invoked interactively (i.e. its stdin/stdout was connected to a TTY). In all other cases we directly pass through the fds unmodified. This has the benefit that nspawn can be added into shell pipelines. https://bugs.freedesktop.org/show_bug.cgi?id=87732 | |||
2015-02-18 | machinectl: issue all bus commands while allowing interactive auth | Lennart Poettering | |
2015-02-17 | machined: make "machinectl copy-to" and "machinectl copy-from" server side ↵ | Lennart Poettering | |
operations This way, any bus client can make use of these calls. | |||
2015-02-17 | machined: move logic for bind mounting into containers from machinectl to ↵ | Lennart Poettering | |
machined This extends the bus interface, adding BindMountMachine() for bind mounting directories from the host into the container. | |||
2015-02-11 | tree-wide: whenever we include libgen.h, immediately undefine basename() | Lennart Poettering | |
Also, document in adjacent comments and in CODING_STYLE why we do that. | |||
2015-02-03 | util: rework strappenda(), and rename it strjoina() | Lennart Poettering | |
After all it is now much more like strjoin() than strappend(). At the same time, add support for NULL sentinels, even if they are normally not necessary. | |||
2015-02-02 | remove unused variables | Thomas Hindoe Paaboel Andersen | |
2015-01-26 | treewide: fix multiple typos | Torstein Husebø | |
2015-01-24 | machinectl: fix typo | Zbigniew Jędrzejewski-Szmek | |
2015-01-23 | importd: when listing transfers, show progress percentage | Lennart Poettering | |
With this change the pull protocol implementation processes will pass progress data to importd which then passes this information on via the bus. We use sd_notify() as generic transport for this communication, making importd listen to them, while matching the incoming messages to the right transfer. | |||
2015-01-23 | machinectl: fix handling of --verify= argument for dkr downloads | Lennart Poettering | |
2015-01-22 | machinectl: when downloading an image, clarify that C-c will not cancel the ↵ | Lennart Poettering | |
download, but continue it in the background | |||
2015-01-22 | machinectl: minor simplification | Lennart Poettering | |
2015-01-22 | machinectl: parse verify setting client-side | Lennart Poettering | |
2015-01-22 | machinectl: various minor updates to the --help text | Lennart Poettering | |
2015-01-22 | import: rename --verify=sum to --verify=checksum | Lennart Poettering | |
This is how we call it internally, and also a bit more descriptive. | |||
2015-01-22 | import: introduce new mini-daemon systemd-importd, and make machinectl a ↵ | Lennart Poettering | |
client to it The old "systemd-import" binary is now an internal tool. We still use it as asynchronous backend for systemd-importd. Since the import tool might require some IO and CPU resources (due to qcow2 explosion, and decompression), and because we might want to run it with more minimal priviliges we still keep it around as the worker binary to execute as child process of importd. machinectl now has verbs for pulling down images, cancelling them and listing them. | |||
2015-01-19 | machined: refer to the disk space allocated for an image to "usage" rather ↵ | Lennart Poettering | |
than "size" After all, it's closer to the "du"-reported value than to the file sizes... | |||
2015-01-14 | machinectl: fix minor memory leak | Lennart Poettering | |
2015-01-13 | machinectl: use GNU basename, not the XPG version | Cristian Rodríguez | |
2015-01-08 | loginctl: port to generic verbs.h API | Lennart Poettering | |
2015-01-08 | man: bring machinectl man page up-to-date | Lennart Poettering | |
2015-01-08 | systemctl,loginctl: start polkit agent for all polkit enabled operations | Lennart Poettering | |
2015-01-08 | machinectl: given that machinectl invokes a number of polkit enabled ↵ | Lennart Poettering | |
methods, start the polkit agent on terminals | |||
2015-01-08 | machinectl: show most recent log output in "machinectl status", too | Lennart Poettering | |
2015-01-07 | machinectl: prettify "machinectl list" output | Lennart Poettering | |
2015-01-07 | ptyfwd: simplify how we handle vhangups a bit | Lennart Poettering | |
2015-01-07 | machinectl: make sure that "machinectl login" exits immediately when the ↵ | Lennart Poettering | |
machine it is connected to dies | |||
2015-01-05 | machinectl: remove spurious newline | Lennart Poettering | |
2015-01-02 | machinectl: Check type instead of path before printing the type | Thomas Hindoe Paaboel Andersen | |
Looks like a typo when introduced in fefdc04b38725457a91651218feb7000f6ccc1f4 | |||
2014-12-31 | machinectl: remove dead code | David Herrmann | |
'r' is not touched after the previous error-checking 100 lines above. Drop that code. |