halt and reboot should not be installed under the Hurd

Bug #6829 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
sysvinit (Debian)
Fix Released
Unknown
sysvinit (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #255880
http://bugs.debian.org/255880

Revision history for this message
In , Ognyan Kulev (ogi) wrote : policy violation

severity 255880 serious
thanks

Although I can't cite Debian Policy, surely one file can't be in 2
packages without dpkg-divert or something like that. So it's policy bug.

Regards,
ogi

Revision history for this message
In , Ognyan Kulev (ogi) wrote : Re: reboot complains about /dev/initctl

/* Cc: <email address hidden> */

Alfred M. Szmidt wrote:
> Recall that the ones in the Hurd don't do funky sysvinit magic.
> Infatc, reboot for us is essentially a call to reboot().

(Shame smiley here) I forgot about that (the funky sysvinit part).

Anyway, we need resolution about the sysvinit package and hurd-i386.

For the halt/reboot problem, one of the quickest solutions is to remove
halt and reboot from Debian's hurd package[1], and -f to be always
assumed for these commands in sysvinit package.

[1] Well, this requires synchronization with hurd package maintainers,
so the really quickest is sysvinit to not ship with halt and reboot.

Regards,
ogi

Revision history for this message
In , Marcus Brinkmann (marcus-brinkmann) wrote :

At Wed, 23 Jun 2004 21:17:31 +0300,
Ognyan Kulev wrote:
>
> /* Cc: <email address hidden> */
>
> Alfred M. Szmidt wrote:
> > Recall that the ones in the Hurd don't do funky sysvinit magic.
> > Infatc, reboot for us is essentially a call to reboot().
>
> (Shame smiley here) I forgot about that (the funky sysvinit part).
>
> Anyway, we need resolution about the sysvinit package and hurd-i386.
>
> For the halt/reboot problem, one of the quickest solutions is to remove
> halt and reboot from Debian's hurd package[1], and -f to be always
> assumed for these commands in sysvinit package.
>
> [1] Well, this requires synchronization with hurd package maintainers,
> so the really quickest is sysvinit to not ship with halt and reboot.

Well, it's true that synchronization may be required. However, before you
can put an alternative into place, it must work. IE, the sysvinit
port must be thoroughly tested and confirmed to do what it's supposed
to do. This is just a general note, maybe it already does.

I am not sure it is necessary or even desirable to use reboot/halt
from sysvinit. I remember a time where users where discouraged from
running halt/reboot directly specifically because they didn't run the
scripts (even on GNU/Linux). The right way to shut down the system
was shutdown (-r or -h and "-t now" or so).

We will need our own initscripts package or whatever anyway, so if
calling reboot/halt from those scripts is a problem, than in our
version of the script we can adjust it wrt command line options (-f)
etc.

Thanks,
Marcus

Revision history for this message
In , Ognyan Kulev (ogi) wrote :

Marcus Brinkmann wrote:
> We will need our own initscripts package or whatever anyway, so if
> calling reboot/halt from those scripts is a problem, than in our
> version of the script we can adjust it wrt command line options (-f)
> etc.

Until such own initscripts package is made, is using sysvinit our goal?
  If not, then it's better to not include halt and reboot in sysvinit
when it's build for hurd-i386. If it is, halt and reboot should be
excluded from hurd, and sysvinit's halt and reboot should assume -f in
hurd-i386 (until someone patches things). In any case, sysvinit
packages provide things like update-rc.d and runlevel, which we need
until our own initscripts is cooked.

Regards,
ogi

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #255880
http://bugs.debian.org/255880

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 23 Jun 2004 18:26:58 +0300
From: Ognyan Kulev <email address hidden>
To: <email address hidden>
Subject: halt and reboot should not be installed under the Hurd

Package: sysvinit
Version: 2.85-20
Tags: sid
Severity: important

This package includes "halt" and "reboot" commands. But under the Hurd,
these commands are provided by the hurd package. So when arhitecture is
hurd-i386, they shouldn't be installed. (For example, the Hurd has no
/dev/initctl.) As a workaround, "reboot -f" can be used.

