Koozali.org formerly Contribs.org

smeserver-affa

Offline ReetP

  • *
  • 2,789
smeserver-affa
« on: October 09, 2020, 07:30:17 PM »
https://bugs.contribs.org/show_bug.cgi?id=11024

This is still alpha alpha...... VMs only. But please test.

https://wiki.contribs.org/SME10.0_Contribs_QA

Chat to us on Rocket.Chat

You are more likely to get some attention if you talk to us.

If not we'll do what we need first....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Re: smeserver-affa
« Reply #1 on: October 10, 2020, 06:36:56 PM »
Basic check to see if AFFA RISE works.

AFFA sync of SME9 server with RPMCheck=yes fails; Error (1306): writing list of installed RPMs failed.

AFFA sync of SME9 server with RPMCheck=no successful, sync SME9 server to SME10; SME9 used as email server only, 3 users.

RISE and Reboot, reconfigure and check.
SSH login ok, server-manager login ok, check users, groups and ibays are correct.
UID's + GID's are muddled, user home folder owner and permissions muddled.
SME10 has additional uid+gid files in /etc; subuid, subgid.
Manually copy SME9 uid+gid files to SME10 and manually correct permissions.

UNDO RISE;
Reverts to original files and permissions.
httpd-e-smith fails to start with certificate error.

Offline TerryF

  • grumpy old man
  • *
  • 1,322
Re: smeserver-affa
« Reply #2 on: October 11, 2020, 02:26:19 AM »
Thanks Gary, saves me some fumbling :-)
--
qui scribit bis legit

Offline ReetP

  • *
  • 2,789
Re: smeserver-affa
« Reply #3 on: October 11, 2020, 11:15:59 AM »
Thanks for testing!

Rpmcheck will probably fail cos el6 v el7.
Be a wiki note.

That will be a won't fix though you can comment on the bug for reference.

https://bugs.contribs.org/show_bug.cgi?id=11024

Can you list the specific uid+gid files for me so I can look?

If they are in place BEFORE you rise does it fix the folder owner etc?

Can you please show me what you mean?

Undo Rise. Again reverting back to v9 will be a won't fix methinks. Be a wiki note.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Re: smeserver-affa
« Reply #4 on: October 11, 2020, 11:48:28 AM »
I only ran once, would need to run again to ensure consistent issue.
The uid + gid files I copied back were; group shadow passwd gshadow + group- shadow- passwd- gshadow-
Reading these files showed accounts and groups from the SME10 before the RISE, the SME10 was not a new/clean vm.
I will to try again with a clean SME10 and take note before and after the RISE.

Offline ReetP

  • *
  • 2,789
Re: smeserver-affa
« Reply #5 on: October 11, 2020, 11:54:31 AM »
Cool.

Yes, try and be neat & consistent!!

These files *specifically"?

/etc/group
/etc/shadow
/etc/passwd
/etc/gshadow
/etc/group-
/etc/shadow-
/etc/passwd-
/etc/gshadow-

You can chat to me on Rocket if you are testing.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 2,789
Re: smeserver-affa
« Reply #6 on: October 11, 2020, 12:47:59 PM »
Ahhhh - I just fell into something as well regarding how we build RPMs that I need to better understand that might help some of this.

I need to have a chat with JP when he is back as this is above my paygrade :-)

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation