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

Upgrading R3.0 -> R3.1 in-place: dom0 error messages #1829

Closed
andrewdavidwong opened this Issue Mar 13, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Mar 13, 2016

I tried using the "experimental" upgrade procedure again to upgrade a vanilla R3.0 installation to R3.1. It seemed to go smoothly, but I noticed a few error/warning messages in dom0 along the way. I went back through my logs and cataloged them all. Here they are:

[...]
  Updating    : qubes-core-dom0-3.1.13-1.fc20.x86_64
Redirecting to /bin/systemctl start xenstored.service
A dependency job for xenstored.service failed. See 'journalctl -xn' for details.
[...]
[...]
  Cleanup    : 2001:xen-runtime-4.4.3-11.fc20.x86_64
warning: /etc/udev/rules.d/xen-backend.rules saved as /etc/udev/rules.d/xen-backend.rules.rpmsave
[...]
[...]
Generating grub.cfg ...
[...]
done
awk: fatal: cannot open file `/boot/efi/EFI/qubes/xen.fg` for reading (No such file or directory)
error: %preun(kernel-1000:3.18.17-7.pvops.qubes.x86_64) scriptlet failed, exit status 2
Error in PREUN scriptlet in rpm package 1000:kernel-3.18.17-7.pvops.qubes.x86_64
  Cleanup     : libvirt-python-1.2.12-1.fc20.x86_64
error: kernel-1000:3.18.17-7.pvops.qubes.x86_64: erase failed
[...]

Are any of these serious?

Either way, I hope this datapoint is helpful for determining whether in-place upgrades should remain an experimental feature or not.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 14, 2016

Member

It looks like none of those is serious, but still it would be better to not have any errors/warnings like this...
The one with kernel is somehow concerning - probably a missing check for touching EFI files on non-EFI system. Did you get something similar for installing new kernel package too?

I'd add to the list:

Member

marmarek commented Mar 14, 2016

It looks like none of those is serious, but still it would be better to not have any errors/warnings like this...
The one with kernel is somehow concerning - probably a missing check for touching EFI files on non-EFI system. Did you get something similar for installing new kernel package too?

I'd add to the list:

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 14, 2016

Member

The one with kernel is somehow concerning - probably a missing check for touching EFI files on non-EFI system. Did you get something similar for installing new kernel package too?

I didn't have any error/warning messages about installing the new kernel package, only the one posted above about attempting to erase kernel-1000:3.18.17-7.pvops.qubes.x86_64.

Member

andrewdavidwong commented Mar 14, 2016

The one with kernel is somehow concerning - probably a missing check for touching EFI files on non-EFI system. Did you get something similar for installing new kernel package too?

I didn't have any error/warning messages about installing the new kernel package, only the one posted above about attempting to erase kernel-1000:3.18.17-7.pvops.qubes.x86_64.

marmarek added a commit to QubesOS/qubes-core-admin-linux that referenced this issue May 17, 2016

kernel-install: don't fail on kernel removal in non-EFI installs
In non-EFI installation /boot/efi/EFI/qubes may not exists. In this case
do not try to touch (non-existing) files there.

Fixes QubesOS/qubes-issues#1829

(cherry picked from commit f7eaa7b)
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 17, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.11-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented May 17, 2016

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.11-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 25, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.12-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Jul 25, 2016

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.12-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment