|
Message-ID: <20011116102106.A9869@openwall.com> Date: Fri, 16 Nov 2001 10:21:06 +0300 From: Solar Designer <solar@...nwall.com> To: owl-users@...ts.openwall.com Cc: Miquel van Smoorenburg <miquels@...tron.nl> Subject: Re: poweroff problem On Tue, Nov 13, 2001 at 03:48:51PM +0300, Solar Designer wrote: > On Tue, Nov 13, 2001 at 01:32:34PM +0100, Piotr Synowiec wrote: > > I have got problem with poweroff of my machine when I halt it. > > > > I tried to recompile kernel all possible ways, no change at all > > I tried APM and ACPI. > > > > Is this Owl related, I mean the way how halt has been compiled? > > Shouldn't be. When called as "poweroff", halt(8) simply passes a > different reboot magic to the kernel. We didn't modify this in any way. OK, I've investigated this and the problem _is_ Owl-related. It's just not halt(8)- or kernel-related. A workaround is to add "-p" to the last line of /etc/init.d/halt. The drawback is that then you won't be able to cleanly halt the system without also powering it off (but reboots will work). Apparently, this is how Debian has it. No idea about SuSE. (If anyone has the time to check, please post to the list.) As for a proper fix, I am not sure. The information is simply not passed down to the scripts and I don't see a clean way to pass it other than by allocating a runlevel to "poweroff". -- /sd
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.