[Debconf-devel] Bug#577699: cannot reliably be used by non-root users

Joey Hess joeyh at debian.org
Tue Apr 13 17:54:00 UTC 2010


Package: debconf
Version: 1.5.31
Severity: normal

Many things probably assume that debconf can be used by non-root users.
They're all making a dangerously wrong assumption.

In fact, debconf can be used by non-root users, in the default
configuration. This is because DbDriver::File goes out of its way (now)
to run in an implicit readonly mode if the database file cannot be
written to. An attempt to change something in the database will fail at
the end, but if no changes are made, everything works.

But, change /etc/debconf.conf to use a Directory or a DirTree, or
possibly other DbDrivers, and this assumption breaks down. Packages that
run debconf confmodules as non-root (or as fakeroot) will FTBFS. Other
stuff may break.

It's also quite possible that switching to cdebconf would raise similar
problems.

(See #577632, and #577299.)

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20100413/2cf00a21/attachment.pgp>


More information about the Debconf-devel mailing list