#7800 ipa-backup fails on ubuntu, there is no authconfig available.
Closed: insufficientinfo 5 years ago by rcritten. Opened 5 years ago by jbaxley.

Request for enhancement

As <persona, e.g. admin> , I want <what?> so that <why?>.

Issue

[description of the issue]

Steps to Reproduce

  1. ipa-server-install
  2. ipa-backup
    3.

Actual behavior

ipa: DEBUG: Starting external process
ipa: DEBUG: args=/usr/sbin/authconfig --savebackup /var/lib/ipa/auth_backup
ipa: DEBUG: Process execution failed
ipa.ipaserver.install.ipa_backup.Backup: DEBUG: File "/usr/lib/python2.7/dist-packages/ipapython/admintool.py", line 171, in execute
return_value = self.run()
File "/usr/lib/python2.7/dist-packages/ipaserver/install/ipa_backup.py", line 310, in run
tasks.backup_auth_configuration(auth_backup_path)
File "/usr/lib/python2.7/dist-packages/ipaplatform/redhat/tasks.py", line 195, in backup_auth_configuration
auth_config.backup(path)
File "/usr/lib/python2.7/dist-packages/ipaplatform/redhat/authconfig.py", line 91, in backup
ipautil.run(["/usr/sbin/authconfig", "--savebackup", path])
File "/usr/lib/python2.7/dist-packages/ipapython/ipautil.py", line 423, in run
preexec_fn=preexec_fn)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception

ipa.ipaserver.install.ipa_backup.Backup: DEBUG: The ipa-backup command failed, exception: OSError: [Errno 2] No such file or directory
ipa.ipaserver.install.ipa_backup.Backup: ERROR: [Errno 2] No such file or directory
ipa.ipaserver.install.ipa_backup.Backup: ERROR: The ipa-backup command failed. See /var/log/ipabackup.log for more information

Expected behavior

(what do you expect to happen)

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server

Additional info:

Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue.

Log file locations: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/config-files-logs.html
Troubleshooting guide: https://www.freeipa.org/page/Troubleshooting


Please post the version of Ubuntu and the versions of the related packages.

Metadata Update from @rcritten:
- Issue close_status updated to: insufficientinfo
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata