[Voyage-linux] Comments about 0.6.2 and /rw /ro replacement by aufs a good idea? I don't think so ...

Kim-man 'Punky' TSE (spam-protected)
Thu Aug 20 13:10:53 HKT 2009


Hi Beat,

Beat Meier wrote:
> State is listed bad ...
>  dpkg -l | grep -v ^ii
> ->
> rc  file                               4.26-1                         
> Determines file type using "magic" numbers
> rc  libmagic1                          4.26-1                         
> File type determination library using "magic
> rc  live-initramfs                     1.156.1+1.157.2-1              
> Debian Live initramfs hook
> rc  sudo                               1.6.9p17-2                     
> Provide limited super user privileges to spe
> rc  user-setup                         1.23                           
> Set up initial user and password
>
> I don't know which of this realy are in use (or some part of this) so 
> please consider to
> either install agin or to delete the package.
I've traced the build logs and saw these packages are installed but 
somehow they are automagically removed in the later stage of the build 
process without any hints.  I am now tracing when they are deleted.

> The whole timezone stuff (/usr/share/zoneinfo) of package tzdata was 
> deleted...
> Is this the right way?
Thanks for reporting.  It is caused by one of the hook script remove 
/usr/share/zoneinfo. 
    
http://svn.voyage.hk/repos/voyage/branches/voyage-live/0.6.2/config/chroot_local-hooks/099-voyage
I have corrected this.
    
http://svn.voyage.hk/repos/voyage/trunk/voyage-live/config/chroot_local-hooks/099-voyage

The workaround is to reinstall tzdata (apt-get install --reinstall tzdata).
> Now the worst thing (at least for me :-)):
> I've noticed (and read in changelog) that /rw /ro was replaced by 
> /var/log and /var/tmp with aufs
> and that /rw and /ro are no more in use.
It's not aufs as of 0.6.2.  It is tmpfs as 0.6.2 default.
> I think this is a very bad idea.
> To replace /var/log /var/tmp is a good idea BUT you should leave the 
> conecpt of /ro and /rw
> For example there are a lot of packages which needs rw access at 
> runtime in other places
> of /var like
>  pdnsd : /var/cache/pdnsd
>  dhcp3-server : /var/lib/dhcp3
>  mrtg: /var/lib/mrtg
> and may more.
See release announcement 0.6.2.  http://linux.voyage.hk/?q=node/41
You can define these rw directories to VOYAGE_SYNC_DIRS in 
/etc/default/voyage-util.
The problem with ro/ rw/ is that when you install new packages, the new 
files created somewhere under /var/ is lost after reboot, and you need 
to carefully and manually create the symlink in /ro to /rw
> as also the whole home dir of users which you want for example save 
> the .ssh keys
> while the machine is up ...
> I now you can link to /var/tmp but I think this is not the right way
> I must say I don't know aufs well.
> I can add dirs in voyage-sync but thats not the solution to the above 
> problem, or is it?
You can add $HOME/.ssh to VOYAGE_SYNC_DIRS.  The only deficiency is that 
it does not work for a single file.
>
> If the /rw /ro stuff really will be disabled please post a not how the 
> users can enable this if it want.
> Of what is the solution to the above problem with aufs.
/rw and /ro was removed since 0.6.0, and there is no plan to bring this 
back.  If the above solution does not work for you, please let me know 
what situations need voyage linux to support.  The /ro and /rw 
replacement has been discussed in the list during the course of VL 0.6 
developement.
>
> Thanks a lot and Greetings
>
> Beat
>
> PS: Voyage homepage is down at the moment so I can not search for more 
> infos ...
Yes, there was a in the cable modem, it was fixed.

-- 
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
  - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
  - Network Engineering, Development Platform and Consultation
  
	





More information about the Voyage-linux mailing list