Bug 491371 - would be nice if it wrote its own pid file
Summary: would be nice if it wrote its own pid file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcpv6
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-20 16:52 UTC by Bill Nottingham
Modified: 2014-03-17 03:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-03 02:49:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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