On Fri, Mar 15, 2013 at 10:30:09PM +0100, Julien Cristau wrote: > On Fri, Mar 15, 2013 at 18:56:21 +0100, Ralf Treinen wrote: > > > 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 > > I'm not sure you can rely on non-essential packages being installed > during config. That includes openssl.
Good point. > Also how does this work when you're just overriding those values a > couple of lines later? These values would be used in the case the debconf frontend is non-inteactive. Anyway, this is a leaf package with virtual zero popcon. I wonder why the release team hasn't kicked it out of wheezy since a long time. -Ralf. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org