Bug 1502746 - statsd can start before network and use localhost.localdomain as a hostname
Summary: statsd can start before network and use localhost.localdomain as a hostname
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: statsd
Version: epel7
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Piotr Popieluch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-16 15:05 UTC by Patrick Chauncey
Modified: 2018-01-30 16:51 UTC (History)
3 users (show)

Fixed In Version: statsd-0.7.2-10.el7
Clone Of:
Environment:
Last Closed: 2018-01-30 16:51:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrick Chauncey 2017-10-16 15:05:34 UTC
Description of problem:
On CentOS7 / EPEL7: 
statsd can start before network and use localhost.localdomain as a hostname

Version-Release number of selected component (if applicable):
statsd-0.7.2-6.el7

How reproducible:
Using bond interfaces or other interfaces which might take longer to start up than the time it takes for systemd to spawn spawn statsd.  Note: Adding "Wants=network.target" in the [Unit] section of the /usr/lib/systemd/system/statsd.service file resolves this.  Also "Wants=network.target" is part of the upstream configuration as well: https://github.com/etsy/statsd/blob/master/debian/statsd.statsd.service

Actual results:
Oct 16 08:42:10 localhost.localdomain systemd[1]: Started network daemon to collect metrics.

Expected results:
Oct 16 09:23:38 my.actual.hostname systemd[1]: Started network daemon to collect metrics.

Comment 1 Fedora Update System 2017-10-17 11:42:08 UTC
statsd-0.7.2-10.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-296c3acddd

Comment 2 Fedora Update System 2017-10-18 02:17:14 UTC
statsd-0.7.2-10.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2017-296c3acddd

Comment 3 Fedora Update System 2018-01-30 16:51:10 UTC
statsd-0.7.2-10.el7 has been pushed to the Fedora EPEL 7 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.