From nobody Mon Feb 26 16:04:21 2024 X-Original-To: desktop@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 4Tk55x4J9Zz5BgRr for ; Mon, 26 Feb 2024 16:04:21 +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 4Tk55x342Sz4NVH for ; Mon, 26 Feb 2024 16:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708963461; a=rsa-sha256; cv=none; b=x1MX3sNAsvfusjAJhkX/39We4p2oqrnOHdSd267PXqbxLgURGZJcb+ATaezSDsUBxamsNk XYszxn5xLHP11wO6w/anpwmQCoX5VlsoR/eChYz+UN88PE3W9E9J9qaL1m88jjdESrXboc lbL6PF2eBw7tN6/hszyBrUPw2dFvlO+f35RP8NTBd/YPnk8uzULVTjn93w7bYf4YvZ1Z2r pPDysea1WRWT374uP9Tu9j2QKC4m2qSNrw58sJaB7yn/qGDcFbdqlWVncOgDhOa1E+1wCu fzk6x7iT4+yreUybYqXKrumJ/jcRthiXEvO8mlaHG1/BoHmpBWKYdI4Zi5GlsA== 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=1708963461; 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: in-reply-to:in-reply-to:references:references; bh=6ORhwaaRHDlJg/ZkWVP2oi0VXCz+HVaiRUD8EVGdalk=; b=FXS++kvmSEETjbSnsCs7f6KqHqJPV1tx5arsebTovD5QY43Taet6cok35YW/cLryKGLV1q KUxyU8KPdaPgL8wPCOFgWEYBUH8aMIaciom8vPt8TXraSmdVXJ+e3xhJRmiDe1ZtWXUGAv HRbncHBbABiMtlijohC5YbsOJ97a6PMg2+dK/LWRQaEn9WPIJ0Eqb+5zdGab54LTZyBpYO 4s8zzFmFk4j+V1nuoFIvQ6d2gILQV/laE3PXsozUCx3bZfVSfZz/YCp2keW456mPrLEzb8 1uqZ0wGXd9elTeaJwFDgq5dUGOzRcVCgCp8DrR9YlwNqT/XNqzGeqzcRhT47LQ== 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 4Tk55x26ytzZkD for ; Mon, 26 Feb 2024 16:04:21 +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 41QG4L6g071834 for ; Mon, 26 Feb 2024 16:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41QG4Lt9071833 for desktop@FreeBSD.org; Mon, 26 Feb 2024 16:04:21 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: desktop@FreeBSD.org Subject: [Bug 277330] x11/lightdm overwrites pam.d/lightdm on upgrade Date: Mon, 26 Feb 2024 16:04:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: madpilot@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: 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: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277330 Guido Falsi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madpilot@FreeBSD.org Status|New |Open --- Comment #1 from Guido Falsi --- Hi, This was an onging issue up to commit [1], which fixed it, but only for fut= ure updates. This is due to how pkg works. When previous versione were installed the `/usr/local/etc/pam.d/lightdm` file was registered in the plist as is. From= now on the file `/usr/local/etc/pam.d/lightdm.sample` is added to the plist and removed automatically, while `/usr/local/etc/pam.d/lightdm` will be removed= or overwritten only if it has not been customized, thanks to the @sample keywo= rd in the plist. Since I added those files as samples in version 1.32.0_2 future updated will not overwrite the file anymore if customized. If you want to test this you can try doing `pkg upgrade -f lightdm` which f= orce a pkg upgrade and with the latest version the pam file will not be overwrit= ten anymore. Feel free to ask for clarifications, but if you are persuaded by this explanation, please close this bug report. [1] https://cgit.freebsd.org/ports/commit/?id=3D23a47f28de20c42fb2c3a7286c81579= 7013df6ea --=20 You are receiving this mail because: You are the assignee for the bug.=