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

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

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c1c7480b352d832d9fc469397db47d8c7d4c6d37
  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