Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24752 - [netcfg] ethernet-dhcp only works in debug mode

Attached to Project: Arch Linux
Opened by Philipp (hollunder) - Friday, 17 June 2011, 10:17 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 14 August 2011, 16:07 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
ethernet-dhcp only works in debug mode

Additional info:
* package version(s)
netcfg v2.5.5

* config and/or log files etc.
CONNECTION='ethernet'
DESCRIPTION='Ethernet with dhcp'
INTERFACE='eth0'
IP='dhcp

Steps to reproduce:

$ sudo NETCFG_DEBUG="yes" netcfg ethernet-dhcp
DEBUG: Loading profile ethernet-dhcp
DEBUG: Configuring interface eth0
:: ethernet-dhcp up
DEBUG: status reported to profile_up as:
DEBUG: Loading profile ethernet-dhcp
DEBUG: Configuring interface eth0
DEBUG: ethernet_iproute_up ifup
DEBUG: ethernet_up dhcpcd -qL -t 10 eth0
DEBUG:
DEBUG: ethernet_iproute_up hostname eris

$ sudo NETCFG_DEBUG="yes" netcfg -d ethernet-dhcp
DEBUG: Loading profile ethernet-dhcp
DEBUG: Configuring interface eth0
DEBUG: status reported to profile_down as: ethernet-dhcp
:: ethernet-dhcp down
DEBUG: Loading profile ethernet-dhcp
DEBUG: Configuring interface eth0
DEBUG: ethernet_down dhcpcd -qx eth0
DEBUG: ethernet_down if_down

$ sudo netcfg ethernet-dhcp
:: ethernet-dhcp up
> DHCP IP lease attempt failed.
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Sunday, 14 August 2011, 16:07 GMT
Reason for closing:  Works for me
Additional comments about closing:  User could not reproduce issue.
Comment by Philipp (hollunder) - Friday, 17 June 2011, 10:31 GMT
Sorry, I messed up the category on the three netcfg tasks. Should have been [core], not [extra]. Please move, thanks.
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 03 July 2011, 10:05 GMT
Does it work when you do the three commands with NETCFG_DEBUG="yes" ?
Comment by Philipp (hollunder) - Monday, 01 August 2011, 18:02 GMT
It did work with NETCFG_DEBUG="yes" as you can see from above output.

However, it seems like the situation has changed, the commands work without DEBUG now. I don't know what changed. You can consider this closed if you want to.

I still can't get netcfg to work on boot though..

Loading...