Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.41. initscripts

Updated initscripts packages that fix several bugs are now available for Red Hat Enterprise Linux 5.
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

Previously, the information in the sysconfig.txt file was not precise enough and could mislead the users:
Enable or disable IPv6 configuration for this interface
The text has been updated to the following form:
Enable or disable IPv6 static, DHCP, or autoconf configuration for this interface
From the updated information it is now clear that the IPV6INIT=no setting does not mean that the whole IPv6 is disabled.
Previously, the shutdown script ran the hardware clock tool, which attempted to access the /dev/rtc device even if it did not exist. A patch has been provided to fix this bug and initscripts now verifies if the /dev/rtc device exists before attempting to run the hardware clock tool.
Prior to this update, the sysctl.d feature was not included in the sysctl utility manual page. The manual page has been updated, thus fixing the bug.
Previously, primary slave was set before bond initialization, which led to error messages being returned. To fix this bug, the primary= option is ignored before slaves are set up and this value is set after the enslavement. As a result, no error messages are returned.
When kernel module required a device removal, the /etc/sysconfig/network-scripts/net.hotplug utility tried to remove the device. As the device was not present, it led to an error message being returned. The patched version checks whether the /sys/class/net/$DEVICE device is present and if not, the device is now ignored.
After sending a TERM signal, the killproc() function always waited a number of seconds before it checked the process again. Consequently, the user waited unnecessarily long. A patch has been provided to check the process multiple times during the delay. As a result, killproc() can continue almost immediately after the process ends.
The previous version of the kpartx tool was not called with -p p option, which led to inconsistent partition mappings on some disks or partitions not mapped at all. A patch has been provided to fix this bug. All configured devices are now properly represented in the /dev/mapper application and have the correct partition mappings present with consistent delimiter usage.
When the names of initscripts and lockfile differed, the status() function was not able to determine whether the subsystem was locked. The possibility to specify explicitly the name of lockfile through the -l option has been added and the status() function can now determine whether the subsystem is locked.
The previous version of initscripts did not support the IPv6 routing in the same way the IPv4 routing did. IPv6 addressing and routing could be achieved only by specifying the ip commands explicitly with the -6 flag in the /etc/sysconfig/network-scripts/route-DEVICE_NAME configuration file (where DEVICE_NAME is the name of the respective network interface). With this update, related network scripts have been modified to provide support for IPv6 routing. IPv6 routing is now configured separately in the the /etc/sysconfig/network-scripts/route6-DEVICE_NAME file, thus fixing this bug.
Previous version of sysconfig.txt file led users to insert the VLAN=yes option into the global configuration file. Consequently, an interface with a name containing a dot (brbond0.XX) was recognized as a VLAN interface. To fix this bug, sysconfig.txt has been changed and VLAN stanza has been added to the interface configuration file. As a result, the above mentioned devices are no longer recognized as VLAN interfaces.
The descriptions of the kernel.msgmax parameter:
Controls the default maxmimum size of a message queue
and the kernel.msgmnb parameter:
Controls the maximum size of a message, in bytes
in the default /etc/sysctl.conf were incorrect. As the actual definitions are vice versa, the descriptions have been swapped, thus fixing the bug.
If a network bond device had a name that was a substring of another bond device, both devices changed their states due to the incorrect bond device name test. A patch has been provided in the regular expression test and bond devices now change their states as expected.
Previously, the sysconfig.txt file advised users to use an incorrect command, saslauthd -a instead of saslauthd -v. Consequently, the command failed with an error message. The instruction in the sysconfig.txt file has been corrected and the saslauthd -v command now returns expected results.


Users can now set the NIS (Network Information Service) domain name by configuring the NISDOMAIN parameter in the /etc/sysconfig/network file, or other relevant configuration files.
Users of initscripts are advised to upgrade to these updated packages, which fix these bugs and add one enhancement.