Bug 224506

Summary: net/asterisk13: Unable to chown run directory to 931 (asterisk) (/var/run on tmpfs)
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Guido Falsi <madpilot>
Status: Closed DUPLICATE    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (madpilot)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2017-12-21 20:06:46 UTC
Asterisk, most recent from the port, doesn't start properly when /var/run/asterisk resides on TMPFS - this is in our environment the case.

While booting, I watch this message appearing:

[...]
Starting asterisk.
Unable to chown run directory to 931 (asterisk)
meuh
prcmd

and ll /var/run gives

[...]
total 64
drwxr-xr-x  2 root        asterisk       0 Dec 16 16:26 asterisk/
[..]

The daemon asterisk is running, as one could easily proof via top, but trying to connect to asterisk via 

root@gate:~ # asterisk -rv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)


fails in the shown error.

/usr/ports tree is: revision 456941

OS: 12.0-CURRENT FreeBSD 12.0-CURRENT #21 r327064: Thu Dec 21 18:50:24 CET 2017 amd64
Comment 1 Guido Falsi freebsd_committer 2017-12-21 21:42:00 UTC

*** This bug has been marked as a duplicate of bug 224505 ***