Date: Mon, 28 May 2018 14:25:12 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228565] sysutils/syslog-ng fails to start when run as non-root Message-ID: <bug-228565-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228565 Bug ID: 228565 Summary: sysutils/syslog-ng fails to start when run as non-root Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: rainer@ultra-secure.de Flags: maintainer-feedback?(cy@FreeBSD.org) Assignee: cy@FreeBSD.org /usr/local/etc/rc.d/syslog-ng start Starting syslog_ng. [2018-05-28T16:17:47.635296] Error binding socket; addr=3D'AF_UNIX(/var/run/log)', error=3D'Permission denied (13)' [2018-05-28T16:17:47.635354] Error initializing message pipeline; plugin name=3D'unix-dgram', location=3D'source generator system:4:14' /usr/local/etc/rc.d/syslog-ng: WARNING: failed to start syslog_ng syslog-ng314 on FreeBSD 11.1 amd64, built from 2018Q2 ports-tree cut. With syslog-ng.conf.dist as syslog-ng.conf configfile. One has to create a subdirectory in /var/run to house the files for ctl and persist. syslogd_enable=3D"NO" syslog_ng_enable=3D"YES" syslog_ng_config=3D"-u daemon -c /var/run/syslog-ng/syslog-ng.ctl -R /var/run/syslog-ng/syslog-ng.persist-" syslog_ng_pid=3D"/var/run/syslog.pid" I assume I'd have to switch that file to the subdirectory, too - but how do= I do that? Is running it as non-root actually supported? --=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-228565-7788>