[Freedombox-discuss] How do we handle package upgrades on the Freedombox?
Jonas Smedegaard
dr at jones.dk
Thu Apr 17 08:29:20 UTC 2014
Quoting Petter Reinholdtsen (2014-04-17 08:20:22)
> [James Valleroy]
>> I think we can use dpkg-reconfigure without the interactive frontend:
>>
>> echo "jwchat jwchat/ApacheServerName string $hostname" | debconf-set-selections
>> DEBIAN_FRONTEND=noninteractive dpkg-reconfigure jwchat
>>
>> Do you see any issues with this approach?
>
> [Jonas Smedegaard]
> > Well, if it works then maybe it will keep working.
> >
> > I just worry that manpage seems to describe a different intent.
>
> If that work, jwchat is broken, as the setting on disk is supposed to
> override the debconf value and preseeding like that is only supposed
> to work for the first time installation. In other word, if this work
> then jwchat is broken and should be changed to make sure it do not
> work. I even believe such behaviour is RC as it is against Debian
> policy (10.7.3 Behavior) to behave like this.
>
> For configuration changes like the one above, the debconf frontend
> need to ignore debconf SET calls done by jwchat and provide its own
> answer (the new hostname) no matter what the package read from disk. I
> am not aware of anything implementing such feature at the moment, and
> not quite sure it will work.
Seems to me that you are basically arguing that debconf in its current
form only legally works on initial install and interactively by admins -
not as automated reconfiguration by other packages.
Is that correctly understood?
- 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: 966 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20140417/1eca9a53/attachment.sig>
More information about the Freedombox-discuss
mailing list