Public bug reported: I am running Ubuntu 12.04.3 LTS on my server an I have a ksh script which gathers system information. It is invoked by cron.daily. Recently I added the following lines:
pvscan | grep "^ *PV " \ | perl -ne 's/[\n\r]*$// ; s/[\[\]]//g ; @Line=split() ; printf( "%2s %-10s %2s %-8s %4s %6.2f %3s %s %6.2f %4s\n", @Line ) ; ' Since then I get the error message below from cron.daily: File descriptor 3 (/) leaked on pvscan invocation. Parent PID xxxx: /usr/bin/ksh I do not get the message if I run the script manually from a shell or from a regular cron. I tried to set LVM_SUPPRESS_FD_WARNINGS=1 as described in debian bugs 432986, 466138 and 534220 but nothing changed. It seems that nobody really addressed this rather old LVM issue. ** Affects: lvm2 (Ubuntu) Importance: Undecided Status: New ** Tags: leak lvm pvscan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1241378 Title: File descriptor leaked on pvscan invocation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1241378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs