misc/147193: /etc/rc.d/mixer starts too late

Demelier David demelier.david at gmail.com
Sat May 29 17:50:02 UTC 2010


>Number:         147193
>Category:       misc
>Synopsis:       /etc/rc.d/mixer starts too late
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 29 17:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Demelier David
>Release:        8.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD Abricot.malikania.fr 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #4: Mon May 10 21:15:52 CEST 2010     root at Abricot.malikania.fr:/usr/obj/usr/src/sys/Abricot  i386

>Description:
When I use musicpd, sometimes I forget to pause/stop it before shutdown my computer. When FreeBSD boot the sound is maybe at a default value and was higher than my value I set in mixer so the sound was too loud. 

This is because actually the /etc/rc.d/mixer is started after musicpd, so to prevent this I made a little patch but, it works but I don't know if it's the best. See `How to fix'
>How-To-Repeat:

>Fix:
--- mixer.orig	2010-05-29 19:15:27.000000000 +0200
+++ mixer	2010-05-29 19:15:38.000000000 +0200
@@ -29,6 +29,7 @@
 
 # PROVIDE: mixer
 # REQUIRE: cleanvar
+# BEFORE: LOGIN
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list