lxc container and dovecot /var/run permissions

foobar73

Member
Jan 19, 2016
17
1
23
50
Hi,

I migrated a container from openvz to lxc and I have encountered an odd error:

When a client tries to connect to IMAP and authenticate it fails. Correlating log entry is this:
dovecot: imap-login: Error: auth: connect(login) in directory / failed: Permission denied (euid=498(<unknown>) egid=499(<unknown>) missing +r perm: login, euid is not dir owner)

the / refers to /var/run/dovecot/login/ and the perms on imap is 1600 root:root not 1666 root:root

I can temporarily change the perms of course, but they are reset after restart.
 
I ran into the same problem, changing the perms did the trick but restarting dovecot will undo this.

my container already migrated from openvz to lxc, i made a snapshot backup and restored the backup to another server and encounter the problem there. only difference is that the 'old' servers runs pvemanager 4.0-48 and the new one pvemanager 4.1-5
 

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!