![](https://secure.gravatar.com/avatar/6bd9e872d9d92b61aa10ef0914b8d637.jpg?s=120&d=mm&r=g)
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}' archives archives data data lists lists locks spam logs $ ls -l /usr/lib/mailman | awk '{ print $NF}' qfiles /var/lib/mailman/archives spam bin $ ls -l /usr/lib/mailman/ | awk '{ print $NF }' cgi-bin /var/lib/mailman/archives cron bin data cgi-bin icons cron lists icons locks mail logs Mailman mail messages Mailman 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-request@python.org <mailman-users-request@python.org> Sent: Sunday, June 4, 2023 11:00 To: mailman-users@python.org <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<https://mail.python.org/mailman3/lists/mailman-users.python.org/> or, via email, send a message with subject or body 'help' to mailman-users-request@python.org
You can reach the person managing the list at mailman-users-owner@python.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Mailman-Users digest..."
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Jeffrey Westgate
-
Mark Sapiro