• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Feb 17, 2013, 1:27 AM

    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 Feb 17, 2013, 2:44 PM

      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 Feb 17, 2013, 6:21 PM

        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 Feb 18, 2013, 12:58 PM

          @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 Feb 18, 2013, 8:21 PM

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

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

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received