Passing on recent event of CA.cfg being clobbered / corrupted / truncated by
patching process (yum update)
This took few hours to find for I did not expect this to happen to a file
that normally would not be changed.
The clobbered file, CA.cfg, was truncated by over 500 lines.

Errors that shows on the console and the boot.log
~...
Starting HTTP Service
Starting httpd:                                            [  OK  ]
Starting CA Service
Traceback (most recent call last):
  File "/usr/sbin/pki-server", line 89, in <module>
    cli.execute(sys.argv)
  File "/usr/sbin/pki-server", line 84, in execute
    super(PKIServerCLI, self).execute(args)
  File "/usr/lib/python2.6/site-packages/pki/cli.py", line 195, in execute
    module.execute(module_args)
  File "/usr/lib/python2.6/site-packages/pki/server/cli/upgrade.py", line
79, in execute
    subsystem = pki.server.PKISubsystem(subsystem_dir)
  File "/usr/lib/python2.6/site-packages/pki/server/__init__.py", line 47,
in __init__
    self.load()
  File "/usr/lib/python2.6/site-packages/pki/server/__init__.py", line 52,
in load
    PKISubsystem.load_config_file(self.cs_conf, self.config)
  File "/usr/lib/python2.6/site-packages/pki/server/__init__.py", line 71,
in load_config_file
    value = parts[1]
IndexError: list index out of range
Starting pki-ca:                                           [  OK  ]
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
~...

Here is partial list yum.log
Jul 14 14:29:24 Updated: libipa_hbac-1.13.3-22.el6_8.4.x86_64
Jul 14 14:29:41 Installed: python-libipa_hbac-1.13.3-22.el6_8.4.x86_64
Jul 14 14:29:43 Updated: ipa-python-3.0.0-50.el6.1.x86_64
Jul 14 14:31:54 Updated: sssd-ipa-1.13.3-22.el6_8.4.x86_64
Jul 14 14:32:45 Updated: ipa-client-3.0.0-50.el6.1.x86_64
Jul 14 14:32:45 Updated: ipa-admintools-3.0.0-50.el6.1.x86_64
Jul 14 14:33:25 Updated: ipa-server-3.0.0-50.el6.1.x86_64
Jul 14 14:34:04 Updated: ipa-server-selinux-3.0.0-50.el6.1.x86_64
Jul 14 14:36:23 Erased: libipa_hbac-python
Jul 14 14:29:21 Updated: ca-certificates-2015.2.6-65.0.1.el6_7.noarch
Jul 14 14:29:39 Updated: pki-native-tools-9.0.3-49.el6.x86_64
Jul 14 14:30:33 Updated: pki-symkey-9.0.3-49.el6.x86_64
Jul 14 14:30:33 Updated: pki-util-9.0.3-49.el6.noarch
Jul 14 14:30:34 Updated: pki-java-tools-9.0.3-49.el6.noarch
Jul 14 14:31:54 Updated: pki-selinux-9.0.3-49.el6.noarch
Jul 14 14:32:45 Updated: pki-setup-9.0.3-49.el6.noarch
Jul 14 14:32:46 Updated: pki-common-9.0.3-49.el6.noarch
Jul 14 14:32:46 Updated: pki-silent-9.0.3-49.el6.noarch
Jul 14 14:32:46 Updated: pki-ca-9.0.3-49.el6.noarch
Assuming one of these may be the culprit.

Regards
Jim

-- 
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

Reply via email to