Bug 1045792

Summary: ifdown warning about /sbin/pidof
Product: [Fedora] Fedora Reporter: John Ellson <john.ellson>
Component: procps-ngAssignee: Jaromír Cápík <jcapik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jcapik, jonathan, lnykryn, ovasik, vpavlin
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: 2014-01-07 21:11: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:

Description John Ellson 2013-12-22 01:26:58 UTC
Description of problem:
WARNING: pidof has been moved from /sbin to /usr/bin. 
Please, change/remove the hardcoded path.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.ifdown eth0
2.
3.

Actual results:
WARNING: pidof has been moved from /sbin to /usr/bin. 
Please, change/remove the hardcoded path.

Expected results:
No warning.

Additional info:

Comment 1 Lukáš Nykrýn 2014-01-03 13:37:27 UTC
In initscripts we don't use hardcoded path to pidof. At least on my system you don't even have to call ifdown, simple pidof is enough. This is probably caused by content of PATH variable where sometimes (after sudo) /sbin is before /usr/sbin.

Comment 2 Jaromír Cápík 2014-01-07 16:46:58 UTC
Hi guys.

I wanted to remove the message as the wrapper script affects the %PPID resolution. Now there seems to be one more reason for the wrapper removal. I'm going to replace it with symlink.

Thanks for the report.

Regards,
Jaromir.

Comment 3 Jaromír Cápík 2014-01-07 21:11:32 UTC
Should be fixed in 3.3.9-2 ...