[ovs-git] Open vSwitch: debian: Delete log files correctly when packages are purged. (branch-1.2)

dev at openvswitch.org dev at openvswitch.org
Tue Jan 24 22:34:37 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.2 has been updated
       via  1971688ba86a2e401c9a4fe80df6011640c73a69 (commit)
      from  1820db11c2e9160bd95dd1ff9376813836e57cab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1971688ba86a2e401c9a4fe80df6011640c73a69
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1971688ba86a2e401c9a4fe80df6011640c73a69
Author: Ben Pfaff <blp at nicira.com>
		
debian: Delete log files correctly when packages are purged.
		
Debian Policy 10.8 says "Log files should be removed when the package is
purged (but not when it is only removed)," but the Open vSwitch packages
didn't properly implement this:

   - The openvswitch-brcompat and openvswitch-pki packages didn't delete
     their log files at purge time.

   - The openvswitch-switch package deleted all of the log files at purge
     time, even those owned by openvswitch-brcompat or openvswitch-pki.

This commit fixes both problems.

CC: 656448 at bugs.debian.org
Reported-by: Andreas Beckmann <debian at abeckmann.de>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 debian/automake.mk                                 |    2 ++
 ...h-switch.postrm => openvswitch-brcompat.postrm} |    7 ++-----
 ...switch-switch.postrm => openvswitch-pki.postrm} |    7 ++-----
 debian/openvswitch-switch.postrm                   |    3 ++-
 4 files changed, 8 insertions(+), 11 deletions(-)
 copy debian/{openvswitch-switch.postrm => openvswitch-brcompat.postrm} (81%)
 copy debian/{openvswitch-switch.postrm => openvswitch-pki.postrm} (81%)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list