Op donderdag 29 januari 2026 14:00:23 Midden-Europese standaardtijd schreef u:
> Hello Freek,
> 
> Am 29.01.26 um 13:22 schrieb Freek de Kruijf:
> > After the upgrade to Tumbleweed  20260126 on my RPi4B postfix does not
> > start with the message:
> > 
> > 
> > fatal: open database /etc/aliases.lmdb: Permission denied
> 
> Same problem here since update from Jan. 22 for TW x86_64. >
> 
> > This must be something caused by wrong settings for selinux.
> 
> Developers seemed to drop dbm support for Postfix, too.
> 
> So maybe you have to create the lmdb databases (postmap) and adapt main.cf.

I tried "newaliases" to create a new /etc/aliases.lmdb, but that did not help.
> 
> 
> For the (probably) selinux problem my workaround for the moment is:
> 
> I commented out
> 
> ExecStartPre=/usr/sbin/postalias /etc/aliases
> 
> in /usr/lib/systemd/system/postfix.service
> 
> and restarted systemd.
> 
> (I didn't create a bug report)
> 
> Joe

In the end I tried setting the proper selinux parameters on /etc/aliases.lmdb 
and found 
the following commands to be successful:

semanage fcontext -m -t etc_aliases_t /etc/aliases.lmdb
restorecon /etc/aliases.lmdb

-- 
fr.gr.

member openSUSE
Freek de Kruijf

Reply via email to