[Voyage-linux] Writing to /var
Matthew Plumb
(spam-protected)
Tue Sep 24 00:33:24 HKT 2013
Here's what i did to fix this:
- modified /etc/init.d/voyage-sync to remove /var/tmp and /var/log from
directories that are always synced
- added 'var' as sync directory in /etc/default/voyage-util
- moved /var/cache to /rovar/cache and /var/lib to /rovar/lib since these
directories are large and i don't need them writeable.
- created symbolic links : ln -s /rovar/cache /var/cache, ln -s /rovar/lib
/var/lib
I still had an issue where it was writing over my symlink. This turned out
to be some stuff in the /ro folder that was overwriting on startup. I
deleted the contents of the ro folder.
Now everything works great and my var folder syncs.
Matt
On Sat, Sep 21, 2013 at 5:22 PM, Matthew Plumb <matthewpplumb at gmail.com>wrote:
> Hi All,
>
> I have an application that i want to install on voyage linux that
> absolutely must write to /var in order to function. The application is
> pwrstatd for monitoring a ups.
>
> Now i know that voyage by default configures sync directories of var/log
> and var/tmp. When i tried to add /var to the rw directories this destroyed
> my var directory and apt-get no longer works.
>
> Any ideas on how i can get this to work?
>
> Thanks,
>
> matt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20130923/bc12fd50/attachment.html>
More information about the Voyage-linux
mailing list