Package: msmtp
Version: 1.8.1-2
Severity: important

Dear Maintainer,

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.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages msmtp depends on:
ii  debconf [debconf-2.0]  1.5.69
ii  libc6                  2.28-4
ii  libgnutls30            3.6.5-2
ii  libgsasl7              1.8.0-8+b2
ii  ucf                    3.0038+nmu1

Versions of packages msmtp recommends:
ii  ca-certificates  20170717

Versions of packages msmtp suggests:
ii  msmtp-mta  1.8.1-2

-- debconf information excluded

Reply via email to