Hi, Alex!

> > Running conntrackd in client mode (e.g. conntrackd -s) results this message:
> > "can't open config file `/etc/conntrackd/conntrackd.conf'"
> > 
> > It seems that program has a hardwired name of config file but its
> > path differs from one used by debian package.
> Sorry for coming back so later. Unfortunatly I can't reproduce the problem:

At this moment I have no lenny machine with conntrackd installed.
Our firewall runs squeze for a long time.

> But - yes conntrackd -s does indeed rely on /etc/conntrackd/conntrackd.conf, 
> but this file is shipped 
> with the debian package. 

I found on the firewall host that
- Package contains file /etc/conntrackd.conf. (Check "dpkg -L conntrackd".)
- /etc/init.d/conntrackd uses "-C /etc/conntrackd.conf" option
- /sbin/contrackd binary uses default config /etc/conntrackd/conntrackd.conf
- /etc/conntrackd/conntrackd.conf is a symlink to /sbin/contrackd and
  it was created by me the same day as I reported the problem.
- If I remove it I get the same error message

# strace conntrackd -s
[...]
brk(0x9105000)                          = 0x9105000
open("/etc/conntrackd/conntrackd.conf", O_RDONLY) = -1 ENOENT (No such file or 
directory)
write(2, "can't open config file `/etc/conn"..., 57can't open config file 
`/etc/conntrackd/conntrackd.conf'
) = 57
exit_group(1)                           = ?
# 

So IMHO hardwired string "/etc/conntrackd/conntrackd.conf" should
be changed to "/etc/conntrackd.conf" during packaging for convenience.

Regards

Gabor



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to