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

Hotplug event causes rc.start_packages: Restarting/Starting all packages

Scheduled Pinned Locked Moved General pfSense Questions
52 Posts 9 Posters 7.9k 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.
  • S
    stephenw10 Netgate Administrator
    last edited by Aug 31, 2023, 12:22 PM

    You only need to set that one time to prevent it restating packages if an internal interface bounces.

    I 1 Reply Last reply Sep 1, 2023, 5:45 AM Reply Quote 0
    • I
      Ienien77 @stephenw10
      last edited by Sep 1, 2023, 5:45 AM

      @stephenw10
      Hey, my tunnel went down ... again
      This time to restart it i had to remove port configuration for my tunnel under VPN > Wireguard > Tunnel > Edit Tunnel > Listen Port.
      If that help anyone or for any debugging.
      I´l have a look at your workaround

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Sep 1, 2023, 11:50 AM

        Any errors logged? Did it not even try to come back up?

        The trackv6 thing might prevent it restarting due to that particular interface bouncing but it should still restart. So you have two issues happening here I'd suggest.

        Steve

        I 1 Reply Last reply Sep 2, 2023, 9:23 AM Reply Quote 0
        • I
          Ienien77 @stephenw10
          last edited by Sep 2, 2023, 9:23 AM

          @stephenw10 i'll have a look at logs when having physical access to my Pfsense box .. because yet again my tunnel is down ...
          Note that i have yet to try what you say.

          3 1 Reply Last reply Sep 3, 2023, 8:00 PM Reply Quote 1
          • 3
            32G3LiQxu8 @Ienien77
            last edited by Sep 3, 2023, 8:00 PM

            @stephenw10

            Just curious, was a redmine opened for this or does it not meet the threshold?

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Sep 3, 2023, 8:26 PM

              Not for the trackv6 issue. Yet. I'm going to revisit it for 23.09 though because to me it seems like there must be a bug there.

              3 1 Reply Last reply Sep 4, 2023, 3:42 AM Reply Quote 1
              • 3
                32G3LiQxu8 @stephenw10
                last edited by Sep 4, 2023, 3:42 AM

                @stephenw10

                Thank you, Stephen

                X 1 Reply Last reply Sep 4, 2023, 11:12 PM Reply Quote 0
                • X Ximulate referenced this topic on Sep 4, 2023, 11:09 PM
                • X
                  Ximulate @32G3LiQxu8
                  last edited by Sep 4, 2023, 11:12 PM

                  Not sure if this is the same problem mentioned here, so I created a different thread:
                  https://forum.netgate.com/topic/182625/packages-restarting

                  1 Reply Last reply Reply Quote 0
                  • C coolspot referenced this topic on Nov 23, 2023, 6:36 AM
                  • M
                    MaximillianC
                    last edited by MaximillianC Jun 3, 2024, 12:10 PM Jun 3, 2024, 12:02 PM

                    @stephenw10 said in Hotplug event causes rc.start_packages: Restarting/Starting all packages:

                    https://forum.netgate.com/topic/180783/23-05-pf-was-wedged-busy-and-has-been-reset

                    Was a bug ever opened on this? I understand that this may seem like a fairly innocuous problem for most, but there are various circumstances that can cause the simple cycling of a non-WAN interface, which don't involve a WAN IP changing... so having all of the pfSense services restart (including HAproxy) whenever that happens is particularly problematic for those of us using pfSense in HA environments. This is especially true for those of us running websites behind HAproxy, as HAproxy gets restarted whenever an interface cycles, interrupting web users' sessions. For example, we just experienced an odd issue where our pfSense sync interface connecting our primary and failover firewalls was down, despite there being a link, and admin up status. Cycling the interfaces on both firewalls fixed the issue, but resulted in new_wanip being needlessly triggered, and restarting everything. So fixing our pfSync connection (something that should've been innocuous) resulted in an interruption of services for our users.

                    I'm hoping the IPv6 "tracking" solution you mentioned above as a workaround for this works for us and other people experiencing this issue... but still, given that it's been almost a year now, I hope we can at least get a bug opened, so this issue can get visibility, and at least have a chance of getting prioritized in the backlog. Thanks!

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jun 3, 2024, 2:11 PM

                      Hmm, probably not since that workaround exploited a bug that is now fixed: https://redmine.pfsense.org/issues/14756

                      So the particular issue you see in an HA setup is that the pfSync Interface is directly connected and hence is link cycled. Yet despite both ends being statically configured and most services not listening to that everything is restarted?

                      That does seem like something that could be excluded. 🤔

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