Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259716 - sys-apps/baselayout 1.12.xx Net_scripts : Virtual-Ip using a deprecated configuration syntax Don't go Up
Summary: sys-apps/baselayout 1.12.xx Net_scripts : Virtual-Ip using a deprecated co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-20 13:33 UTC by Sebastien Aucouturier
Modified: 2009-12-17 19:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Aucouturier 2009-02-20 13:33:50 UTC
After adding an ip aliases in /etc/conf.d/net in the old deprecated format, and restart the net by /etc/init.d , The Virtual-IP Does not appear.

Reproducible: Always

Steps to Reproduce:
$> cat /etc/conf.d/net
iface_eth0="192.168.5.1 broadcast 192.168.5.255 netmask 255.255.255.0"
gateway="eth0/192.168.5.254 dev eth0"
alias_eth0="192.168.5.10"
netmask_eth0="255.255.255.0"

$>/etc/init.d/net.etho restart

Actual Results:  
$>ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 192.168.5.1/24 brd 192.168.5.255 scope global eth0
4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff


Expected Results:  
$>ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 192.168.5.1/24 brd 192.168.5.255 scope global eth0
    inet 192.168.5.10/24 brd 192.168.5.255 scope global secondary eth0
4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff


Trouble come from the file /lib/rcscripts/net/ifconfig.sh, line #243 : aliases="alias_${ifvars}" MUST BE replace by aliases="alias_${ifvar}"

seems same trouble on baselayout 1.13.