Bug 817744

Summary: systemd-195-13.18.1.x86_64 has two identical applications /bin/systemd-ask-password and /usr/bin/systemd-ask-password in the same package
Product: [openSUSE] openSUSE 12.3 Reporter: James McDaniel <jmcdaniel3>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: VERIFIED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description James McDaniel 2013-04-29 22:16:19 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0

systemd-195-13.18.1.x86_64 includes the same program loaded in two different locations /bin/systemd-ask-password and /usr/bin/systemd-ask-password and they both appear to be the same program:

/bin/systemd-ask-password --help
systemd-ask-password [OPTIONS...] MESSAGE

Query the user for a system passphrase, via the TTY or an UI agent.

  -h --help          Show this help
     --icon=NAME     Icon name
     --timeout=SEC   Timeout in sec
     --no-tty        Ask question via agent even on TTY
     --accept-cached Accept cached passwords
     --multiple      List multiple passwords if available
 
/usr/bin/systemd-ask-password --help
systemd-ask-password [OPTIONS...] MESSAGE

Query the user for a system passphrase, via the TTY or an UI agent.

  -h --help          Show this help
     --icon=NAME     Icon name
     --timeout=SEC   Timeout in sec
     --no-tty        Ask question via agent even on TTY
     --accept-cached Accept cached passwords
     --multiple      List multiple passwords if available

Folder Descriptions:

/bin : Essential user command binaries (for use by all users)

Purpose: /bin contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems are mounted (e.g. in single user mode). It may also contain commands which are used indirectly by scripts.

/usr/bin : Most user commands

Purpose: This is the primary directory of executable commands on the system.


Reproducible: Always

Steps to Reproduce:
1. Start YaST
2. Search on systemd
3. Go to Files Tab
4. Find both /bin/systemd-ask-password and /usr/bin/systemd-ask-password
Actual Results:  
The same application located at /bin/systemd-ask-password and /usr/bin/systemd-ask-password is present in two places.

Expected Results:  
Expect systemd-ask-password to be loaded in folder /bin or /usr/bin only.

It just seems like a packaging issue, but perhaps there is a good reason to do this, but it escapes me.
Comment 1 James McDaniel 2013-05-11 18:38:38 UTC
I have created a bash script to help use and learn systemd you can find below:

https://forums.opensuse.org/blogs/jdmcdaniel3/sysdcmd-systemd-command-help-config-editor-version-1-0-0-138/

I did find a second duplicate application listed in the 

/bin/systemctl
/bin/systemd
/bin/systemd-ask-password
/usr/bin/hostnamectl
/usr/bin/journalctl
/usr/bin/localectl
/usr/bin/loginctl
/usr/bin/systemctl
/usr/bin/systemd-ask-password
/usr/bin/systemd-cat
/usr/bin/systemd-cgls
/usr/bin/systemd-cgtop
/usr/bin/systemd-coredumpctl
/usr/bin/systemd-delta
/usr/bin/systemd-detect-virt
/usr/bin/systemd-inhibit
/usr/bin/systemd-journalctl
/usr/bin/systemd-loginctl
/usr/bin/systemd-machine-id-setup
/usr/bin/systemd-notify
/usr/bin/systemd-nspawn
/usr/bin/systemd-stdio-bridge
/usr/bin/systemd-tmpfiles
/usr/bin/systemd-tty-ask-password-agent
/usr/bin/timedatectl
/usr/sbin/systemd-sysv-convert

but /bin/systemctl & /bin/systemd-ask-password are just symlinks to the actual files in /usr/bin and something you can't tell when just looking at the list of files in the YaST Software Manager program list.  

I consider this issue to be non-existent.  Sorry for any trouble in posting it.

Thank You,
Comment 2 James McDaniel 2013-05-11 18:40:01 UTC
This is not a problem with systemd.