Bug 1176256 - VLAN failed to initialize
Summary: VLAN failed to initialize
Keywords:
Status: CLOSED DUPLICATE of bug 1174739
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 21
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lukáš Nykrýn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-19 21:06 UTC by Sebastijan Vacun
Modified: 2014-12-22 09:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-22 09:20:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sebastijan Vacun 2014-12-19 21:06:37 UTC
Description of problem:
failed to bring vlan up (VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD)

Version-Release number of selected component (if applicable):


How reproducible:
DEVICE=vlan9
ONBOOT=yes
PHYSDEV=eno1
VLAN=yes
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
BOOTPROTO=none
TYPE=Ethernet
OPTIONS=layer2=1
BRIDGE=brwan

Steps to Reproduce:
1. ifup vlan9
2.
3.

Actual results:
Error: argument "9:" is wrong: id is invalid
ERROR    : [/usr/sbin/ifup] ERROR: could not add vlan 9: as vlan9 on dev eno1


Expected results:
success

Additional info:

/usr/sbin/ifup:

@@ -90,7 +90,7 @@
         fi
         MATCH='^vlan[0-9]{1,4}?'
          if [[ "${DEVICE}" =~ $MATCH ]]; then
-             VID=$(echo "${DEVICE}" | LC_ALL=C sed 's/^vlan0*//'):
+             VID=$(echo "${DEVICE}" | LC_ALL=C sed 's/^vlan0*//')
              # PHYSDEV should be set in ifcfg-vlan* file
              if test -z "$PHYSDEV"; then
                 net_log $"PHYSDEV should be set for device ${DEVICE}"

Comment 1 Lukáš Nykrýn 2014-12-22 09:20:31 UTC
Hi should be fixed now, but the package did not get through bodhi yet.

 Package initscripts-9.56.1-6.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing initscripts-9.56.1-6.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17137/initscripts-9.56.1-6.fc21
then log in and leave karma (feedback).

*** This bug has been marked as a duplicate of bug 1174739 ***


Note You need to log in before you can comment on or make changes to this bug.