Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Paul Goyette
On Wed, 15 Dec 2021, Greg Troxel wrote: Andreas Gustafsson writes: m...@netbsd.org wrote: I hope fixing this is enough to fix all the cryptic issues. The build is now fixed, but I still need to give the testbeds the ability to automatically remove objdirs containing non-writable

Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Greg Troxel
Valery Ushakov writes: > On Wed, Dec 15, 2021 at 07:53:55 -0500, Greg Troxel wrote: > >> I wonder if "rm -rf" should actually succeed with these modes, by doing >> a chmod when necessary. It has always seem to me that -f is supposed to >> really mean -f. But maybe POSIX says otherwise. > >

Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Valery Ushakov
On Wed, Dec 15, 2021 at 07:53:55 -0500, Greg Troxel wrote: > I wonder if "rm -rf" should actually succeed with these modes, by doing > a chmod when necessary. It has always seem to me that -f is supposed to > really mean -f. But maybe POSIX says otherwise. That would be a security hole,

Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Greg Troxel
Andreas Gustafsson writes: > m...@netbsd.org wrote: >> I hope fixing this is enough to fix all the cryptic issues. > > The build is now fixed, but I still need to give the testbeds the > ability to automatically remove objdirs containing non-writable > directories, because otherwise they will

Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Andreas Gustafsson
m...@netbsd.org wrote: > I hope fixing this is enough to fix all the cryptic issues. The build is now fixed, but I still need to give the testbeds the ability to automatically remove objdirs containing non-writable directories, because otherwise they will get stuck whenever they decide to build a

Re: Heads up: objdir is now rm -rf resistent

2021-12-14 Thread maya
On Tue, Dec 14, 2021 at 10:52:26PM +0200, Andreas Gustafsson wrote: > All, > > The TNF testbed is currently failing to start new builds because it is > unable to remove the objdirs from previous builds using the Python > equivalent of "rm -rf". > > Specifically, after the i386 build fails the

Re: Heads up: objdir is now rm -rf resistent

2021-12-14 Thread maya
On Tue, Dec 14, 2021 at 10:52:26PM +0200, Andreas Gustafsson wrote: > All, > > The TNF testbed is currently failing to start new builds because it is > unable to remove the objdirs from previous builds using the Python > equivalent of "rm -rf". > > Specifically, after the i386 build fails the

Heads up: objdir is now rm -rf resistent

2021-12-14 Thread Andreas Gustafsson
All, The TNF testbed is currently failing to start new builds because it is unable to remove the objdirs from previous builds using the Python equivalent of "rm -rf". Specifically, after the i386 build fails the way it currently does, the objdir contains two directories with mode 0111, which rm