Systemd/src
Franck Bui 2bcd3c26fe core: limit the length of the confirmation question
When "confirmation_spawn=1", the confirmation question can look like:

  Execute /usr/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf? [Yes, No, Skip]

which is pretty verbose and might not fit in the console width size (which is
usually 80 chars) and thus question will be splitted into 2 consecutive lines.

However since the question is now refreshed every 2 secs, the reprinted
question will overwrite the second line of the previous one...

To prevent this, this patch makes sure that the command line won't be longer
than 60 chars by ellipsizing it if the command is longer:

  Execute /usr/bin/kmod static-nodes --format=tmpfiles --output=/ru…nf? [Yes, No, View, Skip]

A following patch will introduce a new choice that will allow the user to get
details on the command to be executed so it will still be possible to see the
full command line.
2016-11-17 18:16:50 +01:00
..
ac-power
activate activate: improve SIGCHLD handler 2016-04-05 14:34:04 +00:00
analyze analyze: fix build without seccomp 2016-11-10 10:12:31 +01:00
ask-password ask-password: add option --no-output to not print password to stdout 2016-03-01 19:02:11 +01:00
backlight tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
basic core: reprint the question every 2 sec in ask_char() 2016-11-17 18:16:49 +01:00
binfmt
boot bootctl: don't try to remove esp_path (#4407) 2016-10-19 21:15:20 +02:00
cgls tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
cgroups-agent tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
cgtop tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
core core: limit the length of the confirmation question 2016-11-17 18:16:50 +01:00
coredump coredump: bump type of arg_journal_size_max to uint64 too 2016-11-08 00:21:37 -05:00
cryptsetup Merge pull request #4510 from keszybz/tree-wide-cleanups 2016-11-03 13:59:20 -06:00
dbus1-generator Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
debug-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
delta delta: skip symlink paths when split-usr is enabled (#4591) 2016-11-06 09:16:42 -05:00
detect-virt detect-virt: add --private-users switch to check if a userns is active 2016-10-26 20:12:51 -04:00
escape tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
firstboot tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriate 2016-07-22 12:38:08 +02:00
fsck tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
fstab-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
getty-generator
gpt-auto-generator tree-wide: add PRI_[NU]SEC, and use time format strings more 2016-11-07 22:49:09 -05:00
hibernate-resume tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
hostname tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
hwdb Merge pull request #4510 from keszybz/tree-wide-cleanups 2016-11-03 13:59:20 -06:00
import tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
initctl Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
journal Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
journal-remote Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
kernel-install kernel-install: use exit instead of return (#4565) 2016-11-04 08:58:41 -04:00
libsystemd Merge pull request #4612 from keszybz/format-strings 2016-11-08 08:09:40 -05:00
libsystemd-network tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
libudev Merge pull request #4612 from keszybz/format-strings 2016-11-08 08:09:40 -05:00
locale tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
login Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
machine Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
machine-id-setup machine-id-setup: add new --print switch 2016-07-22 12:59:36 +02:00
modules-load tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
mount tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
network tree-wide: drop unneded WHITESPACE param to extract_first_word 2016-11-05 15:35:51 -04:00
notify Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
nspawn nspawn: fix condition for mounting resolv.conf (#4622) 2016-11-08 22:01:26 -05:00
nss-myhostname treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
nss-mymachines nss-mymachines: avoid connecting to dbus from inside dbus-daemon 2016-08-19 00:52:00 +02:00
nss-resolve nss-resolve: be a bit more careful with returning NSS_STATUS_NOTFOUND 2016-10-24 19:04:43 +02:00
nss-systemd nss-systemd: remove useless define 2016-10-22 18:39:08 -04:00
path
quotacheck tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
random-seed
rc-local-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
remount-fs core: when determining whether a process exit status is clean, consider whether it is a command or a daemon 2016-10-10 22:57:01 +02:00
reply-password tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
resolve Merge pull request #4510 from keszybz/tree-wide-cleanups 2016-11-03 13:59:20 -06:00
rfkill tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
run Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
shared nfsflags: drop useless include file 'seccomp-util.h' 2016-11-10 10:19:24 +01:00
sleep
socket-proxy tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
stdio-bridge stdio-bridge: Correctly propagate error 2016-02-29 10:45:34 +01:00
sysctl sysctl: minor simplification 2016-11-02 11:39:48 -06:00
system-update-generator
systemctl Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
systemd core: add "invocation ID" concept to service manager 2016-10-07 20:14:38 +02:00
sysusers Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
sysv-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
test Merge pull request #4536 from poettering/seccomp-namespaces 2016-11-08 19:54:21 -05:00
timedate Add enable_disable() helper 2016-07-31 22:48:22 -04:00
timesync tree-wide: add PRI_[NU]SEC, and use time format strings more 2016-11-07 22:49:09 -05:00
tmpfiles Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
tty-ask-password-agent core: when determining whether a process exit status is clean, consider whether it is a command or a daemon 2016-10-10 22:57:01 +02:00
udev Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
update-done update-done: minor clean-ups 2016-10-24 17:29:51 +02:00
update-utmp Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
user-sessions selinux: always try to load the full selinux db 2016-03-01 20:39:30 -05:00
vconsole Merge pull request #4448 from msoltyspl/vcfix 2016-10-26 20:55:18 -04:00
.gitignore
Makefile