[Touch-packages] [Bug 2020838] [NEW] [regression][jammy] augenrules Error sending add rule data request (No such file or directory)

2023-05-25 Thread Chuan Li
Public bug reported: The rule '-a always,exit -F path=/home/ubuntu/test.sh -F perm=x -F auid>=1000 -F auid!=unset -k privileged' can not be loaded during system boot up. # lsb_release -rc Release:22.04 Codename: jammy # dpkg -l|grep audit ii auditd

[Touch-packages] [Bug 2020838] Re: [regression][jammy] augenrules Error sending add rule data request (No such file or directory)

2023-05-25 Thread Chuan Li
** Description changed: - - The rule '-a always,exit -F path=/home/ubuntu/test.sh -F perm=x -F auid>=1000 -F auid!=unset -k privileged' can not be loaded during system boot up. + The rule '-a always,exit -F path=/home/ubuntu/test.sh -F perm=x -F + auid>=1000 -F auid!=unset -k privileged' can

[Touch-packages] [Bug 2020163] Re: only = and != equations work for auid field

2023-05-25 Thread Chuan Li
> and < should be escaped in shell. It's not a bug. closing it. ** Changed in: audit (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to audit in Ubuntu.

[Touch-packages] [Bug 2020838] Re: [regression][jammy] augenrules Error sending add rule data request (No such file or directory)

2023-05-30 Thread Chuan Li
Hi Seth, Thank you for the advice of "-i". It works if I append "-i" into the problematic line. It's strange that: 1) I can not see any difference between /home/ubuntu/test.sh, / opt/test.sh, /etc/test.sh and /usr/bin/test.sh, as there is no separated partition lsblk vda 252:00

[Touch-packages] [Bug 2020838] Re: [regression][jammy] augenrules Error sending add rule data request (No such file or directory)

2023-05-31 Thread Chuan Li
Comparing the files /etc/systemd/system/multi-user.target.wants/auditd.service between Focal and Jammy, I can see Jammy has the line "ProtectHome=true", If I remove this line and reboot the system, then the rule can be loaded along with system bootup -- You received this bug notification

[Touch-packages] [Bug 2020163] [NEW] only = and != equations work for auid field

2023-05-19 Thread Chuan Li
Public bug reported: lsb_release -rc Release:22.04 Codename: jammy dpkg -l|grep audi ii auditd 1:3.0.7-1build1 amd64User space tools for security auditing ii libaudit-common 1:3.0.7-1build1