I've set severity to important, because the only way to reboot Hurd
system becomes "reboot -f" which is not trivially guessed.
(Ctrl-Alt-Del doesn't work.)

Regards,
ogi

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 23 Jun 2004 18:41:26 +0300
From: Ognyan Kulev <email address hidden>
To: <email address hidden>
Subject: policy violation

severity 255880 serious
thanks

Although I can't cite Debian Policy, surely one file can't be in 2
packages without dpkg-divert or something like that. So it's policy bug.

Regards,
ogi

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 23 Jun 2004 21:17:31 +0300
From: Ognyan Kulev <email address hidden>
To: "Alfred M. Szmidt" <email address hidden>
CC: <email address hidden>, <email address hidden>
Subject: Re: reboot complains about /dev/initctl

/* Cc: <email address hidden> */

Alfred M. Szmidt wrote:
> Recall that the ones in the Hurd don't do funky sysvinit magic.
> Infatc, reboot for us is essentially a call to reboot().

(Shame smiley here) I forgot about that (the funky sysvinit part).

Anyway, we need resolution about the sysvinit package and hurd-i386.

For the halt/reboot problem, one of the quickest solutions is to remove
halt and reboot from Debian's hurd package[1], and -f to be always
assumed for these commands in sysvinit package.

[1] Well, this requires synchronization with hurd package maintainers,
so the really quickest is sysvinit to not ship with halt and reboot.

Regards,
ogi

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 23 Jun 2004 20:31:42 +0200
From: Marcus Brinkmann <email address hidden>
To: Ognyan Kulev <email address hidden>
Cc: "Alfred M. Szmidt" <email address hidden>, <email address hidden>,
 <email address hidden>
Subject: Re: reboot complains about /dev/initctl

At Wed, 23 Jun 2004 21:17:31 +0300,
Ognyan Kulev wrote:
>
> /* Cc: <email address hidden> */
>
> Alfred M. Szmidt wrote:
> > Recall that the ones in the Hurd don't do funky sysvinit magic.
> > Infatc, reboot for us is essentially a call to reboot().
>
> (Shame smiley here) I forgot about that (the funky sysvinit part).
>
> Anyway, we need resolution about the sysvinit package and hurd-i386.
>
> For the halt/reboot problem, one of the quickest solutions is to remove
> halt and reboot from Debian's hurd package[1], and -f to be always
> assumed for these commands in sysvinit package.
>
> [1] Well, this requires synchronization with hurd package maintainers,
> so the really quickest is sysvinit to not ship with halt and reboot.

Well, it's true that synchronization may be required. However, before you
can put an alternative into place, it must work. IE, the sysvinit
port must be thoroughly tested and confirmed to do what it's supposed
to do. This is just a general note, maybe it already does.

I am not sure it is necessary or even desirable to use reboot/halt
from sysvinit. I remember a time where users where discouraged from
running halt/reboot directly specifically because they didn't run the
scripts (even on GNU/Linux). The right way to shut down the system
was shutdown (-r or -h and "-t now" or so).

We will need our own initscripts package or whatever anyway, so if
calling reboot/halt from those scripts is a problem, than in our
version of the script we can adjust it wrt command line options (-f)
etc.

Thanks,
Marcus

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 24 Jun 2004 20:04:48 +0300
From: Ognyan Kulev <email address hidden>
To: Marcus Brinkmann <email address hidden>
CC: "Alfred M. Szmidt" <email address hidden>, <email address hidden>,
 <email address hidden>
Subject: Re: reboot complains about /dev/initctl

Marcus Brinkmann wrote:
> We will need our own initscripts package or whatever anyway, so if
> calling reboot/halt from those scripts is a problem, than in our
> version of the script we can adjust it wrt command line options (-f)
> etc.

Until such own initscripts package is made, is using sysvinit our goal?
  If not, then it's better to not include halt and reboot in sysvinit
when it's build for hurd-i386. If it is, halt and reboot should be
excluded from hurd, and sysvinit's halt and reboot should assume -f in
hurd-i386 (until someone patches things). In any case, sysvinit
packages provide things like update-rc.d and runlevel, which we need
until our own initscripts is cooked.

Regards,
ogi

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug is hurd-specific

Revision history for this message
In , Thomas Hood (jdthood-aglu) wrote : Temporary downgrade

severity 255880 important
severity 256524 important
thanks

Temporary downgrade which will allow 2.85-22 to drop into sarge
tonight.
--
Thomas

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <1088414875.7370.130.camel@thanatos>
Date: Mon, 28 Jun 2004 11:27:55 +0200
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: Temporary downgrade

severity 255880 important
severity 256524 important
thanks

Temporary downgrade which will allow 2.85-22 to drop into sarge
tonight.
--
Thomas

Revision history for this message
In , Miquel van Smoorenburg (miquels) wrote : Bug#255880: fixed in sysvinit 2.86-1
Download full text (3.3 KiB)

Source: sysvinit
Source-Version: 2.86-1

We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:

initscripts_2.86-1_i386.deb
  to pool/main/s/sysvinit/initscripts_2.86-1_i386.deb
sysv-rc_2.86-1_all.deb
  to pool/main/s/sysvinit/sysv-rc_2.86-1_all.deb
sysvinit_2.86-1.diff.gz
  to pool/main/s/sysvinit/sysvinit_2.86-1.diff.gz
sysvinit_2.86-1.dsc
  to pool/main/s/sysvinit/sysvinit_2.86-1.dsc
sysvinit_2.86-1_i386.deb
  to pool/main/s/sysvinit/sysvinit_2.86-1_i386.deb
sysvinit_2.86.orig.tar.gz
  to pool/main/s/sysvinit/sysvinit_2.86.orig.tar.gz

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Miquel van Smoorenburg <email address hidden> (supplier of updated sysvinit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Fri, 30 Jul 2004 14:17:05 +0200
Source: sysvinit
Binary: sysv-rc sysvinit initscripts
Architecture: source i386 all
Version: 2.86-1
Distribution: unstable
Urgency: medium
Maintainer: Miquel van Smoorenburg <email address hidden>
Changed-By: Miquel van Smoorenburg <email address hidden>
Description:
 initscripts - Standard scripts needed for booting and shutting down
 sysv-rc - Standard boot mechanism using symlinks in /etc/rc?.d
 sysvinit - System-V like init
Closes: 244908 248210 250089 255303 255820 255849 255880 256726 258065 259971 259979 261342
Changes:
 sysvinit (2.86-1) unstable; urgency=medium
 .
   * Better algorithm for pidof (closes: #248210)
   * Include fsck.nfs.8 (closes: #250089)
   * Include new skeleton script (closes: #244908)
   * Better error message on failure to find path to mtab (closes: #255820)
   * Add support for fstype ncp (alias for ncpfs) (closes: #259971)
   * Touch /tmp/.clean earlier (closes: #255303)
   * Don't include halt and reboot for hurd-i386 (closes: #255880)
   * Remove XSIisms in mountvirtfs and invoke-rc.d (closes: #256726)
   * Add "-t $roottype" to mount -f for / (closes: #255849)
   * Always initialize PATH (to /bin:/usr/bin:/sbin:/usr/sbin) (closes: #258065)
   * Try harder to remount ro and rw (closes: #259979)
   * Add support for LABEL=/UUID= in checkroot.sh (closes: #261342)
Files:
 cbb7b8ffd2d05103087d26fc84c3300e 643 base required sysvinit_2.86-1.dsc
 e27bd78e92443b59d743f261f4a51f57 182051 base required sysvinit_2.86.orig.tar.gz
 73803f3b8d7bb4bc3d4ac9589c8b2ff6 58956 base required sysvinit_2.86-1.diff.gz
 5916bdf9469cca6a46e3538f32c5b678 96740 base required sysvinit_2.86-1_i386.deb
 f9e19cb06699c3879cb55013288f190f 29836 base required initscripts_2.86-1_i386.deb
 9115b0d88d2bd7ba586cf1c2e15e05ee 34710 base required sysv-rc_2.86-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQB1AwUBQQuhdFiLscT2F1RZAQE5w...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.5 KiB)

Message-Id: <email address hidden>
Date: Sat, 31 Jul 2004 09:49:55 -0400
From: Miquel van Smoorenburg <email address hidden>
To: <email address hidden>
Subject: Bug#255880: fixed in sysvinit 2.86-1

Source: sysvinit
Source-Version: 2.86-1

We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:

initscripts_2.86-1_i386.deb
  to pool/main/s/sysvinit/initscripts_2.86-1_i386.deb
sysv-rc_2.86-1_all.deb
  to pool/main/s/sysvinit/sysv-rc_2.86-1_all.deb
sysvinit_2.86-1.diff.gz
  to pool/main/s/sysvinit/sysvinit_2.86-1.diff.gz
sysvinit_2.86-1.dsc
  to pool/main/s/sysvinit/sysvinit_2.86-1.dsc
sysvinit_2.86-1_i386.deb
  to pool/main/s/sysvinit/sysvinit_2.86-1_i386.deb
sysvinit_2.86.orig.tar.gz
  to pool/main/s/sysvinit/sysvinit_2.86.orig.tar.gz

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Miquel van Smoorenburg <email address hidden> (supplier of updated sysvinit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Fri, 30 Jul 2004 14:17:05 +0200
Source: sysvinit
Binary: sysv-rc sysvinit initscripts
Architecture: source i386 all
Version: 2.86-1
Distribution: unstable
Urgency: medium
Maintainer: Miquel van Smoorenburg <email address hidden>
Changed-By: Miquel van Smoorenburg <email address hidden>
Description:
 initscripts - Standard scripts needed for booting and shutting down
 sysv-rc - Standard boot mechanism using symlinks in /etc/rc?.d
 sysvinit - System-V like init
Closes: 244908 248210 250089 255303 255820 255849 255880 256726 258065 259971 259979 261342
Changes:
 sysvinit (2.86-1) unstable; urgency=medium
 .
   * Better algorithm for pidof (closes: #248210)
   * Include fsck.nfs.8 (closes: #250089)
   * Include new skeleton script (closes: #244908)
   * Better error message on failure to find path to mtab (closes: #255820)
   * Add support for fstype ncp (alias for ncpfs) (closes: #259971)
   * Touch /tmp/.clean earlier (closes: #255303)
   * Don't include halt and reboot for hurd-i386 (closes: #255880)
   * Remove XSIisms in mountvirtfs and invoke-rc.d (closes: #256726)
   * Add "-t $roottype" to mount -f for / (closes: #255849)
   * Always initialize PATH (to /bin:/usr/bin:/sbin:/usr/sbin) (closes: #258065)
   * Try harder to remount ro and rw (closes: #259979)
   * Add support for LABEL=/UUID= in checkroot.sh (closes: #261342)
Files:
 cbb7b8ffd2d05103087d26fc84c3300e 643 base required sysvinit_2.86-1.dsc
 e27bd78e92443b59d743f261f4a51f57 182051 base required sysvinit_2.86.orig.tar.gz
 73803f3b8d7bb4bc3d4ac9589c8b2ff6 58956 base required sysvinit_2.86-1.diff.gz
 5916bdf9469cca6a46e3538f32c5b678 96740 base required sysvinit_2.86-1_i386.deb
 f9e19cb06699c3879cb55013288f190f 2...

Read more...

Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in syslinux 2.86-1 in Debian.

Changed in sysvinit:
status: Unconfirmed → Fix Released
Changed in sysvinit:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.