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

Failed to enable unit: Unit file p11-kit-client.service does not exist #662

Open
nhathuyenqt opened this issue Oct 18, 2024 · 1 comment

Comments

@nhathuyenqt
Copy link

nhathuyenqt commented Oct 18, 2024

Hi,
I followed this tutorial pkcs11 remoting on ubuntu 22
and got the error when enable p11-kit-client.service.

systemctl --user enable p11-kit-client.service
Failed to enable unit: Unit file p11-kit-client.service does not exist.

I did create some tokens by softhsm modules, then run p11-kit server --provider /usr/local/lib/softhsm/libsofthsm2.so ..., and export P11_KIT_SERVER_ADDRESS, P11_KIT_SERVER_PID but the unix socket /run/user/1001/p11-kit/ has size 0.

Please check out my another issue if possible.
https://stackoverflow.com/questions/79097932/pkcs11-forwarding-client-and-server-confusion

@ueno
Copy link
Member

ueno commented Oct 19, 2024

Thank you for the report; indeed this needs to be improved, as the p11-kit-client.service file is currently distributed in a downstream package.

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

2 participants