Lennart Poettering
caf6bd166f
homed: default to "btrfs" as fs type in the LUKS backend
...
Apparently both Fedora and suse default to btrfs now, it should hence be
good enough for us too.
This enables a bunch of really nice things for us, most importanly we
can resize home directories freely (i.e. both grow *and* shrink) while
online. It also allows us to add nice subvolume based home directory
snapshotting later on.
Also, whenever we mention the three supported types, alaways mention
them in alphabetical order, which is also our new order of preference.
2020-08-19 15:46:07 +02:00
Yu Watanabe
e4f8d5e01f
shell-completion: add missing verbs for networkctl
2020-06-30 08:56:36 +02:00
Luca Boccassi
c2923fdcd7
dissect/nspawn: add support for dm-verity root hash signature
...
Since cryptsetup 2.3.0 a new API to verify dm-verity volumes by a
pkcs7 signature, with the public key in the kernel keyring,
is available. Use it if libcryptsetup supports it.
2020-06-25 08:45:21 +01:00
Zbigniew Jędrzejewski-Szmek
3a9692dd05
shell-completion: add homectl for bash
...
The difference between verbs that take one user and multiple users is not
handled. I don't know how to do this.
2020-06-05 16:34:18 +02:00
Zbigniew Jędrzejewski-Szmek
8f0a346a29
shell-completions: update bootctl
...
Entries in the completion lists are reordered to follow --help output:
this makes it much easier to see what is missing.
2020-05-30 16:04:43 +02:00
codicodi
d0192e93f8
Update resolvectl zsh completion
2020-05-21 14:06:58 +02:00
Ronan Pigott
4b6d94a1e5
shell-completion/zsh: update systemd-analyze completions
2020-04-27 08:40:15 +02:00
Haochen Tong
f5b3be308d
zsh: fix disable/enable completion
...
The "preset" column introduced in
b01c1f305c
breaks zsh completion for
systemctl disable/enable. Fix by ignoring everything after the last
space in a line.
2020-04-27 08:12:27 +02:00
Jouke Witteveen
1cabd2d0c5
systemctl: hide first column with --plain instead of --no-legend
...
Hiding the first column, which may contain bullet circles, with --no-legend
is undocumented and potentially unexpected. On the other hand, not printing
bullet circles with --plain is documented so hiding the column with that
switch is sensible.
The combination "--full --no-legend --no-pager --plain" is appropriate for
automated processing of systemctl output.
2020-04-17 19:15:49 +02:00
Pieter Lexis
72e1c0b308
Add shell
to machinectl ZSH completion
2020-03-27 18:15:15 +01:00
Luca Boccassi
e2c1ddcc49
portablectl: add --now and --enable to attach/detach
...
Add shortcuts to enable and start, or disable and stop, portable
services with a single portablectl command.
Allow to pass a filter on detach, as it's necessary to call
GetImageMetadata to get the unit names associated with an image.
Fixes #10232
2020-02-07 17:09:05 +01:00
Yu Watanabe
e2268fa437
bash-completion: do not ellipsize machine name
2020-01-10 12:29:02 +09:00
Yu Watanabe
2a6c483b8c
bash-completion: busctrl: support --full command line option
2020-01-10 12:22:08 +09:00
Yu Watanabe
6c64cf8859
bash-completion: networkctl: do not show ellipsized link name
2020-01-10 12:13:12 +09:00
Yu Watanabe
0ca1926ec3
bash-completion: networkctl: support --full and --lines
2020-01-09 15:43:18 +01:00
Daniel Shahaf
356873ddec
zsh: Complete systemctl subcommands in separate tags
...
Fixes #14422
2020-01-08 09:43:01 +01:00
Daniel Shahaf
fa7ea86510
zsh: Prepare for classifying systemctl commands ( #14422 )
2019-12-23 17:17:31 +00:00
Daniel Shahaf
1d8385b415
zsh: Complete more systemctl commands
...
The completion is now synced with the manual.
2019-12-23 16:49:51 +00:00
Daniel Shahaf
51a3b72634
zsh: Group systemctl subcommands as in the manual. No functional change.
2019-12-23 16:44:28 +00:00
Yu Watanabe
4171837be6
bash-completion: move shell-completion for log-level or friends to systemctl
2019-12-21 19:23:02 +01:00
Zbigniew Jędrzejewski-Szmek
a232ebcc2c
core: add support for RestartKillSignal= to override signal used for restart jobs
...
v2:
- if RestartKillSignal= is not specified, fall back to KillSignal=. This is necessary
to preserve backwards compatibility (and keep KillSignal= generally useful).
2019-10-02 14:01:25 +02:00
Yu Watanabe
82d1264048
Merge pull request #11883 from yuwata/network-dhcp-renew
...
network: dhcp renew
2019-09-22 07:44:23 +02:00
Yu Watanabe
308e7dfdce
networkctl: add renew command
2019-09-21 20:27:43 +09:00
Ronan Pigott
4f6c727637
zsh: udpate bootctl completions
2019-09-13 14:38:05 +02:00
Yu Watanabe
6552c29edb
shell-completion: do not truncate suggestions
2019-09-01 17:32:14 +02:00
Ronan Pigott
3005b38056
zsh: update journalctl completions
2019-08-28 10:08:49 +02:00
Zbigniew Jędrzejewski-Szmek
15e19aa1fc
Merge pull request #13273 from RPigott/zshcomp
...
Enable resolvectl zsh completions
2019-08-14 18:21:12 +02:00
Ronan Pigott
e4e4e4954c
shell-completion: complete --match argument for busctl
2019-08-13 20:27:56 -07:00
Ronan Pigott
161719d50c
zsh: add busctl completions
2019-08-10 01:21:35 -07:00
Ronan Pigott
24c55b6767
shell-completion: add resolvectl commands to zsh completion
2019-08-06 22:50:06 -07:00
Ronan Pigott
f65ccde2c1
shell-completion: enable resolvectl zsh completion
2019-08-06 22:49:44 -07:00
Yu Watanabe
7c6de13f1b
bash-completion: support "systemd-analyze exit-status"
2019-07-30 16:45:21 +02:00
Yu Watanabe
0a0564a1b5
bash-completion: support ntp-servers and revert command for timedatectl
2019-07-17 06:59:12 +09:00
Yu Watanabe
8b693c634d
bash-completion: add missing 'systemd-analyze timestamp'
2019-07-16 01:15:57 +09:00
Yu Watanabe
7ce7278217
bash-completion: udevadm: list all possible values for --action option
2019-06-29 04:10:14 +09:00
Yu Watanabe
cc82851c0d
bash-completion: support systemd-analyze condition
2019-06-28 10:04:38 +02:00
Iwan Timmer
4310bfc20b
resolved: add strict mode for DNS-over-TLS
...
Add strict mode for DNS-over-TLS, which will require TLS support from the server. Closes #10755
2019-06-19 13:10:44 +02:00
Zbigniew Jędrzejewski-Szmek
c4e7664d24
zsh: add completion for systemctl preset-all
2019-06-12 17:27:19 +02:00
Yu Watanabe
ca866a32fb
bash-completion: support "networkctl delete"
2019-06-04 12:00:49 +02:00
Yu Watanabe
ae760f4b16
udevadm: add --wait-for-initialization option to "udevadm info"
2019-06-04 01:28:30 +09:00
Yu Watanabe
94a58cc1f9
bash-completion: support --stats/-s option of networkctl
2019-06-01 10:24:47 +09:00
Frantisek Sumsal
cec82cb943
bash-completion: correctly react to an unescaped unit name
2019-05-30 14:30:59 +02:00
Douglas Christman
f003d62ec6
zsh-completion: fix completion for systemd-inhibit --what
2019-05-28 10:04:42 +02:00
Yu Watanabe
2789437be5
bash-completion: update options for bootctl
2019-05-28 09:49:57 +02:00
Frantisek Sumsal
afa879c3b4
bash-completion: accept files for --bind/--bind-ro options
2019-04-26 08:06:23 +02:00
Frantisek Sumsal
babf4f68fc
bash-completion: process only non-template units for systemctl isolate
2019-04-26 08:05:05 +02:00
Frantisek Sumsal
f8f542482e
bash-completion: don't sort syslog priorities
...
By default, the available completions are sorted alphabetically, which
is counterproductive in case of syslog priorities. Override the default
behavior using the `nosort` option
2019-04-26 08:04:15 +02:00
Frantisek Sumsal
9521d5582b
bash-completion: unify indentation
2019-04-24 18:03:30 +02:00
Frantisek Sumsal
72c9177db2
bash-completion: properly autocomplete escaped unit names
2019-04-24 18:03:15 +02:00
Zbigniew Jędrzejewski-Szmek
c1072f6473
shell-completion/zsh: add -*type*- headers
...
Since there's no file extension, emacs and other editors do not know that this is
supposed to be in shell syntax.
2019-04-12 08:36:18 +02:00
Zbigniew Jędrzejewski-Szmek
843cfcb15c
shell-completion: use 4 space indentation too
...
The same as in other places, indentation levels were all over the place.
2019-04-12 08:34:44 +02:00
Jörg Sommer
a505736536
completion/zsh/journalctl: Add --no-hostname
2019-03-26 07:59:30 +01:00
Frantisek Sumsal
c01dbf6d19
bash-completion: unify indentation
2019-03-23 21:51:04 +01:00
Frantisek Sumsal
1413763ea5
bash-completion: use default completion for redirect operators
2019-03-23 21:50:50 +01:00
Yu Watanabe
58a6c57b75
bash-completion: add systemd-id128 support
2019-03-15 18:54:53 +09:00
Yu Watanabe
ca66b69d5b
bash-completion: also suggest units in reloading or activating
...
Closes #11942 .
2019-03-12 11:25:26 +01:00
Jörg Sommer
d9e15cbd18
journalctl: New option --cursor-file
...
The option cursor-file takes a filename as argument. If the file exists and
contains a valid cursor, this is used to start the output after this position.
At the end, the last cursor gets written to the file.
This allows for an easy implementation of a timer that regularly looks in the
journal for some messages.
journalctl --cursor-file err-cursor -b -p err
journalctl --cursor-file audit-cursor -t audit --grep DENIED
Or you might want to walk the journal in steps of 10 messages:
journalctl --cursor-file ./curs -n10 --since=today -t systemd
2019-02-27 18:43:31 +01:00
Yu Watanabe
23bedfbc32
bash-completion: busctl: add 'emit' command support
2019-02-06 13:30:53 +01:00
Yu Watanabe
f77bb3a3bd
bash-completion: udevadm: support recently added options
2019-01-18 16:10:01 +01:00
dana
c501ecd70c
zsh completion: Prevent functions from clobbering each other, &c.
...
- Don't redefine helpers on every call
- Prefix helper names with main function name
- Adjust some helper names for consistency and convention adherance
2019-01-08 15:23:37 +01:00
Paul Seyfert
0e9ab1af64
zsh/coredumpctl: don't print warnings from completion function
2018-12-31 21:27:09 +01:00
Paul Seyfert
ffc7a6e931
zsh/coredumpctl: offer --quiet
2018-12-26 14:02:06 +01:00
Paul Seyfert
10dd7e746b
zsh/coredumpctl: offer --directory option
...
After `-D <TAB>` and `--directory=<TAB>` _directories is called to
suggest directories.
2018-12-25 22:57:23 +01:00
Paul Seyfert
ddc052dc4e
zsh/coredumpctl: complete argument for --debugger=
...
This way external commands (i.e. executables in the PATH) are suggested
at --debugger=<TAB>. Upon starting a path (e.g. --debugger=/<TAB> or
--debugger=./<TAB>), filenames of executables are completed.
2018-12-25 19:30:50 +01:00
Zbigniew Jędrzejewski-Szmek
0e89eb474d
Merge pull request #10221 from lucaswerkmeister/bash-completion
...
Merged locally to resolve a conflict. The redirection of error is required to
suppress "# Not showing unlisted system calls, ...".
2018-12-18 14:53:58 +01:00
Yu Watanabe
1f7951241f
bash-completion: also suggests device units
...
Follow-up for b6854081ff
.
2018-12-17 14:44:58 +09:00
Yu Watanabe
19582502c0
bash-completion: udevadm: suggest argument for several options
2018-12-17 14:44:00 +09:00
Yu Watanabe
d5acf7da91
bash-completion: fix __get_interfaces()
2018-12-17 11:13:15 +09:00
Zbigniew Jędrzejewski-Szmek
57db447ebf
Merge pull request #11147 from yuwata/bash-completion-machinectl
...
bash-completion: adds import-fs for machinectl and suggest more
2018-12-14 08:57:03 +01:00
Yu Watanabe
f675a1f005
bash-completion: busctl: support --json and -j option
2018-12-14 08:55:38 +01:00
Yu Watanabe
ff1cf894d2
bash-completion: nspawn: support recently added options
2018-12-14 03:18:33 +09:00
Yu Watanabe
223f58ba8d
bash-completion: run: support recently added options
2018-12-14 03:18:33 +09:00
Yu Watanabe
2e68a49dc8
bash-completion: systemctl: use --output=help to show suggestions
2018-12-14 02:33:21 +09:00
Yu Watanabe
fdc33681ae
bash-completion: journalctl: use --output=help to show suggestions
2018-12-14 02:33:21 +09:00
Yu Watanabe
d104486ab6
bash-completion: journalctl: drop deprecated --new-id128 option
2018-12-14 02:33:21 +09:00
Yu Watanabe
3b59e2cbed
bash-completion: loginctl: suggest argument for --machine option
2018-12-14 02:22:40 +09:00
Yu Watanabe
dfeebf55d9
bash-completion: loginctl: suggest argument for --output option
2018-12-14 02:18:35 +09:00
Yu Watanabe
fad73e9deb
bash-completion: machinectl: suggest arguments for --verify and --format
...
This also changes to use '--output=help' for suggesting arguments of
--output option.
2018-12-14 02:18:24 +09:00
Yu Watanabe
0e5bea97e9
bash-completion: machinectl: support import-fs
2018-12-14 01:52:48 +09:00
Yu Watanabe
a73b2f4ab3
bash-completion: bootctl: support set-default and set-oneshot
2018-12-14 01:26:52 +09:00
Yu Watanabe
ed0c5a6f89
bash-completion: bootctl: suggest argument for --path option
2018-12-14 01:26:25 +09:00
Yu Watanabe
8ed22786aa
bash-completion: bootctl: add one missing option
2018-12-14 01:25:31 +09:00
Yu Watanabe
83da42c3bf
bash-completion: analyze: support 'security'
2018-12-07 08:05:18 +01:00
Xuanwo
c4a2deba7e
zsh-completion: Add support for set-property ( #10322 )
2018-11-20 13:17:11 +09:00
Elias Probst
adb4c246c1
zsh-completion: typo (proerties
> properties
)
2018-11-16 13:27:56 +00:00
Elias Probst
ed251bf26b
zsh-completion: complete available, not running machines for clone
2018-11-16 13:27:02 +00:00
Yu Watanabe
cb39201e72
bash-completion: analyze: add timespan
...
Follow-up for 3f1c1287a9
.
2018-10-23 22:28:42 +09:00
Lennart Poettering
8e04444385
journalctl: port JSON output mode to new JSON API
...
Also, while we are at it, beef it up, by adding json-seq support (i.e.
https://tools.ietf.org/html/rfc7464 ). This is particularly useful in
conjunction with jq's --seq switch.
2018-10-11 17:25:27 +02:00
Lucas Werkmeister
2431ca22bc
bash-completion: analyze: complete system call sets
2018-09-30 22:27:27 +02:00
Yu Watanabe
f28255e2d5
bash-completion: systemctl: re-implement __filter_units_by_properties()
...
This also unifies __filter_units_by_property() and
__filter_units_by_properties(), and makes completion for 'restart',
'reload' or 'stop' show more candidates.
2018-09-12 14:17:22 +09:00
Jan Pokorný
53956faf74
shell-completion: replace "gdb" verb with "debug" for coredumpctl
...
Also offer --debugger option. Both to reflect changes in v239.
2018-08-20 09:43:44 +02:00
Yu Watanabe
652e39a378
bash-completion: journalctl: add --grep and --case-sensitive
2018-08-08 15:26:38 +09:00
Jon Ringle
fbb48d4c66
Make final kill signal configurable
...
Usecase is to allow changing the final kill from SIGKILL to SIGQUIT which
should create a core dump useful for debugging why the service didn't stop
with the SIGTERM
2018-07-23 13:44:54 +02:00
Yu Watanabe
cbed8ff5a1
meson: drop redundant messages
2018-07-10 23:24:39 -07:00
Zbigniew Jędrzejewski-Szmek
25612ecba4
tree-wide: drop copyright lines for more authors
...
Acks in https://github.com/systemd/systemd/issues/9320 .
2018-06-22 16:39:45 +02:00
Yu Watanabe
5c46878eda
bash-completion: support 'timedatectl show'
2018-06-21 10:47:51 +09:00
Zbigniew Jędrzejewski-Szmek
d9b02e1697
tree-wide: drop copyright headers from frequent contributors
...
Fixes #9320 .
for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do
git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms'
done
2018-06-20 11:58:53 +02:00
Zbigniew Jędrzejewski-Szmek
0cd41d4dff
Drop my copyright headers
...
perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml
git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms'
git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms'
git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
2018-06-14 13:03:20 +02:00
Lennart Poettering
96b2fb93c5
tree-wide: beautify remaining copyright statements
...
Let's unify an beautify our remaining copyright statements, with a
unicode ©. This means our copyright statements are now always formatted
the same way. Yay.
2018-06-14 10:20:21 +02:00
Iwan Timmer
c9299be2f5
resolve: rename PrivateDNS to DNSOverTLS
...
PrivateDNS is not considered a good name for this option, so rename it to DNSOverTLS
2018-06-14 09:57:56 +02:00