Bug 244598 - Prelink problem with nethack
Prelink problem with nethack
Product: Fedora EPEL
Classification: Fedora
Component: nethack (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Luke Macken
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-06-17 18:40 EDT by Matthew Booth
Modified: 2016-09-19 22:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-11 14:02:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Booth 2007-06-17 18:40:39 EDT
Description of problem:
After installing nethack, I get the following error nightly:

avc: denied { create } for comm="prelink" egid=0 euid=0 exe="/usr/sbin/prelink"
exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="nethack.#prelink#.cNGQAs" pid=20166
scontext=user_u:system_r:prelink_t:s0 sgid=0 subj=user_u:system_r:prelink_t:s0
suid=0 tclass=file tcontext=user_u:object_r:usr_t:s0 tty=(none) uid=0 

After a brief investigation of this problem, my best guess is that prelink is
trying to create a temporary file in /usr/games/nethack-3.4.3/. As this isn't a
regular location for binaries, it's not allowed to do this.

Although I haven't yet tinkered with the new modular SELinux stuff, my
understanding is that this is now an application packaging issue rather than a
central SELinux policy issue.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install nethack
2. Leave SELinux in Enforcing mode
3. Wait for prelink to run
Actual results:
As above.

Expected results:
Prelink functions correctly.

Additional info:
Comment 1 Luke Macken 2007-10-11 14:02:57 EDT
13:58 =dwalsh> upgrade to the latest selinux policy.
13:58 =dwalsh> people.redhat.com/dwalsh/SELinux/RHEL5
13:59 =dwalsh> Should take care of it.  

Note You need to log in before you can comment on or make changes to this bug.