[Midnightbsd-cvs] [MidnightBSD/mports] 3c30d2: magus: verify loopbacks are gone before clearing f...

Lucas Holt noreply at github.com
Wed Sep 2 17:35:23 EDT 2026


  Branch: refs/heads/magus/chroot-clear-flags
  Home:   https://github.com/MidnightBSD/mports
  Commit: 3c30d29b71756b36ea2423b046a7842de637cbe7
      https://github.com/MidnightBSD/mports/commit/3c30d29b71756b36ea2423b046a7842de637cbe7
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-02 (Wed, 02 Sep 2026)

  Changed paths:
    M Tools/lib/Magus/Chroot.pm

  Log Message:
  -----------
  magus: verify loopbacks are gone before clearing flags in _clean

_unmount_loopbacks ignores umount failures unless called with $strict.
If /usr/mports or /usr/src is still mounted, the recursive chflags and
the following cpdup both operate on the live tree instead of the worker
chroot.  Use the strict form, matching _clean_zfs.

AI-Assisted-by: Claude Opus 5 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list