#5619 Introduce PKI_USER/GROUP and DS_USER/GROUP constants
Closed: Fixed Opened by cheimes.

ipaplatform.constants has platform specific names for a couple of system users like Apache HTTPD. The user names for PKI_USER, PKI_GROUP, DS_USER and DS_GROUP are defined in other modules. Similar to #5587 the patch my patch moves the constants into the platform module.


[PATCH 0029] Move user/group constants for PKI and DS into ipaplatform posted for review.

master:

  • 49be6c8d3cc20902dbe8e92a74e31aed2fd21d9f Move user/group constants for PKI and DS into ipaplatform

ipa-4-3:

  • e3bf65f2df9c50873f0967b96a6a2a5975a87f79 Move user/group constants for PKI and DS into ipaplatform

commits above broke ipa-restore

2016-03-22T16:56:27Z DEBUG   File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 171, in execute
    return_value = self.run()
  File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_restore.py", line 218, in run
    self.backup_dir, constants.FQDN)
'FedoraConstantsNamespace' object has no attribute 'FQDN'

There are 2 import to the same name 'constants'

master:

  • 5b32ffcd1ac4bda9c34545682cc30ec4e2ec7c3b ipa_restore: Import only FQDN from ipalib.constants

ipa-4-3:

  • 35eecf1ccd9436c65e4efcca30b155aaa37e7297 ipa_restore: Import only FQDN from ipalib.constants

Metadata Update from @cheimes:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.3.1

Metadata