Bug 274522 - VM image's rc.conf has many repeated lines
Summary: VM image's rc.conf has many repeated lines
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 14.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 14.0r
  Show dependency treegraph
 
Reported: 2023-10-16 20:14 UTC by Cameron Katri
Modified: 2023-11-03 11:37 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Katri 2023-10-16 20:14:56 UTC
The FreeBSD-14.0-RC1-arm64-aarch64-zfs.raw.xz VM image (maybe others, I didn't 
check) has a rc.conf with a ton of repeated lines. I tried looking at 
why this would be, but the release scripts to create this image went 
right over my head.

$ sudo mdconfig FreeBSD-14.0-RC1-arm64-aarch64-zfs.raw
md0
$ sudo zpool import -R /mnt -t 4016146626377348012 vm-zpool
$ wc -l /mnt/etc/rc.conf
       36 /mnt/etc/rc.conf
$ sort -u /mnt/etc/rc.conf
growfs_enable="YES"
hostname="freebsd"
ifconfig_DEFAULT="DHCP inet6 accept_rtadv"
zfs_enable="YES"
zpool_reguid="zroot"
zpool_upgrade="zroot"
$

https://lists.freebsd.org/archives/freebsd-current/2023-October/004824.html
Comment 1 Graham Perrin 2023-10-17 12:12:40 UTC
^Triage: 

* status
* higher severity (inferred from discussion in IRC).
Comment 2 Cameron Katri 2023-10-17 22:24:47 UTC
I just checked and it also effects amd64 and UFS images.