Bug 1303113
| Summary: | systemd rpm does not own /usr/lib/systemd/scripts/ | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eric Paris <eparis> |
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | bcodding, bfields, harald, jlayton, johannbg, lnykryn, msekleta, muadda, smayhew, s, steved, systemd-maint, 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: | 2016-08-22 16:00: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: | |
| Embargoed: | |||
|
Description
Eric Paris
2016-01-29 15:15:29 UTC
I would blame nfs-utils for it.. it's not a documented, supported directory, IIRC. kicking to nfs-utils, so they claim it... (In reply to Harald Hoyer from comment #1) > I would blame nfs-utils for it.. it's not a documented, supported directory, > IIRC. I guess nfs-utils does create the directory mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/scripts So I guess nfs-utils needs at %dir /usr/lib/systemd/script under the %files Anybody know what the macro is for usr/lib/systemd? Why would nfs-utils put scripts in systemd package's directory? They should go into /usr/libexec/nfs-utils or %{_libdir}/nfs-utils/.
(In reply to Zbigniew Jędrzejewski-Szmek from comment #4) > Why would nfs-utils put scripts in systemd package's directory? They should > go into /usr/libexec/nfs-utils or %{_libdir}/nfs-utils/. It's simply the way upstream did it... I guess we can make the change... Just out of curiously why is %{_libdir}/nfs-utils/ a better place? /usr/lib/systemd/ belongs to systemd, so other packages should not put stuff there, unless it's documented to do so. Using /usr/lib/systemd/systemd is fine, but /usr/lib/systemd/scripts is not. In principle systemd could start using that directory for some internal purpose, e.g. for scripts to be executed during boot (or whatever). In practice it's unlikely to be a problem, but even then it's confusing, because it's unclear who is responsible for that directory. It's not terribly important, it's probably not even worth patching it in Fedora. It would be better to change it upstream and let the change trickle down to Fedora. |