Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12279 - sysklogd-1.4.1-r3 cron script uses incorrect path for killall
Summary: sysklogd-1.4.1-r3 cron script uses incorrect path for killall
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-16 20:08 UTC by Garen
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garen 2002-12-16 20:08:35 UTC
# tail ._cfg0000_syslog.cron 
...
# Restart syslogd
#
/bin/killall -HUP syslogd
# whereis killall
killall: /usr/bin/killall /usr/man/man1/killall.1.gz /usr/share/man/man1/killall
.1.gz
# ls -alsh /bin/k*
 12K -rwxr-xr-x    1 root     root         8.3K Dec 13 00:48 /bin/kill*

The previous rev of sysklogd had it correct though:
# tail syslog.cron 
...
# Restart syslogd
#
/usr/bin/killall -HUP syslogd
Comment 1 SpanKY gentoo-dev 2002-12-16 20:43:09 UTC
killall is in /bin/ ...

root@vapier root # qpkg -f /bin/killall -v
sys-apps/psmisc-21.2 *
Comment 2 Garen 2002-12-16 20:47:17 UTC
borgy:/bin# ls k*
kill
borgy:/bin# qpkg -f /bin/killall -v
borgy:/bin# 
borgy:/bin# qpkg -f /usr/bin/killall
sys-apps/psmisc *

How'd that happen?
Comment 3 Donny Davies (RETIRED) gentoo-dev 2002-12-16 21:26:24 UTC
Garen; guess you got an old psmisc.  would you upgrade please, or either
edit your cron snippert yourself to manage :p

athlon /root # grep killall /var/db/pkg/sys-apps/psmisc-21.2/CONTENTS
obj /bin/killall c15c22ed740d42d609d73778c78b1f81 1040077390
sym /bin/pidof -> killall 1040077390
sym /usr/bin/killall -> /bin/killall 1040077390
obj /usr/share/man/man1/killall.1.gz 4bad081a631037450637fcec5b2fc874 1040077390

Comment 4 Garen 2002-12-16 21:31:10 UTC
# qpkg -i psmisc
sys-apps/psmisc-19-r3 *
...
Hm.  I don't believe I've ever rebuilt this one, so it must have come from the 
stage3 .tbz.  I run stable and don't see anything newer avail, and in that case 
would expect others to run into this too.
Comment 5 Garen 2002-12-16 21:33:30 UTC
(Oh and yeah I can edit the cron script of course, its trivial...just thought I 
should report it :))
Comment 6 SpanKY gentoo-dev 2002-12-16 21:46:00 UTC
yeah i figured it was just a matter of you not using the new psmisc ebuild 
(that symlink and stuff is in the new psmisc) 
 
woodchip: think its ok to make latest psmisc go stable ?