You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/09/26 19:32:23 UTC
DO NOT REPLY [Bug 45900] New: "make install" fails from read-only
filesystem
https://issues.apache.org/bugzilla/show_bug.cgi?id=45900
Summary: "make install" fails from read-only filesystem
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: bugs@httpd.apache.org
ReportedBy: phil@bolthole.com
For security reasons,etc, it is a generally nice thing to be able to mount
a src tree read-only from another system, then be able to type "make install"
on the destination system.
This fails, with the current apache 2.2.9 src.
mv: cannot rename libaprutil-1.so.0.3.0 to libaprutil-1.so.0.3.0U: Read-only
file system
in addition, having ONE system with a writeable /usr/local/src, and then
mounting it read-only everywhere else, has additional problems.
I cant just copy the compiled src tree to somewhere else and do make install,
because you have hardcoded the full src tree path in.
Please stop doing that. Please use relative paths, and stop having "make
install" do anything but copy files from src to destination. If you must do
temporary things, do it in the destination directory?
It should be noted that this sort of situation would be just as applicable, if
you were doing all this on the same system, but had a "trusted" user do
compiles, and an "untrusted" user doing "make install". This would also have
the src tree be read-only, while destination is writable.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org