* [PATCH 0/1] replace portmap with rpcbind
@ 2012-12-24 1:02 rongqing.li
2012-12-24 1:02 ` [PATCH 1/1] " rongqing.li
2012-12-28 2:37 ` [PATCH 0/1] " Rongqing Li
0 siblings, 2 replies; 5+ messages in thread
From: rongqing.li @ 2012-12-24 1:02 UTC (permalink / raw)
To: openembedded-core
From: "Roy.Li" <rongqing.li@windriver.com>
*** BLURB HERE ***
The following changes since commit 26bf8f6a047ccc0f73eaa40093afddabfce8ea1b:
gst-openmax: fix build with newer GLib (2012-12-17 17:53:33 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib roy/rpcbind
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=roy/rpcbind
Roy.Li (1):
replace portmap with rpcbind.
meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 2 +-
.../initscripts/initscripts-1.0/mountnfs.sh | 16 ++++++++--------
meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
--
1.7.10.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] replace portmap with rpcbind.
2012-12-24 1:02 [PATCH 0/1] replace portmap with rpcbind rongqing.li
@ 2012-12-24 1:02 ` rongqing.li
2013-01-15 5:32 ` lei yang
2012-12-28 2:37 ` [PATCH 0/1] " Rongqing Li
1 sibling, 1 reply; 5+ messages in thread
From: rongqing.li @ 2012-12-24 1:02 UTC (permalink / raw)
To: openembedded-core
From: "Roy.Li" <rongqing.li@windriver.com>
Rpcbind has more features, like ipv6 support and nfs4 support;
Redhat, Fedora, debian, Ubuntu are using rpcbind by default.
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 2 +-
.../initscripts/initscripts-1.0/mountnfs.sh | 16 ++++++++--------
meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
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 5a4a7e7..84b8e76 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
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
# util-linux for libblkid
DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
-RDEPENDS_${PN} = "portmap"
+RDEPENDS_${PN} = "rpcbind"
RRECOMMENDS_${PN} = "kernel-module-nfsd"
PR = "r5"
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
index 82ec7f6..4fffe4e 100755
--- a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
@@ -1,7 +1,7 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: mountnfs
-# Required-Start: $local_fs $network $portmap
+# Required-Start: $local_fs $network $rpcbind
# Required-Stop:
# Default-Start: S
# Default-Stop:
@@ -17,9 +17,9 @@ test -f /etc/fstab && (
#
# Read through fstab line by line. If it is NFS, set the flag
# for mounting NFS filesystems. If any NFS partition is found and it
-# not mounted with the nolock option, we start the portmapper.
+# not mounted with the nolock option, we start the rpcbind.
#
-portmap=no
+rpcbind=no
mount_nfs=no
mount_smb=no
mount_ncp=no
@@ -45,7 +45,7 @@ do
*nolock*)
;;
*)
- portmap=yes
+ rpcbind=yes
;;
esac
fi
@@ -65,12 +65,12 @@ done
exec 0>&1
-if test "$portmap" = yes
+if test "$rpcbind" = yes
then
- if test -x /sbin/portmap
+ if test -x /usr/sbin/rpcbind
then
- echo -n "Starting portmapper... "
- start-stop-daemon --start --quiet --exec /sbin/portmap
+ echo -n "Starting rpcbind... "
+ start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind
sleep 2
fi
fi
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index 347a7e1..b3cdbad 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -328,7 +328,7 @@ RRECOMMENDS_packagegroup-base-cramfs = "\
#
SUMMARY_packagegroup-base-nfs = "NFS network filesystem support"
RDEPENDS_packagegroup-base-nfs = "\
- portmap"
+ rpcbind"
RRECOMMENDS_packagegroup-base-nfs = "\
kernel-module-nfs "
--
1.7.10.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/1] replace portmap with rpcbind
2012-12-24 1:02 [PATCH 0/1] replace portmap with rpcbind rongqing.li
2012-12-24 1:02 ` [PATCH 1/1] " rongqing.li
@ 2012-12-28 2:37 ` Rongqing Li
1 sibling, 0 replies; 5+ messages in thread
From: Rongqing Li @ 2012-12-28 2:37 UTC (permalink / raw)
To: openembedded-core
Ping
this is a cleanup of below commit, please consider to merge it.
commit f63add40c6bdfb3a19e59ac28f7d2ae5597f5bfd
Author: Christopher Larson <kergoth@gmail.com>
Date: Thu Jun 7 16:36:51 2012 -0700
task-core-basic: drop portmap
Both rpcbind and portmap are RPC port mappers. Having both is
redundant. Chose
rpcbind over portmap as rpcbind supports ipv6, nfs4, and builds
without the
glibc rpc headers, which have been obsoleted in glibc 2.14.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Thanks
-roy
On 12/24/2012 09:02 AM, rongqing.li@windriver.com wrote:
> From: "Roy.Li" <rongqing.li@windriver.com>
>
> *** BLURB HERE ***
> The following changes since commit 26bf8f6a047ccc0f73eaa40093afddabfce8ea1b:
>
> gst-openmax: fix build with newer GLib (2012-12-17 17:53:33 +0000)
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib roy/rpcbind
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=roy/rpcbind
>
> Roy.Li (1):
> replace portmap with rpcbind.
>
> meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 2 +-
> .../initscripts/initscripts-1.0/mountnfs.sh | 16 ++++++++--------
> meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
> 3 files changed, 10 insertions(+), 10 deletions(-)
>
--
Best Reagrds,
Roy | RongQing Li
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] replace portmap with rpcbind.
2012-12-24 1:02 ` [PATCH 1/1] " rongqing.li
@ 2013-01-15 5:32 ` lei yang
2013-01-15 12:03 ` Rongqing Li
0 siblings, 1 reply; 5+ messages in thread
From: lei yang @ 2013-01-15 5:32 UTC (permalink / raw)
To: rongqing.li; +Cc: openembedded-core
Hi Rongqing,
I just find rpcbind introduce some packages conflicts, both rpcbind
and eglibc-utils provides rpcinfo. not sure who is responsible to fix
this.
Lei
On Mon, Dec 24, 2012 at 9:02 AM, <rongqing.li@windriver.com> wrote:
> From: "Roy.Li" <rongqing.li@windriver.com>
>
> Rpcbind has more features, like ipv6 support and nfs4 support;
> Redhat, Fedora, debian, Ubuntu are using rpcbind by default.
>
> Signed-off-by: Roy.Li <rongqing.li@windriver.com>
> ---
> meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 2 +-
> .../initscripts/initscripts-1.0/mountnfs.sh | 16 ++++++++--------
> meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
> 3 files changed, 10 insertions(+), 10 deletions(-)
>
> 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 5a4a7e7..84b8e76 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
> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
>
> # util-linux for libblkid
> DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
> -RDEPENDS_${PN} = "portmap"
> +RDEPENDS_${PN} = "rpcbind"
> RRECOMMENDS_${PN} = "kernel-module-nfsd"
>
> PR = "r5"
> diff --git a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
> index 82ec7f6..4fffe4e 100755
> --- a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
> +++ b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
> @@ -1,7 +1,7 @@
> #!/bin/sh
> ### BEGIN INIT INFO
> # Provides: mountnfs
> -# Required-Start: $local_fs $network $portmap
> +# Required-Start: $local_fs $network $rpcbind
> # Required-Stop:
> # Default-Start: S
> # Default-Stop:
> @@ -17,9 +17,9 @@ test -f /etc/fstab && (
> #
> # Read through fstab line by line. If it is NFS, set the flag
> # for mounting NFS filesystems. If any NFS partition is found and it
> -# not mounted with the nolock option, we start the portmapper.
> +# not mounted with the nolock option, we start the rpcbind.
> #
> -portmap=no
> +rpcbind=no
> mount_nfs=no
> mount_smb=no
> mount_ncp=no
> @@ -45,7 +45,7 @@ do
> *nolock*)
> ;;
> *)
> - portmap=yes
> + rpcbind=yes
> ;;
> esac
> fi
> @@ -65,12 +65,12 @@ done
>
> exec 0>&1
>
> -if test "$portmap" = yes
> +if test "$rpcbind" = yes
> then
> - if test -x /sbin/portmap
> + if test -x /usr/sbin/rpcbind
> then
> - echo -n "Starting portmapper... "
> - start-stop-daemon --start --quiet --exec /sbin/portmap
> + echo -n "Starting rpcbind... "
> + start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind
> sleep 2
> fi
> fi
> diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
> index 347a7e1..b3cdbad 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-base.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
> @@ -328,7 +328,7 @@ RRECOMMENDS_packagegroup-base-cramfs = "\
> #
> SUMMARY_packagegroup-base-nfs = "NFS network filesystem support"
> RDEPENDS_packagegroup-base-nfs = "\
> - portmap"
> + rpcbind"
>
> RRECOMMENDS_packagegroup-base-nfs = "\
> kernel-module-nfs "
> --
> 1.7.10.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] replace portmap with rpcbind.
2013-01-15 5:32 ` lei yang
@ 2013-01-15 12:03 ` Rongqing Li
0 siblings, 0 replies; 5+ messages in thread
From: Rongqing Li @ 2013-01-15 12:03 UTC (permalink / raw)
To: lei yang; +Cc: openembedded-core
On 01/15/2013 01:32 PM, lei yang wrote:
> Hi Rongqing,
>
> I just find rpcbind introduce some packages conflicts, both rpcbind
> and eglibc-utils provides rpcinfo. not sure who is responsible to fix
> this.
>
> Lei
>
eglibc-2.16 does not provide rpcinfo, so mainstream has no bug.
-rongqing
>
>
>
>
> On Mon, Dec 24, 2012 at 9:02 AM, <rongqing.li@windriver.com> wrote:
>> From: "Roy.Li" <rongqing.li@windriver.com>
>>
>> Rpcbind has more features, like ipv6 support and nfs4 support;
>> Redhat, Fedora, debian, Ubuntu are using rpcbind by default.
>>
>> Signed-off-by: Roy.Li <rongqing.li@windriver.com>
>> ---
>> meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 2 +-
>> .../initscripts/initscripts-1.0/mountnfs.sh | 16 ++++++++--------
>> meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
>> 3 files changed, 10 insertions(+), 10 deletions(-)
>>
>> 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 5a4a7e7..84b8e76 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
>> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
>>
>> # util-linux for libblkid
>> DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
>> -RDEPENDS_${PN} = "portmap"
>> +RDEPENDS_${PN} = "rpcbind"
>> RRECOMMENDS_${PN} = "kernel-module-nfsd"
>>
>> PR = "r5"
>> diff --git a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
>> index 82ec7f6..4fffe4e 100755
>> --- a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
>> +++ b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
>> @@ -1,7 +1,7 @@
>> #!/bin/sh
>> ### BEGIN INIT INFO
>> # Provides: mountnfs
>> -# Required-Start: $local_fs $network $portmap
>> +# Required-Start: $local_fs $network $rpcbind
>> # Required-Stop:
>> # Default-Start: S
>> # Default-Stop:
>> @@ -17,9 +17,9 @@ test -f /etc/fstab && (
>> #
>> # Read through fstab line by line. If it is NFS, set the flag
>> # for mounting NFS filesystems. If any NFS partition is found and it
>> -# not mounted with the nolock option, we start the portmapper.
>> +# not mounted with the nolock option, we start the rpcbind.
>> #
>> -portmap=no
>> +rpcbind=no
>> mount_nfs=no
>> mount_smb=no
>> mount_ncp=no
>> @@ -45,7 +45,7 @@ do
>> *nolock*)
>> ;;
>> *)
>> - portmap=yes
>> + rpcbind=yes
>> ;;
>> esac
>> fi
>> @@ -65,12 +65,12 @@ done
>>
>> exec 0>&1
>>
>> -if test "$portmap" = yes
>> +if test "$rpcbind" = yes
>> then
>> - if test -x /sbin/portmap
>> + if test -x /usr/sbin/rpcbind
>> then
>> - echo -n "Starting portmapper... "
>> - start-stop-daemon --start --quiet --exec /sbin/portmap
>> + echo -n "Starting rpcbind... "
>> + start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind
>> sleep 2
>> fi
>> fi
>> diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
>> index 347a7e1..b3cdbad 100644
>> --- a/meta/recipes-core/packagegroups/packagegroup-base.bb
>> +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
>> @@ -328,7 +328,7 @@ RRECOMMENDS_packagegroup-base-cramfs = "\
>> #
>> SUMMARY_packagegroup-base-nfs = "NFS network filesystem support"
>> RDEPENDS_packagegroup-base-nfs = "\
>> - portmap"
>> + rpcbind"
>>
>> RRECOMMENDS_packagegroup-base-nfs = "\
>> kernel-module-nfs "
>> --
>> 1.7.10.4
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
--
Best Reagrds,
Roy | RongQing Li
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-15 12:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-24 1:02 [PATCH 0/1] replace portmap with rpcbind rongqing.li
2012-12-24 1:02 ` [PATCH 1/1] " rongqing.li
2013-01-15 5:32 ` lei yang
2013-01-15 12:03 ` Rongqing Li
2012-12-28 2:37 ` [PATCH 0/1] " Rongqing Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox