Installing Mailman on a Virtual Host
Bill, I went ahead and made the changes to my configure and configure.in files. WHen I run configure, I get through the checks for the new mailman UID and GID, but it stops at the next step which is where it checks the directory permisiions. The error I get says:
File "conftest.py", line 4, in ? mailmangid=vuser NameError: vuser cat: conftest.out: No such file or directory configure: error: ***** Installation directory /usr/home/<mylogin>/usr/home/mailman is not configured properly!
But when I check the directory, the permissions are set just as they are supposed to be according to the install (d rwx rws r-x, right?).
What is the NameError? Did I miss someplace else where I was supposed to change the GID?
Thanks, Joan
At 08:24 PM 2/16/00 -0500, Joan Coyne wrote:
***** Installation directory /usr/home/<mylogin>/usr/home/mailman is not configured properly!
But when I check the directory, the permissions are set just as they are supposed to be according to the install (d rwx rws r-x, right?).
Right.
What is the NameError? Did I miss someplace else where I was supposed to change the GID?
Could be; it's hard to say without seeing the files. Here are the diffs that I use (remember to change <server-login> before trying to use these):
*** configure.dist Thu Jul 22 16:06:49 1999 --- configure Sat Oct 2 18:53:02 1999
*** 1073,1079 **** cat > conftest.py <<EOF import pwd, string uid = '' ! for user in string.split("mailman"): try: try: uid = pwd.getpwuid(int(user))[0] --- 1073,1079 ---- cat > conftest.py <<EOF import pwd, string uid = '' ! for user in string.split("<server-login>"): try: try: uid = pwd.getpwuid(int(user))[0]
*** 1116,1122 **** cat > conftest.py <<EOF import grp, string gid = '' ! for group in string.split("mailman"): try: try: gid = grp.getgrgid(int(group))[2] --- 1116,1122 ---- cat > conftest.py <<EOF import grp, string gid = '' ! for group in string.split("vuser"): try: try: gid = grp.getgrgid(int(group))[2]
*** configure.in.dist Thu Jul 22 16:06:49 1999 --- configure.in Tue Oct 5 14:26:12 1999
*** 169,175 ****
# User `mailman' must exist AC_MSG_CHECKING(for mailman UID) ! MM_FIND_USER_ID(MAILMAN_UID, mailman) if test -z "$MAILMAN_UID" then AC_MSG_ERROR([ --- 169,175 ----
# User `mailman' must exist AC_MSG_CHECKING(for mailman UID) ! MM_FIND_USER_ID(MAILMAN_UID, <server-login>) if test -z "$MAILMAN_UID" then AC_MSG_ERROR([
*** 182,188 ****
# Group `mailman' must exist AC_MSG_CHECKING(for mailman GID) ! MM_FIND_GROUP_ID(MAILMAN_GID, mailman) if test -z "$MAILMAN_GID" then AC_MSG_ERROR([ --- 182,188 ----
# Group `mailman' must exist AC_MSG_CHECKING(for mailman GID) ! MM_FIND_GROUP_ID(MAILMAN_GID, vuser) if test -z "$MAILMAN_GID" then AC_MSG_ERROR([
--Bill
participants (2)
-
Bill Warner
-
Joan Coyne