Red Hat Training

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

7.87. initscripts

Updated iniscripts package that fixes several bugs and adds two enhancements are now available for Red Hat Enterprise Linux 6.
The initscripts package contains basic system scripts to boot the system, change runlevels, activate and deactivate most network interfaces, and shut the system down cleanly.

Bug Fixes

BZ#893395
Previously, an ip link command was called before the master device was properly set. Consequently, the slaves could be in the unknown state. This has been fixed by calling ip link for master after the device is installed properly, and all slaves are up. As a result, all slaves are in the expected state and connected to the master device.
BZ#714230
Previously, the naming policy for VLAN names was too strict. Consequently, the ifdown utility failed to work with descriptively-named interfaces. To fix this bug, the name format check has been removed and ifdown now works as expected.
BZ#879243
Prior to this update, there was a typographic error in the /etc/sysconfig/network-scripts/ifup-aliases file, which caused the duplicate check to fail. The typo has been corrected and the check works again.
BZ#885235
The BONDING_OPTS variable was applied by the ifup utility on a slave interface, even if the master was already on and had active slaves. This caused an error message to be returned by ifup. To address this bug, it is now checked whether the master does not have any active slaves before applying BONDING_OPTS, and no error messages are returned.
BZ#880684
Prior to this update, the arping utility, which checks for IP address duplicates in the network, failed when the parent device was not up. Consequently, the failure was handled the same way as finding of a second IP address in the network. To fix this bug, ifup-aliases files have been set to be checked whether the master device is up before the duplicity check is run. As a result, no error messages are returned when the parent device is down in the described scenario.
BZ#723936
The rename_device.c file did not correspond with VLAN interfaces, and thus could lead to improperly named physical interfaces. A patch has been provided to address this bug and interfaces are now named predictably and properly.
BZ#856209
When calling the vgchange -a y command instead of vgchange -a ay on the netfs interface by the rc.sysinit daemon, all volumes were activated. This update provides a patch to fix this bug. Now, only the volumes declared to be activated are actually activated. If the list is not declared, all volumes are activated by default.
BZ#820430
Previously, when a slave was attached to a master interface, which did not have a correct mode set, the interface did not work properly and could eventually cause a kernel oops. To fix this bug, the BONDING_OPTS variables are set before the master interface is brought up, which is the correct order of setting.
BZ#862788
If there was a process blocking a file system from unmounting, the /etc/init.d/halt script tried to kill all processes currently using the file system, including the script itself. Consequently, the system became unresponsive during reboot. With this update, shutdown script PIDs are excluded from the kill command, which enables the system to reboot normally.
BZ#874030
When the ifup utility was used to set up a master interface, the BONDING_OPTS variables were not applied. Consequently, bonding mode configuration done through the ifcfg utility had no effect. A patch has been provided to fix this bug. BONDING_OPTS are now applied and bonding mode works in the described scenario.
BZ#824175
If a network bond device had a name that was a substring of another bond device, both devices changed their states due to an incorrect test of the bond device name. A patch has been provided in the regular expression test and bond devices change their states as expected.
BZ#755699
The udev daemon is an event-driven hot-plug agent. Previously, an udev event for serial console availability was emitted only on boot. If runlevels were changed, the process was not restarted, because the event had already been processed. Consequently, the serial console was not restarted when entering and then exiting runlevel 1. With this update, the fedora.serial-console-available event is emitted on the post-stop of the serial console, and the console is now restarted as expected.
BZ#852005
Prior to this update, no check if an address had already been used was performed for alias interfaces. Consequently, an already used IP address could be assigned to an alias interface. To fix this bug, the IP address is checked whether it is already used. If it is, an error message is returned and the IP address is not assigned.
BZ#852176
Previously, the init utility tried to add a bond device even if it already existed. Consequently, a warning message was returned. A patch that checks whether a bond device already exists has been provided and warning messages are no longer returned.
BZ#846140
Prior to this update, the crypttab(5) manual page did not describe handling white spaces in passwords. Now, the manual page has been updated and contains information concerning a password with white spaces.
BZ#870025
Previous crypttab (5) manual page contained a typografic error (crypptab insted of crypttab), which has now been corrected.
BZ#795778
Previously, usage description was missing in the /init/tty.conf and /init/serial.conf files and this information was not returned in error messages. With this update, the information has been added to the aforementioned files and is now returned via an error message.
BZ#669700
Prior to this update, the /dev/shm file system was mounted by the dracut utility without attributes from the /etc/fstab file. To fix this bug, /dev/shm is now remounted by the rc.sysinit script. As a result, /dev/shm now contains the attributes from /etc/fstab.
BZ#713757
Previous version of the sysconfig.txt file instructed users to put the VLAN=yes option in the global configuration file. Consequently, interfaces with names containing a dot were recognized as VLAN interfaces. The sysconfig.txtfile has been changed so that the VLAN describing line instructs users to include the VLAN option in the interface configuration file, and the aforementioned devices are no longer recognized as VLAN interfaces.
BZ#869075
The sysconfig.txt file advised users to use the saslauthd -a command instead of saslauthd -v, which caused the command to fail with an error message. In sysconfig.txt, the error in the command has been corrected and the saslauthd utility now returns expected results.
BZ#714250
When the ifup utility initiated VLAN interfaces, the sysctl values were not used. With this update, ifup rereads the sysctl values in the described scenario and VLAN interfaces are configured as expected.

Enhancements

BZ#851370
The brctl daemon is used to connect two Ethernet segments in a protocol-independent way, based on an Ethernet address, rather than an IP address. In order to provide a simple and centralized bridge configuration, bridge options can now be used via BRIDGING_OPTS. As a result, a space-separated list of bridging options for either a bridge device or a port device can be added when the ifup utility is used.
BZ#554392
The updated halt.local file has been enhanced with new variables to reflect the character of call. This change leaves users with better knowledge of how halt.local was called during a halt sequence.
BZ#815431
With this update, it is possible to disable duplicate address detection in order to allow administrators to use direct routing without ARP checks.
Users of initscripts are advised to upgrade to this updated package, which fixes these bugs and adds these enhancements.