[Buildd-tools-devel] Bug#486696: Bug#486696: File descriptor left open messages w/lvm snapshots

Roger Leigh rleigh at whinlatter.ukfsn.org
Wed Jun 18 12:43:44 UTC 2008


On Tue, Jun 17, 2008 at 02:38:50PM -0400, Joey Hess wrote:
> Package: schroot
> Version: 1.2.0-1
> Severity: minor
> 
> These messages were previously mentioned in #379671, but I'm seeing them with
> current unstable.
> 
> joey at kodama:~>schroot -c sid
> File descriptor 3 left open
> File descriptor 4 left open
> I: [sid-6a6a7764-9640-47e7-86d0-a05f1c305384 chroot] Running login shell: ‘/bin/zsh’
>  14:37:10 up 1 day, 21:08,  0 users,  load average: 0.39, 0.53, 0.58
> joey at kodama:~>
> File descriptor 3 left open
> File descriptor 4 left open

Possibly this is from either/or

- syslog
- ctty stream to the controlling terminal

In the first case, we need to closelog() if we aren't already; in the
second case setting FD_CLOEXEC should be sufficient.

I'll take a proper look when I have time after next week.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.





More information about the Buildd-tools-devel mailing list