Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2020 17:53:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251108] net/rsync rc script can't detect daemon status
Message-ID:  <bug-251108-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251108

            Bug ID: 251108
           Summary: net/rsync rc script can't detect daemon status
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: ray@bellis.me.uk
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org

The rc.d script for rsyncd appears to be unable to check the status of the
running daemon:

```
# service rsyncd status
rsyncd is not running.

# cat /var/run/rsync.pid=20
743

# ps auxww | grep rsync
root   743   0.0  0.0 11716  5076  -  Is   17:46    0:00.02
/usr/local/bin/rsync --daemon --config /usr/local/etc/rsync/rsyncd.conf

# pkg info rsync
rsync-3.2.3
Name           : rsync
Version        : 3.2.3
Installed on   : Fri Nov 13 17:35:40 2020 UTC
Origin         : net/rsync
Architecture   : FreeBSD:11:amd64

# uname -r
11.4-RELEASE-p3

```

I believe it's because the process name doesn't match the service name.   I
attempted to fix this by setting $procname in the rc script but it didn't h=
elp.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251108-7788>