python-ipalib is missing authconfig

Bug #1653245 reported by keestux on 2016-12-30
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
freeipa (Ubuntu)
Undecided
Unassigned

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

Timo Aaltonen (tjaalton) wrote :

this is fixed in git

Changed in freeipa (Ubuntu):
status: New → Fix Committed
Norman Kabir (nkabir) wrote :

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!

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freeipa - 4.4.3-3ubuntu1

---------------
freeipa (4.4.3-3ubuntu1) zesty; urgency=medium

  * fix-is-running.diff: Add a third argument to is_running() in
    ipaplatform/debian/services.py.

 -- Timo Aaltonen <email address hidden> Fri, 17 Feb 2017 01:40:15 +0200

Changed in freeipa (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers