Commit graph

82 commits

Author SHA1 Message Date
Andras Timar
0392facc6b Bump packaga version to 21.11.3.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I315b7d74bfe09f0820068dc7ca36960d024c492b
2022-03-23 16:42:48 +01:00
Andras Timar
a96c224281 Bump package version to 21.11.3.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5cf03151cf77b9f6031e42c61713f4b3acf4e9e8
2022-03-21 21:48:43 +01:00
Andras Timar
1722c16322 Bump package version to 21.11.3.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibc7996de501f8c36c698c6108e8c7d66b42a96e3
2022-03-16 15:48:19 +01:00
Andras Timar
4bd6b39f71 Bump package version to 21.11.3.0
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id6f82770ecc91c17d9e1df3002150f090ad67575
2022-03-15 18:45:10 +01:00
Andras Timar
7e724aa5ab Bump package version to 21.11.2.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2726ea5155c08eabeeddde4f68b6c4a200210985
2022-03-01 22:49:00 +01:00
Andras Timar
5c0f255a6e Bump package version to 21.11.2.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3d5ddfd48f79146538daf057163fdd801551f412
2022-02-28 16:42:21 +01:00
Andras Timar
2c458b1e28 Bump package version to 21.11.2.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iaf1b0e6707c383385c2edc298de134fd035c23c7
2022-02-19 23:41:43 +01:00
Andras Timar
86a3d53b7a Bump package version to 21.11.2.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5ab6ef7a5ff1fdf49b57cc475b8f5bdaedf1422a
2022-02-14 22:16:18 +01:00
Andras Timar
3464b2f932 Bump package version to 21.11.2.0 (debian/changelog)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I25bd500f433e9bf44f0be2e191a3378439d828fa
2022-02-10 10:26:39 +01:00
Andras Timar
93638212b0 Bump package version to 21.11.1.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib19d64db430d40a7a17cdce3e14e4ad2c398cde7
2022-01-25 20:37:02 +01:00
Andras Timar
17e60c1ae4 Bump package version to 21.11.1.3 (final?)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I96f3ed44bfeae4fceeb8fce2a37ad781721244e1
2022-01-21 12:25:29 +01:00
Andras Timar
9964c986fe Bump package version to 21.11.1.2 (RC3)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If5fe10f402876ca51cf0ce6fc501904ef58bf9ef
2022-01-21 12:25:29 +01:00
Andras Timar
99dfc090cd Bump package version to 21.11.1.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4c676fdd577e5217acb636be08f993f70ca7808c
2022-01-21 12:25:29 +01:00
Andras Timar
3783bb1fa8 Bump package version to 21.11.1.0-1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I37accbcf5b4313af6df29629795ae0c706a029c6
2022-01-21 12:25:29 +01:00
Andras Timar
c3077012ad check for existence of old config file before config migration
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia2db31f47efc8e130cccd915b7a3de5c10265d40
2022-01-18 07:44:47 +01:00
Andras Timar
53fbdfd5a2 automatically migrate old config during package upgrade (6.4 -> 21.11)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I76d06ca68dbb7e62fd4f5e31215d4ba3f753dce9
2022-01-17 21:07:37 +01:00
Andras Timar
1e92cc5cff update debian changelog
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I15fce116afcba545e91903a34ae8b1232ffffb10
2021-12-16 15:49:24 +01:00
Andras Timar
15dc78e4b3 Bump package version to 21.11.0.5
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0d1256f90d6454a4592d8998f0fb7d455b4acfa2
2021-12-03 14:16:40 +01:00
Andras Timar
08b7734025 Bump package version to 21.11.0.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icf24d2d378f75a7ea588617fa04528ab4d3878ae
2021-12-02 16:17:49 +01:00
Andras Timar
c8104d73ea Bump package version to 21.11.0.3 (RC3)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I84614e898b19bfc4fa68e204a3aafef658b333e9
2021-11-24 22:03:39 +01:00
Andras Timar
c95afc5fc0 Bump version to 21.11.0.2 (RC2)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5923ded1e1ae35172268fddbaff94966858c036e
2021-11-19 21:29:51 +01:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Andras Timar
504c05df3b rename: loolwsd-systemplate-setup -> coolwsd-systemplate-setup
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I699db87f94f9080909c2ca783e04ad8b4dd98025
2021-11-17 22:10:58 +01:00
Andras Timar
bf5bce7669 rename: loolwsd-generate-proof-key -> coolwsd-generate-proof-key
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3aa30ce4e5f6df2068fa2e0788034e83cb0ae26b
2021-11-17 22:06:34 +01:00
Mert Tumer
c9a4d2f6f3 rename: loolmount -> coolmount
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ic025c5a76c6f27cdf1a6267f24cf8052733f1f24
2021-11-17 21:51:05 +01:00
Henry Castro
cc8a84af60 config: rename 'lool' -> 'cool'
.
Change-Id: I13596547abac424482096a9af13c6785a8e2b897
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:19:04 +01:00
Henry Castro
f793eab2e3 distro: more renames 'lool' -> 'cool'
Change-Id: I281270d36293bc16688f016ddcb2f3187aa03fea
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:34 +01:00
Henry Castro
b672f2f5f4 distro: rename 'lool' -> 'cool'
Change-Id: I07ed54446a4776c76213191000385441e3118001
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:23 +01:00
Mert Tumer
81f61c8073 rename: loolforkit -> coolforkit
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I1de688dce4b068bff35451604486b72ecc8c91d4
2021-11-16 21:02:24 +01:00
Andras Timar
ff528a729f Update debian/copyright
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If4fd4313e73dab4aaca3e1a1717115d2dfcc2cac
2021-11-11 22:56:53 +01:00
Andras Timar
a8bb765eaf Bump version to 21.11.0.1 (RC1)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5c2ec902a507e3ffbc8c219f2b4e79bc8e2fedcb
2021-11-11 16:26:06 +01:00
Andras Timar
5b65812e92 Bump package version to 21.11.0.0-1 (beta1)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2c257a29b7fb822d12fe98b7649e032041a0af79
2021-10-26 14:18:58 +02:00
Andras Timar
a894f87f73 Bump package version to 21.06.2.0-1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6c59902f7065f2ff92ce12abcd9548cc3d64a66f
2021-10-14 16:00:48 +02:00
Andras Timar
9c13d880ec we may need collaboraofficebasis6.4-math for displaying formulas in documents
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1443e26d237ddf480970da01790b011fc4e0ebd4
2021-09-22 19:38:25 +02:00
Andras Timar
dddfd415ec Fix Debian dependency on dh-systemd
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I366c94b4328c97972efc276da20846c3a7c7d4a7
2021-08-16 13:58:52 +02:00
Andras Timar
d714f1bb34 deb: revert systemplate compatibility checks, they don't work well in postinstall script
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4cad095d167e56ceadf83fc7c7ade222da36a5b1
2021-05-18 15:39:56 +02:00
Andras Timar
aa7797cb7b deb: do not display error message when user removes loolwsd package
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8d4d05f1e99ad80ac5fff6325ef515d96d0ca764
2021-05-18 15:39:12 +02:00
Andras Timar
85bda6dc11 deb: compatibility with older systemd versions
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3a4b168cb72ff400cd6b921f0305808eef0420d9
2021-05-17 15:50:02 +02:00
Andras Timar
3c1767b290 LOKit's installation path does not contain version number any more
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If3ae865f1d19ccba2a13c4c31faa7aff8274d34b
2021-05-04 13:14:15 +02:00
Andras Timar
41c5cddc3d forward port packaging bits to master branch
The next version of Collabora Online will be version 2021.
Development of version 2021 will be carried on master branch
for the time being.
The corresponding core branch is distro/collabora/co-2021

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9c97aaac711c9e1f1e48ed25066b169ea7e26e84
2021-03-31 18:29:49 +02:00
Andras Timar
34ce7a1045 compat level 10 by default restarts service after upgrade -- this is what we want for minimal downtime
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4302e3619a254b9437eee613c45fa860581407bf
2021-03-18 15:06:34 +01:00
Andras Timar
92f44a4695 On-disk cache was removed long ago, clean-up in packaging
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2eeaed12af6ac8789151b95a9c2a2aa1fd72573b
2021-01-26 21:10:50 +01:00
Andras Timar
23fe1b3bc5 add CAP_CHOWN to systemd service files
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3270cc1c435c419117cfa805a4db16ca4ef9a3ec
2021-01-06 11:39:01 +01:00
Michael Meeks
317dffb817 Optimize copy of jails to hard-linking with new capability.
In some cases we cannot do a fast bind-mount of the files we want
in our jail since we don't have cap_sys_admin for loolmount inside
eg. docker.

