debconf-show should not attempt to open passwords db if called with --db=config

Bug #404500 reported by Oliver Grawert
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: debconf

calling debconf-show as an unprivileged user with --db=config (which an unprivileged user has access to unlike the password db) always attemops to open the password database as well:

ogra@cmpc:~$ debconf-show --db=config tzdata
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
  tzdata/Zones/Australia:
...

instead of attempting to open all DBs it should restrict itself to only use the DbDriver on the specificed database.

Oliver Grawert (ogra)
Changed in debconf (Ubuntu):
importance: Undecided → Wishlist
Changed in debconf (Ubuntu):
status: New → Confirmed
Changed in debconf (Ubuntu):
status: Confirmed → Fix Released
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.