[PATCH 1/2] pass mount info to dracut when default target is a separate disk

Baoquan He bhe at redhat.com
Thu Mar 13 14:42:27 UTC 2014


On 03/13/14 at 10:36am, Vivek Goyal wrote:
> On Wed, Mar 12, 2014 at 03:35:46PM -0600, Jerry Hoemann wrote:
> > On Wed, Mar 12, 2014 at 10:52:36PM +0800, Baoquan He wrote:
> > > On 03/12/14 at 10:46am, Vivek Goyal wrote:
> > > > On Wed, Mar 12, 2014 at 10:36:03PM +0800, Baoquan He wrote:
> > > > 
> > > > Ok, this is another bad assumption we have in code that kdump needs to
> > > > create the "path". I think we need to get rid of it. We should expect
> > > > directory as specified by "path" to be present and if it is not present,
> > > > we should error out saying "$path" does not exist. Can you please cleanup
> > > > the code and put this in a separate patch.
> > > 
> > > This is an idea, I am gonna try.
> > > 
> > > Baoquan
> > > Thanks
> > > 
> > 
> >   Question: Does anaconda create /var/crash during install?
> > 
> >   if yes, good.
> > 
> 
> On my default system I see /var/crash is present. That means anaconda
> created it during installation.

Arthur tested this, on fedora minimal, /var/crash is not created.

> 
> Now I can't think of a reason that why ananconda will not do the same
> thing when a different disk is mounted on /var. But this is something
> to keep in mind and test explicitly.
> 
> >   If not, do we need to keep the mkdir?  or modify anaconda to
> >   create /var/crash?
> 
> I still don't think that kdump should create /var/crash directory. If
> need be, fix anaconda.
> 
> Thanks
> Vivek


More information about the kexec mailing list