Bug 1388583 - smokeping fails to start on boot
Summary: smokeping fails to start on boot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: smokeping
Version: 24
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-25 17:33 UTC by Jason Scalia
Modified: 2016-11-06 23:21 UTC (History)
3 users (show)

Fixed In Version: smokeping-2.6.11-1.fc24 smokeping-2.6.11-1.fc25 smokeping-2.6.11-1.fc23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-28 19:51:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
working smokeping.service (252 bytes, patch)
2016-10-25 17:55 UTC, Jason Scalia
no flags Details | Diff

Description Jason Scalia 2016-10-25 17:33:29 UTC
Description of problem:

smokeping fails to start on boot

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

smokeping-2.6.10-3.fc24.noarch

How reproducible:

Reproducible on each boot

Steps to Reproduce:
1. have smokeping installed and run systemctl enable smokeping
2. reboot
3. systemctl status smokeping


Actual results:

[root@nutshell ~]# systemctl status smokeping
● smokeping.service - Latency Logging and Graphing System
   Loaded: loaded (/usr/lib/systemd/system/smokeping.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2016-10-25 13:31:27 EDT; 1min 15s ago
  Process: 1012 ExecStart=/usr/sbin/smokeping --nodaemon (code=exited, status=9)
 Main PID: 1012 (code=exited, status=9)

Oct 25 13:31:08 nutshell.downontheupside.net systemd[1]: Started Latency Logging and Graphing System.
Oct 25 13:31:09 nutshell.downontheupside.net smokeping[1012]: WARNING: Hostname 'google.com' does currently not resolve to an IPv4 address
Oct 25 13:31:09 nutshell.downontheupside.net smokeping[1012]: WARNING: Hostname 'www.google.com' does currently not resolve to an IPv4 address
Oct 25 13:31:09 nutshell.downontheupside.net smokeping[1012]: WARNING: Hostname 'www.datapipe.com' does currently not resolve to an IPv4 address
Oct 25 13:31:09 nutshell.downontheupside.net smokeping[1012]: WARNING: Hostname 'xmlrpc.rhn.redhat.com' does currently not resolve to an IPv4 address
Oct 25 13:31:27 nutshell.downontheupside.net smokeping[1012]: ERROR: output of '/bin/dig localhost' does not match (?^i:query time:\s+([0-9.]+)\smsec.*)
Oct 25 13:31:27 nutshell.downontheupside.net smokeping[1012]:  at (eval 50) line 1.
Oct 25 13:31:27 nutshell.downontheupside.net systemd[1]: smokeping.service: Main process exited, code=exited, status=9/n/a
Oct 25 13:31:27 nutshell.downontheupside.net systemd[1]: smokeping.service: Unit entered failed state.
Oct 25 13:31:27 nutshell.downontheupside.net systemd[1]: smokeping.service: Failed with result 'exit-code'.



Expected results:

smokeping should be running.

Additional info:

systemctl start smokeping will start the service as expected. Assuming that it is trying to start before networking is available.

Comment 1 Jason Scalia 2016-10-25 17:43:50 UTC
Changing the following line in /usr/lib/systemd/system/smokeping.service from:

After=syslog.target network.target

to:

After=syslog.target network-online.target

Seems to have fixed the issue for me.

Comment 2 Terje Røsten 2016-10-25 17:46:23 UTC
Hi! Thanks for fix, will push update!

Comment 3 Jason Scalia 2016-10-25 17:55:34 UTC
Created attachment 1214026 [details]
working smokeping.service

Tested on fc24 x86_64 with smokeping-2.6.10-3.fc24.noarch

Comment 4 Jason Scalia 2016-10-25 18:02:26 UTC
Great, thank you for the quick response!

Comment 5 Terje Røsten 2016-10-25 18:32:28 UTC
Update pushed: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d512bce0a1

Comment 6 Fedora Update System 2016-10-26 17:50:16 UTC
smokeping-2.6.11-1.fc23 has been pushed to the Fedora 23 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-2016-12cfbb1af5

Comment 7 Fedora Update System 2016-10-26 20:32:37 UTC
smokeping-2.6.11-1.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-2016-b7dad297bb

Comment 8 Fedora Update System 2016-10-26 22:26:26 UTC
smokeping-2.6.11-1.fc24 has been pushed to the Fedora 24 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-2016-d512bce0a1

Comment 9 Fedora Update System 2016-10-28 19:51:51 UTC
smokeping-2.6.11-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-10-31 07:36:43 UTC
smokeping-2.6.11-1.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 2016-11-06 23:21:23 UTC
smokeping-2.6.11-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.