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

Proposal to move upstream #92

Open
dvzrv opened this issue Nov 13, 2021 · 6 comments
Open

Proposal to move upstream #92

dvzrv opened this issue Nov 13, 2021 · 6 comments

Comments

@dvzrv
Copy link
Collaborator

dvzrv commented Nov 13, 2021

@Andrei-Pozolotin I was contemplating the possibility of adding this project to the mkinitcpio group on Arch Linux's gitlab.
I think the benefits would be, that we could work on a testing framework for all the different mkinitcpio extensions and mkinitcpio itself using gitlab CI, which would help us get more coverage for the existing tooling and this project as well.

Would you be interested in helping with this? :)

@dvzrv
Copy link
Collaborator Author

dvzrv commented Dec 17, 2021

Ping @Andrei-Pozolotin

@ShapeShifter499
Copy link

ShapeShifter499 commented Jan 14, 2022

Maybe the mkinitcpio group might need to fork the project soon? If that even is a possibility?

@dvzrv
Copy link
Collaborator Author

dvzrv commented Jan 29, 2022

@ShapeShifter499 yes it is.

After conversing with @grazzolini and @eworm-de on this topic it seemed more reasonable to port the functionality of this project over into mkinitcpio itself though.

When looking at Arch Linux's systemd package it also becomes clear that its mkinitcpio integration would need to be consolidated with this as well.
The first step is likely to move the systemd package's mkinitcpio integration to the mkinitcpio project and then starting to extend it.

@wolegis
Copy link

wolegis commented Nov 14, 2022

@dvzrv @grazzolini @eworm-de

I recently started an alternative project: mkinitcpio-systemd-extras. It's just a collection of mkinitcpio install hooks for systemd based initramfs.

It is more straight forward than Andrei's approach, taking advantage of the existing mkinitcpio infrastructure. No need to re-invent the wheel - no matter how crafty Andrei's provisioner appears to be.

So far it only covers my use case: basic networking, DNS resolution and tinyssh. I can log into my machine after reboot and unlock LUKS encrypted devices. I can also escape to a shell and perform backup of the unlocked device (with the help of restic).

I'm willing to implement additional hooks: sd-dropbear and sd-nftables are on my list. Andrei has also implemented an elaborated systemd password agent. (see src/initrd-shell.sh). I see no real benefit in it compared to systemd-tty-ask-password-agent, but if you prefer I can integrate it into my project.

I'm also willing to collaborate in the above mentioned effort in getting things straight - systemd and mkinitcpio wise.

You may get back to me here or via personal email.

@danyer
Copy link

danyer commented Mar 11, 2023

@wolegis

I've just started using mkinitcpio-systemd-extras, it is amazing! So simple to use, it just monitors the systemd passwords prompts and forwards them over ssh connection. Almost no configuration at all! Many thanks!

@dvzrv
Copy link
Collaborator Author

dvzrv commented Apr 7, 2023

@wolegis please consolidate this with mkinitcpio upstream! We'll be moving the systemd integration (which currently lives in the systemd package sources) to mkinitcpio very soon.
If you're interested in helping with this, please join #archlinux-projects on libera.chat! :)

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

4 participants