Here is an update of my patch, with randomly generated passord as suggested by vagrand. -Ralf.
diff -ur rinputd-1.0.5.old/debian/changelog rinputd-1.0.5/debian/changelog --- rinputd-1.0.5.old/debian/changelog 2012-04-12 20:20:15.000000000 +0200 +++ rinputd-1.0.5/debian/changelog 2013-03-15 17:33:19.000000000 +0100 @@ -1,3 +1,9 @@ +rinputd (1.0.5-3) unstable; urgency=low + + * NMU to fix RC bug in wheezy. + + -- Ralf Treinen <trei...@debian.org> Fri, 15 Mar 2013 17:33:19 +0100 + rinputd (1.0.5-2) unstable; urgency=low * Convert from CDBS to debhelper diff -ur rinputd-1.0.5.old/debian/config rinputd-1.0.5/debian/config --- rinputd-1.0.5.old/debian/config 2012-04-12 20:06:14.000000000 +0200 +++ rinputd-1.0.5/debian/config 2013-03-15 17:44:54.000000000 +0100 @@ -2,8 +2,6 @@ set -e -[ `echo $DEBIAN_FRONTEND | tr '[:upper:]' '[:lower:]'` = "noninteractive" ] && exit 0 - . /usr/share/debconf/confmodule db_beginblock @@ -13,6 +11,10 @@ db_go +# initialisation of USER and PASS needed in the non-interactive case +USER="rinputd" +PASS=`openssl rand -base64 8` + db_get rinputd/username USER="$RET" db_get rinputd/passwd diff -ur rinputd-1.0.5.old/debian/rinputd.postinst rinputd-1.0.5/debian/rinputd.postinst --- rinputd-1.0.5.old/debian/rinputd.postinst 2012-04-04 06:33:44.000000000 +0200 +++ rinputd-1.0.5/debian/rinputd.postinst 2013-03-15 18:38:50.000000000 +0100 @@ -24,14 +24,13 @@ echo "Done" fi - if [ "`echo $DEBIAN_FRONTEND | tr '[:upper:]' '[:lower:]'`" != "noninteractive" ]; then - db_get rinputd/username - USER="$RET" - db_get rinputd/passwd - PASS="$RET" + + db_get rinputd/username + USER="$RET" + db_get rinputd/passwd + PASS="$RET" - echo "$PASS" | saslpasswd2 -p -c -u rinput "$USER" - fi + echo "$PASS" | saslpasswd2 -p -c -u rinput "$USER" fi #DEBHELPER#