On 06/21/2016 04:39 PM, Martin Basti wrote:
On 14.06.2016 17:26, Stanislav Laznicka wrote:
- signerd_service.start()
+ try:
+ signerd_service.start()
+ except Exception as e:
+ root_logger.error("Unable to start '{svcname}': {err}"
+ .format(svcname=signerd_service.service_name,
+ err=e))
why is signerd so special?
Martin^2
From ODSExporterInstance.uninstall():
signerd_service = services.knownservices.ods_signerd
This means that signerd_service here is not an instance of the
service.Service class or of its child class but is rather an instance of
the RedHatService class, a child class of the services.SystemdService
class. Thus it has to be treated with special care.
--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code