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

radicale: owner mismatch for config and runit service #38923

Closed
lemmi opened this issue Aug 26, 2022 · 3 comments
Closed

radicale: owner mismatch for config and runit service #38923

lemmi opened this issue Aug 26, 2022 · 3 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@lemmi
Copy link
Member

lemmi commented Aug 26, 2022

Is this a new report?

Yes

System Info

Void 5.18.19_1 x86_64-musl GenuineIntel/KVM uptodate rFF

Package(s) Affected

radicale-3.1.8_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Radicale continues to work after an update or install without a chown radicale:radicale /etc/radicale/*

Actual behaviour

xbps-install reset the owner in /etc/radicale/* to root:root. Together with the supplied permission, radicale started via the runit service isn't allowed to read the config and fails.

Steps to reproduce

  1. Install or update radicale
  2. Use the provided runit service
  3. breaks
@lemmi lemmi added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Aug 26, 2022
@lemmi
Copy link
Member Author

lemmi commented Aug 26, 2022

@teldra
A possible solution I can think of is to not provide the config in /etc/radicale, but only have an example config in /usr/share/example/radicale.
I don't know why exactly the owner is reset or how to keep it. Maybe someone else has an idea.

@teldra
Copy link
Contributor

teldra commented Oct 4, 2022

Sry, for late answer.

I see the problem, when stopping to manage files in /etc/radicale now, existent config files will be deleted.

@classabbyamp
Copy link
Member

#49476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
3 participants