replace portmap with rpcbind
cover replace portmap with rpcbind
From: "Roy.Li" <[email protected]>
*** 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(-)
Signature · 1 line
1.7.10.4
PATCH 1/1 replace portmap with rpcbind.
From: "Roy.Li" <[email protected]>
Rpcbind has more features, like ipv6 support and nfs4 support; Redhat, Fedora, debian, Ubuntu are using rpcbind by default.
--- 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(-)
meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb +1 -1
@@ -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"
meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh +8 -8
@@ -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
meta/recipes-core/packagegroups/packagegroup-base.bb +1 -1
@@ -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 "
Signature · 1 line
1.7.10.4
Re: [PATCH 1/1] replace portmap with rpcbind.
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
Quoted 97 lines · On Mon, Dec 24, 2012 at 9:02 AM, <[email protected]> wrote:
From: "Roy.Li" <[email protected]>
Rpcbind has more features, like ipv6 support and nfs4 support; Redhat, Fedora, debian, Ubuntu are using rpcbind by default.
Signed-off-by Roy.Li <[email protected]>--- 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(-)meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb +1
-1@@ -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"meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh +8
-8@@ -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 fimeta/recipes-core/packagegroups/packagegroup-base.bb +1
-2@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 1/1] replace portmap with rpcbind.
Quoted 8 lines · lei yang
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
Quoted 104 lines · On Mon, Dec 24, 2012 at 9:02 AM, <[email protected]> wrote:
Quoted 97 lines
From: "Roy.Li" <[email protected]>
Rpcbind has more features, like ipv6 support and nfs4 support; Redhat, Fedora, debian, Ubuntu are using rpcbind by default.
Signed-off-by Roy.Li <[email protected]>--- 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(-)meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb +1
-1@@ -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"meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh +8
-8@@ -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 fimeta/recipes-core/packagegroups/packagegroup-base.bb +1
-2@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 2 lines
Best Reagrds, Roy | RongQing Li
Ping
this is a cleanup of below commit, please consider to merge it.
commit f63add40c6bdfb3a19e59ac28f7d2ae5597f5bfd
Author: Christopher Larson <[email protected]> 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.
Thanks
-roy
Quoted 20 lines · On 12/24/2012 09:02 AM, [email protected] wrote:
From: "Roy.Li" <[email protected]>
*** BLURB HERE ***
The following changes since commit26bf8f6a047ccc0f73eaa40093afddabfce8ea1b: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-contribroy/rpcbind
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=roy/rpcbindRoy.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(-)
Signature · 2 lines
Best Reagrds, Roy | RongQing Li