[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jailkit-users] jk_chrootlaunch processes staying around?
From: |
Gregory Piñero |
Subject: |
[Jailkit-users] jk_chrootlaunch processes staying around? |
Date: |
Tue, 30 Oct 2007 00:42:43 -0400 |
I'm getting some odd behavior from jk_chrootlaunch.
The basic idea is I have a program run as root that runs this command
four times:
jk_chrootlaunch -u jaileduser -g jaileduser -j /srv/jail_dir/ --exec
/usr/bin/python2.5 exec_worker.py
It should leave 4 instances of exec_worker.py running from the
jaileduser in the jail.
However when I run ps aux | grep python
I get this:
root 2195 0.0 0.1 1712 480 ? S 00:33 0:00
/bin/sh -c jk_chrootlaunch -u jaileduser -g jaileduser -j
/srv/jail_dir/ --exec /usr/bin/python2.5 exec_worker.py
1001 2196 0.6 1.4 6764 4356 ? S 00:33 0:00
/usr/bin/python2.5 exec_worker.py
root 2197 0.0 0.1 1712 480 ? S 00:33 0:00
/bin/sh -c jk_chrootlaunch -u jaileduser -g jaileduser -j
/srv/jail_dir/ --exec /usr/bin/python2.5 exec_worker.py
1001 2198 0.7 1.4 6776 4364 ? S 00:33 0:00
/usr/bin/python2.5 exec_worker.py
root 2199 0.0 0.1 1716 484 ? S 00:33 0:00
/bin/sh -c jk_chrootlaunch -u jaileduser -g jaileduser -j
/srv/jail_dir/ --exec /usr/bin/python2.5 exec_worker.py
1001 2200 0.5 1.4 6768 4360 ? S 00:33 0:00
/usr/bin/python2.5 exec_worker.py
root 2201 0.0 0.1 1716 480 ? S 00:33 0:00
/bin/sh -c jk_chrootlaunch -u jaileduser -g jaileduser -j
/srv/jail_dir/ --exec /usr/bin/python2.5 exec_worker.py
1001 2202 0.2 1.4 6764 4356 ? S 00:33 0:00
/usr/bin/python2.5 exec_worker.py
So my questions are:
1. Why are these root process sticking around?
2. Why does 1001 appear instead of jaileduser?
Thanks for any help you can give. I'm quite stuck.
-Greg
- [Jailkit-users] jk_chrootlaunch processes staying around?,
Gregory Piñero <=