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

debconf help

  I'm finally trying to work out how to use debconf, and I'm having some
problems with a trivial test case.  I have the following files:

-- foo.templates --
Template: test/foo
Type: boolean
Default: true
Description: Is this a test question?
  Select "true" if this is only a test.

-- foo.config --

. /usr/share/debconf/confmodule

db_input high test/foo

  When I run this as root, it runs and exits without generating any output
or messages.  If, however, I run it as myself, I get the expected: a dialog
with the test message and the Yes/No buttons.  Selecting either, of course,
causes the script to abort with a 'permission denied' error.  What am I doing


  If you wish to live wisely, ignore sayings--including this one.

Reply to: