-
-
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
Archlinux template for QubesOS 4.0 #3185
Comments
building this using your instructions worked for me as well (fc26, incidentally), and it even boots, so I'm good for now. :) |
Is this something thats in any early beta repos, or is it only build yourself for the moment? |
For now, home brewing only, I'm afraid. :)
…On Oct 19, 2017 16:00, "mannp" ***@***.***> wrote:
Is this something thats in any early beta repos, or is it only build
yourself for the moment?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3185 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUGeHGqESV3rMDA-Zce-Sna7qqXeedfZks5st1X3gaJpZM4P90RU>
.
|
Ok thanks for the quick reply @0spinboson, I will have to add to my to do list for now :) If only there was a docker with the build environment already in, will have to do some googling and see if such a thing exists. Cheers |
When I launch an Archlinux AppVM, something strange happens. First, an initialization/BIOS screen appears for a few seconds: Also, I noticed a few other minor issues:
I think the first 2 are easy to track down and will fix them when I have the time. Does anyone else notice any other issues? |
This looks related to the "window issue". It means qubes.PostInstall service wasn't called at template installation. It should be done automatically as part of rpm installation.
|
Additionnal note: core-qubes-db supports python 2.7 and python 3 bindings, but archlinux PKGBUILD only builds the 2.7 bindings. The following pull request build core-qubesdb python bindings for both versions: |
Additionnal note: imgconverter in linux-utils should also be built both for python2 and python3. A created a Push Request which is concurrent to yours: |
Additionnal note: core-agent-linux changed the logic of calling qrexec from using su, to using a pam enabled qrexec agent. However, I'm not 100% sure that all su problems are fixed for archlinux (I only tested building but I'm not able to test the package on r4.0 yet). More references to these su/bash/zsh problems are tracked in the following thread: |
Additionnal note: gui-agent-linux now use a separate pulseaudio and agent packages. Archlinux PKGBUILD has been updated acordingly: As a side note, I plan to separate the xorg module in order to deal more easily with new xorg versions. |
I uploaded the binary packages for Qubes 4.0 in testing. You can try them by changing |
I confirm the template with all the linked Pull Requests is properly starting and has basic support for:
Other features have not been tested yet. I also experience the qubes.PostInstall error when installing the template, but I have not been able to find related logs. This does not prevent the template or AppVMs to start properly. |
Thanks! I will try to test everything tomorrow. If everything works and RC2 is officially released, I may event attempt to switch to 4.0 full-time for easier testing and development. |
The qubes.PostInstall bug is caused by broken sed commands in the PKGBUILD. I fixed it in the same pull request: |
I also noticed that there are still problems with bash not loading /etc/profile. |
Not sure about |
|
@ptitdoc: do you think that the fstab file in |
/tmp and /dev/shm are following archlinux default value. I would not change it on behalf of the user. But maybe the size is based on available RAM which is small when QubesVMs are starting. If we need to change it, I would add it in template customization in archlinux-builder, maybe through a systemd .mount dropin as @marmarek suggests. |
Yeah, I think the small size is because it's based on the initially available RAM. I'm a big fan of the arch way, but this makes the system unusable (browser video in fullscreen is almost guaranteed to crash), so I think we have to increase it by default. I'm not sure how to do this via a systemd dropin, there does not seem to be a unit for |
Exactly, see this commit and issue linked from there. |
I did additionnal testing. There is still a bug because X11 session is not registered properly by loginctl. As a consequence, running @marmarek Following issue #2903, you changed qrexec to use pam instead of calling su. Is it possible to do the same to call xinit instead of calling it via su ? |
Well, it should be possible (in fact, it should be implementing proper "display manager" in terms of session handling), but not sure how much work is it. |
Doing the 'make template' part causes a significant amount of downloads from the arch servers. It may be useful to use 'rankmirrors' (see their wiki) before doing all the downloads. This should already be done immediately after the initial template download. Sorry, I really don't understand the build system or I would be able to help. |
Seems like a change was made that causes a regression in the creation of this template. |
That include line is there since 2010... Probably some change in X server headers. What X server version currently live in Arch? |
On my laptop; $pacman -Qo /usr/include/X11/Intrinsic.h And generic; xorg-server 1.19.5-1 |
Maybe just missing build dependency? |
Thanks for the hint, it was indeed due to an upstream archlinux change. |
Using this task to register some more issues;
|
Amusingly enough this currently fails for me on installing libbluray :P |
Ah, that was me not knowing how to apply |
The binary repository in my templates from a few months back has stopped working due to a PGP error. Should I be using a new repo, or build my own packages? |
I don't think so, sorry, Arch is not one of the officially supported distros. But I had no issues the last few times I tried to build the template (see "Steps to reproduce the behavior"), so I should probably close this issue... I think a few of the minor problems mentioned here still remain, but they would probably be better off in separate issues rather than in this huge one. @marmarek, @andrewdavidwong ? |
Correct. Please file separate issues for them. |
While building up to date qubes arch packages (make get-sources; make qubes-vm) used to work for me in the past, it fails since a week or so with a compilation error in building vmm-xen:
Starting again from scratch (i.e., from a fresh qubes-builder clone) does not fix this. Anyone, for whom building the template is working at the moment? |
@JohnDoe02 I have the exact same issue and not been able to find a solution yet |
@arjan-s So I am not the only one. I filed an issue. |
I created two PRs currently needed to be able to build this template again: |
Closing this huge issue, if someone wants to report anything else, please open a separate dedicated issue 😄 |
Question: is qubes-thunderbird building for anyone? |
Looks like this question is off-topic for this (closed) issue. Please consider sending it to the |
Qubes OS version:
R4.0
Affected TemplateVMs:
archlinux
(template used for building: fedora-25)
Steps to reproduce the behavior:
Try to build the archlinux template:
qubes-builder
example-configs/qubes-os-master.conf
asbuilder.conf
DISTS_VM
toarchlinux
and addbuilder-archlinux
toCOMPONENTS
andBUILDER_PLUGINS
make get-sources
,make qubes-vm
,make template
Expected behavior:
Build the archlinux packages for the qubes components and the dom0 archlinux template package.
Actual behavior:
Some packages fail: core-agent-linux, linux-utils, vmm-xen
General notes:
This is just an issue to track all the changes across the different repos that fix the archlinux template for QubesOS 4.0. In a few minutes I will submit pull requests to
core-agent-linux
,linux-utils
andvmm-xen
that fix the build and produce a somewhat working archlinux template. I tested the resulting template a bit in a fresh fully-updated (including thecurrent-testing
repo) 4.0 RC1 install and it worked. There were some peculiarities with VM startup and shutdown which I'll probably need help to track down.Related issues:
None that I could find
The text was updated successfully, but these errors were encountered: