Bug 144889

Summary: initscripts loads dm-mod even when no logical volume
Product: [Fedora] Fedora Reporter: Sammy <sait.a.umar>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-12 17:48:48 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 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.)