Bug 292436 - pkgbase: FreeBSD-sound conflicts with FreeBSD-rc because of /etc/rc.d/mixer
Summary: pkgbase: FreeBSD-sound conflicts with FreeBSD-rc because of /etc/rc.d/mixer
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 16.0-CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Christos Margiolis
URL:
Keywords: pkgbase
Depends on:
Blocks:
 
Reported: 2026-01-13 19:05 UTC by Kenneth Raplee
Modified: 2026-02-17 17:47 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Raplee 2026-01-13 19:05:27 UTC
Checking integrity... done (1 conflicting)
  - FreeBSD-sound-16.snap20260113032355 [FreeBSD-Local] conflicts with FreeBSD-rc-16.snap20260113032355 [installed] on /etc/rc.d/mixer


There is no workaround to this if two pkgbase packages in the same snapshot install the same file(s). So it puts me into a package upgrading deadlock. :(
Comment 1 Lexi Winter freebsd_committer freebsd_triage 2026-01-14 04:43:52 UTC
this was caused by f74f891581bc4df20431607de9b761107f6a0aa7 which added rc.d/mixer to the sound package without removing the existing entry in the rc package.

assign to responsible committer.
Comment 2 Christos Margiolis freebsd_committer freebsd_triage 2026-01-14 13:27:20 UTC
(In reply to ivy from comment #1)
https://reviews.freebsd.org/D54706
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-01-15 17:55:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=37164224eefd11278b0203e1367e1d9d1454da3f

commit 37164224eefd11278b0203e1367e1d9d1454da3f
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-01-15 17:53:55 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-01-15 17:53:55 +0000

    libexec/rc/rc.d/Makefile: Remove duplicate mixer entry

    Fixes:          f74f891581bc ("src.opts: Introduce MK_SOUND")
    PR:             292436
    Sponsored by:   The FreeBSD Foundation
    MFC after:      4 days
    Reviewed by:    ivy, emaste
    Differential Revision:  https://reviews.freebsd.org/D54706

 libexec/rc/rc.d/Makefile | 1 -
 1 file changed, 1 deletion(-)