[parted-devel] [PATCH V2 1/2] arch: Fix race between systemd and parted command

Phillip Susi phill at thesusis.net
Tue Apr 8 14:01:18 BST 2025


Gulam Mohamed <gulam.mohamed at oracle.com> writes:

> Gentle reminder for code review for V2 of this patch sent on "Wed, 22 Jan 2025 01:37:29 -0800<https://www.mail-archive.com/search?l=parted-devel@alioth-lists.debian.net&q=date:20250122>".
>
> Regards,
> Gulam Mohamed.

Why is systemd deleting and recreating the partitions?  It shouldn't be
doing that should it?  And isn't this a bit of a hacky workaround to the
race condition rather than actually fixing it?  Maybe parted needs to
take out the bsd lock to tell systemd to keep its hands off of the disk
until parted is done with it?




More information about the parted-devel mailing list