From nobody Mon Apr 1 16:55:07 2024 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 4V7cZM6jW0z5GPsp for ; Mon, 1 Apr 2024 16:55:07 +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 4V7cZM5R0hz4bZ1 for ; Mon, 1 Apr 2024 16:55:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711990507; a=rsa-sha256; cv=none; b=K8eGZh70yN7aBFCv1MdB2EMMCN1gzijXPb07NJmja/5d/tRJGBxXVXVyAeBTkrA3xusrgv edTyTNznjeEKm0UkkAIIC8F94C9FxB5fuXrCb2JxV57yh4MMEQ3zVzwZg/OD6xDok8c2M5 K3nbT9qEWoOTIftPnEj3myX2E2XvhPDmnQOwnI8bOVZizrNCd55z+Jao1jGIyOsonUwTYT jGy6a4GQOGiowCBv8D8xbgocrKDP++ZeB57U/ZHpUFO92ljB+zoOsDeJ1fD89t37B+aEqP 1I/ZkuEQDPRDD6TDm5DNeHVtL0yJTSpV1lwVRo8aEAvbssd426H2g5hkKHernA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711990507; 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=2SqeNjyNFnvTpsV9t37m3MVG8ipK7xozVcVlVXLJHA0=; b=IPSrrei+pAMoSn1SVR/auE/Cn8oTExFKMm5gAhA9d6T/y/hKgkygj1XFl/vwKetJtZ1COE d4yZa+n+tWgnpmEhtrJqVuX+jWUxU4R98q5NpZZXy/c14gTCZZr5UC8PVC9ClEgAYoh9Sm wRYluYFcDrjKWjAuYU487PeyMbj+kFSdjHAt6PH8go3MI2EZTS2L7k9xObw7S1x+iZYME9 ChAvyxFYmNo6/2mPOZTMMV2LCEm9J2YLvgIMcbnTDRrzsNWidSONWzYQ7To3Ca0OoL8kMz L0W4v3Xgor7siYItEEm6iLKefPUC7ugNlOJWcmV3Xl5J108JZ481p0AVGatPsg== 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 4V7cZM4wtWz1SJP for ; Mon, 1 Apr 2024 16:55:07 +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 431Gt7gb087852 for ; Mon, 1 Apr 2024 16:55:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 431Gt76I087851 for ports-bugs@FreeBSD.org; Mon, 1 Apr 2024 16:55:07 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 278106] www/gitlab-ce: puma fails to start when jail host restarts Date: Mon, 01 Apr 2024 16:55:07 +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: johannes.kunde@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mfechner@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 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278106 Bug ID: 278106 Summary: www/gitlab-ce: puma fails to start when jail host restarts Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mfechner@FreeBSD.org Reporter: johannes.kunde@gmail.com Assignee: mfechner@FreeBSD.org Flags: maintainer-feedback?(mfechner@FreeBSD.org) I've a long lasting issue with my GitLab instance, which is installed isola= ted in a Jail. It fails to start every time the host system is restarted as a whole. Precisely, the web server puma fails to start in this case. This is = what a 'service gitlab status' looks like: --- The GitLab web server is not running. The GitLab Sidekiq job dispatcher with pid 20581 is running. The GitLab Workhorse with pid 20572 is running. Gitaly with pid 20571 is running. --- I found no helpful output in the logs, so I tried to intercept the start-up with truss(1). In /usr/local/www/gitlab-ce/bin/web I changed the 'spawn_pum= a' function as follows: --- spawn_puma() { exec bundle exec truss -o /var/log/puma/truss.out puma --config "${puma_config}" --environment "$RAILS_ENV" "$@" } --- The output shows that writing to the socket "/usr/local/www/gitlab-ce/tmp/sockets/gitlab.socket" fails with "ERR#32 'Br= oken pipe'". Detailed output below: --- 2669761 fstatat(AT_FDCWD,"/usr/local/www/gitlab-ce/tmp/sockets/gitlab.socket",0x820= 315b80,AT_SYMLINK_NOFOLLOW) ERR#2 'No such file or directory' 2669762 sigprocmask(SIG_BLOCK,0x0,{ }) =3D 0 (0x0) 2669763 fstatat(AT_FDCWD,"/usr/local/www/gitlab-ce/tmp/sockets/gitlab.socket",0x820= 315c90,0x0) ERR#2 'No such file or directory' 2669764 umask(0x0) =3D 18 (0x12) 2669765 sigprocmask(SIG_BLOCK,0x0,{ }) =3D 0 (0x0) 2669766 fstatat(AT_FDCWD,"/usr/local/www/gitlab-ce/tmp/sockets/gitlab.socket",0x820= 315c90,0x0) ERR#2 'No such file or directory' 2669767 socket(PF_LOCAL,SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK,0) =3D 7 (0x= 7) 2669768 fcntl(7,F_GETFD,) =3D 1 (0x1) 2669769 bind(7,{ AF_UNIX "/usr/local/www/gitlab-ce/tmp/sockets/gitlab.socke= t" },106) =3D 0 (0x0) 2669770 listen(7,128) =3D 0 (0x0) 2669771 listen(7,1024) =3D 0 (0x0) 2669772 umask(0x12) =3D 0 (0x0) 2669773 getpid() =3D 20808 (0x5148) 2669774 getpid() =3D 20808 (0x5148) 2669775 sigprocmask(SIG_BLOCK,0x0,{ }) =3D 0 (0x0) 2669776 ppoll({ 1/POLLOUT },1,{ 1.000000000 },0x0) =3D 1 (0x1) 2669777 sigprocmask(SIG_BLOCK,0x0,{ }) =3D 0 (0x0) 2669778 write(1,"{"timestamp":"2024-04-01T16:23:2"...,138) ERR#32 'Broken p= ipe' 2669779 SIGNAL 13 (SIGPIPE) code=3DSI_KERNEL 2669780 sigprocmask(SIG_SETMASK,{ SIGPIPE },0x0) =3D 0 (0x0) 2669781 sigreturn(0x820315140) EJUSTRETURN 2669782 getpid() =3D 20808 (0x5148) 2669783 getpid() =3D 20808 (0x5148) 2669784 sigprocmask(SIG_BLOCK,0x0,{ }) =3D 0 (0x0) 2669785 ppoll({ 1/POLLOUT },1,{ 1.000000000 },0x0) =3D 1 (0x1) 2669786 sigprocmask(SIG_BLOCK,0x0,{ }) =3D 0 (0x0) 2669787 write(1,"{"timestamp":"2024-04-01T16:23:2"...,256) ERR#32 'Broken p= ipe' --- I don't know what the best approach would be to get rid of this. I'm happy to provide further input if required. --=20 You are receiving this mail because: You are the assignee for the bug.=