2

I'm using Devuan Beowulf (~= Debian Buster). I'm seeing quite a few /var/log/messages messages involving apparmor, e.g.:

Oct 29 12:05:20 my_host_name kernel: [232254.998790] audit: type=1400 audit(1572343520.921:6063): apparmor="ALLOWED" operation="chmod" profile="libreoffice-soffice" name="/mnt/sdb3/home-joeuser/.local/share/recently-used.xbel" pid=32533 comm="soffice.bin" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

Questions:

  1. Why am I getting these messages at all?
  2. How do I make them go away?

1 Answer 1

1

These logs come from apparmor.

I am new to this software, but basically appparmor has a rule (i.e. setting) for LibreOffice defining a complaint mode. When libreoffice is trying to write certain files a warning is logged.

You can stop this logs by removing the app-armor rule for libreoffice.

Refer for instance to these links for more details:

3
  • 1
    Do you know where this rule is defined? I couldn't (easily) find it under /etc/apparmor
    – einpoklum
    Commented Oct 31, 2019 at 8:03
  • /etc/apparmor.d I guess. To remove a rule you have to link it to /etc/apparmor.d/disabled. But I am not familiar enough to help you. You'd better read the doc.
    – kFly
    Commented Oct 31, 2019 at 8:07
  • 1
    But where in there? I couldn't find an apparently-relevant file.
    – einpoklum
    Commented Oct 31, 2019 at 8:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .