auth-client-config dies on '%'

Bug #191610 reported by Niall Sheridan
4
Affects Status Importance Assigned to Milestone
auth-client-config (Ubuntu)
Fix Released
Medium
Jamie Strandboge

Bug Description

auth-client-config chokes if a config contains the '%' character, causing some configuration to fail, e.g.
  account sufficient pam_krb5.so ccache=/var/run/ccache/krb5cc_%u

Revision history for this message
Niall Sheridan (niall) wrote :

Forgot the traceback.

nsheridan@nonsense:~(0)$ auth-client-config --help
Traceback (most recent call last):
  File "/usr/sbin/auth-client-config", line 957, in <module>
    opts = process_args()
  File "/usr/sbin/auth-client-config", line 776, in process_args
    profiles = getProfileNames()
  File "/usr/sbin/auth-client-config", line 217, in getProfileNames
    names = getProfiles().keys()
  File "/usr/sbin/auth-client-config", line 190, in getProfiles
    for key, value in cdict.items(p):
  File "/usr/lib/python2.5/ConfigParser.py", line 557, in items
    for option in options]
  File "/usr/lib/python2.5/ConfigParser.py", line 593, in _interpolate
    profiles = getProfileNames()

Changed in auth-client-config:
assignee: nobody → jamie-strandboge
status: New → Confirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for reporting this issue and helping to make Ubuntu even better. Until the proper fix is uploaded, a workaround is to use '%%' instead of '%' in the profile.

Changed in auth-client-config:
status: Confirmed → In Progress
Changed in auth-client-config:
importance: Undecided → Medium
Changed in auth-client-config:
status: In Progress → Fix Committed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

auth-client-config (0.6) hardy; urgency=low

  * use use RawConfigParser instead of SafeConfigParser (LP: #191990)
  * update acc-default comments (LP: #191990)
  * make more PEP-8 compliant (whitespace)
  * debian/rules: update version with changelog version
  * debian/control: use Vcs-Bzr url
  * lintian fixes

 -- Jamie Strandboge < <email address hidden>> Thu, 21 Feb 2008 11:44:41 -0500

Changed in auth-client-config:
status: Fix Committed → Fix Released
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

If you are using the '%%' workaround, you should remove it now that it is fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.