Skip to content
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

All removing /boot prior to decrypting other partition(s) #2446

Open
baffo32 opened this issue Nov 21, 2016 · 1 comment
Open

All removing /boot prior to decrypting other partition(s) #2446

baffo32 opened this issue Nov 21, 2016 · 1 comment
Labels
C: core help wanted This issue will probably not get done in a timely fashion without help from community contributors. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.

Comments

@baffo32
Copy link

baffo32 commented Nov 21, 2016

Qubes OS version (e.g., R3.1):

3.2


Expected behavior:

I want to be able to yank my rewriteable boot device prior to decryption, so that if dom0 is compromised it cannot change the boot partition, which I share with other systems.

Actual behavior:

/boot is automatically mounted and fsck'd on boot, so yanking the boot device results in a failed boot.

Steps to reproduce the behavior:

Install Qubes with /boot on a removable device.
Begin booting with the device. As soon as the initramfs image is loaded (or, altenately, prior to entering a decryption passphrase), remove the device. Then continue booting.
The boot fails because the OS cannot mount the removable device.

General notes:

This is fixed by adding the 'noauto' flag to /boot in /etc/fstab .

@marmarek
Copy link
Member

See #885 - it's a precondition to what you want...

@andrewdavidwong andrewdavidwong changed the title Insecure Default Boot Mount All removing /boot prior to decrypting other partition(s) Nov 22, 2016
@andrewdavidwong andrewdavidwong added C: core T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. help wanted This issue will probably not get done in a timely fashion without help from community contributors. labels Nov 22, 2016
@andrewdavidwong andrewdavidwong added this to the Far in the future milestone Nov 22, 2016
@andrewdavidwong andrewdavidwong removed this from the Release TBD milestone Aug 13, 2023
@andrewdavidwong andrewdavidwong added the P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: core help wanted This issue will probably not get done in a timely fashion without help from community contributors. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
Projects
None yet
Development

No branches or pull requests

3 participants