| Summary: | Default configuration refers to illegal PID_DIR | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Crawford <frank> | ||||
| Component: | sysusage | Assignee: | Christopher Meng <i> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 19 | CC: | frank, i, 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: | 2013-11-12 05:19:32 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: |
|
||||||
I pushed -2 RPM yesterday which changed the PID to /var/run. Prior to that I made a typo in the spec: http://pkgs.fedoraproject.org/cgit/sysusage.git/commit I don't know why you want /run. /var/run is fine as it links to /run, but I believe the latest standard with systemd is just to have a /run directory for everything. I will ask a systemd developer to see if we really need to change this. Thanks anyway. Created attachment 822483 [details]
%description with some spelling fixes
In practice they are equivalent, but since /var/run is a compatibility symlink to /run, it is a bit nicer to use plain /run.
BTW. in the %description there are some typos, attempt at a patch attached.
(In reply to Zbigniew Jędrzejewski-Szmek from comment #4) > Created attachment 822483 [details] > %description with some spelling fixes > > In practice they are equivalent, but since /var/run is a compatibility > symlink to /run, it is a bit nicer to use plain /run. > > BTW. in the %description there are some typos, attempt at a patch attached. Thanks. I will keep using /var/run (because too many packages are still using it and I don't see any better performance of using /run) I just posted a tiny question: https://lists.fedoraproject.org/pipermail/packaging/2013-November/009794.html to see if any better solutions are available. |
Description of problem: The shipped configuration file /etc/sysusage.cfg defines PID as "%{_localstatedir}/run", which is a non-existent directory, and is incorrect anyway. Correct value should be "/run". Version-Release number of selected component (if applicable): sysusage-5.3-1.fc19.noarch How reproducible: 100% Steps to Reproduce: 1. Install sysusage RPM 2. View configuration file 3. Check variable PID_DIR Actual results: sysusage fails to run due to invalid PID directory. Expected results: Should be able to run sysusage programs. Additional info: