|
From: Olivier B. <Oli...@pu...> - 2005-01-25 08:23:31
|
Hi Jon,
On Mon, Jan 24, 2005 at 09:05:16AM -0500, 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'
> >
>=20
> Recently, I saw these when I added a new backend to apt-proxy. As I figur=
ed=20
> out, the problem is ownership of the cached files.
>=20
> Apt-proxy was creating the backend directory (/var/lib/apt-proxy/{backend=
})=20
> with owner root.root instead of aptproxy.nobody. Once I changed ownership=
of=20
> the directory and restarted apt-proxy, everything was fine.
It's maybe related. I also have see strange ownership for some
directories.
Is it correct to put all the directories/files under
/var/cache/apt-proxy owned by aptproxy ?
(on my setup, it's /var/cache/apt-proxy, not /var/lib/apt-proxy).
Good day.
Olivier
--=20
Olivier Bornet | fran=E7ais : http://puck.ch/f
Swiss Ice Hockey Results | english : http://puck.ch/e
http://puck.ch/ | deutsch : http://puck.ch/g
Oli...@pu... | italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/
|