Ubuntu 20.04 to 22.04 10.1 Upgrade - zimbra.log ownership issue.

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
BradC
Outstanding Member
Outstanding Member
Posts: 403
Joined: Tue May 03, 2016 1:39 am

Ubuntu 20.04 to 22.04 10.1 Upgrade - zimbra.log ownership issue.

Post by BradC »

Has anyone else spotted an issue with the ownership of /var/log/zimbra.log ?

The Zimbra logrotate sets the owner as syslog:adm correctly, but zmfixperms resets it to zimbra:zimbra. This precludes rsyslog from writing to it until the midnight log rotate creates a new one with the correct permissions.

Not a big issue, just one I spotted after doing a few test upgrades.

Edit : Ahh.. this is why :

Code: Select all

if [ "X$PLAT" = "XUBUNTU10_64" -o "X$PLAT" = "XUBUNTU12_64" -o "X$PLAT" = "XUBUNTU14_64" -o X$PLAT = "XUBUNTU16_64" -o X$PLAT = "XUBUNTU18_64" -o X$PLAT = "XUBUNTU20_64" ]; then
  syslog_user=syslog
  syslog_group=adm
else
  syslog_user=zimbra
  syslog_group=zimbra
fi
zmfixperms hasn't had Ubuntu 22.04 added to that test.
marlon01
Posts: 2
Joined: Sat Mar 29, 2025 9:56 pm

Re: Ubuntu 20.04 to 22.04 10.1 Upgrade - zimbra.log ownership issue.

Post by marlon01 »

Yes, this issue arises because zmfixperms hasn't been updated for Ubuntu 22.04, causing it to set incorrect ownership for /var/log/zimbra.log, hindering rsyslog functionality.game fr legends mod apk
BradC
Outstanding Member
Outstanding Member
Posts: 403
Joined: Tue May 03, 2016 1:39 am

Re: Ubuntu 20.04 to 22.04 10.1 Upgrade - zimbra.log ownership issue.

Post by BradC »

I finally got around to lodging a support case for this. Let's see how long it takes to make the list.

Edit : That was quick : ZBUG-4876
BradC
Outstanding Member
Outstanding Member
Posts: 403
Joined: Tue May 03, 2016 1:39 am

Re: Ubuntu 20.04 to 22.04 10.1 Upgrade - zimbra.log ownership issue.

Post by BradC »

gelon578
Posts: 1
Joined: Fri Sep 12, 2025 10:47 am

Re: Ubuntu 20.04 to 22.04 10.1 Upgrade - zimbra.log ownership issue.

Post by gelon578 »

Good catch! That explains the ownership issue perfectly. It seems like Ubuntu 22.04 just isn’t accounted for in the script yet. Hopefully, they’ll update zmfixperms soon to avoid this mismatch in future upgrades. game fr legends mod apk
Post Reply