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

systemd/service: remove unused and deprecated PermissionsStartOnly #528

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pacien
Copy link

@pacien pacien commented Jun 11, 2024

This setting has been deprecated in systemd 240.

It didn't seem to be actually useful since there's no Exec* other
than ExecStart being defined here.

@lukaslihotzki
Copy link
Contributor

Remember to change the redundant service file inside install.sh too, as #389 is not merged.

This setting has been deprecated in systemd 240.

It didn't seem to be actually useful since there's no `Exec*` other
than ExecStart being defined here.
@pacien pacien force-pushed the systemd-remove-permissionsstartonly branch from a61ec1a to 6e292b3 Compare June 20, 2024 17:00
@pacien
Copy link
Author

pacien commented Jun 20, 2024 via email

Shawn8901 pushed a commit to Shawn8901/nixpkgs that referenced this pull request Jun 22, 2024
We're using the upstream systemd service file since dfa130e.
It specifies `PermissionsStartOnly = true`, which is not only
deprecated in recent systemd, but also interferes with the
`ExecPreStart` in our module.

This adds a patch to the package solving this, allowing our module and
NixOS test to work until this gets merged upstream.

Upstream PR: stalwartlabs/mail-server#528
happysalada pushed a commit to NixOS/nixpkgs that referenced this pull request Jun 23, 2024
We're using the upstream systemd service file since dfa130e.
It specifies `PermissionsStartOnly = true`, which is not only
deprecated in recent systemd, but also interferes with the
`ExecPreStart` in our module.

This adds a patch to the package solving this, allowing our module and
NixOS test to work until this gets merged upstream.

Upstream PR: stalwartlabs/mail-server#528
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants