Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkidestroy should not remove /var/lib/pki #1902

Closed
pki-bot opened this issue Oct 3, 2020 · 3 comments
Closed

pkidestroy should not remove /var/lib/pki #1902

pki-bot opened this issue Oct 3, 2020 · 3 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #1340. Originally filed by edewata (@edewata) on 2015-04-08 23:20:26:


The /var/lib/pki is the base folder for all instances. The folder is owned by the package and is created automatically during package installation. However, currently if the last instance on the system is removed pkidestroy will remove the folder as well, and when a new instance is created the folder will be recreated by pkispawn.

Ideally package-owned folders should always exist as long as the package is installed. The pkispawn and pkidestroy should be modified to assume that the folder already exists and should not be deleted/recreated. An upgrade script is needed to restore the folder if it's currently missing and also restore the permission/ownership.

Proposed milestone: 10.2.x

@pki-bot pki-bot added this to the 10.2.3 milestone Oct 3, 2020
@pki-bot pki-bot closed this as completed Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-04-11 01:37:14

This patch replaces 20150409-Restore-var-lib-pki-directory-during-pkidestroy.patch.
20150410-pki-tomcatd-fails-to-start-on-boot.patch

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-04-13 23:12:09

Checked into master:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2017-02-27 14:01:45

Metadata Update from @edewata:

  • Issue assigned to mharmsen
  • Issue set to the milestone: 10.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant