[pkg-cinnamon] Bug#766819: cinnamon freezes for a minute or so, when opening images or text with gnome/gtk apps and when closing them later on

Christoph Anton Mitterer calestyo at scientia.net
Sun Oct 26 04:35:51 UTC 2014


affects 766819 + systemd gvfs openafs-client
stop

(I'm adding affects for all the packages which possibly play a role in
leading to this issue, please remove yourself when you think it doesn't
apply).


I've downgraded basically most of the packages from the log from before
which could be remotely reason for this (gtk, etc.) but no effect.

I probably found the reason though.

But first some further information:
- iceweasel is not affected
- evince is affected
- when cinnamon starts it basically freezes during start for a while
- it also happens sometimes when switching workspaces
- it does not happen when with eog/etc. when started via plain X (after
startx).


One thing cured the whole issue:
I've noted that since a few days openafs-client was started by systemd,
and did some partial mount:
# l /afs/
total 8,2k
drwxr-xr-x  3 root root 2,1k Jan  1  1970 .
drwxr-xr-x 26 root root 4,1k Oct 22 06:06 ..
drwxr-xr-x  1 root root 2,1k Jan  1  1970 .:mount


After:
# systemctl stop afs.mount 
# systemctl stop openafs-client.service 
# systemctl disable openafs-client.service 

Cinnamon worked again perfectly.


So there seem to be some issues now....
1) Why did systemd enable openafs-client? I had it clearly disabled
during sysvinit times and it's probably bad to have it automagically
enabled. (What if it does so with insecure services as well?)

2) Why is cinnamon related but not plain X? I'd suspect gvfs is the
reasons.
Which leads to the questions: Why can gvfs block the whole GUI, and why
doesn't it handle a broken /afs gracefully and what the hell has it to
do with afs anyway?

3) What is broken with openafs-client?
It breaks one stopping/starting it:
# systemctl status openafs-client.service 
● openafs-client.service - OpenAFS client
   Loaded: loaded (/lib/systemd/system/openafs-client.service; disabled)
   Active: failed (Result: timeout) since Sun 2014-10-26 05:25:12 CET;
1min 18s ago
  Process: 6270 ExecStartPre=/usr/share/openafs/openafs-client-precheck
(code=exited, status=0/SUCCESS)

Oct 26 05:22:58 heisenberg
openafs-client-precheck[6270]: /usr/share/openafs/openafs-client-precheck: 30: [: openafs: unexpected operator
Oct 26 05:23:42 heisenberg systemd[1]: Stopping OpenAFS client...
Oct 26 05:25:12 heisenberg systemd[1]: openafs-client.service stop-post
timed out. Terminating.
Oct 26 05:25:12 heisenberg systemd[1]: Stopped OpenAFS client.
Oct 26 05:25:12 heisenberg systemd[1]: Unit openafs-client.service
entered failed state.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cinnamon-team/attachments/20141026/988f9965/attachment.bin>


More information about the pkg-cinnamon-team mailing list