← Back to team overview

freeipa team mailing list archive

[Bug 1653245] Re: python-ipalib is missing authconfig

 

Timo, can you post a link to the Git repository that hosts the patch?
Apologies if I've missed it.

I know of these:

* https://anonscm.debian.org/git/pkg-freeipa/freeipa.git
* https://launchpad.net/freeipa

Much appreciated!

-- 
You received this bug notification because you are a member of FreeIPA,
which is subscribed to freeipa in Ubuntu.
https://bugs.launchpad.net/bugs/1653245

Title:
  python-ipalib is missing authconfig

Status in freeipa package in Ubuntu:
  Fix Committed

Bug description:
  When doing ipa-backup it will eventually want to do a backup of
  authconfig. This is a RedHat specific tool, but there is no
  Ubuntu/Debian replacement. ipa-backup will fail with a Python stack
  trace.

  2016-12-30T10:36:02Z DEBUG Starting external process
  2016-12-30T10:36:02Z DEBUG args=/usr/sbin/authconfig --savebackup /var/lib/ipa/auth_backup
  2016-12-30T10:36:02Z DEBUG Process execution failed
  2016-12-30T10:36:02Z 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

  2016-12-30T10:36:02Z DEBUG The ipa-backup command failed, exception: OSError: [Errno 2] No such file or directory
  2016-12-30T10:36:02Z ERROR [Errno 2] No such file or directory
  2016-12-30T10:36:02Z ERROR The ipa-backup command failed. See /var/log/ipabackup.log for more information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1653245/+subscriptions


References