Control: forwarded -1 https://github.com/mvo5/unattended-upgrades/issues/155
Control: retitle -1 Please support Offline System Updates
Control: tags -1 - patch + help

Hi Simon,

On Mon, Jul 17, 2017 at 12:05 AM Balint Reczey
<balint.rec...@canonical.com> wrote:
>
> Hi Simon,
>
> On Thu, 9 Mar 2017 10:47:02 +0000 Simon McVittie <s...@debian.org> wrote:
> > Control: retitle 741356 Do not rely on networking during InstallOnShutdown
> >
> > On Wed, 12 Mar 2014 at 19:39:25 +0000, Simon McVittie wrote:
> > > Any thoughts on this?
> >
> > For what it's worth, this and some other tweaks have been in production
> > use on SteamOS for quite a while. I attach less-outdated debdiffs in case
> > they are useful.
> >
> > I am not actively working on this module, and I have not reviewed the
> > forward-ports or the new changes; please let me know if there is any
> > possibility of getting this integrated, and I can try to get some time to
> > forward-port changes or respond to review, or have a colleague take over.
>
> Thanks for the bugreport and the patches!
> Part of your proposal has been implemented in apt 1.4.2 by separating
> the download and install phases. The u-u side reported in #863911
> <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863911> will be in
> next u-u upload.
>
> Since latest u-u NMU nattended-upgrades.service also contains
> After=network.target which ensures that network is up while u-u-s is
> running instead of not relying on network being available.
>
> You are very welcome to forward-port SteamOS updates here especially in
> a form of
> smaller commits, but please wait for the next update first because it
> merges many changes from Debian BTS and Ubuntu.

Since last time we discussed this bug some other problems surfaced
regarding how u-u handles the upgrades on shutdown, and I think 1.7
solved the solvable issues [1].
I also considered adding a mode that upgrades packages on shutdown
without networking enabled, but I did not find a solution that would
not break something else.
OTOH I'm open to adding a mode which would use systemd's
offline-updates and optionally always reboot again after the upgrade
steps answering the issue you raised in [2].

At the moment I'm satisfied with the modes u-u provides and I'd like
to work on other parts to make upgrades smoother thus I don't plan
working on this mode but as I said I'd be happy to merge patches and
have it implemented.

Cheers,
Balint

[1] 
https://tracker.debian.org/news/1001416/accepted-unattended-upgrades-17-source-into-unstable/
[2] https://lists.debian.org/debian-devel/2014/09/msg00501.html

--
Balint Reczey
Ubuntu & Debian Developer

Reply via email to