Installation not allowed by "shutdown" plug rule of interface "shutdown"

Hey guys,

I recently tested and verified a snap on my machine. However, when I execute the following command, I encounter an error:

sudo snap refresh XXXXXX --stable

- Mount snap "XXXXX" (56) (installation not allowed by "shutdown" plug rule of interface "shutdown")

Here is the configuration of the plugs:

plugs:
    - network
    - network-observe
    - network-manager
    - network-manager-observe
    - shutdown

Has anyone experienced this issue before or can provide insights on how to resolve it? Any help would be greatly appreciated!

Thanks in advance!

Is it locally built snap only or from store? Do you have autoconnection on shutdown plug enabled after review? If you want to upgrade your local snap, use this command: sudo snap install --dangerous name_of_snap.snap

The snap is from the store and it is private. We don’t have autoconnection enabled. What do you think about this?

I would try first removing snap from system and installing it again - manually. I’m trying to find some kind of verbose mode for snap install but to no avail :frowning:

You will need to file a store-request to get permission to use the shutdown interface… this is a highly privileged interface that has allow installation: false set in its properties…

Not sure why you could upload it at all though, normally the security checks of the review-tools should have blocked it, perhaps the store treats private snaps differently though.

1 Like