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

kanidmd server package #13

Open
sciuro opened this issue Nov 8, 2024 · 3 comments
Open

kanidmd server package #13

sciuro opened this issue Nov 8, 2024 · 3 comments

Comments

@sciuro
Copy link

sciuro commented Nov 8, 2024

Previously I could (and did) build the Debian package for the server, kanidmd the old way. I used this a lot to make updating my authentication servers way more easy.

The current method don't include a server package. I tried it myself and building the binary was no problem. Just add --bin kanidmd \ to the building process in /scripts/crossbuild.sh. But building the Debian package this way is a little bit out of my comfort zone. Is it possible to also include a kanidmd debian package? Or at least have the option to build it myself?

Thanks!

@jinnatar
Copy link
Collaborator

It hasn't been discussed yet, but I'd say it's plausible. Only reason I didn't add it during the previous wave was not having a readily available default config to drop in. Also need to find or create the systemd service spec and tune it for the right directory permissions.

So while packaging the binary is trivial, it's a bit more spelunking to turn it into a level of ease usually expected from distro packaging. There's a reason why a container is the recommended way to run, easier control on the environment.

@jinnatar
Copy link
Collaborator

Re building yourself, the rust package needs a bit of cargo-deb annotations but then the deb build instructions in the book would also cover the server. I can kick up a dev branch to that point somewhere this weekend if you don't get to it first.

@sciuro
Copy link
Author

sciuro commented Nov 12, 2024

I can help with the default config and some systemd service spec. Would be great!

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