From nobody Thu Dec 29 14:34:48 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NjWBJ5XLWz1LsR9 for ; Thu, 29 Dec 2022 14:34:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NjWBJ2JdLz47FG for ; Thu, 29 Dec 2022 14:34:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672324488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tv2MW0rhvROHK/p1iRJLdsbpSe1OpBPm60y6A8WXwfI=; b=KGlknF9JXQe/CigoYuD4ww55nMBEEpg1mVDfyTiwo6pWbizEqv7xbi8XfEW7wzO7L4GgZK ipjGH7Y7fPod6HpyTiYxKEyUzd7NaJZ7aycaBc+pNqQPqq9JZb4qYbIsRRqYxnsTzETezh jYjvnZ5ocE1aA11OZKU+eMdBrcjqdt1dwhs5vtba0mgp2LrgLYm6JfeJZ4bdELinAwn8ww FtJtXphpkQqlg612/2fN+rSiDn6Zyivvf+uOibRdOo9+TLR0fUt0mZLswJ43x0315NlSXz cAH6MlLmgAUNbwkU5WRU2PXPRx+kHWxkN/HqF8sQhOIDRcvK1k/tUMa4HmRymA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672324488; a=rsa-sha256; cv=none; b=xDQuXVSDzBiGooVJ3TPc0N0B9td3N6/xvFKISSC9C9dQPw4cVQtJkjN+0a6NSRIX2f7lJi XZLCQh8MK1WuefDavESMmR+4C+6RIQFsp/VsZXeKbojMbx2QNXpYLWdQlsbd1IURg7f+ph pXTPOZymDiA4I1QGgLbcaIx6Oam+5fEw6hG3XRP+KEZ/z2xxvHx5LZmbTCsjWkDzHQGa2e u8o8IGWSfUKlVzSd0PPkR/8LlkakBugsH3KcppJBXO1zbhmzdpeab4r2UOsELlDPmn/2GX F0kLYgvEXMAv6lSiH6+M1frk2f3ugVH4wHScCjM7P08eG0A+DuTR8t4gUoWKUg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NjWBJ1PVyzXgd for ; Thu, 29 Dec 2022 14:34:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BTEYmv5044131 for ; Thu, 29 Dec 2022 14:34:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BTEYm4x044130 for ports-bugs@FreeBSD.org; Thu, 29 Dec 2022 14:34:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268641] www/redmine50: fix logfile path for thin server Date: Thu, 29 Dec 2022 14:34:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olevole@olevole.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mikael@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268641 Bug ID: 268641 Summary: www/redmine50: fix logfile path for thin server Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mikael@FreeBSD.org Reporter: olevole@olevole.ru Assignee: mikael@FreeBSD.org Flags: maintainer-feedback?(mikael@FreeBSD.org) Created attachment 239120 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239120&action= =3Dedit www/redmine50: fix logfile path for thin server The ruby 'thin' server does not use an absolute path for logs file/dir.=20 This leads to problems running Redmine on readonly bases (for example in ja= ils with nullfs RO base): -- redmine5:/@[17:26] # service redmine start 2022-12-29 17:26:32 +0300 Deleting stale PID file tmp/pids/thin.pid /usr/local/lib/ruby/3.0/fileutils.rb:253:in `mkdir': Read-only file system @ dir_s_mkdir - /log (Errno::EROFS) from /usr/local/lib/ruby/3.0/fileutils.rb:253:in `fu_mkdir' from /usr/local/lib/ruby/3.0/fileutils.rb:231:in `block (2 levels) = in mkdir_p' from /usr/local/lib/ruby/3.0/fileutils.rb:229:in `reverse_each' from /usr/local/lib/ruby/3.0/fileutils.rb:229:in `block in mkdir_p' from /usr/local/lib/ruby/3.0/fileutils.rb:211:in `each' from /usr/local/lib/ruby/3.0/fileutils.rb:211:in `mkdir_p' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/daemonizing.rb:56:in `daemonize' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/controllers/controlle= r.rb:62:in `start' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run= !' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/bin/thin:6:in `' from /usr/local/bin/thin:25:in `load' from /usr/local/bin/thin:25:in `
' -- We can fix the logfile path via rc.d/redmine script ( check `thin -h` for -= -log args ) --=20 You are receiving this mail because: You are the assignee for the bug.=