On Sun, Mar 8, 2009 at 12:17 AM, Tobias Powalowski <t.powa@gmx.de> wrote:
I get same thing when running as root. Do you have a var symlink in /usr? If so, that's why it works for you. I don't know what could be the problem as we already use --localstatedir=/var/lib/syslog-ng. Maybe there's a configure option for the location of the pid file. it seems i have such an old system that it still has this old symlink :D ok i'll fix it tomorrow
From filesystem 2009.01 pkgbuild : # fhs compliance ... (cd $startdir/pkg/usr; ln -s ../var var)
So most systems should have this symlink, but I also think it would be better to avoid using it. It seems weird to have usr/var/... files in a package while these files are going to end up in /var/ when installed.