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

Homelabineer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Homelabineer <[email protected]> ---
Hit the same thing on Fedora 44 with KIO 6.31.0 and Plasma 6.8.2, but with NFS
instead of CIFS. I have four NFSv3 mounts from my NAS (hard,
x-systemd.automount).

Since the KF 6.31 update on Oct 16 about half my wakes from sleep end with wifi
stuck on "connecting" until NetworkManager gives up after 120s with
"no secrets: No agents were available for this request". Plugging in ethernet
or waiting 2-3 minutes gets it going again.

During that time kded6 stops answering dbus. Its main thread is in D state,
wchan rpc_wait_bit_killable, kernel stack:

  rpc_wait_bit_killable [sunrpc]
  __rpc_execute / rpc_execute / rpc_run_task / rpc_call_sync [sunrpc]
  nfs3_rpc_wrapper / nfs3_proc_getattr [nfsv3]
  __nfs_revalidate_inode / nfs_access_get_cached / nfs_do_access /
nfs_permission [nfs]
  inode_permission

That's the access() in TrashImpl::trashForMountPoint, coming from the new
trashdirnotify kded module when Solid fires deviceAdded on resume. The NAS
isn't
reachable yet because wifi isn't up, and the plasma-nm secret agent lives in
the
same kded6 process, so NetworkManager never gets the password until that NFS
call returns.

I can trigger it with the laptop awake and online:

  sudo ip route add blackhole <nas-ip>/32
  sudo udevadm trigger --action=add --subsystem-match=video4linux

kded6 locks up within a few seconds. Deleting the blackhole route frees it.

Setting autoload=false for Module-trashdirnotify in kded6rc fixes it for me.
scanTrashDirectories only skips pseudo filesystems, so skipping remote mounts
too (KMountPoint::isOnRemoteStorage) or not doing that stat from kded6's main
thread would avoid this.

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

Reply via email to