[Voyage-linux] Samba server on 0.6.5 with ro rootfs
Pierre-Yves Paulus
(spam-protected)
Tue Feb 15 19:49:37 HKT 2011
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
More information about the Voyage-linux
mailing list