lp://staging/~mvo/snappy/snappy-lp1460152-workaround
- Get this branch:
- bzr branch lp://staging/~mvo/snappy/snappy-lp1460152-workaround
Branch merges
- Ricardo Salveti (community): Needs Information
-
Diff: 157 lines (+78/-6)5 files modifiedhelpers/helpers.go (+17/-0)
helpers/helpers_test.go (+11/-1)
snappy/dirs.go (+4/-0)
snappy/systemimage.go (+16/-5)
snappy/systemimage_test.go (+30/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 486. By Michael Vogt
-
Remove /etc/apparmor.
d/cache/ * on upgrade to workaround lp1460152 This works around the issue that the way apparmor creates the cache
is based on the mtime of the profile. So if the mtime of the profile
is older than the mtime of the cache file the cache is not re-generated.This is a problem because:
- boot stable, /etc/apparmor.d/cache/ usr.bin. ubuntu- core-launcher is mtime of now because we generate the cache on boot
- upgrade to edge, /etc/apparmor.d/usr.bin. ubuntu- core-launcher is updated and has the mtime of T (yesterday) when the file was put into the package
- on the next reboot the apparmor_parser compares the mtime of the cache/usr.bin.ubuntu- core-launcher (very very recent) with the mtime of the souce usr.bin. ubuntu- core-launcher (much older)
-> cache does is *not* re-generateThe real fix is IMO that apparmor adds the mtime of the profile into
the header of the cache file (or makes the mtime of the cache file)
the mtime of the profile and re-generated if they get out of sync
(instead of checking for newer). - 485. By Michael Terry
-
When rolling back. output version info, especially any messages about rebooting to pick up the new version. by mterry approved by sergiusens
- 484. By Sergio Schvezov
-
Don't allow installation of packages with unsupported architectures by sergiusens approved by chipaca
- 483. By Michael Terry
-
Unify handling of app environment variables. Now hooks, binaries, and services all have the same variables (mostly). by mterry approved by mvo
- 482. By Sergio Schvezov
-
Replace the deprecated launchpad.
net/gocheck with gopkg.in/check.v1 by sergiusens approved by mvo - 481. By Michael Terry
-
Fix intermittent "permission denied" errors when installing snaps by making sure that we always unpack in the same OS thread that dropped its privileges. by mterry approved by mvo
- 480. By John Lenton
-
Change all uses of package "path" that are not manipulating URLs to "filepath". by chipaca approved by mvo
- 478. By John Lenton
-
Updated cross-build.md to reflect the need of specifying CC. by chipaca approved by mvo
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)