Skip to content

Scripts run by auditd don't trigger desktop notifications #3

@ShellCode33

Description

@ShellCode33

For example the script try-to-fix-low-on-disk-space doesn't send notifications. This is because the echo NOTIFY statements are not sent to systemd's journal.

How to reproduce:

  • Check free disk space: sudo btrfs filesystem usage / | grep df
  • Create a huge file close to what's left on the drive: fallocate -l 818.7GiB ~/.cache/mozilla/firefox/test
  • Auditd will trigger the try-to-fix-low-on-disk-space but no desktop notification is sent
  • echo statement doesn't appear in the output of sudo systemctl status auditd

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions