Re: [PATCH] dracut-pre-pivot pulls in remote-fs.target

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

 



On 19.05.2014 16:26, WANG Chao wrote:
> On 04/04/14 at 02:37pm, WANG Chao wrote:
>> It turns out that commit f30b74e (dracut-initqueue service runs before
>> remote-fs-pre.target) is partial fix for remote fs mounts. Because no
>> one pulls in remote-fs.target, we can never start remote fs mounts.
>> Now pull in remote-fs.target in dracut-pre-pivot.
>>
>> Signed-off-by: WANG Chao <chaowang@xxxxxxxxxx>
> 
> Hi, Harald
> 
> Would you like to pick up this one?
> 
> People run into issue that nfs isn't mount in kdump kernel:
> https://bugzilla.redhat.com/show_bug.cgi?id=1091785
> 
> Thanks
> WANG Chao
> 
>> ---
>>  modules.d/98systemd/dracut-pre-pivot.service | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/modules.d/98systemd/dracut-pre-pivot.service b/modules.d/98systemd/dracut-pre-pivot.service
>> index 6db1f2c..d7c7b1d 100644
>> --- a/modules.d/98systemd/dracut-pre-pivot.service
>> +++ b/modules.d/98systemd/dracut-pre-pivot.service
>> @@ -13,6 +13,8 @@ Documentation=man:dracut-pre-pivot.service(8)
>>  After=initrd.target initrd-parse-etc.service sysroot.mount
>>  After=dracut-initqueue.service dracut-pre-mount.service dracut-mount.service
>>  Before=initrd-cleanup.service
>> +Wants=remote-fs.target
>> +After=remote-fs.target
>>  ConditionPathExists=/etc/initrd-release
>>  ConditionDirectoryNotEmpty=|/lib/dracut/hooks/pre-pivot
>>  ConditionDirectoryNotEmpty=|/lib/dracut/hooks/cleanup
>> -- 
>> 1.8.5.3
>>

Thanks!

http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=ce7f408dfd473b3c2f4fdb9ddc2b2131e08007d3
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux