Bug 130526

Summary: bogus and misleading error message from %pre script in dev package
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: MAKEDEVAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.12.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-14 15:25:15 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:
Bug Depends On: 108757    
Bug Blocks:    

Description Michal Jaegermann 2004-08-21 00:23:10 UTC
Description of problem:

With tmpfs mounted on /dev an attempt to reinstall 'dev' package
produces:

Cannot install the dev package: mounted devfs detected.
error: %pre(dev-3.8.3-1) scriptlet failed, exit status 1

If there was no devfs ever on a machine this leaves a victim
with a head scratcher as obvioulsy there is no devfs in sight
anywhere (it turns out that this an unexpected and incomplete
udev courtesy of a messed up mkinitrd).  It would be good to
mention some other possibilieties in that message.

Comment 1 Andy Green 2004-09-02 10:30:45 UTC
Me  too... latest rawhide killed abaility tolog into X as anyone but
root.  Saw dev package failed to update with this error.  Booted with
init=bash to solve mount problem but even without it mounted still get
error.....  Arggghh!!!

Comment 2 Michael Young 2004-09-03 14:49:17 UTC
Try updating udev and initscripts to solve the X problem.

Comment 3 Nalin Dahyabhai 2004-09-14 15:25:15 UTC
As of MAKEDEV 3.12.1, the dev package is no more, so I guess the
question of how to phrase the error message becomes moot.