https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285848
Bug ID: 285848
Summary: Boot environment failure with AWS AMI
Product: Base System
Version: 14.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
When using an EC2 instance created from an official FreeBSD AMI, the system
will fail to boot if any boot environment other than 'default' is activated.
This has been tested using the AMIs for 14.1-RELEASE and 14.2-RELEASE. Here are
some of the errors that appear when trying to use a boot environment other than
'default':
Feeding entropy: /etc/rc: WARNING: /dev/random is not writeable
ifconfig: ioctl(SIOCGIFINFO_IN6): Invalid argument
Can't find free bpf: No such file or directory
devd: Can't open devctl device /dev/devctl: No such file or directory
/etc/rc: WARNING: failed to start devd
No ephemeral disks are available, so no swap space is being created.
ls: /dev/nda*: No such file or directory
ls: /dev/nvd*: No such file or directory
devfs rule: ioctl DEVFSIO_RGETNEXT: Inappropriate ioctl for device
/etc/rc: WARNING: devfs_init_rulesets: could not read rules from
/etc/defaults/devfs.rules
The problem seems to be that the zroot/ROOT/default dataset has its 'canmount'
property set to 'on'. This works fine, as long as the active boot environment
is default, but when you activate another boot environment, the system tries to
mount both at / and the boot fails.
The 'canmount' property should be set to 'noauto' for zroot/ROOT/default to
resolve the problem.
--
You are receiving this mail because:
You are the assignee for the bug.