Bug#683892: msmtp attempts to connect to gnome-keyring

2013-04-14 Thread Emmanuel Bouthenot

On Thu, Jan 31, 2013 at 05:00:56PM -0500, frozencemetery wrote:
 Package: msmtp
 Version: 1.4.28-1
 Followup-For: Bug #683892
 
 More information:
 
 $ echo test | msmtp -a user@host.domain user@host.domain
 p11-kit: couldn't load module: 
 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: 
 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared 
 object file: No such file or directory

I finally took time to try to reproduce your bug in a fresh wheezy
install.

To reproduce the bug it's needed to send mail through a smtp server
where tls is required.

msmtp is linked to libp11-kit.so which once loaded tries to read the
pkcs11 modules configuration files located in /etc/pkcs11/modules/*

When installed, gnome-keyring ship a config file for pkcs11:
/etc/pkcs11/modules/gnome-keyring-module

/etc/pkcs11/modules/gnome-keyring-module is a conffile so removing
gnome-keyring package is not enough to remove its conffiles.

It is required to purge gnome-keyring to remove this file.

So could you try to purge gnome-keyring and tell me if it fix this
issue?

$ apt-get purge gnome-keyring

Thanks in advance for your feedback.


Regards,

M.

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2013-04-14 Thread frozencemetery
Emmanuel Bouthenot kol...@openics.org writes:

 To reproduce the bug it's needed to send mail through a smtp server
 where tls is required.

 msmtp is linked to libp11-kit.so which once loaded tries to read the
 pkcs11 modules configuration files located in /etc/pkcs11/modules/*

 When installed, gnome-keyring ship a config file for pkcs11:
 /etc/pkcs11/modules/gnome-keyring-module

 /etc/pkcs11/modules/gnome-keyring-module is a conffile so removing
 gnome-keyring package is not enough to remove its conffiles.

 It is required to purge gnome-keyring to remove this file.

 So could you try to purge gnome-keyring and tell me if it fix this
 issue?

 $ apt-get purge gnome-keyring

Unfortunately I have since re-installed wheezy and no longer have
gnome-keyring installed.  msmtp is working in this environment, and
there is no /etc/pkcs11 directory at all.

Sorry I can't be more helpful.


pgp1IyMeYEoUO.pgp
Description: PGP signature


Bug#683892: msmtp attempts to connect to gnome-keyring

2013-02-01 Thread frozencemetery
Package: msmtp
Version: 1.4.28-1
Followup-For: Bug #683892

Emmanuel Bouthenot kol...@openics.org writes:

 what's the result of the following commands:

 $ ldd /usr/bin/msmtp
  linux-vdso.so.1 =  (0x7fff163ff000)
  libgnutls.so.26 = /usr/lib/x86_64-linux-gnu/libgnutls.so.26 
(0x7f7289391000)
  libgsasl.so.7 = /usr/lib/libgsasl.so.7 (0x7f7289172000)
  libidn.so.11 = /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x7f7288f3d000)
  libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f7288bb3000)
  libtasn1.so.3 = /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x7f72889a2000)
  libgcrypt.so.11 = /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x7f7288723000)
  libz.so.1 = /lib/x86_64-linux-gnu/libz.so.1 (0x7f728850c000)
  libpthread.so.0 = /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f72882f)
  libp11-kit.so.0 = /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 
(0x7f72880dd000)
  libntlm.so.0 = /usr/lib/libntlm.so.0 (0x7f7287ed6000)
  libgssapi_krb5.so.2 = /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 
(0x7f7287c97000)
  libkrb5.so.3 = /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x7f72879c2000)
  libk5crypto.so.3 = /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 
(0x7f7287799000)
  libcom_err.so.2 = /lib/x86_64-linux-gnu/libcom_err.so.2 (0x7f7287595000)
  /lib64/ld-linux-x86-64.so.2 (0x7f728966b000)
  libgpg-error.so.0 = /lib/x86_64-linux-gnu/libgpg-error.so.0 
(0x7f7287391000)
  libdl.so.2 = /lib/x86_64-linux-gnu/libdl.so.2 (0x7f728718d000)
  libkrb5support.so.0 = /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 
(0x7f7286f84000)
  libkeyutils.so.1 = /lib/x86_64-linux-gnu/libkeyutils.so.1 
(0x7f7286d7f000)
  libresolv.so.2 = /lib/x86_64-linux-gnu/libresolv.so.2 (0x7f7286b69000)


 $ dpkg -S /usr/bin/msmtp
msmtp: /usr/bin/msmtp

Hope that helps.


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2013-01-31 Thread frozencemetery
Package: msmtp
Version: 1.4.28-1
Followup-For: Bug #683892

Dear Maintainer,

This bug is still present.  This system does not have network-manager
installed, nor are either of GNOME_KEYRING_CONTROL or GNOME_KEYRING_PID
defined.  msmtp-gnome was never installed on this system.

I do mail through emacs so setting mail-interactive is a workaround, but it
would be very nice if the underlying problem could be solved.

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages msmtp depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg   1.16.9
ii  install-info   4.13a.dfsg.1-10
ii  libc6  2.13-37
ii  libgnutls262.12.20-2
ii  libgsasl7  1.8.0-2
ii  libidn11   1.25-2
ii  ucf3.0025+nmu3

Versions of packages msmtp recommends:
ii  ca-certificates  20120623

Versions of packages msmtp suggests:
pn  msmtp-mta  none

-- debconf information excluded


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2013-01-31 Thread frozencemetery
Package: msmtp
Version: 1.4.28-1
Followup-For: Bug #683892

More information:

$ echo test | msmtp -a user@host.domain user@host.domain
p11-kit: couldn't load module: 
/usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: 
/usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared 
object file: No such file or directory
$ 

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages msmtp depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg   1.16.9
ii  install-info   4.13a.dfsg.1-10
ii  libc6  2.13-37
ii  libgnutls262.12.20-2
ii  libgsasl7  1.8.0-2
ii  libidn11   1.25-2
ii  ucf3.0025+nmu3

Versions of packages msmtp recommends:
ii  ca-certificates  20120623

Versions of packages msmtp suggests:
pn  msmtp-mta  none

-- debconf information excluded


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2013-01-31 Thread Emmanuel Bouthenot
On Thu, Jan 31, 2013 at 05:00:56PM -0500, frozencemetery wrote:
[...]

 $ echo test | msmtp -a user@host.domain user@host.domain
 p11-kit: couldn't load module: 
 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: 
 /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared 
 object file: No such file or directory

Do you have gnome-keyring installed?

Could you send the log produce by the following command:

$ echo test | strace -e open msmtp user@host.domain user@host.domain


Thanks,

M.

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2013-01-31 Thread Robbie Harwood
Emmanuel Bouthenot kol...@openics.org writes:

 Do you have gnome-keyring installed?

It was installed until recently, and upon its uninstallation this
problem began occurring.

 Could you send the log produce by the following command:

 $ echo test | strace -e open msmtp user@host.domain user@host.domain

Attached (~60 lines).



out.log
Description: Binary data


pgpeZ2heAWZ27.pgp
Description: PGP signature


Bug#683892: msmtp attempts to connect to gnome-keyring

2013-01-31 Thread Emmanuel Bouthenot
On Thu, Jan 31, 2013 at 05:40:33PM -0500, Robbie Harwood wrote:
[...]

 Attached (~60 lines).
thanks

what's the result of the following commands:

$ ldd /usr/bin/msmtp
$ dpkg -S /usr/bin/msmtp


Thanks,

M.

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2012-11-22 Thread Emmanuel Bouthenot
Hi Holger,

On Thu, Aug 09, 2012 at 09:55:01AM +0200, Holger Arnold wrote:
  Accessing network-manager using nm-tool or nmcli produces the same
  gnome-keyring:: couldn't connect to [...] warning.  Is it possible
  that the warning when running msmtp is actually coming from network-
  manager or from some library used by both msmtp and n-m?
 
 The warning also appears when network-manager is inactive.  It must be
 produced by some library.

Any news about this bug?

Does it still remain?


Regards,

M.

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2012-11-22 Thread Holger Arnold
Hi Emmanuel,

 Any news about this bug?
 Does it still remain?

I do not have access to a Debian system at the moment.  The last time I
checked, however, it was still present.

A work-around for Emacs is to set the mail-interactive variable to nil.

Regards,
Holger


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2012-08-09 Thread Holger Arnold
Hi Emmanuel,

 That's a bit weird, can you reproduce this warning message if you run
 msmtp like the following:

 echo test | msmtp -f yourem...@domain.tld yourem...@domain.tld

 (replacing yourem...@domain.tld by your real email)

this command produces the same message.

 On my side, I can't reproduce the bug even with GNOME_KEYRING_CONTROL
 and GNOME_KEYRING_PID environment variables defined.

Surprisingly, these variables are set in my i3 session (but the process
specified by GNOME_KEYRING_PID is no longer running).

I assume that these variables have been set by network-manager trying
to a connect to gnome-keyring (for whatever reason -- there are only
system connections on this machine).

Accessing network-manager using nm-tool or nmcli produces the same
gnome-keyring:: couldn't connect to [...] warning.  Is it possible
that the warning when running msmtp is actually coming from network-
manager or from some library used by both msmtp and n-m?

Regards,
Holger


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2012-08-09 Thread Holger Arnold
 Accessing network-manager using nm-tool or nmcli produces the same
 gnome-keyring:: couldn't connect to [...] warning.  Is it possible
 that the warning when running msmtp is actually coming from network-
 manager or from some library used by both msmtp and n-m?

The warning also appears when network-manager is inactive.  It must be
produced by some library.


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2012-08-08 Thread Emmanuel Bouthenot
Hi Holger,

On Sun, Aug 05, 2012 at 10:19:43AM +0200, Holger Arnold wrote:
[...]

 msmtp (with msmtp-gnome not being installed) attempts to connect to gnome-
 keyring even when running under a non-Gnome environment (i3 in my case).  At
 least, it prints the following message:
 
   WARNING: gnome-keyring:: couldn't connect to: /home/holger/.cache/keyring-
 jjhYkg/pkcs11: No such file or directory

 Sending mail works (with accounts and passwords configured in ~/.msmtprc).
 However, when using Emacs for composing mail, Emacs assumes that sending mail
 failed, supposedly due to the warning message.
 
 I don't know which component actually attempts to connect to gnome-keyring,
 though, since 'ldd /usr/bin/msmtp' shows no dependency on libgnome-keyring.
 
 msmtp-gnome was installed on this system before, but has has been purged.

That's a bit weird, can you reproduce this warning message if you run
msmtp like the following:

echo test | msmtp -f yourem...@domain.tld yourem...@domain.tld

(replacing yourem...@domain.tld by your real email)

On my side, I can't reproduce the bug even with GNOME_KEYRING_CONTROL
and GNOME_KEYRING_PID environment variables defined.

(I don't use gnome either)

Regards,

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}


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



Bug#683892: msmtp attempts to connect to gnome-keyring

2012-08-05 Thread Holger Arnold
Package: msmtp
Version: 1.4.28-1
Severity: normal

Dear Maintainer,

msmtp (with msmtp-gnome not being installed) attempts to connect to gnome-
keyring even when running under a non-Gnome environment (i3 in my case).  At
least, it prints the following message:

  WARNING: gnome-keyring:: couldn't connect to: /home/holger/.cache/keyring-
jjhYkg/pkcs11: No such file or directory

Sending mail works (with accounts and passwords configured in ~/.msmtprc).
However, when using Emacs for composing mail, Emacs assumes that sending mail
failed, supposedly due to the warning message.

I don't know which component actually attempts to connect to gnome-keyring,
though, since 'ldd /usr/bin/msmtp' shows no dependency on libgnome-keyring.

msmtp-gnome was installed on this system before, but has has been purged.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-486
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages msmtp depends on:
ii  debconf [debconf-2.0]  1.5.44
ii  dpkg   1.16.4.3
ii  install-info   4.13a.dfsg.1-10
ii  libc6  2.13-33
ii  libgnutls262.12.20-1
ii  libgsasl7  1.8.0-2
ii  libidn11   1.25-2
ii  ucf3.0025+nmu3

Versions of packages msmtp recommends:
ii  ca-certificates  20120623

Versions of packages msmtp suggests:
pn  msmtp-mta  none


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