Bug 131776 - MAKEDEV assumes selinux enabled
Summary: MAKEDEV assumes selinux enabled
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: MAKEDEV
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brock Organ
URL:
Whiteboard:
: 132103 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-04 11:29 UTC by Ralf Ertzinger
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version: 3.12-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-07 23:13:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ralf Ertzinger 2004-09-04 11:29:20 UTC
Description of problem:
MAKEDEV tries to apply a security context to files it creates.
This produces an error message at boottime (MAKEDEV called by
/sbin/start_udev) if selinux is disabled.


Version-Release number of selected component (if applicable):
MAKEDEV-3.11-1


How reproducible:
Always

Steps to Reproduce:
1. Install latest MAKEDEV
2. Disable SElinux (/etc/selinux/config)
3. Reboot
  
Actual results:
Error messages because security contexts can not be applied

Expected results:
No security contexts if selinux disabled

Additional info:

Comment 1 Stephen Tweedie 2004-09-07 10:08:31 UTC
Also seen here: rawhide-20040905 boot starts with

MAKEDEV: /dev/fd0: unable to reset file creation context
MAKEDEV: /dev/fd1: unable to reset file creation context
MAKEDEV: /dev/fd2: unable to reset file creation context
MAKEDEV: /dev/fd3: unable to reset file creation context
MAKEDEV: /dev/fd4: unable to reset file creation context
...
... continued for a couple of pages

on a system with SELinux disabled.  The error should be supressed if
SELinux is not active.

Comment 2 Bill Nottingham 2004-09-08 21:33:57 UTC
*** Bug 132103 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.