Bug 491371

Summary: would be nice if it wrote its own pid file
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: dhcpv6Assignee: David Cantrell <dcantrell>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-03 02:49:33 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 Bill Nottingham 2009-03-20 16:52:26 UTC
Description of problem:

From ifup-eth:

if [[ "${DHCPV6C}"  = [Yy1]* ]] && [ -x /sbin/dhcp6c ]; then
    /sbin/dhcp6c ${DHCPV6C_OPTIONS} ${DEVICE}
    dhcp6_pid=(`/bin/ps -eo 'pid,args' | /bin/grep "dhcp6c ${DHCPV6C_OPTIONS} ${DEVICE}" | e
grep -v grep`)
    [ -n  "$dhcp6_pid" ] && echo ${dhcp6_pid[0]} > /var/run/dhcp6c_${DEVICE}.pid
fi

It would be nice if dhcp6c wrote its own pid file.

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

dhcpv6-1.1.0-2.fc11

Comment 1 David Cantrell 2009-04-03 02:49:33 UTC
Fixed in dhcpv6-1.2.0-1

PID files are in /var/run/dhcpv6