Hide Forgot
Description of problem: In previous versions 'ifup lo:N' would correctly bring up the configured alias on lo. In 6, it exits without any error message but fails to bring up the alias. If 'ifup lo' is called, it will bring up all aliases it finds. Version-Release number of selected component (if applicable): How reproducible: very Steps to Reproduce: create config #cat > /etc/sysconfig/network-scripts/ifcfg-lo:2 DEVICE=lo:2 IPADDR=10.73.43.12 NETMASK=255.255.255.255 NAME=lo:2 #ifup lo:2 Actual results: lo:2 not configured Expected results: lo:2 configured Additional info:
What version of initscripts?
initscripts-9.03.17-1.el6
I can't reproduce this here: [root@localhost network-scripts]# rpm -q initscripts initscripts-9.03.17-1.el6.x86_64 [root@localhost network-scripts]# cat ifcfg-lo:2 DEVICE=lo:2 IPADDR=172.31.4.0 NETMASK=255.255.255.0 ONBOOT=yes NAME=loopback After 'service network restart': [root@localhost network-scripts]# ip addr ls dev lo 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet 172.31.4.0/24 brd 172.31.4.255 scope global lo:2 inet6 ::1/128 scope host valid_lft forever preferred_lft forever
It functions correctly after a reboot and/or "service network restart" - a service impacting event - presumably because the aliases are brought up at the same time as the parent interface. However, "ifup lo:2" does not bring up the alias. "ifup lo" will correctly bring up it and any other configured aliases. But consider: # cat /etc/sysconfig/network-scripts/ifcfg-lo:1 DEVICE=lo:1 IPADDR=1.1.1.1 NETMASK=255.255.255.248 ONPARENT=no NAME=lo:1 This alias shouldn't be brought up automatically but explicitly with "ifup lo:1".
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Since RHEL 6.2 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Can you please check this behavior in current initscripts? I have tried your configuration and it seems to work fine: [root@localhost ~]# rpm -q initscripts initscripts-9.03.31-2.el6.x86_64 [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-lo:1 DEVICE=lo:1 IPADDR=1.1.1.1 NETMASK=255.255.255.248 ONPARENT=no NAME=lo:1 [root@localhost ~]# ip addr ls dev lo 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever [root@localhost ~]# ifup lo:1 [root@localhost ~]# ip addr ls dev lo 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet 1.1.1.1/29 brd 1.1.1.7 scope global lo:1 inet6 ::1/128 scope host valid_lft forever preferred_lft forever