Bug#432986: lvm utilities complain about fds >2

2007-07-13 Thread Ian Jackson
Alasdair G Kergon writes ("Re: Bug#432986: lvm utilities complain about fds >2"): > Do you have any examples? In sh, it is common to pass extra fds to subprocesses when doing fd plumbing. For example, a debconf-using postinst ends up reexeced with an fd onto the debconf

Bug#432986: lvm utilities complain about fds >2

2007-07-13 Thread Alasdair G Kergon
On Fri, Jul 13, 2007 at 03:20:10PM +0100, Ian Jackson wrote: > The lvm utilities apparently whinge if they inherit any fds other than > 0,1,2. This is quite unreasonable. There is nothing wrong with > executing a program with some inherited fd >2 and there are many > reasons why one might want to

Bug#432986: lvm utilities complain about fds >2

2007-07-13 Thread Ian Jackson
Package: lvm2 Version: 2.02.06-4 The lvm utilities apparently whinge if they inherit any fds other than 0,1,2. This is quite unreasonable. There is nothing wrong with executing a program with some inherited fd >2 and there are many reasons why one might want to do so. If lvm needs to fork off a