When installing an RPM 5 package in a FreeBSD jail one has the situation
that the host (non-jail) filesystems are listed (on e.g. "df") but are
not reachable. This is no problem, as e.g. /proc is not used inside the
jail. But RPM 5 seems to check all(!) filesystems known on a system
for size capacity even if the currently to be installed package has no
single file with a path which would stay on a particular filesystem. As
a result, as e.g. /proc is known but not mounted in this jail, I get on
every package install or upgrade:
error: failed to stat /proc: No such file or directory
RPM still proceeds, so this seems to be more a warning than an error,
but I find this confusing. Why is RPM 5 trying to check the size of
filesystems like /proc even if not a single file in the to be installed
package directs it to /proc. Can this be changed? I would like to see
that RPM 5 checks only those filesystems which are really related to the
operation. Or alternatively, check all filesystems, but remove the above
"error" and delay this error until the first file really is intended for
this particular filesystem.
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Received on Sat Apr 12 10:49:48 2008