aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsapiro <>2005-11-03 03:30:14 +0000
committermsapiro <>2005-11-03 03:30:14 +0000
commitd5744efcc70452a500730dabcc8a9202218f7506 (patch)
tree59d249c0d67c08abb99d6143f7f472e151469218
parenta68aa926bb30d46adb47fa6efc3b20b4012eaac4 (diff)
downloadmailman2-d5744efcc70452a500730dabcc8a9202218f7506.tar.gz
mailman2-d5744efcc70452a500730dabcc8a9202218f7506.tar.xz
mailman2-d5744efcc70452a500730dabcc8a9202218f7506.zip
Correct error message when callers group ID - getgid() - is not registered
Diffstat (limited to '')
-rw-r--r--src/common.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/common.c b/src/common.c
index d18a0c60..0b135758 100644
--- a/src/common.c
+++ b/src/common.c
@@ -1,6 +1,6 @@
/* common.c --- Common routines, constants, etc. Used by all the wrappers.
*
- * Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
+ * Copyright (C) 1998,1999,2000,2001,2002,2005 by the Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -137,10 +137,15 @@ check_caller(const char* ident, const char* parentgroup)
if (!mygroup)
fatal(ident, GROUP_NAME_NOT_FOUND,
- "Failure to find group name %s. Try adding this group\n"
- "to your system, or re-run configure, providing an\n"
- "existing group name with the command line option %s.",
- parentgroup, option);
+ "Failure to find group name for GID %d. Mailman\n"
+ "expected the %s wrapper to be executed as group\n"
+ "\"%s\", but the system's %s server executed the\n"
+ "wrapper as GID %d for which the name could not be\n"
+ "found. Try adding GID %d to your system as \"%s\",\n"
+ "or tweak your %s server to run the wrapper as group\n"
+ "\"%s\".",
+ mygid, wrapper, parentgroup, server, mygid, mygid,
+ parentgroup, server, parentgroup);
if (strcmp(parentgroup, mygroup->gr_name))
fatal(ident, GROUP_MISMATCH,