Description of problem: In the spec file I can see that folders and files are created in apt-cacher-ng: permissions. Logrotate also expects files to be owned by apt-cacher-ng but the service itself runs as root and creates all files as root (logs/cached files). I think what it really needs is User=apt-cacher-ng under [Service] section in systemd's service file. I had to chown already created files but after that it seems to work and now lograte has also access to manage the log files. Version-Release number of selected component (if applicable): 3-1
apt-cacher-ng-3.1-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b102ccf86b
apt-cacher-ng-3.1-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bebcc57931
Verified: $ ps aux |grep apt-cacher-n[g] apt-cac+ 22141 0.0 0.0 581680 5140 ? Ssl 11:00 0:01 /usr/sbin/apt-cacher-ng -c /etc/apt-cacher-ng pidfile=/var/run/apt-cacher-ng/pid SocketPath=/var/run/apt-cacher-ng/socket foreground=0 $ sudo ls -alh /var/log/apt-cacher-ng/ total 16K drwx------. 2 apt-cacher-ng apt-cacher-ng 4.0K Jul 29 10:41 . drwxr-xr-x. 20 root root 4.0K Jul 29 10:40 .. -rw-r--r--. 1 apt-cacher-ng apt-cacher-ng 0 Jul 29 10:41 apt-cacher.err -rw-r--r--. 1 apt-cacher-ng apt-cacher-ng 7.2K Jul 29 11:12 apt-cacher.log Also, general features are working fine.
apt-cacher-ng-3.1-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-a36c012110
apt-cacher-ng-3.1-4.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-bebcc57931
apt-cacher-ng-3.1-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-a36c012110
apt-cacher-ng-3.1-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b102ccf86b
apt-cacher-ng-3.1-4.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
Re-opened. FC27 and FC28 fixed this issue, but EPEL7 still needs 1 more week till the fixed package was pushed. (This is just EPEL policy, not testing failure.) I will close this ticket once EPEL package was pushed.
apt-cacher-ng-3.1-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
apt-cacher-ng-3.1-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.