lp://staging/~mvo/snappy/snappy-lp1460152-workaround

Created by Michael Vogt and last modified
Get this branch:
bzr branch lp://staging/~mvo/snappy/snappy-lp1460152-workaround
Only Michael Vogt can upload to this branch. If you are Michael Vogt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Vogt
Project:
Snappy
Status:
Development

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-generate

The 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

479. By John Lenton

Chipping away at installClick. 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

477. By John Lenton

use filepath.SkipDir in writeHashes by chipaca approved by mvo,sergiusens

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~snappy-dev/snappy/snappy-moved-to-github
This branch contains Public information 
Everyone can see this information.

Subscribers