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

    Restarting openvpn service also stops ntpd service

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    6 Posts 2 Posters 1.0k 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
      Jeremy11one
      last edited by

      2.2-ALPHA (amd64)
      built on Tue Sep 09 10:49:11 CDT 2014

      On the Status>Services page, if I click the restart button next to openvpn, that service will restart after a few seconds.  However, it also seems to cause the ntpd service to stop and remain stopped until I click the Start button next to that.

      I'm guessing that's a bug?  The ntpd service should either not be stopped at all, or should at least be restarted successfully, right?

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        It restarts ntpd after restarting OpenVPN and it takes a little bit to start. It just happens that the page reload catches it stopped. If you reload the status page after a couple seconds it'll be running again.

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

          Ah, you're right.  I refreshed a couple times and it was still stopped, so I figured it was permanent.  This time, I refreshed a few more times and it eventually came back by itself.  Sorry about that.

          Is it reasonable to make the Status column say "Restarting" instead of "Stopped"?  It's not a big deal in this situation but I could see it being handy in cases where a service is hanging on startup.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            ideally, yeah it'd be nice if it was smarter about that. At this time it only knows whether it's running or not running and that won't change in the immediate future.

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

              Can you add it to the future todo list: https://redmine.pfsense.org/versions/4

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                @piz0t:

                Can you add it to the future todo list:

                That's a general architectural issue which will be addressed as part of a larger effort to improve service handling in the future, not opening tickets along those lines currently.

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