Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-24 | machined: fix check if host directory could be opened | Thomas Hindoe Paaboel Andersen | |
CID#1271351 | |||
2015-02-24 | machined/machinectl: when "machinectl image-status" is used without ↵ | Lennart Poettering | |
arguments show statistics about pool | |||
2015-02-24 | machined: actually open up methods to unprivileged clients on dbus1 | Lennart Poettering | |
Many of machined's operations are now opened up to unprivileged clients via PolicyKit. Open up the dbus policy so that we can actually make these calls. kdbus doesn't reuqire this, hence this wasn't noticed before. | |||
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 | logind: open up most bus calls for unpriviliged processes, using PolicyKit | Lennart Poettering | |
Also, allow clients to alter their own objects without any further priviliges. i.e. this allows clients to kill and lock their own sessions without involving PK. | |||
2015-02-18 | machinectl: issue all bus commands while allowing interactive auth | Lennart Poettering | |
2015-02-18 | machined: open up most of machined's commands to unprivileged clients via ↵ | Lennart Poettering | |
PolicyKit | |||
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: various simplifications | Lennart Poettering | |
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-12 | Revert "tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC" | Lennart Poettering | |
This reverts commit d6d810fbf8071f8510450dbacd1d083f37603656. It's apparently not OK to pass MSG_CMSG_CLOEXEC to recvmsg() of raw sockets. | |||
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-10 | tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC | Cristian Rodríguez | |
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-13 | machined: refuse certain operation on non-container machines, since they ↵ | Lennart Poettering | |
cannot work elsewhere | |||
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-06 | machined: simplification | Lennart Poettering | |
2015-01-05 | machinectl: remove spurious newline | Lennart Poettering | |
2015-01-05 | machined,bus-proxy: fix connecting to containers | 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 | |||
2015-01-01 | Remove "to allow" from policy messages | Zbigniew Jędrzejewski-Szmek | |
It carries no additional information and forces a passive sentence structure which is longer and harder to parse. | |||
2015-01-01 | machined: fix grammar in org.freedesktop.machine1.policy.in | Piotr Drąg | |
[zj: change "in into" to "into".] https://bugs.freedesktop.org/show_bug.cgi?id=87722 | |||
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 | Revert "machined: don't force terminate registered machines" | Lennart Poettering | |
This reverts commit 206e7a5f7b55ac61188efd895e65ab26e478cbb2. We actually want to allow shutting down containers that use RegisterMachine() rather than CreateMachine() to register their own unit. It should be safe to do so, since the primary usecase for RegisterMachine() are container managers that run only a single container within their own unit, such as systemd-nspawn. | |||
2014-12-29 | machined: ignore spurious error | Lennart Poettering | |
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: Fix MarkReadOnly method's name on bus | Sylvain Plantefève | |