rpm: User is removed at uninstalling, which can cause error at reinstalling
daipom opened this issue · comments
Daijiro Fukuda commented
fluent-package v5.0.0 and v5.0.1try to remove User and Group at uninstalling.
the codes in %postun
:
fluent-package-builder/fluent-package/yum/fluent-package.spec.in
Lines 287 to 305 in bf66110
This behavior is added in the following fix:
It looks like it was influenced by the implementation of apt purge
.
For dnf/yum remove
, we can't remove User and Group.
The files in /var/log/fluent/
and /etc/fluent/
remain, and they will be used after reinstalling.
If the previous Use or Group is removed, fluent-package creates a new one, and it causes errors in accessing those files.