Bug 202673

Summary: udev starts slowly with SELiunx enabled
Product: [Fedora] Fedora Reporter: James Morris <jmorris>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dhowells, dwalsh, eparis, kmacmill, sdsmall
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: udev-095-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-16 12:03:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Morris 2006-08-15 20:03:03 UTC
udev is starting too slowly with SELinux enabled, because:

"this is at least partly due to the placement of the matchpathcon_init call in
udev, which causes it to read and process the file contexts configuration in
every child process that it forks rather than happening once in the parent."


This is causing kernel developers to disable SELinux, leading to bugs in their
code when SELinux is enabled by users.

This also seems to be causing significant slowdown on OLPC boards.

Comment 1 Harald Hoyer 2006-08-16 12:03:38 UTC
Here we go... fixed in udev-095-6

My start_udev time went down from 7.98s to 4.80s :-)