[Bug 281264] bug report for /usr/local/etc/rc.d/gitea
Date: Wed, 04 Sep 2024 11:31:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281264 Bug ID: 281264 Summary: bug report for /usr/local/etc/rc.d/gitea Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: cytseng@gmail.com Created attachment 253324 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253324&action=edit with -m /usr/local/etc/rc.d/gitea had a new parameter: gitea_configcheck_enable:="YES". ``` grep -A 10 gitea_prestart /usr/local/etc/rc.d/gitea gitea_prestart() { if checkyesno gitea_configcheck_enable; then if su -m ${gitea_user} -c "/usr/local/sbin/${name} doctor check >/dev/null"; then else echo "cannot start ${name} because of configuration errors. Run" >&2 echo " su -m git -c '${name} doctor check'" >&2 echo "for further details" return 1 fi fi } ``` I found some error message for `su -m`, message showed below -- You are receiving this mail because: You are the assignee for the bug.