#332 pkispawn should not work if subsystem package is not installed
Closed: Fixed Opened by edewata.

Currently if a subsystem package (pki-ca, pki-kra, etc.) is not installed the pkispawn will work up to a point (creating folders, links, etc.), then stop because it couldn't find the files needed for the subsystem. Ideally the pkispawn should not start at all if the subsystem it's trying to create is not installed.

% pkispawn -f ca.cfg -s CA -v
...
pkispawn    : INFO     ... populating 'pki.deployment.subsystem_layout'
pkispawn    : INFO     ....... mkdir -p /var/log/pki/ca-master/ca
pkispawn    : INFO     ....... mkdir -p /var/log/pki/ca-maste/ca/archive
pkispawn    : INFO     ....... mkdir -p /var/log/pki/ca-maste/ca/signedAudit
pkispawn    : INFO     ....... mkdir -p /etc/pki/ca-master/ca
pkispawn    : ERROR    ....... Directory '/usr/share/pki/ca/emails' is either missing or is NOT a directory!

master: aa1c7e757ee01759cb08f3dd5d0556cfe2ef8e32

Metadata Update from @edewata:
- Issue assigned to edewata
- Issue set to the milestone: 10.0.0-0.X.a2

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/903

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata