1.55. initscripts

1.55.1. RHBA-2011:1081: initscripts bug fix and enhancement update

An updated initscripts package that fixes various bugs and add several enhancements is now available for Red Hat Enterprise Linux 5.

Important

This update was released as errata RHBA-2011:1081 — initscripts bug fix and enhancement update.
The initscripts package contains system scripts to boot your system, change runlevels, activate and deactivate most network interfaces, and shut the system down cleanly.

Bug Fixes:

BZ#699544
After system installation, the dhclient utility failed to start after boot on an interface configured to get an IPv4 address from DHCP. This bug has been fixed and the dhclient utility now starts properly in the described scenario.
BZ#624704
Previously, when a logical network with VLAN tag 0 was created, this value was out of range for logical networks, the host would never create a sub interface 0 and the cluster network would stay in non-operational mode. With this update, the /etc/sysconfig/network-scripts/ifup script has been fixed and logical networks with VLAN tag 0 can now be created.
BZ#676851
Previously, when the netfs script performed a lazy unmount on a NFS file system, sometimes cached data would be written out before the shutdown scripts were able to take down the network interfaces. This caused various machines to have been hanging on shutdown. With this update, the netfs script has been fixed and the physical machines no longer hang in the described scenario.
BZ#664091
When the biosdevname utility sets a name for a PCI device, it uses a # character to specify the device interface. Subsequently, when network services were restarted, the network init script returned an error message, such as ifcfg-ifcfg-pci3#1: No such file or directory even though the interface itself was properly found. With this update, the network init script parses the # character correctly and no error messages are given in the described scenario.
BZ#462095
If an Ethernet interface had letters in the device file name (such as ethWAN or ethVZ) instead of just numbers (such as eth0 or eth5), the /sbin/ifup script failed to enable VLANs configured on such interfaces after the network service was restarted. This bug has been fixed and the /sbin/ifup script now properly configures VLANs regardless of their names.
BZ#604669
When a bonding interface was configured in the /etc/modprobe.conf file without specifying the options in the BONDING_OPTS variable, the arp_ip_target parameter value was cleared after a network restart. Subsequently, the interface connection could not be restored. With this update, the ifdown-eth script has been fixed to only add the arp_ip_target parameter if it is not present, fixing this bug.
BZ#649995
Previously, the following diagnostic error message was given in every tcsh shell:
		grep: character class syntax is [[:space:]], not [:space:].
This bug has been fixed in the /etc/profile.d/lang.csh script and the error message is no longer returned.
BZ#671386
Due to a change in a status message of the dmraid utility, the following error messages appeared on boot, when the previous version of the initscripts package was installed:
	failed to stat() /dev/mapper/no
	failed to stat() /dev/mapper/block
	failed to stat() /dev/mapper/devices
	failed to stat() /dev/mapper/found
With this update, the /rc.d/rc.sysinit script has been fixed and the error messages no longer appear on boot.
BZ#685038
When a system was rebooted while the network switch was down and the network interface had the PERSISTENT_DHCLIENT variable set to yes, the dhclient utility still failed to start on boot. With this update, the ifup-eth init script has been fixed and the dhclient utility starts as expected when PERSISTENT_DHCLIENT=yes is configured.
BZ#687849
Previously, when no Internet Small Computer System Interface (iSCSI) check was done during shutdown or reboot, the following redundant error message was given:
	find: /sys/class/iscsi_session/: No such file or directory.
With this update, the /etc/rc.d/init.d/network script has been fixed and the error message is no longer displayed.
BZ#687890
Previously, the following redundant error message was given during system shutdown:
	Unmounting file systems:  Cannot umount ""
With this update, the /rc.d/init.d/functions script has been fixed and the error message is no longer displayed.
BZ#692893
Due to a bug in the /etc/ssh/ssh_config init script, the value of the LANG variable overwrote the same variable on a remote system as the config settings were passed via OpenSSH, even if the LANG variable was already set. This sometimes caused undesired locale settings with unsupported character set to be set on the target system. This bug has been fixed and the LANG variable is no longer overwritten in the described scenario.
BZ#703203
Due to a bug in the /etc/init.d/halt script, no mount point set up with the word nfs anywhere in its path could be unmounted at reboot or shutdown. This bug has been fixed and such mount points are now unmounted properly.
BZ#684909
Previously, if no IPv4 address was configured, then DHCP for an IPv6 address was not carried out. Subsequently, the eth0 interface had the default IPv6 link-local address assigned to it, instead the address that would be allocated to it via IPv6 dhcpd utility. This bug has been fixed in the /etc/sysconfig/network-scripts/ifup-eth script and now, the dhcp6c daemon is started and an IPv6 address is acquired for the address as well as additional information such as DNS servers etc.
BZ#674221
Previously, if a bonded interface was created and the slave interface includes the setting MASTER=bond0 (where bond0 is the bonded interface) the slave did not start. This bug has been fixed in the /etc/sysconfig/network-scripts/ifcfg-ethX script and the bonded interface now brings up the slave interface and communicate as expected.
BZ#669728
Previously, when MAC (Media Access Control) addresses were switched on a virtual machine or a physical machine with two network interfaces, the sbin/ifdown script became unresponsive when the network was restarted. With this update, the script recognizes that the MAC address for the network interface is wrong and then ignores it, thus fixing this bug.
BZ#665601
The sysctl utility uses . as the path delimiter while VLAN interfaces use . as the ID delimiter. This conflict caused all sysctl calls on a VLAN interface to terminate without any output, causing various issues with IPv6 auto-configuration feature. With this update, several scripts of the iniscripts package have been patched and the sysctl calls no longer hang on VLAN interfaces.
BZ#648524
Previously, the /sysconfig/network-scripts/network-functions script calculated wrong value of the DEVICETYPE variable for IPoIB (IP over Infiniband) child interfaces. Subsequently, the variable could not be used to handle the specific need of the interface, such as calling the ifup-${DEVICETYPE} script. This bug has been fixed and the DEVICETYPE variable value is now calculated correctly for IPoIB interfaces.
BZ#637176
When multiple PIDs (Process Identifiers) are passed to the checkpid() function, it exits with the return value of 0 after finding the first existing PID. This is intended behavior of the function but the accompanying comment in the code indicated that the function fully supported multiple PIDs as arguments, which was confusing for some users. With this update, the comment in the code has been clarified.
BZ#713988
When the X Window System was started by the startx command on the console, the desktop was always displayed in English regardless of the language configured in the /etc/sysconfig/i18n file. With this update, the bug has been fixed in the /etc/profile.d/lang.sh script, and the language setting is now properly recognized when X starts.

Enhancements:

BZ#624385
With this update, various init scripts have been enhanced so that they are able to parse configuration files located in the /etc/sysctl.d/ directory. This makes it easier to install or remove RPM packages packages that modify kernel runtime parameters.
BZ#612877
With this update, the ifup and ifdown scripts can recognize and act upon configuration for IPv6 that contains alias devices. Now, multiple IPv6 addresses can be configured on the same interface and can be controlled separately.
BZ#507515
With this update, the ifup script reports duplicate IP addresses via the syslog utility to the /var/log/messages file, in addition to printing its messages on standard output.
BZ#653621
With this update, support for the 1731/02 OSM/OSX network device has been added to the initscrips package.
BZ#689898
With this update, an explanatory comment has been added to the /rc.d/init.d/netfs and the /rc.d/rc.sysinit init scripts regarding the mount -t no* syntax.
All users of initscript are advised to upgrade to this updated package, which fixes these bugs and adds these enhancements.