Debian bug report logs - #1666, boring messages


Message sent to debian-devel@pixar.com:


Subject: Bug#1666: C-A-D doesn't work after shutdown -h
Reply-To: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>, debian-bugs@pixar.com
Resent-From: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>
Resent-To: debian-devel@pixar.com
Resent-Date: Fri, 13 Oct 1995 14:33:01 GMT
Resent-Message-ID: <debian-bugs-handler.1666.B10131423150@pixar.com>
Resent-Sender: iwj10@cus.cam.ac.uk
X-Debian-PR-Package: sysvinit
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Fri, 13 Oct 1995 14:33:01 GMT
Received: with rfc822 via encapsulated-mail; Fri, 13 Oct 1995 14:23:12 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t3kyn-000DJ0C; Fri, 13 Oct 95 07:20 PDT
Received: from i17linuxb.ists.pwr.wroc.pl by pixar.com with SMTP id AA04274
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 13 Oct 1995 07:20:13 -0700
Received: (from marekm@localhost) by i17linuxb.ists.pwr.wroc.pl (8.6.12/8.6.9) id PAA01681 for debian-bugs@pixar.com; Fri, 13 Oct 1995 15:20:26 +0100
From: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>
Message-Id: <199510131420.PAA01681@i17linuxb.ists.pwr.wroc.pl>
To: debian-bugs@pixar.com
Date: Fri, 13 Oct 1995 15:20:24 +0100 (MET)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 1517

Package: sysvinit
Version: 2.57b-1

After the system is halted, the three finger salute doesn't reboot it
(instead, init complains about no /var/log/initrunlvl).  To fix: use
the ctrlaltdel program from util-linux (add "ctrlaltdel hard" after
the filesystems are unmounted in /etc/init.d/halt), or add a reboot()
call with correct magic values in the halt program.

BTW, I'm not sure if too much FSSTND is a good idea here - if /var is
a separate filesystem and it is not mounted, it is not possible to change
runlevels.  The traditional file name is /etc/initrunlvl.  Same goes for
the shutdown.pid file, too.

Another problem with sysvinit: sometimes, if I press Ctrl-Alt-Del, it
prints the following messages (from memory, they may differ slightly):

INIT: Switching to runlevel 6
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
INIT: No more processes left in runlevel 6

and then just hangs (but some processes are still running, for example
gpm - I can see that by moving the mouse).  Pressing C-A-D again doesn't
help (results only in two INIT: messages, the first and fourth one),
only the reset button does.  Small suggestion for init (unless it already
does this): no matter what is in the /etc/inittab "ctrlaltdel" line,
always sync() on C-A-D before doing anything else.

While we are at it, yet another (only cosmetic) problem with init:
I suggest to do something like "stty sane" in shutdown scripts -
the shutdown messages are printed without carriage returns...

Marek


Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>
Subject: Bug#1666: Acknowledgement (was: C-A-D doesn't work after shutdown -h)
In-Reply-To: <199510131420.PAA01681@i17linuxb.ists.pwr.wroc.pl>
References: <199510131420.PAA01681@i17linuxb.ists.pwr.wroc.pl>

Thank you for the problem report you have sent regarding Debian GNU/Linux.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.

If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#1666" or "Re: Bug#1666" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#1666: C-A-D doesn't work after shutdown -h
Reply-To: Bruce Perens <bruce@Pixar.com>, debian-bugs@pixar.com
Resent-From: Bruce Perens <bruce@Pixar.com>
Resent-To: debian-devel@pixar.com
Resent-Date: Fri, 13 Oct 1995 19:03:02 GMT
Resent-Message-ID: <debian-bugs-handler.1666.B10131856090@pixar.com>
Resent-Sender: iwj10@cus.cam.ac.uk
X-Debian-PR-Package: sysvinit
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Fri, 13 Oct 1995 19:03:02 GMT
Received: with rfc822 via encapsulated-mail; Fri, 13 Oct 1995 18:56:07 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t3pFg-000CvGC; Fri, 13 Oct 95 11:54 PDT
Received: from mongo.pixar.com by pixar.com with SMTP id AA22998
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 13 Oct 1995 11:54:17 -0700
Received: by mongo.pixar.com (Smail3.1.28.1 #15)
	id m0t3pFB-00051TC; Fri, 13 Oct 95 11:54 PDT
Message-Id: <m0t3pFB-00051TC@mongo.pixar.com>
X-Mailer: exmh version 1.6.2 7/18/95
To: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>,
        debian-bugs@Pixar.com
Cc: bruce@Pixar.com
In-Reply-To: Your message of "Fri, 13 Oct 1995 15:20:24 PDT."
             <199510131420.PAA01681@i17linuxb.ists.pwr.wroc.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 13 Oct 1995 11:54:09 -0700
From: Bruce Perens <bruce@Pixar.com>


marekm@i17linuxb.ists.pwr.wroc.pl said:
> add a reboot() call with correct magic values in the halt program.

It really belongs in the "init" program. OK, I'll do that.

By the time the system is halted, all disks are mounted read-only, and it is
no longer possible to write the run level.

I'll look at the other problems.

	Bruce

--
-- Attention Radio Amateurs: For information on "Linux for Hams",
-- read the WWW page http://www.hams.com/LinuxForHams,
-- or e-mail the word "help" to info@hams.com



Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: Bruce Perens <bruce@Pixar.com>
Subject: Bug#1666: Info received (was Bug#1666: C-A-D doesn't work after shutdown -h)
In-Reply-To: <m0t3pFB-00051TC@mongo.pixar.com>
References: <m0t3pFB-00051TC@mongo.pixar.com>

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developers to
accompany the original report.

If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#1666" or "Re: Bug#1666" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov