Bug 1149569

Summary: doesn't include /usr/lib/os-release
Product: [Fedora] Fedora Reporter: Rahul Sundaram <metherid>
Component: systemdAssignee: systemd-maint
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: johannbg, jsynacek, lnykryn, msekleta, s, systemd-maint, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-31 16:57:17 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1149568    

Description Rahul Sundaram 2014-10-06 05:59:58 UTC
Description of problem:

according to the man page, /etc/os-release should be a symlink to /usr/lib/os-release.  however the latter file is not included by systemd

fedora-release bug report to create the symlink

https://bugzilla.redhat.com/show_bug.cgi?id=1149568

Comment 1 Zbigniew Jędrzejewski-Szmek 2014-10-07 12:36:22 UTC
I think that the /etc/os-release link should be packaged in fedora-release*, because the /usr/lib/os-release file is there.

Comment 2 Rahul Sundaram 2014-10-07 12:44:38 UTC
I am not sure how to parse that.  fedora-release does NOT have /usr/lib/os-release

rpm -ql fedora-release
/etc/fedora-release
/etc/issue
/etc/issue.net
/etc/os-release
/etc/redhat-release
/etc/system-release
/etc/system-release-cpe
/usr/lib/rpm/macros.d/macros.dist
/usr/share/licenses/fedora-release
/usr/share/licenses/fedora-release/Fedora-Legal-README.txt
/usr/share/licenses/fedora-release/LICENSE

Dennis (see the linked bug report) is of the opinion that /etc/os-release not being a symlink isn't a problem.

Comment 3 Rahul Sundaram 2014-10-07 12:45:54 UTC
Oh, never mind.  I see that you have already commented on the linked bug report.

Comment 4 Zbigniew Jędrzejewski-Szmek 2015-01-31 16:57:17 UTC
I still think this should go into fedora-release. Let's pursue it there.