NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/50836: rc.d/envsys rcorder



>Number:         50836
>Category:       misc
>Synopsis:       rc.d/envsys rcorder
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 22 14:15:00 +0000 2016
>Originator:     Edgar Fuß
>Release:        NetBSD 6.1_STABLE
>Organization:
	Mathematisches Institut der Universität Bonn
>Environment:
	
	
System: NetBSD trave.math.uni-bonn.de 6.1_STABLE NetBSD 6.1_STABLE (MI-Server) #5: Mon Feb 15 12:26:39 CET 2016 support%trave.math.uni-bonn.de@localhost:/usr/obj/sys/arch/amd64/compile/miserv amd64
Architecture: x86_64
Machine: amd64
>Description:
	rc.d/envsys (which sets the values according to envsys.conf) should be run BEFORE rc.d/powerd. Otherwise, bogus default values (set by the BIOS) may cause powerd to shut down the machine before envsys has had a chance to set the correct values.
	Worse, rc.d/envsys has a "REQUIRE: LOGIN DAEMON", while rc.d/powerd has a "BEFORE: LOGIN", which forces powerd to start before envsys values are set.
>How-To-Repeat:
	Code inspection.
>Fix:
	Change rc.d/envsys's REQUIRE: to just mountcritremote (because envstat is on /usr/sbin) and add a BEFORE: powerd.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index