I’m using an MSI laptop and using Gnome, Wayland. I ran sudo zypper dup this morning as I do every morning. It installed/updated about 500MB of packages. Then I rebooted and it fails to boot. It gets past the GRUB menu to the MSI logo with the spinning wheel underneath the logo. Then it goes to a blank black screen with a blinking cursor in the upper left corner and nothing else. After doing this a few times I got into GRUB menu and tried the previous snapshot before this morning’s zupper dup. That also went to the same black screen of death. Then I tried the snapshot from yesterday. That worked and gave me a successful boot into my system.
So looks like this morning’s zypper dup update got some buggy packages.
Any ideas what’s going on? Any idea which packages are buggy and causing failed boots?
I just updated in a KVM virtual machine. And it never completed startup.
It looks as if GDM is failing to start.
I rebooted (with CTRL-ALT-DEL), used ‘e’ in the grub screen to boot to level 3. That got me in at a command line. I then switch the displaymanager to SDDM. And it seems to start up normally with SDDM. And, yes, I can login to Gnome using SDDM.
I looked at the suggestions from the linked post. They suggested removing “/etc/nsswitch.conf”, so that the system reverts to “/usr/etc/nsswitch.conf”.
And that seems to have solved the problem. I’ve switched back to using GDM, and it is now starting up properly.
My intuition is telling me if I make this change to nsswitch.conf and then run zypper dup I’ll end up back with the bad nsswitch. Let me know if I’m misunderstanding.
Seems to me the real solution is to not do any zypper dup until the bugs are fixed. Again, let me know if I’m missing something.
If you first do the dup, that will make a new snap, then after that delete or rename the file. Because of the new snap the file will be in there so deleting it after that means if you fail to boot you can simply roll back and also have the file back
Normally, an update (i.e. “zypper dup”) should only change “/usr/etc/nsswitch.conf”. The file “/etc/nsswitch.conf” is for the local administrator to modify what comes in “/usr/etc/nsswitch.conf”.
In my case, anything in “/etc/nsswitch.conf” is from before the change to using “/usr/etc/nsswitch.conf”, so I probably didn’t need it.
There is at least one package that inserts mdns_minimal and of course it needs to do it in /etc, not in /usr/etc. As long as /usr/etc/nsswitch.conf already has the correct content it should not do any harm though (beyond well known problem of bad modification).
Update: I ran sudo zypper dup this morning and again got the same black screen of death. Had to do a hard reboot and revert back to snapshot from 2 days ago.
Hopefully the bugs will get fixed soon. See the post above this for my question and issue.
This was a Btrfs rollback using a 2 day old snapshot. More recent snapshots give me a black screen of death.
Have any instructions on how I can get permission to modify that /etc/nsswitch.conf file? I hit a brick wall on that. Google and AI searches not helping.
I don’t know specifically what a “reboot in a system rescue” is.