Re: [PATCH] move from our own init to systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > * Booting off the DVD, loader does not detect that we're on a DVD
> >   because /mnt/source is never unmounted.  This shows off a larger
> >   problem - because you have no idea where anaconda is going to get
> >   interrupted, you can't possibly hope to clean up everything with some
> >   code somewhere.  So, you'll likely just have to live with this
> >   problem.
> 
> I'm not deeply familiar with the DVD-specific problem you're alluding to
> here, but - could we do anaconda teardown stuff as a systemd service
> that gets run at shutdown? If we're moving init to systemd we probably
> need to move de-init stuff there too..

Oh, it's a pretty simple problem.  If anaconda restarts in the middle of
a DVD install, /mnt/source is never unmounted.  Then when loader runs
the second time, mounting /mnt/source fails because it's busy so we
don't bother to look for what's in that directory.  You can imagine
other similar problems happening with other installation methods.

But yes, we can probably work in some code to get called when systemd
shuts down the service.  As dlehman suggested, anaconda-cleanup could be
helpful.  I'll take a look.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux