On Sat, Jul 17, 2021 at 12:51 PM Guillem Jover <guil...@debian.org> wrote:
> On Fri, 2021-07-16 at 15:23:01 -0400, Zack Weinberg wrote:
> > As a stopgap safety measure, I suggest that dpkg-fsys-usrunmess should
> > use policy-rc.d to block all service activation while it’s running.
>
> Hmm, right, that's not nice, sorry for the trouble. Hmm on one hand I
> guess installing a policy-rc.d would make this safer, on the other, it
> might end up not restarting services that will end up possibly using
> old inodes or pathname references, which might affect service monitoring
> for example, so I'm not sure what's worse.

You would know better than me -- I mostly use Debian as a workstation
environment, I have very little experience with weird server issues.

> But then I think the better option is to move the package
> configuration at the end once everything has been unmessed and the
> filesystem has been fully cleaned up.

That seems like a good change regardless.  If there are any packages
whose postinsts somehow depend on the presence or absence of files
that move between / and /usr in this process, they're more likely to
do the Right Thing after the moves are completely done.

Thanks for the quick reply.

zw

Reply via email to