Hi,
Please grant classic confinement for the easy-disk-cleaner snap. I have been speaking with Qiplex and they need classic to be able to walk the entire filesystem.
Hi,
Please grant classic confinement for the easy-disk-cleaner snap. I have been speaking with Qiplex and they need classic to be able to walk the entire filesystem.
I’ve granted classic confinement to this snap. Note that the publisher either needs to request a manual review for the currently rejected revision or upload a new revision.
Hello,
I’ve tried to reupload a new version, but got following error:
The store was unable to accept this snap.
- confinement 'classic' not allowed with plugs/slots
drop the plugs and slots in your snapcraft.yaml ?
@ogra is right. ‘confinement: classic’ snaps should not use ‘plugs’ or ‘slots’ anywhere in the snap’s yaml.
I’ve tried to remove plugs. And now getting:
The store was unable to accept this snap.
- invalid plugs entry (empty)
- confinement 'classic' not allowed with plugs/slots
See screenshot.
Worth to mention, that I’m not using snapcraft.yaml
but electron-builder
to create snap
https://www.electron.build/configuration/snap
and passing just empty array for plugs to overwrite them.
"snap": {
"confinement" : "classic",
"plugs" : []
},
Very likely electron-builder uses default yaml
template for building process but I’m not quite sure about that.
did you try to completely remove the plugs: line ?
Thanks for a quick reply @ogra
Don’t using "plugs" : []
was my first try I described above
And it errored with
The store was unable to accept this snap.
- confinement 'classic' not allowed with plugs/slots
Since electron-builder for configuration
"snap": {
"confinement" : "classic",
},
uses default plugs array
["desktop", "desktop-legacy", "home", "x11", "unity7", "browser-support", "network", "gsettings", "pulseaudio", "opengl"]
as mentioned in their documentation https://www.electron.build/configuration/snap
The store doesn’t know anything about electron-builder or snapcraft.yaml; it only cares about meta/snap.yaml. Like you said, it sounds like you found a bug in electron-builder and I suggest you file a bug with them.
In the meantime, you can workaround the issue with:
$ unsquash ./your.snap
... edit squashfs-root/meta/snap.yaml to your liking ...
$ snapcraft pack ./squashfs-root
Thanks much @jdstrand The commands you mentioned helped me a lot! The app was processed without errors and is ready to release!