From: Thierry Parmentelat Date: Fri, 2 Apr 2010 04:15:17 +0000 (+0000) Subject: remove install deadlock X-Git-Tag: BootstrapFS-2.0-3~4 X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=commitdiff_plain;h=51411ee59c8bce4342793f13fc2f6af729f53d3a remove install deadlock --- diff --git a/noderepo.spec b/noderepo.spec index 2dc3fc4..510d335 100644 --- a/noderepo.spec +++ b/noderepo.spec @@ -70,8 +70,11 @@ install -D -m 644 %{_topdir}/RPMS/yumgroups.xml $RPM_BUILD_ROOT/var/www/html/ins rm -rf $RPM_BUILD_ROOT %post -# we invoke the gpg step here just in case noderepo would get installed before myplc is started -service plc start gpg packages +# it would at first glance seem to make sense to invoke service plc start gpg here as well, +# as noderepo might get installed before myplc gets even started +# this however exhibit a deadlock, as rpm --almatches -e gpg-pubkey waits for transaction lock +# that is help by the calling yum/rpm +service plc start packages %files %defattr(-,root,root,-)