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 96a6c28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install_files/securedrop-app-code/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ case "$1" in
gpg2 --homedir=/var/lib/securedrop/keys --batch --import < /var/lib/securedrop/keys/secring.gpg
fi

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

chown -R www-data:www-data /var/lib/securedrop /var/www/securedrop

chown -R www-data:www-data /var/www/securedrop
Expand Down

0 comments on commit 96a6c28

Please sign in to comment.