prev
next
linux
FromIngo Juergensmann2:2452/413.0Date Write2017-09-18 00:34:09
ToKees van Eeten0:0/0.0Date Arrived2017-09-18 02:40:23
Subjifcico segfaults when started
Attr
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)