On Sat, Jan 28, 2006 at 06:31:24PM +0100, Thomas Hood wrote:
> Piotr Kaczuba wrote:
> > When cleaning /tmp, bootclean doesn't remove all directories.
> 
> 
> Thanks for the report.
> 
> Is this a new bug introduced in 2.86.ds1-11 or was the bug already present in,
> e.g., 2.86.ds1-4 ?

The bug was introduced in 2.86.ds1-10, 2.86.ds1-4 was ok.
The culprit is the following line in bootclean:

        find . -depth -xdev $DEXPR $EXCEPT -type d -empty \
                -print0 | xargs -0r rmdir --ignore-fail-on-non-empty --\
                || { report_err ; return 1 ; }

In 2.86.ds1-4 it read:

                find . -depth -xdev $DEXPR $EXCEPT \
                                -type d -empty -exec rmdir \{\} \;


It's the change from find's exec to piping the stdout to xargs that
broke it.

Piotr


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

Reply via email to