Bug 18223
Summary: | rpm which starts executable from cd locks the cdrom | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Andrew McCallum <andrewm> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | abartlet |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-10-03 15:34:32 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
Andrew McCallum
2000-10-03 15:34:30 UTC
rpm does no cdrom locking whatsoever. Perhaps you have the cdrom drive mounted, as a mount (with associated open) locks the cdrom ... The cdrom was mounted for the purpose of installing the rpm, which was located on a CD. The problem is that the cdrom would not UNMOUNT after installing the package, claiming that executables started by the RPM were using the device, even though they were running from the hard drive, not the CD. But I'll bet that the you executed the binaries while the current working directory was /mnt/cdrom /... That will cause a reference to the cdrom ... Ahhh, verstehe ich. Something to try at least...thanks. Could RPM do a chdir to / before running the included scripts? Some packages execute a /etc/rc.d/init.d/whatever restart from the script, and could cause this problem. Yes, this is more or less what I did. Making the current working directory something not-the-cdrom and executing from there does the trick nicely. |