Age | Commit message (Collapse) | Author | |
---|---|---|---|
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: allow passing NULL as bus parameter to sd_bus_send() | Lennart Poettering | |
If NULL is specified for the bus it is now automatically derived from the passed in message. This commit also changes a number of invocations of sd_bus_send() to make use of this. | |||
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-28 | machined: make PropertiesChanged match more strict | Lennart Poettering | |
2015-04-28 | machined: make sure to track machine unit states properly | Lennart Poettering | |
If a unit is stopped for a moment, we need to invalidate our knowledge of it, otherwise we might be confused by automatic restarts This makes reboots for nspawn containers run as service work correctly. https://bugs.freedesktop.org/show_bug.cgi?id=87428 | |||
2015-04-11 | shared: add terminal-util.[ch] | Ronny Chevalier | |
2015-04-10 | shared: add process-util.[ch] | Ronny Chevalier | |
2015-04-10 | shared: add formats-util.h | Ronny Chevalier | |
2015-03-15 | Add (void) where we don't care about return value | Zbigniew Jędrzejewski-Szmek | |
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 | shared: the btrfs quota field is called "referenced" not "referred" | Lennart Poettering | |
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-07 | machine: do not rely on asprintf setting arg on error | Zbigniew Jędrzejewski-Szmek | |
Strictly speaking, the output variable is undefined if asprintf fails. We use the return value not the arg everywhere, and should we do here. | |||
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-03 | importd: automatically grow /var/lib/machines/ loopback filesystem during ↵ | Lennart Poettering | |
downloads If /var/lib/machines is mounted as btrfs loopback file system in /var/lib/machines.raw with this change we automatically grow the file system as it fills up. After each 10M we write to it during imports, we check the free disk space, and if the fill level grows beyond 66% we increase the size of the file system to 3x the fill level (thus lowering it to 33%). | |||
2015-03-02 | machined: also set up /var/lib/machines as btrfs, if "machinectl set-limit" ↵ | Lennart Poettering | |
is called | |||
2015-03-02 | machinectl: update --help text to clarify that set-limit can also change ↵ | Lennart Poettering | |
pool size | |||
2015-03-01 | machined: use x-machine-unix prefix for the container bus on dbus1 | Benjamin Franzke | |
This fixes "machinectl login" on systems configured with --disable-kdbus. The error was: machinectl login foo Failed to get machine PTY: Input/output error | |||
2015-02-26 | machined: if /var/lib/machines is backed by a loop file, resize it on ↵ | Lennart Poettering | |
"machinectl set-limit" When the pool size limit is altered with "machinectl set-limit", then not only set the subvolume quota of the /var/lib/machine subvolume, but also resize the backing loop file and the btrfs file system on it dynamically. | |||
2015-02-25 | machined,machinectl: add calls for changing container/VM quotas | Lennart Poettering | |
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 | |