[Voyage-linux] Re: Samba & Voyage 6.5

Michael Fung (spam-protected)
Mon May 10 14:15:37 HKT 2010


For 0.6.2, you can use apt-get to install the stock samba package from 
debian repository, and then  move /var/lib/samba to tmpfs, and create a 
symlink to it. Like:

  mv /var/lib/samba /var/tmp/samba
  ln -s /var/tmp/samba /var/lib/samba

No need to fiddle with scripts, the voyage scripts will take care of keeping 
it from reboots. Now you can keep the root fs read only.
Rgds,Michael----- Original Message ----- 
From: "maverick" <jrector at spsu.edu>
To: <voyage-linux at voyage.hk>
Sent: Monday, 10 May, 2010 8:57 AM
Subject: [Voyage-linux] Re: Samba & Voyage 6.5




Petr Bartoň wrote:
>
> The only bad think is that samba needs RW in some folders and you should
> make them RW. Its /var/lib/samba, /var/cache/samba and file
> /etc/samba/smbpasswd. I dont know the best way to do it on voyage 0.6.5,
> but on Voyage 0.6 i add folders to voyage-sync  script at /etc/init.d....
>

How would I go about adding folders to that script? exactly where do I add
them?

btw, I have 0.6.5 and smbpasswd is found in /usr/bin/ I dunno if that makes
a difference.

Are these the only files I need to add to that script? Is there anything
else I need to do?

Thanks,
Mav
-- 
View this message in context: 
http://voyage-linux.34677.n3.nabble.com/Samba-Voyage-6-5-tp441406p787997.html
Sent from the Voyage Linux mailing list archive at Nabble.com.

_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux 





More information about the Voyage-linux mailing list