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

Alpine Linux 3.21 docker image no longer has lockfile dir #1843

Open
rdmark opened this issue Jan 4, 2025 · 3 comments
Open

Alpine Linux 3.21 docker image no longer has lockfile dir #1843

rdmark opened this issue Jan 4, 2025 · 3 comments

Comments

@rdmark
Copy link
Member

rdmark commented Jan 4, 2025

As of v3.21, Alpine Linux no longer has a default lockfile dir. Previously /var/lock which was then turned into a symlink to /run/lock. But now /run/lock doesn't exist by default either.

So the assumptions about the lockdir in our code is no longer valid, leading to netatalk erroring out when it cannot create its lockfile.

@rdmark
Copy link
Member Author

rdmark commented Jan 4, 2025

This seems to be a problem only on the base OS docker image for Alpine 3.21. When installing the full OS you get the /run/lock dir by default.

@rdmark rdmark changed the title Alpine Linux 3.21 no longer has lockfile dir Alpine Linux 3.21 docker image no longer has lockfile dir Jan 4, 2025
@rdmark
Copy link
Member Author

rdmark commented Jan 4, 2025

Being fixed upstream in Alpine (commit from 15h ago at the time of writing)

https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/69233

@rdmark
Copy link
Member Author

rdmark commented Jan 4, 2025

Tracked for the Alpine docker image in alpinelinux/docker-alpine#433

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

No branches or pull requests

1 participant