Bug 1500881

Summary: smokeping.conf in /etc/conf.d is incomplete
Product: [Fedora] Fedora Reporter: Christopher Rose <crose>
Component: smokepingAssignee: Terje Røsten <terje.rosten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: cra, fedora, jperrin, sheltren, terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: smokeping-2.6.11-7.fc26 smokeping-2.6.11-7.fc25 smokeping-2.6.11-7.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-03 13:30:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Rose 2017-10-11 16:28:32 UTC
Description of problem: When installing S smokeping package an incomplete httpd conf file is used. When smokeping service is enabled and started, httpd directives and security is not correct to allow a person to use smokepign via web browser. 


Version-Release number of selected component (if applicable):

2.6.11-3
How reproducible:


Steps to Reproduce:
Install Fedora
dnf install smokeping
systemctl enable httpd
systemctl start httpd
systemctl enable smokeping
systemctl start smokeping

Open Browser. navigate to http://localhost/smokeping/smokeping.fcgi

Actual results:
Forbidden

You don't have permission to access /smokeping/smokeping.fcgi on this server.

Expected results:

The smokeping local home page

Additional info:
This error persists despite adding permissions on the smokeping.conf file...

<Directory "/usr/share/smokeping" >
  Require all granted
  # Require ip 2.5.6.8
  # Require host example.org
</Directory>

<Directory "/var/lib/smokeping" >
  Require all granted
  # Require ip 2.5.6.8
  # Require host example.org
</Directory>

# .fcgi : smokeping by mod_fcgid aka fastcgi
# _cgi  : plain old fashion cgi
ScriptAlias /smokeping/sm.cgi  /usr/share/smokeping/cgi/smokeping.fcgi
#ScriptAlias /smokeping/sm.cgi  /usr/share/smokeping/cgi/smokeping_cgi

Alias       /smokeping/images  /var/lib/smokeping/images
Alias       /smokeping         /usr/share/smokeping/htdocs


Error in /var/log/httpd/error_log

[Wed Oct 11 11:58:34.563557 2017] [autoindex:error] [pid 16266] [client ::1:35076] AH01276: Cannot serve directory /usr/share/smokeping/htdocs/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive


it appears many options settings needed to run the smokepign package are missing from the conf file.

Comment 1 Terje Røsten 2017-10-24 18:47:25 UTC
Seems like httpd don't bind to localhost any longer, please try

 http://<fqdn>/smokeping/sm.cgi

in a browser.

Comment 2 Fedora Update System 2017-10-25 08:06:29 UTC
smokeping-2.6.11-7.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c8c5ef3d8f

Comment 3 Fedora Update System 2017-10-25 08:06:39 UTC
smokeping-2.6.11-7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6d4a5735c3

Comment 4 Fedora Update System 2017-10-25 08:06:44 UTC
smokeping-2.6.11-7.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9cb1af53da

Comment 5 Fedora Update System 2017-10-26 01:11:49 UTC
smokeping-2.6.11-7.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-9cb1af53da

Comment 6 Fedora Update System 2017-10-26 01:33:51 UTC
smokeping-2.6.11-7.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c8c5ef3d8f

Comment 7 Christopher Rose 2017-10-27 14:50:33 UTC
http://<fqdn>/smokeping/sm.cgi

worked. Documentation issue?

Comment 8 Fedora Update System 2017-10-27 18:44:04 UTC
smokeping-2.6.11-7.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6d4a5735c3

Comment 9 Fedora Update System 2017-11-03 13:30:13 UTC
smokeping-2.6.11-7.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2017-11-03 13:45:08 UTC
smokeping-2.6.11-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2017-11-11 03:04:39 UTC
smokeping-2.6.11-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.