Your message dated Wed, 17 Jun 2015 17:03:33 +0000 with message-id <[email protected]> and subject line Bug#786661: fixed in apt-cacher 1.7.11 has caused the Debian Bug report #786661, regarding apt-cacher: Does not work in inetd mode - fails to create /var/run/apt-cacher to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 786661: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786661 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-cacher Version: 1.7.10 Severity: serious Justification: Policy 9.1.4 In inetd mode apt-cacher is run as www-data user, who does not have permission to create /var/run/apt-cacher directory. This makes apt-cacher die() in /usr/share/apt-cacher/lib/apt-cacher.pl:429: foreach my $dir (@dir) { if (!-d $dir) { warn "Info: $dir missing. Doing mkdir -p $dir\n"; File::Path::make_path($dir, {user => $uid, group => $gid}) || die "Unable to create $dir: $!"; } Debian Policy 9.1.4 suggests that the directory should be created via init script instead: The directory /run is cleared at boot, normally by being a mount point for a temporary file system. Packages therefore must not assume that any files or directories under /run other than /run/lock exist unless the package has arranged to create those files or directories since the last reboot. Normally, this is done by the package via an init script. See Writing the scripts, Section 9.3.2 for more information. Packages must not include files or directories under /run, or under the older /var/run and /var/lock paths. The latter paths will normally be symlinks or other redirections to /run for backwards compatibility. Regards, robert -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (200, 'testing') Architecture: i386 (i686) Kernel: Linux 3.16-3-686-pae (SMP w/1 CPU core) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages apt-cacher depends on: ii debconf [debconf-2.0] 1.5.56 ii ed 1.10-2 ii libdpkg-perl 1.17.25 ii libfilesys-df-perl 0.92-5+b1 ii libfreezethaw-perl 0.5001-1 ii libio-interface-perl 1.07-2+b1 ii libipc-shareable-perl 0.61-1 ii libnetaddr-ip-perl 4.075+dfsg-1+b1 ii libsys-syscall-perl 0.25-2 ii libwww-curl-perl 4.17-1+b1 ii libwww-perl 6.08-1 ii lsb-base 4.1+Debian13+nmu1 ii perl 5.20.2-6 ii ucf 3.0030 ii update-inetd 4.43 Versions of packages apt-cacher recommends: ii libberkeleydb-perl 0.55-1 Versions of packages apt-cacher suggests: ii libio-socket-inet6-perl 2.72-1 -- Configuration Files: /etc/apt-cacher/apache.conf changed [not included] /etc/apt-cacher/apt-cacher.conf changed [not included] /etc/cron.d/apt-cacher changed [not included] /etc/default/apt-cacher afc7a4b065275465c1eeb5a09c985bde [Errno 2] Nie ma takiego pliku ani katalogu: u'/etc/default/apt-cacher afc7a4b065275465c1eeb5a09c985bde' -- debconf information: * apt-cacher/mode: inetd
--- End Message ---
--- Begin Message ---Source: apt-cacher Source-Version: 1.7.11 We believe that the bug you reported is fixed in the latest version of apt-cacher, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mark Hindley <[email protected]> (supplier of updated apt-cacher package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 09 Jun 2015 09:28:35 +0100 Source: apt-cacher Binary: apt-cacher Architecture: source all Version: 1.7.11 Distribution: unstable Urgency: low Maintainer: Mark Hindley <[email protected]> Changed-By: Mark Hindley <[email protected]> Description: apt-cacher - Caching proxy server for Debian/Ubuntu software repositories Closes: 760141 782126 785681 786661 Changes: apt-cacher (1.7.11) unstable; urgency=low . * Add Ubuntu codenames 15.04 (vivid) and 15.10 (wily). * Fix apt-cacher-import.pl in copy mode so that a valid Content-Length header is generated. Patch from Pip Cet (closes: #782126). * Correctly detect and handle EOF in ssl_proxy() (closes: #785681). * Upgrade Standards Version to 3.9.6. No changes. * Create /var/run/apt-cacher in init script for CGI/inetd mode (closes: 786661). * Verify existence (or create) /var/run/apt-cacher in apt-cacher-cleanup.pl (closes: #760141). * Automatically reap forked processes in apt-cacher-cleanup.pl. Checksums-Sha1: 6ae92d122a151df06ec7e20c95317c5e7451de0b 1446 apt-cacher_1.7.11.dsc fb1e0a2c9dcd6ee07f7cd290a09b100699906419 97644 apt-cacher_1.7.11.tar.xz 02774a505b6e8129179ebb6ab144671edef17699 101376 apt-cacher_1.7.11_all.deb Checksums-Sha256: 04b168e1fdc95bb5ebe980ab093a2a49e51d849e23209fa6afb96c345e0f5399 1446 apt-cacher_1.7.11.dsc 5141e9c9d773d12006edfbeb4219daa3ffea98109d33148ae27c6c6050eee005 97644 apt-cacher_1.7.11.tar.xz 9192584243231074cca65e4a4791bb13e438d89cff8f849601bc404140bab313 101376 apt-cacher_1.7.11_all.deb Files: ce9450a8a41d69c0ab38d2a718d0c899 1446 net optional apt-cacher_1.7.11.dsc edc7c5bfb6677671764ba5504e68da79 97644 net optional apt-cacher_1.7.11.tar.xz 81e1e3ba803a5f8ca7aa9bb08eea54b6 101376 net optional apt-cacher_1.7.11_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBVYGjlml0DlyzX+w8AQhrHg//W4c+4sg/QozaN2EfuJ3Al4bxsTvojtzm L4mxGQ6hPNJC0e6WbeACQhCuIBwE2yNkISItTrf+lQcsJBOCjF9L5eGKJZ3K1bSg FMKOSBtIuoorvn/Vn93kmLJHvKvEnZBeirMs2l7Hu/sCwTDhzFRuVrcRlvx4JeuK UYN6lQAPCXKQs4xg+NJvZ8l3S35GSJNahI5mjUlkoIgvIYDZmR1iAggGX1UuG9Sd zWRQ0J1b5foEURXRcduiK7dxgeHT4OiqiY4wWTEw0g23vtEfbkGSy7FdaFhA70d9 dBN0R1J9XhNytGe+R4q/Iolkk5UXWpMZoVGu31boLgnjvVnBJKeLdWw5Vafr7f+Z gy4y0rVEqycJSCZQfNDh4JOplbvtx/rVHXCpbRU+/qtrGjGG65T7RWg8+kLMgX3n z4wxqzX/gdJ1ZPWzeeNcr20LOsPaVYTgL3w7iri9wmGNYKcyPioMFaSGuBr2meqG xpopmuF6SiY8M/lpFDdMOnWze768WElUUzeQ5kCyPM0CugA6EKasUmSH6WrJ/L/U ZNh8K6LkmHjOPFxbGM9RJfwb3stRRR7eRGIr21JqJ2Os3fycUlALarGJUdOrr9ns /O24P+/k6OfL2zOJoWe0Zd/2IYYjwDXmg8JVk2MpUYpI/aRk06Kedc7miY2kOWmV UMYNzSEn4no= =WcPX -----END PGP SIGNATURE-----
--- End Message ---

