Mailinglist Archive: opensuse-factory (439 mails)

< Previous Next >
Re: [opensuse-factory] Latest TW: akonadi crashes
Am Dienstag, 2. April 2019, 18:20:49 schrieb Axel Braun:
The thread you mentioned: in opensuse-kde beginning
31-03-19 Subj: akonadiserver and kmail are leaking memory

deals with akonadi consuming all memory.
Hm, I don't see any particular thread mentioned... ;-)

Maybe he meant e.g. this one?
https://lists.opensuse.org/opensuse-factory/2019-03/msg00367.html

This is in fact a different issue
than the missing connection to dbus. Other things are not working properly
as well in KDE, like (no change of volume via hotkeys, no on-screen display
for the same) so I guess KDE is not necessarily the originator of the
problem

Certainly not.
The dbus user session bus is not found, and XDG_RUNTIME_DIR is not set.
The latter is normally done by pam_systemd on login.

This looks very much like http://bugzilla.opensuse.org/show_bug.cgi?id=1130654
(mentioned in the above thread), which IMHO is the same issue as
https://bugzilla.opensuse.org/show_bug.cgi?id=1129830.

In short:
It seems that systemd "forgets" that /home is mounted in certain cases and
tries to mount it again on login.
This fails of course (as it is already mounted), causing pam_systemd to error
out and again unset XDG_RUNTIME_DIR and deleting the corresponding directory
(/run/user/$id/) which should contain the socket to connect to the DBUS
session bus (as referenced by $DBUS_SESSION_BUS_ADDRESS).

A "workaround" would be to run "export dbus-launch" in the shell before
starting "akonadictl start" or other applications, but that won't "fix"
already running things of course.

Markos found out that it works for him when removes the "nofail" option from
the fstab entry for /home (and use "defaults" instead), maybe this would help
here too?
Otherwise, this should work too I suppose:
When I umount /home and mount it manually via
systemctl start home.mount
again the state is fixed and I can log in anymore.
(taken from the second bug report, you need to do that *before* logging in of
course)

Kind Regards,
Wolfgang

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups