Bug 683952 - dhcp6c client daemon doesn't stopped if DHCPV6C_OPTIONS undefined
Summary: dhcp6c client daemon doesn't stopped if DHCPV6C_OPTIONS undefined
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: initscripts
Version: 5.5
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-10 18:40 UTC by Konstantin Volkov
Modified: 2013-03-11 09:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-11 09:22:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Konstantin Volkov 2011-03-10 18:40:37 UTC
Description of problem:

dhcp6c client daemon doesn't stopped if DHCPV6C_OPTIONS undefined in ifcfg-eth0 config file during ifdown eth0 command.

There is the BUG in ifup-eth network script:

---
dhcp6_pid=(`/bin/ps -eo 'pid,args' | /bin/grep "dhcp6c ${DHCPV6C_OPTIONS} ${DEVICE}" | egrep -v grep`)
---

So, if DHCPV6C_OPTIONS is undefined there are double space and grep doesn't work, pid is undefined.

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

initscripts-8.45.30-3.el5_5.1

How reproducible:

100%

Steps to Reproduce:
1. Setup the DHCP client for IPv6
2. ifup eth0; ifdown eth0
3. See that dhcp6c daemon was not stopped
  
Actual results:

dhcp6c daemon doesn't stopped when interface is ifdown'ed

Expected results:

dhcp6c daemon should be stopped when interface is ifdown'ed

Comment 1 Lukáš Nykrýn 2013-03-11 09:22:04 UTC
This should be fixed in initscripts-8.45.41-1.el5.


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