Bug 434455 - kinit doesn't terminate "file.so" and the partition cannot be unmounted.
Summary: kinit doesn't terminate "file.so" and the partition cannot be unmounted.
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kinit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.80.0
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: regression
: 432298 434781 434797 434801 435169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-15 18:58 UTC by Domker
Modified: 2022-05-16 15:57 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.81


Attachments
attachment-15535-0.html (1.12 KB, text/html)
2021-03-22 23:54 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Domker 2021-03-15 18:58:34 UTC
SUMMARY
If I mount a partition manually using "mount" on a mount point, then after visiting the location with Dolphin and opening any file, then shuting down both. The partition is busy.

STEPS TO REPRODUCE
1. sudo mount /dev/sdc1 /mnt
2. run Dolphin, go to /mnt and open any file (e.g. text file in Kate)
3. close file, close Dolphin
4. sudo umount /dev/sdc1

OBSERVED RESULT
umount: /mnt: target is busy.

lsof /mnt
COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
file.so 6403 me    5r   REG   8,33      190 1448 /mnt/Clonezilla-Live-Version

EXPECTED RESULT
Successful unmounting. 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.6-arch1-1
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 980/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-17 13:59:35 UTC
I can confirm this with plasma vaults too. Seems like a recent regression.
Comment 2 deadite66 2021-03-17 16:42:31 UTC
i've been having this problem unmounting veracrypt mounts too.
Comment 3 Nate Graham 2021-03-22 17:44:00 UTC
*** Bug 434781 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2021-03-22 21:59:07 UTC
*** Bug 434797 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2021-03-22 21:59:32 UTC
It would appear that this was introduced with Frameworks 5.80.
Comment 6 Nate Graham 2021-03-22 22:09:09 UTC
Trivial steps to reproduce:

1. Mount any volume (flash drive, other partition, plasma vault)
2. Open a file on that volume
3. Close the file
4. Attempt to unmount the volume
Comment 7 Nate Graham 2021-03-22 22:20:56 UTC
Let's try to bisect...
Comment 8 Nate Graham 2021-03-22 23:06:25 UTC
Git bisect says it was caused by https://invent.kde.org/frameworks/kio/-/commit/066fa6649610c6eaecb4eafeb317c5285d32109b.
Comment 9 David Faure 2021-03-22 23:31:15 UTC
Possible fix at https://invent.kde.org/frameworks/kio/-/merge_requests/378

Testers welcome.
Comment 10 Nate Graham 2021-03-22 23:54:28 UTC
Created attachment 136959 [details]
attachment-15535-0.html

Thanks, will test later today. ---- On Mon, 22 Mar 2021 17:31:15 -0600  bugzilla_noreply@kde.org  wrote ----https://bugs.kde.org/show_bug.cgi?id=434455

--- Comment #9 from David Faure <faure@kde.org> ---
Possible fix at https://invent.kde.org/frameworks/kio/-/merge_requests/378

Testers welcome.
Comment 12 Nate Graham 2021-03-23 12:26:02 UTC
*** Bug 434801 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2021-03-31 00:33:52 UTC
*** Bug 435169 has been marked as a duplicate of this bug. ***
Comment 14 Ahmad Samir 2022-05-16 15:57:06 UTC
*** Bug 432298 has been marked as a duplicate of this bug. ***