Activity log for bug #1886786

Date Who What changed Old value New value Message
2020-07-08 08:42:33 Taiten Peng bug added bug
2020-07-08 08:47:47 Taiten Peng description A Snap provides an app named "test" will lead to an error as following -- Errors when run app named "test" from a snap $ test-snap.test panic: /proc/self/mountinfo must be mocked in tests goroutine 1 [running]: github.com/snapcore/snapd/osutil.LoadMountInfo(0x0, 0x0, 0x0, 0x0, 0x0) github.com/snapcore/snapd/osutil/mountinfo_linux.go:106 +0x2bd github.com/snapcore/snapd/osutil.IsHomeUsingNFS(0x5ec41085, 0xc0001108c0, 0xd) github.com/snapcore/snapd/osutil/nfs_linux.go:33 +0x39 github.com/snapcore/snapd/interfaces.generateSystemKey(0x55a47714b6f2, 0xc000110700, 0xe0) github.com/snapcore/snapd/interfaces/system_key.go:124 +0x15b github.com/snapcore/snapd/interfaces.SystemKeyMismatch(0x55a47714bf7a, 0xe0, 0x55a477c30c60) github.com/snapcore/snapd/interfaces/system_key.go:211 +0x36 main.maybeWaitForSecurityProfileRegeneration(0xc000110700, 0xc000257680, 0xd) github.com/snapcore/snapd/cmd/snap/cmd_run.go:138 +0x28 main.(*cmdRun).Execute(0xc000227ee0, 0xc0000321d0, 0x0, 0x1, 0x0, 0x0) github.com/snapcore/snapd/cmd/snap/cmd_run.go:219 +0x16c main.main() github.com/snapcore/snapd/cmd/snap/main.go:467 +0x57e --Sample snapcraft.yaml for issue reproduce name: test-snap # you probably want to 'snapcraft register <name>' base: core18 # the base snap is the execution environment for this snap version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' summary: Single-line elevator pitch for your amazing snap # 79 char long summary description: | This is my-snap's description. You have a paragraph or two to tell the most important story about your snap. Keep it under 100 words though, we live in tweetspace and your description wants to look good in the snap store. grade: stable # must be 'stable' to release into candidate/stable channels confinement: strict # use 'strict' once you have the right plugs and slots apps: test: command: echo test parts: my-part: # See 'snapcraft plugins' plugin: nil A Snap provides an app named "test" will lead to an error as following -- Errors when run app named "test" from a snap $ test-snap.test panic: /proc/self/mountinfo must be mocked in tests goroutine 1 [running]: github.com/snapcore/snapd/osutil.LoadMountInfo(0x0, 0x0, 0x0, 0x0, 0x0)  github.com/snapcore/snapd/osutil/mountinfo_linux.go:106 +0x2bd github.com/snapcore/snapd/osutil.IsHomeUsingNFS(0x5ec41085, 0xc0001108c0, 0xd)  github.com/snapcore/snapd/osutil/nfs_linux.go:33 +0x39 github.com/snapcore/snapd/interfaces.generateSystemKey(0x55a47714b6f2, 0xc000110700, 0xe0)  github.com/snapcore/snapd/interfaces/system_key.go:124 +0x15b github.com/snapcore/snapd/interfaces.SystemKeyMismatch(0x55a47714bf7a, 0xe0, 0x55a477c30c60)  github.com/snapcore/snapd/interfaces/system_key.go:211 +0x36 main.maybeWaitForSecurityProfileRegeneration(0xc000110700, 0xc000257680, 0xd)  github.com/snapcore/snapd/cmd/snap/cmd_run.go:138 +0x28 main.(*cmdRun).Execute(0xc000227ee0, 0xc0000321d0, 0x0, 0x1, 0x0, 0x0)  github.com/snapcore/snapd/cmd/snap/cmd_run.go:219 +0x16c main.main()  github.com/snapcore/snapd/cmd/snap/main.go:467 +0x57e -- Sample snapcraft.yaml for issue reproduce name: test-snap # you probably want to 'snapcraft register <name>' base: core18 # the base snap is the execution environment for this snap version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' summary: Single-line elevator pitch for your amazing snap # 79 char long summary description: |   This is my-snap's description. You have a paragraph or two to tell the   most important story about your snap. Keep it under 100 words though,   we live in tweetspace and your description wants to look good in the snap   store. grade: stable # must be 'stable' to release into candidate/stable channels confinement: strict # use 'strict' once you have the right plugs and slots apps:   test:     command: echo test parts:   my-part:     # See 'snapcraft plugins'     plugin: nil
2020-07-08 10:06:53 Ian Johnson snapd: assignee Ian Johnson (anonymouse67)
2020-07-08 10:06:56 Ian Johnson snapd: status New Triaged
2020-07-08 10:06:58 Ian Johnson snapd: importance Undecided High
2020-07-08 11:57:39 Ian Johnson snapd: status Triaged In Progress
2020-07-09 12:38:16 Ian Johnson snapd: milestone 2.46
2020-07-09 12:38:20 Ian Johnson snapd: status In Progress Fix Committed
2020-10-27 20:28:40 Ian Johnson snapd: status Fix Committed Fix Released