Bug 1551431 - After reboot, arpwatch listens only to local interface
Summary: After reboot, arpwatch listens only to local interface
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: arpwatch
Version: 27
Hardware: All
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jan Synacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-05 07:13 UTC by Koen
Modified: 2018-03-13 23:14 UTC (History)
3 users (show)

Fixed In Version: arpwatch-2.1a15-42.fc27
Clone Of:
Environment:
Last Closed: 2018-03-13 23:14:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Koen 2018-03-05 07:13:41 UTC
Description of problem:
After reboot, arpwatch does not report anything.  The logging (systemctl status arpwatch) reveals that it is only listening to the lo interface.

Version-Release number of selected component (if applicable):
Name         : arpwatch
Epoch        : 14
Version      : 2.1a15
Release      : 40.fc27
Arch         : x86_64

How reproducible:
Clean install of arpwatch

Steps to Reproduce:
1. Install arpwatch
2. reboot
3. nothing is reported.  

Actual results:
Check with systemctl status arpwatch - shows that arpwatch is listening to lo interface.  

Expected results:
arpwatch should listen to all the network interfaces (enp4s0)

Additional info:
systemctl restart arpwatch solves the problem until the next reboot.

Furter investigation shows that this can be solved bij adapting the /etc/systemd/system/multi-user.target.wants/arpwatch.service file

The section [Unit] of this file should has 
After=syslog.target network.target

Change this to
After=syslog.target network.target network-online.target

By adding network-online.target, arpwatch is started after all network interfaces are up and running and will listen to the ethernet interface.

Comment 1 Fedora Update System 2018-03-05 12:54:04 UTC
arpwatch-2.1a15-42.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f13391112e

Comment 2 Fedora Update System 2018-03-05 20:12:08 UTC
arpwatch-2.1a15-42.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-2018-f13391112e

Comment 3 Fedora Update System 2018-03-13 23:14:09 UTC
arpwatch-2.1a15-42.fc27 has been pushed to the Fedora 27 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.