Siduction Forum

Siduction Forum => Software - Support => Topic started by: df8oe on 2017/09/08, 16:17:13

Title: libreoffice file locking dauerhaft deaktivieren
Post by: df8oe on 2017/09/08, 16:17:13
Ich weiß, es ist kein Problem von Siduction oder Debian an sich. Aber vielleicht kennt ja jemand einen Trick...


Ich nutze libreoffice und habe diverse mounts auf nfs shares. Wenn ich das EXPORT SAL_ENABLE in der /usr/bin/libreoffice ausdokumentiere, läuft alles - bis zum nächsten Update. Und das kommt bei Siduction eben deutlich häufiger als bei anderen Distris. Danach wieder file locking auf "an" - das habe ich aber noch niemals zum Laufen bekommen - und damit muss ich libreoffice erneut editieren. Gibt es eine zentrale Stelle, die bei Updates nicht überschrieben wird, an der ich das dämliche file locking dauerhaft deaktivieren kann?


LG
df8oe
Title: Re: libreoffice file locking dauerhaft deaktivieren
Post by: bluelupo on 2017/09/08, 17:43:42
Hallo df8oe,

wenn das ein NFS-Problem ist zeig mal bitte deine fstab mit den NFS-Shares. Ich verstehe nicht ganz was die NFS-Mounts mit den Updates zu tun haben (welche Updates?).
Title: Re: libreoffice file locking dauerhaft deaktivieren
Post by: df8oe on 2017/09/08, 18:54:11
Hallo bluelupo,


Hier die relevante Zeile der fstab:


Code: [Select]
192.168.0.240:/home/pub                        /home/pub       nfs     auto,user,bg,retry=10,timeo=14 local_lock=all            0       0



Das mit den Updates ist ganz einfach:
Die Datei /usr/bin/libreoffice (das ist ein Script), die ich editiere, um das file locking abzuschalten, is Teil des libreoffice-Paketes. Wenn es ein Update für das Libreoffice-Paket gibt, wird sie mit der neuen Version überschrieben - und dort ist file locking wieder aktiviert.


LG
df8oe
Title: Re: libreoffice file locking dauerhaft deaktivieren
Post by: tommy2 on 2017/09/09, 10:30:32
That might be because it is a script, you should have a configuration file to prevent updates from over writing any changes to the startup script file for LibreOffice or any other program for that matter. That's what config files do, they allow you to keep your personal changes during program updates, at least that is what I would expect.




t2
Title: Re: libreoffice file locking dauerhaft deaktivieren
Post by: df8oe on 2017/09/09, 10:34:29
That was my first idea. There is a configuration file /etc/libreoffice/soffice.sh where you can disable file locking. But the setting is ignored.


Best regards
df8oe
Title: Re: libreoffice file locking dauerhaft deaktivieren
Post by: tommy2 on 2017/09/09, 15:51:25
What about starting LibreOffice you should have a listing to open a file or open a remote "network" file, I have not tried to setup using remote files as I have not had to in many years. But if it were me I would stop changing the script and just start LibreOffice and work with a remote file system, that's just my 2 cents worth.

t2