[Pkg-sysvinit-devel] A wish for help with Bug#765803 On automatic init system switching on upgrade

Jonas Smedegaard jonas at jones.dk
Fri Nov 21 14:59:01 UTC 2014


Quoting Svante Signell (2014-11-21 15:13:14)
> On Fri, 2014-11-21 at 12:59 +0000, Thorsten Glaser wrote:
>> Svante Signell dixit:
>> 
>> >Issue a warning: You are about to switch init system, do you want 
>> >that?
>> >yes) continue
>> >no) Install sysvinit-core (and if needed systemd-shim): Is that
>> 
>> This is all not technically possible, and rather silly.

> So you are saying that adding a debconf prompt to the new init package 
> is not possible. Where to have such a test then, apt/aptitude, before 
> starting a dist-upgrade??

What is not possible is the action of installing packages as consequence 
of a debconf question.

Debconf is a mechanism to resolve _configuration_ of packages, which 
happens in postinst, i.e. _after_ packages have been installed (what 
might confuse matters is that the questions involved in that 
configuration may be asked before installation - but that does not 
change that the actual configuration happens _after_ installation).

Hope that helps.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20141121/73d193ca/attachment.sig>


More information about the Pkg-sysvinit-devel mailing list