FS#29274 - [systemd-sysvcompat] missing /bin/pidof
Attached to Project:
Arch Linux
Opened by alex (kabolt) - Wednesday, 04 April 2012, 12:30 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 28 April 2012, 22:51 GMT
Opened by alex (kabolt) - Wednesday, 04 April 2012, 12:30 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 28 April 2012, 22:51 GMT
|
Details
Description:
sysvinit contains pidof which is needed by some programs especially scripts. The good thing: there is a tool with name pgrep which provides the same plus some more functionality so it is easy to simulate pidof via a script. I add it as attachment. |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 28 April 2012, 22:51 GMT
Reason for closing: Won't fix
Additional comments about closing: individual daemons should rely on init-agnostic tools like pgrep instead.
Saturday, 28 April 2012, 22:51 GMT
Reason for closing: Won't fix
Additional comments about closing: individual daemons should rely on init-agnostic tools like pgrep instead.
pidof
Perhaps you could point out the "some scripts" which need pidof. I'd rather fix those.
/etc/cron.weekly/squid
The rest were my own ones but I have forgotten that I use already ps -C^^.
Now to the optional part:
beyond /etc/rc.d are many scripts which could be fixed but this isn't really necessary because they depend on initscripts which depends on sysvinit
This package isn't meant to be a replacement for all the binaries that sysvinit provides -- just the canonical symlinks like init and reboot. Just as I did for sulogin, I'd sooner be inclined to push pidof itself to another package that's actually maintained (perhaps util-linux again) than to do something insane here.