* [PATCH] nfs-utils: don't try to unload nfsd module
@ 2012-04-30 19:58 Andreas Oberritter
2012-05-03 20:25 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Oberritter @ 2012-04-30 19:58 UTC (permalink / raw)
To: openembedded-core
* When nfsserver get's stopped, "modprobe -r nfsd" may
hang indefinitely. As there's no need to unload the
module, just remove the call to modprobe.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
.../nfs-utils/nfs-utils/nfsserver | 8 --------
.../nfs-utils/nfs-utils_1.2.3.bb | 2 +-
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
index 69c8718..e460e26 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
@@ -105,14 +105,6 @@ stop_nfsd(){
}
then
echo done
- # This will remove, recursively, dependencies
- echo -n 'removing nfsd kernel module: '
- if modprobe -r nfsd
- then
- echo done
- else
- echo failed
- fi
else
echo failed
fi
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
index d047940..eb18aaa 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
@@ -12,7 +12,7 @@ DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
RDEPENDS_${PN} = "portmap"
RRECOMMENDS_${PN} = "kernel-module-nfsd"
-PR = "r3"
+PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \
file://nfs-utils-1.0.6-uclibc.patch \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nfs-utils: don't try to unload nfsd module
2012-04-30 19:58 [PATCH] nfs-utils: don't try to unload nfsd module Andreas Oberritter
@ 2012-05-03 20:25 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-05-03 20:25 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 04/30/2012 12:58 PM, Andreas Oberritter wrote:
> * When nfsserver get's stopped, "modprobe -r nfsd" may
> hang indefinitely. As there's no need to unload the
> module, just remove the call to modprobe.
>
> Signed-off-by: Andreas Oberritter<obi@opendreambox.org>
> ---
> .../nfs-utils/nfs-utils/nfsserver | 8 --------
> .../nfs-utils/nfs-utils_1.2.3.bb | 2 +-
> 2 files changed, 1 insertion(+), 9 deletions(-)
>
> diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
> index 69c8718..e460e26 100644
> --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
> +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
> @@ -105,14 +105,6 @@ stop_nfsd(){
> }
> then
> echo done
> - # This will remove, recursively, dependencies
> - echo -n 'removing nfsd kernel module: '
> - if modprobe -r nfsd
> - then
> - echo done
> - else
> - echo failed
> - fi
> else
> echo failed
> fi
> diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
> index d047940..eb18aaa 100644
> --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
> +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
> @@ -12,7 +12,7 @@ DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
> RDEPENDS_${PN} = "portmap"
> RRECOMMENDS_${PN} = "kernel-module-nfsd"
>
> -PR = "r3"
> +PR = "r4"
>
> SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \
> file://nfs-utils-1.0.6-uclibc.patch \
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-03 20:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 19:58 [PATCH] nfs-utils: don't try to unload nfsd module Andreas Oberritter
2012-05-03 20:25 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox