Bug 2184779
Summary: | Filesystem: create systemd unit files for filesystems that are considered network filesystems by systemd | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Shane Bradley <sbradley> |
Component: | resource-agents | Assignee: | Oyvind Albrigtsen <oalbrigt> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.0 | CC: | agk, cluster-maint, fdinitto, mjuricek, nwahl, phagara |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 9.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | resource-agents-4.10.0-38.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-07 08:23:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Shane Bradley
2023-04-05 17:34:02 UTC
The systemd_drop_in() function can do this. See lvm_start() in LVM-activate. This would be something like ``` # if this is a remote filesystem (https://github.com/systemd/systemd/blob/v253/src/basic/filesystems.c#L115-L132) systemd_drop_in "99-Filesystem-remote" "After" \ "remote-fs.target" ``` We should think about whether Wants= or Requires= is also necessary. I think After= is sufficient. 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 (resource-agents 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:6312 |