[yocto] [meta-baryon][PATCH 1/1] nfs-utils: workaround for nfsd regression in the 3.4 kernel
kevin.strasser at linux.intel.com
kevin.strasser at linux.intel.com
Mon Oct 1 10:25:47 PDT 2012
> Hi Kevin,
>
> On Friday 28 September 2012 12:44:06 Kevin Strasser wrote:
>> The version of nfsd used in 3.4 kernels tries to upcall the
>> new reboot-recovery daemon and gets stuck if it is not found.
>> This causes client mounts to fail and prints the following
>> error message during boot:
>>
>> "NFSD: starting 90-second grace period
>> NFSD: Unable to end grace period: -110"
>>
>> If the directory "/var/lib/nfs/v4recovery" exists, nfsd will
>> revert back to the old method.
>>
>> Signed-off-by: Kevin Strasser <kevin.strasser at linux.intel.com>
>> ---
>> .../nfs-utils/nfs-utils_1.2.3.bbappend | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>> create mode 100644
>> recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
>>
>> diff --git a/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
>> b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend new file mode
>> 100644
>> index 0000000..2c91a93
>> --- /dev/null
>> +++ b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
>> @@ -0,0 +1,8 @@
>> +PR = "r5"
>
> This needs to be:
>
> PRINC = "1"
>
> or, to ensure other layers can also increment the value:
>
> PRINC := "${@int(PRINC) + 1}"
OK, that makes sense. I've made the changes and pushed them again to:
git://git.yoctoproject.org/poky-contrib strassek/baryon-nfsd-regression
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=strassek/baryon-nfsd-regression
While we are on the subject, do you think this is something that should be
added to poky?
-Kevin
More information about the yocto
mailing list