Skip to content

Commit

Permalink
Disable fwupd-refresh.timer, triggers OSSEC warnings
Browse files Browse the repository at this point in the history
For various reasons, the timer to run `fwupdmgr refresh` ocassionally
triggers OSSEC alerts, which admins can't do anything about.

We currently don't use fwupd for firmware updates, so the daily refresh
of metadata is useless and should be safe to disable. If in the future
we do want admins to install updates with fwupd, they can run refresh
manually as part of the process.

Fixes #6204.
  • Loading branch information
legoktm committed Apr 13, 2022
1 parent f0dd9a8 commit e72ccd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install_files/securedrop-config-focal/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ case "$1" in
cp /opt/securedrop/50unattended-upgrades /etc/apt/apt.conf.d/
cp /opt/securedrop/reboot-flag /etc/cron.d/

# Disable fwupd-refresh (#6204)
systemctl is-enabled fwupd-refresh.timer && systemctl disable fwupwd-refresh.timer

;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
Expand Down

0 comments on commit e72ccd6

Please sign in to comment.