Bug 144889 - initscripts loads dm-mod even when no logical volume
initscripts loads dm-mod even when no logical volume
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-12 10:20 EST by Sammy
Modified: 2014-03-16 22:51 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-12 12:48:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sammy 2005-01-12 10:20:06 EST
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 12:48:48 EST
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.