#5619 Introduce PKI_USER/GROUP and DS_USER/GROUP constants
Closed: Fixed None Opened 8 years ago 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:

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

ipa-4-3:

  • e3bf65f 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:

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

ipa-4-3:

  • 35eecf1 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

7 years ago

Login to comment on this ticket.

Metadata