Bug 251688

Summary: dhcpd start script with old path for selinux context
Product: Red Hat Enterprise Linux 5 Reporter: Thorsten Schirmers <schirmers>
Component: dhcpAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 5.0CC: ralph+rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0323 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:24:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thorsten Schirmers 2007-08-10 12:57:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.12) Gecko/20070718 Fedora/1.5.0.12-4.fc6 Firefox/1.5.0.12 pango-text

Description of problem:
In /etc/init.d/dhcpd this path will be used for selinux:
"&& /sbin/restorecon /var/lib/dhcp/dhcpd.leases >/dev/null 2>&1"
In this version the lease-file is located under /var/lib/dhcpd.


Version-Release number of selected component (if applicable):
dhcp-3.0.5-5.el5

How reproducible:
Always


Steps to Reproduce:
1.installation of dhcp-3.0.5-5.el5
2.default path /var/lib/dhcpd/ didn't match the path in init script


Actual Results:
with enanbled selinux dhcp-server will not work properly

Expected Results:


Additional info:

Comment 1 David Cantrell 2007-11-12 18:39:10 UTC
Fixed this in rawhide, flagging for RHEL-5 evaluation.

Comment 2 RHEL Program Management 2007-11-12 18:44:47 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 David Cantrell 2007-11-19 19:46:01 UTC
Fixed in dhcp-3.0.5-8.el5.  Moving to MODIFIED.

Comment 8 errata-xmlrpc 2008-05-21 15:24:19 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0323.html