https://bugs.kde.org/show_bug.cgi?id=527405

            Bug ID: 527405
           Summary: trashdirnotify keeps remounting automounted folders
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Since 6.8.0 the behaviour of automonted SMB folders has changed. Once they get
activated they keep being remounted triggered by kded6. Removing one module at
a time I discovered that trashdirnotify is the responsible.

STEPS TO REPRODUCE
1. Set up automounting SMB folders with systemsd .mount and .automout units
2. Open Dolphin
3. Access the SMB folder
4. Check that it get mounted as expected
5. Close Dolphin
6. Open a terminal and follow in the journalctl for messages linked to the
mount and automount systemd units

OBSERVED RESULT
The folder keeps being remounted even with closed dolphin and nothing accessing
it.

ott 19 08:54:28 D9330 systemd[1]: Set up automount Automount Share ntfs1tb.
ott 19 09:05:18 D9330 systemd[1]: mnt-myshare-ntfs1tb.automount: Got automount
request for /mnt/myshare/ntfs1tb, triggered by 3284 (KIO::WorkerThre)
ott 19 09:05:18 D9330 systemd[1]: Mounting Mount Share ntfs1tb at boot...
ott 19 09:05:18 D9330 systemd[1]: Mounted Mount Share ntfs1tb at boot.
ott 19 09:06:09 D9330 systemd[1]: Unmounting Mount Share ntfs1tb at boot...
ott 19 09:06:09 D9330 systemd[1]: mnt-myshare-ntfs1tb.mount: Deactivated
successfully.
ott 19 09:06:09 D9330 systemd[1]: Unmounted Mount Share ntfs1tb at boot.
ott 19 09:06:09 D9330 systemd[1]: mnt-myshare-ntfs1tb.automount: Got automount
request for /mnt/myshare/ntfs1tb, triggered by 1070 (kded6)
ott 19 09:06:09 D9330 systemd[1]: Mounting Mount Share ntfs1tb at boot...
ott 19 09:06:09 D9330 systemd[1]: Mounted Mount Share ntfs1tb at boot.
ott 19 09:06:32 D9330 systemd[1]: Unmounting Mount Share ntfs1tb at boot...
ott 19 09:06:32 D9330 systemd[1]: mnt-myshare-ntfs1tb.mount: Deactivated
successfully.
ott 19 09:06:32 D9330 systemd[1]: Unmounted Mount Share ntfs1tb at boot.
ott 19 09:06:32 D9330 systemd[1]: mnt-myshare-ntfs1tb.automount: Got automount
request for /mnt/myshare/ntfs1tb, triggered by 1070 (kded6)
ott 19 09:06:32 D9330 systemd[1]: Mounting Mount Share ntfs1tb at boot...
ott 19 09:06:32 D9330 systemd[1]: Mounted Mount Share ntfs1tb at boot.
ott 19 09:06:55 D9330 systemd[1]: Unmounting Mount Share ntfs1tb at boot...
ott 19 09:06:55 D9330 systemd[1]: mnt-myshare-ntfs1tb.mount: Deactivated
successfully.
ott 19 09:06:55 D9330 systemd[1]: Unmounted Mount Share ntfs1tb at boot.
ott 19 09:06:55 D9330 systemd[1]: mnt-myshare-ntfs1tb.automount: Got automount
request for /mnt/myshare/ntfs1tb, triggered by 1070 (kded6)
ott 19 09:06:55 D9330 systemd[1]: Mounting Mount Share ntfs1tb at boot...
ott 19 09:06:55 D9330 systemd[1]: Mounted Mount Share ntfs1tb at boot.
ott 19 09:07:01 D9330 systemd[1]: Unmounting Mount Share ntfs1tb at boot...
ott 19 09:07:01 D9330 systemd[1]: mnt-myshare-ntfs1tb.mount: Deactivated
successfully.
ott 19 09:07:01 D9330 systemd[1]: Unmounted Mount Share ntfs1tb at boot.
ott 19 09:07:01 D9330 systemd[1]: mnt-myshare-ntfs1tb.automount: Got automount
request for /mnt/myshare/ntfs1tb, triggered by 1070 (kded6)
ott 19 09:07:01 D9330 systemd[1]: Mounting Mount Share ntfs1tb at boot...
ott 19 09:07:01 D9330 systemd[1]: Mounted Mount Share ntfs1tb at boot.

EXPECTED RESULT
The folder get unmounted after some time and does not get remounted till next
access to it

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.8.0
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.2.11-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-1240U
Memory: 16 GiB of RAM (15.2 GiB usable)
Graphics Processor: Mesa Intel® Iris® Xe Graphics
Manufacturer: Dell Inc.
Product Name: Latitude 9330

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to