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

qubes-dom0-update could check whether /boot is mounted #885

Open
marmarek opened this Issue Mar 8, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by marmarek on 27 Jul 2014 20:49 UTC
https://groups.google.com/d/topic/qubes-devel/28AYrjm-DgM

it might make sense to check before updates to /boot whether it is actually mounted by checking whether there are any files in /boot.

I just noticed that qubes-dom0-update wrote to /boot without it being mounted (i.e. it wrote to a previously empty folder on /). I usually don't mount /boot in fstab, because it tends to make the boot process faster by a couple of seconds (& grub doesn't really seem to need it as it is more low-level).

Migrated-From: https://wiki.qubes-os.org/ticket/885

@marmarek marmarek added this to the Release 2.1 (post R2) milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 27 Jul 2014 20:52 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 27 Jul 2014 20:52 UTC

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong May 8, 2016

Member

@marmarek: What is the current recommended workaround for this? Just always remember to plug in your USB drive and mount /boot before running qubes-dom0-update? (And if you forget, you have to manually mv the new files from the disk's /boot to the USB's /boot?)

Member

andrewdavidwong commented May 8, 2016

@marmarek: What is the current recommended workaround for this? Just always remember to plug in your USB drive and mount /boot before running qubes-dom0-update? (And if you forget, you have to manually mv the new files from the disk's /boot to the USB's /boot?)

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 8, 2016

Member

Yes, something like this. You may do that after downloading updates
(when yum wait for confirmation) and you see kernel/bootloader/aem
updates.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented May 8, 2016

Yes, something like this. You may do that after downloading updates
(when yum wait for confirmation) and you see kernel/bootloader/aem
updates.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

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