Score:0

Why AppArmor logs file read access requests in ASCII expressed as pairs of HEX bytes to the audit.log

ng flag

AppArmor by default logs all files access DENY to the audit.log in the ASCII text format

type=AVC msg=audit(1624892152.939:757): apparmor="DENIED" operation="open" profile="/usr/sbin/netapp" name=/var/app/config.conf pid=16763 comm="cp" requested_mask="r" denied_mask="r" fsuid=0 ouid=1033

However sometimes it logs some file access in HEX:

type=AVC msg=audit(1624892152.939:757): apparmor="DENIED" operation="open" profile="/usr/sbin/netapp" name=2F7661722F6170702F636F6E6669672E636F6E66 pid=16763 comm="cp" requested_mask="r" denied_mask="r" fsuid=0 ouid=1033

Hex

name=2F7661722F6170702F74756E696E672E636F6E66

is eqalent to:

/var/app/tuning.conf

The aplication profile already have the line to allow access to all files in the folder:

owner /var/app/* r, 

Adding hex line to profile is causing AppArmor to crash. I apreciate if someone can shed some light on this issue, as I cannot find a solution. Thx in advance

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.