Could anyone please explain this to me?
I have a binary /foo that essantially does this:
if father exit;
kill all processes not in own session
This works fine, when I simply log in and start /foo as root. However,
when I first cd /home after logging in and then start /foo it cannot
unmount /home. As you might expect by now, I have to partitions: / and
/home. That means I cannot umount /home if I started the binary with cwd
on this partition although the child process doesn't even know about the
original cwd. And my login shell ahs already been killed.
What can I do to avoid this? For my example it's not that big an issue,
but imagine /usr being mounted...
Thanks in advance
Dr. Michael Meskes, Projekt-Manager | topystem Systemhaus GmbH
email@example.com | Europark A2, Adenauerstr. 20
firstname.lastname@example.org | 52146 Wuerselen
Go SF49ers! Use Debian GNU/Linux! | Tel: (+49) 2405/4670-44
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .