[Pkg-systemd-maintainers] Bug#720215: apt-cacher-ng: /var/run/apt-cacher-ng should be created using tmpfiles mechanism
Laurent Bigonville
bigon at debian.org
Mon Aug 19 19:28:35 BST 2013
Package: apt-cacher-ng
Version: 0.7.17-1
Severity: normal
Hi,
The /var/run/apt-cacher-ng directory should be created using tmpfiles
mechanism instead of creating it using ExecStartPre in the service file.
To do so you should install a file (apt-cacher-ng) with the following
line under the /usr/lib/tmpfiles.d/ directory:
d /var/run/apt-cacher-ng 0755 apt-cacher-ng apt-cacher-ng - -
For more information, see tmpfiles.d(5) manpage.
Cheers
Laurent Bigonville
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-cacher-ng depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.50
ii dpkg 1.17.1
ii init-system-helpers 1.8
ii libbz2-1.0 1.0.6-5
ii libc6 2.17-92
ii libgcc1 1:4.8.1-9
ii liblzma5 5.1.1alpha+20120614-2
ii libstdc++6 4.8.1-9
ii libwrap0 7.6.q-24
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages apt-cacher-ng recommends:
ii avahi-daemon 0.6.31-2
ii ed 1.9-2
ii perl 5.14.2-21
Versions of packages apt-cacher-ng suggests:
ii curl 7.32.0-1
pn doc-base <none>
ii libfuse2 2.9.2-4
ii wget 1.14-2
-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed [not included]
/etc/apt-cacher-ng/backends_debian changed [not included]
/etc/apt-cacher-ng/security.conf [Errno 13] Permission non accordée: u'/etc/apt-cacher-ng/security.conf'
-- debconf information excluded
More information about the Pkg-systemd-maintainers
mailing list