Bug 239707 - avc:denied /usr/sbin/in.tftpd (tftpd_t)
avc:denied /usr/sbin/in.tftpd (tftpd_t)
Product: Fedora
Classification: Fedora
Component: tftp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Martin Nagy
David Lawrence
: SELinux
Depends On:
  Show dependency treegraph
Reported: 2007-05-10 13:14 EDT by eric magaoay
Modified: 2016-07-26 19:46 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-03 05:53:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
selinux troubleshooter output log (2.30 KB, text/plain)
2007-05-10 13:14 EDT, eric magaoay
no flags Details

  None (edit)
Description eric magaoay 2007-05-10 13:14:57 EDT
Description of problem:
selinux denying access for tftpd.

here is the raw audit messages:

avc: denied { search } for comm="in.tftpd" dev=sda6 egid=0 euid=0
exe="/usr/sbin/in.tftpd" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="/"
pid=3873 scontext=user_u:system_r:tftpd_t:s0 sgid=0

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

How reproducible:

Steps to Reproduce:
1. yum install tftp tftp-server
2. vi /etc/xinetd.d/tftp
   # edit/change the following variables:
    disable = no
    server_args = -s /a
3. execute from remote client:
   # assumed localhost = and /a has "pxelinux.0" file
   tftp -c get pxelinux.0

Actual results:
From client getting "Transfer timed out."
Attached file is the output of selinux troubleshooter
Comment 1 eric magaoay 2007-05-10 13:14:57 EDT
Created attachment 154486 [details]
selinux troubleshooter output log
Comment 2 Martin Nagy 2008-03-03 05:53:29 EST
This is not a bug and selinux is supposed to deny access. Hence closing as NOTABUG.
If you want to fix this, execute:
chcon --reference=/tftpboot /a

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