Bug 275287 - FreeBSD 14.0 AWS AMI - Duplicated rc.conf lines
Summary: FreeBSD 14.0 AWS AMI - Duplicated rc.conf lines
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 14.0-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: Colin Percival
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-23 20:23 UTC by Rafael Grether
Modified: 2023-11-24 06:15 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Grether 2023-11-23 20:23:42 UTC
Hi,

FreeBSD 14.0 AWS AMI are duplicating rc.conf lines.
After instance up, I allocate an elastic IP address, and reboot.
After reboot, I note rc.conf with duplicated lines:

hostname="freebsd"
dev_aws_disk_enable=YES
ntpd_enable=YES
ec2_configinit_enable=YES
ec2_ephemeral_swap_enable=YES
ec2_fetchkey_enable=YES
ec2_loghostkey_enable=YES
firstboot_freebsd_update_enable=YES
firstboot_pkgs_enable=YES
growfs_enable=YES
sshd_enable=YES
firstboot_pkgs_list="devel/py-awscli"
ifconfig_DEFAULT="SYNCDHCP accept_rtadv"
ipv6_activate_all_interfaces="YES"
rtsold_enable="YES"
rtsold_flags="-M /usr/local/libexec/rtsold-M -a"

hostname="freebsd"
dev_aws_disk_enable=YES
ntpd_enable=YES
ec2_configinit_enable=YES
ec2_ephemeral_swap_enable=YES
ec2_fetchkey_enable=YES
ec2_loghostkey_enable=YES
firstboot_freebsd_update_enable=YES
firstboot_pkgs_enable=YES
growfs_enable=YES
sshd_enable=YES
firstboot_pkgs_list="devel/py-awscli"
ifconfig_DEFAULT="SYNCDHCP accept_rtadv"
ipv6_activate_all_interfaces="YES"
rtsold_enable="YES"
rtsold_flags="-M /usr/local/libexec/rtsold-M -a"
Comment 1 Colin Percival freebsd_committer freebsd_triage 2023-11-24 06:15:35 UTC
Yeah, there's a glitch somewhere in the code which is building the images -- we're creating the filesystem image twice without cleaning in between.  I need to dig into the build scripts to figure out what's breaking.

I think this applies to all the cloudware and VM images, FWIW.