summaryrefslogtreecommitdiff
path: root/man/machinectl.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add SPDX license identifiers to man pagesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* machined: support "machinectl bind" on non-directories (#7349)Lennart Poettering2017-11-191-12/+14
| | | Fixes: #7195
* man: use "filename" not "file name" by defaultZbigniew Jędrzejewski-Szmek2017-09-151-1/+1
| | | | | | | We settled on "filename" and "file system", so change a couple of places for consistency. The exception is when there's an adjective before "file" that binds more strongly then "name": "password file name", "output file name", etc. Those cases are left intact.
* man: update the description of machinectl -MZbigniew Jędrzejewski-Szmek2017-09-151-7/+17
| | | | | | Fixes #6621. Also rework the introduction a bit.
* importd: support SUSE style checksums (#5206)tblume2017-04-241-13/+16
| | | | | | | | | | | In order to verify a pulled container or disk image, importd only supports SHA256SUMS files with the detached signature in SHA256SUMS.gpg. SUSE is using an inline signed file with the name of the image itself and the suffix .sha256 instead. This commit adds support for this type of signature files. It is first attempted to pull the .sha256 file. If this fails with error 404, the SHA256SUMS and SHA256SUMS.gpg files are pulled and used for verification.
* machined: refuse bind mounts on containers that have user namespaces appliedLennart Poettering2017-02-171-13/+8
| | | | | | | | As the kernel won't map the UIDs this is simply not safe, and hence we should generate a clean error and refuse it. We can restore this feature later should a "shiftfs" become available in the kernel.
* machined: when copying files from/to userns containers chown to rootLennart Poettering2017-02-171-3/+10
| | | | | | | | This changes the file copy logic of machined to set the UID/GID of all copied files to 0 if the host and container do not share the same user namespace. Fixes: #4078
* man: document that "systemd-run -M" propagates exit codes, and "machinectl ↵Lennart Poettering2016-12-271-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | shell" does not This adds a brief explanation, suggesting the use of "systemd-run -M" to acquire exit status/code information for the invoked process. My original plan was to propagate the exit code/status in "machinectl shell" too, but this would mean we'd have to actively watch the shell's runtime status, and thus would need full, highly privileged and continious access to the container's system manager, the way "systemd-run" does it. This would be quite a departure from the simplistic, low-priviliged OpenShell() bus call implementation of the current code, that really just acquires a PTY device with a shell connected. Moreover it would blur the lines between the two commands even further, which I think is not desirable. Hence, from now on: "machinectl shell" is the full-session, interactive shell for human users "systemd-run -M …" is the low-level tool, that supports on-interactive mode, and is more configurable and suitable for streaming. Fixes: #4215
* man: two trivial formatting fixesZbigniew Jędrzejewski-Szmek2016-12-111-1/+1
|
* man: use unicode ellipsis in more placesZbigniew Jędrzejewski-Szmek2016-12-111-14/+14
| | | | | | | | | | | | | | As requested in https://github.com/systemd/systemd/pull/4864#pullrequestreview-12372557. docbook will substitute triple dots for the ellipsis in man output, so this has no effect on the troff output, only on HTML, making it infinitesimally nicer. In some places we show output from programs, which use dots, and those places should not be changed. In some tables, the alignment would change if dots were changed to the ellipsis which is only one character. Since docbook replaces the ellipsis automatically, we should leave those be. This patch changes all other places.
* nspawn: add fallback top normal copy/reflink when we cannot btrfs snapshotLennart Poettering2016-11-221-3/+3
| | | | | | | | | | | | | | | | | Given that other file systems (notably: xfs) support reflinks these days, let's extend the file system snapshotting logic to fall back to plan copies or reflinks when full btrfs subvolume snapshots are not available. This essentially makes "systemd-nspawn --ephemeral" and "systemd-nspawn --template=" available on non-btrfs subvolumes. Of course, both operations will still be slower on non-btrfs than on btrfs (simply because reflinking each file individually in a directory tree is still slower than doing this in one step for a whole subvolume), but it's probably good enough for many cases, and we should provide the users with the tools, they have to figure out what's good for them. Note that "machinectl clone" already had a fallback like this in place, this patch generalizes this, and adds similar support to our other cases.
* man: fix typos (#4527)Jakub Wilk2016-10-311-1/+1
|
* man: one more cgroup wording fixLennart Poettering2016-10-201-12/+7
|
* machinectl: prefer user@ to --uid=user for shell (#4006)Zbigniew Jędrzejewski-Szmek2016-09-261-6/+5
| | | | It seems to me that the explicit positional argument should have higher priority than "an option".
* machinectl: split OS field in two; print ip addresses (#4058)Seraphime Kirkovski2016-08-311-0/+14
| | | | | | | | | | This splits the OS field in two : one for the distribution name and one for the the version id. Dashes are written for missing fields. This also prints ip addresses of known machines. The `--max-addresses` option specifies how much ip addresses we want to see. The default is 1. When more than one address is written for a machine, a `,` follows it. If there are more ips than `--max-addresses`, `...` follows the last address.
* man: fix indefinite articles (#3694)Jakub Wilk2016-07-121-2/+2
|
* machinectl: Added stop as alias for poweroff (#3406)Christian Rebischke2016-06-061-4/+3
|
* man: slightly extend the machinectl clone documentationLennart Poettering2016-05-021-7/+5
|
* machinectl: add -E as alias for --setenvZbigniew Jędrzejewski-Szmek2016-04-201-10/+8
|
* machinectl: add new "machinectl clean" commandLennart Poettering2016-04-121-4/+28
| | | | | This new command removes all, or all hidden container images that have been downloaded.
* machinectl: add --value optionZbigniew Jędrzejewski-Szmek2016-04-051-0/+7
|
* man: update link to Fedora Cloud imagesZbigniew Jędrzejewski-Szmek2016-02-231-1/+1
| | | | Better to use the mirror manager and https.
* man: update references to fedora cloud imageLennart Poettering2016-02-211-4/+4
| | | | We are now at F23, hence let's use that as example.
* man: try to repair some nonsensical paragraphJan Engelhardt2016-01-281-4/+3
|
* man: fix typosJakub Wilk2015-12-261-1/+1
|
* importd: drop dkr supportLennart Poettering2015-12-101-64/+6
| | | | | | | | The current code is not compatible with current dkr protocols anyway, and dkr has a different focus ("microservices") than nspawn anyway ("whole machine containers"), hence drop support for it, we cannot reasonably keep this up to date, and it creates the impression we'd actually care for the microservices usecase.
* Merge pull request #1831 from keszybz/todo-trimmingTom Gundersen2015-11-101-2/+3
|\ | | | | Todo trimming
| * man: tweak description of machinectl showZbigniew Jędrzejewski-Szmek2015-11-101-2/+3
| | | | | | | | Also, machinectl status is anything but terse. Remove "terse".
* | doc: use expanded forms for written styleJan Engelhardt2015-11-061-1/+1
| |
* | doc: correct orthography, word forms and missing/extraneous wordsJan Engelhardt2015-11-061-15/+15
| |
* | doc: correct punctuation and improve typography in documentationJan Engelhardt2015-11-061-50/+50
|/
* man: minor extension to the machinectl man pageLennart Poettering2015-08-261-2/+3
| | | | | | | s/an/any/, as reported by Vito Caputo. Also mention explicitly that the security properties (i.e. SELinux) are also isolated when "machinectl shell" is used.
* machinectl: extend the "shell" syntax to take user@container namesLennart Poettering2015-08-241-5/+35
| | | | | | | | | In order to make "machinectl shell" more similar to ssh, allow the following syntax to connect to a container under a specific username: machinectl shell lennart@fedora Also beefs up related man page documentation.
* machinectl: make machine name parameters for "shell" and "login" optionalLennart Poettering2015-08-241-19/+104
| | | | | If no machine name is specified, imply that we connect to ".host", i.e. the local host.
* machinectl: add new "machinectl shell" commandLennart Poettering2015-08-241-3/+41
| | | | | This makes use of machined's new OpenShell() command and allows opening a new interactive shell in any container.
* man: typo fixesThomas Hindoe Paaboel Andersen2015-07-251-2/+2
|
* man: remove repeated word "the" and polishJay Strict2015-06-291-1/+1
|
* fix machinectl bind man entryMarkus Knetschke2015-06-201-8/+8
|
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-6/+3
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: generate configured paths in manpagesFilipe Brandenburger2015-05-281-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* man: document that nspawn -x, --template= and machinectl clone leave ↵Lennart Poettering2015-05-051-1/+7
| | | | hostname and machine id unmodified
* man: fix typos in machinectlRichard Maw2015-04-071-4/+4
| | | | The s/now/not/ unfortunately inverted the meaning.
* man: Resolve how to refer to derived names for machinectl containersRichard Maw2015-04-071-2/+2
| | | | | | | "the name it is" is clumsy english, and since the most recently referred to thing was a name anyway we can just leave the "it is". This matches later uses in the same document.
* man: fix links to compressorsZbigniew Jędrzejewski-Szmek2015-03-111-4/+4
|
* man: document "machinectl export-tar" and "export-raw"Lennart Poettering2015-03-101-5/+58
|
* man: document machinectl import-tar and import-rawLennart Poettering2015-03-091-6/+41
|
* man: document that machinectl set-limit creates a btrfs loopback tooLennart Poettering2015-03-021-9/+36
|
* machined,machinectl: add calls for changing container/VM quotasLennart Poettering2015-02-251-5/+20
|
* man: add newlines to the pull-raw example in machinectl(1)Benjamin Franzke2015-02-191-5/+6
| | | | They were removed in commit 798d3a52 ("Reindent man pages to 2ch").
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-031-935/+733
|