Daniel Verkamp
unread,Sep 16, 2022, 2:14:56 PM9/16/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chithra Gurudev, Mike Frysinger, Allen Webb, ChromiumOS Development
On Fri, Sep 16, 2022 at 8:21 AM Chithra Gurudev
<
chithra...@gmail.com> wrote:
>>>>>> On Fri, Sep 16, 2022 at 6:08 AM Chithra Gurudev <
chithra...@gmail.com> wrote:
>>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> Every time I try to start/enable auditd service getting an same error tried to re-install auditd packages multiple times but failing with an error.
>>>>>>>
>>>>>>> Cannot change priority
>>>>>>> The audit daemon is exiting
>>>>>>> Control process exited, code=exited, status=1/FAILURE
I don't actually know anything about auditd, but this looks like it's
trying to adjust its `nice` priority beyond what is allowed in the
container.
Setting `priority_boost = 0` in /etc/auditd/auditd.conf will avoid
this particular problem:
https://man7.org/linux/man-pages/man5/auditd.conf.5.html
However, it's likely that other permissions will be missing inside the
container as well; root inside the penguin container is not equivalent
to root/CAP_SYS_ADMIN outside the container.
This discussion looks related to running auditd in a container (I
don't know if this is still the current status):
https://listman.redhat.com/archives/linux-audit/2018-July/msg00078.html