Bug 1221636 - While booting system waits 2 minutes for non-existing partition with uuid
Summary: While booting system waits 2 minutes for non-existing partition with uuid
Status: RESOLVED UPSTREAM
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: 64bit openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: systemd maintainers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-18 15:21 UTC by Freek de Kruijf
Modified: 2024-04-15 13:27 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2024-03-18 15:21:56 UTC
During boot journalctl -b reports:
mrt 18 13:40:14 eiktum systemd-hibernate-resume-generator[167]: Reported hibernation image: ID=opensuse-tumbleweed VERSION_ID=20231106 kernel=6.5.9-1-default UUID=b66ef179-3b2f-407b-81f3-88e5c71ea8de offset=0
[....]
mrt 18 13:40:14 eiktum systemd[1]: Expecting device /dev/disk/by-uuid/b66ef179-3b2f-407b-81f3-88e5c71ea8de...
mrt 18 13:40:14 eiktum systemd[1]: Expecting device /dev/disk/by-uuid/e210e98f-8b62-4fd0-ad4c-437cf6bd1317...

The device with UUID=b66ef179-3b2f-407b-81f3-88e5c71ea8de is not present in the system, so during boot it takes 2 minutes waiting for this device to show up and to continue booting. Apparently without any ill effects.

It appeared after the upgrade to Plasma 6.
Comment 1 Neil Rickert 2024-03-20 00:15:46 UTC
 Check the output from:

grep resume /etc/default/grub
Comment 2 Freek de Kruijf 2024-03-20 09:27:14 UTC
(In reply to Neil Rickert from comment #1)
>  Check the output from:
> 
> grep resume /etc/default/grub

Does not show any output.

I searched the whole tree of /boot and /etc for the last three characters (8de) of the uuid the system is waiting for and did not find anything resembling the whole uuid.
Comment 3 Freek de Kruijf 2024-03-24 18:01:19 UTC
(In reply to Freek de Kruijf from comment #2)
> (In reply to Neil Rickert from comment #1)
> >  Check the output from:
> > 
> > grep resume /etc/default/grub
> 
> Does not show any output.
> 
> I searched the whole tree of /boot and /etc for the last three characters
> (8de) of the uuid the system is waiting for and did not find anything
> resembling the whole uuid.

I installed Tumbleweed a second time on a separate partition using other partitions used in the first one and reformatted the 2 swap partitions.
After that this strange waiting for a non-existing uuid appeared again.
I can't find where this comes from.

I changed the timeout for resume-hibernation but that did nothing. So it looks like something that happens after resume-hibernation.
Comment 4 Antonio Feijoo 2024-04-01 09:41:25 UTC
(In reply to Freek de Kruijf from comment #0)
> During boot journalctl -b reports:
> mrt 18 13:40:14 eiktum systemd-hibernate-resume-generator[167]: Reported
> hibernation image: ID=opensuse-tumbleweed VERSION_ID=20231106
> kernel=6.5.9-1-default UUID=b66ef179-3b2f-407b-81f3-88e5c71ea8de offset=0

You're experiencing the following upstream issue: https://github.com/systemd/systemd/issues/32021

Temporary workaround: https://github.com/systemd/systemd/issues/30395#issuecomment-1852613917
Comment 5 Freek de Kruijf 2024-04-01 12:52:54 UTC
(In reply to Antonio Feijoo from comment #4)
> (In reply to Freek de Kruijf from comment #0)
> > During boot journalctl -b reports:
> > mrt 18 13:40:14 eiktum systemd-hibernate-resume-generator[167]: Reported
> > hibernation image: ID=opensuse-tumbleweed VERSION_ID=20231106
> > kernel=6.5.9-1-default UUID=b66ef179-3b2f-407b-81f3-88e5c71ea8de offset=0
> 
> You're experiencing the following upstream issue:
> https://github.com/systemd/systemd/issues/32021
> 
> Temporary workaround:
> https://github.com/systemd/systemd/issues/30395#issuecomment-1852613917

It suggests to remove the entry /sys/firmware/efi/efivars/HibernateLocation...

Although the protection is -rw-r--r-- I am unable to remove that entry with "rm" as root; Operation not permitted.
Comment 6 Freek de Kruijf 2024-04-01 12:56:27 UTC
> Although the protection is -rw-r--r-- I am unable to remove that entry with
> "rm" as root; Operation not permitted.

Did not read further and used chattr -i on that entry and now the entry is removed. Thanks!!
Comment 7 Franck Bui 2024-04-02 12:27:22 UTC
I'm wondering whether "HibernateLocation" EFI variable shouldn't be unconditionally purged by the installer when it set a new system up....

Or maybe the resume generator should be skipped when the first boot condition is met.
Comment 8 Franck Bui 2024-04-15 13:27:25 UTC
I'm closing this report as this is supposed to be fixed by https://github.com/systemd/systemd/pull/32043 which will be released with v256.