-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Make it possible to use Debian VM as UpdateVM for downloading dom0 updates #1029
Comments
Improvements made here: QubesOS/qubes-core-agent-linux@3fdb67a |
I updated by Debian template to use the new version of the script as per above commit, and ensured yum-utils was installed. But my qubes-dom0-update fails with attached errors: https://gist.github.com/mig5/3ad90f15b8189eb333fd This actually happens prior to execution of the script in question: it seems to be at the step where the yum repo stuff is tar'ed up on the dom0 and extracted in the guest via pipe to qvm-run. It looks like it missing a / slash in the extraction, maybe a distro-specific issue in use of tar on Debian compared to Fedora. Maybe I am missing a corresponding update to the qubes-dom0-update script for dom0? |
I found the issue: /var/lib/qubes/dom0-updates is chown root:root and chmod 755 on the Debian template image. In the Fedora template, it is chown user:user and chmod 775. I had to make it chown user:user and chmod 775 in the Debian VM/template before the tar command (and qubes-dom0-update in general) would work successfully (with chmod 755, which I tried first, I still had tar errors on the /var/lib/qubes/dom0-updates/etc subdirectory). Have you already accounted for this perm fix in the Debian template/qubes-core-agent package? Or perhaps the script could force the perms before the tar execution, after starting the UpdateVM, just to be on the safe side. Happy to supply a patch if I know the right place! Thanks |
Apparently file permissions set in "install" stage of package build are Best Regards, |
Is it ensured, that user For reference/comparison you could look how |
On Sun, Jul 19, 2015 at 05:00:14AM -0700, Patrick Schleizer wrote:
Yes, it is created by qubes-core-agent-linux's preinst script. Best Regards, |
It's too late for adding any new features to 3.0, moving to 3.1 for further considerations. |
Actually it's not about adding - its already implemented for some time. It's about testing and deciding whether we want to include it in release notes and documentation as supported option. |
It's been working well for me since July. |
No description provided.
The text was updated successfully, but these errors were encountered: