reopen 376175
thanks

On Fri, 30 Jun 2006, Lars Wirzenius wrote:
> > No, I get the same warning. Those effectively do not exist and they are
> > however listed by /proc/mounts... Somehow the recursive nature due to the
> > /home bind-mount and the shared /proc/mounts create this inconsistency.
> 
> In that case I would say it is a problem in your setup (or possibly in
> the way bind mounting works), not in piuparts. piuparts requires a
> working lsof to functions properly. I'll close the bug, therefore.

lsof outputs warnings and returns 1 as exit code but it otherwise
still works.

You can use the "-w" option to ignore those warnings. The return code is
still 1 but you don't get the useless warnings.

Maybe you're interpreting lsof output in a too restrictive way?

Checking the sources... I see that the error are detected by counting the
lines on the output and not by the exit code. Thus I ask you to add the
"-w" option to lsof and the problem will be solved. I just tested and it
worked...

> I could make the lsof testing optional; there's already a wishlist bug
> open about making tests selectable, and it seems like a reasonable thing
> to have.

Indeed.

Cheers
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to