[ mailman-Patches-671297 ] set directory permissions, partition install steps

SourceForge.net noreply at sourceforge.net
Mon Jan 20 10:34:49 EST 2003


Patches item #671297, was opened at 2003-01-20 13:34
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=671297&group_id=103

Category: configure/install
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: John Dennis (johndennis)
Assigned to: Nobody/Anonymous (nobody)
Summary: set directory permissions, partition install steps

Initial Comment:
This patch accomplishes two things:

1) A number of the directories created during make
installed 
   had failed to set their permissions correctly, this
caused
   the script check_perms to report errors, this adds
the setting
   of correct permissions to those directories.

2) Most packaging/install tools divide the installation
task into
   2 distinct phases

   File Marshaling: This is where the files of the
package are built
   and installed into a temporary root. The the tool
collects all the
   files under the temporary root and adds them to some
type of
   archive file. During installation on the target
machine these files
   are extracted from the archive and placed in
matching positions in
   the target file system with matching ownership and
permissions.

   Target Update: After the files are placed on the
target it is often
   necessary to run commands on the target system to do
such things as
   register the files, register services, etc.

   The "make install" in the shipped version of mailman did
   not separate out these two steps. In particular it
attempted to
   compile the python files during the first phase of file
   marshaling. During this phase the python files are
in a temporary
   root directory, not their final install position on
the target. The
   paths.py file which is included by many of the
python files has
   hard coded in it the the target installation
directory (from the
   configure step). Thus when attempting to compile the
files in the
   marshaling area the compilations would fail because
it could not
   located patch information. Also the make install
attempt to run the
   bin/update, but once again this has to be deferred
to target update
   time, not package build time.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=671297&group_id=103



More information about the Mailman-coders mailing list