Red Hat Bugzilla – Bug 158189
makedbz segfault in %post script
Last modified: 2007-11-30 17:11:06 EST
Today's Raw Hide snapshot sees this error in install.log:
/var/tmp/rpm-tmp.42047: line 2: 9233 Segmentation fault su news -c
'/usr/lib/news/bin/makedbz -i -o'
Did you install inn package or did you upgrade it?
Makedbz segfaults if you have an old index data
It was a completely fresh install.
What happens if you run makedbz as root from command line?
Which files do you have in /var/lib/news ?
Ah, sorry, it's actually su which is segfaulting.
Tim this is reproducible on every rpm --erase inn / rpm -ivh inn invocation on a
Raw Hide box. gdb says the crash is at:
(gdb) bt full
#0 0x009867e2 in main (argc=4, argv=0xbfe8d8c4) at su.c:344
optc = Variable "optc" is not available.
This seems to be because ttyname(0) returns NULL.
Fixed package is coreutils-5.2.1-47.
Works for me, thanks Tim.