Debian bug report logs - #1419
reboot too eager to reboot
Package: sysvinit; Reported by: Richard Kettlewell <richard@elmail.co.uk>; 40 days old.
Message received at debian-bugs:
From elmail.co.uk!richard Thu Sep 21 04:30:27 1995
Return-Path: <richard@elmail.co.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0svjpi-0005zZC; Thu, 21 Sep 95 04:30 PDT
Received: from muskogee.elmail.co.uk by pixar.com with SMTP id AA05301
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 21 Sep 1995 04:30:00 -0700
Received: by muskogee.elmail.co.uk
id <m0svjol-00032cC@muskogee.elmail.co.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 21 Sep 95 12:29 BST
Message-Id: <8Mo6T23B2@sfere.elmail.co.uk>
Date: Wed, 20 Sep 95 20:38:42 +0100 (BST)
From: Richard Kettlewell <richard@elmail.co.uk>
To: debian-bugs@pixar.com
Subject: reboot too eager to reboot
Package: sysvinit
Version: 2.56-5
Rebooting my work machine after three weeks uptime I did what I almost
invariably do at home and typed `reboot'. At home this calls
shutdown, and tidies everything up nicely. (I have the same version
of sysvinit both at home and at work.)
At work, however, the effect was to briefly print a message saying
something to the effect of ``cannot determine runlevel, doing a hard
reboot''. It then rebooted immediately, in particular without
umounting anything.
The reboot man page notes that shutdown will be called if the system
is not in runlevel 0 or 6; I don't know what condition it is that
causes reboot to be unable to determine the runlevel but it seems to
be to be highly unreasonable to just assume that it's OK to reboot if
it can't work out whether or not it is.
More sensible semantics in this situation would be to only carry out
the reboot if the -f flag is present.
--
Richard Kettlewell <URL:http://www.elmail.co.uk/staff/richard/>
Work+home: <richard@elmail.co.uk> Home only: <richard@sfere.elmail.co.uk>
Acknowledgement sent to Richard Kettlewell <richard@elmail.co.uk>
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1419
; Package sysvinit
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism