Date: Mon, 26 Feb 2024 16:04:21 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 277330] x11/lightdm overwrites pam.d/lightdm on upgrade Message-ID: <bug-277330-39348-R1d2p6HQMi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277330-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-277330-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277330 Guido Falsi <madpilot@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madpilot@FreeBSD.org Status|New |Open --- Comment #1 from Guido Falsi <madpilot@FreeBSD.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277330-39348-R1d2p6HQMi>