Fixed
Details
Assignee
Alex MayAlex MayReporter
Dino YanceyDino YanceyLabels
HB Backlog Status
BacklogFD#
MultipleComponents
Sprint
NoneFix versions
Affects versions
Priority
Minor
Details
Details
Assignee
Alex May
Alex MayReporter
Dino Yancey
Dino YanceyLabels
HB Backlog Status
Backlog
FD#
Multiple
Components
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created June 15, 2022 at 4:41 PM
Updated July 18, 2022 at 3:09 PM
Resolved July 15, 2022 at 8:21 PM
The following scripts in
$OPENNMS_HOME/bin/
invoke sudo, even when run as root:[root@30horizon etc]# grep -Ril sudo ../bin/ ../bin/fix-karaf-setup.sh ../bin/fix-permissions ../bin/install ../bin/opennms ../bin/runjava ../bin/update-package-permissions ../bin/upgrade
This is problematic as some environments do not allow the root user to run commands via
sudo
(which is unnecessary anyway). This causes each of these commands to fail, and necessitates manually modifying the script to remove thesudo
invocation.