[exim] exim_dbmbuild in 4.90(.1) requires path to 2nd argume…

Top Page
Delete this message
Reply to this message
Author: Frank Richter
Date:  
To: exim-users@exim.org
Subject: [exim] exim_dbmbuild in 4.90(.1) requires path to 2nd argument
Hi,

I used to call exim_dbmbuild his way:    exim_dbmbuild /path/to/text-source 
target-file

Doing so in 4.90.1 leads to:

exim_dbmbuild: unable to create target-file.dbmbuild_temp: No such file or
directory

with strace exim_dbmbuild  /path/to/text-source  target-file

open("target-file.dbmbuild_temp/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=270, ...}) = 0
stat("target-file.dbmbuild_temp/target-file.dbmbuild_temp", 0x7fff11756230) = -1 ENOENT (No such file or directory)
stat("target-file.dbmbuild_temp/target-file.dbmbuild_temp", 0x7fff117562f0) = -1 ENOENT (No such file or directory)
stat("target-file.dbmbuild_temp/__db.target-file.dbmbuild_temp", 0x7fff11756130) = -1 ENOENT (No such file or directory)
open("target-file.dbmbuild_temp/__db.target-file.dbmbuild_temp", O_RDWR|O_CREAT|O_EXCL, 0644) = -1 ENOENT (No such file or directory)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f48f5233000
write(1, "exim_dbmbuild: unable to create "..., 85exim_dbmbuild: unable to create target-file.dbmbuild_temp: No such file or directory) = 85

Using a path for the target-file works:

/usr/sbin/exim_dbmbuild /afs/.tu-chemnitz.de/admin/mail/mailman/lists
./target-file
1200 entries written

Is this an intentional change?

It's on Scientific Linux 7 (Redhat 7) with the EPEL rpm.

Regards,
Frank Richter

--
Frank Richter
Chemnitz University, Germany