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

geoclue2 failing to find /etc/geoclue/conf.d #327464

Closed
fzakaria opened this issue Jul 15, 2024 · 5 comments · Fixed by #352480
Closed

geoclue2 failing to find /etc/geoclue/conf.d #327464

fzakaria opened this issue Jul 15, 2024 · 5 comments · Fixed by #352480
Labels
0.kind: bug Something is broken

Comments

@fzakaria
Copy link
Contributor

Describe the bug

My geoclue2 service was emitting the following message:

Jul 15 19:25:18 nyx .geoclue-wrappe[2170]: Failed to open /etc/geoclue/conf.d/: Error opening directory “/etc/geoclue/conf.d/”: No such file or directory

I got around it with

  environment.etc."geoclue/conf.d/.valid" = {
    text = "created the directory.";
  };

Expected behavior

The service shouldn't be emitting such messages

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Add a 👍 reaction to issues you find important.

@stephen-huan
Copy link
Member

Since the fix is one line, I added it to #329654 although the PR is unrelated.

I've decided to use the home-manager convention of an empty .keep file placed in the directory.

@rvl
Copy link
Contributor

rvl commented Aug 14, 2024

I opened an upstream issue because I think this is more a bug in Geoclue than NixOS.

@stephen-huan
Copy link
Member

It looks like it has already been fixed and will probably appear in the next release.

https://gitlab.freedesktop.org/geoclue/geoclue/-/merge_requests/169

Since this issue was mostly cosmetic in the first place, I'll remove the fix from the PR.

kira-bruneau added a commit to kira-bruneau/nixpkgs that referenced this issue Oct 30, 2024
https://gitlab.freedesktop.org/geoclue/geoclue/-/blob/2.7.2/NEWS

The Mozilla API key option was removed since the Mozilla location service is now defunct, see NixOS#321121

Fixes NixOS#327464
Shawn8901 pushed a commit to Shawn8901/nixpkgs that referenced this issue Nov 3, 2024
https://gitlab.freedesktop.org/geoclue/geoclue/-/blob/2.7.2/NEWS

The Mozilla API key option was removed since the Mozilla location service is now defunct, see NixOS#321121

Fixes NixOS#327464
@Axolord
Copy link

Axolord commented Nov 26, 2024

Can we back port that fix from #352480 to 24.05?

@zane-weissman
Copy link

Can we back port that fix from #352480 to 24.05?

Not sure what the backporting policy is for nixpkgs, but in the meantime you can easily include a package from the unstable channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants