~ubuntu-branches/ubuntu/quantal/lxc/quantal-201206191543

« back to all changes in this revision

Viewing changes to debian/lxc.postrm

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber, Serge Hallyn, Stéphane Graber
  • Date: 2012-05-29 16:56:25 UTC
  • Revision ID: package-import@ubuntu.com-20120529165625-ybz5it72ydm3czbo
Tags: 0.8.0~rc1-4ubuntu10
[ Serge Hallyn ]
* 0084-lxc-ubuntu-drop-duplicate-code.patch: drop some duplicate code from
  the ubuntu template. (LP: #1004118)
* 0085-pivot-dir: use a directory other than /mnt to put the pivot_root
  old dir into (LP: #986385)

[ Stéphane Graber ]
* Ship /etc/dnsmasq.d/lxc to configure an eventual system wide
  dnsmasq daemon not to listen on the LXC bridge interface. (LP: #928524)
* Drop rm calls from postrm for apparmor rules, these were in the purge
  target so didn't really serve any purpose.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
 
22
22
case "$1" in
23
 
    purge)
24
 
        rm -f /etc/apparmor.d/lxc/lxc-default || true
25
 
        rm -f /etc/apparmor.d/lxc/lxc-default-with-nesting || true
26
 
        rmdir /etc/apparmor.d/lxc || true
27
 
        rmdir /etc/apparmor.d/lxc-containers || true
 
23
    remove)
 
24
        rm -f /etc/dnsmasq.d/lxc 2>/dev/null || true
 
25
 
 
26
        # Try to restart a potential system wide dnsmasq
 
27
        invoke-rc.d dnsmasq restart 2>/dev/null || true
28
28
    ;;
29
 
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
29
    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
30
30
    ;;
31
31
 
32
32
    *)