Hi Jani,

On 2019-01-14 5:17 a.m., Jani Nikula wrote:
> I store my dotfiles in a git repo, and symlink the actual dotfiles to
> the git checkout. After msmtp update, the AppArmor profile blocked this:
> 
> [622972.288769] audit: type=1400 audit(1547459536.817:103): apparmor="DENIED" 
> operation="open" profile="/usr/bin/msmtp" name="/path/to/dotfiles/.msmtprc" 
> pid=2564 comm="sendmail" requested_mask="r" denied_mask="r" fsuid=1000 
> ouid=1000
> 
> Without the symlink it works fine, but then msmtp doesn't play well with
> my dotfiles approach. Either I'll have to nuke the AppArmor profile, or
> start looking for another mta.

Would you mind testing this base profile [1] and report back. If it
still doesn't work for you, please provide the denial logs from dmesg.

Regards,
Simon

1:
https://salsa.debian.org/sdeziel-guest/msmtp/blob/misc-fixes/debian/apparmor/usr.bin.msmtp

Reply via email to