From nobody Mon Jan 13 09:11:43 2025 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 4YWmjC5wt9z5kr81 for ; Mon, 13 Jan 2025 09:11:43 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWmjC37gTz3YNk for ; Mon, 13 Jan 2025 09:11:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736759503; 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=adRnMisvZpYp4MSwWX1fPf9daHA1rao8slJtYUM/Pfk=; b=KpJw2poTLmUzDdaEo/T2JtPMpUwHQ4rV4MjkxPFyQnZYAbLb/FEqfx8IiAkGhlUQYX6hnr t4NAElEvaIhWr1M7cInOxmUfuagiyeQNYFPbVhplbfbNX24WUQF7OVkYypOueotbC2Zjxs hnsQ9557r0oVPHDEl2pOX0qtXzpldRM3IHpPhcmtmbFQ+B3txH5n04Tk+uJAmh3ROsXbyU dbX5qqjZOOpO9dx5wf1OWDDNMS6lMY1pY037yPSq3Ep8t/FONw2PovS4HMTf0HuL+FKcME TQ4d0p/Pcxw+fazVq4gcVPeI/AMqJgrgPmkuNHV0IvDQQmNe62xQJrDsQfpqZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736759503; 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=adRnMisvZpYp4MSwWX1fPf9daHA1rao8slJtYUM/Pfk=; b=SxMfQydMrD9F90aDDMlz7WquxLr2qq8OqNTYOKIpBkE9oaLuVp+xnwqyR+8suGlbCUdWGz qrytHZaLHZFEadF0cUS7dXT4EFI2VCr+JOU6Usxz6WT+DIskLIRGQ5t25DKwzE1OPTwGxM ESe8Lv+R1XZnMliMKNWbVE+VG53OqmYiluHThJkMRrr3ZKWvbnDXqbiLN+TiEKMXCRmP8q IJAaq9vhBXAgSlTUSrCkfuiFgiBPfsYuuo7tiO8qyiS8hEs28aj/VpDp0RmT1Vh3hnDVlp 7UzAJvS0Q2fIU5DeyWnT0NPjQdtt+5c6xXzTnRDYh9Ao3tBFMTjWL9PN7/Bm3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736759503; a=rsa-sha256; cv=none; b=eciCbBqt4eA/fjdIu83bXzvNv8EBvmc1CiBkx8Xx5+M6rtB82IpXcR4AOcH7P1wLtGAH4K 55TdPJTHRL1RzvleHspVYEMqhZ09+KAykZ5Lb2V8ASDvZa1QJK3FeGIgDywg9TSlitDeCr RM6XJBxTySbo56X+Y6ccTZHq8wPtnhxhJUP8TOrMr2Jcx5TTR3mbUe/tJLsQLEVRTh8feq Mp52DmcfveanV3Vjata5VuMtBGm8DLZyH3gT+iJST/RhhY/lAO6iFmHvmoX06Rj1hGwC3D gJEdO+L3iO07dgUXcgSkwJx7hg1XrJ2anxnI+POW+yiyW7SurB+8fIUHQ5J3+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YWmjC2jbHz7JR for ; Mon, 13 Jan 2025 09:11:43 +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 50D9Bhu0057598 for ; Mon, 13 Jan 2025 09:11:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50D9Bh1h057597 for ports-bugs@FreeBSD.org; Mon, 13 Jan 2025 09:11:43 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 284027] databases/luadbi: default database driver swap breaking POLA Date: Mon, 13 Jan 2025 09:11:43 +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 Many People X-Bugzilla-Who: freebsd-bugs@km.krot.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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 cc flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284027 Bug ID: 284027 Summary: databases/luadbi: default database driver swap breaking POLA Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd-bugs@km.krot.org CC: olexander.v.melnyk@gmail.com Flags: maintainer-feedback?(olexander.v.melnyk@gmail.com) CC: olexander.v.melnyk@gmail.com This follows up on #270844. It seems the luadbi is swapping default database drivers, which are getting installed along with luadbi when using packages, back and forth, most recen= tly from SQLite3 to MySQL in https://cgit.freebsd.org/ports/commit/databases/luadbi?id=3Db43fee0213d3ff8= 1106cbccd08765564e55cbf30 The effect of such change is that upon package upgrade, the existing databa= se driver is removed from the system, and a new one is installed. This could be considered warranted when default driver becomes broken (as apparently was = the case when going from MySQL to SQLite3), but just swapping defaults without = any strong reason is breaking POLA. In my case this broke Prosody configuration, which relied on SQLite. Now that subpackage infrastructure is in place, it seems individual database drivers are rather good candidates for getting subpackaged? --=20 You are receiving this mail because: You are the assignee for the bug.=