Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 802119

Summary: service network start shows error messages
Product: Red Hat Enterprise Linux 6 Reporter: Adam Okuliar <aokuliar>
Component: initscriptsAssignee: initscripts Maintenance Team <initscripts-maint-list>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: high    
Version: 6.3CC: azelinka, lnykryn, notting
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.03.30-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:09:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Okuliar 2012-03-11 12:52:06 UTC
Description of problem:
service network start shows error messages

Version-Release number of selected component (if applicable):
initscripts-9.03.28-1.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.create network interface configuration file ifcfg-netxen2:
DEVICE=netxen2
HWADDR=00:0e:1e:02:05:a6
ONBOOT=yes
BOOTPROTO=none
IPV6INIT=yes
IPADDR=172.16.25.10
NETMASK=255.255.255.0
IPV6ADDR=fd25::10/64

2. create vlan configuration file ifcfg-vlan30 
DEVICE=vlan30
ONBOOT=yes
BOOTPROTO=none
IPV6INIT=yes
IPADDR=172.16.32.10
NETMASK=255.255.255.0
IPV6ADDR=fd32::10/64
VLAN=yes
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
PHYSDEV=netxen2
  
Actual results:

# ifup netxen2
Usage: ip addr {add|change|replace} IFADDR dev STRING [ LIFETIME ]
                                                      [ CONFFLAG-LIST]
       ip addr del IFADDR dev STRING
       ip addr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]
                            [ to PREFIX ] [ FLAG-LIST ] [ label PATTERN ]
IFADDR := PREFIX | ADDR peer PREFIX
          [ broadcast ADDR ] [ anycast ADDR ]
          [ label STRING ] [ scope SCOPE-ID ]
SCOPE-ID := [ host | link | global | NUMBER ]
FLAG-LIST := [ FLAG-LIST ] FLAG
FLAG  := [ permanent | dynamic | secondary | primary |
           tentative | deprecated | CONFFLAG-LIST ]
CONFFLAG-LIST := [ CONFFLAG-LIST ] CONFFLAG
CONFFLAG  := [ home | nodad ]
LIFETIME := [ valid_lft LFT ] [ preferred_lft LFT ]
LFT := forever | SECONDS


# ifup vlan20
Error: either "dev" is duplicate, or "20" is a garbage.

Expected results:
No error messages during network startup

Comment 2 Bill Nottingham 2012-03-12 16:44:20 UTC
Does http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=6ddce805ccecb7f02a31a413c501217336e3791a fix this for you? (It works in brief testing for me.)

Comment 3 Adam Okuliar 2012-03-15 12:53:25 UTC
Hi,

Patch works well, no error messages appeared and network was configured correctly.

Thanks,
Adam

Comment 9 Adam Okuliar 2012-03-21 10:58:07 UTC
verified on Linux redclient-02.rhts.bos.redhat.com 2.6.32-251.el6.x86_64 #1 SMP Fri Mar 9 12:48:43 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

rpm -q initscripts
initscripts-9.03.30-1.el6.x86_64

Comment 10 errata-xmlrpc 2012-06-20 13:09:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0816.html