RPM Community Forums

Mailing List Message of <rpm-users>

Re: RPM Installation status

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 18 Feb 2011 - 22:20:39 CET
Message-id: <9B969FBB-9DB3-425E-BB27-7557C7E165BE@mac.com>

On Feb 18, 2011, at 4:14 PM, pinto.elia@gmail.com wrote:

> In Some rpm version it is possible that a post fail could return always a zero status.there is bugzilla for this. Regards-----Original 

TIts possible to mask the exit status, and its also possible for a script to
return 0 and do nothing useful.

But logic and convention sez' that:
	All scripts have an exit status in uglix.
	An exit status of 0 == success, else failure.

You know all this ... or perhaps you are referring to the daft (imho)
@rpm.org decision to _IGNORE_ scriptt return codes.

Might as well just add
	%post -p /dev/random
and start the betting pol to see how long it takes for the
first successful return code from /dev/random.

73 de Jeff	my opinions are all mine

  • application/pkcs7-signature attachment: smime.p7s
Received on Fri Feb 18 22:21:18 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.