Control: severity 973883 normal Hallo, * Jean-Marc LACROIX [Fri, Nov 06 2020, 03:46:53PM]: > Package: apt-cacher-ng > Version: 3.2.1-1 > Severity: grave > > Dear maintainers, > > It seems there is one bad exit code issue (=0) when trying to start démon if > internal check is bad. (/etc/init.d/apt-cacher-ng start)
Yes. > ansible@srv-apt-cache-400:~$ sudo /etc/init.d/apt-cacher-ng start > [....] Starting apt-cacher-ng: apt-cacher-ngProblem creating log files. > Check permissions of the log directory, //var/log/apt-cacher-ng > failed! > ansible@srv-apt-cache-400:~$ echo $? > 0 > ansible@srv-apt-cache-400:~$ > > And, of course, this is true, because ... Yes. > ansible@srv-apt-cache-400:~$ sudo ls -altr /var/log/apt-cacher-ng > total 2 > drwx------ 2 root root 1024 Nov 6 14:34 . > drwxr-xr-x 8 root root 1024 Nov 6 14:52 .. So you have not installed it properly. Because you have some custom way of adding the filesystem components. This does not justify the grave severity. > Thanks in advance to correct this issue. In my use case, because i am using > Ansible to make deployment, it is then not possible to detect this bug > (because exit code = 0) in one automatic way So am I not sure what exactly you want to see fixed. Shall it start and go to degraded mode in this situation, rejecting all operations? Shall it start but run all downloads in pass-through mode (therefore hiding the problem, actually). Best regards, Eduard.