Bug 2083493

Summary: longer mount points cause systemd invalid argument messages
Product: Red Hat Enterprise Linux 9 Reporter: David Tardon <dtardon>
Component: systemdAssignee: David Tardon <dtardon>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: dtardon, systemd-maint-list
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-250-8.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 11:18:06 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 David Tardon 2022-05-10 08:54:44 UTC
This bug was initially created as a copy of Bug #1940973

I am copying this bug because: 
It still applies.


Description of problem:

Mount a volume that is named in such a way that after systemd-escape, its name becomes greather than 256 characters. 

This causes endless messages in journal logs:

Failed to set up mount unit: Invalid argument


Expected results:

systemd should support mount points bigger than 256 chars - https://github.com/systemd/systemd/pull/14294


Additional info:

Additionally the log line should - at very minimum log which mount point is problematic.

Comment 1 Plumber Bot 2022-05-11 08:20:22 UTC
fix merged to github main branch -> https://github.com/redhat-plumbers/systemd-rhel9/pull/81

Comment 9 errata-xmlrpc 2022-11-15 11:18:06 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-2022:8327