FS#66268 - [pcmanfm] Daemon-mode not quitting properly on shutdown

Attached to Project: Community Packages
Opened by Jörg Mayer (linmjorg) - Wednesday, 15 April 2020, 20:56 GMT
Last edited by Balló György (City-busz) - Thursday, 28 May 2020, 09:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

In LXDE pcmanfm doesn't close on shutdown/reboot. There is also a bugreport in Red Hat Bugzilla. Since my English is bad and I'm lazy, I copy the text from there:

https://bugzilla.redhat.com/show_bug.cgi?id=1797193

Description of problem:

Whenever I request a shutdown or reboot, I get this:
Waiting for stop job for 1 min and 30 secs.

Version-Release number of selected component (if applicable):

pcmanfm-1.3.1-2.D20181227git0619a81f.fc31.2.x86_64

How reproducible:

Always (at least on my system which is running as a qemu/kvm guest).

Steps to Reproduce:
1. Reboot and log in to lxde.
2. Request a shutdown.
3. wait for the reboot to complete

Actual results:

Shutdown takes a long time.

Expected results:

Shutdown would be just as fast as in the previous fedora version.

Additional info:

From the journal

Feb 01 10:39:37 fc31 kernel: fbcon: Taking over console
Feb 01 10:39:37 fc31 kernel: Console: switching to colour frame buffer device 160x45
Feb 01 10:41:01 fc31 systemd[1]: session-2.scope: Stopping timed out. Killing.
Feb 01 10:41:01 fc31 systemd[1]: session-2.scope: Killing process 718 (pcmanfm) with signal SIGKILL.
Feb 01 10:41:01 fc31 systemd[1]: session-2.scope: Killing process 740 (gmain) with signal SIGKILL.
Feb 01 10:41:01 fc31 systemd[1]: session-2.scope: Killing process 742 (gdbus) with signal SIGKILL.
Feb 01 10:41:01 fc31 systemd[1]: session-2.scope: Failed with result 'timeout'.
Feb 01 10:41:01 fc31 systemd[1]: Stopped Session 2 of user vek.
Feb 01 10:41:01 fc31 systemd[1]: session-2.scope: Consumed 19.863s CPU time.
Feb 01 10:41:01 fc31 systemd[1]: Stopping Login Service...
Feb 01 10:41:01 fc31 systemd[1]: Stopping User Manager for UID 1000...


If I interpret this correctly, the remaining process would be pcmanfm.

I would be nice if I could attach strace to that process, but strace itself would be terminated too early to be useful.

There is already a patch:

https://src.fedoraproject.org/rpms/pcmanfm/blob/4b1c3e3004e996ea3192f1725d3b8a916c7c3ab5/f/pcmanfm-0201-main-set-the-GIOChannel-encoding-to-binary.patch

So I suggest to include this patch.

See also here:
https://bbs.archlinux.org/viewtopic.php?id=254266



This task depends upon

Closed by  Balló György (City-busz)
Thursday, 28 May 2020, 09:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  pcmanfm 1.3.1-2
Comment by Remi Gacogne (rgacogne) - Sunday, 26 April 2020, 14:38 GMT
I can confirm the issue, and that applying the patch fixes it for me.
Comment by Zatalyz (zatalyz) - Monday, 27 April 2020, 09:38 GMT
I can confirm too, same problem. I don't know how apply patch and I hope someone can fix this package.
Comment by Ioannis Kozanitis (giannis-arch) - Monday, 27 April 2020, 09:42 GMT
I confirm the issue and this patch fixes it for me.

Loading...