|
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
|
|
37.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:52
|
|
52.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_routine_portal_info.go:43
|
|
56.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_reboot.go:42
|
|
57.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_recovery.go:41
|
|
58.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:83
|
|
60.
|
|
|
![](/@@/translation-newline)
The remove command removes the named snap instance from the system.
![](/@@/translation-newline)
By default all the snap revisions are removed, including their data and the ![](/@@/translation-newline)
common data directory. When a --revision option is passed only the specified ![](/@@/translation-newline)
revision is removed.
![](/@@/translation-newline)
Unless automatic snapshots are disabled, a snapshot of all data for the snap is ![](/@@/translation-newline)
saved upon removal, which is then available for future restoration with snap ![](/@@/translation-newline)
restore. The --purge option disables automatically creating snapshots.
|
|
|
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_snap_op.go:75
|