Hi Ted,

>I believe this is a bug in cron or lvm, in that cron fd 3 open for
>some unknown reason.  And then LVM whines about it.  See:

Indeed, I think this is most likely a bug in cron.
It’s (while annoying) okay for LVM to complain (IceWM also does, IIRC).

>The simplest way to work around this should be to add to the following
>command to the beginning of /sbin/e2scrub_all:
>
>exec 3<&-
>
>Can you confirm this fixes things for you?

Yes, it does. (The Korn shell (when not in POSIX mode) also closes
those fds by default, but given none is in base, this fix is easier
than switching to #!/bin/mksh ☻)

bye,
//mirabilos
-- 
“It is inappropriate to require that a time represented as
 seconds since the Epoch precisely represent the number of
 seconds between the referenced time and the Epoch.”
        -- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2

Reply via email to