[Voyage-linux] 'var' directory : I'm very confused
Kim-man "Punky" TSE
(spam-protected)
Sun Jun 11 23:45:48 HKT 2006
Roberto,
Since /var/log reside in /rw, all your changes in /var/log will not be
preserved after reboot. There are two ways to resolve:
1. After apt-get install, copy /var/log/squid back to /ro; or
2. In /etc/voyage.conf, add /var/log/squid in VOYAGE_SYSTEM_SYNCDIRS.
Look at /etc/init.d/voyage-util, you will get the hint how to disable
remountro.
- Punky
Roberto wrote:
> I install squid. Squid creates the /var/log/squid directory. I reboot
> voyage linux. /var/log/squid directory (and files contained in it) no
> more exists, and squid doesn't start anymore.
> What is the problem? Why voyage linux deletes the /var/log/squid
> directory at each reboot?
> Furthermore, I want to keep my access.log file for a number of days: I
> don't want this file be deleted at each reboot.
> Another question : why voyage linux always starts 'read only' ? Can I
> schedule the 'remountrw' command at each boot? This is not for my
> comfort, I only want to be sure that a daemon or a program can write
> where it needs to write.
>
> Sorry for my bad english, I hope you can understand my problems :-)
>
> Thank you in advance
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Regards,
Punky
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.2 is released!
Store - Senao NMP-8602 Plus (400mW) is now in stock!
More information about the Voyage-linux
mailing list