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

    System_reboot_cleanup error

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    5 Posts 2 Posters 1.5k 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.
    • J
      jcyr
      last edited by

      On every reboot, I get:

      Warning: Invalid argument supplied for foreach() in /etc/inc/system.inc on line 1351
      Stopping package Cron…done.

      I do not use portals.

      2.1-BETA1 (i386)
      built on Sat Feb 16 10:53:05 EST 2013

      IPV6 Test: http://ipv6-test.com

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        I added a comment to this commit - https://github.com/bsdperimeter/pfsense/commit/62f20eab8855915bc87c23dd13025e922dc1606d
        The loop needs an extra check first to see if the array exists.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • J
          jcyr
          last edited by

          Hmm… Seems odd that you'd commit code that you know is broken and that affects everybody!

          Reason given: Can't test it!!!

          IPV6 Test: http://ipv6-test.com

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            @jcyr:

            Hmm… Seems odd that you'd commit code that you know is broken and that affects everybody!

            Reason given: Can't test it!!!

            I'm not sure I understand what you are saying. Obviously a little mixup here - I added a comment to someone else's commit. The person who submitted the code would have tested it on their system, it worked on systems that had CARP settings. My comment was just that I could see where to fix the code, but was not near my test system to make the change and verify it worked - I definitely don't do theoretical fixes in GitHub without testing them:)
            Anyway, the extra check has now been committed and the warning is gone on recent snaps.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • J
              jcyr
              last edited by

              Yep. I committed the fix. Sorry I made the false assumtion.

              IPV6 Test: http://ipv6-test.com

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