Bug 1988849 - Add "Wants=network-online.target" to the systemd unit file.
Summary: Add "Wants=network-online.target" to the systemd unit file.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: arpwatch
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-01 18:48 UTC by Villy Kruse
Modified: 2021-08-11 01:19 UTC (History)
1 user (show)

Fixed In Version: arpwatch-3.1-26.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-11 01:19:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Villy Kruse 2021-08-01 18:48:10 UTC
Description of problem:

Providing "After=network-online.target" has no effect unless this unit (or some other unit) wants network-online.target.

See man systemd.unit

   Note that those settings are independent of and orthogonal to the requirement dependencies as configured by
   Requires=, Wants=, Requisite=, or BindsTo=. It is a common pattern to include a unit name in both the After=
   and Wants= options, in which case the unit listed will be started before the unit that is configured with these
   options.

Comment 1 Ben Beasley 2021-08-01 22:56:44 UTC
You’re correct. Thank you for the high-quality bug report. I will fix it.

Comment 2 Fedora Update System 2021-08-02 00:51:41 UTC
FEDORA-2021-a3279707eb has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a3279707eb

Comment 3 Fedora Update System 2021-08-03 01:44:38 UTC
FEDORA-2021-a3279707eb has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a3279707eb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a3279707eb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-08-11 01:19:16 UTC
FEDORA-2021-a3279707eb has been pushed to the Fedora 34 stable repository.
If problem still persists, 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.