Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Repetitive lines in /boot/loader.conf

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 607 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gnitingG
      gniting
      last edited by

      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"
      
      1 Reply Last reply Reply Quote 0
      • gnitingG
        gniting
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          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

          gnitingG 1 Reply Last reply Reply Quote 0
          • gnitingG
            gniting @stephenw10
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.