Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-18 | machined: add logic to query IP addresses of containers | Lennart Poettering | |
2014-03-24 | util: replace close_pipe() with new safe_close_pair() | Lennart Poettering | |
safe_close_pair() is more like safe_close(), except that it handles pairs of fds, and doesn't make and misleading allusion, as it works similarly well for socketpairs() as for pipe()s... | |||
2014-03-18 | util: replace close_nointr_nofail() by a more useful safe_close() | Lennart Poettering | |
safe_close() automatically becomes a NOP when a negative fd is passed, and returns -1 unconditionally. This makes it easy to write lines like this: fd = safe_close(fd); Which will close an fd if it is open, and reset the fd variable correctly. By making use of this new scheme we can drop a > 200 lines of code that was required to test for non-negative fds or to reset the closed fd variable afterwards. | |||
2014-03-18 | machinectl: reimplement machinectl's "reboot" verb on top of "kill", and add ↵ | Lennart Poettering | |
new verb "poweroff" There's really no point to send the reboot SIGINT from machinectl directly, if machined can do that anyway. This saves code, and makes machinectl network transparent for these verbs. And while we are at it we can easily add a "poweroff" verb in addition to "reboot". Yay! | |||
2014-02-20 | sd-bus: the bus returned should be the first arg | Jason A. Donenfeld | |
This matches the API of previous headers, such as sd-journal.h. | |||
2014-02-18 | machinectl: remove unused --no-ask-password | Thomas Hindoe Paaboel Andersen | |
2014-02-18 | machinectl: add bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-12 | machinectl: add new "machinectl reboot" call | Lennart Poettering | |
2014-02-11 | machined: optionally, allow registration of pre-existing units (scopes | Lennart Poettering | |
or services) as machine with machined | |||
2013-12-23 | machinectl: fix success check when getting pty from within container | Lennart Poettering | |
2013-12-23 | bus: when getting a kdbus connection into a container wait first for child, ↵ | Lennart Poettering | |
then read message There's no EOF generated for AF_UNIX/SOCK_DGRAM sockets, hence let's wait for the child first to see if it succeeded, only then read the socket. | |||
2013-12-18 | machinectl: show_properties() already logs the error | Djalal Harouni | |
2013-12-17 | bus: when entering an existing namespace to connect to a container's system ↵ | Lennart Poettering | |
bus also switch over PID namespace This is necessary to ensure that kdbus can collect creds of the destination namespace when connecting. | |||
2013-12-14 | bus: when connecting to a container's kdbus instance, enter namespace first | Lennart Poettering | |
Previously we'd open the connection in the originating namespace, which meant most peers of the bus would not be able to make sense of the PID/UID/... identity of us since we didn't exist in the namespace they run in. However they require this identity for privilege decisions, hence disallowing access to anything from the host. Instead, when connecting to a container, create a temporary subprocess, make it join the container's namespace and then connect from there to the kdbus instance. This is similar to how we do it for socket conections already. THis also unifies the namespacing code used by machinectl and the bus APIs. | |||
2013-12-08 | Help output spring cleaning | Zbigniew Jędrzejewski-Szmek | |
Use [brackets] only for optional elements. Use <optional> in XML sources. | |||
2013-11-27 | service: add the ability for units to join other unit's PrivateNetwork= and ↵ | Lennart Poettering | |
PrivateTmp= namespaces | |||
2013-11-08 | machinectl: close bus to container early | Lennart Poettering | |
2013-11-07 | machinectl: show list headers even if we pipe, since that appears to be the ↵ | Lennart Poettering | |
usual way | |||
2013-11-07 | bus: log message parsing errors everywhere with a generalized ↵ | Lennart Poettering | |
bus_log_parse_error() | |||
2013-11-07 | polkit: don't spawn local client if we access a remote system | Lennart Poettering | |
2013-11-07 | bus: make bus_print_all_properties work for non machinectl cases | Simon Peeters | |
add a destination parameter and skip properties we can't read | |||
2013-11-07 | machinectl: we need glibc's socket.h, not our own | Lennart Poettering | |
2013-11-06 | machinectl: use initialization instead of zeroing | Zbigniew Jędrzejewski-Szmek | |
2013-11-06 | clients: unify how we invoke getopt_long() | Lennart Poettering | |
Among other things this makes sure we always expose a --version command and show it in the help texts. | |||
2013-11-06 | clients: various simplifications | Lennart Poettering | |
2013-11-05 | bus: update bus_map_all_properties() | Kay Sievers | |
2013-11-01 | machinectl: fix warning when compiling with -Og | Thomas Hindoe Paaboel Andersen | |
src/machine/machinectl.c: In function ‘openpt_in_namespace’: src/machine/machinectl.c:623:44: warning: ‘master’ may be used uninitialized in this function [-Wmaybe-uninitialized] close_nointr_nofail(master); ^ | |||
2013-10-31 | machinectl: add new command to spawn a getty inside a container | Lennart Poettering | |
2013-10-30 | run: add support for executing commands remotely via SSH or in a container | Lennart Poettering | |
Also, unify the transport logic a bit, since we reuse the same scheme in many of our client tools. | |||
2013-10-30 | machinectl: we don't really just show information, we execute operations | Lennart Poettering | |
2013-10-30 | bus: add API call to create bus connection to the system bus of local containers | Lennart Poettering | |
Also, add support for this to machinectl, so that we can enumerate the machines that run inside a container. We must go deeper! | |||
2013-10-30 | bus: move ssh support into public API of libsystem-bus | Lennart Poettering | |
2013-10-30 | machinectl: privileged option is gone | Marc-Antoine Perennou | |
2013-10-30 | machinectl: port to sd-bus | Tom Gundersen | |
2013-07-11 | loginctl: suppress cgroup tree output if cgroup is empty | Lennart Poettering | |
same for machinectl | |||
2013-07-11 | loginctl: restore cgroup display for status output | Lennart Poettering | |
Same for machinectl. | |||
2013-07-06 | man: document machinectl and systemd-machined | Zbigniew Jędrzejewski-Szmek | |
2013-07-02 | machined: split out machine registration stuff from logind | Lennart Poettering | |
Embedded folks don't need the machine registration stuff, hence it's nice to make this optional. Also, I'd expect that machinectl will grow additional commands quickly, for example to join existing containers and suchlike, hence it's better keeping that separate from loginctl. |