Skip to content

'Which' not in dependencies #8900

Closed
Closed
@johandroz

Description

Bug report

System info: InfluxDB 1.3.6

Steps to reproduce:

I was creating a container with influxdb with a fedora 26 base. It doesn't come with many "standard utilities" such as which.
Thus this part of the post install script will fail :
if [[ -f /etc/redhat-release ]]; then
# RHEL-variant logic
which systemctl &>/dev/null
if [[ $? -eq 0 ]]; then
install_systemd
else
# Assuming sysv
install_init
install_chkconfig
fi

Additional info: We can resolve this by installing which before installing influx.

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions