Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Right now we have the following:
%preun if [ "$1" = 0 ]; then # Stop any services that might be running for service in %{hadoop_services} do service hadoop-$service stop 1>/dev/null 2>/dev/null || : done %{alternatives_cmd} --remove %{name}-conf %{etc_hadoop}/conf.empty || : fi
But its subpackage also stop the services.
Doing stop from from the main package AND the subpackages break the single responsibility principle.