Re: pidofproc missing
William Hopkins wrote:
> On 05/31/11 at 09:30pm, lrhorer wrote:
>> I rebooted one of my servers a few minutes ago, and while watching
>> the init text, I noticed a couple of failures related to the script's
>> not
>> finding `pidof`. Sure enough, pidof was missing from my server,
>> somehow. The rest of sysvinit-utils was there, but not pidof. I
>> checked its sister machine, and it was there, so I copied it over,
>> and
>> all seems well - if distrurbing. In the mean time, however, I
>> noticed a number of init scripts, including cron, dirmngr, and
>> portmap, all use
>> `pidofproc`, and `pidofproc` is missing from both systems. In which
>> package does this utility reside?
>
> IIRC, pidofproc is part of the init functions provided by lsb-base
> see: /lib/lsb/init-functions
Oh! I see. It's not a binary, at all. The init scripts just source
the function. Thanks! (I'd still like to know how `pidof` got
mangled.)
Reply to: