[Bug 251108] net/rsync rc script can't detect daemon status

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 13 17:53:54 UTC 2020


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

            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 at FreeBSD.org
          Reporter: ray at bellis.me.uk
             Flags: maintainer-feedback?(rodrigo at FreeBSD.org)
          Assignee: rodrigo at 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 
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 help.

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


More information about the freebsd-ports-bugs mailing list