-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stretch template slow boot time #2913
Comments
The delay is still there with the build from today. Template upgraded from jessie to stretch doesn't have this issue. |
Looking at the differences between upgraded debian-8-to-9 and the qubes-template-debian-9 VMs, I found this in the stalling (latter) one:
This was alongside |
Wondering how this 'extra' link got into /etc, I noticed that qubes-builder-debian lists |
BTW full path and command is:
|
wpasupplicant is installed in jessie as well as stretch, so the absence from packages is neither here nor there. |
No other changes I recall. Will try again with a fresh template. Remember, wpa_supplicant.service is still there in debian-8 and debian-9. But debian-9 also has another link to service with at-sign; its this one I deleted. |
@unman Tried a newly-installed debian-9 template. Bootup time = 130sec. Then removed the @.service link then boot time = 12sec. The template version I'm using is 9-4.0.0-201711030329 |
Re-adding the link causes template to return to 130+sec start time. The service in question has this status:
|
More complete from journalctl:
|
Ok thanks for that. I'll have to see why it isnt working for me. |
I can also report that adding the @.service link to my upgraded-8-to-9 template causes the delay to appear for the same 1:30 duration. (Prior comments said "130sec" but its really 1m 30sec; sorry about that.) |
So a newly built stretch template DOES show the interaction with @.service that @tasket describes, but my more elderly not updated template did not (afaik). |
I've been using for sys-net an upgraded-to-9 template with wpasupplicant for almost a week, no problems. Of course, it contains a link to regular .service but not for the @.service. Question: Does a regular Debian 9 install setup this @.service link, or could this be some artifact from the template building process? I have to wonder since apt upgrade process doesn't put it there. |
No a standard install on laptop with wifi adapter doesn't include EITHER service in the "wants": neither the regular nor the @ service. |
@tasket - would it be possible for you to test using a Debian-9 (not upgraded from 8) for sys-net, with the @.service link removed? |
@unman - OK. New template installed. Removed the @ link. Installed firmware-iwlwifi package. But doesn't work for me without adding firmware-iwlwifi. |
@tasket - Excellent - thanks for that. |
It is more robust, especially handle "# Units below this line will be re-preset on package upgrade" part of 75-qubes-vm.preset file. This is needed to fix system configuration without the need to rebuild the whole template. QubesOS/qubes-issues#2913
It is more robust, especially handle "# Units below this line will be re-preset on package upgrade" part of 75-qubes-vm.preset file. This is needed to fix system configuration without the need to rebuild the whole template. QubesOS/qubes-issues#2913 (cherry picked from commit d5fe5ae)
It is more robust, especially handle "# Units below this line will be re-preset on package upgrade" part of 75-qubes-vm.preset file. This is needed to fix system configuration without the need to rebuild the whole template. QubesOS/qubes-issues#2913
It is more robust, especially handle "# Units below this line will be re-preset on package upgrade" part of 75-qubes-vm.preset file. This is needed to fix system configuration without the need to rebuild the whole template. QubesOS/qubes-issues#2913
It is more robust, especially handle "# Units below this line will be re-preset on package upgrade" part of 75-qubes-vm.preset file. This is needed to fix system configuration without the need to rebuild the whole template. QubesOS/qubes-issues#2913 (cherry picked from commit 47e6a84)
@unman - Did I mention I'm using R4.0-rc3? (Probably doesn't matter though.) |
After disabling wpa_supplicant (thanks @tasket), problem is resolved. |
Qubes OS version (e.g.,
R3.2
):R3.2
Affected TemplateVMs (e.g.,
fedora-23
, if applicable):Stretch
Expected behavior:
Template or Template-based-VM will boot normally
Actual behavior:
Very slow boot time - 90-120 secs.
Steps to reproduce the behavior:
Install Stretch template.
Fix X issues - see #2909
Start template or TemplateBasedVM
General notes:
delay seems to be on sys-subsytem-net-devices-multi-user.device
Related issues:
The text was updated successfully, but these errors were encountered: