httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45900] New: "make install" fails from read-only filesystem
Date Fri, 26 Sep 2008 17:32:23 GMT

           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

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 to 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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message