Repetitive lines in /boot/loader.conf
-
I have a new install of pfSense+ and noticed that my
/boot/loader.conf
file has some lines that are repeated. Ok to delete the duplicates?autoboot_delay="3" hw.hn.use_if_start="1" hw.hn.vf_transparent="0" kern.cam.boot_delay=10000 kern.geom.label.disk_ident.enable="0" kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" kern.geom.label.gptid.enable="0" kern.ipc.nmbclusters="1000000" kern.ipc.nmbjumbo9="524288" kern.ipc.nmbjumbop="524288" net.link.ifqmaxlen="128" net.link.ifqmaxlen="128" net.link.ifqmaxlen="128" net.link.ifqmaxlen="128" opensolaris_load="YES" opensolaris_load="YES" vm.pmap.pti="0" zfs_load="YES" zfs_load="YES"
-
I made a copy of the original, removed the duplicates and rebooted the system. Upon reboot, I opened up the file again to find that the line below had been added back:
net.link.ifqmaxlen="128"
So, pfSense added this line as a duplicate back, seems strange.
Does the order of entries matter in
/boot/loader.conf
? -
I'm seeing that in 23.01 dev snaps. What version are you testing?
It's ugly but harmless. There is a bug open for it: https://redmine.pfsense.org/issues/13280
Steve
-
@stephenw10 said in Repetitive lines in /boot/loader.conf:
I'm seeing that in 23.01 dev snaps. What version are you testing?
It's ugly but harmless. There is a bug open for it: https://redmine.pfsense.org/issues/13280
Steve
I am on the following version:
22.05-RELEASE (amd64) built on Wed Jun 22 18:56:13 UTC 2022 FreeBSD 12.3-STABLE
Agree, it is indeed ugly. Thanks for the link to the bug report.