http://qa.mandrakesoft.com/show_bug.cgi?id=4230

           Product: initscripts
         Component: initscripts
           Summary: killproc kills outside it own chroot
           Product: initscripts
           Version: 7.06-14mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: initscripts
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


native system: /
chroot system: /chroot

xfs is used as an example, same applies to other daemons (cron, etc)

Deinstall XFree86-xfs from chroot system. xfs is not running in chroot (no pid
file), killproc doesn't find a pid file, looks up the "xfs" processes in the
process table and kills them. Result: xfs running in native system ( / ) is killed.

possible fix: check if the process you are trying to kill has the same root.
- lsof will give this information in "rtd".
- compare if /proc/$$/root = /proc/$kill_pid/root

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to