On Fri, Feb 22, 2013 at 04:09:01PM -0800, Vagrant Cascadian wrote:

> I haven't tested the following patch, but it should essentially resolve the
> issue.

Shouldn't one keep checking that the user doesn't enter empty values
for USER and PASS ? I was thinking of a patch like this one:

-------------------------------------------------------------------------

--- config      2013-02-23 10:11:45.000000000 +0100
+++ config.orig 2013-02-23 10:08:49.000000000 +0100
@@ -2,6 +2,8 @@
 
 set -e
 
+[ `echo $DEBIAN_FRONTEND | tr '[:upper:]' '[:lower:]'` = "noninteractive" ] && 
exit 0
+
 . /usr/share/debconf/confmodule
 
 db_beginblock
@@ -11,11 +13,8 @@
 
 db_go
 
-USER=rinput
 db_get rinputd/username
 USER="$RET"
-
-PASS=DEFAULTPASSWD
 db_get rinputd/passwd
 PASS="$RET"

------------------------------------------------------------------------

The question remains what to put in place of DEFAULTPASSWD.

-Ralf.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to