monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] monotone-server: empty passphrase from get_passphra


From: Richard Levitte - VMS Whacker
Subject: Re: [Monotone-devel] monotone-server: empty passphrase from get_passphrase
Date: Tue, 14 Nov 2006 00:01:16 +0100 (CET)

In message <address@hidden> on Mon, 13 Nov 2006 15:18:10 -0700, "Shaun Jackman" 
<address@hidden> said:

sjackman> $ sudo dpkg-reconfigure monotone-server
sjackman> [accept all the defaults]
sjackman> $ sudo /etc/init.d/monotone start
sjackman> Starting Monotone Server: monotone.
sjackman> $ cat /var/log/monotone/mtn.log
sjackman> mtn: misuse: got empty passphrase from get_passphrase() hook
sjackman> $ sudo cat /etc/monotone/passphrases
sjackman> address@hidden ""
sjackman> 
sjackman> This bug seems to be caused be running dpkg-reconfigure
sjackman> after installing monotone-server. It worked as expected
sjackman> after purging and reinstalling monotone-server.

I suspect that the following lines in debian/monotone-server.postinst
don't work quite right and result in an empty password:

           # read our passphrase from a file
           if [ -e "$MTN_CONFDIR/passphrases" ]; then
               db_set monotone-server/passphrase "`grep "$MTN_KEY" 
$MTN_CONFDIR/passphrases | awk -F ' "|" "|" |"' '{print $2}'`"
           fi

I'm not in a position to test that without destroying something for
the moment...

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]