Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: support for long unit names #18077

Closed
DemiMarie opened this issue Dec 24, 2020 · 2 comments · Fixed by #22759
Closed

RFE: support for long unit names #18077

DemiMarie opened this issue Dec 24, 2020 · 2 comments · Fixed by #22759
Assignees
Labels
downstream/rhel Tracking bugs for RHEL pid1 RFE 🎁 Request for Enhancement, i.e. a feature request

Comments

@DemiMarie
Copy link

Is your feature request related to a problem? Please describe.
systemd currently has a hard limit of 255 bytes for the length of a unit name. This causes problems such as #17684.

Describe the solution you'd like
Longer unit names are supported. This can be done by hashing them before converting them to a filename.

Describe alternatives you've considered
Long mount point paths could be handled differently. For instance, they could be symlinked to somewhere under /run.

@poettering poettering added pid1 RFE 🎁 Request for Enhancement, i.e. a feature request labels Jan 6, 2021
@lnykryn lnykryn added the downstream/rhel Tracking bugs for RHEL label Apr 19, 2021
@keszybz
Copy link
Member

keszybz commented Jun 1, 2021

@keszybz keszybz added this to the v249 milestone Jun 1, 2021
@poettering
Copy link
Member

Unsetting milestone again. I think #17684 + #16161 should be enough to have on the milestone.

@poettering poettering removed this from the v249 milestone Jun 1, 2021
msekletar added a commit to msekletar/systemd that referenced this issue Jan 14, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Jan 27, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Feb 4, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Mar 15, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Mar 16, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Mar 23, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Mar 23, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Mar 23, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Mar 24, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Mar 28, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Apr 8, 2022
msekletar added a commit to msekletar/systemd that referenced this issue Apr 8, 2022
Werkov pushed a commit to Werkov/systemd that referenced this issue Nov 1, 2023
… hash at the end

Fixes systemd#18077

(cherry picked from commit 1d0727e)

[fbui: adjust context]
[fbui: fixes bsc#1208194]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
downstream/rhel Tracking bugs for RHEL pid1 RFE 🎁 Request for Enhancement, i.e. a feature request
Development

Successfully merging a pull request may close this issue.

5 participants