Bug 1303344

Summary: Small typos in systemd.spec makes unnecessary slash in user's home directory path
Product: [Fedora] Fedora Reporter: Yu Watanabe <watanabe.yu>
Component: systemdAssignee: systemd-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: johannbg, jsynacek, lnykryn, msekleta, muadda, s, systemd-maint, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-11 08:38:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch that removes the unnecessary slash in the home directory paths none

Description Yu Watanabe 2016-01-31 08:41:07 UTC
Created attachment 1119714 [details]
Patch that removes the unnecessary slash in the home directory paths

Description of problem:
in /etc/passwd, the home directory path contains unnecessary duplicated slash as follows:
-------
systemd-journal-remote:x:983:976:Journal Remote://var/log/journal/remote:/sbin/nologin
systemd-journal-upload:x:982:975:Journal Upload://var/log/journal/upload:/sbin/nologin
-------


Version-Release number of selected component (if applicable):
systemd-228-7.gite35a787.fc24.x86_64
systemd-222-13.fc23.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Install systemd-journal-gateway (for F23) or systemd-journal-remote (for Rawhide)
2.
3.

Actual results:
As shown above.

Expected results:
like as follows.
-------
systemd-journal-remote:x:983:976:Journal Remote:/var/log/journal/remote:/sbin/nologin
systemd-journal-upload:x:982:975:Journal Upload:/var/log/journal/upload:/sbin/nologin
-------


Additional info:
The above problem is caused by the following lines in systemd.spec:
http://pkgs.fedoraproject.org/cgit/rpms/systemd.git/tree/systemd.spec?id=e53f79084e0c7cd93ab25c8dcf488d8e064cc2fc#n528
http://pkgs.fedoraproject.org/cgit/rpms/systemd.git/tree/systemd.spec?id=e53f79084e0c7cd93ab25c8dcf488d8e064cc2fc#n530
The attached patch fixes this problem.