Bug 1213392

Summary: snapd (providing snap) causes long delay in boot process
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ilgaz Öcal <ilgaz>
Component: OtherAssignee: Danilo Spinella <danilo.spinella>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: dmesg of hp i5 using wicked network service (other system using Network Manager is slightly better)

Description Ilgaz Öcal 2023-07-17 11:47:57 UTC
Created attachment 868244 [details]
dmesg of hp i5 using wicked network service (other system using Network Manager is slightly better)

A delay in boot process started to happen about a month or two. I was suspecting kernel however a similar post on Reddit shows it something related to snapd installation.

(on a i5 system/8G RAM/802.11ac 5ghz connection using rtl8821cu-kmp-default)

 systemd-analyze blame
30.196s wicked.service
 3.121s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.device
 3.121s dev-disk-by\x2duuid-0A20\x2d0890.device
 3.121s dev-disk-by\x2dpartlabel-EFI\x5cx20system\x5cx20partition.device


to reproduce:
1) install snapd using instructions at https://en.opensuse.org/Snap
2) reboot

what happens:
system starts to boot normally and at half of the boot process, it completely stops for at least 15 seconds, 30 seconds max observed.

what should happen:
system should boot normally, perhaps couple or a bit more seconds added to boot process (snapd uses squashfs containers)

I reported it to snapd maintainers at:
https://bugs.launchpad.net/snapd/+bug/2027915
Comment 1 Ilgaz Öcal 2023-08-03 10:58:09 UTC
As of current time this issue has been resolved either by snapd people or Tumbleweed updates. Closing for now.