On Mon, 2025-09-29 at 13:26 +0200, Chris Hofstaedtler wrote:
> On Mon, Sep 29, 2025 at 11:00:58AM +0200, Benjamin Drung wrote:
> > 
> > util-linux 2.41.2-2 removed pivot_root and switch_root, but Dracut uses
> > switch_root. The Dracut autopkgtest fails in TEST-11-USR-MOUNT:
> > 
> > ```
> > dracut-install: ERROR: installing 'switch_root'
> > dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D 
> > /tmp/autopkgtest-lxc.bb02sljd/downtmp/autopkgtest_tmp/dracut.dmXUE5S/initramfs
> >  -a switch_root
> > dracut[F]: Failed to install switch_root
> > ```
> > 
> > Please bring back switch_root or suggest an alternative.
> 
> Can dracut use klibc's implementation? Then both initramfs builders 
> would use the same implementation.
> 
> If that is not possible I will bring it back. Sorry for having 
> missing this.

As far I see klibc only implements pivot_root but not switch_root.
Supporting klibc would be non-trivial.

Since switch_root is only needed for the non-system boot, how about
bringing switch_root back to util-linux-extra?

-- 
Benjamin Drung
Debian & Ubuntu Developer

Reply via email to