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 do so.

Do you have any examples?

> If lvm needs to fork off a daemon or some such then fine, it ought to
> close them, but it should do so silently.
 
The warning has originally added upstream to help prove that a bug
originally reported against lvm2 was actually elsewhere.

The messages can be suppressed at runtime by setting the environment
variable LVM_SUPPRESS_FD_WARNINGS.

Alasdair
-- 
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to