[Lxc-users] LXC on Debian Squeeze

Frank Bauer frank.c.bauer at gmail.com
Tue Sep 28 07:21:53 UTC 2010


On Mon, Sep 27, 2010 at 10:13 PM, Daniel Lezcano <daniel.lezcano at free.fr> wrote:
>
> Maybe it would be easier to check first if you have this fd in bash with ls
> -al /proc/<pid>/fd and then follow up the hierarchy to find the first
> process who introduced this fd.

So, tracing the two open fds as you suggested

  lxc-start: inherited fd 7 on pipe:[5329]
  lxc-start: inherited fd 9 on pipe:[5333]

in the following tree

  init─┬─acpid
       ├─console-kit-dae───63*[{console-kit-da}]
       ├─cron
       ├─2*[dbus-daemon]
       ├─dbus-launch
       ├─dhclient
       ├─gdm───gdm─┬─Xorg
       │           └─fluxbox─┬─ssh-agent
       │                     ├─urxvt───bash───su───bash
       │                     └─xterm───bash───su───bash───pstree

revealed they are both open starting with the second gdm process
down to the leaf bash processes.
The first gdm process had only fd 7 on pipe:[5329] open and finally
init had none of these pipes.

As you can see, I have exchanged xmonad for fluxbox and in
addition to urxvt I tried xterm without any change.

To send the bugreport to a proper place, which process should be
responsible for closing those fds? gdm?

Thanks,
Frank




More information about the lxc-users mailing list