From nobody Fri Jan 21 18:49:09 2022 X-Original-To: ports@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 A1CC81965E23 for ; Fri, 21 Jan 2022 18:49:16 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgT1m3sqwz3Fkw; Fri, 21 Jan 2022 18:49:16 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642790956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p82L9EDiX/n8WBL0NZ3xm29g0H6zKSC7nEwYp8q/350=; b=SLFwqRe1DTYGD+knf/ykdtP6qfktraDNCcNxRADUkwc7tFPG5yJGr+ThvyyDuAsus6sXMn hgoIZbZwByA6pOrzZPHc3g5tCmy4Q1trmOVXzdm7pcuUgV+29371yesZu4cf5D+hJaj1QJ pNREpCpwxQ/PW9Lpefmuu4TG2JJmKtQqKj1EUCdAIGneIBW8TA9VEIKKawKSogeam8FO3m uX4gr+6ZEpmGgRsuzBzzTHxOLB/XDWrUCfT7jApNe/6eZsI4rIKbH8LW7vLFuy361NJata v+a4D14g5QAj/klOABnUhIlQwnrWd6QYViCvkLmq9GmXisUjlAHO8E/R37PaYA== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 3789A2DC07; Fri, 21 Jan 2022 18:49:16 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from dummy.faircode.eu (10.246.39.62.rev.sfr.net [62.39.246.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 69EF18FF68; Fri, 21 Jan 2022 19:49:12 +0100 (CET) Date: Fri, 21 Jan 2022 18:49:09 +0000 (UTC) From: Baptiste Daroussin To: Rosenke Cc: ports@freebsd.org, manu@freebsd.org Message-ID: In-Reply-To: <399b948e-7ff8-d905-3b17-888fe8411cbd@dssgmbh.de> References: <5fc8453b-1aab-bce9-59e9-1ee36161a580@FreeBSD.org> <20220113125730.zh4zmxj5d4473nmr@aniel.nours.eu> <5e0f8e42-0162-74d8-5fc7-1c2b62afd7dc@dssgmbh.de> <20220117152044.5njhh72fw7hm4tae@aniel.nours.eu> <399b948e-7ff8-d905-3b17-888fe8411cbd@dssgmbh.de> Subject: Re: pkgbase checksums List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642790956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p82L9EDiX/n8WBL0NZ3xm29g0H6zKSC7nEwYp8q/350=; b=vTsQrAi1DuPWMi90CQaav9Ntq4bcoKWU3Lt+yylJyvwZ6cKHWvOZSieSHMavxcfo4nxXq9 ueE2AabNI32Ul7wZJ2SLEQaTK6wdlP0OpFlADICInwKI59C8maRbL/r0pw8IDFrnLXnhLG J720W1YRLTfsjJaj5aJsm3RbTKozfsoNFwZ6x6df6ek2h9BtR2WJ1L8R8K/fGi7TdGX+CW gPuHwrh3OI3UfJmuCHUupC6/JcS444e26PpS56KsOYaVyE5uzambWSjBT+G4P6os3ex4oz TZz7XQUbnyHirhIg97PhgGUXgvA2lvCPGIOfwuhfYbGD583oL2KTiEHx+QsFQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642790956; a=rsa-sha256; cv=none; b=naOvxd0ilE0ngNZxAiuYWsASbDn7A8vNba87aSBWSRhEiipAFUnfJBi79dMBklgvzB7b7a VBkZ7xLgDk9r0HZpErj1eRD6LwPOc7bIe40P/tiE4Z7JMTRBSSByWbgF+HXOn+so5QJ69P zNM48+1B2QMhd1c65Em6vDQFDUEGPMZbguGpBhJ5WscXVpF+fnpoQncBPIMwcruChMCxdW xMI4LorpXKJuHRhZfDeDfgpqoujRFpGmFSCKOcB1G0wiWI3eQNAfzPf1D33Hmrdwl2WG9s vd0bb3oM92xhIx7Qg2Z+RQM9WJaNfjiQaNNWJtHwW/65V+XThs8Yzfdzchq0WQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 17 janv. 2022 16:22:31 Rosenke : > > On 17.01.22 16:20, Baptiste Daroussin wrote: >> On Mon, Jan 17, 2022 at 04:17:46PM +0100, Rosenke wrote: >>> On 17.01.22 16:12, Rosenke wrote: >>>> On 13.01.22 13:57, Baptiste Daroussin wrote: >>>>> On Thu, Jan 13, 2022 at 11:33:55AM +0100, Stefan Esser wrote: >>>>>> =E2=80=A6 >>>>> We have @config for base were pkg will do a 3 way merge, just those >>>>> files are >>>>> probably not marked as @config and should. >>>>> >>>>> (@config is native while @sample is external and define only in the >>>>> ports tree) >>>>> >>>>> if they are marked as such, then it means we have a bug in pkg >>>>> checksum as it >>>>> should not check the checksum of the files marked @config >>>>> >>>>> Best regards, >>>>> Bapt >>>> I tried it again with pkg 1.17.5 and FreeBSD 12.3 packages but got the >>>> same Error. The @config section is included in the packages: >>>> pkg info -R FreeBSD-clibs >>>> config: [ >>>> =C2=A0=C2=A0=C2=A0 "/etc/nsswitch.conf", >>>> =C2=A0=C2=A0=C2=A0 "/etc/libmap.conf", >>>> =C2=A0=C2=A0=C2=A0 "/etc/hosts", >>>> =C2=A0=C2=A0=C2=A0 "/etc/protocols", >>>> =C2=A0=C2=A0=C2=A0 "/etc/netconfig", >>>> =C2=A0=C2=A0=C2=A0 "/etc/hosts.equiv", >>>> =C2=A0=C2=A0=C2=A0 "/etc/rpc", >>>> =C2=A0=C2=A0=C2=A0 "/etc/mac.conf", >>>> =C2=A0=C2=A0=C2=A0 "/etc/shells", >>>> =C2=A0=C2=A0=C2=A0 "/etc/networks" >>>> ] >>>> >>>> In total these are now 9 cheksum mismatches in the pkgbase jail: >>>> =3D=3D=3D root@dsssrvt4j1 (pts/2) ~ 19(3) -> pkg check -sa >>>> Checking all packages:=C2=A0=C2=A0 1% >>>> FreeBSD-clibs-12.2.s20220114103031: checksum mismatch for /etc/hosts >>>> FreeBSD-clibs-12.2.s20220114103031: checksum mismatch for /etc/shells >>>> Checking all packages:=C2=A0 78% >>>> FreeBSD-runtime-12.2.s20220114103031: checksum mismatch for /.profile >>>> FreeBSD-runtime-12.2.s20220114103031: checksum mismatch for >>>> /etc/locate.rc >>>> FreeBSD-runtime-12.2.s20220114103031: checksum mismatch for >>>> /etc/login.conf >>>> FreeBSD-runtime-12.2.s20220114103031: checksum mismatch for >>>> /etc/sysctl.conf >>>> FreeBSD-runtime-12.2.s20220114103031: checksum mismatch for >>>> /etc/syslog.conf >>>> FreeBSD-runtime-12.2.s20220114103031: checksum mismatch for /etc/ttys >>>> FreeBSD-runtime-12.2.s20220114103031: checksum mismatch for >>>> /root/.profile >>>> Checking all packages: 100% >>>> >>> Whoops,=C2=A0 copied the wrong output: >>> =3D=3D=3D root@dsssrvt4j1 (pts/1) ~ 1(3) -> pkg check -sa >>> Checking all packages:=C2=A0=C2=A0 1% >>> FreeBSD-clibs-12.3.s20220117084939: checksum mismatch for /etc/hosts >>> FreeBSD-clibs-12.3.s20220117084939: checksum mismatch for /etc/shells >>> Checking all packages:=C2=A0 78% >>> FreeBSD-runtime-12.3.s20220117084939: checksum mismatch for /etc/locate= .rc >>> FreeBSD-runtime-12.3.s20220117084939: checksum mismatch for /etc/login.= conf >>> FreeBSD-runtime-12.3.s20220117084939: checksum mismatch for /etc/motd >>> FreeBSD-runtime-12.3.s20220117084939: checksum mismatch for /etc/sysctl= .conf >>> FreeBSD-runtime-12.3.s20220117084939: checksum mismatch for /etc/syslog= .conf >>> FreeBSD-runtime-12.3.s20220117084939: checksum mismatch for /etc/ttys >>> Checking all packages: 100% >>> >> Here we are ;), the bug is on my side then :D, we pkg devs (I said we be= cause >> maybe manu will be faster than me on this) will dive in the code and fix= . >> >> Best regards >> Bapt > Thank you very much. The concept of pkgbase is great, loving it on jails = with zfs so far. > > -- > Mit freundlichen Gr=C3=BC=C3=9Fen > Henrik Rosenke / Operating > > Data-Service GmbH > Beethovenstr. 2a > 23617 Stockelsdorf > Tel. +49 451/49001-34=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Fax. +49 451/49= 001-26 > Email:rosenke@dssgmbh.de=C2=A0 /www.dssgmbh.de > > Amtsgericht L=C3=BCbeck, HRB 318 BS > Gesch=C3=A4ftsf=C3=BChrer: Wilfried Paepcke, Dr. Andreas Longwitz, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Dr. Hans-Martin Rasch, Dr. Uwe Szyszka Fixed in git Bapt