From nobody Wed Oct 06 20:43:13 2021 X-Original-To: dev-commits-src-all@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 6E73C12BE716; Wed, 6 Oct 2021 20:43:27 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4HPmcv1yq8z4vTk; Wed, 6 Oct 2021 20:43:27 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (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 mail.turbocat.net (Postfix) with ESMTPSA id 682AF260182; Wed, 6 Oct 2021 22:43:25 +0200 (CEST) Subject: Re: git: 903873ce1560 - main - Implement and use new mixer(3) library for FreeBSD. To: Kevin Bowling , Christos Margiolis Cc: Mateusz Piotrowski <0mp@freebsd.org>, src-committers , dev-commits-src-all@freebsd.org, "dev-commits-src-main@FreeBSD.org" References: <202109221803.18MI3gdA013391@gitrepo.freebsd.org> <3d6a23c3-ad2c-4c5b-849e-1ef12dbf8955@FreeBSD.org> <487fa0f2-d845-438f-a035-8b7ccba4285a@selasky.org> <20211004101726.wraje5ol5vwbhjcv@pleb> From: Hans Petter Selasky Message-ID: Date: Wed, 6 Oct 2021 22:43:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HPmcv1yq8z4vTk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On 10/6/21 10:37 PM, Kevin Bowling wrote: > I still get a bunch of spam from rc.d on boot and it doesn't seem to > save my mixer settings on shutdown, is there some settings file I > should blow away or is there a better way to handle upgrades? Hi Kevin, Did you install the new /etc/rc.d/mixer script? Or do you see this diff: > diff -u /usr/src/libexec/rc/rc.d/mixer /etc/rc.d/mixer > --- /usr/src/libexec/rc/rc.d/mixer 2021-09-22 22:09:36.193543000 +0200 > +++ /etc/rc.d/mixer 2019-12-26 22:43:45.276389000 +0100 > @@ -58,7 +58,7 @@ > > dev="/dev/${1}" > if [ -r ${dev} ]; then > - /usr/sbin/mixer -f ${dev} -o > /var/db/${1}-state 2>/dev/null > + /usr/sbin/mixer -f ${dev} -s > /var/db/${1}-state 2>/dev/null > fi > } --HPS