drop loopback out-of-process #799
Labels
area/install
Issues related to `bootc install`
bug
Something isn't working
good first issue
Good for newcomers
This one may be a good first issue: today when doing
install --via-loopback
, if we get killed by e.g.Ctrl-C
(i.e.SIGINT
) we will leak the loopback device allocation.I've been thinking here what would be nice in general is to create a little "out of process drop" helper that could handle these external resources; it would:
PR_SET_PDEATHSIG
) we'd take care of dropping themThis type of flow would also be nice for temporary directories, which are also easy to leak in this way.
Hmm, we may also be able to stop forking
/bin/losetup
and instead use the ioctl APIs and only hold a file descriptor, but that's a bigger change.The text was updated successfully, but these errors were encountered: