Commit graph

11 commits

Author SHA1 Message Date
Tor Lillqvist
a132e06409 Bin the non-preinit and non-fork code paths
Preiniting LibreOfficeKit and forking kit processes (instead of
spawning) has worked fine for a while, and has been the default way
this works.

No 'loolkit' program gets built any more.
2016-04-04 09:07:59 +03:00
Tor Lillqvist
d5292541bd Revert "Also chown the random devices to root:root and chmod to 666"
Not needed after all. It was a red herring. The device files work fine
even if not owned by root:root and with mode 664. The actual problem
was that I used a file system mounted with nodev when testing loolwsd.

This reverts commit 509314d559
2016-03-01 18:24:55 +02:00
Tor Lillqvist
29a3f58f1a The loolwsd program does not need any capabilities
So don't give it any then.

Remove the --uid option and related attempts to handle running loolwsd
under sudo, to be able to debug it. Now with loolwsd not having
capabilities, it should work fine to just run it under a debugger
normally. (For the loolbroker and loolkit processes, attaching to an
already started process is the way to debug.)
2016-02-29 14:13:19 +02:00
Tor Lillqvist
509314d559 Also chown the random devices to root:root and chmod to 666
Otherwise they won't work. Not that I know whether this helps
anything, really. At least the NSS crypto initialization still takes a
long time.
2016-02-29 12:15:22 +02:00
Andras Timar
a178d445cd loolwsd: setcap loolkit 2016-02-17 10:42:00 +01:00
Jan Holesovsky
f74db161dd loolwsd: Change the group too. 2016-01-08 09:25:21 +01:00
Jan Holesovsky
5aded99950 loolwsd: Cleanup child-roots in postinst (as we do in .rpm's too). 2016-01-08 09:25:21 +01:00
Jan Holesovsky
475436e66b loolwsd: Remove the cache content after installation.
The new versions may change the behaviour substantially, let's be on the safe
side.
2016-01-08 09:25:21 +01:00
Andras Timar
87554d1be9 Collabora Office as requirement 2015-10-30 13:19:45 +01:00
Andras Timar
289b8646d2 loolwsd: workaround postinstall script failure in docker environment 2015-08-31 12:29:29 +02:00
Tor Lillqvist
5b5a5489d5 Set up a lool user, group and systemd service on Debian, too 2015-08-06 20:10:04 +03:00