From 517c607137064e74ea69fc23df568fef5c8d3d4b Mon Sep 17 00:00:00 2001 From: mhoellein Date: Wed, 24 Oct 2018 12:47:13 +0200 Subject: [PATCH] committing changes in /etc after apt run Package changes: +code-brand 3.4-1 all +collaboraoffice5.3 5.3.10.57-57 amd64 +collaboraoffice5.3-ure 5.3.10.57-57 amd64 +collaboraofficebasis5.3-calc 5.3.10.57-57 amd64 +collaboraofficebasis5.3-core 5.3.10.57-57 amd64 +collaboraofficebasis5.3-draw 5.3.10.57-57 amd64 +collaboraofficebasis5.3-en-us 5.3.10.57-57 amd64 +collaboraofficebasis5.3-en-us-calc 5.3.10.57-57 amd64 +collaboraofficebasis5.3-en-us-res 5.3.10.57-57 amd64 +collaboraofficebasis5.3-extension-pdf-import 5.3.10.57-57 amd64 +collaboraofficebasis5.3-filter-data 5.3.10.57-57 amd64 +collaboraofficebasis5.3-graphicfilter 5.3.10.57-57 amd64 +collaboraofficebasis5.3-images 5.3.10.57-57 amd64 +collaboraofficebasis5.3-impress 5.3.10.57-57 amd64 +collaboraofficebasis5.3-noto-fonts 5.3.10.57-57 amd64 +collaboraofficebasis5.3-ooofonts 5.3.10.57-57 amd64 +collaboraofficebasis5.3-ooolinguistic 5.3.10.57-57 amd64 +collaboraofficebasis5.3-writer 5.3.10.57-57 amd64 +libpococrypto50 1.8.0.1-1ubuntu4 amd64 +libpocofoundation50 1.8.0.1-1ubuntu4 amd64 +libpocojson50 1.8.0.1-1ubuntu4 amd64 +libpoconet50 1.8.0.1-1ubuntu4 amd64 +libpoconetssl50 1.8.0.1-1ubuntu4 amd64 +libpocoutil50 1.8.0.1-1ubuntu4 amd64 +libpocoxml50 1.8.0.1-1ubuntu4 amd64 +loolwsd 3.4.0-8 amd64 --- .etckeeper | 7 + apt/apt.conf.d/25loolwsd | 2 + cron.d/loolwsd | 1 + group | 1 + group- | 1 + gshadow | 1 + gshadow- | 1 + loolwsd/loolkitconfig.xcu | 16 +++ loolwsd/loolwsd.xml | 132 ++++++++++++++++++ passwd | 1 + passwd- | 1 + shadow | 1 + shadow- | 1 + .../multi-user.target.wants/loolwsd.service | 1 + 14 files changed, 167 insertions(+) create mode 100644 apt/apt.conf.d/25loolwsd create mode 100644 cron.d/loolwsd create mode 100644 loolwsd/loolkitconfig.xcu create mode 100644 loolwsd/loolwsd.xml create mode 120000 systemd/system/multi-user.target.wants/loolwsd.service diff --git a/.etckeeper b/.etckeeper index 3740a23d..b75243c5 100755 --- a/.etckeeper +++ b/.etckeeper @@ -740,6 +740,7 @@ maybe chmod 0444 'apt/apt.conf.d/01autoremove-kernels' maybe chmod 0644 'apt/apt.conf.d/05etckeeper' maybe chmod 0644 'apt/apt.conf.d/20auto-upgrades' maybe chmod 0644 'apt/apt.conf.d/20dbus' +maybe chmod 0644 'apt/apt.conf.d/25loolwsd' maybe chmod 0644 'apt/apt.conf.d/50command-not-found' maybe chmod 0644 'apt/apt.conf.d/50unattended-upgrades' maybe chmod 0644 'apt/apt.conf.d/70debconf' @@ -1982,6 +1983,7 @@ maybe chmod 0644 'cron.d/.placeholder' maybe chmod 0644 'cron.d/amavisd-new' maybe chmod 0644 'cron.d/anacron' maybe chmod 0644 'cron.d/certbot' +maybe chmod 0644 'cron.d/loolwsd' maybe chmod 0644 'cron.d/networkfix' maybe chmod 0644 'cron.d/php' maybe chmod 0644 'cron.d/php5' @@ -3405,6 +3407,11 @@ maybe chmod 0644 'logrotate.d/unattended-upgrades' maybe chmod 0644 'logrotate.d/unifi' maybe chmod 0644 'logrotate.d/upstart' maybe chmod 0644 'logrotate.d/zoneminder' +maybe chmod 0755 'loolwsd' +maybe chmod 0644 'loolwsd/loolkitconfig.xcu' +maybe chown 'lool' 'loolwsd/loolwsd.xml' +maybe chgrp 'lool' 'loolwsd/loolwsd.xml' +maybe chmod 0640 'loolwsd/loolwsd.xml' maybe chmod 0644 'lsb-release' maybe chmod 0644 'ltrace.conf' maybe chmod 0755 'lvm' diff --git a/apt/apt.conf.d/25loolwsd b/apt/apt.conf.d/25loolwsd new file mode 100644 index 00000000..f61f969e --- /dev/null +++ b/apt/apt.conf.d/25loolwsd @@ -0,0 +1,2 @@ +// Rebuild systemplate of LibreOffice Online +DPkg::Post-Invoke { "echo Updating loolwsd systemplate;su lool --shell=/bin/sh -c 'loolwsd-systemplate-setup /opt/lool/systemplate /opt/collaboraoffice5.3 >/dev/null 2>&1'"; }; diff --git a/cron.d/loolwsd b/cron.d/loolwsd new file mode 100644 index 00000000..761029b9 --- /dev/null +++ b/cron.d/loolwsd @@ -0,0 +1 @@ +0 0 */1 * * root find /var/cache/loolwsd -type f -a -atime +10 -exec rm {} \; diff --git a/group b/group index 05debeb3..6d7399a9 100644 --- a/group +++ b/group @@ -100,3 +100,4 @@ lightdm:x:154: Debian-snmp:x:121: rdma:x:151: geoclue:x:155: +lool:x:156: diff --git a/group- b/group- index 39db587b..05debeb3 100644 --- a/group- +++ b/group- @@ -99,3 +99,4 @@ mosquitto:x:153: lightdm:x:154: Debian-snmp:x:121: rdma:x:151: +geoclue:x:155: diff --git a/gshadow b/gshadow index ede24921..2910f44b 100644 --- a/gshadow +++ b/gshadow @@ -100,3 +100,4 @@ lightdm:!:: Debian-snmp:!:: rdma:!:: geoclue:!:: +lool:!:: diff --git a/gshadow- b/gshadow- index 42b9d4f8..ede24921 100644 --- a/gshadow- +++ b/gshadow- @@ -99,3 +99,4 @@ mosquitto:!:: lightdm:!:: Debian-snmp:!:: rdma:!:: +geoclue:!:: diff --git a/loolwsd/loolkitconfig.xcu b/loolwsd/loolkitconfig.xcu new file mode 100644 index 00000000..a80508aa --- /dev/null +++ b/loolwsd/loolkitconfig.xcu @@ -0,0 +1,16 @@ + + + + +false + + +true + + +false + + +file:///tmp + + diff --git a/loolwsd/loolwsd.xml b/loolwsd/loolwsd.xml new file mode 100644 index 00000000..28b5f089 --- /dev/null +++ b/loolwsd/loolwsd.xml @@ -0,0 +1,132 @@ + + + + + + de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru + + + + + + + + + + + 1 + + 4 + 3600 + + 30 + 300 + 0 + 0 + 8000 + 0 + 0 + + + + 60 + 900 + + + loleaflet.html + + + true + warning + + /var/log/loolwsd.log + never + timestamp + true + 10 days + 10 + true + false + + + false + false + + + + false + + + + + + + + false + + + + + all + any + + + 192\.168\.[0-9]{1,3}\.[0-9]{1,3} + ::ffff:192\.168\.[0-9]{1,3}\.[0-9]{1,3} + 127\.0\.0\.1 + ::ffff:127\.0\.0\.1 + ::1 + + + + + true + false + /etc/loolwsd/cert.pem + /etc/loolwsd/key.pem + /etc/loolwsd/ca-chain.cert.pem + + + 1000 + + + + + + + + + true + true + + + + + + localhost + 10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} + 172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3} + 172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3} + 172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3} + 192\.168\.[0-9]{1,3}\.[0-9]{1,3} + 192\.168\.1\.1 + 0 + + + localhost + + + + true + + + true + false + + + + + + + + diff --git a/passwd b/passwd index 78ebb2d7..ffb2b572 100644 --- a/passwd +++ b/passwd @@ -73,3 +73,4 @@ lightdm:x:147:154:Light Display Manager:/var/lib/lightdm:/bin/false cups-pk-helper:x:111:108:user for cups-pk-helper service,,,:/home/cups-pk-helper:/usr/sbin/nologin Debian-snmp:x:145:121::/var/lib/snmp:/bin/false geoclue:x:148:155::/var/lib/geoclue:/usr/sbin/nologin +lool:x:149:156::/opt/lool:/usr/sbin/nologin diff --git a/passwd- b/passwd- index 78ebb2d7..ffb2b572 100644 --- a/passwd- +++ b/passwd- @@ -73,3 +73,4 @@ lightdm:x:147:154:Light Display Manager:/var/lib/lightdm:/bin/false cups-pk-helper:x:111:108:user for cups-pk-helper service,,,:/home/cups-pk-helper:/usr/sbin/nologin Debian-snmp:x:145:121::/var/lib/snmp:/bin/false geoclue:x:148:155::/var/lib/geoclue:/usr/sbin/nologin +lool:x:149:156::/opt/lool:/usr/sbin/nologin diff --git a/shadow b/shadow index a6f0cc5d..a1410950 100644 --- a/shadow +++ b/shadow @@ -73,3 +73,4 @@ lightdm:*:17827:0:99999:7::: cups-pk-helper:*:17827:0:99999:7::: Debian-snmp:!:17827:0:99999:7::: geoclue:*:17827:0:99999:7::: +lool:*:17828:0:99999:7::: diff --git a/shadow- b/shadow- index a6f0cc5d..a1410950 100644 --- a/shadow- +++ b/shadow- @@ -73,3 +73,4 @@ lightdm:*:17827:0:99999:7::: cups-pk-helper:*:17827:0:99999:7::: Debian-snmp:!:17827:0:99999:7::: geoclue:*:17827:0:99999:7::: +lool:*:17828:0:99999:7::: diff --git a/systemd/system/multi-user.target.wants/loolwsd.service b/systemd/system/multi-user.target.wants/loolwsd.service new file mode 120000 index 00000000..032b72f3 --- /dev/null +++ b/systemd/system/multi-user.target.wants/loolwsd.service @@ -0,0 +1 @@ +/lib/systemd/system/loolwsd.service \ No newline at end of file -- 2.43.0