summaryrefslogtreecommitdiff
path: root/debian/openvswitch-switch.postrm
Commit message (Collapse)AuthorAgeFilesLines
* Debian packaging to remove system-id.confArun Sharma2012-06-281-0/+1
| | | | | | | Debian packaging, "--purge" to remove /etc/openvswitch/system-id.conf Signed-off-by: Arun Sharma <arun.sharma@calsoftinc.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* debian: Delete log files correctly when packages are purged.Ben Pfaff2012-01-241-1/+2
| | | | | | | | | | | | | | | | | | 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@bugs.debian.org Reported-by: Andreas Beckmann <debian@abeckmann.de> Signed-off-by: Ben Pfaff <blp@nicira.com>
* packaging: dpkg --purge command fails on Ubuntu 11.04Ansis Atteka2011-11-011-1/+1
| | | | | | | | | | | The problem is that postrm script is unable to remove contents of /var/log/openvswitch/ directory in case if it contains any other directories. Steps to reproduce on Ubuntu 11.04: 1. apt-get install openvswitch-switch 2. dpkg --purge openvswitch-switch 3. observe that purge failed, because of an empty "cores" directory inside /var/log/openvswitch/
* debian: Bring Debian packaging in-line with new file locationsJustin Pettit2010-03-311-2/+2
| | | | | This commit brings the Debian packaging in-line with the similar changes that were made to XenServer in commit bc39196.
* debian: Fix tab/space issuesJustin Pettit2010-01-111-4/+4
|
* debian: Change openvswitch-switch deb to use ovsdb-server and ovs-vswitchd.Ben Pfaff2009-12-151-0/+3
| | | | | | This appears to work in that it creates the database on installation, starts and stops the programs and loads and unloads the kernel modules at the right times, but it has not been tested beyond that.
* Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff2009-07-081-0/+43