fscd looking for configuration in the wrong place

Hi,

on two machines running 14.5 i suddenly get an error starting fscd:

Code:
fscd: Configuration file: /usr/local/usr/local/etc/fscd.conf, does not exist. Se
rvices need added manually.

the configuration file ist located at /usr/local/etc/fscd.conf, and it worked perfectly well. I don't see anything wrong in the rc-file.

What's going wrong?

Any help appreciated

Hanns
 
This appears to be a bug in the port build process. If you have ports installed, comment out the post-patch target in the Makefile and build/install the package.

Code:
#post-patch:
#    @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
#        ${WRKSRC}/fscd/fscd.8 ${WRKSRC}/fscd/fscd.c \
#        ${WRKSRC}/fscd/fscd.conf.5 ${WRKSRC}/fscadm/fscadm.c
 
My bad, the latest binary version is 1.3, but the lastest version in ports tree is 1.2 (2026Q4). Howether it's a problem with SYSCONFDIR in fscd.c.
You need to get the lastest port version:

sh:
cd /usr/ports
git checkout main
cd /usr/ports/sysutils/fsc

Comment out post-patch in the Makefile, then

sh:
make install
 
Back
Top