Hi admin team: patroni-2.1.4-1.rhel7.x86_64 create unnecessary %{_logdir} %{_sysconfigdir} dir under root path : / Seems like a bug in the rpm spec file. and 2.1.3-1.rhel7.x86_64 also have this issue I doubt that other arch/release may have the same issue. BTW, is here the right place for this sort of problem? Regards. Vonng How to reproduce: install patroni rpm and `/%{_sysconfigdir}` `%{_logdir}` will be created. ``` [08-25 10:14:03] root@pg-test-3:/ $ ls bin data etc lib %{_logdir} media opt proc run srv %{_sysconfigdir} usr boot dev home lib64 lost+found mnt pg root sbin sys tmp var [08-25 10:14:07] root@pg-test-3:/ $ rm -rf /%* [08-25 10:14:17] root@pg-test-3:/ $ yum remove -q -y patroni [08-25 10:14:24] root@pg-test-3:/ $ ls bin boot data dev etc home lib lib64 lost+found media mnt opt pg proc root run sbin srv sys tmp usr var [08-25 10:14:28] root@pg-test-3:/ $ yum install -y patroni Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package patroni.x86_64 0:2.1.4-1.rhel7 will be installed --> Finished Dependency Resolution Dependencies Resolved =========================================================================================================================================== Package Arch Version Repository Size =========================================================================================================================================== Installing: patroni x86_64 2.1.4-1.rhel7 pigsty 866 k Transaction Summary =========================================================================================================================================== Install 1 Package Total download size: 866 k Installed size: 2.6 M Downloading packages: patroni-2.1.4-1.rhel7.x86_64.rpm | 866 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : patroni-2.1.4-1.rhel7.x86_64 1/1 Verifying : patroni-2.1.4-1.rhel7.x86_64 1/1 Installed: patroni.x86_64 0:2.1.4-1.rhel7 Complete! [08-25 10:14:37] root@pg-test-3:/ $ ls bin data etc lib %{_logdir} media opt proc run srv %{_sysconfigdir} usr boot dev home lib64 lost+found mnt pg root sbin sys tmp var ``` |