Bug ID 978703
Summary Possibly bash-completion bug for systemd
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter mikhail.kasimov@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hello!

42.1, systemd 210:
=====
k_mikhail@linux-mk500:~> systemctl --version 
systemd 210
+PAM +LIBWRAP +AUDIT +SELINUX -IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
+SECCOMP +APPARMOR
=====

1. Trying 
k_mikhail@linux-mk500:~> systemctl -- <Tab><Tab>

Result:
=====
k_mikhail@linux-mk500:~> systemctl --
--after                --ignore-dependencies  --reverse
--all                  --kill-who             --root
--before               --no-ask-password      --runtime
--defaults             --no-block             --signal
--fail                 --no-legend            --state
--failed               --no-pager             --system
--force                --no-reload            --type
--full                 --no-wall              --user
--global               --privileged           --version
--help                 --property             
--host                 --quiet

2. Trying
k_mikhail@linux-mk500:~> systemd -- <Tab><Tab>

Result: no result. Empty field.

Only after explicit 'systemd --help' I got a list:
=====
k_mikhail@linux-mk500:~> systemd --help
systemd [OPTIONS...]

Starts up and maintains the system or user services.

  -h --help                      Show this help
     --test                      Determine startup sequence, dump it and exit
     --no-pager                  Do not pipe output into a pager
     --dump-configuration-items  Dump understood unit configuration items
     --unit=UNIT                 Set default unit
     --system                    Run a system instance, even if PID != 1
     --user                      Run a user instance
     --dump-core[=0|1]           Dump core on crash
     --crash-shell[=0|1]         Run shell on crash
     --confirm-spawn[=0|1]       Ask for confirmation when spawning processes
     --show-status[=0|1]         Show status updates on the console during
bootup
     --log-target=TARGET         Set log target (console, journal, syslog,
kmsg, journa
     --log-level=LEVEL           Set log level (debug, info, notice, warning,
err, crit
     --log-color[=0|1]           Highlight important log messages
     --log-location[=0|1]        Include code location in log messages
     --default-standard-output=  Set default standard output for services
     --default-standard-error=   Set default standard error output for services

Seems it's bug of bash-completion for systemd. Please, consider!


You are receiving this mail because: