Control: found approx/5.3-1

I've had the same problem in wheezy; I've tried to strace approx-gc

   # strace approx-gc --verbose
   setuid32(102)                           = 0
   stat64("/var/cache/approx", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
   open("/var/cache/approx",
   O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
   getdents64(3, /* 8 entries */, 32768)   = 272
   getdents64(3, /* 0 entries */, 32768)   = 0
   close(3)                                = 0
   stat64("/var/cache/approx/backports.29812.539622068", {st_mode=S_IFREG, 
st_size=0, ...}) = 0
   stat64("/var/cache/approx/backports.29812.539622068", {st_mode=S_IFREG, 
st_size=0, ...}) = 0
   write(2, "Not_found\n", 10Not_found
   )             = 10
   exit_group(1)

I noticed that in /var/cache/approx I had two empty, 000ed files:

   /var/cache/approx# ls -l
   total 16
   drwxr-xr-x 4 approx approx 4096 May  2  2012 backports
   ---------- 1 approx approx    0 Aug  7 12:48 backports.29812.539622068
   drwxr-xr-x 4 approx approx 4096 Oct  9 15:03 debian
   ---------- 1 approx approx    0 Aug  7 12:48 debian.29812.425041914
   drwxr-xr-x 4 approx approx 4096 May 11  2012 emdebian
   drwxr-xr-x 4 approx approx 4096 Oct 17  2011 security

removing those removed the problem, and as far as I can see approx-gc 
resumed working.

-- 
Elena ``of Valhalla''

Attachment: signature.asc
Description: Digital signature

Reply via email to