RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2043524 - Annoying warning message ".device units cannot be delayed" when using _netdev on a mount point
Summary: Annoying warning message ".device units cannot be delayed" when using _netdev...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: systemd
Version: 8.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: David Tardon
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-21 12:59 UTC by Renaud Métrich
Modified: 2024-01-30 05:37 UTC (History)
5 users (show)

Fixed In Version: systemd-239-70.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 09:07:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github redhat-plumbers systemd-rhel8 pull 338 0 None open device: drop refuse_after 2022-11-03 15:20:46 UTC
Github systemd/systemd/commit/b862c25716520d9381d5a841dba0f0c14e9c970a 0 None None None 2022-01-21 14:30:19 UTC
Red Hat Issue Tracker RHELPLAN-109095 0 None None None 2022-01-21 13:06:36 UTC
Red Hat Product Errata RHBA-2023:2985 0 None None None 2023-05-16 09:07:42 UTC

Description Renaud Métrich 2022-01-21 12:59:22 UTC
Description of problem:

When adding _netdev to a mount point, e.g. because the device is on iSCSI, the following warning messages are logged:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
dev-mapper-myvg\x2dmylv.device: Dependency Before=network-online.target ignored (.device units cannot be delayed)
dev-mapper-myvg\x2dmylv.device: Dependency Before=network.target ignored (.device units cannot be delayed)
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

This message is very confusing.


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

systemd-239-51


How reproducible:

Always


Steps to Reproduce:
1. Add "_netdev" to mount options for /boot
2. Reboot

Actual results:

Message at warning level:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Jan 21 13:54:45 vm-rhel8 systemd[1]: dev-disk-by\x2duuid-17c2c80a\x2dafad\x2d4b64\x2da31b\x2d55b21ced3740.device: Dependency Before=network-online.target ignored (.device units cannot be delayed)
Jan 21 13:54:45 vm-rhel8 systemd[1]: dev-disk-by\x2duuid-17c2c80a\x2dafad\x2d4b64\x2da31b\x2d55b21ced3740.device: Dependency Before=network.target ignored (.device units cannot be delayed)
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

Expected results:

No message at all

Comment 2 Plumber Bot 2023-01-12 12:40:39 UTC
fix merged to github main branch -> https://github.com/redhat-plumbers/systemd-rhel8/pull/338

Comment 9 errata-xmlrpc 2023-05-16 09:07:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (systemd bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2985


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