Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14303] New: ifupdown broken when dhcp installed

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14303] New: ifupdown broken when dhcp installed
  • Date: 11 Feb 2008 11:31:49 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14303

Summary: ifupdown broken when dhcp installed
Product: Codex
Version: test grimoire
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: net
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: sobukus AT sourcemage.org


My first experience with the nifty new networking:

bash-3.2# cat /etc/network/interfaces
iface eth0 inet dhcp

bash-3.2# strace ifup eth0
execve("/sbin/ifup", ["ifup", "eth0"], [/* 40 vars */]) = 0
[...]
open("/etc/network/run/ifstate", O_RDWR|O_CREAT|O_APPEND, 0666) = 3
[...]
open("/etc/network/run/.ifstate.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
[...]
rename("/etc/network/run/.ifstate.tmp", "/etc/network/run/ifstate") = 0
[...]
stat64("/sbin/dhclient3", 0xbfae50b4) = -1 ENOENT (No such file or
directory)
stat64("/sbin/dhclient", {st_mode=S_IFREG|0755, st_size=1418015, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7dd0708) = 12302
/var/run/dhclient.eth0.pid: interface name too long (is 26)

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server AT isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.


The problem seems to be that it finds dhclient installed and tries to use it,
but doesn't actually know
how to do so correctly.
I made it work like that:

bash-3.2# mv /sbin/dhclient{,_moved}

Now it seems to use dhcpcd and is happy (happier than me, at least).
Is our dhclient version odd? Or is this an upstream ifupdown bug?

I also see in horror that the strace shows me those write-enabled open()
lines on files in /etc.
I really would like stuff in /etc to be static... can we change these files
to /var/run or something?

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Grimoire-Bugs] [Bug 14303] New: ifupdown broken when dhcp installed, bugzilla-daemon, 02/11/2008

Archive powered by MHonArc 2.6.24.

Top of Page