Thus we need to fallback to hard-linking, however various security
systems namespace parts of our tree, such that link() fails with
EXDEV even across the (apparently) same file-system.

As such we need to assemble a copy of what we want to hard-link
close to our jails. However, this needs to be owned by root / the
system to avoid having writable files shared between jails. Hence
we need cap_chown in addition to cap_fowner, to get ownership right
and then hard-link.

Change-Id: Iba0ef46ddbc1c03f3dc7177bc1ec1755624135db
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-01-04 15:05:36 +00:00
Andras Timar
3f81bfd987 Add /var/log (default log path) to ReadWritePaths of loolwsd.service (fixes GH #739)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I47e8a0983fd74656739498bf02bad117e821cfbf
2020-11-20 20:19:43 +01:00
Andras Timar
4b29a54803 loolmount requires cap_sys_admin
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic7df285bacc684af4167c8f2301118341e859d0f
2020-11-20 09:20:16 +01:00
Aron Budea
b59fa6b753 Sync loolwsd.service between '/' and 'debian/'
One is used in Debian-based installs, other is used in the rest.

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: If21c5d70cb8bb738931c3cd05bd4c5c732f394f7
2020-11-18 16:14:17 +01:00
Andras Timar
34bc966d68 change product name
Change-Id: Ic34d324c952364442d3f4f9f0758676ab57c8a9a
2020-10-02 14:18:28 +02:00
Andras Timar
322eaf5814 systemplate files are not writable by lool user
See also f1be65668c
systemplate files should not be writable by lool user

Change-Id: I5684248d3d4b4b0ba56f8c5ab490a6e7df0e0038
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98069
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-07-05 13:28:28 +02:00
Ashod Nakashian
5c9988f2e3 wsd: faster jail setup via bind-mount
loolmount now works and supports mounting and
unmounting, plus numerous improvements,
refactoring, logging, etc..  When enabled,
binding improves the jail setup time by anywhere
from 2x to orders of magnitude (in docker, f.e.).

A new config entry mount_jail_tree controls
whether mounting is used or the old method of
linking/copying of jail contents. It is set to
true by default and falls back to linking/copying.
A test mount is done when the setting is enabled,
and if mounting fails, it's disabled to avoid noise.

Temporarily disabled for unit-tests until we can
cleanup lingering mounts after Jenkins aborts our
build job. In a future patch we will have mount/jail
cleanup as part of make.

The network/system files in /etc that need frequent
refreshing are now updated in systemplate to make
their most recent version available in the jails.
These files can change during the course of loolwsd
lifetime, and are unlikely to be updated in
systemplate after installation at all. We link to
them in the systemplate/etc directory, and if that
fails, we copy them before forking each kit
instance to have the latest.

This reworks the approach used to bind-mount the
jails and the templates such that the total is
now down to only three mounts: systemplate, lo, tmp.

As now systemplate and lotemplate are shared, they
must be mounted as readonly, this means that user/
must now be moved into tmp/user/ which is writable.

The mount-points must be recursive, because we mount
lo/ within the mount-point of systemplate (which is
the root of the jail). But because we (re)bind
recursively, and because both systemplate and
lotemplate are mounted for each jails, we need to
make them unbindable, so they wouldn't multiply the
mount-points for each jails (an explosive growth!)
Contrarywise, we don't want the mount-points to
be shared, because we don't expect to add/remove
mounts after a jail is created.

The random temp directory is now created and set
correctly, plus many logging and other improvements.

Change-Id: Iae3fda5e876cf47d2cae6669a87b5b826a8748df
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92829
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-07-01 05:42:43 +02:00