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

Bug#2464: Pine not setgid, cannot lock mailbox, statically linked



Package: pine
Version: 3.91-5

Peter Benie, one of my users, reports:
> I get the following errors when starting Pine on chiark:
> Upon startup...
>    [Error saving configuration in file "/u2/pjb1008/.pinerc": Unknown error]

I don't know what this is.

> Opening Inbox...
>         [Error creating /var/spool/mail/pjb1008.lock: Unknown error -1]

This is probably due to its lack of setgidness.

> Pine, as usual, gives error messages that are useless for both naive
> users and expert users.
>
> The permissions of .pinerc are:
> -rw-rw-r--   1 pjb1008  pjb1008      5952 Mar  2 23:24 .pinerc
> but I haven't touched it recently anyway. (I wonder why it writes to my
> .pinerc at all?)
>
> df gives:
> /dev/sdb3              86249   50580    31215     62%   /u2
> so that's not the problem.
>
> I also notice that the Pine binary is dated Mar 2 and it's huge  - about
> 240K larger than myrddin's version. [Both versions are apparently 3.91]

It seems like it's statically linked against libc (junk/pine was
copied from 3.91-5's /usr/bin/pine):
-chiark:~> file junk/pine
junk/pine: ELF 32-bit LSB executable, Intel 80386, version 1
-chiark:~> ldd junk/pine
        libncurses.so.3.0 => /lib/libncurses.so.3.0
-chiark:~>

Was this release tested at all ?  Back to 3.91-3.

Ian.


Reply to: