Bug 718436 - SSSD calls system() to flush NSCD caching services.
Summary: SSSD calls system() to flush NSCD caching services.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 15
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-02 23:17 UTC by Matthew Ife
Modified: 2011-07-26 03:39 UTC (History)
4 users (show)

Fixed In Version: sssd-1.5.11-2.fc15
Clone Of:
Environment:
Last Closed: 2011-07-26 03:33:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthew Ife 2011-07-02 23:17:55 UTC
Description of problem:

In an attempt to flush NSCD if it is running, SSSD will call system(/usr/bin/nscd -i service) to flush the cache.

This is a problem from a SELinux standpoint because future policy writers will need to allow the sss-tools to have execute permission of all bin_t files.

It is preferable to directly fork/exec in this situation because then SELinux policy can support the nscd_domtrans call only which greatly reduces the scope of access required to make this work.

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

sssd-1.5.8

How reproducible:

Consistently reproduceable.

Steps to Reproduce:
1. Call any sss-tools application which alters the local database files.

Actual results:

The request works but SELinux polic would need to permit execute on bin_t types.

Expected results:

No requirement to execute bin_t types when calling nscd.

Comment 1 Fedora Update System 2011-07-05 19:40:17 UTC
sssd-1.5.11-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/sssd-1.5.11-2.fc15

Comment 2 Fedora Update System 2011-07-05 19:40:18 UTC
sssd-1.5.11-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/sssd-1.5.11-2.fc14

Comment 3 Fedora Update System 2011-07-06 21:27:23 UTC
Package sssd-1.5.11-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sssd-1.5.11-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sssd-1.5.11-2.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-07-26 03:33:15 UTC
sssd-1.5.11-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2011-07-26 03:39:21 UTC
sssd-1.5.11-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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