此内容没有您所选择的语言版本。
4.93. initscripts
An updated initscripts package that fixes number of bugs and adds various enhancements is now available for Red Hat Enterprise Linux 6.
The initscripts package contains system scripts to boot the system, change runlevels, activate and deactivate most network interfaces, and shut the system down cleanly.
Bug Fixes
- BZ#743222
- Previously, the
restorecon
utility did not change MLS (multi-level security) levels unless the-F
parameter was used. As a consequence, the/dev
and/dev/pts
filesystems were not correctly labelled after boot in systems with configured MLS policy. This bug has been fixed and therestorecon -F
command is now used for/dev
and/dev/pts
by default. - BZ#734987
- When an explicit configuration option, such as
crashkernel=128M
, was specified to reserve crash dump memory, thekexec-disable
upstart job unconditionally freed up the memory if thekdump
mechanism was not enabled. This action could not be reverted until a reboot. With this update,kexec-disable
job has been changed to not free reserved memory, unless thecrashkernel
parameter is set toauto
, thus fixing this bug. - BZ#675079
- Previously, when the
/etc/modprobe.d/bonding.conf
file or themodprobe.conf
file was used to set the bonding options, the bond0 interface never came up after a service restart because thearp_ip_target
module was not restored. This bug has been fixed andarp_ip_target
is now restored when configured in one of these files. - BZ#698520
- Previously, there was a bug in the
rc.sysinit
script that allowed to properly set a hostname when more than one IP address was passed to theipcalc
utility. Even though it was difficult to emulate such a scenario, therc.sysinit
script has been fixed to prevent this bug, andipcalc
is now always passed only a single IP address. - BZ#700184
- When a network interface was configured with the NetworkManager utility to statically assign an IP address or a prefix, then NetworkManager was stopped, and the interface was reset via the
ifdown
andifup
utilities, the interface lost its IP address. With this update, the network scripts have been fixed to properly read theIPADDR0
parameter in interface configuration files, and now IP addresses of such interfaces are preserved in the described scenario. - BZ#703475
- Previously, when two VLAN interfaces were bonded together, the
/etc/init.d/network
script got into a loop and became unresponsive, trying to resolve MAC addresses of the interfaces. As a result, the server was prevented from completing its start-up sequence. With this update,/etc/init.d/network
has been fixed, MAC addresses of VLAN interfaces are now resolved properly, and bonds between such interfaces now work as expected. - BZ#705367
- Previously, when the
PREFIX
option was specified for theifcfg
utility while theNETMASK
option was undefined, the netmask was calculated without regard to thePREFIX
value. With this update, theexpand_config()
function has been fixed to use thePREFIX
properly, and the netmask is now calculated correctly in the described scenario. - BZ#702814
- When a system needed to be restarted after an unexpected termination, root password was not accepted to run the emergency shell. With this update, the
rc.sysinit
script has been fixed to run the/bin/plymouth
command instead of/usr/bin/plymouth
, thus fixing this bug. Additionally, other relevant scripts have been updated to properly work with the separated/usr/
directory. - BZ#703210
- Due to a bug in the
/etc/init.d/halt
script, no mount point set up with the wordnfs
in its path could be unmounted at reboot or shut down. This bug has been fixed and such mount points are now unmounted properly. - BZ#681357
- In Red Hat Entreprise Linux 6, when the
emergency
parameter was appended to the kernel command line, the system failed to invoke the sulogin command. With this update, thercS-emergency
task, which is run before therc.sysinit
script ifemergency
is passed to the kernel, has been added, and sulogin is now properly invoked in the described scenario. - BZ#729359
- Due to a bug in the
/etc/sysconfig/network-scripts/ifdown-eth
script, the PID file name passed to thedhclient
utility during a shutdown procedure did not include the IP version prefix. Consequently, leases for IPv6 addresses could not be released. This bug has been fixed and the shut down procedure now works properly both with the IPv4 and IPv6 clients.
Enhancements
- BZ#692240
- Previously, the
ifup
andifdown
scripts explicitly ignored IPv6 configuration files that contained an alias. With this update, clients properly utilize aliases on IPv6 devices in Red Hat Enterprise Linux. - BZ#653630, BZ#672202
- There was a need to have a simple mechanism for troubleshooting network problems, integrated into existing log monitoring facilities. With this update, network scripts have been updated to report errors via the
syslog
utility, and the error messages now appear in configuredsyslog
channels. - BZ#680527
- Previously, configuration options for the
sysctl
utility could only be changed in the/etc/sysctl.conf
file. With this update, several scripts have been updated to also recognize additional configuration files located in the/etc/sysctl.d/
directory. - BZ#692410
- With this update, network start-up scripts have been enhanced to support all
ethtool
command options. These options can be set via theETHTOOL_OPTS
parameter in configuration files located in the/etc/sysconfig/network-scripts/
directory and take effect after reboot. - BZ#696788
- With this update, start-up network scripts have been enhanced to set up static ARP (Address Resolution Protocol) entries located in the
/etc/ethers
file, allowing to load these entries early in the system startup.
Users of initscripts are advised to upgrade to this updated package, which fixes these bugs and adds these enhancements.
An updated initscripts package that fixes one bug is 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 Fix
- BZ#789056
- The previous version of initscripts did not support IPv6 routing in the same way as IPv4 routing. IPv6 addressing and routing could be achieved only by specifying the "ip" commands explicitly with the "-6" flag in the "/etc/sysconfig/network-scripts/rule-DEVICE_NAME" configuration file (where "DEVICE_NAME" is a name of the respective network interface). With this update, related network scripts have been modified to provide support for IPv6-based policy routing. IPv6 routing is now configured separately in the the "/etc/sysconfig/network-scripts/rule6-DEVICE_NAME" configuration file.
All users of initscripts are advised to upgrade to this updated package, which fixes this bug.