[Voyage-linux] Writing to /var
Wayne Lee
(spam-protected)
Wed Oct 2 15:50:19 HKT 2013
So you are writing to the root of /var or a directory within /var ?
Wayne
On 23 September 2013 17:33, Matthew Plumb <matthewpplumb at gmail.com> wrote:
> 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
>>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20131002/1fcf8719/attachment.html>
More information about the Voyage-linux
mailing list