Bug 144889 - initscripts loads dm-mod even when no logical volume
Summary: initscripts loads dm-mod even when no logical volume
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-12 15:20 UTC by Sammy
Modified: 2014-03-17 02:51 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-01-12 17:48:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sammy 2005-01-12 15:20:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; en_US) KHTML/3.3.2 (like Gecko)

Description of problem:
On my laptop and desktop when there is just one disk and no logical 
volumes, the initscripts still starts the dm-mod module. if I do:

# fgrep  "device-mapper" /proc/device
fgrep: /proc/device: No such file or directory

OK. I think the "!" in front of it should be removed. I do not understand
the fgrep man page:

"Exit immediately with zero status if any match is found, even if an error was  detected."

If the error is that the device is not found, then it will exit with 0? confusing.

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

How reproducible:
Always

Steps to Reproduce:
1.update to 8.02-1
2.restart system
3.dm_mod is installed
    

Additional info:

Comment 1 Bill Nottingham 2005-01-12 17:48:48 UTC
It's intentional, it's loaded if it's not already loaded; it needs to
be loaded for LVM to work (even just for checking to see if any LVM
volumes are there.)


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