[Bug 206538] "service ppp restart" fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 23 20:04:53 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206538

            Bug ID: 206538
           Summary: "service ppp restart" fails
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: philippe.michel7 at sfr.fr

"service ppp restart" fails with a message like :

Stopping PPP profile: sfr.
ppp already running?  (pid=460).

I think this is due to the stop part of the ppp rc script merely signalling the
service to stop without waiting for it to actually finish (as comments in
/etc/rc.subr indicate it should).

The failing restart is instantaneous while ppp.log show that the process can
take a relatively long time to terminate :

Jan 23 18:21:15 metropolis ppp[460]: tun0: Phase: Signal 15, terminate.
[...]
Jan 23 18:21:46 metropolis ppp[460]: tun0: Phase: PPP Terminated (normal).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list