Bug 1045792 - ifdown warning about /sbin/pidof
Summary: ifdown warning about /sbin/pidof
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: procps-ng
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-22 01:26 UTC by John Ellson
Modified: 2016-02-01 01:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-07 21:11:32 UTC
Type: Bug


Attachments (Terms of Use)

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 ...


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