Public bug reported:

It appears that when installing new versions of software, snapd fails to delete 
the dev-loops for older versions. 

With Ubuntu 18.04 running on an X-1 Carbon Thinkpad (5th Generation)
with an SSD, my logins after the screen locked became slow. There would
be a delay of maybe 10 to 15 seconds before the login would complete. So
I updated to 19.10. Same story.

Running "systemd-analyze blame," I saw a lot of time-using entries for
"dev-loop[number]."

Running "losetup-a," I was able to see that some of the loops pertained
to obsolete versions of software, especially prior versions of gnome.

After I used "losetup -d" to delete such loops, my logins are quick
again.

>From what I've read online, it seems that snapd fails to delete such old
loops and this is what causes the delay.

What I expected: 
My login would be practically instant.

What happened: 
My login took 10 to 15 seconds.

Steps to reproduce the behavior: 
The problem occurred consistently, with every login from the lockscreen. When I 
first installed 18.04 this did not occur. 

By the way, when I tried to report this issue using Apport ("ubuntu-bug
snapd"), I received the message "The problem cannot be reported. This is
not an official Ubuntu package."

Architecture: AMD64
Desktop: Gnome
DistroRelease: Ubuntu 19.10
InstallationDate: 2017-12-08 (762 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" Release amd64 (20171018)
ProcVersionSignature: Linux 5.3.0-24-generic 5.3.10
Tags: eoan wayland-session
Uname: Linux 5.3.0-24-generic x86_64
Upgrade status: Upgraded to Eoan on 2019-12-19 (22 days ago)

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859160

Title:
  Snapd fails to delete obsolete dev-loops, thus causing delay at
  lockscreen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1859160/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to