From nobody Wed Oct 05 14:58:10 2022 X-Original-To: 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 4MjHkV1SkVz4TyxW for ; Wed, 5 Oct 2022 14:58:10 +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 4MjHkT6Mr5z3cmg for ; Wed, 5 Oct 2022 14:58:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MjHkT5QHQzwj7 for ; Wed, 5 Oct 2022 14:58:09 +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 295Ew9hn018842 for ; Wed, 5 Oct 2022 14:58:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 295Ew9Fg018841 for bugs@FreeBSD.org; Wed, 5 Oct 2022 14:58:09 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: bugs@FreeBSD.org Subject: [Bug 263879] pkgbase removes critical etc files upon upgrade Date: Wed, 05 Oct 2022 14:58:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664981889; 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=BKOqYApnZ0Rl34RPBiYKcr4WfRHNUALSW3/GTBPkIdY=; b=HjHYQELvbwizmumC5p0OZL3id3esJmQAmObks+fU8zqvYM1jYIdIdx38RVVXNCXJgzjVuE YM6taWIN4p+Z81cIXo9PoMXOvZ1ee+274cxkIAH7984i7srJOQtFS2MA+joYMP8Oivczyi VQp8sKbT7FlwrXoRWNUCQLXSlDCPStKAjaPesj6pA5Ro00cQjOThZoWk+Qx3sm8sB9XYl5 ndOMopsiREMWhL7GZoEA/gwoF6xpC3VPeWnGqL6Z8/LDhiM0wlMX1POw5da5zgSX+bSNSr VlLBL3cYgTx1KCmFqLgktKiEy8em1AAN+FSf91XOajtsB6+Gd//tzBDcBFgNGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664981889; a=rsa-sha256; cv=none; b=u5QFqPOZiFK7u58qaZXIFagY9Bug0HAvw6SAQ5yiG/wI3CaeMB3wESYjGgoyUdJePSLr4p b2x8BFlBsDS6ZS0Yk/YcHq3hl1IdmDkDBZ0rO9Q/Esr89gJna13vljoiqM7w2WCVXC1GJ6 N8RuD4rPO2hXj+4K+nGh+mKAR9iiNFF91mqqAb96/PtA7zZZpmHqO9aa9taQn/jrN+uf4Q p2P82mqW4eTNVZlc/0euM4/7jMxXEFmXR/f+T15K++8ujFZxa+ExlNsNWGc6Zy6VL8ASD8 +oStVId3iFZ+3pq9K8ZDRJN1z02+x569USY1Am7nnLUP5vUZv7gNbysYlc+k6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263879 --- Comment #5 from Mark Johnston --- (In reply to Mark Johnston from comment #4) That check in pkg_jobs_update_universe_item_priority() is definitely not an optimization. Without it, pkg will not split jobs at all, and there are ca= ses where it is necessary. So, what can we do? Basically, the problem is that upgrades of certain packages must not be split, otherwise critical config files are lost. So w= e'd need some package flag which says, "don't split an upgrade of this package, pick a different one" and hope that at least one of the conflicting packages does not have this flag set. Alternately, can we change pkg/pkgbase to not manage or remove certain crit= ical /etc files? --=20 You are receiving this mail because: You are the assignee for the bug.=