[Pkg-giraffe-discuss] failing autopkgtest for kopanocore 8.7.0-4 - store for new users now created by default?

Felix Bartels f.bartels at kopano.com
Tue Oct 29 12:18:46 GMT 2019


Additionally kopano-admin will print the following when gettings details for a user without a store:



$ kopano-admin --details user1
WARNING: Unable to get user store entry id. User possibly has no store.

Object id:              27
[...]


Met hartelijke groet, Mit freundlichen Grüßen, Kind regards,

Felix Bartels | Release & QA Manager
Tel. +31 (0)15 750 4712 | www.kopano.com



Recent releases: July releases
Events: Webinar recording: Meet 1.0 features and use | Open Source Summit 2019
Trainings: Admin training 101 (November) | Admin training 102 (November)


Subscribe to Kopano newsletter





-----Ursprüngliche Nachricht-----
Von: Jan Engelhardt <jengelh at inai.de>
Gesendet: Dienstag 29 Oktober 2019 11:59
An: Carsten Schoenert <c.schoenert at t-online.de>
CC: pkg-giraffe-discuss <pkg-giraffe-discuss at alioth-lists.debian.net>
Betreff: Re: [Pkg-giraffe-discuss] failing autopkgtest for kopanocore 8.7.0-4 - store for new users now created by default?




On Monday 2019-10-28 23:10, Carsten Schoenert wrote:
>
>The call is simply that the autopkgtest is doing.
>
>> kopano-storeadm -h default: -Cn testadmin
>
>As this has worked before I assume the behavior of kopanocore has
>changed a bit by the inclusion of all the patches Roel has collected.
>Is my assumption correct that a store for a user is now created
>automatically if the user is newly added to the system?

server.cfg can specify a "createuser_script" value which is
executed by kopano-server. The default value is 
/usr/lib/kopano/userscripts/createuser, which in turn runs all in
{/usr,/etc}/lib/kopano/userscripts/createuser.d, systemd-style,
which in turn runs storeadm -C.

If any of those components are absent/fail, the store may not be there.


>How to check best if the user has a store?
>Simply calling 'kopano-storeadm -M | grep foo'?

kopano-admin --details foo | grep -q "ˆStore GUID:"

(8.7.3 onwards)

_______________________________________________
Pkg-giraffe-discuss mailing list
Pkg-giraffe-discuss at alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-giraffe-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-giraffe-discuss/attachments/20191029/6400a605/attachment.html>


More information about the Pkg-giraffe-discuss mailing list