Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock files on NFS #264

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 3 comments
Closed

Lock files on NFS #264

GoogleCodeExporter opened this issue Apr 22, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

  I would like to change the location of lock files.
  Now the mozc creates the lock files under home directory. However it occurs a serious trouble for NFS users. Therefore I think that the lock files should be created, for example, under the /tmp directory on each host.


Original issue reported on code.google.com by yasu.sai...@gmail.com on 28 Dec 2014 at 3:39

@GoogleCodeExporter
Copy link
Author

Thank you for the report.  This is one of known issues and currently 
$HOME/.mozc/ is not designed to be shareable with NFS. To work around this 
limitation, you might be able to replace $HOME/.mozc/ with a symlink to a 
different directory that is mounted into a local device.

I agree that Mozc for Linux should work without any user action even if $HOME 
is in NFS, but we don't have any specific target date or milestone to make it 
happen.

Thank you for your understanding.

Original comment by yukawa@google.com on 30 Dec 2014 at 12:55

  • Changed state: VolunteersNeeded
  • Added labels: OpSys-Linux, Priority-Medium
  • Removed labels: Priority-Critical

@GoogleCodeExporter
Copy link
Author

  Yukawa-san, I thank you for your very quick and precise advice. Great !
  Until now, I have used properly mozc (on emacs) and anthy (on ibus). From now on, I can just use the mozc uniformly.

  I created /tmp/userName/.mozc and put .server.lock and .session.ipc, and made these symbolic links in ~/.mozc.
  Perhaps it is just enough to link the /tmp/userName/.mozc to the home directory, however I think that I can NOT use my user dictionary on each host, or it must be necessary to synchronize the dictionaries all the hosts.

  Again, thank you for your information.

Original comment by yasu.sai...@gmail.com on 31 Dec 2014 at 2:02

@GoogleCodeExporter
Copy link
Author

> it must be necessary to synchronize the dictionaries all the hosts.

I know some people are using some file-system level synchronization mechanisms 
such as NFS or dropbox to synchronize the user dictionaries and Mozc's settings 
among different machines.  That's nice, but please try it at your own risk.  It 
may or may not increase the risk of data corruption since we have designed Mozc 
so that basically only one process of mozc_server can update those files at the 
same time.  Of course, you can go beyond that assumption at your own risk, and 
it may or may not work, but again we haven't designed Mozc to be able to work 
appropriately when $USER/.mozc is shared among different machines and is 
accessed from different versions of mozc_server at the same time.

Hope this helps.

Original comment by yukawa@google.com on 31 Dec 2014 at 5:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants