See updated bug description about the reason behind this and how to
ignore these if you are affected.

** Description changed:

- Binary package hint: lvm2
+ If you see messages like these:
  
- I am reporting this bug against lvm2 2.02.54-1ubuntu4 in Ubuntu Lucid.
- 
- First, I start with an imaged install of Lucid (with numerous packages
- out of date). I then allow unattended-upgrades to take care of updating
- the system. In the e-mail sent out by unattended-upgrades, I see this:
- 
- ----begin update log excerpt----
- Preparing to replace linux-image-2.6.32-22-generic 2.6.32-22.33 (using 
.../linux-image-2.6.32-22-generic_2.6.32-22.36_i386.deb) ...
- Done.
- Unpacking replacement linux-image-2.6.32-22-generic ...
- Running postrm hook script /usr/sbin/update-grub.
- Generating grub.cfg ...
- Found linux image: /boot/vmlinuz-2.6.32-22-generic
- Found initrd image: /boot/initrd.img-2.6.32-22-generic
- Found memtest86+ image: /boot/memtest86+.bin
  File descriptor 40 (/var/lib/dpkg/status) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
  File descriptor 41 (/var/lib/dpkg/status) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
  File descriptor 42 (/var/lib/dpkg/status) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
  File descriptor 43 (/var/lib/dpkg/status) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
- [several lines snipped for brevity]
- File descriptor 111 (/var/lib/dpkg/status) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
- File descriptor 112 (/var/lib/dpkg/status) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
- File descriptor 113 (/var/lib/dpkg/status) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
- File descriptor 114 (/dev/null) leaked on lvs invocation. Parent PID 1854: 
/bin/sh
- File descriptor 115 
(/var/log/unattended-upgrades/unattended-upgrades-dpkg_2010-06-08_19:46:17.965947.log)
 leaked on lvs invocation. Parent PID 1854: /bin/sh
- File descriptor 116 (pipe:[26995]) leaked on lvs invocation. Parent PID 1854: 
/bin/sh
- File descriptor 117 (pipe:[26996]) leaked on lvs invocation. Parent PID 1854: 
/bin/sh
- File descriptor 118 (/var/log/apt/term.log) leaked on lvs invocation. Parent 
PID 1854: /bin/sh
- done
- Preparing to replace openoffice.org-emailmerge 1:3.2.0-7ubuntu4 (using 
.../openoffice.org-emailmerge_1%3a3.2.0-7ubuntu4.1_all.deb) ...
- Disabling: mailmerge.py
- ----end update log excerpt----
  
- Something doesn't seem quite right there.
+ You can set LVM_SUPPRESS_FD_WARNINGS to suppress these warnings.
+ 
+ Reference:
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581339
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432986
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466138
+ 
+ This is a slightly controversial bug and it's not yet fixed either way
+ (aka fix not to leak file descriptors or stop warning by default)

** Changed in: lvm2 (Ubuntu)
       Status: Confirmed => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/591823

Title:
  "File descriptor \d+ (\S+) leaked on lvs invocation."

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptitude/+bug/591823/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to