The net-analyzer/pmacct-0.12.5 ebuild installs ``pmacctd.conf`` in ``/etc``, but the default configuration for the ``pmacctd`` init script looks for the configuration file at ``/etc/pmacct/pmacctd.conf``. Reproducible: Always Steps to Reproduce: 1. emerge -av pmacct 2. rc-service pmacctd start Actual Results: ``pmacctd`` fails to start with the following error:: * You need an /etc/pmacct/pmacctd.conf file to run pmacctd Expected Results: ``pmacctd`` should have started with the default configuration
Odd, that. It worked for Marcin Mirosław in bug #306837).
(In reply to comment #1) > Odd, that. It worked for Marcin Mirosław in bug #306837). > I'm sure he manually placed a ``pmacctd.conf`` in the new directory. The ebuild certainly doesn't create one:: $ equery files net-analyzer/pmacct-0.12.5 | grep pmacctd.conf /etc/pmacctd.conf
+ 30 Jul 2011; Patrick Lauer <patrick@gentoo.org> +pmacct-0.12.5-r1.ebuild: + Config file location fix for #354649 init script pointed at different path, so I changed the location of the config file. Hope that's ok for everyone ...