Bug #3282

error in parsing ifcfg-eth0 when installing ns6.7rc1 on a centos 6.7 minimal

Added by dz0 0te almost 6 years ago. Updated almost 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.7-final
Security class: Resolution:
Affected version:v6.7-rc1 NEEDINFO:No

Description

installing nethserver on a centos 6.7 minimal (and configuring a static ip during the installation of centos ) generate a ifcfg-eth0 with PREFIX= instead of NETMASK=
so nethserver-base-initialize-db leave the db entry NETMASK empty

add support to parse "prefix" as well as "netmask" in nethserver-base-initialize-db

Details here:
http://community.nethserver.org/t/nethserver-6-7-rc1-ready-for-testing/1710/51

Associated revisions

Revision f9fd3f35
Added by dz0 0te almost 6 years ago

Bug #3282 - parse/convert PREFIX in NETMASK

Revision 3c95ef1c
Added by Giacomo Sanchietti almost 6 years ago

Merge pull request #6 from dz00te/master

Bug #3282 - parse/convert PREFIX in NETMASK

History

#1 Updated by dz0 0te almost 6 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#2 Updated by Giovanni Bezicheri almost 6 years ago

  • Status changed from TRIAGED to NEW
  • % Done changed from 20 to 0

#3 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

Bug is confirmed and proposed fix works like a charm!

#4 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#5 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#6 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-base-2.9.1-1.6.g3c95ef1.ns6.noarch.rpm
Test case
  • Install a clean CentOS 6.7
  • Install nethserver on it with following commands:
    rpm --import /etc/pki/rpm-gpg/*
    /sbin/e-smith/signal-event system-init
  • Check the green interface is correctly configured with ifconfig
  • Check the green interface is correctly configured inside the networks db

#7 Updated by Giacomo Sanchietti almost 6 years ago

  • Assignee set to Giacomo Sanchietti

#8 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

#9 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-base:
  • nethserver-base-2.9.2-1.ns6.noarch.rpm

#10 Updated by Giacomo Sanchietti almost 6 years ago

  • Target version changed from v6.7 to v6.7-final

Also available in: Atom PDF