l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Mar 07 09:31

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] mutt ssl certificate problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] mutt ssl certificate problem

On Fri, Mar 05, 2004 at 04:26:50PM -0800, Ken Herron wrote:
> My next step would probably be to repeat the process while strace'ing 
> mutt, to see if whether any filesystem operations are failing.
> -- 
> "Grand Funk Railroad paved the way for Jefferson Airplane, which cleared
> the way for Jefferson Starship. The stage was now set for the Alan Parsons
> Project, which I believe was some sort of hovercraft." - Homer Simpson
> Kenneth Herron        Kherron@newsguy.com       916-366-7338

Oh yeah, strace has been praised quite often on this list.. shoulda
thought of that. So I did. Looks like all disk accesses are fine.

I stripped out all references to my cert file:

(not sure what it's doin here)
-- snip --
open("/home/b/.mutt/cert", O_RDONLY)    = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=1123, ...}) = 0
mmap2(NULL, 1123, PROT_READ, MAP_SHARED, 4, 0) = 0x4024e000
close(4)                                = 0
-- snip --

(Here's where it reads the cert.. why doesn't it use it?)
-- snip --
stat64("/home/b/.mutt/cert", {st_mode=S_IFREG|0600, st_size=1123, ...}) = 0
open("/home/b/.mutt/cert", O_RDONLY)    = 5
fstat64(5, {st_mode=S_IFREG|0600, st_size=1123, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4032b000
read(5, "-----BEGIN CERTIFICATE-----\nMIID"..., 131072) = 1123
read(5, "", 131072)                     = 0
close(5)                                = 0
-- snip --

(Here's where it tries to write the cert. A few lines later I can see
the warning message about being unable to save the cert being written 
to stderr)
-- snip --
open("/home/b/.mutt/cert", O_WRONLY|O_APPEND|O_CREAT, 0666) = 5
fstat64(5, {st_mode=S_IFREG|0600, st_size=1123, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4032b000
fstat64(5, {st_mode=S_IFREG|0600, st_size=1123, ...}) = 0
_llseek(5, 1123, [1123], SEEK_SET)      = 0
close(5)                                = 0
-- snip --

And oops! My email-able address was in the snippet of .muttrc I included
with my first email. Oh well, it's only good for another year and a half 
at most, anyway. :-P

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.