On Tue, Mar 08, 2011 at 03:19:36PM -0600, Bruno Wolff III wrote:
On Tue, Mar 08, 2011 at 15:22:06 -0500,
"Paul W. Frields" <stickster(a)gmail.com> wrote:
> The bug's not tremendously easy to test. You have to set up a box or
> a virtual guest using a very minimal install, plus
> fedora-release-notes. The install has to be so bare that it doesn't
> include yum, in fact. (Which makes me feel kind of silly fixing it,
> but whatever.) The bug is that if someone didn't include the
> coreutils package, which contains /bin/touch, then a RPM %post script
> error happens when fedora-release-notes is installed. The package
> update fixes this problem, even though the other content doesn't
> change.
This can happen when building live images even when coreutils is in the
package list. fedora-release can get installed before coreutils without
a requires(pre). I don't know whether the script breaking is a big deal or not.
If it is the bug isn't hypothetical. I know I saw the error message when
building some live images.
This is good information Bruno, thanks. If this were killing live
images regularly, I think we'd know it since fedora-release-notes is
generally included on most of the nightlies. I believe the /bin/touch
is simply used to ensure the icon cache is updated. The fact that the
cache still works fine even when the scriptlet fails is probably due
to it running correctly multiple times after coreutils *is* around.
--
Paul W. Frields
http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
http://redhat.com/ - - - -
http://pfrields.fedorapeople.org/
Where open source multiplies:
http://opensource.com