buildroot race condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

an OpenSUSE packager made me aware of a race condition problem with a lot of 
fedora specs:

http://lists.opensuse.org/opensuse-packaging/2007-02/msg00005.html

A lot of specs and the template specs from rpmdev-newspec use following:

%install
rm -rf $RPM_BUILD_ROOT
# racing time
mkdir -p $RPM_BUILD_ROOT/bla/foo

The solution is to make the following mandatory:
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT # this fails when $RPM_BUILD_ROOT already exists

Regards,
Till

Attachment: pgpgnLCxp51Q1.pgp
Description: PGP signature

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux