summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* timedated: add some debug logging when a number of kernel calls failLennart Poettering2018-05-291-16/+26
|
* timedated: show the short timezone name when changing timezones in logsLennart Poettering2018-05-291-3/+8
|
* conf-parser: add a bit more whitespaceLennart Poettering2018-05-291-1/+5
| | | | | | | | We usually seperate case statements within a switch from each other by empty lines. We also often add an empty line after multi-line function prototypes, let's do so here too Also, no trailing ; after }...
* core: drop deprecated (and ignored) configuration items from ↵Lennart Poettering2018-05-291-8/+13
| | | | --dump-configuration-items output
* Merge pull request #9116 from poettering/tmpfiles-tmp-var-tmpZbigniew Jędrzejewski-Szmek2018-05-2911-82/+155
|\ | | | | add new specifiers %T and %V that expand to /tmp or /var/tmp or $TMP/$TMPDIR/$TEMP
| * update TODOLennart Poettering2018-05-291-0/+3
| |
| * man: don't refer to "service manager" in tmpfiles.d(5)Lennart Poettering2018-05-291-3/+3
| | | | | | | | system-tmpfiles is not a "service manager" hence say "command" instead.
| * resolved: reindent specifier tableLennart Poettering2018-05-292-3/+3
| |
| * core: introduce specifiers for /tmp and /var/tmpLennart Poettering2018-05-298-3/+73
| | | | | | | | | | | | | | | | | | | | | | This corresponds nicely with the specifiers we already pass for /var/lib, /var/cache, /run and so on. This is particular useful to update the test-path service files to operate without guessable files, thus allowing multiple parallel test-path invocations to pass without issues (the idea is to set $TMPDIR early on in the test to some private directory, and then only use the new %T or %V specifier to refer to it).
| * man: sort specifier list in systemd.unit(5) alphabeticallyLennart Poettering2018-05-292-77/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usually, we order our settings in our unit files in a logical order, grouping related settings together, and putting more relevant stuff first, instead of following a strictly alphabetical order. For specifiers I think it makes sense to follow an alphabetical order however, since they literally are just characters, and hence I think the concept of alphabetical ordering is much more commanding for them. Also, since specifiers are usually not used in combination, but mostly used indepdently of each other I think it's not that important to group similar ones together. No other changes except the reordering.
* | Merge pull request #9084 from yuwata/fix-8965Zbigniew Jędrzejewski-Szmek2018-05-291-4/+25
|\ \ | |/ |/| core: make StateDirectory= or friends works with DynamicUser= and RootDirectory=/RootImage=
| * core: setup mount namespace when RootDirectory= and RuntimeDirectory= or ↵Yu Watanabe2018-05-251-2/+14
| | | | | | | | | | | | | | friends are set The directories specified by RuntimeDirectory= or friends are created on host. So, it is necessary to bind-mount them on root directory.
| * core: make StateDirectory= or friends works with DynamicUser= and ↵Yu Watanabe2018-05-251-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | RootDirectory=/RootImage= The symbolic links to private directories specified by StateDirectory= or its friends are created on the host. So, when DynamicUser= and RootDirectory=/RootImage= are set, then the executed process cannot access private directory. This makes the private directories are mounted on the non-private place when both DynamicUser= and RootDirectory=/RootImage= are set. Fixes #8965.
* | doc: mention RestrictNamespaces= merges multiple assignment nowYu Watanabe2018-05-291-0/+6
| | | | | | | | Follow-up for #8817.
* | Merge pull request #9103 from keszybz/more-tables-testsLennart Poettering2018-05-286-26/+81
|\ \ | | | | | | More tables tests
| * | test-nspawn-tables: add another "tables" testZbigniew Jędrzejewski-Szmek2018-05-282-0/+16
| | |
| * | meson: use a convenience static library for nspawn coreZbigniew Jędrzejewski-Szmek2018-05-282-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it easier to link the nspawn implementation to the tests. Right now this just means that nspawn-patch-uid.c is not compiled twice, which is nice, but results in test-patch-uid being slightly bigger, which is not nice. But in general, we should use convenience libs to compile everything just once, as far as possible. Otherwise, once we start compiling a few files here twice, and a few file there thrice, we soon end up in a state where we are doing hundreds of extra compilations. So let's do the "right" thing, even if is might not be more efficient.
| * | test-tables,test-network-tables: add a few more testsZbigniew Jędrzejewski-Szmek2018-05-282-0/+32
| | |
| * | test-tables*: sortZbigniew Jędrzejewski-Szmek2018-05-283-13/+13
| | |
* | | Merge pull request #9104 from keszybz/nspawn-umaskLennart Poettering2018-05-281-15/+5
|\ \ \ | | | | | | | | Nspawn umask
| * | | nspawn: reset umask earlyZbigniew Jędrzejewski-Szmek2018-05-281-2/+5
| | | | | | | | | | | | | | | | Fixes #8911.
| * | | nspawn: remove some vertical whitespaceZbigniew Jędrzejewski-Szmek2018-05-281-13/+0
| |/ / | | | | | | | | | | | | Sometimes an empty line is good for readability, but here I think they all can be removed without any loss.
* | | meson: test out headers with more standard versionsZbigniew Jędrzejewski-Szmek2018-05-281-2/+15
| | | | | | | | | | | | They all pass fine, but let's keep testing regularly.
* | | Merge pull request #9099 from yuwata/list-dbus-propZbigniew Jędrzejewski-Szmek2018-05-2827-17/+224
|\ \ \ | |/ / |/| | completion: fixes for `systemctl status --property`
| * | man: use IMAGE for portable service image nameYu Watanabe2018-05-281-1/+1
| | |
| * | bash-completion: add completion for portablectlYu Watanabe2018-05-282-1/+115
| | |
| * | bash-completion: also suggest template unit filesYu Watanabe2018-05-281-1/+8
| | | | | | | | | | | | Fixes #9041.
| * | zsh-completion: suggest bus properties instead of configuration items for ↵Zbigniew Jędrzejewski-Szmek2018-05-281-3/+1
| | | | | | | | | | | | 'systemctl -p'
| * | bash-completion: suggest bus properties instead of configuration items for ↵Yu Watanabe2018-05-281-7/+2
| | | | | | | | | | | | | | | | | | 'systemctl -p' Closes #5137.
| * | core: add --dump-bus-properties option to systemdYu Watanabe2018-05-284-2/+70
| | | | | | | | | | | | | | | If systemd is invoked with this option, this dumps all bus properties. This may be useful for shell completion for `systemctl --property`.
| * | core: include sd-bus-vtable.h in dbus-*.hYu Watanabe2018-05-2819-2/+27
| | |
* | | po: update Polish translationPiotr Drąg2018-05-281-127/+155
| | |
* | | po: update japanese translationYu Watanabe2018-05-281-16/+40
| | |
* | | Merge pull request #9092 from keszybz/sd-bus-cleanup-moreYu Watanabe2018-05-282-25/+14
|\ \ \ | |/ / |/| | sd-bus: use _cleanup_ more
| * | doc: fix quotingZbigniew Jędrzejewski-Szmek2018-05-261-1/+1
| | | | | | | | | | | | Noticed by Craig Barnes.
| * | sd-bus: use _cleanup_ moreZbigniew Jędrzejewski-Szmek2018-05-261-24/+13
| | |
* | | Update POTFILES.inPiotr Drąg2018-05-271-0/+1
| | |
* | | portablectl: fix memleaksYu Watanabe2018-05-261-1/+1
| | | | | | | | | | | | Fixes #9089.
* | | portable: fix memleakYu Watanabe2018-05-261-3/+2
|/ / | | | | | | Closes #9086.
* | journalctl: add with-unit modeLuca Boccassi2018-05-257-9/+38
| | | | | | | | | | | | | | | | | | | | When dealing with a large number of template instances, for example when launching daemons per VRF, it is hard for operators to correlate log lines to arguments. Add a new with-unit mode which, if available, prefixes unit and user unit names when displaying its log messages instead of the syslog identifier. It will also use the full timestamp with timezones, like the short-full mode.
* | tree-wide: drop unused variablesYu Watanabe2018-05-253-3/+0
| | | | | | | | Follow-ups for #8620.
* | Merge pull request #8620 from poettering/portablectlZbigniew Jędrzejewski-Szmek2018-05-2598-711/+6327
|\ \ | |/ |/| an implementation of the "portable services" concept
| * update TODOLennart Poettering2018-05-241-0/+17
| |
| * doc: add introductory docs for portable servicesLennart Poettering2018-05-241-0/+251
| |
| * man: add man pages for the portable service stuffLennart Poettering2018-05-243-0/+467
| |
| * add new portable service frameworkLennart Poettering2018-05-2428-0/+4473
| | | | | | | | | | | | | | | | | | | | | | This adds a small service "systemd-portabled" and a matching client "portablectl", which implement the "portable service" concept. The daemon implements the actual operations, is PolicyKit-enabled and is activated on demand with exit-on-idle. Both the daemon and the client are an optional build artifact, enabled by default rhough.
| * machined: move bus_reply_pair_array() into generic utilitiesLennart Poettering2018-05-244-29/+33
| | | | | | | | This way, we can reuse it in portabled.
| * machined: unify how we forward image method calls from manager to image objectLennart Poettering2018-05-241-171/+17
| | | | | | | | | | Much like the previous commit, but for Image objects rather than Machine objects.
| * machined: introduce a common function for redirecting machine method calls ↵Lennart Poettering2018-05-241-174/+17
| | | | | | | | | | | | | | | | from manager to machine object Let's shorten the code a bit, and unify how we forward executoin from the machine functions that take a machine name as first argument to the matching functions on the machine object.
| * machine-image: extend search pathLennart Poettering2018-05-242-3/+38
| | | | | | | | | | | | | | | | | | | | | | This adds directories in /etc and /run to the search paths for OS images. While it doesn't make much sense to actually place huge disk images there, it's good enough for symlinks to those. The main reason for supporting this is that this allows us to neatly symlink portable image files located outside of the search path into the search path when attaching them, so that attaching them also means they are discoverable properly for all commands.