[Voyage-linux] Samba server on 0.6.5 with ro rootfs
Pierre-Yves Paulus
(spam-protected)
Tue Feb 15 21:46:47 HKT 2011
I just tried to do it again, this time following closely what stands in
the README:
remountrw
apt-get install samba
/etc/init.d/samba stop
mv /var/lib/samba /ro/var/lib/samba
ln -s /rw/var/lib/samba /var/lib/samba
fastreboot
It doesn't work any better... Hints welcome!
Pierre-Yves
On 02/15/2011 12:49 PM, Pierre-Yves Paulus wrote:
> Hello,
>
> I'm in the process of setting up a system based on an ALIX board with
> Voyage Linux 0.6.5.
>
> The system is installed just fine, but I'm having trouble to get a samba
> server up and running without having to switch the root fs to rw, which
> I do not want to.
>
> The files to be served are on a tmpfs, and they do not need to persist
> between reboots, so that's not a problem.
>
> Following info posted there by Michael Fung:
> http://voyage-linux.34677.n3.nabble.com/Samba-amp-Voyage-6-5-td441406.html
>
> What I did is
>
> remountrw
> apt-get install samba
> mv /var/lib/samba /var/tmp/samba
> ln -s /var/tmp/samba /var/lib/samba
> fastreboot
>
> And it doesn't work: /var/tmp/samba doesn't survive a reboot, once moved.
>
> From what I understand, samba needs rw access to /var/lib/samba all the
> time, and it was the point in moving it above. But it doesn't seem to
> work (at least in 0.6.5).
>
> How can that be achieved without switching the whole fs to rw?
>
> Thanks a lot in advance,
> Best Regards
> Pierre-Yves
>
> _______________________________________________
> 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