Bug 710124

Summary: Remove CONFIG_SYSFS_DEPRECATED from rt-vanilla config
Product: Red Hat Enterprise MRG Reporter: David Sommerseth <davids>
Component: realtime-kernelAssignee: Luis Claudio R. Goncalves <lgoncalv>
Status: CLOSED CURRENTRELEASE QA Contact: David Sommerseth <davids>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: bhu, jkodak, lgoncalv, ovasik, williams
Target Milestone: 2.0.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: CONFIG_SYSFS_DEPRECATED config was enabled by mistake during the test phase - it was necessary in RHEL5. Consequence: Some userspace tools (such as udev) are confused as they rely on the newer sysfs layout and the option above forced the old style sysfs layout to be used. Fix: disable CONFIG_SYSFS_DEPRECATED in the configuration file for kernel-rt-vanilla. Result: System works fine, without the warnings and errors caused by the presence of CONFIG_SYSFS_DEPRECATED.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-16 14:24:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Sommerseth 2011-06-02 13:45:08 UTC
When booting kernel-rt-vanilla-2.6.33.9-rt31.66.el6rt, the following errors are found:

udevd[1140]: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly 
<3>udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly

When checking the kernel config, the following options were found:

$ grep SYSFS config-vanilla-x86_64 
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_GPIO_SYSFS=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_SYSFS=y

Comment 1 David Sommerseth 2011-06-02 13:45:44 UTC
lclaudio confirms to have fixed the config file for the next build.

Comment 2 Luis Claudio R. Goncalves 2011-07-18 14:16:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: CONFIG_SYSFS_DEPRECATED config was enabled by mistake during the test phase - it was necessary in RHEL5.
Consequence: Some userspace tools (such as udev) are confused as they rely on the newer sysfs layout and the option above forced the old style sysfs layout to be used.
Fix: disable CONFIG_SYSFS_DEPRECATED in the configuration file for kernel-rt-vanilla.
Result: System works fine, without the warnings and errors caused by the presence of CONFIG_SYSFS_DEPRECATED.

Comment 3 Clark Williams 2012-03-16 14:24:22 UTC
Closing as CURRENTRELEASE