Classic confinement request for burn-it

Hi Store team,

I’d like to request classic confinement for the snap burn-it.

Why classic is needed

  1. It writes whole disk images straight to USB block devices (/dev/sdX), and for Windows ISOs it repartitions and formats the stick (wipefs, parted, mkfs.vfat).
  2. For Windows ISOs it loop-mounts the ISO (UDF) and mounts the new FAT32 partition to copy files, then splits the WIM with wimlib-imagex.
  3. The GUI runs unprivileged and starts a privileged copy of itself through the host’s pkexec (polkit) only at the moment of writing. It ships a polkit action for this.

These need host mounts, host polkit and raw block-device access that strict confinement doesn’t provide together.

Safety

Only removable/USB disks are offered, never system or internal disks. The privileged helper re-checks the target before writing, and the user must confirm the erase.

I’m open to strict confinement with interfaces (e.g. block-devices, udisks2, mount-control) if reviewers prefer. Please advise.

Thanks! Quiet Byte

Please see:

Your snap must fit into one of the few supported categories (and must not touch any of the unsupported ones) to be actually considered for classic confinement…

And please edit your post to use the template from

1 Like

Hello @QuietByteHQ :slight_smile:

As @ogra mentioned, in order for a snap to be a good candidate for classic confinement, it should fall under one of the supported-categories, mentioned in the link provided above.

In addition, classic confinement is a sensitive matter and it is reserved for mature, well-known applications published by mature, well-known entities. As of today, I believe that burn-it doesn’t meet these criteria because of the following reasons:

  • The project seems to be very fresh, according to the upstream repository.
  • The projects seems to have little/none community around according to upstream repository (contributors, issues, PRs, etc.).
  • I could not find evidences that the project has a strong enough user base at the moment.

Thus, considering these factors, I think burn-it should not get classic confinement as of now.

Thanks @ogra and @yomonokio, that makes sense — burn-it doesn’t fit the supported classic categories, and the project is still new. I’m withdrawing this classic request.

I’ll move burn-it to strict confinement: disk operations (raw write, partitioning, FAT32 format, mounting) will go through UDisks2 over D-Bus, with wimlib bundled inside the snap. Once a strict revision is uploaded, I’ll open a separate privileged-interfaces request for auto-connecting udisks2.

Thanks @ogra and @yomonokio — understood. I’ve withdrawn the classic request and moved burn-it to strict confinement: all disk operations now go through UDisks2 over D-Bus, and wimlib is bundled. The strict revision (0.1.1, rev 2) passed automated review and is on latest/edge. I’ll file a separate privileged-interfaces request for udisks2 auto-connect.

2 Likes