sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 10173] New: /sbin/ifup calls a bogus ifconfig command if some options are unset
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 10173] New: /sbin/ifup calls a bogus ifconfig command if some options are unset
- Date: 3 Dec 2005 18:40:01 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=10173
Summary: /sbin/ifup calls a bogus ifconfig command if some
options are unset
Product: Codex
Version: test grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P4
Component: net
AssignedTo: sqweek AT gmail.com
ReportedBy: sqweek AT gmail.com
CC: sm-grimoire-bugs AT lists.ibiblio.org
/sbin/ifup contains the line:
ifconfig $DEV $IP broadcast $BROADCAST netmask $NETMASK $ARGS
This results in an erroneous command line if the user happens to skip setting
BROADCAST or NETMASK in netconf (which I, personally, would /never/ do >.>).
I have a patch which appends $BROADCAST and $NETMASK to $ARGS if they're
non-empty as is currently done with $POINTOPOINT and $MTU, as well as making
the
$ARGS building code a bit more pretty :)
BUT, maybe a better fix is to ensure these settings are set in netconf...
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [SM-Grimoire-Bugs] [Bug 10173] New: /sbin/ifup calls a bogus ifconfig command if some options are unset, bugzilla-daemon, 12/03/2005
Archive powered by MHonArc 2.6.24.