[Fedora-packaging] Output from %post scriptlets

Todd Zullinger tmz at pobox.com
Sun Mar 22 16:39:57 UTC 2009


Are there guidelines on output from %post scriptlets?  Specifically,
if a scriptlet calls service whatever condrestart, is it required to
send output to /dev/null?  Most packages seem to do so, and the
scriptlet snippets for init scripts suggest this.  But some packages
don't and the "stopping ... [OK]; starting ... [OK]' output is then
displayed when updating.

(I'm not suggesting that there should be a guideline on this, just
checking if there is one that I've overlooked. :)

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Liberty is always dangerous, but it is the safest thing we have.
    -- Harry Emerson Fosdick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20090322/f822424f/attachment.sig>


More information about the Fedora-packaging mailing list