fedup for F23 and beyond

Neal Gompa ngompa13 at gmail.com
Mon Jun 8 12:37:57 UTC 2015


On Sun, Jun 7, 2015 at 3:30 PM, Will Woods <wwoods at redhat.com> wrote:
> On Sun, 2015-06-07 at 07:41 -0400, Neal Gompa wrote:
>> Uhh, this might be a stupid question, but what actually prevents us
>> from integrating the FedUp process into install media (that is, not
>> live images)? I mean, yeah, it's nice that we can do upgrades online,
>> but what about when the system we need to upgrade doesn't necessarily
>> have online access? I'd like to be able to trigger the upgrade
>> environment from install media (like with a Fedora Server ISO).
>
> Nothing, really - it's *better* if you have access to the updates repos
> during the upgrade, but it's technically feasible to do the upgrade
> from local media/repos.
>
> To make that work, you'd need:
>
> a) a way to easily enable the media as a repo, and then
> b) run DNF in offline mode (so it's OK with the unreachable network
> repos), and then
> c) ensure that the media will be mounted in the same place after reboot
> (e.g. by adding it to /etc/fstab) so the upgrade can proceed.
>
> (this workflow might even work with the current dnf-plugin-fedup, but I
> haven't tried it...)
>
> So, yeah, the last one is the trickiest part. It's very hard to be
> certain about whether a given filesystem path will be there when you
> reboot. So we either need to just leave that up to the user, or write
> mount units for *everything* on the system and hope that systemd
> figures it out after we reboot.
>
> (It's on my TODO list, since the fedup supported this with --device,
> but.. I just don't have spare time right now.)
>
> -w
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

>From my view, if you're booting from an ISO already, wouldn't you be
able to consider that in a state in which you could just do the
upgrade? Couldn't Anaconda just drive DNF through the upgrade process?
When you're booting from the ISO, you've already mounted the local
filesystem and package repositories, so you could use it from there. I
would figure that DNF is already configured for offline mode during
anaconda installs as it is (unless, of course, you tell it to grab
updates from the Internet). Unless I'm missing something really big, I
don't see why you need to reboot when you're already offline and using
the Fedora install media boot environment to do an upgrade.

-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the devel mailing list