Package: bird
Version: 1.0.11-4

Hi,
bird does not close all fd's on startup thus it does not detach
from the tty it was started on e.g. the ssh session does not get dropped
when logging off:

[EMAIL PROTECTED]:~# apt-get install bird
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  bird
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 205kB of archives.
After unpacking 467kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  bird
Install these packages without verification [y/N]? y
Get:1 http://source.rfc822.org etch/main bird 1.0.11-4 [205kB]
Fetched 205kB in 0s (455kB/s)
Selecting previously deselected package bird.
(Reading database ... 17172 files and directories currently installed.)
Unpacking bird (from .../bird_1.0.11-4_i386.deb) ...
Setting up bird (1.0.11-4) ...
Starting BIRD - Internet routing daemon: ok

[EMAIL PROTECTED]:~# logout
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0

[EMAIL PROTECTED]:~# ps -ef | grep bird
root      2499     1  0 08:16 ?        00:00:00 /usr/sbin/bird
root      2583  2549  0 08:19 pts/1    00:00:00 grep bird
[EMAIL PROTECTED]:~# ls -la /proc/2499/fd/
total 9
dr-x------ 2 root root  0 Jun  6 08:19 .
dr-xr-xr-x 5 root root  0 Jun  6 08:19 ..
lrwx------ 1 root root 64 Jun  6 08:19 0 -> /dev/pts/0
lrwx------ 1 root root 64 Jun  6 08:19 1 -> /dev/pts/0
l-wx------ 1 root root 64 Jun  6 08:19 13 -> pipe:[7566]
lrwx------ 1 root root 64 Jun  6 08:19 2 -> /dev/pts/0
lrwx------ 1 root root 64 Jun  6 08:19 3 -> socket:[7604]
lr-x------ 1 root root 64 Jun  6 08:19 4 -> /etc/bird.conf
lrwx------ 1 root root 64 Jun  6 08:19 5 -> socket:[7606]
lrwx------ 1 root root 64 Jun  6 08:19 6 -> socket:[7607]
lrwx------ 1 root root 64 Jun  6 08:19 7 -> socket:[7608]

Either start bird with </dev/null >/dev/null 2>&1 or let it close
all fds.

Flo
-- 
Florian Lohoff                  [EMAIL PROTECTED]             +49-171-2280134
        Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to