[Server-devel] recover from broken yum transaction
seth vidal
skvidal at fedoraproject.org
Thu Sep 11 16:25:58 EDT 2008
On Thu, 2008-09-11 at 16:24 -0400, John Watlington wrote:
> On Sep 11, 2008, at 11:01 AM, Seth Vidal wrote:
>
> > On Thu, 2008-09-11 at 17:42 +1200, Martin Langhoff wrote:
> >> On Thu, Sep 11, 2008 at 3:50 PM, Seth Vidal
> >> <skvidal at fedoraproject.org> wrote:
> >>> When this happens you should run:
> >>> yum-complete-transaction
> >>
> >> Interesting toy! I think you mentioned it at Fudcon Boston and I
> >> hadn't been able to recall the right name.
> >>
> >> Thinking of using it in the use case of the school server (very
> >> unreliable power, no sysadmins available, 100% unattended updates) -
> >>
> >> - Is it safe to run at boot time via an init script?
> >
> > as long as the network is up, it should be.
>
> I assume you mean "as long as the server has an Internet connection
> to the yum repositories" ? Or did you mean "as long as the networking
> subsystem is up" ?
>
> This may be a show stopper for us, as plenty of servers won't have a
> reliable
> network connection to the Internet.
>
Then you have the yum-complete-transaction be called if and only if the
internet connection is working.
-sv
More information about the Server-devel
mailing list