halt and reboot should not be installed under the Hurd
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://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#2 |
/* 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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#3 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#4 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #5 |
Automatically imported from Debian bug report #255880
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #6 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #7 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #8 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #9 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #10 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matt Zimmerman (mdz) wrote : | #11 |
This bug is hurd-specific
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#12 |
severity 255880 important
severity 256524 important
thanks
Temporary downgrade which will allow 2.85-22 to drop into sarge
tonight.
--
Thomas
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <1088414875.
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#14 |
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_
to pool/main/
sysv-rc_
to pool/main/
sysvinit_
to pool/main/
sysvinit_2.86-1.dsc
to pool/main/
sysvinit_
to pool/main/
sysvinit_
to pool/main/
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/
* Try harder to remount ro and rw (closes: #259979)
* Add support for LABEL=/UUID= in checkroot.sh (closes: #261342)
Files:
cbb7b8ffd2d051
e27bd78e92443b
73803f3b8d7bb4
5916bdf9469cca
f9e19cb06699c3
9115b0d88d2bd7
-----BEGIN PGP SIGNATURE----- iQB1AwUBQQuhdFi
Version: GnuPG v1.2.4 (GNU/Linux)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #15 |
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_
to pool/main/
sysv-rc_
to pool/main/
sysvinit_
to pool/main/
sysvinit_2.86-1.dsc
to pool/main/
sysvinit_
to pool/main/
sysvinit_
to pool/main/
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/
* Try harder to remount ro and rw (closes: #259979)
* Add support for LABEL=/UUID= in checkroot.sh (closes: #261342)
Files:
cbb7b8ffd2d051
e27bd78e92443b
73803f3b8d7bb4
5916bdf9469cca
f9e19cb06699c3
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Colin Watson (cjwatson) wrote : | #16 |
Fixed in syslinux 2.86-1 in Debian.
Changed in sysvinit: | |
status: | Unconfirmed → Fix Released |
Changed in sysvinit: | |
status: | Unknown → Fix Released |
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