Bug 133134 - initscripts should not assume system has usb
initscripts should not assume system has usb
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2004-09-21 16:14 EDT by Bernard Johnson
Modified: 2014-03-16 22:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-22 02:18:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bernard Johnson 2004-09-21 16:14:21 EDT
Description of problem:
rc.sysinit attempts to mount usbfs even if computer doesn't have usb.

From bootup sequence:
INIT: version 2.85 booting
mount: mount point /proc/bus/usb does not exist
                Welcome to Fedora Core
                Press 'I' to enter interactive startup.

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

How reproducible:
Always, if the computer doesn't have USB.

Steps to Reproduce:
1.  Boot on a computer without USB
Actual results:

Expected results:
No message.

Additional info:
--- rc.sysinit.orig     2004-09-21 13:34:52.000526309 -0400
+++ rc.sysinit  2004-09-21 13:36:43.000546794 -0400
@@ -24,7 +24,7 @@
 # Mount /proc and /sys (done here so volume labels can work with fsck)
 mount -n -t proc /proc /proc
-mount -n -t usbfs /proc/bus/usb /proc/bus/usb
+test -d /proc/bus/usb && mount -n -t usbfs /proc/bus/usb /proc/bus/usb
 mount -n -t sysfs /sys /sys >/dev/null 2>&1
 . /etc/init.d/functions
Comment 1 Bill Nottingham 2004-09-22 02:18:58 EDT
Fixed in cvs.

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