Hallo,
* M G Berberich [Sun, Dec 07 2014, 08:09:29PM]:
> Package: apt-cacher-ng
> Version: 0.8.0-3
> Severity: normal
> 
> Dear Maintainer,
> 
> with systemd apt-cacher-ng no longer works. The daemon no longer
> automatically starts.

> -- Unit apt-cacher-ng.service has begun starting up.                          
>                   
> Dec 07 19:56:29 hermione systemd[1]: apt-cacher-ng.service start request 
> repeated too quickly, r
> Dec 07 19:56:29 hermione systemd[1]: Failed to start Apt-Cacher NG software 
> download proxy.     
> -- Subject: Unit apt-cacher-ng.service has failed                             
>                   
> -- Defined-By: systemd                                                        
>                   
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel       
>                   
> --                                                                            
>                   
> -- Unit apt-cacher-ng.service has failed.                                     
>                   
> --                                                                            
>                   
> -- The result is failed.                                                      
>                   

And what does /var/log/apt-cacher-ng/apt-cacher.err contain?

> Dec 07 19:56:29 hermione systemd[1]: Unit apt-cacher-ng.service entered 
> failed state.           
> ---------------------------------------------------------------------------
> 
> Starting the deomaon by hand with
> 
>   /usr/sbin/apt-cacher-ng -c /etc/apt-cacher-ng
> 
> does work.

a) jeez, why? you will mess up your file permissions when you call it
like this running as root or as another user with too many permissions

b) wrap this through "sudo -u apt-cacher-ng" (from root shell)

c) add other parameters from the service file, see
/lib/systemd/system/apt-cacher-ng.service for details.

Regards,
Eduard.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to