From nobody Wed Dec 20 01:58:24 2023 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 4SvxYD4HNfz54RtH for ; Wed, 20 Dec 2023 01:58:24 +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 4SvxYD0ZHNz4H8x for ; Wed, 20 Dec 2023 01:58:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703037504; a=rsa-sha256; cv=none; b=Vc1Zk+qoMb3OMyhNW3YsDWYGcgshyuA4Jr28h2iYkmZTEZhptluA+TFOp/d9TE4gGPW8qY /Pktt/8U9Cpz4pjQXGdko40ezTzmLH8hfRUgnGkvhwBV9BiVYeefurh8ZuaSWxHD+pHLhi /Kv10I3R7RllIlVs3P83wLchigpZ9kbjgTSjQYGnf6Mzx8CXp8uOh2uZHWip06Nuj2BE66 VA9U8CRyy5jkYpIAPsUQW6xRhhMFp6h3+tP2f5CWA9yy3fz4EV78K8OA4xVB153E6dzwuZ MqBDVtVMmZGSL2ia01/ZX1gS1A/8uhxnap6DmOt9rUUf2NHPulX3gwShLMng/A== 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=1703037504; 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=pS/J+qHPfAhgsrOLrv0Kn12dLiyA4L6o76rYU2qTd4A=; b=FirophEgFJUwQFIKgepHm++e/PLgKkac1LvY4+u4Ffweom9VzXv/kw8h2MRuLo+T7KGJEC jx1KDpIxYB/jwTRpiPuHcY08PGwSUHgl18WqjfY5b03pr7kBIf/bMH7WyWcdgGrXJjToBu dK7D1VrZuiX9EnVH40Kc1jedzTotbqEE0DSvCSeRnOveMuZ9ddR6CMyokuP73GdugHvoas s3Ai8CL15PVkcLBOzpWyZAA1xRrekRNl23lqW0GPcFVDynACW711DwTVXMuxEo3g+yM8AW 3v4rHnPLlZQT6nELzMFhlVj37rloQGMf6OMwoQb5XH5X/3q5r8R8N+k6RU6d6g== 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 4SvxYC6pF6zVcr for ; Wed, 20 Dec 2023 01:58:23 +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 3BK1wNbM054337 for ; Wed, 20 Dec 2023 01:58:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BK1wNvq054336 for ports-bugs@FreeBSD.org; Wed, 20 Dec 2023 01:58:23 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 275851] [PATCH] databases/postgresql*-server: starting doesn't set up the class Date: Wed, 20 Dec 2023 01:58:24 +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: takeda@takeda.tk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275851 Bug ID: 275851 Summary: [PATCH] databases/postgresql*-server: starting doesn't set up the class 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: takeda@takeda.tk Created attachment 247165 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247165&action= =3Dedit Set the login class when starting postgresql I have default class restricted as to number of open files and processes, so this is quite visible to me. /usr/local/etc/rc.d/postgresql initdb already sets the class: postgresql_initdb() { ${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec /usr/local/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}" } but /usr/local/etc/rc.d/postgresql start is missing it: postgresql_command() { ${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}" } --=20 You are receiving this mail because: You are the assignee for the bug.=