|
13.
|
|
|
![](/@@/translation-newline)
The check-snapshot command verifies the user, system and configuration ![](/@@/translation-newline)
data of the snaps included in the specified snapshot.
![](/@@/translation-newline)
The check operation runs the same data integrity verification that is ![](/@@/translation-newline)
performed when a snapshot is restored.
![](/@@/translation-newline)
By default, this command checks all the data in a snapshot. ![](/@@/translation-newline)
Alternatively, you can specify the data of which snaps to check, or ![](/@@/translation-newline)
for which users, or a combination of these.
![](/@@/translation-newline)
If a snap is included in a check-snapshot operation, excluding its ![](/@@/translation-newline)
system and configuration data from the check is not currently ![](/@@/translation-newline)
possible. This restriction may be lifted in the future.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snapshot.go:76
|
|
16.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_connections.go:42
|
|
17.
|
|
|
![](/@@/translation-newline)
The console-conf-start command starts synchronization with console-conf
![](/@@/translation-newline)
This command is used by console-conf when it starts up. It delays refreshes if ![](/@@/translation-newline)
there are none currently ongoing, and exits with a specific error code if there ![](/@@/translation-newline)
are ongoing refreshes which console-conf should wait for before prompting the ![](/@@/translation-newline)
user to begin configuring the device.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_routine_console_conf.go:40
|
|
18.
|
|
|
![](/@@/translation-newline)
The create-cohort command creates a set of cohort keys for a given set of snaps.
![](/@@/translation-newline)
A cohort is a view or snapshot of a snap's "channel map" at a given point in ![](/@@/translation-newline)
time that fixes the set of revisions for the snap given other constraints ![](/@@/translation-newline)
(e.g. channel or architecture). The cohort is then identified by an opaque ![](/@@/translation-newline)
per-snap key that works across systems. Installations or refreshes of the snap ![](/@@/translation-newline)
using a given cohort key would use a fixed revision for up to 90 days, after ![](/@@/translation-newline)
which a new set of revisions would be fixed under that same cohort key and a ![](/@@/translation-newline)
new 90 days window started.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_create_cohort.go:30
|
|
24.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_disconnect.go:41
|
|
28.
|
|
|
![](/@@/translation-newline)
The fde-setup-request command is used inside the fde-setup hook. It will ![](/@@/translation-newline)
return information about what operation for full-disk encryption is ![](/@@/translation-newline)
requested and auxiliary data to complete this operation.
![](/@@/translation-newline)
The fde-setup hook should do what is requested and then call ![](/@@/translation-newline)
"snapctl fde-setup-result" and pass the result data to stdin.
![](/@@/translation-newline)
Here is an example for how the fde-setup hook is called initially: ![](/@@/translation-newline)
$ snapctl fde-setup-request ![](/@@/translation-newline)
{"op":"features"} ![](/@@/translation-newline)
$ echo '[]' | snapctl fde-setup-result
![](/@@/translation-newline)
Alternatively the hook could reply with: ![](/@@/translation-newline)
$ echo '{"error":"hardware-unsupported"}' | snapctl fde-setup-result
![](/@@/translation-newline)
And then it is called again with a request to do the initial key setup: ![](/@@/translation-newline)
$ snapctl fde-setup-request ![](/@@/translation-newline)
{"op":"initial-setup", "key": "key-to-seal", "key-name":"key-for-ubuntu-data"} ![](/@@/translation-newline)
$ echo "$sealed_key" | snapctl fde-setup-result
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
overlord/hookstate/ctlcmd/fde_setup.go:36
|
|
29.
|
|
|
![](/@@/translation-newline)
The fde-setup-result command sets the result data for a fde-setup hook ![](/@@/translation-newline)
reading it from stdin.
![](/@@/translation-newline)
For example: ![](/@@/translation-newline)
When the fde-setup hook is called with "op":"features: ![](/@@/translation-newline)
$ echo "[]" | snapctl fde-setup-result
![](/@@/translation-newline)
When the fde-setup hook is called with "op":"initial-setup": ![](/@@/translation-newline)
$ echo "sealed-key" | snapctl fde-setup-result
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
overlord/hookstate/ctlcmd/fde_setup.go:101
|
|
30.
|
|
|
![](/@@/translation-newline)
The file-access command returns information about a snap's file system access.
![](/@@/translation-newline)
This command is used by the xdg-document-portal service to identify ![](/@@/translation-newline)
files that do not need to be proxied to provide access within ![](/@@/translation-newline)
confinement.
![](/@@/translation-newline)
File paths are interpreted as host file system paths. The tool may ![](/@@/translation-newline)
return false negatives (e.g. report that a file path is unreadable, ![](/@@/translation-newline)
despite being readable under a different path). It also does not ![](/@@/translation-newline)
check if file system permissions would render a file unreadable.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_routine_file_access.go:43
|
|
31.
|
|
|
![](/@@/translation-newline)
The find command queries the store for available packages.
![](/@@/translation-newline)
With the --private flag, which requires the user to be logged-in to the store ![](/@@/translation-newline)
(see 'snap help login'), it instead searches for private snaps that the user ![](/@@/translation-newline)
has developer access to, either directly or through the store's collaboration ![](/@@/translation-newline)
feature.
![](/@@/translation-newline)
A green check mark (given color and unicode support) after a publisher name ![](/@@/translation-newline)
indicates that the publisher has been verified.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_find.go:40
|
|
32.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snapshot.go:66
|