Bug 88144

Summary: Upgrading to RedHat 9 causes all mailing list archives to point to http://porky.devel.redhat.com/...
Product: [Retired] Red Hat Linux Reporter: H. Peter Anvin <hpa>
Component: mailmanAssignee: John Dennis <jdennis>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: sekine.t
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-24 15:15:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description H. Peter Anvin 2003-04-06 20:15:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211

Description of problem:
The shipped Mailman/Defaults.py contains:

DEFAULT_EMAIL_HOST = 'porky.devel.redhat.com'
DEFAULT_URL_HOST = 'porky.devel.redhat.com'

After doing an upgrade from RedHat 8.0, this causes *ALL* mailing list archive
links to point to http://porky.devel.redhat.com/... instead of using the web URL
that is assigned to each mailing list.  I have worked around this by adding in
Mailman/mm_cfg.py:

DEFAULT_EMAIL_HOST='zytor.com'
DEFAULT_URL_HOST='www.zytor.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

... however, that is less desirable than the previous situation since it will no
longer point to the correct vhost.

Version-Release number of selected component (if applicable):
mailman-2.1-8

How reproducible:
Always

Steps to Reproduce:
1. Set up a Mailman server on RedHat 8
2. Upgrade to RedHat 9
3. Fix the problems described in bug 88083
4. Go to http://<host>/mailman/listinfo/<listname>
5. Click on the archive link
    

Actual Results:  Attempt to open http://porky.devel.redhat.com/pipermail/...

Expected Results:  Attempt to open http://<host>/pipermail/...

Additional info:

Comment 1 Jean-Baptiste Vignaud 2003-04-10 21:29:09 UTC
I have fixed 88083 on my upgraded server and i have some more information on
this problem:

I have two lists on my server; one list is public, it's name is displayed with
http://<host>/mailman/listinfo/ 
the other is private and does not appear.

I reproduce the problem only with the public list. The private one is working
fine and leads to
http://<host>/mailman/private/<listname>/


Comment 2 SEKINE Tatsuo 2003-04-24 03:13:32 UTC
The reason of this problem is that
  /var/mailman/Mailman/mm_cfg.py is NOT marked as config file.

Please run the command below:
  $ rpm -q --qf \
    "[%{FILENAMES} (%{FILEFLAGS:fflags})\n]" mailman \
    | grep mm_cfg

The result should be
  /var/mailman/Mailman/mm_cfg.py (cn)
where "c" means "config" and "n" mesans "noreplace",
but we obtain
  /var/mailman/Mailman/mm_cfg.py ()

The spec file shoud have
  %attr(0644, root, mailman) %config(noreplace) \
  %verify(not md5 size time) %{_var}/mailman/Mailman/mm_cfg.py
entry.

Obviously this CRITICAL bug cause many problems.
- Updating destroy old configuration.
- Verifying of package will fail always.
- etc.


Comment 3 John Dennis 2003-09-24 19:18:33 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2003-179.html