Red Hat Bugzilla – Bug 62998
rpm silently fails if /usr mounted "ro"
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020401
Description of problem:
In the past, when a destination fs was mounted "ro", and you tried to
"rpm -i " a package, you would get an error message, that would be anough of a
clue to remind you that you needed to remount /usr "rw", and redo the rpm.
as of Skipjack-2, rpm will silently fail, and the user will think that the
package installed successfully.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.mount /usr "ro"
2. pick a package that installs into /usr hierarchy
3. rpm -i <said package>
Actual Results: silent return to prompt, as if the package installed successfully.
Expected Results: an error message
opps. not enough coffee to realize I was installing a src.rpm (and /usr/src
is a different rw partition). Retested w/ a proper rpm and /usr "ro", and I _DI_
get the error messages.
not a problem.