[ovs-git] [openvswitch/ovs] eb8729: redhat: make the rpm aware of the lock file

GitHub noreply at github.com
Tue Jun 13 18:36:31 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: eb8729cb38e12a365eff3d9b4a1ca76e77d12d5d
      https://github.com/openvswitch/ovs/commit/eb8729cb38e12a365eff3d9b4a1ca76e77d12d5d
  Author: Aaron Conole <aconole at redhat.com>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M rhel/openvswitch-fedora.spec.in

  Log Message:
  -----------
  redhat: make the rpm aware of the lock file

Currently, the db lockfile will cause the openvswitch directory to
linger after uninstall because the rpm database isn't aware that it
should be treated as part of the system.  This commit informs the rpmdb
properly as a 'ghost' so that when the package is uninstalled, it will
be removed automatically.  This means that if no extra files exist in
/etc/openvswitch, the whole directory will be removed from /etc/.

Acked-by: Flavio Leitner <fbl at sysclose.org>
Reviewed-by: Markos Chandras <mchandra at suse.de>
Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list