You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundler-audit downloads a copy of the Ruby Advisory Database inside the user's home directory. This can cause issues if the user running the script does not have a writable home directory.
Some environments (Ubuntu/Debian confirmed) create a home directory for the nagios user, but do not set it as $HOME when running the nagios-nrpe-server daemon.
$HOME is either /root or undefined. In both cases this will cause bundler-audit to fail to update the advisory DB, which leads to false positives.
The text was updated successfully, but these errors were encountered:
/tmp should work if the nagios user does not have a home directory.
tommarshall
changed the title
Unable to update ruby-advisory-db on Ubuntu 14.04 with nagios-nrpe-server
Unable to update ruby-advisory-db with nagios-nrpe-serverNov 2, 2016
bundler-audit
downloads a copy of the Ruby Advisory Database inside the user's home directory. This can cause issues if the user running the script does not have a writable home directory.Some environments (Ubuntu/Debian confirmed) create a home directory for the
nagios
user, but do not set it as$HOME
when running thenagios-nrpe-server
daemon.$HOME
is either/root
or undefined. In both cases this will causebundler-audit
to fail to update the advisory DB, which leads to false positives.The text was updated successfully, but these errors were encountered: