On 5/22/07, Fong Vang <sudoyang at gmail.com>
wrote:> I downloaded the src rpm for CentOS 5 and tried to recompile it. It failed
> with the following message:
>
> + sh ./scripts/modsign/modsign.sh
>
/var/tmp/kernel-2.6.18-8.el5-root/lib/modules/2.6.18-8.el5PAE/kernel/drivers/char/watchdog/pcwd_pci.ko
> CentOS
> gpg: WARNING: unsafe permissions on homedir `..'
> + mv -f
>
/var/tmp/kernel-2.6.18-8.el5-root/lib/modules/2.6.18-8.el5PAE/kernel/drivers/char/watchdog/pcwd_pci.ko.signed
> /var/tmp/kernel-2.6.18-8.el5-root/lib/modules/2.6.18-
> 8.el5PAE/kernel/drivers/char/watchdog/pcwd_pci.ko
> + for i in '`cat modnames`'
> + sh ./scripts/modsign/modsign.sh
>
/var/tmp/kernel-2.6.18-8.el5-root/lib/modules/2.6.18-8.el5PAE/kernel/drivers/char/watchdog/alim7101_wdt.ko
> CentOS
> ./scripts/modsign/modsign.sh: line 46: 13120 Segmentation fault gpg
> --no-greeting $KEYFLAGS -b $module.out
> error: Bad exit status from /var/tmp/rpm-tmp.89878 (%build)
>
> Is it segfaulting because it can't find the key to sign the module?
The problem you are seeing is probably related to this bug report:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=213974
Akemi