Hi,
this problem is remotely related to majordomo, but you might want to
add it to the FAQ (or not ...)
I put majordomo (1.94.4) in /home/mdom. There, I created a file "aliases".
newaliases now would now give me something like:
"Unsafe map file: Permission denied".
execve("/usr/bin/newaliases", ["newaliases"], [/* 31 vars */]) = 0
[...]
lstat("/home/mdom/aliases.db", 0xbfffe7c4) = -1 ENOENT (No such file or directory)
[ now , "lstat" returns -1, since this is a new aliases file ]
[ later it will: ]
stat("/home", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
stat("/home/mdom", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/home/mdom", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
fstat(1, {st_mode=S_IFREG|0644, st_size=29801, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400da000
^^^^
[ try to mmap the non-existing file ! ]
write(1, "hash map \"Alias0\": unsafe map "..., 73hash map "Alias0": unsafe map file /home/mdom/aliases: Permission denied
) = 73
so, you have to "touch /home/modm/aliases.db" before running "newaliases".
Also, do not forget to have the right permissions (daemon ...).
I hope this helps someone ... :-)
|
|