diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-09-17 13:04:45 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-09-18 13:11:16 -0500 |
commit | 8ed86a749548ed2c373026ec34f5284a329bb7c2 (patch) | |
tree | 419f3d7f907f2a9c7f76a838d260a6d9c94668f5 /base/deploy/src/scriptlets/pkihelper.py | |
parent | 69c06845a7a39c016ab29b0f2758e989b424698b (diff) | |
download | pki-8ed86a749548ed2c373026ec34f5284a329bb7c2.tar.gz pki-8ed86a749548ed2c373026ec34f5284a329bb7c2.tar.xz pki-8ed86a749548ed2c373026ec34f5284a329bb7c2.zip |
Fixed problems with optional pki-symkey.
The deployment and init scripts have been fixed to create and check
the link to symkey.jar if a TKS instance is added, and remove the
link if the instance is removed.
Ticket #331
Diffstat (limited to 'base/deploy/src/scriptlets/pkihelper.py')
-rw-r--r-- | base/deploy/src/scriptlets/pkihelper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/deploy/src/scriptlets/pkihelper.py b/base/deploy/src/scriptlets/pkihelper.py index adbbe7cb5..8145a02d8 100644 --- a/base/deploy/src/scriptlets/pkihelper.py +++ b/base/deploy/src/scriptlets/pkihelper.py @@ -1224,12 +1224,12 @@ class directory: # systems since 'chmod' CANNOT be # run directly against symbolic # links! - # chown -h <uid>:<gid> <link> + # chown -h <uid>:<gid> <symlink> config.pki_log.debug(log.PKIHELPER_CHOWN_H_3, - uid, gid, link, + uid, gid, symlink, extra=config.PKI_INDENTATION_LEVEL_3) if not config.pki_dry_run_flag: - os.lchown(link, uid, gid) + os.lchown(symlink, uid, gid) # Store record in installation manifest record = manifest.record() record.name = name |