Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603458 - mail-mta/postfix-3.1.2-r1: At start-up: postalias: fatal: open /etc/mail/aliases.db: Read-only file system
Summary: mail-mta/postfix-3.1.2-r1: At start-up: postalias: fatal: open /etc/mail/alia...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 12:19 UTC by Chris Mayo
Modified: 2017-01-24 18:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2016-12-22 12:19:33 UTC
I am using sys-apps/systemd-231.

postfix.service runs newaliases in ExecStartPre
but also has ProtectSystem=full making /etc read-only.
Comment 1 David Heidelberg (okias) 2017-01-04 18:37:45 UTC
Same warning, also on systemd unit.
Comment 2 Eray Aslan gentoo-dev 2017-01-12 09:13:40 UTC
Adding systemd to cc
Comment 3 Craig Andrews gentoo-dev 2017-01-12 14:38:32 UTC
pull request: https://github.com/gentoo/gentoo/pull/3443
Comment 4 Mike Gilbert gentoo-dev 2017-01-24 18:04:52 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd5f65de927969d57a211d9af130bb446072a58d

commit cd5f65de927969d57a211d9af130bb446072a58d
Author: Craig Andrews <candrews@integralblue.com>
Date:   Thu Jan 12 09:36:39 2017 -0500

    mail-mta/postfix: Allow writing to /etc/mail/aliases.db

    Gentoo-bug: 603458
    Closes: https://github.com/gentoo/gentoo/pull/3443

 mail-mta/postfix/files/postfix.service                                | 1 +
 mail-mta/postfix/{postfix-3.1.2-r1.ebuild => postfix-3.1.2-r2.ebuild} | 0
 mail-mta/postfix/{postfix-3.1.4.ebuild => postfix-3.1.4-r1.ebuild}    | 0
 3 files changed, 1 insertion(+)