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

Vivek Goyal vgoyal at redhat.com
Thu Mar 13 20:28:33 UTC 2014


On Thu, Mar 13, 2014 at 11:38:23AM -0400, Marc Milgram wrote:
> On 03/13/2014 10:47 AM, Vivek Goyal wrote:
> >On Thu, Mar 13, 2014 at 10:42:27PM +0800, Baoquan He wrote:
> >>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.
> >So who created /var/crash on my F20 install. I am sure I did not.
> >
> >
> $ rpm -qf /var/crash
> kexec-tools-2.0.4-18.fc20.x86_64
> 
> I assume that it gets created by installing kexec-tools.

Ok, so if kexec-tools generates it during installation time, then
/var/crash should be present after kexec-tools installation.

Only problem can happen if user installed kexec-tools first and later
mounted something on /var. I think we can just error out in that case.

Thanks
Vivek


More information about the kexec mailing list