Bug 884633 - sntp is not confined
Summary: sntp is not confined
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-06 13:04 UTC by Miroslav Lichvar
Modified: 2013-01-07 04:03 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-07 04:03:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miroslav Lichvar 2012-12-06 13:04:53 UTC
Description of problem:
The sntp program from the ntp package is a replacement for ntpdate, but it's not confined. Changing its context to ntpdate_exec_t doesn't seem to break it.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.10.0-159.fc17.noarch

Comment 1 Miroslav Grepl 2012-12-06 19:37:00 UTC
Is it just binary replacement? Or are there new paths for lib/log/run files?

Comment 2 Miroslav Lichvar 2012-12-06 19:43:13 UTC
It's not a drop-in replacement for ntpdate, but their functionality is very similar. The only differences I see now is that sntp doesn't use libcap and it writes to /var/lib/sntp-kod.

Comment 3 Miroslav Grepl 2012-12-07 08:31:16 UTC
commit 23a53aa57d7494b8b652e0712ef51c9b79e039ae
Author: Miroslav Grepl <mgrepl>
Date:   Fri Dec 7 09:30:04 2012 +0100

    Add sntp support to ntp policy

Comment 4 Fedora Update System 2012-12-17 18:43:49 UTC
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17

Comment 5 Fedora Update System 2012-12-18 02:39:57 UTC
Package selinux-policy-3.10.0-165.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-165.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-01-05 06:45:08 UTC
Package selinux-policy-3.10.0-166.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-166.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-01-07 04:03:31 UTC
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 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.