From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.4 i686)
Description of problem:
I have a rpm I built myself and I forgot to add %defattr(-,root,root) to
the %files section of
the spec file so when it built the files they inherited my uid and gid.
With the RH 6.2 rpm binary it
installs these files fine. With RH 7.1's rpm it seg faults trying to
install when the user doesn't exist. If I install the rpm from a kickstart
postinstall script. If I do it from the command line after
the box has built is just displays a warning that the user doesn't exist.
Steps to Reproduce:
1. rpm -i http://blah/package from inside a kickstart post install script
Actual Results: rpm seg faults
Expected Results: It should install with a warning
A pointer to your binary package, please, so's I can try to reproduce
the segfault. I suspect that your segfault may actually be due to other
causes: Have you been using the Ximian installer? If so, then please
send me a pointer to a tarball of your database
tar czvf /tmp/rpmdb.tar.gz rpm
and I'll tell you what to do.
Created attachment 19410 [details]
RSA ACE/Agent for Linux rpm
Okay I just attached the rpm in question. No I haven't used the ximian
installer. The box doesn't have X
even installed on it. It's a fresh RH 7.1 box with not much installed built
I've worked around the bug by specificing the default attributes in the spec
file (which I should have done
before), but rpm shouldn't crash still :)
rpm-4.0.3 does not segfault when installing/erasing your package.
So when is 4.0.3 going to be included in RH 7.1 updates?