Skip to Content.
Sympa Menu

en - [sympa-users] Using robot domain breaks alias manager in sympa 6.1.19?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-users] Using robot domain breaks alias manager in sympa 6.1.19?
  • Date: Wed, 28 May 2014 03:09:15 +0000

Hi –

 

I have discovered an issue with sympa_newaliases.pl in v6.1.19

 

If I create a list in the default domain then it works; however in robot domains it does not.  Specifying the robot domain with --domain on the command line has the same effect.

 

May 28 13:39:36 lstappprd01 sympa_newaliases[23193]: err Conf::valid_robot() Robot list.auckland.ac.nz  was not loaded by this Sympa process

May 28 13:39:36 lstappprd01 sympa_newaliases[23193]: err robot list.auckland.ac.nz does not exist

May 28 13:39:36 lstappprd01 wwsympa[22485]: err admin::install_aliases() admin::install_aliases : Unable to run newaliases

May 28 13:39:37 lstappprd01 wwsympa[22485]: err [robot list.auckland.ac.nz] [session 49832123177394] [client 130.216.66.3] [user address@concealed] [list sshi052] main::do_create_list() Failed to install list aliases

 

… and the aliases are created but the database is not rebuilt.  Rebuilding the aliases file manually is fine; I can run sympa_newaliases-wrapper and it rebuilds without error.

 

Examining sympa_newaliases it seems that it does not load in any of the robot configs by calling load_robots, and so valid_robot always returns a fail.  This is because load_conf is called with a ‘no_db’ parameter which skips the loading of robots.

 

This seems to be fixed in v6.1.20? and was not an issue in 6.1.14…  anyone upgrading to 6.1.19 who is using multiple robots should be aware of this.

 

Steve

 

Steve Shipway

University of Auckland

UNIX Systems Design Team Lead

address@concealed

+64 (9) 3737 599 ext 86487

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19+.

Top of Page