John Dennis wrote: >On Wed, 2005-06-15 at 15:06 +1000, Diana Huang wrote: >> Hi Mark, >> >> Thx for your email. Actually I tried that method, but I got some errors >> >> >> /usr/bin/sudo: /usr/local/sbin/mailman.aliases: command not found >> Traceback (most recent call last): >> File "/usr/local/mailman/bin/genaliases", line 116, in ? >> main() >> File "/usr/local/mailman/bin/genaliases", line 106, in main >> MTA.create(mlist, nolock=True, quiet=quiet) >> File "/usr/local/mailman/Mailman/MTA/Postfix.py", line 232, in create >> _update_maps() >> File "/usr/local/mailman/Mailman/MTA/Postfix.py", line 53, in _update_maps >> raise RuntimeError, msg % (acmd, status, errstr) >> RuntimeError: command failed: /usr/bin/sudo /usr/local/sbin/mailman.aliases >> /usr/local/mailman/data/aliases (status: 1, Operation not permitted) >> >> Any comments? > >I suspect /usr/local/sbin/mailman.aliases is either not executable or >not executable by the user/group the command is running under (what >user/group that is depends on how you did your installation)
This is somewhat puzzling. >> /usr/bin/sudo: /usr/local/sbin/mailman.aliases: command not found seems to indicate that there is a problem with /usr/local/sbin/mailman.aliases as John suggests, but >> RuntimeError: command failed: /usr/bin/sudo /usr/local/sbin/mailman.aliases >> /usr/local/mailman/data/aliases (status: 1, Operation not permitted) seems to say that the commands in /usr/local/sbin/mailman.aliases, the first of which is presumably /bin/cp /usr/local/mailman/data/aliases /etc/mailman.aliases are being executed and it is this first command which fails, but since this is executed via sudo as root, why would it be 'not permitted'? I don't know the answer. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp