Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2014-12-29 | machinectl: add "enable" and "disable" verbs for enabling/disabling ↵ | Lennart Poettering | |
systemd-nspawn for containers This is basically just a shortcut for "systemctl enable systemd-nspawn@<foobar>.service", but does escaping. | |||
2014-12-29 | machinectl: add new "start" verb to start a container as a service in nspawn | Lennart Poettering | |
2014-12-28 | machined: add support for reporting image size via btrfs quota | Lennart Poettering | |
2014-12-28 | machinectl/machined: implement "rename", "clone", "read-only" verbs for ↵ | Lennart Poettering | |
machine images | |||
2014-12-28 | machined: add "machinectl remove" for removing images | Lennart Poettering | |
2014-12-26 | machinectl: add status commands | Lennart Poettering | |
2014-12-26 | machinectl: mark read-only images when listing in red | Lennart Poettering | |
2014-12-26 | machinectl: left-align times | Lennart Poettering | |
2014-12-25 | machined: beef up machined image listing with creation/modification times of ↵ | Lennart Poettering | |
subvolumes We make use of the btrfs subvol crtime for this, and for gpt images of a manually managed xattr, if we can. | |||
2014-12-24 | sd-bus: rename sd_bus_open_system_container() to sd_bus_open_system_machine() | Lennart Poettering | |
Pretty much everywhere else we use the generic term "machine" when referring to containers in API, so let's do though in sd-bus too. In particular, since the concept of a "container" exists in sd-bus too, but as part of the marshalling system. | |||
2014-12-23 | machined: introduce polkit for OpenLogin() call | Lennart Poettering | |
This way "machinectl login" can be opened up to run without privileges. | |||
2014-12-23 | machinectl: rework 'machinectl login' to use OpenMachineLogin() | Lennart Poettering | |
2014-12-23 | systemd-run: support -t mode when combined with -M | Lennart Poettering | |
For that, ask machined for a container PTY and use that. | |||
2014-12-23 | machined: add OpenMachinePTY() bus call for allocating a PTY device within a ↵ | Lennart Poettering | |
container Then, port "machinectl" over to make use of it. | |||
2014-12-23 | machinectl,nspawn: don't print extra final newline if pty terminal output ↵ | Lennart Poettering | |
was newline-terinated anyway | |||
2014-12-23 | run: add a new "-t" mode for invoking a binary on an allocated TTY | Lennart Poettering | |
2014-12-19 | machinectl: port machinectl to new verbs logic | Lennart Poettering | |
2014-12-19 | machined/machinectl: add logic to show list of available images | Lennart Poettering | |
This adds a new bus call to machined that enumerates /var/lib/container and returns all trees stored in it, distuingishing three types: - GPT disk images, which are files suffixed with ".gpt" - directory trees - btrfs subvolumes | |||
2014-12-18 | machinectl: add new commands for copying files from/to containers | Lennart Poettering | |
2014-12-18 | machinectl: implement "bind" command to create additional bind mounts from ↵ | Lennart Poettering | |
host to container during runtime | |||
2014-11-28 | treewide: another round of simplifications | Michal Schmidt | |
Using the same scripts as in f647962d64e "treewide: yet more log_*_errno + return simplifications". | |||
2014-11-28 | treewide: use log_*_errno whenever %m is in the format string | Michal Schmidt | |
If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments. | |||
2014-11-28 | treewide: yet more log_*_errno + return simplifications | Michal Schmidt | |
Using: find . -name '*.[ch]' | while read f; do perl -i.mmm -e \ 'local $/; local $_=<>; s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg; print;' $f done And a couple of manual whitespace fixups. | |||
2014-11-28 | treewide: no need to negate errno for log_*_errno() | Michal Schmidt | |
It corrrectly handles both positive and negative errno values. |