hang while using smart to install packages on SuSE system

Jeff Johnson n3npq at mac.com
Thu Feb 9 16:52:58 PST 2006


On Feb 9, 2006, at 7:28 PM, Pascal Bleser wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeff Johnson wrote:
>> On Feb 9, 2006, at 10:13 AM, Mikus Grinbergs wrote:
>>> I suspect a race condition (running on a 2Ghz dual-core Opteron).
>> If its a race, then the mechanism is missed SIGCHLD.
>> Verify that smart is indeed waiting for SIGCHLD, the scriptlet with a
>> ppid same as smart will be in the Z "zombie" state.
>> And kill -CHILD of smart should wake up smart, reap the zombie   
>> status,
>> and continue merriily along.
>> If you've verified the above, go find the SuSE troll responsible for
>> rpm and send him my way for fixing.
>> I have no idea what rpm SuSE is using currently.
>
> For the record, I'm that "troll".
>

Well, hello troll!

> Current version is 0.41:
> http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=System/smart
>

Version of rpm, not smart, please. You can't fix an rpmlib race in  
smart,

Recommended for "production" use is waitpid instead of SIGCHLD reaper by
setting the value of reaper as appropriate. Sne dme pointer to what  
you are calling
rpm and I'll send you a patch if necessary.

Assuming that this "hang" is SIGCHLD, I have yet to hear credible  
report of
scriptlet in Z "zombie" state.

> Same version is in SUSE "Factory" (the development branch of SUSE  
> 10.1), packager there is Christoph
> Thiel (who's also on this list).
>

Sorry, I don't track with SuSE "Factory". Mac OS X and darwinports  
tracking ois nearly
more than I can handle.

73 de Jeff




More information about the Smart mailing list