No config files created during install
-
Hi!
I just tried to install the latest Kopano nightly builds from https://download.kopano.io/community/core:/ on Debian 9 and Ubuntu 16.04. During the install the following message is printed:
chmod: cannot access '/etc/kopano/server.cfg': No such file or directory
The /etc/kopano directory contains the quotamail and userscripts sub directories, but no configuration files that are usually in that directory. Are the .deb packages broken or did something change with the installer?
-
I think I read somewhere something which basically says: there are no config files any longer. They only need to be created if you want to change defaults.
But I might be wrong …
-
You can find the files on github:
https://github.com/Kopano-dev/kopano-core/tree/master/installer/linux -
@anotherandy said in No config files created during install:
You can find the files on github
You don’t even have to go so far. They are all in
/usr/share/doc/kopano/example-config
-
I think I read somewhere something which basically says: there are no config files any longer.
-
I solved this by copying the required configuration templates from the following directory:
/usr/share/doc/kopano/example-config
as suggested by @fbartels. Some of the files could just be copied usingcp
and other were compressed, so I had to use thegunzip
command like this:
gunzip -c /usr/share/doc/kopano/example-config/server.cfg.gz | tee /etc/kopano/server.cfg
-
Removing the config files as per Jira 681 (https://jira.kopano.io/browse/KC-681) was imho a very bad idea because:
- not only the conig files but alse the /etc/init.d service definitions are missing which leads to warnings / errors during debian package config (unknon service)
- in NOT all cases config files are found in /usr/share/doc/kopano/example-config: when using debian-slim which is common for small containers there is nothing so nothing con be copied over
It took me by surprise as automated docker builds had been broken and was quite some effort to get this fixed in a generic way in docker builds for kopano4s for old supported and new community versions.
To fix it I had to collect the cfg ad init.d files from previous supported build and inject it into the container build for community and future supported editions; what a unnecessary hack…
I see no added value of this feature 681 whatsoever as config files are needed, it is the default debian build behaviour and it actually is outdated do in place patching what this Jira targets at protecting admins that are not experianced to deal with updates on the cost of others with autobuilds have to cater for the special features…
-TosoBoso -
@tosoboso said in No config files created during install:
as config files are needed
If you look closer you will realise they are actually not needed.
If running in docker you should anyway not use the regular init (which is indeed deprecated in favour of systems) but rather use an “init” system designed for Docker, such as supervisord or https://github.com/krallin/tini/blob/master/README.md (there are plenty of other approaches as well).
As for the config files doing a plain copy is not a good approach. Rather you should create config files with just the options you need (such as mysql credentials).
And if you choose a minimal Debian image as a base, then you should not be surprised if stuff is missing afterwards…
-
Hi Felix,
thx for input respectively regarding tini for init in Docker; I will consider integrating this…
The key issue is not just with the config files but with the missing init files which is imho beyond the intention of the Jira KC-681.
My concern is that any user on Debian / Ubuntu with a new install trying to start Kopano with “service kopano-server start” will fail. So please reconsider rolling out the files in /etc/init.d ! Missing config files
To emphasis again the Debian configuration routines are throwing warnings because they do not find the service definition either; this cannot be for good and is very confusing for the Debian experts expecting a different bahaviour
I can live with though I do not agree it is a good idea (better idiea only to rollout config on apt-get install but not upgrade…)
As far as Docker is concerned I can and did my way around it and to clarify I’m not using the init stages of standard Unix but maintain an init.shs script which then start the services. And this is the point: without the files in init.d noone can control, the services.
-TosoBoso -
@tosoboso said in No config files created during install:
My concern is that any user on Debian / Ubuntu with a new install trying to start Kopano with “service kopano-server start” will fail. So please reconsider rolling out the files in /etc/init.d ! Missing config files
To emphasis again the Debian configuration routines are throwing warnings because they do not find the service definition either; this cannot be for good and is very confusing for the Debian experts expecting a different bahaviourNo such errors here:
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Ign:3 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ InRelease Get:4 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ Release [994 B] Get:5 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ Release.gpg [801 B] Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease Get:7 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ Packages [11.8 kB] Fetched 13.6 kB in 1s (23.0 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: catdoc gawk kopano-backup kopano-client kopano-common kopano-contacts kopano-dagent kopano-gateway kopano-ical kopano-lang kopano-monitor kopano-search kopano-server kopano-spooler kopano-utils libcairo2 libdigest-hmac-perl libfile-copy-recursive-perl libgc1c2 libgsoap-kopano-2.8.62 libical3 libio-socket-ssl-perl libio-tee-perl libkcarchiver0 libkcarchivercore0 libkcfreebusy0 libkcicalmapi0 libkcinetmapi0 libkcmapi0 libkcrosie0 libkcserver0 libkcsoap0 libkcssl0 libkcsync0 libkcutil0 liblcms2-2 libmail-imapclient-perl libmapi1 libmysqlclient20 libnet-ssleay-perl libnspr4 libnss3 libparse-recdescent-perl libpixman-1-0 libpoppler73 libreadonly-perl libs3-4 libsigsegv2 libtcmalloc-minimal4 libterm-readkey-perl libtidy5 libunicode-string-perl libvmime-kopano1 libxapian30 libxcb-render0 libxcb-shm0 libxrender1 perl-openssl-defaults php7-mapi poppler-data poppler-utils python-dateutil python-kopano python-mapi python-xapian w3m xapian-tools xsltproc Suggested packages: tk | wish gawk-doc liblcms2-utils libauthen-sasl-perl ghostscript fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum xapian-doc cmigemo dict dict-wn dictd libsixel-bin man-db mpv w3m-el w3m-img xdg-utils xsel The following NEW packages will be installed: catdoc gawk kopano-backup kopano-client kopano-common kopano-contacts kopano-dagent kopano-gateway kopano-ical kopano-lang kopano-migration-imap kopano-migration-pst kopano-monitor kopano-search kopano-server kopano-server-packages kopano-spamd kopano-spooler kopano-utils libcairo2 libdigest-hmac-perl libfile-copy-recursive-perl libgc1c2 libgsoap-kopano-2.8.62 libical3 libio-socket-ssl-perl libio-tee-perl libkcarchiver0 libkcarchivercore0 libkcfreebusy0 libkcicalmapi0 libkcinetmapi0 libkcmapi0 libkcrosie0 libkcserver0 libkcsoap0 libkcssl0 libkcsync0 libkcutil0 liblcms2-2 libmail-imapclient-perl libmapi1 libmysqlclient20 libnet-ssleay-perl libnspr4 libnss3 libparse-recdescent-perl libpixman-1-0 libpoppler73 libreadonly-perl libs3-4 libsigsegv2 libtcmalloc-minimal4 libterm-readkey-perl libtidy5 libunicode-string-perl libvmime-kopano1 libxapian30 libxcb-render0 libxcb-shm0 libxrender1 perl-openssl-defaults php7-mapi poppler-data poppler-utils python-dateutil python-kopano python-mapi python-xapian w3m xapian-tools xsltproc 0 upgraded, 72 newly installed, 0 to remove and 87 not upgraded. Need to get 14.8 MB of archives. After this operation, 69.6 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsigsegv2 amd64 2.12-1 [14.7 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 gawk amd64 1:4.1.4+dfsg-1build1 [401 kB] Get:3 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcutil0 8.6.5.0-0+12.1 [105 kB] Get:4 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcmapi0 8.6.5.0-0+12.1 [94.3 kB] Get:5 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libmapi1 8.6.5.0-0+12.1 [164 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 poppler-data all 0.4.8-2 [1479 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 catdoc amd64 1:0.95-4.1 [88.5 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libical3 amd64 3.0.1-5 [275 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtidy5 amd64 1:5.2.0-2 [160 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-dateutil all 2.6.1-1 [60.6 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmysqlclient20 amd64 5.7.23-0ubuntu0.18.04.1 [818 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdigest-hmac-perl all 1.03+dfsg-1 [12.1 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-copy-recursive-perl all 0.40-1 [16.9 kB] Get:14 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libunicode-string-perl amd64 2.10-1build1 [97.6 kB] Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libreadonly-perl all 2.050-1 [19.8 kB] Get:16 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libio-tee-perl all 0.65-1 [8572 B] Get:17 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libparse-recdescent-perl all 1.967015+dfsg-2 [145 kB] Get:18 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmail-imapclient-perl all 3.39-1 [179 kB] Get:19 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libterm-readkey-perl amd64 2.37-1build1 [24.4 kB] Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxapian30 amd64 1.4.5-1ubuntu0.1 [631 kB] Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-xapian amd64 1.4.5-1ubuntu3 [465 kB] Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgc1c2 amd64 1:7.4.2-8ubuntu1 [81.8 kB] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 w3m amd64 0.5.3-36build1 [924 kB] Get:24 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcfreebusy0 8.6.5.0-0+12.1 [50.9 kB] Get:25 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcicalmapi0 8.6.5.0-0+12.1 [86.5 kB] Get:26 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcrosie0 8.6.5.0-0+12.1 [21.8 kB] Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 xsltproc amd64 1.1.29-5 [14.0 kB] Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblcms2-2 amd64 2.9-1 [139 kB] Get:29 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libvmime-kopano1 0.9.2.50+10.1 [1002 kB] Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnspr4 amd64 2:4.18-1ubuntu1 [112 kB] Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnss3 amd64 2:3.35-2ubuntu2 [1135 kB] Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpoppler73 amd64 0.62.0-2ubuntu2.1 [800 kB] Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpixman-1-0 amd64 0.34.0-2 [229 kB] Get:34 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcinetmapi0 8.6.5.0-0+12.1 [186 kB] Get:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxcb-render0 amd64 1.13-1 [14.7 kB] Get:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxcb-shm0 amd64 1.13-1 [5572 B] Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxrender1 amd64 1:0.9.10-1 [18.7 kB] Get:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcairo2 amd64 1.15.10-2 [580 kB] Get:39 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcsync0 8.6.5.0-0+12.1 [28.6 kB] Get:40 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libgsoap-kopano-2.8.62 2.8.62-0+2.1 [223 kB] Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 poppler-utils amd64 0.62.0-2ubuntu2.1 [153 kB] Get:42 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcsoap0 8.6.5.0-0+12.1 [233 kB] Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 xapian-tools amd64 1.4.5-1ubuntu0.1 [51.3 kB] Get:44 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtcmalloc-minimal4 amd64 2.5-2.2ubuntu3 [91.6 kB] Get:45 http://archive.ubuntu.com/ubuntu bionic/main amd64 perl-openssl-defaults amd64 3build1 [7012 B] Get:46 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnet-ssleay-perl amd64 1.84-1build1 [282 kB] Get:47 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcssl0 8.6.5.0-0+12.1 [25.7 kB] Get:48 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-lang 8.6.5.0-0+12.1 [60.7 kB] Get:49 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-client 8.6.5.0-0+12.1 [324 kB] Get:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 libio-socket-ssl-perl all 2.056-1 [172 kB] Get:51 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ python-mapi 8.6.5.0-0+12.1 [269 kB] Get:52 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ python-kopano 8.6.5.0-0+12.1 [92.0 kB] Get:53 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-common 8.6.5.0-0+12.1 [18.5 kB] Get:54 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-backup 8.6.5.0-0+12.1 [26.9 kB] Get:55 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-contacts 8.6.5.0-0+12.1 [39.2 kB] Get:56 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcarchiver0 8.6.5.0-0+12.1 [79.3 kB] Get:57 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcarchivercore0 8.6.5.0-0+12.1 [81.3 kB] Get:58 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ php7-mapi 8.6.5.0-0+12.1 [172 kB] Get:59 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-dagent 8.6.5.0-0+12.1 [129 kB] Get:60 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-gateway 8.6.5.0-0+12.1 [130 kB] Get:61 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-ical 8.6.5.0-0+12.1 [116 kB] Get:62 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-migration-imap 8.6.5.0-0+12.1 [73.2 kB] Get:63 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-migration-pst 8.6.5.0-0+12.1 [43.4 kB] Get:64 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-monitor 8.6.5.0-0+12.1 [41.5 kB] Get:65 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-search 8.6.5.0-0+12.1 [32.2 kB] Get:66 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libkcserver0 8.6.5.0-0+12.1 [578 kB] Get:67 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-utils 8.6.5.0-0+12.1 [189 kB] Get:68 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ libs3-4 4.1.git257-0+2.13 [32.8 kB] Get:69 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-server 8.6.5.0-0+12.1 [273 kB] Get:70 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-spooler 8.6.5.0-0+12.1 [83.1 kB] Get:71 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-server-packages 8.6.5.0-0+12.1 [12.4 kB] Get:72 https://download.kopano.io/supported/core:/final/Ubuntu_18.04 ./ kopano-spamd 8.6.5.0-0+12.1 [18.1 kB] Fetched 14.8 MB in 1s (21.6 MB/s) Selecting previously unselected package libsigsegv2:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31899 files and directories currently installed.) Preparing to unpack .../libsigsegv2_2.12-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-1) ... Setting up libsigsegv2:amd64 (2.12-1) ... Selecting previously unselected package gawk. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31906 files and directories currently installed.) Preparing to unpack .../00-gawk_1%3a4.1.4+dfsg-1build1_amd64.deb ... Unpacking gawk (1:4.1.4+dfsg-1build1) ... Selecting previously unselected package poppler-data. Preparing to unpack .../01-poppler-data_0.4.8-2_all.deb ... Unpacking poppler-data (0.4.8-2) ... Selecting previously unselected package catdoc. Preparing to unpack .../02-catdoc_1%3a0.95-4.1_amd64.deb ... Unpacking catdoc (1:0.95-4.1) ... Selecting previously unselected package libkcutil0. Preparing to unpack .../03-libkcutil0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcutil0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libkcmapi0. Preparing to unpack .../04-libkcmapi0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcmapi0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libmapi1. Preparing to unpack .../05-libmapi1_8.6.5.0-0+12.1_amd64.deb ... Unpacking libmapi1 (8.6.5.0-0+12.1) ... Selecting previously unselected package libkcfreebusy0. Preparing to unpack .../06-libkcfreebusy0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcfreebusy0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libical3:amd64. Preparing to unpack .../07-libical3_3.0.1-5_amd64.deb ... Unpacking libical3:amd64 (3.0.1-5) ... Selecting previously unselected package libkcicalmapi0. Preparing to unpack .../08-libkcicalmapi0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcicalmapi0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libtidy5. Preparing to unpack .../09-libtidy5_1%3a5.2.0-2_amd64.deb ... Unpacking libtidy5 (1:5.2.0-2) ... Selecting previously unselected package libkcrosie0. Preparing to unpack .../10-libkcrosie0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcrosie0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libvmime-kopano1. Preparing to unpack .../11-libvmime-kopano1_0.9.2.50+10.1_amd64.deb ... Unpacking libvmime-kopano1 (0.9.2.50+10.1) ... Selecting previously unselected package libkcinetmapi0. Preparing to unpack .../12-libkcinetmapi0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcinetmapi0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libkcsync0. Preparing to unpack .../13-libkcsync0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcsync0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libgsoap-kopano-2.8.62. Preparing to unpack .../14-libgsoap-kopano-2.8.62_2.8.62-0+2.1_amd64.deb ... Unpacking libgsoap-kopano-2.8.62 (2.8.62-0+2.1) ... Selecting previously unselected package libkcsoap0. Preparing to unpack .../15-libkcsoap0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcsoap0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libkcssl0. Preparing to unpack .../16-libkcssl0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcssl0 (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-lang. Preparing to unpack .../17-kopano-lang_8.6.5.0-0+12.1_all.deb ... Unpacking kopano-lang (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-client. Preparing to unpack .../18-kopano-client_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-client (8.6.5.0-0+12.1) ... Selecting previously unselected package python-mapi. Preparing to unpack .../19-python-mapi_8.6.5.0-0+12.1_amd64.deb ... Unpacking python-mapi (8.6.5.0-0+12.1) ... Selecting previously unselected package python-dateutil. Preparing to unpack .../20-python-dateutil_2.6.1-1_all.deb ... Unpacking python-dateutil (2.6.1-1) ... Selecting previously unselected package python-kopano. Preparing to unpack .../21-python-kopano_8.6.5.0-0+12.1_all.deb ... Unpacking python-kopano (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-common. Preparing to unpack .../22-kopano-common_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-common (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-backup. Preparing to unpack .../23-kopano-backup_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-backup (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-contacts. Preparing to unpack .../24-kopano-contacts_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-contacts (8.6.5.0-0+12.1) ... Selecting previously unselected package libkcarchiver0. Preparing to unpack .../25-libkcarchiver0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcarchiver0 (8.6.5.0-0+12.1) ... Selecting previously unselected package libmysqlclient20:amd64. Preparing to unpack .../26-libmysqlclient20_5.7.23-0ubuntu0.18.04.1_amd64.deb ... Unpacking libmysqlclient20:amd64 (5.7.23-0ubuntu0.18.04.1) ... Selecting previously unselected package libkcarchivercore0. Preparing to unpack .../27-libkcarchivercore0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcarchivercore0 (8.6.5.0-0+12.1) ... Selecting previously unselected package php7-mapi. Preparing to unpack .../28-php7-mapi_8.6.5.0-0+12.1_amd64.deb ... Unpacking php7-mapi (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-dagent. Preparing to unpack .../29-kopano-dagent_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-dagent (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-gateway. Preparing to unpack .../30-kopano-gateway_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-gateway (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-ical. Preparing to unpack .../31-kopano-ical_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-ical (8.6.5.0-0+12.1) ... Selecting previously unselected package libdigest-hmac-perl. Preparing to unpack .../32-libdigest-hmac-perl_1.03+dfsg-1_all.deb ... Unpacking libdigest-hmac-perl (1.03+dfsg-1) ... Selecting previously unselected package libfile-copy-recursive-perl. Preparing to unpack .../33-libfile-copy-recursive-perl_0.40-1_all.deb ... Unpacking libfile-copy-recursive-perl (0.40-1) ... Selecting previously unselected package libunicode-string-perl. Preparing to unpack .../34-libunicode-string-perl_2.10-1build1_amd64.deb ... Unpacking libunicode-string-perl (2.10-1build1) ... Selecting previously unselected package libreadonly-perl. Preparing to unpack .../35-libreadonly-perl_2.050-1_all.deb ... Unpacking libreadonly-perl (2.050-1) ... Selecting previously unselected package libio-tee-perl. Preparing to unpack .../36-libio-tee-perl_0.65-1_all.deb ... Unpacking libio-tee-perl (0.65-1) ... Selecting previously unselected package libparse-recdescent-perl. Preparing to unpack .../37-libparse-recdescent-perl_1.967015+dfsg-2_all.deb ... Unpacking libparse-recdescent-perl (1.967015+dfsg-2) ... Selecting previously unselected package libmail-imapclient-perl. Preparing to unpack .../38-libmail-imapclient-perl_3.39-1_all.deb ... Unpacking libmail-imapclient-perl (3.39-1) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../39-libterm-readkey-perl_2.37-1build1_amd64.deb ... Unpacking libterm-readkey-perl (2.37-1build1) ... Selecting previously unselected package kopano-migration-imap. Preparing to unpack .../40-kopano-migration-imap_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-migration-imap (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-migration-pst. Preparing to unpack .../41-kopano-migration-pst_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-migration-pst (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-monitor. Preparing to unpack .../42-kopano-monitor_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-monitor (8.6.5.0-0+12.1) ... Selecting previously unselected package libxapian30:amd64. Preparing to unpack .../43-libxapian30_1.4.5-1ubuntu0.1_amd64.deb ... Unpacking libxapian30:amd64 (1.4.5-1ubuntu0.1) ... Selecting previously unselected package python-xapian. Preparing to unpack .../44-python-xapian_1.4.5-1ubuntu3_amd64.deb ... Unpacking python-xapian (1.4.5-1ubuntu3) ... Selecting previously unselected package libgc1c2:amd64. Preparing to unpack .../45-libgc1c2_1%3a7.4.2-8ubuntu1_amd64.deb ... Unpacking libgc1c2:amd64 (1:7.4.2-8ubuntu1) ... Selecting previously unselected package w3m. Preparing to unpack .../46-w3m_0.5.3-36build1_amd64.deb ... Unpacking w3m (0.5.3-36build1) ... Selecting previously unselected package xsltproc. Preparing to unpack .../47-xsltproc_1.1.29-5_amd64.deb ... Unpacking xsltproc (1.1.29-5) ... Selecting previously unselected package liblcms2-2:amd64. Preparing to unpack .../48-liblcms2-2_2.9-1_amd64.deb ... Unpacking liblcms2-2:amd64 (2.9-1) ... Selecting previously unselected package libnspr4:amd64. Preparing to unpack .../49-libnspr4_2%3a4.18-1ubuntu1_amd64.deb ... Unpacking libnspr4:amd64 (2:4.18-1ubuntu1) ... Selecting previously unselected package libnss3:amd64. Preparing to unpack .../50-libnss3_2%3a3.35-2ubuntu2_amd64.deb ... Unpacking libnss3:amd64 (2:3.35-2ubuntu2) ... Selecting previously unselected package libpoppler73:amd64. Preparing to unpack .../51-libpoppler73_0.62.0-2ubuntu2.1_amd64.deb ... Unpacking libpoppler73:amd64 (0.62.0-2ubuntu2.1) ... Selecting previously unselected package libpixman-1-0:amd64. Preparing to unpack .../52-libpixman-1-0_0.34.0-2_amd64.deb ... Unpacking libpixman-1-0:amd64 (0.34.0-2) ... Selecting previously unselected package libxcb-render0:amd64. Preparing to unpack .../53-libxcb-render0_1.13-1_amd64.deb ... Unpacking libxcb-render0:amd64 (1.13-1) ... Selecting previously unselected package libxcb-shm0:amd64. Preparing to unpack .../54-libxcb-shm0_1.13-1_amd64.deb ... Unpacking libxcb-shm0:amd64 (1.13-1) ... Selecting previously unselected package libxrender1:amd64. Preparing to unpack .../55-libxrender1_1%3a0.9.10-1_amd64.deb ... Unpacking libxrender1:amd64 (1:0.9.10-1) ... Selecting previously unselected package libcairo2:amd64. Preparing to unpack .../56-libcairo2_1.15.10-2_amd64.deb ... Unpacking libcairo2:amd64 (1.15.10-2) ... Selecting previously unselected package poppler-utils. Preparing to unpack .../57-poppler-utils_0.62.0-2ubuntu2.1_amd64.deb ... Unpacking poppler-utils (0.62.0-2ubuntu2.1) ... Selecting previously unselected package xapian-tools. Preparing to unpack .../58-xapian-tools_1.4.5-1ubuntu0.1_amd64.deb ... Unpacking xapian-tools (1.4.5-1ubuntu0.1) ... Selecting previously unselected package kopano-search. Preparing to unpack .../59-kopano-search_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-search (8.6.5.0-0+12.1) ... Selecting previously unselected package libkcserver0. Preparing to unpack .../60-libkcserver0_8.6.5.0-0+12.1_amd64.deb ... Unpacking libkcserver0 (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-utils. Preparing to unpack .../61-kopano-utils_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-utils (8.6.5.0-0+12.1) ... Selecting previously unselected package libtcmalloc-minimal4. Preparing to unpack .../62-libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb ... Unpacking libtcmalloc-minimal4 (2.5-2.2ubuntu3) ... Selecting previously unselected package libs3-4. Preparing to unpack .../63-libs3-4_4.1.git257-0+2.13_amd64.deb ... Unpacking libs3-4 (4.1.git257-0+2.13) ... Selecting previously unselected package kopano-server. Preparing to unpack .../64-kopano-server_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-server (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-spooler. Preparing to unpack .../65-kopano-spooler_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-spooler (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-server-packages. Preparing to unpack .../66-kopano-server-packages_8.6.5.0-0+12.1_all.deb ... Unpacking kopano-server-packages (8.6.5.0-0+12.1) ... Selecting previously unselected package kopano-spamd. Preparing to unpack .../67-kopano-spamd_8.6.5.0-0+12.1_amd64.deb ... Unpacking kopano-spamd (8.6.5.0-0+12.1) ... Selecting previously unselected package perl-openssl-defaults:amd64. Preparing to unpack .../68-perl-openssl-defaults_3build1_amd64.deb ... Unpacking perl-openssl-defaults:amd64 (3build1) ... Selecting previously unselected package libnet-ssleay-perl. Preparing to unpack .../69-libnet-ssleay-perl_1.84-1build1_amd64.deb ... Unpacking libnet-ssleay-perl (1.84-1build1) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../70-libio-socket-ssl-perl_2.056-1_all.deb ... Unpacking libio-socket-ssl-perl (2.056-1) ... Setting up libxapian30:amd64 (1.4.5-1ubuntu0.1) ... Setting up kopano-common (8.6.5.0-0+12.1) ... Setting up libxcb-render0:amd64 (1.13-1) ... Setting up libtidy5 (1:5.2.0-2) ... Setting up catdoc (1:0.95-4.1) ... Processing triggers for mime-support (3.60ubuntu1) ... Setting up libkcutil0 (8.6.5.0-0+12.1) ... Setting up liblcms2-2:amd64 (2.9-1) ... Setting up libkcssl0 (8.6.5.0-0+12.1) ... Setting up poppler-data (0.4.8-2) ... Setting up perl-openssl-defaults:amd64 (3build1) ... Setting up libgsoap-kopano-2.8.62 (2.8.62-0+2.1) ... Setting up libs3-4 (4.1.git257-0+2.13) ... Setting up libgc1c2:amd64 (1:7.4.2-8ubuntu1) ... Setting up libparse-recdescent-perl (1.967015+dfsg-2) ... Setting up xsltproc (1.1.29-5) ... Setting up libio-tee-perl (0.65-1) ... Setting up python-xapian (1.4.5-1ubuntu3) ... Setting up gawk (1:4.1.4+dfsg-1build1) ... Setting up libnspr4:amd64 (2:4.18-1ubuntu1) ... Setting up libterm-readkey-perl (2.37-1build1) ... Setting up python-dateutil (2.6.1-1) ... Setting up kopano-lang (8.6.5.0-0+12.1) ... Setting up libtcmalloc-minimal4 (2.5-2.2ubuntu3) ... Setting up libpixman-1-0:amd64 (0.34.0-2) ... Setting up libreadonly-perl (2.050-1) ... Setting up libkcrosie0 (8.6.5.0-0+12.1) ... Processing triggers for libc-bin (2.27-0ubuntu2) ... Setting up w3m (0.5.3-36build1) ... Processing triggers for systemd (237-3ubuntu4) ... Setting up libdigest-hmac-perl (1.03+dfsg-1) ... Setting up libxcb-shm0:amd64 (1.13-1) ... Setting up libxrender1:amd64 (1:0.9.10-1) ... Setting up libical3:amd64 (3.0.1-5) ... Setting up libmysqlclient20:amd64 (5.7.23-0ubuntu0.18.04.1) ... Setting up libkcmapi0 (8.6.5.0-0+12.1) ... Setting up libvmime-kopano1 (0.9.2.50+10.1) ... Setting up libfile-copy-recursive-perl (0.40-1) ... Setting up libunicode-string-perl (2.10-1build1) ... Setting up xapian-tools (1.4.5-1ubuntu0.1) ... Setting up libcairo2:amd64 (1.15.10-2) ... Setting up libnet-ssleay-perl (1.84-1build1) ... Setting up libmail-imapclient-perl (3.39-1) ... Setting up libnss3:amd64 (2:3.35-2ubuntu2) ... Setting up libio-socket-ssl-perl (2.056-1) ... Setting up libpoppler73:amd64 (0.62.0-2ubuntu2.1) ... Setting up libmapi1 (8.6.5.0-0+12.1) ... Setting up libkcsoap0 (8.6.5.0-0+12.1) ... Setting up poppler-utils (0.62.0-2ubuntu2.1) ... Setting up libkcsync0 (8.6.5.0-0+12.1) ... Setting up libkcfreebusy0 (8.6.5.0-0+12.1) ... Setting up kopano-migration-imap (8.6.5.0-0+12.1) ... Setting up libkcarchiver0 (8.6.5.0-0+12.1) ... Setting up libkcserver0 (8.6.5.0-0+12.1) ... Setting up libkcicalmapi0 (8.6.5.0-0+12.1) ... Setting up kopano-client (8.6.5.0-0+12.1) ... Setting up kopano-monitor (8.6.5.0-0+12.1) ... Setting up kopano-ical (8.6.5.0-0+12.1) ... Setting up libkcarchivercore0 (8.6.5.0-0+12.1) ... Setting up kopano-contacts (8.6.5.0-0+12.1) ... Setting up libkcinetmapi0 (8.6.5.0-0+12.1) ... Setting up python-mapi (8.6.5.0-0+12.1) ... Setting up kopano-gateway (8.6.5.0-0+12.1) ... Setting up kopano-spooler (8.6.5.0-0+12.1) ... Setting up php7-mapi (8.6.5.0-0+12.1) ... php-mapi: using mods-available directory If you use a PHP executor other than Apache (like FPM), you may need to manually restart it. Setting up python-kopano (8.6.5.0-0+12.1) ... Setting up kopano-dagent (8.6.5.0-0+12.1) ... Setting up kopano-migration-pst (8.6.5.0-0+12.1) ... Setting up kopano-search (8.6.5.0-0+12.1) ... Setting up kopano-utils (8.6.5.0-0+12.1) ... Setting up kopano-server (8.6.5.0-0+12.1) ... Setting up kopano-backup (8.6.5.0-0+12.1) ... Setting up kopano-spamd (8.6.5.0-0+12.1) ... Setting up kopano-server-packages (8.6.5.0-0+12.1) ... Processing triggers for libc-bin (2.27-0ubuntu2) ... Processing triggers for systemd (237-3ubuntu4) ...
On a modern distribution running the service command will automatically use systemd anyways afaik.
-
I also vote that sysvinit files should continue to be delivered by the installer. Systemd service files are also delivered. I can still run a debian system with init as PID 1 (and the systems I maintain all run without systemd-sysv). Since kopano has no dependency on systemd-sysv, there would be no reason to deliver systemd service files. Another reason for keeping init files is that it makes no effort to keep them, because they never or hardly need to be changed. Thanks!
-
@klausf
Isn’t Systemd now the default in Debian? Is Debian providing their own SysVinit files for all their packages? -
@tjoen
systemd-sysv is the default in a recent debian installation, that’s right. But by default, sysvinit scripts are also installed for each package from the Debian repositories.
apt-get install sysvinit-core installs init (and some more) and uninstalls systemd-sysv and the system then runs with the init.d start/stop scripts. -
@klausf
I understand. But by doing “apt-get install sysvinit-core” you have not the default Debian any longer. More work for packagers. Kopano also doesn’t have packages for my LFS-system -
- The work has already been done, the init scripts already exist.
- There are no changes, so no effort for the package maintainers to expect when the init scripts are preserved.
- It enhances Kopano if it supports multiple init systems
Therefore I support the receipt of init scripts.
-
@klausf
It is true that LSB never mentions systemd, only init scripts. But in earlier versions of LSB only rpm, not deb, were LSB compliant -
@klausf said in No config files created during install:
I also vote that sysvinit files should continue to be delivered by the installer.
This is not a ballot. It has been decided that KC as provided by upstream only supports systemd (and RHEL6 sysvinit). It was a dreadful experience changing and re-testing init scripts (one for each distro because they couldn’t agree on a mechanism prior to systemd).
-
@jengelh
No vote, but my opinion and a request. It makes no sense to remove existing and working scripts which, as you say, have used a lot of work.
At least they could be included in the sample files at /usr/share/doc/… -
Well as Kopano4S (Synology) is based on Docker to use Debian images and init.d, so the consequences of Kopano to switch to systemd exclusively no longer shipping init scripts has significant impact. If you Google “systemd in docker container” you wil find out that this is far away from trivial task. I had Zarafa / Kopano in Docker Container running happily since 2016 shipped to a large community of Synology users. Now this is no longer shipped I have to use workarounds (currently use init files from 8.5 builds) . Please take this as feedback and xonside shipping init files at least to /usr/share/doc/…
-TosoBoso