On Thu, 07 Sep 2017, Raphael Hertzog wrote:
> Is there anything that can be done by vmdebootstrap to force-trigger the
> creation of that entry even when chrooted?

Yes, "udevadm trigger" or "udevadm trigger /dev/mapper/loop0p1" works
well for that. So we have a work-around at least (thanks to Felipe Sateler
for the suggestion, thanks also to Mantas Mikulėnas who taught me about
the kernel/udev interactions).

But I'm clearly not able to go further than that, debugging the kernel
would be too time-consuming for me since I'm not a kernel developer...
so I'll stop my investigations here.

(Somehow I wonder whether this is not the result of some kernel
hardening... limiting the impact of things done within a chroot
compared to the main host. schroot also uses private bind mounts, can this
be related?)

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/

_______________________________________________
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to