Hi,
I would like to request allow-installation declaration for the test-snapd-mount-control-cifs
snap, specifically due to the presence of a plug using the mount-control
interface.
The snap is intended to be used in QA process of snapd, in the context of interfaces/builtin, o/hookstate/ctlcmd: add CIFS support to mount-control interface by bboozzoo · Pull Request #14993 · canonical/snapd · GitHub.
Note, the request is only for allow-installation, auto connection is not needed as it will be performed directly by the relevant test.
Thanks!
+1 from me. This is the entire purpose of this test snap.
Note due to the uncontroversial nature of this request and to expedite the associated snapd development, I have gone ahead and granted this with only my own vote but if other @reviewers disagree please chime in here. Thanks.
For posterity, the plug declaration for the snap is:
plugs:
mntctl:
interface: mount-control
mount:
- type:
- cifs
where: /media/**
options:
- rw
- guest
and so I have granted the declaration specifically just to allow this:
{
"mount-control": {
"allow-auto-connection": "false",
"allow-installation":
{
"plug-attributes": {
"mount": [
{
"type": "cifs",
"where": "/media/\\*\\*",
"options": "(rw|guest)"
}
]
},
"plug-names": [
"mntctl"
]
}
}
}
2 Likes