Public bug reported: Binary package hint: apt-cacher-ng
If /var/run is mounted as tmpfs, apt-cacher-ng does not start on boot. The problem is line 37 of /etc/init.d/apt-cacher-ng: rm -rf "$RUNDIR" || return 1 That directory does not exist on boot, so the script fails before starting the daemon. I suggest replacing this line with: [ -d $RUNDIR ] && rm -rf "$RUNDIR" || return 1 Thanks! @@ron ProblemType: Bug Architecture: amd64 Date: Tue Aug 24 14:44:40 2010 DistroRelease: Ubuntu 8.04 Package: apt-cacher-ng 0.1.9-1 PackageArchitecture: amd64 ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/username/bin:/opt/slickedit/bin:/home/username/bin:/sbin:/usr/sbin:/usr/local/sbin:/home/username/bin LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: apt-cacher-ng Uname: Linux 2.6.24-28-generic x86_64 ** Affects: apt-cacher-ng (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug -- apt-cacher-ng init script does not work with tmpfs /var/run directory https://bugs.launchpad.net/bugs/623635 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs