RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 968398 - SELinux is preventing /usr/sbin/pppd from 'read, write' accesses on the file pppd2.tdb
Summary: SELinux is preventing /usr/sbin/pppd from 'read, write' accesses on the file ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ppp
Version: 6.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: Jaroslav Aster
URL:
Whiteboard:
Depends On:
Blocks: 1075802
TreeView+ depends on / blocked
 
Reported: 2013-05-29 16:14 UTC by Robert Scheck
Modified: 2019-04-16 14:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-16 08:13:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0685 0 normal SHIPPED_LIVE ppp bug fix and enhancement update 2015-03-16 12:13:39 UTC

Description Robert Scheck 2013-05-29 16:14:32 UTC
Description of problem:
Configure 3G without NetworkManager stuff, thus classical networking, and try
to do a "service network restart". It will not bring up the ppp0 interface of
3G but cause this SELinux message:

type=AVC msg=audit(1369839157.521:192552): avc:  denied  { read write } for  pid=2498 comm="pppd" name="pppd2.tdb" dev=sda2 ino=10488093 scontext=unconfined_u:system_r:pppd_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file
type=SYSCALL msg=audit(1369839157.521:192552): arch=x86_64 syscall=open success=no exit=EACCES a0=7f56b24e3d2f a1=42 a2=1a4 a3=0 items=0 ppid=2496 pid=2498 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=15156 comm=pppd exe=/usr/sbin/pppd subj=unconfined_u:system_r:pppd_t:s0 key=(null)

Version-Release number of selected component (if applicable):
ppp-2.4.5-5.el6.x86_64

How reproducible:
Everytime, see above and below.

Actual results:
SELinux is preventing /usr/sbin/pppd from 'read, write' accesses on the file 
pppd2.tdb

Expected results:
No issues, no AVC denied.

Additional info:
http://pkgs.fedoraproject.org/cgit/ppp.git/plain/ppp-2.4.5-var_run_ppp.patch 
applying solves the issue.

This issue was already resolved for Fedora with Red Hat Bugzilla #560014.

Comment 1 Robert Scheck 2013-05-29 16:15:26 UTC
Note that a manual "ifup ppp0" of course works due to different context!

Comment 2 Robert Scheck 2013-05-29 20:45:12 UTC
Cross-filed case 00881225 in the Red Hat customer portal.

Comment 4 Michal Sekletar 2013-06-29 15:22:07 UTC
Thank you for the report. Unfortunately, ppp package is not going to be updated in the next maintenance release of Red Hat Enterprise Linux. Due to the update policy I am unable to address this issue right now. This bug maybe addressed in some future release of RHEL.

Comment 5 Robert Scheck 2013-06-29 17:54:36 UTC
I really dislike to read this, escalating case 00881225.

Comment 6 Michal Sekletar 2013-06-29 19:19:15 UTC
If fixing of this bug is really important for you escalation of the support case is IMHO the best way to get the fix. Thanks for your understanding and cooperation.

Comment 10 Michal Sekletar 2014-07-29 13:46:18 UTC
I have no problem with merging patch. I'll try to get this in for RHEL-6.7. This also needs PM and QA review tough.

Comment 17 errata-xmlrpc 2015-03-16 08:13:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0685.html


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