Akonadi does not start for new users in buster

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Akonadi does not start for new users in buster

Rainer Dorsch-2
Hello,

I observer on my buster system here, that akonadi does not start for new users
(i.e. fresh added through adduser). It works well for existing users.

Kmail says something along the lines

Akonadi service for the personal information management does  not work
properly. [Translated back from German, for the original screenshot in German
see http://scw.bokomoko.de/~rd/akonadi-issue.png ]

For reference I add the output of an akonadi self-test here:

http://scw.bokomoko.de/~rd/akonadi-selftest-report-20190203.txt

Can anybody check if that is the same on other buster systems?

The check is simple:

- Run adduser testuser
- Login as testuser
- Start kmail

If that is not only on my system, I think that would qualify for a release
critical bug....but I want to avoid that I am missing something stupid and I
do not want create unnecessary work for the Debian KDE team, which is doing a
great job in having a recent KDE in buster :-)

Thanks
Rainer

--
Rainer Dorsch
http://bokomoko.de/


Reply | Threaded
Open this post in threaded view
|

Re: Akonadi does not start for new users in buster

Sandro Knauß-5
Hey,

> Can anybody check if that is the same on other buster systems?

At least there are two different bugs with first start:
One with mariadb
(they moved my_print_defaults from mariadb-server-core -> mariadb-server), so
we need mariadb-server for initially start. This is reported:
https://bugs.debian.org/910902

the workaround:
* install mariadb-server
* replace the dump script with a symlink:

rm /usr/sbin/mysqld-akonadi
ln -s /usr/sbin/mysqld /usr/sbin/mysqld-akonadi

And than there is mysql, that is not happy about the current apparmor profile:
https://bugs.kde.org/show_bug.cgi?id=399346#c10

But I don't want to open the apparmor profile that much, so I someone with more
knowlege about apparmor can look into this. That'll be great.

This mysql bug is not reported right now, it was only reported against kde
neon. And mysql is not default db anyways in Debian.

hefee

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Akonadi does not start for new users in buster

Rainer Dorsch-2

Am Montag, 4. Februar 2019, 16:34:51 CET schrieb Sandro Knauß:

> Hey,

>

> > Can anybody check if that is the same on other buster systems?

>

> At least there are two different bugs with first start:

> One with mariadb

> (they moved my_print_defaults from mariadb-server-core -> mariadb-server),

> so we need mariadb-server for initially start. This is reported:

> https://bugs.debian.org/910902

>

> the workaround:

> * install mariadb-server

> * replace the dump script with a symlink:

>

> rm /usr/sbin/mysqld-akonadi

> ln -s /usr/sbin/mysqld /usr/sbin/mysqld-akonadi

>

> And than there is mysql, that is not happy about the current apparmor

> profile: https://bugs.kde.org/show_bug.cgi?id=399346#c10

>

> But I don't want to open the apparmor profile that much, so I someone with

> more knowlege about apparmor can look into this. That'll be great.

>

> This mysql bug is not reported right now, it was only reported against kde

> neon. And mysql is not default db anyways in Debian.

>

> hefee

 

Thanks, hefee :-)

 

# apt-get install mariadb-server

 

and as new user (before starting akonadi)

 

mkdir -p ~/.local/share/akonadi/db_data/

 

(I have not tried w/o this)

 

worked around the problem for me.

 

Since both is described in #910902, it seems there is no need to open another bugreport.

 

Rainer

 

--

Rainer Dorsch

http://bokomoko.de/

Reply | Threaded
Open this post in threaded view
|

Re: Akonadi does not start for new users in buster

Sandro Knauß-5
Hey,

> # apt-get install mariadb-server
>
> and as new user (before starting akonadi)
>
> mkdir -p ~/.local/share/akonadi/db_data/
>
> (I have not tried w/o this)
>
> worked around the problem for me.
>
> Since both is described in #910902, it seems there is no need to open
> another bugreport.
I uploaded now 18.08.3-2 with a workaround for that. So with that version you
should now be able to use do anything manual.

hefee

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Akonadi does not start for new users in buster

Martin Steigerwald
Sandro Knauß - 07.02.19, 00:20:

> > # apt-get install mariadb-server
> >
> > and as new user (before starting akonadi)
> >
> > mkdir -p ~/.local/share/akonadi/db_data/
> >
> > (I have not tried w/o this)
> >
> > worked around the problem for me.
> >
> > Since both is described in #910902, it seems there is no need to
> > open
> > another bugreport.
>
> I uploaded now 18.08.3-2 with a workaround for that. So with that
> version you should now be able to use do anything manual.

Thank you, Sandro.

The important work-around includes to install MariaDB/MySQL main server
packages including their systemd service files / init scripts. So in case
you do not like a system-wide mysqld process to be running use systemctl
disable or even systemctl mask. As far as I remember the mysqld would
just listen to localhost, so it should not be a security risk.

Ciao,
--
Martin