Debian Bug report logs -
#14238
Please add new tag to cause immediate configuration
Reported by: Christoph Lameter <chris@waterf.org>
Date: Wed, 29 Oct 1997 23:33:02 UTC
Severity: wishlist
Found in version 1.4.0.19
Done: Guillem Jover <guillem@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
:
Bug#14238
; Package dpkg
.
(full text, mbox, link).
Acknowledgement sent to Christoph Lameter <chris@waterf.org>
:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dpkg
Version: 1.4.0.19
Severity: critical
This is an earlier post of me re delayed configuration on debian-devel:
I am maintaining a couple of systems that I can just reach via telnet.
Upgrading the system means that functionality is stopped in the unpacking
phase of dpkg and not enabled until the configuration phase. That might
take quite a while if a large number of packages is upgraded and can lead
to severe problems with an internet server.
If packages could be equipped with some sort of flag that would tell dpkg
that this critical package needs to be configured immediately then this
problem would be solved. Two variations come to my mind:
1. A package needs to be immediately configured after installation.
2. A package needs to be immediately configured if upgraded.
Packages using this flag should not have any user interaction in the
postinst script so that the upgrade process does not stop by dpkg invoking
the postinst script.
Typical candidates for such functionality are:
netbase Shutting down netbase means disabling inetd,portmapper!
No telnet access no ftp access during the dpkg session. If
something goes wrong your system is dead. If you are
across the country somewhere then good luck.
netstd Will stop routed and NFS. Loosing routed will shut your
server down after a few minutes because it wont be able
to route packages to you anymore.
nis Shutting down NIS will probably prevent anyone
from connecting to your systems. Having NIS down
for any extended amount of time is suicide for the
system.
libreadline* For the hamm upgrade having an unconfigured readline
can make bash dysfunctional.
bash Is critical to the system. Anything that would prevent
from working for any time period must be avoided.
ldso must work at all times.
libraries It is unhealthy to have important libraries in a state
where important system software is not able to run because
it depends on those libraries.
Server daemons might use the flag to restart the daemons immediately after
an upgrade in order to minimize downtime. Upgrading an Internet Server
while it is running in full operation becomes a real possibility.
So far I have also upgraded my servers under full operation but I had to
do it piece by piece by running dpkg -i on single .debs.
The immediate configuration option might help the installation process to
be more robust and improve the overall reliability of the Debian
distribution.
-- System Information
Debian Release: 1.3
Kernel Version: Linux cyrix200 2.1.60 #20 Mon Oct 27 18:11:52 PST 1997 i486 unknown
Versions of the packages dpkg depends on:
libc6 Version: 2.0.5c-0.1
libg++272 Version: 2.7.2.8-0.1
ncurses3.4 Version: 1.9.9g-5
Severity set to `wishlist'.
Request was from Ian Jackson <ian@chiark.greenend.org.uk>
to control@bugs.debian.org
.
(full text, mbox, link).
Changed Bug title.
Request was from Thomas Hood <jdthood@aglu.demon.nl>
to control@bugs.debian.org
.
(full text, mbox, link).
Reply sent
to Guillem Jover <guillem@debian.org>
:
You have taken responsibility.
(Sat, 02 Mar 2019 21:45:03 GMT) (full text, mbox, link).
Notification sent
to Christoph Lameter <chris@waterf.org>
:
Bug acknowledged by developer.
(Sat, 02 Mar 2019 21:45:04 GMT) (full text, mbox, link).
Message #14 received at 14238-done@bugs.debian.org (full text, mbox, reply):
Hi!
On Wed, 1997-10-29 at 16:27:52 -0800, Christoph Lameter wrote:
> Package: dpkg
> Version: 1.4.0.19
> Severity: critical
> I am maintaining a couple of systems that I can just reach via telnet.
> Upgrading the system means that functionality is stopped in the unpacking
> phase of dpkg and not enabled until the configuration phase. That might
> take quite a while if a large number of packages is upgraded and can lead
> to severe problems with an internet server.
This is a local policy matter that can be fully controlled via
policy-rc.d.
> If packages could be equipped with some sort of flag that would tell dpkg
> that this critical package needs to be configured immediately then this
> problem would be solved. Two variations come to my mind:
>
> 1. A package needs to be immediately configured after installation.
> 2. A package needs to be immediately configured if upgraded.
>
> Packages using this flag should not have any user interaction in the
> postinst script so that the upgrade process does not stop by dpkg invoking
> the postinst script.
I'm not sure how that'd be accomplished, say, if there are conffiles
involved and the admin has done local modifications.
> Typical candidates for such functionality are:
>
> netbase Shutting down netbase means disabling inetd,portmapper!
> No telnet access no ftp access during the dpkg session. If
> something goes wrong your system is dead. If you are
> across the country somewhere then good luck.
policy-rc.d
> netstd Will stop routed and NFS. Loosing routed will shut your
> server down after a few minutes because it wont be able
> to route packages to you anymore.
Ditto.
> nis Shutting down NIS will probably prevent anyone
> from connecting to your systems. Having NIS down
> for any extended amount of time is suicide for the
> system.
Ditto.
> libreadline* For the hamm upgrade having an unconfigured readline
> can make bash dysfunctional.
Any shared library Pre-Depended by an Essential:yes package should be
considered to have to obey the same requirements as the Essential:yes
packages, so they do need to keep working even if not fully configured.
> bash Is critical to the system. Anything that would prevent
> from working for any time period must be avoided.
Ditto Essential:yes rationale.
> ldso must work at all times.
Ditto.
> libraries It is unhealthy to have important libraries in a state
> where important system software is not able to run because
> it depends on those libraries.
This depends on their users.
> Server daemons might use the flag to restart the daemons immediately after
> an upgrade in order to minimize downtime. Upgrading an Internet Server
> while it is running in full operation becomes a real possibility.
>
> So far I have also upgraded my servers under full operation but I had to
> do it piece by piece by running dpkg -i on single .debs.
>
> The immediate configuration option might help the installation process to
> be more robust and improve the overall reliability of the Debian
> distribution.
I think this request is already handled by other means and guarantees,
and I don't think we need what is proposed here. I'm thus closing it.
Thanks,
Guillem
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org
.
(Sun, 31 Mar 2019 07:26:23 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Apr 20 10:10:11 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.