[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#810860: usrmerge: System cannot be rebooted after partial usrmerge installation



On Thu, 2016-01-14 at 11:18 +0100, Marco d'Itri wrote:
> Control: clone 810860 -1
> Control: severity -1 important
> Control: reassign -1 initramfs-tools
> Control: tag -1 patch
> Control: retitle -1 initramfs-tools does not follow recursive symlinks
> 
> initramfs-tools needs this patch to be able to resolve recursive 
> symlinks, or else the system will not boot while in the middle of 
> a merged /usr transition.
> Then I will add a versioned conflict to the usrmerge package.
[...]
> > Taking a quick look at it, it looks like validate_init will only handle a
> > *single* absolute symlink, but in this particular case there are two
> > (absolute) symlinks:
> > 
> > /sbin/init -> /usr/sbin/init
> > /usr/sbin/init -> /lib/systemd/systemd
[...]

We can't resolve the second symlink until /usr is already mounted, so
recursively reading symlinks is not going to help.

But clearly if /sbin/init is a symlink to somewhere under /usr then we
need to mount it!

Ben.

-- 
Ben Hutchings
Theory and practice are closer in theory than in practice.
                                - John Levine, moderator of comp.compilers

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


Reply to: