Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516812 - sys-apps/rng-tools-4-r5: TEXTREL in /usr/sbin/rngd
Summary: sys-apps/rng-tools-4-r5: TEXTREL in /usr/sbin/rngd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-09 22:05 UTC by Fedja Beader
Modified: 2014-10-17 18:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fedja Beader 2014-07-09 22:05:03 UTC
sys-apps/rng-tools-4-r5 installs rngd with a TEXTREL, causing /etc/init.d/rngd not to start at boot.

This issue is possibly present in more versions of the rng-tools ebuild. ChangeLog says it is fixed in -4-r6.

Reproducible: Always

Steps to Reproduce:
1. emerge '=sys-apps/rng-tools-4-r5' # current stable as of my tree sync
2. /etc/init.d/rngd start
Actual Results:  
/etc/init.d/rngd start
 * Starting rngd ...
/usr/sbin/rngd: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
 * start-stop-daemon: failed to start `/usr/sbin/rngd'
 * Failed to start rngd                                                                                                                                                    [ !! ]
 * ERROR: rngd failed to start

Expected Results:  
no red, more green.
Comment 1 Pacho Ramos gentoo-dev 2014-07-10 11:31:29 UTC
(not a regression over current stable, if still valid with -r7, that includes the patch, I would reopen the old bug report as it wasn't solved then)
Comment 2 Anthony Basile gentoo-dev 2014-10-17 18:58:23 UTC
This was fixed long ago.

  15 May 2013; Anthony G. Basile <blueness@gentoo.org>
  +files/fix-textrels-on-PIC-x86.patch, +rng-tools-4-r6.ebuild:
  Fix assemby textrels on rdrand_asm.S on PIC x86, bug #469962