Skip to Content.
Sympa Menu

en - Re: Archiving fails after mhonarc upgrade (more info)

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Glenn Gillis <address@concealed>
  • To: address@concealed
  • Subject: Re: Archiving fails after mhonarc upgrade (more info)
  • Date: Mon, 14 Apr 2003 13:02:36 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This exit code appears to represent mhonarc exiting with a refusal to run
setuid/setgid. As of 2.6.0 mhonarc won't run setuid/setgid. From the 2.6.0
release notes:

"Setuid/setgid execution causes mhonarc to terminate with an error.
Mhonarc does not pass taint checks, so we abort with an error that
setuid/setgid execution is not supported. MHonArc is too insecure
for setuid operation and trying to make it setuid-safe would require
alot of work and potentially limit a large amount of functionality."

Because archived.pl setuid/setgid's to "sympa" at startup, I guess this
context
applies when archived.pl runs mhonarc. Commenting out the setuid/setgid lines
(102 & 103) in archived.pl and starting archived.pl directly by user "sympa"
seems to get around the problem.

The easiest way to start a service as a non-root user under FreeBSD seems to
be
as an entry in the user's crontab with "@reboot" instead of the normal time
entries, which runs the command at system startup. I'm not sure about other
flavors of *nix. Is anyone else out there successfully running sympa with
mhonarc >= 2.6.0? How did you configure archived.pl to run? Does this seem
like
a reasonable way to get this to work?

Thanks,

Glenn

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Using PGP with Netscape - http://enigmail.mozdev.org

iQA/AwUBPpsT23XDis6DoUIJEQKUIwCffrlEAdeDc5yiN/VcmmuC9J8Y+sIAniwH
kz+HgIAgc7+xhSnkoRbYpxiZ
=47ia
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of Page