[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop. Repeated "No space left on device" errors and strange swap file configuration
** Changed in: gdm3 (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop. Repeated "No space left on device" errors and strange swap file configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop. Repeated "No space left on device" errors and strange swap file configuration
We can close this bug report at this point. But I do appreciate the follow up! It turns out that there were two problems. The first was that 18.04 had misconfigured the cryptoswap so that was not working at all. I reported this separately before the release of bionic and I believe that this bug has been fixed by the maintainers. The second was that the kernel was running out of inotify watches and this prevented (for some reason) gdm3 from allowing logins to complete. The inotify watches were being consumed by the Crashplan java app. I increased the fs.inotify.max_user_watches to 1048576 and that solved the problem. I realize that this consumes some unswappable ram, but I rather have Crashplan than not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop. Repeated "No space left on device" errors and strange swap file configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
I'm a little rusty and lost now. Can you please reword the bug title to better describe the problem, if any? ** Changed in: gdm3 (Ubuntu) Status: Expired => New ** Summary changed: - Greeter/lockscreen fails to authenicate in an endless loop + Greeter/lockscreen fails to authenicate in an endless loop. Repeated "No space left on device" errors and strange swap file configuration ** Changed in: gdm3 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop. Repeated "No space left on device" errors and strange swap file configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
[Expired for gdm3 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: gdm3 (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
I can confirm the default swapfile behaviour in 18.04 looks weird, but I don't know what the intention there is. Please log a separate bug for that if you think it's a problem that needs fixing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
I've been studying the swap mess. It seems that the installer made a swapfile called /swapfile and entered the line in /etc/crypttab as: cryptswap1 /target/swapfile /dev/urandom swap,offset=1024,cipher=aes- xts-plain64 which is the wrong, non-existent filename. So that seems to be an issue with the installer scripts. Also, I do not believe that the installer even asked me about a swap partition. I recall being surprised at the time. Anyway, after fixing that and rerunning ecryptfs-setup-swap, I was able to use cryptdisks_start to get the encrypted swap going and reboot with encrypted swap successfully. I wonder if this has been the root of my problem all along? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Thanks. Your comments led me to look at swap. There is no swap! I installed from iso image several weeks ago (I am traveling and had a bad ecryptfs corruption, not sure how this happened, and needed to reinstall, and had this on my memory stick for testing). I selected encrypted and had an prexisting swap partition. The installer made a 2GB swapfile (okay) but the ecryptfs swap did not get configured correctly, so no swap. So there is some inconsistency with the installer, clearly, that should be ironed out. I made normal swap on both the swapfile and the swap partition, followed by swapon -a. Now there is plenty of swap. I wonder if this is the cause of the lockscreen behavior? Difficultly with swap. I will observe. Any pointers on correctly configuring my ecryptfs swap at this point? Thanks!! On 03/26/2018 12:21 AM, Daniel van Vugt wrote: > Come to think of it, some code might be returning ENOSPC ("No space left > on device") for a RAM-based operation. > > So please also check how much RAM your system has before and after the > problem (run 'free -m'), and check 'ps' to see if any process is > unusually large. > > ** Changed in: gdm3 (Ubuntu) >Status: New => Incomplete > > ** No longer affects: gnome-shell-extension-appindicator (Ubuntu) > > ** No longer affects: gnome-shell-extension-ubuntu-dock (Ubuntu) > -- Martin Weinberg 6 Grass Hill Rd West Whately, MA 010039 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Come to think of it, some code might be returning ENOSPC ("No space left on device") for a RAM-based operation. So please also check how much RAM your system has before and after the problem (run 'free -m'), and check 'ps' to see if any process is unusually large. ** Changed in: gdm3 (Ubuntu) Status: New => Incomplete ** No longer affects: gnome-shell-extension-appindicator (Ubuntu) ** No longer affects: gnome-shell-extension-ubuntu-dock (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
"No space left on device" is coming up way too often in your log. I can't explain that but it is still possibly relevant since a lot of things are failing with that message. Please monitor your disk usage carefully, before and after the problem occurs again. And when it occurs again, please send us a fresh log file as well as more 'df -h' output. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
** Changed in: gdm3 (Ubuntu) Status: Incomplete => New ** Changed in: gnome-shell-extension-appindicator (Ubuntu) Status: Incomplete => New ** Changed in: gnome-shell-extension-ubuntu-dock (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
I saw that. But the disk is far from full. Don't know what's up with the /snap loopback devices. The hard drive itself is at 35%. Here's the df output: Filesystem Size Used Avail Use% Mounted on udev 3.8G 0 3.8G 0% /dev tmpfs 767M 1.9M 765M 1% /run /dev/sda5 450G 148G 279G 35% / tmpfs 3.8G 4.0K 3.8G 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/loop1 163M 163M 0 100% /snap/spotify/6 /dev/loop0 82M 82M 0 100% /snap/core/4206 tmpfs 767M 16K 767M 1% /run/user/120 tmpfs 767M 36K 767M 1% /run/user/1000 /home/weinberg/.Private 450G 148G 279G 35% /home/weinberg On 03/25/2018 10:59 PM, Daniel van Vugt wrote: > Your log is showing "No space left on device" > > So one of your disks is full, which may be the problem. Please check by > running: > > df -h > -- Martin Weinberg 6 Grass Hill Rd West Whately, MA 010039 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Your log is showing "No space left on device" So one of your disks is full, which may be the problem. Please check by running: df -h -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
I'm still getting failures. This is with a fixed variety and no gnome- shell extensions other than the default ubuntu extensions. I don't see but reports similar to this, so I gather that others are not generally plagued by this problem. Nonetheless, I appreciate any advice or comment you have on what to do here. I'd like to contribute to improving Ubuntu, but at some point, I going to have to do something to make this stop just for my own sanity; having to reboot at random times so that I can log in to my laptop is really not a good thing. Switch to a different session type? I will attach another journanctl -b0 log Thanks! ** Attachment added: "todays-journal2.txt" https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+attachment/5089039/+files/todays-journal2.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Thanks. That variety script was from an old version of variety, it seems. I removed that and checked that the current scripts in /usr/share/variety/scripts do not have that bug (looked like an operation on a shell variable that may not exist). I did notice a few variety crashes, but they do not seem to coincide with screenlock failure. I did have "clipboard indicator" and "media player indicator" enabled. Disabled those. Will see what happens. I can uninstall variety if I see more issues with that. On 03/19/2018 10:07 PM, Daniel van Vugt wrote: > Thanks. I can see two recurring issues that might be the cause: > > 1. Something called 'variety' is failing: > > Mar 17 08:16:14 magpie variety.desktop[1860]: > /home/weinberg/.config/variety/scripts/set_wallpaper: line 121: [: ==: > unary operator expected > > Try fixing your script, or try uninstalling 'variety'. > > 2. Multiple crashes in extensions: > > /usr/share/gnome-shell/extensions/ubuntu-appindicat...@ubuntu.com/* > /usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/* > > But also: > > 3. Please check that you don't have any gnome-shell extensions installed > other than the two default Ubuntu ones (mentioned above). Since they all > run in the same process, any buggy extension can break the entire shell. > > > ** Also affects: gnome-shell-extension-appindicator (Ubuntu) >Importance: Undecided >Status: New > > ** Changed in: gnome-shell-extension-appindicator (Ubuntu) >Status: New => Incomplete > > ** Also affects: gnome-shell-extension-ubuntu-dock (Ubuntu) >Importance: Undecided >Status: New > > ** Changed in: gnome-shell-extension-ubuntu-dock (Ubuntu) >Status: New => Incomplete > -- Martin Weinberg 6 Grass Hill Rd West Whately, MA 010039 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Thanks. I can see two recurring issues that might be the cause: 1. Something called 'variety' is failing: Mar 17 08:16:14 magpie variety.desktop[1860]: /home/weinberg/.config/variety/scripts/set_wallpaper: line 121: [: ==: unary operator expected Try fixing your script, or try uninstalling 'variety'. 2. Multiple crashes in extensions: /usr/share/gnome-shell/extensions/ubuntu-appindicat...@ubuntu.com/* /usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/* But also: 3. Please check that you don't have any gnome-shell extensions installed other than the two default Ubuntu ones (mentioned above). Since they all run in the same process, any buggy extension can break the entire shell. ** Also affects: gnome-shell-extension-appindicator (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-shell-extension-appindicator (Ubuntu) Status: New => Incomplete ** Also affects: gnome-shell-extension-ubuntu-dock (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-shell-extension-ubuntu-dock (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Daniel, I took a few days, but it did again fail with the same issue. I'm attaching the log, collected shortly after the failure by switch to console while running the Wayland session, as you requested. Had to reboot afterwards, to be able to log on to the desktop. Hope this helps you spot the issue. ** Attachment added: "Output of journalctl -b0" https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+attachment/5083910/+files/todays-journal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Martin, Can you please reproduce the problem with Wayland and then: journalctl -b0 > todays-journal.txt and attach the resulting file here? ** Changed in: gdm3 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
** Tags removed: wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Also a problem with the Wayland session. Not a big surprise. For now, I've turn off the screen lock. Not sure what else to do. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1755800] Re: Greeter/lockscreen fails to authenicate in an endless loop
Addendum: I was running the Xorg ("Ubuntu") session when the problems occurred. I'm trying the Wayland session now, so the autogenerated tag is not correct, and maybe not relevant. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755800 Title: Greeter/lockscreen fails to authenicate in an endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1755800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs