postfix chroot and updated shared libraries

keeka

Well-Known Member
Dec 8, 2019
204
24
58
I notice postfix check complains about differences between system files and their counterparts in postfix chroot:

warning: /var/spool/postfix/etc/localtime and /etc/localtime differ
warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_systemd.so.2 and /lib/x86_64-linux-gnu/libnss_systemd.so.2 differ

The first warning seems to be because my system TZ was changed post-install and the postfix one is a copy of UTC.

With the second warning, presumably because a system shared library has been updated, should we copy the new lib to the postfix chroot?
 
Many thanks for the clarification. I'd assumed postfix ran chroot.
The comment in master.cf is misleading as it implies the postfix default is to run chrooted.
Code:
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
 
Last edited:
Many thanks for the clarification. I'd assumed postfix ran chroot.
The comment in master.cf is misleading as it implies the default is to still to run chrooted.
Yes - this is something we'll change soon (which is the reason why the bugzilla entry is still not resolved :)
 
  • Like
Reactions: keeka

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!