[ovs-dev] [PATCH] debian: Remove controller keys on openvswitch-controller package purge.

Ben Pfaff blp at nicira.com
Sat Jul 21 05:27:58 UTC 2012


On Fri, Jul 20, 2012 at 01:45:22PM -0700, Ansis Atteka wrote:
> On Fri, Jul 20, 2012 at 1:16 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > From: Ben Pfaff <blp at nicira.com>
> > Date: Fri, 20 Jul 2012 13:15:36 -0700
> > Subject: [PATCH] debian: Remove controller keys on openvswitch-controller
> > package purge.
> >
> > A Debian package is expected to remove all its configuration files (which
> > includes all files in /etc) when it is purged, but the
> > openvswitch-controller package wasn't doing that.  This fixes the problem.
> >
> It seems that ovs-pki could also leave its internal temporary
> files (e.g. tmp-cert.pem.tmp27446) in this directory. Though, I
> think that this pathological case should be addressed in
> ovs-pki instead...

I think you're right.

> +        fi
> > +        ;;
> > +
> > +    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
> > +        ;;
> > +
> > +    *)
> > +        echo "postrm called with unknown argument \`$1'" >&2
> > +        exit 1
> > +        ;;
> > +esac
> > +
> > +# dh_installdeb will replace this with shell code automatically
> > +# generated by other debhelper scripts.
> > +
> > +#DEBHELPER#
> > +
> > +exit 0
> > --
> > 1.7.2.5
> >
> >
> Looks good. Thanks!

Thanks.  I'll push this soon.



More information about the dev mailing list