[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: My recent bug's and continuing effort to debconf-ize Debian

>>>>> "Julian" == Julian Gilbey <J.D.Gilbey@qmw.ac.uk> writes:

    Julian> On Fri, Sep 01, 2000 at 11:34:44AM -0700, Sean 'Shaleh' Perry wrote:

    >> > But then it might interrupt the installation process.  Just
    >> > as debconf asks all of the preinst questions before any of
    >> > the packages have started unpacking, it would be nice to be
    >> > able to defer any questions that *have* to wait for the
    >> > postinst until the very end, when all of the packages have
    >> > been installed.

    >> a) choose non-interactive and no debconf questions get asked.  You can
    >> dpkg-reconfigure any package you need to
    >> [...]

    Julian> No, this isn't what I was talking about.  There was a
    Julian> discussion recently (should I try to track down the
    Julian> message numbers?) about some packages which could not use
    Julian> the debconf database setup, for example because the
    Julian> answers were too sensitive (passwords).  For these, the
    Julian> only option was to use interactive questions during the
    Julian> postinst.

I just tried "less /var/lib/debconf/debconf.db" and got a "Permission
denied".  /var/lib/debconf is 700, owner root.  So the passwords thing
is no problem.

Any others?

Okay, and even if... why can't debconf have a flag "don't store answer
in DB"?  Store it somewhere the package tells us (700 owner root of

*If* there's some *valid* reason not to store something in a
*root-readable* DB, make it put it somewhere else.  In the end, it
*gets stored anyway.

Bye, J

PS: There may be packages that take a password and store it encrypted
(like Zope does).  But even then... (temporarily) putting it into a
root-only file?  Come on...

PPS: I saw that discussion you're referring to, Julian... now I might
have glossed over it too quickly (or I may have missed some mails),
but I don't recall seeing any (good) reasons being mentioned.

Jürgen A. Erhard    juergen.erhard@gmx.net   phone: (GERMANY) 0721 27326
     MARS: http://members.tripod.com/Juergen_Erhard/mars_index.html
            "Yesterday's the past and tomorrow's the future.
Today is a gift --  which is why they call it the present." -- Butterfly

Attachment: pgpbh13PSSElA.pgp
Description: PGP signature

Reply to: