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

Use QueueDirectories to wait for /nix/store for keepalived services #1379

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

booxter
Copy link
Contributor

@booxter booxter commented Mar 10, 2025

This allows to get rid of wait4path and sh from the execution path for
the services. Which simplifies permissions configuration for nix-daemon,
among other things. (No longer needed to grant Full Disk Access / App
Management to /bin/sh for nix-daemon to deal with .app bundles.)

Related: NixOS/nix#6765

@booxter booxter force-pushed the launchd-use-path-state-to-wait-for-path branch from 164ba0e to 387752c Compare March 10, 2025 02:54
This allows to get rid of wait4path and sh from the execution path for
the services. Which simplifies permissions configuration for nix-daemon,
among other things. (No longer needed to grant Full Disk Access / App
Management to /bin/sh for nix-daemon to deal with .app bundles.)

Related: NixOS/nix#6765

Signed-off-by: Ihar Hrachyshka <[email protected]>
@booxter booxter force-pushed the launchd-use-path-state-to-wait-for-path branch from 387752c to fc4e22f Compare March 15, 2025 02:51
@booxter booxter changed the title nix-daemon: use PathState to detect /nix/store presence Use QueueDirectories to wait for /nix/store for keepalived services Mar 15, 2025
@booxter booxter marked this pull request as ready for review March 15, 2025 15:26
@booxter booxter marked this pull request as draft March 15, 2025 17:12
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.

1 participant