Applying with these fixes on my side:
- "CRIU can neither ptrace attach nor freeze them" -> "CRIU can
  neither stop them under ptrace nor freeze them": PTRACE_SEIZE
  itself succeeds, the task just never stops
- "most file systems a Container sees are not freezable at all" ->
  "the only file systems a Container can freeze are ext4 and XFS it
  mounted itself": the root disk is ext4 too, it is only mounted by
  the host

On Tue, 17 Nov 2026 13:59:28 +0000, Vasileios Almpanis wrote:
> Nothing vital inside a Container is known to need it, and most file
> systems a Container sees are not freezable at all. So keep the
> existing check and return EPERM for FIFREEZE and FITHAW when called
> from a Container.

One more reason, no need to add it: before this patch a Container
could also FITHAW a file system mounted inside it while the host held
it frozen, e.g. during a dm suspend with lockfs for a snapshot.

A heads-up for tests: LTP df01 calls tst_fsfreeze on xfs. Where a test
suite runs it inside a Container on xfs, it now gets EPERM there.

Thanks.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to