postfix install fails with error
Installing the postfix package results in an error, but the installed application is working fine afterwards.
The error status is causing problems, when packages are installed using a configuration management tool such as ansible, since it treats the error code as a fatal error.
@
/ # apk add -U postfix
fetch
http://nl.alpinelinux.org/alpine/edge/main/x86\_64/APKINDEX.tar.gz
fetch
http://nl.alpinelinux.org/alpine/edge/community/x86\_64/APKINDEX.tar.gz
(1/4) Installing libgcc (6.4.0-r5)
(2/4) Installing db (5.3.28-r0)
(3/4) Installing libsasl (2.1.26-r10)
(4/4) Installing postfix (3.2.2-r0)
Executing postfix-3.2.2-r0.pre-install
ERROR: Failed to set file permissions on usr/sbin/postdrop.apk-new:
Permission denied
ERROR: Failed to set file permissions on usr/sbin/postqueue.apk-new:
Permission denied
Executing busybox-1.27.1-r0.trigger
1 errors; 57 MiB in 30 packages
/ # echo $?
1
@
(from redmine: issue id 7771, created on 2017-08-27)