1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158 | (logger debug) re-exec disabled by user
2017/10/26 12:42:35.700537 cmd.go:178: DEBUG: re-exec disabled by user
going to add all snaps into the interface repository
loaded snapInfo from this yaml:
architectures:
- amd64
confinement: strict
description: The core runtime environment for snapd
grade: stable
hooks:
configure:
plugs:
- core-support-plug
name: core
plugs:
core-support-plug:
interface: core-support
summary: snapd runtime environment
type: os
version: 16-2.28.5
&snap.Info{SuggestedName:"core", Version:"16-2.28.5", Type:"os", Architectures:[]string{"amd64"}, Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"snapd runtime environment", OriginalDescription:"The core runtime environment for snapd", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"0", Confinement:"strict", Apps:map[string]*snap.AppInfo{}, LegacyAliases:map[string]*snap.AppInfo{}, Hooks:map[string]*snap.HookInfo{"configure":(*snap.HookInfo)(0xc8202613a0)}, Plugs:map[string]*snap.PlugInfo{"core-support-plug":(*snap.PlugInfo)(0xc82026a500)}, Slots:map[string]*snap.SlotInfo{}, SideInfo:snap.SideInfo{RealName:"", SnapID:"", Revision:snap.Revision{N:0}, Channel:"", Contact:"", EditedTitle:"", EditedSummary:"", EditedDescription:"", Private:false}, Broken:"", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:0, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
loaded snapInfo from this yaml:
name: hello-world
version: 6.3
architectures: [ all ]
summary: The 'hello-world' of snaps
description: |
This is a simple snap example that includes a few interesting binaries
to demonstrate snaps and their confinement.
* hello-world.env - dump the env of commands run inside app sandbox
* hello-world.evil - show how snappy sandboxes binaries
* hello-world.sh - enter interactive shell that runs in app sandbox
* hello-world - simply output text
apps:
env:
command: bin/env
evil:
command: bin/evil
sh:
command: bin/sh
hello-world:
command: bin/echo
&snap.Info{SuggestedName:"hello-world", Version:"6.3", Type:"app", Architectures:[]string{"all"}, Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"The 'hello-world' of snaps", OriginalDescription:"This is a simple snap example that includes a few interesting binaries\nto demonstrate snaps and their confinement.\n* hello-world.env - dump the env of commands run inside app sandbox\n* hello-world.evil - show how snappy sandboxes binaries\n* hello-world.sh - enter interactive shell that runs in app sandbox\n* hello-world - simply output text\n", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"0", Confinement:"strict", Apps:map[string]*snap.AppInfo{"evil":(*snap.AppInfo)(0xc820262c30), "sh":(*snap.AppInfo)(0xc820262d20), "hello-world":(*snap.AppInfo)(0xc820262e10), "env":(*snap.AppInfo)(0xc820262b40)}, LegacyAliases:map[string]*snap.AppInfo{}, Hooks:map[string]*snap.HookInfo{}, Plugs:map[string]*snap.PlugInfo{}, Slots:map[string]*snap.SlotInfo{}, SideInfo:snap.SideInfo{RealName:"", SnapID:"", Revision:snap.Revision{N:0}, Channel:"", Contact:"", EditedTitle:"", EditedSummary:"", EditedDescription:"", Private:false}, Broken:"", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:0, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
snapstate.ActiveInfos() returned: []*snap.Info{(*snap.Info)(0xc82027c000), (*snap.Info)(0xc82027c780), (*snap.Info)(0xc82027cf00)}
adding snap to interface repository (canonical-livepatch)
&snap.Info{SuggestedName:"canonical-livepatch", Version:"", Type:"", Architectures:[]string(nil), Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"", OriginalDescription:"", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"", Confinement:"", Apps:map[string]*snap.AppInfo{"canonical-livepatch":(*snap.AppInfo)(0xc8202621e0), "canonical-livepatchd":(*snap.AppInfo)(0xc8202622d0)}, LegacyAliases:map[string]*snap.AppInfo(nil), Hooks:map[string]*snap.HookInfo(nil), Plugs:map[string]*snap.PlugInfo(nil), Slots:map[string]*snap.SlotInfo(nil), SideInfo:snap.SideInfo{RealName:"canonical-livepatch", SnapID:"b96UJ4vttpNhpbaCWctVzfduQcPwQ5wn", Revision:snap.Revision{N:26}, Channel:"stable", Contact:"mailto:snappy-canonical-storeaccount@canonical.com", EditedTitle:"canonical-livepatch", EditedSummary:"Canonical Livepatch Client", EditedDescription:"Canonical Livepatch Client", Private:false}, Broken:"cannot read snap \"canonical-livepatch\": cannot find installed snap \"canonical-livepatch\" at revision 26", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:0, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
adding snap to interface repository (canonical-livepatch) failed snap epoch cannot be empty
(logger notice) snap epoch cannot be empty
2017/10/26 12:42:35.750999 helpers.go:105: snap epoch cannot be empty
adding snap to interface repository (core)
&snap.Info{SuggestedName:"core", Version:"16-2.28.5", Type:"os", Architectures:[]string{"amd64"}, Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"snapd runtime environment", OriginalDescription:"The core runtime environment for snapd", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"0", Confinement:"strict", Apps:map[string]*snap.AppInfo{}, LegacyAliases:map[string]*snap.AppInfo{}, Hooks:map[string]*snap.HookInfo{"configure":(*snap.HookInfo)(0xc8202613a0)}, Plugs:map[string]*snap.PlugInfo{"core-support-plug":(*snap.PlugInfo)(0xc82026a500)}, Slots:map[string]*snap.SlotInfo{}, SideInfo:snap.SideInfo{RealName:"core", SnapID:"99T7MUlRhtI3U0QFgl5mXXESAiSwt776", Revision:snap.Revision{N:3247}, Channel:"stable", Contact:"mailto:snappy-canonical-storeaccount@canonical.com", EditedTitle:"core", EditedSummary:"snapd runtime environment", EditedDescription:"The core runtime environment for snapd", Private:false}, Broken:"", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:87089152, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
adding snap to interface repository (hello-world)
&snap.Info{SuggestedName:"hello-world", Version:"6.3", Type:"app", Architectures:[]string{"all"}, Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"The 'hello-world' of snaps", OriginalDescription:"This is a simple snap example that includes a few interesting binaries\nto demonstrate snaps and their confinement.\n* hello-world.env - dump the env of commands run inside app sandbox\n* hello-world.evil - show how snappy sandboxes binaries\n* hello-world.sh - enter interactive shell that runs in app sandbox\n* hello-world - simply output text\n", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"0", Confinement:"strict", Apps:map[string]*snap.AppInfo{"env":(*snap.AppInfo)(0xc820262b40), "evil":(*snap.AppInfo)(0xc820262c30), "sh":(*snap.AppInfo)(0xc820262d20), "hello-world":(*snap.AppInfo)(0xc820262e10)}, LegacyAliases:map[string]*snap.AppInfo{}, Hooks:map[string]*snap.HookInfo{}, Plugs:map[string]*snap.PlugInfo{}, Slots:map[string]*snap.SlotInfo{}, SideInfo:snap.SideInfo{RealName:"hello-world", SnapID:"buPKUD3TKqCOgLEjjHx5kSiCpIs5cMuQ", Revision:snap.Revision{N:27}, Channel:"stable", Contact:"mailto:snappy-devel@lists.ubuntu.com", EditedTitle:"hello-world", EditedSummary:"The 'hello-world' of snaps", EditedDescription:"This is a simple hello world example.", Private:false}, Broken:"", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:20480, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
finished adding all snaps to the interface repository
(logger notice) cannot connect plug "system-observe" from snap "canonical-livepatch", no such plug
2017/10/26 12:42:35.751942 helpers.go:213: cannot connect plug "system-observe" from snap "canonical-livepatch", no such plug
(logger notice) cannot connect plug "hardware-observe" from snap "canonical-livepatch", no such plug
2017/10/26 12:42:35.751981 helpers.go:213: cannot connect plug "hardware-observe" from snap "canonical-livepatch", no such plug
(logger notice) cannot connect plug "kernel-module-control" from snap "canonical-livepatch", no such plug
2017/10/26 12:42:35.751998 helpers.go:213: cannot connect plug "kernel-module-control" from snap "canonical-livepatch", no such plug
(logger notice) cannot connect plug "network-bind" from snap "canonical-livepatch", no such plug
2017/10/26 12:42:35.752015 helpers.go:213: cannot connect plug "network-bind" from snap "canonical-livepatch", no such plug
(logger notice) cannot connect plug "network-control" from snap "canonical-livepatch", no such plug
2017/10/26 12:42:35.752032 helpers.go:213: cannot connect plug "network-control" from snap "canonical-livepatch", no such plug
(logger notice) cannot connect plug "network-manager" from snap "canonical-livepatch", no such plug
2017/10/26 12:42:35.752046 helpers.go:213: cannot connect plug "network-manager" from snap "canonical-livepatch", no such plug
loaded snapInfo from this yaml:
name: hello-world
version: 6.3
architectures: [ all ]
summary: The 'hello-world' of snaps
description: |
This is a simple snap example that includes a few interesting binaries
to demonstrate snaps and their confinement.
* hello-world.env - dump the env of commands run inside app sandbox
* hello-world.evil - show how snappy sandboxes binaries
* hello-world.sh - enter interactive shell that runs in app sandbox
* hello-world - simply output text
apps:
env:
command: bin/env
evil:
command: bin/evil
sh:
command: bin/sh
hello-world:
command: bin/echo
&snap.Info{SuggestedName:"hello-world", Version:"6.3", Type:"app", Architectures:[]string{"all"}, Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"The 'hello-world' of snaps", OriginalDescription:"This is a simple snap example that includes a few interesting binaries\nto demonstrate snaps and their confinement.\n* hello-world.env - dump the env of commands run inside app sandbox\n* hello-world.evil - show how snappy sandboxes binaries\n* hello-world.sh - enter interactive shell that runs in app sandbox\n* hello-world - simply output text\n", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"0", Confinement:"strict", Apps:map[string]*snap.AppInfo{"env":(*snap.AppInfo)(0xc820263950), "evil":(*snap.AppInfo)(0xc820263a40), "sh":(*snap.AppInfo)(0xc820263b30), "hello-world":(*snap.AppInfo)(0xc820263c20)}, LegacyAliases:map[string]*snap.AppInfo{}, Hooks:map[string]*snap.HookInfo{}, Plugs:map[string]*snap.PlugInfo{}, Slots:map[string]*snap.SlotInfo{}, SideInfo:snap.SideInfo{RealName:"", SnapID:"", Revision:snap.Revision{N:0}, Channel:"", Contact:"", EditedTitle:"", EditedSummary:"", EditedDescription:"", Private:false}, Broken:"", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:0, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
loaded snapInfo from this yaml:
apps:
canonical-livepatch:
command: command-canonical-livepatch.wrapper
plugs:
- network-bind
- network-control
- kernel-module-control
- system-observe
- hardware-observe
canonical-livepatchd:
command: command-canonical-livepatchd.wrapper
daemon: simple
plugs:
- network-bind
- network-control
- kernel-module-control
- system-observe
- hardware-observe
- network-manager
architectures:
- amd64
confinement: strict
description: Canonical Livepatch Client
grade: stable
name: canonical-livepatch
summary: Canonical Livepatch Client
version: 7.24
&snap.Info{SuggestedName:"canonical-livepatch", Version:"7.24", Type:"app", Architectures:[]string{"amd64"}, Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"Canonical Livepatch Client", OriginalDescription:"Canonical Livepatch Client", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"0", Confinement:"strict", Apps:map[string]*snap.AppInfo{"canonical-livepatch":(*snap.AppInfo)(0xc8202b20f0), "canonical-livepatchd":(*snap.AppInfo)(0xc8202b21e0)}, LegacyAliases:map[string]*snap.AppInfo{}, Hooks:map[string]*snap.HookInfo{}, Plugs:map[string]*snap.PlugInfo{"network-bind":(*snap.PlugInfo)(0xc82026bf90), "network-control":(*snap.PlugInfo)(0xc8202b4000), "kernel-module-control":(*snap.PlugInfo)(0xc8202b4050), "system-observe":(*snap.PlugInfo)(0xc8202b40a0), "hardware-observe":(*snap.PlugInfo)(0xc8202b40f0), "network-manager":(*snap.PlugInfo)(0xc8202b4140)}, Slots:map[string]*snap.SlotInfo{}, SideInfo:snap.SideInfo{RealName:"", SnapID:"", Revision:snap.Revision{N:0}, Channel:"", Contact:"", EditedTitle:"", EditedSummary:"", EditedDescription:"", Private:false}, Broken:"", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:0, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
loaded snapInfo from this yaml:
architectures:
- amd64
confinement: strict
description: The core runtime environment for snapd
grade: stable
hooks:
configure:
plugs:
- core-support-plug
name: core
plugs:
core-support-plug:
interface: core-support
summary: snapd runtime environment
type: os
version: 16-2.28.5
&snap.Info{SuggestedName:"core", Version:"16-2.28.5", Type:"os", Architectures:[]string{"amd64"}, Assumes:[]string(nil), OriginalTitle:"", OriginalSummary:"snapd runtime environment", OriginalDescription:"The core runtime environment for snapd", Environment:strutil.OrderedMap{keys:[]string(nil), vals:map[string]string(nil)}, LicenseAgreement:"", LicenseVersion:"", Epoch:"0", Confinement:"strict", Apps:map[string]*snap.AppInfo{}, LegacyAliases:map[string]*snap.AppInfo{}, Hooks:map[string]*snap.HookInfo{"configure":(*snap.HookInfo)(0xc8202ab240)}, Plugs:map[string]*snap.PlugInfo{"core-support-plug":(*snap.PlugInfo)(0xc8202b41e0)}, Slots:map[string]*snap.SlotInfo{}, SideInfo:snap.SideInfo{RealName:"", SnapID:"", Revision:snap.Revision{N:0}, Channel:"", Contact:"", EditedTitle:"", EditedSummary:"", EditedDescription:"", Private:false}, Broken:"", DownloadInfo:snap.DownloadInfo{AnonDownloadURL:"", DownloadURL:"", Size:0, Sha3_384:"", Deltas:[]snap.DeltaInfo(nil)}, IconURL:"", Prices:map[string]float64(nil), MustBuy:false, PublisherID:"", Publisher:"", Screenshots:[]snap.ScreenshotInfo(nil), Channels:map[string]*snap.ChannelSnapInfo(nil), Tracks:[]string(nil)}
(logger notice) started snapd/unknown (series 16; classic) ubuntu/14.04 (amd64) linux/4.4.0-97-generic.
2017/10/26 12:42:37.534800 daemon.go:252: started snapd/unknown (series 16; classic) ubuntu/14.04 (amd64) linux/4.4.0-97-generic.
(logger debug) activation done in 1.834s
2017/10/26 12:42:37.534932 main.go:72: DEBUG: activation done in 1.834s
(logger debug) Next refresh scheduled for 2017-10-26 17:51:39.774274813 +0200 CEST.
2017/10/26 12:42:37.539188 snapmgr.go:516: DEBUG: Next refresh scheduled for 2017-10-26 17:51:39.774274813 +0200 CEST.
(logger debug) uid=1000;@ GET /v2/interfaces 819.183µs 200
2017/10/26 12:43:02.047645 daemon.go:179: DEBUG: uid=1000;@ GET /v2/interfaces 819.183µs 200
|