[Freeipa-devel] [PATCH] Add service before enabling it in ipa-server-install

Pieter D.J. Krul pkrul at redhat.com
Fri Feb 8 00:00:24 UTC 2008


Hi,

ipa-server-install halts upon enabling a service because the service hasn't been added to chkconfig 
first, resulting in this error:

Configuring ipa_kpasswd
   [1/3]: starting ipa_kpasswd
   [2/3]: configuring ipa_kpasswd to start on boot
Unexpected error - see ipaserver-install.log for details:
  Command '/sbin/chkconfig --list ipa_kpasswd' returned non-zero exit status 1

This patch fixes this by doing 'chkconfig --add <service>' first, and "--del" upon uninstall, which 
are harmless to run IMHO.

Cheers,

Pieter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-service-add-del.patch
Type: text/x-patch
Size: 1401 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080208/a6850b30/attachment.bin>


More information about the Freeipa-devel mailing list