Date: Wed, 04 Sep 2024 11:31:57 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281264] bug report for /usr/local/etc/rc.d/gitea Message-ID: <bug-281264-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281264 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=3D253324&action= =3Dedit with -m /usr/local/etc/rc.d/gitea had a new parameter: gitea_configcheck_enable:=3D= "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 c= heck >/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 --=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-281264-7788>