Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Posted Apr 24, 2016 23:57 UTC (Sun) by linuxrocks123 (subscriber, #34648)In reply to: Ubuntu 16.04 LTS (Xenial Xerus) released by mjg59
Parent article: Ubuntu 16.04 LTS (Xenial Xerus) released
If anything, SystemD mounting that filesystem without being asked is a bug, even ignoring the "destroy the machine" thing, because /you're not supposed to mount things without being asked to in fstab/!
Posted Apr 25, 2016 5:17 UTC (Mon)
by zlynx (guest, #2285)
[Link] (3 responses)
You might want to tell that to the startup program that runs from inside initrd then. Those often mount /proc, /dev, /sys, etc. also, so that they can assemble the root filesystem. Probably efivars too because you might need to read a boot parameter. And of course the initrd software doesn't read /etc/fstab because the file doesn't exist yet.
Posted Apr 25, 2016 23:08 UTC (Mon)
by linuxrocks123 (subscriber, #34648)
[Link]
Also, btw, initrd has been deprecated for about a decade.
Posted Apr 25, 2016 23:24 UTC (Mon)
by linuxrocks123 (subscriber, #34648)
[Link] (1 responses)
Posted Apr 25, 2016 23:40 UTC (Mon)
by zlynx (guest, #2285)
[Link]
I was thinking of the case where UEFI is booting an EFI enabled Linux kernel directly without an intermediate bootloader. In that case one way to pass data to the initramfs image is through EFI variables.
You can of course rewrite the boot entry to set the kernel command line but it seems safer to use other variables to reduce the risk of becoming unbootable.
Posted Apr 25, 2016 5:43 UTC (Mon)
by mjg59 (subscriber, #23239)
[Link] (5 responses)
(And just in case there's a question here: I wrote efivarfs. I expected init systems to mount it read/write. That was the entire point)
Posted Apr 25, 2016 5:53 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link] (1 responses)
It's clear that efivars appears to be dangerous, so maybe it's better to try evasive actions like not mounting it until it's absolutely necessary (autofs?).
Posted Apr 25, 2016 6:06 UTC (Mon)
by mjg59 (subscriber, #23239)
[Link]
Posted Apr 25, 2016 22:45 UTC (Mon)
by linuxrocks123 (subscriber, #34648)
[Link] (2 responses)
Posted Apr 25, 2016 22:53 UTC (Mon)
by mjg59 (subscriber, #23239)
[Link]
Posted Apr 28, 2016 17:05 UTC (Thu)
by josh (subscriber, #17465)
[Link]
The scripts multiple distributions use to make the system bootable (e.g. installing the UEFI version of GRUB) require efibootmgr.
Posted Apr 25, 2016 13:31 UTC (Mon)
by SEJeff (guest, #51588)
[Link]
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released
Ubuntu 16.04 LTS (Xenial Xerus) released