History log of /systemd/units/systemd-importd.service.in
Revision Date Author Comments Expand
c2fc2c2560f0ca0fab383753c065e45d76f465e5 29-Sep-2015 Lennart Poettering <lennart@poettering.net>

units: increase watchdog timeout to 3min for all our services Apparently, disk IO issues are more frequent than we hope, and 1min waiting for disk IO happens, so let's increase the watchdog timeout a bit, for all our services. See #1353 for an example where this triggers.

658f26b828fdd7007cfe82d794f610525b21cb99 24-Apr-2015 Lennart Poettering <lennart@poettering.net>

units: set KillMode=mixed for our daemons that fork worker processes The daemons should really have the time to kill the workers first, before systemd does it, hence use KillMode=mixed for these daemons. https://bugs.freedesktop.org/show_bug.cgi?id=90051

15d7b51724cc9775f03f2af4d3eec7f48f39f7de 21-Apr-2015 Lubomir Rintel <lkundrak@v3.sk>

importd: add CAP_DAC_OVERRIDE capability Fedora's filesystem package ships /usr/bin (and other directories) which are not writable by its owner. machinectl pull-dkr (and possibly others) are not able to extract those: 14182 mkdirat(3, "usr", 0700) = 0 14182 mkdirat(3, "usr/bin", 0500) = 0 14182 openat(3, "usr/bin/[", O_WRONLY|O_CREAT|O_EXCL|O_NOCTTY|O_NONBLOCK|O_CLOEXEC, 0700) = -1 EACCES (Permission denied) ...

113b3fc1a8061f4a24dd0db74e9a3cd0083b2251 24-Feb-2015 Lennart Poettering <lennart@poettering.net>

importd: create a loopback btrfs file system for /var/lib/machines, if necessary When manipulating container and VM images we need efficient and atomic directory snapshots and file copies, as well as disk quota. btrfs provides this, legacy file systems do not. Hence, implicitly create a loopback file system in /var/lib/machines.raw and mount it to /var/lib/machines, if that directory is not on btrfs anyway. This is done implicitly and transparently the first time the user invokes "machinectl import-xyz". This allows us to take benefit of btrfs features for container management without actually having the rest of the system use btrfs. The loopback is sized 500M initially. Patches to grow it dynamically are to follow.

a24111cea64e042b49d8b4bca85ce6092845bbec 11-Feb-2015 Lennart Poettering <lennart@poettering.net>

Revert "units: add SecureBits" This reverts commit 6a716208b346b742053cfd01e76f76fb27c4ea47. Apparently this doesn't work. http://lists.freedesktop.org/archives/systemd-devel/2015-February/028212.html

6a716208b346b742053cfd01e76f76fb27c4ea47 11-Feb-2015 Topi Miettinen <toiwoton@gmail.com>

units: add SecureBits No setuid programs are expected to be executed, so add SecureBits=noroot noroot-locked to unit files.

e57565dd5bae380122ba1b6c34cbba1d44f44d1f 22-Jan-2015 Lennart Poettering <lennart@poettering.net>

importd: run daemon at minimal capabilities

3d7415f43f0fe6a821d7bc4a341ba371e8a30ef3 22-Jan-2015 Lennart Poettering <lennart@poettering.net>

import: introduce new mini-daemon systemd-importd, and make machinectl a 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.

/systemd/.gitignore /systemd/Makefile.am /systemd/configure.ac /systemd/src/import/.gitignore /systemd/src/import/import-common.c /systemd/src/import/import-common.h /systemd/src/import/import-dkr.c /systemd/src/import/import-dkr.h /systemd/src/import/import-raw.c /systemd/src/import/import-tar.c /systemd/src/import/import.c /systemd/src/import/importd.c /systemd/src/import/org.freedesktop.import1.conf /systemd/src/import/org.freedesktop.import1.policy.in /systemd/src/import/org.freedesktop.import1.service /systemd/src/journal/journald-syslog.c /systemd/src/journal/journald-syslog.h /systemd/src/libsystemd/sd-bus/bus-common-errors.c /systemd/src/libsystemd/sd-bus/bus-common-errors.h /systemd/src/machine/machinectl.c /systemd/src/shared/import-util.c /systemd/src/shared/import-util.h /systemd/src/shared/util.c /systemd/src/shared/util.h .gitignore org.freedesktop.import1.busname systemd-importd.service.in