On Monday 24 Jan 2005 14:05, Jon Tyler wrote:
> On Monday 24 January 2005 08:24 am, Olivier Bornet wrote:
> > ...
> > File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line
> > 1112, in insert_request log.debug("Serving from cache for additional
> > client: " + self.local_file + " size:" + str(self.size))
> > exceptions.AttributeError: FetcherFile instance has no attribute 'size'
>
> Recently, I saw these when I added a new backend to apt-proxy. As I figured
> out, the problem is ownership of the cached files.
>
> Apt-proxy was creating the backend directory (/var/lib/apt-proxy/{backend})
> with owner root.root instead of aptproxy.nobody. Once I changed ownership
> of the directory and restarted apt-proxy, everything was fine.
Ouch, I wonder how that happened. Otavio recently fixed one problem with
file ownerships. Could you please let me know by filing a bug report if you
see this in the next version after it is released? The fixes are in CVS
currently.
Thanks
Chris
|