Bug 1303344 - Small typos in systemd.spec makes unnecessary slash in user's home directory path
Summary: Small typos in systemd.spec makes unnecessary slash in user's home directory ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-31 08:41 UTC by Yu Watanabe
Modified: 2016-02-11 08:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-11 08:38:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch that removes the unnecessary slash in the home directory paths (1.64 KB, patch)
2016-01-31 08:41 UTC, Yu Watanabe
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.