Removable drives are not auto-mounted after screen lock/unlock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell-extension-dashtodock (Ubuntu) |
Won't Fix
|
Medium
|
Marco Trevisan (Treviño) | ||
gnome-shell-extension-ubuntu-dock (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Impish |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) |
Bug Description
[ Impact ]
If I lock and then unlock the screen, and then connect a removable drive, it is not recognized by the GNOME shell. The kernel logs show the drive, I can mount it manually, but it is not mounted automatically. The logged errors are attached.
[ Test case ]
- Mount a device
- Lock the screen
- Unlock the screen
- The device should be re-mounted (and no errors in journal)
[ Regression Potential ]
Devices could be leaked if gc doesn't work as expected
---
I could fix the issue by modifying the source code as given in the attached patch.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2021-11-01 (1 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Package: gnome-shell 40.5-1ubuntu2
PackageArchitec
ProcVersionSign
RelatedPackageV
Tags: wayland-session impish
Uname: Linux 5.13.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
description: | updated |
Changed in gnome-shell-extension-dashtodock (Ubuntu): | |
importance: | Undecided → Medium |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
description: | updated |
Changed in gnome-shell-extension-dashtodock (Ubuntu Impish): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
importance: | Undecided → Medium |
no longer affects: | gnome-shell-extension-dashtodock (Ubuntu Impish) |
Changed in gnome-shell-extension-dashtodock (Ubuntu): | |
status: | In Progress → Won't Fix |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish): | |
status: | New → In Progress |
The attachment "The patch with my changes" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]