Le 07/05/13 20:07, sf...@users.sourceforge.net a écrit :
> Francois Goudal:
>> I just straced this as you suggested.
>> The failing call is :
>> open("/var/spool/squid/swap.state.new",=20
>> O_WRONLY|O_CREAT|O_TRUNC|O_APPEND|O_LARGEFILE, 0644) =3D -1
> Does it mean that your RO lower branch has
> /var/spool/squid/swap.state.new? Is it really necessary, or was it put
> into the lower branch by accident?
> Anyway it may not be a big problem...
>
Yes, I first install a normal Debian system, on a standard R/W rootfs, 
then I enable my changes to make it kinda read-only but writeable thanks 
to aufs.
So I installed squid while the system was still in normal R/W without 
aufs. And installing the squid debian package automatically creates a 
structure in /var/spool/squid.
So yes, the RO lower branch has the file (I think, at least, I don't 
have access to the platform right now, so I would have to check again 
later), but as you said, it shouldn't be a problem anyway, it should 
still be possible to open that file in write mode, and the changes to 
the file should be stored in the higher branch which is in RW (the tmpfs).

>> But it seems the problem is actually on the /var/spool file (or=20
>> directory, but that's a file too in the unix world), because when I do :
>> touch /var/spool/foo
>> I also get IO error.
>> But I only get it if I have tried to start squid before. If I boot my=20
>> system without starting squid, I can do all I want with all the files in=20
>> /var/spool. But then, if I start squid, I get this error, and this=20
>> screws up the entire /var/spool folder it seems.
> Hmm, does squid sets some status to the dir? But it doesn't explain the
> problem I am afraid...
>
>
I don't think it does. I can check more in details the strace as soon as 
I have access to the system again.

>> Do you need anything else from me in case you want to try to reproduce=20
>> the problem ?
> If you can, please apply this patch and reproduce the problem.
> The patch doesn't fix anything but prints some debug info. Please send
> me back the debug log.
>
Sure, I will do that. Unfortunately I'm off the rest of the week, so I 
won't be able to try this before next monday, but as soon as I have a 
chance to apply the patch and test, I'll let you know the outcome.

> J. R. Okajima
>
Thank's !


-- 

Francois GOUDAL
Product Development Manager
- Worldwide Service -
Tel:  +33 1 7003 1926
Mobile: +33 6 7550 6993
Fax:  +33 1 7003 1922
E-mail: f...@satcom1.com
Web:www.satcom1.com
Inmarsat ISP/PSA: 8422/3123
-- 

Satcom1 offers e-mail, internet, cell phone with SIP for your VIP on-board 
network. For more information contactsa...@satcom1.com

A proud member of EBAA, NBAA and MEBAA.



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

Reply via email to