Hide Forgot
Description of problem: When we remove nfs-ganesha packages, all the files related to nfs-ganesha should get removed. /etc/ganesha folder remains in the machine after removing nfs-ganesha packages. Version-Release number of selected component (if applicable): nfs-ganesha-gluster-2.4.1-1.el7rhgs.x86_64 glusterfs-ganesha-3.8.4-3.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1. Install nfs-ganesha packages. 2. Do 'yum remove nfs-ganesha' Actual results: /etc/ganesha folder remains in the machine after removing nfs-ganesha packages. Expected results: All the files related to nfs-ganesha should get removed. Additional info: Removed: nfs-ganesha.x86_64 0:2.4.1-1.el7rhgs Dependency Removed: glusterfs-ganesha.x86_64 0:3.8.4-3.el7rhgs nfs-ganesha-gluster.x86_64 0:2.4.1-1.el7rhgs Complete! [root@dhcp46-111 ~]# [root@dhcp46-111 ~]# [root@dhcp46-111 ~]# [root@dhcp46-111 ~]# vi /etc/ganesha/ganesha ganesha.conf.rpmsave ganesha-ha.conf [root@dhcp46-111 ~]# rpm -qa | grep gluster glusterfs-3.8.4-3.el7rhgs.x86_64 glusterfs-client-xlators-3.8.4-3.el7rhgs.x86_64 glusterfs-server-3.8.4-3.el7rhgs.x86_64 glusterfs-rdma-3.8.4-3.el7rhgs.x86_64 glusterfs-api-3.8.4-3.el7rhgs.x86_64 glusterfs-cli-3.8.4-3.el7rhgs.x86_64 python-gluster-3.8.4-3.el7rhgs.noarch glusterfs-fuse-3.8.4-3.el7rhgs.x86_64 glusterfs-devel-3.8.4-3.el7rhgs.x86_64 glusterfs-api-devel-3.8.4-3.el7rhgs.x86_64 glusterfs-geo-replication-3.8.4-3.el7rhgs.x86_64 glusterfs-libs-3.8.4-3.el7rhgs.x86_64 glusterfs-events-3.8.4-3.el7rhgs.x86_64 [root@dhcp46-111 ~]#
where is the requirement that package erase should remove /etc/ganesha{/*} coming from? the rpm man page says erase: ... checks to see if any of the package's config files have been modified. If so, it saves copies of them. We pretty much always have modified config files, so we would always leave saved copies. If I install, and then immediately erase, then /etc/ganesha is completely removed.
I tried with fresh install and uninstall, /etc/ganesha folder is getting removed.