[Fedora-packaging] Re: buildroot race condition
enrico.scholz at informatik.tu-chemnitz.de
Tue Mar 13 08:13:05 UTC 2007
Till Maas <opensource at till.name> writes:
> an OpenSUSE packager made me aware of a race condition problem with a
> lot of fedora specs:
Was brought up already when $RPM_BUILD_ROOT was discussed....
> The solution is to make the following mandatory:
> rm -rf $RPM_BUILD_ROOT
> mkdir $RPM_BUILD_ROOT # this fails when $RPM_BUILD_ROOT already exists
Will work; another solution would be to use a secure %_tmpdir (which is
write and perhaps readable by the packager only). Packagers have to
setup %_topdir already so this should happen for %_tmpdir too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 480 bytes
Desc: not available
More information about the Fedora-packaging