[Mailman-Users] changes - need clarity

2023-06-09 Thread Jeffrey Westgate
Greetings all.

As I have time, I've been migrating to a new, updated, upgraded list server - 
from
SciLin 7.9 / Mailman 2.1.20, to RHEL 8.7 and Mailman 2.1.39.

I've done my best to 'match' the created file systems during the config/make 
phases, but their distribution between /usr/lib/ and /var/lib are different, 
and I'm wondering if I've missed something, or if I can just press forward with 
rsyncing the old to the new regardless of where they now lie, as long as the 
contents are correct.

What I mean is:
old structure   new structure
$ ls -l /var/lib/mailman/ | awk '{ print $NF  }'$ ls -l 
/var/lib/mailman | awk '{ print $NF}'
archivesarchives
datadata
lists   lists
locks   spam
logs$ ls -l /usr/lib/mailman | awk '{ print $NF}'
qfiles  /var/lib/mailman/archives
spambin
$ ls -l /usr/lib/mailman/ | awk '{ print $NF  }'cgi-bin
/var/lib/mailman/archives   cron
bin data
cgi-bin icons
cronlists
icons   locks
maillogs
Mailman mail
messagesMailman
pythonlib   messages
scripts pythonlib
templates   qfiles
tests   scripts
spam
templates
tests

so, it should work as long as old 'data' goes to new 'data', old 'qfiles' goes 
to new 'qfiles'... correct?

--
Jeff



From: mailman-users-requ...@python.org 
Sent: Sunday, June 4, 2023 11:00
To: mailman-users@python.org 
Subject: Mailman-Users Digest, Vol 232, Issue 2

Send Mailman-Users mailing list submissions to
mailman-users@python.org

To subscribe or unsubscribe via the World Wide Web, visit

https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman3%2Flists%2Fmailman-users.python.org%2F&data=05%7C01%7Cjeffrey.westgate%40arkansas.gov%7Cf0866c665d554efd92b708db6514d057%7C5ec1d8f0cb624000b3278e63b0547048%7C0%7C0%7C638214912305132431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j%2B9zadJPrCUuWXLc1BTSkERG5LDdwkUispgDrnHBsZ0%3D&reserved=0
or, via email, send a message with subject or body 'help' to
mailman-users-requ...@python.org

You can reach the person managing the list at
mailman-users-ow...@python.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mailman-Users digest..."
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org


[Mailman-Users] Re: changes - need clarity

2023-06-09 Thread Mark Sapiro

On 6/9/23 10:53, Jeffrey Westgate wrote:


I've done my best to 'match' the created file systems during the config/make 
phases, but their distribution between /usr/lib/ and /var/lib are different, 
and I'm wondering if I've missed something, or if I can just press forward with 
rsyncing the old to the new regardless of where they now lie, as long as the 
contents are correct.

What I mean is:

...

I couldn't decipher that, but


so, it should work as long as old 'data' goes to new 'data', old 'qfiles' goes 
to new 'qfiles'... correct?


No. You only want to rsync the /directories in the new /var/lib/mailman 
directory. You do not want to rsync the /usr/lib/mailman directories as 
that will reinstall your Mailman 2.1.20. I.e., the only directories to 
move are archives, data, lists, locks, logs, qfiles and spam. Also, if 
your old server is shut down, locks and qfiles should be empty.


You also need to move the old Mailman/mm_cfg.py to 
/usr/lib/mailman/Mailman/mm_cfg.py, but nothing else from the Mailman 
directory.


Presumably you've run `make install` on the new server, but after you 
rsync the old directories, you should run `make update` or simply run 
`/usr/lib/mailman/bin/update to make any 2.1.20 -> 2.1.39 adjustments to 
the list configs.


--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org