From nobody Wed Apr 02 14:05:10 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZSRTL205Pz5sKvm for ; Wed, 02 Apr 2025 14:05:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZSRTL1FZKz3WYG for ; Wed, 02 Apr 2025 14:05:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743602710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BJSGHtNaBxTwX2oDztkkRKyhXOesA0J3jwMAlvL4GBU=; b=tq+iQoAeI+zRHcq856ssuf9mvr4xcWMpPTdCbkyfKW8OVgAP73vbSatafUjPfqU8gDLOt/ 0x2/uSUDc/wX0HGBx7sTr2w17xlgS3cFLmoIsnBHmjphVRKve41lYqxLdoViNiUD9Qr3cT PA3IGfzXmbeZrDoffQLPNi8M3SMAz8kt22eVnppC+wzhA/bwrENforFOf0fUy1SgUDaUgO U5eegnsjW/y+7d2hx2F6UxpbQjldkOZ29KubxfA45/b/HU5XeNTTKH+0LpO4EIqq3lvOCJ ta9LIajXg7AKfwQNBCXdKNbzBYofZ+0adV7pamb5wFYFQZxymDlL8kWSmlw2vw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743602710; a=rsa-sha256; cv=none; b=Xj2Kn7So9D30doA4wpvDltHIpO4M5vbeLgtZ0W2lUFp4jz9Yji7JpkitUeeH8AON78BLVx UksASrqutNdZRboFb/Kx2HrR0GLF+8tNkGrIpL+nJUhjslhTO/TphvTl4d2qJuPYmLfvpt 0ofzYec0wdowjroBheHW9HjBlKEmvlUAD4uFEnJl7gmyM7Z0gEPldc/rqgE1n8Im+S/K4W ev5r8iDFFoP4n3YFJkvI03FCrmUaDJ7kXl4K349Zqlsto+PxUDECmWU5jO2Kf8fo5DwG6n QlpVQnRkLDN8YIq3cZ8JdbT27+UOQPKKTzoJEPfEoisjqmooquj90xpOwP45tA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743602710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BJSGHtNaBxTwX2oDztkkRKyhXOesA0J3jwMAlvL4GBU=; b=K4PwrBc4VxYUl8J82TAfYOtXiLwbTK75oPu9bFDsFvbmCakbUpKhHwrobnVAqNsoM8YcvJ 9pBnHr92fYNhcLvFUfDOr5YBOvOjoAxryQvQ1FKpsiz6gxJvHhKjhiqQeKQ4DjR38qSwpL YZgpS7h43yPlaAQPQ85GuxT2MC3A3XWD0IXgsIZbDU2WAT408HjFeIdMeZsO1JL+H3u0wL zH8nAdIvCkK1dShQFJERDpWN/SOWxXZvulu1amraJI7eBnlrZjXErysoSuH01I46cT1EBU egD6Yzzqjd51HPdNavsqEF7B6S9MP5CcEikkyfoitpWDGRj3nLmNF+wTnOPM3Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZSRTL0lMSz4GV for ; Wed, 02 Apr 2025 14:05:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 532E5AtT012416 for ; Wed, 2 Apr 2025 14:05:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 532E59Tf012415 for bugs@FreeBSD.org; Wed, 2 Apr 2025 14:05:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 285848] Boot environment failure with AWS AMI Date: Wed, 02 Apr 2025 14:05:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: amendlik@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285848 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: bugs@FreeBSD.org Reporter: amendlik@gmail.com 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 'canmou= nt' property set to 'on'. This works fine, as long as the active boot environme= nt is default, but when you activate another boot environment, the system trie= s to mount both at / and the boot fails. The 'canmount' property should be set to 'noauto' for zroot/ROOT/default to resolve the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=