On 2015-02-26 at 02:46 +0300, Ivan Shapovalov wrote:
> Hi there.
> 
> These patches allow using firstboot and sysusers together to construct an
> initramfs with a fully functional emergency.service and rescue.service.
> 
> Moreover, they allow to build a "clean" passwd for the initramfs and don't
> resort to copying it from the host system (as it has been done in Arch's
> mkinitcpio).
> 
> The first one allows sysusers to take configuration from the real root
> but to apply it to a specified alternate root.
> 
> The next two patches fix an apparent integration problem between firstboot
> and sysusers, as previously described here:
> http://lists.freedesktop.org/archives/systemd-devel/2015-February/028355.html
> 
> All in all, with this series I'm able to do a simple
> 
>       systemd-firstboot --root="$BUILDROOT" --root-password=""
>       systemd-sysusers --dest-root="$BUILDROOT"
> 
> and, after adding respective units and /sbin/sulogin to the initramfs,
> to use "rd.systemd.unit=rescue.target" as a complete alternative to 
> pre-systemd
> arch-specific "break=premount" kernel parameter.
>
> [...]

Forgot to add Dave Reisner to Cc:.

Dave, what do you think about all this? If this is a bad idea, then I'm
open for suggestions.
I just miss these "break=..." from the pre-systemd era.

-- 
Ivan Shapovalov / intelfx /

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to