Bug 122717

Summary: %scriptlets fail when /usr/share is mounted read-only
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: bcelAssignee: Gary Benson <gbenson>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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: 2006-02-21 19:03:06 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 Enrico Scholz 2004-05-07 12:45:49 UTC
Description of problem:

| # rpm -Uvh bcel-5.0-13.i386.rpm ...
| Preparing...                ########################################### [100%]
|    1:bcel                   ########################################### [ 50%]
| rm: cannot remove `/usr/share/java/bcel.jar': Read-only file system
| ln: `/usr/share/java/bcel.jar': File exists
| error: %post(bcel-5.0-13) scriptlet failed, exit status 1
| 
| # rpm -q bcel
| bcel-5.0-12
| bcel-5.0-13
| 
| # rpm --showrc | grep netsha
| -14: _netsharedpath     ...:/usr/share:...
| 
| # cat /proc/mounts | grep /usr/share
| morden:/usr/share /usr/share nfs ro,...

See discussion at bug #51193 also.


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

bcel-5.0-13.i386

Comment 1 Gary Benson 2004-05-07 16:47:22 UTC

*** This bug has been marked as a duplicate of 122713 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:03:06 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.