Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211092 - net-misc/dhcpcd-3.2.0: Segmentation fault for option "-H"
Summary: net-misc/dhcpcd-3.2.0: Segmentation fault for option "-H"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 10:16 UTC by Toralf Förster
Modified: 2008-02-25 08:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2008-02-22 10:16:45 UTC
After I made a typo in /etc/conf.d/net (I used accidentely -H instead of -h) I got at my machine n22 :

n22 ~ # /etc/init.d/net.eth0 restart
...
 * Starting eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...
err, n99hzp5a: ioctl SIOCGIFHWADDR: No such device
/lib/rcscripts/net/dhcpcd.sh: line 98:  8241 Segmentation fault      /sbin/dhcpcd -h "n22" -L -t 25 -H n99hzp5a -N e  [ !! ]
 *     192.168.0.254/24                                                                                               [ ok ]
 * Starting dnsmasq ...                                                                                               [ ok ]


Here are my (corrected) LAN settings:

#       LAN
#       dhcp, static ip for local services like apache, ...
#
config_eth0=(
        "dhcp"
        "192.168.0.254/24"
        )
dhcp_eth0="nontp"
dhcpcd_eth0="-L -t 25 -h n99hzp5a"


Reproducible: Always
Comment 1 Roy Marples 2008-02-23 14:07:05 UTC
This is already fixed in newer versions
Comment 2 Roy Marples 2008-02-24 10:48:32 UTC
Ah tell a lie, it's a new bug which I've fixed upstream

http://git.marples.name/?p=dhcpcd/.git;a=commitdiff;h=68816fbfeb64dbde2264f03a20375225f85d2a27
Comment 3 Peter Weller (RETIRED) gentoo-dev 2008-02-25 08:55:18 UTC
Fixed in 3.2.3