~alpine/users

1

Dovecot safe_mkstemp permission denied after 3.23 upgrade

Details
Message ID
<FHpoFoQ39ALtzJ2muIrncOkmhWHDjuoSHD9L4OVPC_wGRPlY_Rz-VX8YvKfYLUkvHtVBw9bLT8BOmYG36NlBO7fzbMyXEpu5uknQYuv5PgU=@protonmail.com>
DKIM signature
missing
Download raw message
Hi,

I updated to Alpine 3.23 and noticed that after the update, Dovecot fails to start, with the output:

```
doveconf: Error: safe_mkstemp(/tmp/doveconf.) failed: Permission denied
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: Failed to write binary config file
```

I am able to run `mktemp` as both a normal user and as root just fine. Output of `ls -ld /tmp`:

```
drwxrwxrwt    4 root     root            80 Dec  4 12:54 /tmp
```

Is anyone else having the same problem? Any ideas how to resolve this?

Thanks!
Details
Message ID
<YvvfpWuHDt4CcOy7_cGAUvB_Mcs7SxbUYE8UOAnMuAG8D19oHx9TrW4pvbwn6x7HuKKVf86vagFs0B3AWSH0-ovLNDFJqbvQmTlT_GlaL5A=@protonmail.com>
In-Reply-To
<FHpoFoQ39ALtzJ2muIrncOkmhWHDjuoSHD9L4OVPC_wGRPlY_Rz-VX8YvKfYLUkvHtVBw9bLT8BOmYG36NlBO7fzbMyXEpu5uknQYuv5PgU=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
> Hi,
> 

> I updated to Alpine 3.23 and noticed that after the update, Dovecot fails to start, with the output:
> 

> `doveconf: Error: safe_mkstemp(/tmp/doveconf.) failed: Permission denied doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: Failed to write binary config file`
> 

> I am able to run `mktemp` as both a normal user and as root just fine. Output of `ls -ld /tmp`:
> 

> `drwxrwxrwt 4 root root 80 Dec 4 12:54 /tmp`
> 

> Is anyone else having the same problem? Any ideas how to resolve this?
> 

> Thanks!

Resolved: the upgrade added back Dovecot apparmor profiles I removed. Removing the Dovecot AppArmor profiles allows Dovecot to start again.
Reply to thread Export thread (mbox)