Mailinglist Archive: opensuse-de (5757 mails)
| < Previous | Next > |
ssh single-command 'hangs' after starting a chrooted program
- From: Michael Zimmermann <zim@xxxxxxxx>
- Date: Sun, 6 Oct 2002 17:23:04 +0200
- Message-id: <200210061723.04087.zim@xxxxxxxx>
Greetings,
Using ssh I remotely call a service script in
/etc/rc.d, say
# ssh root@xy "/etc/rc.d/named start"
where the named is started with the parameters
-u named and -t <chroot-jail>.
The command gets executed
Starting name server BIND9 ..done
and the service runs perfectly, BUT
ssh does not return, waits indefinetedly
for the called server to close the connection
and has to be killed with an interrupt instead.
Trying different variations showed, that this
problem occurs only, when the service is started
(or restarted) and the daemon is running chrooted.
Hence I assume, Mrs. ssh-single-command + Mr. chroot
are having relationship problems... .o)
Thanks for your help. Please answer offlist,
if you find that problem OT here, then
I will post the solution, if one comes up.
Michael
--
Michael Zimmermann (http://vegaa.de)
Using ssh I remotely call a service script in
/etc/rc.d, say
# ssh root@xy "/etc/rc.d/named start"
where the named is started with the parameters
-u named and -t <chroot-jail>.
The command gets executed
Starting name server BIND9 ..done
and the service runs perfectly, BUT
ssh does not return, waits indefinetedly
for the called server to close the connection
and has to be killed with an interrupt instead.
Trying different variations showed, that this
problem occurs only, when the service is started
(or restarted) and the daemon is running chrooted.
Hence I assume, Mrs. ssh-single-command + Mr. chroot
are having relationship problems... .o)
Thanks for your help. Please answer offlist,
if you find that problem OT here, then
I will post the solution, if one comes up.
Michael
--
Michael Zimmermann (http://vegaa.de)
| < Previous | Next > |