TIP: Click on subject to list as thread! ANSI
echo: linux
to: KEES VAN EETEN
from: INGO JUERGENSMANN
date: 2017-09-18 00:32:00
subject: ifcico segfaults when sta

   Hello Kees!

17 Sep 17 22:04, you wrote to me:

 IJ>> # /usr/lib/ifmail/ifinfo 2:2452/413
 IJ>> globals set in rdconfig:
 IJ>> verbose:    18446744073709551615
 IJ>> logname:    /var/log/ifmail/iflog
 IJ>> errname:    /var/log/ifmail/iflog
 IJ>> debugfile:  /var/log/ifmail/ifdebug
 IJ>> configname: /etc/ifmail/config
 IJ>> configtime: Wed Sep 13 07:42:55 2017
 IJ>> Segmentation fault
 KE>  It is a long time since I installed IFMAIl, when I try it now, get no
 KE> output or a segfault when I set a debug level. Apparently I do not use
 KE> ifinfo.

Well, I was playing around with it to find out if it is a config problem or
anything else that causes the crashes of ifcico or if it is just ifcico alone
that is crashing. My finding so far: it is not just ifcico... ;-)

 KE>  Apparetly ifcico is not authorised to create the needed directories.
 KE>  There should be a /var/spool/ directory and in /var/spool/ a
 KE> directory ftn owned by user  ftn
 KE>  Take it step by step.

Well, of course it is readable by user ftn:

root@ax:~/temp# ls -l /var/spool/
total 12
drwxrwxr-x+ 24 ftn         ftn         4096 Sep 10 14:46 ftn

Even more it is configured to use setfacl:

# getfacl /var/spool/ftn/
getfacl: Removing leading '/' from absolute path names
# file: var/spool/ftn/
# owner: ftn
# group: ftn
user::rwx
user:ftn:rwx
group::r-x
group:ftn:rwx
mask::rwx
other::r-x
default:user::rwx
default:user:ftn:rwx
default:group::r-x
default:group:ftn:rwx
default:mask::rwx
default:other::r-x

Husky & binkd are using /var/spool/ftn without any problems, so I don't think
it's a file permission thing, because when using sudo -u ftn
/usr/lib/ifmail/ifinfo it is still segfaulting...

Ingo


--- GoldED+/LNX 1.1.5--b20170303
* Origin: AmigaXess - back in FidoNet after 17 years (2:2452/413)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.