summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Update WORKDIR references to UNPACKDIRRichard Purdie2024-05-021-2/+2
| | | | | | | | | | Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Specify state directory under /runJoshua Watt2023-12-201-1/+1
| | | | | | | | | | | The state directory must be correctly specified as under /run because RequiresMountsFor doesn't follow symbolic links which means the unit may run before /run is mounted if the default of /var/run/rpcbind is kept (From OE-Core rev: 561e853e97e2cfa325ed310233577a5e124d9049) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: install rpcbind.confYi Zhao2021-11-132-1/+2
| | | | | | | | | | Although we provide rpcbind.conf, it isn't shipped to the package. Also fix the sysconfdir in rpcbind.service. (From OE-Core rev: 61fb93ff9b6129f6bd11a4535080529cc2a643df) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'Robert P. J. Day2021-09-071-1/+1
| | | | | | | | | | | Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-4/+4
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: upgrade 1.2.5 -> 1.2.6zhengruoqin2021-05-162-31/+30
| | | | | | | | | refresh rpcbind_add_option_to_fix_port_number.patch (From OE-Core rev: 11bbe1c86d5d3e446fe5ea4028bc8b3f21b98587) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Use update-alternatives for rpcinfoKhem Raj2020-09-051-1/+4
| | | | | | | | | rpcinfo is also provided vy netkit in meta-networking (From OE-Core rev: 28183dfd7446de9113773ab89edd0afb4ab82f7e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: use upstream systemd serviceStefan Agner2019-11-275-32/+45
| | | | | | | | | | | | | | Use upstream systemd service files instead of our own service files. This also makes sure that /run/rpcbind.sock is used which fixes the following systemd warning: /usr/lib/systemd/system/rpcbind.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/rpcbind.sock \xe2\x86\x92 /run/rpcbind.sock; please update the unit file accordingly. (From OE-Core rev: ad08385393bb0d072f2f27f5a189041037e06195) Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Clarify BSD license variantChristophe PRIOUZEAU2019-10-151-1/+1
| | | | | | | | | The license of rpcbind is BSD-3-Clause. (From OE-Core rev: a91163844e4de16eabe5a1b3ad113a56f6e8d595) Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: 0.2.4 -> 1.2.5Hongxu Jia2018-11-144-358/+2
| | | | | | | | | | | | | | | | | - Drop backport fixes 0001-rpcbind-pair-all-svc_getargs-calls-with-svc_freeargs.patch pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch rpcbproc_callit_com-Stop-freeing-a-static-pointer.patch - Do not manually move binaries from bindir to sbindir, the upstream already moved rpcbind from bin_PROGRAMS to sbin_PROGRAMS in Makefile.am https://git.linux-nfs.org/?p=steved/rpcbind.git;a=commitdiff;h=9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0 (From OE-Core rev: 3df591cd914a4f060f0a178a59c93b464192d80d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: add option to make user able to use fixed port numberLi Wang2018-06-152-0/+131
| | | | | | | | | | | | Add option "-p" to specify fixed port number (From OE-Core rev: f6f3f7388cefb2833b4240c2c9ddbf8bd201bc61) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: refresh patchesRoss Burton2018-03-111-9/+6
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: df9b991d1f453aae4dca5558f10fd23e866778dc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Stop freeing a static pointerJackie Huang2018-01-142-0/+101
| | | | | | | | | | | | | | | | | commit 7ea36ee introduced a svc_freeargs() call that ended up freeing static pointer. It turns out the allocations for the rmt_args is not necessary . The xdr routines (xdr_bytes) will handle the memory management and the largest possible message size is UDPMSGSIZE (due to UDP only) which is smaller than RPC_BUF_MAX (From OE-Core rev: 1d78875de924d794130c86b27ed516a1df40a59d) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: fix assertion failureJackie Huang2018-01-142-0/+34
| | | | | | | | | | | Backport a patch to fix the assertion failure: rpcbind: ../../libtirpc-1.0.2/src/pmap_prot.c:50: xdr_pmap: Assertion `regs != NULL' failed. (From OE-Core rev: b09202848d713af4eef179a443745b413542eaf0) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Fix CVE-2017-8779Fan Xin2017-05-252-0/+222
| | | | | | | | | | | | | This vulnerability is also called "rpcbomb". Backport upstream patch to fix this vulnerability. CVE: CVE-2017-8779 (From OE-Core rev: 7936c9451eb4c376a78a0ac7461d1b2430c7f1f3) Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Remove uneeded patchesKhem Raj2017-05-113-60/+0
| | | | | | | | | | | We were carrying patches which are no longer needed when building rpcbind for musl (From OE-Core rev: 56b3b440fa139c8f132b2b71dc6b8eb0ee974e7a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-1/+1
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: 0.2.3 -> 0.2.4Hongxu Jia2017-02-154-353/+2
| | | | | | | | | | | | | | Drop obsolete patch - 0001-Avoid-use-of-glibc-sys-cdefs.h-header.patch Drop backport patches: - 0001-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch - cve-2015-7236.patch (From OE-Core rev: 6d65a58f5c062b503ab41b38fb2e74df71a9a8c6) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add "CVE:" tag to current patches in OE-coreMariano Lopez2016-01-111-0/+1
| | | | | | | | | | | | | | The currnet patches in OE-core doesn't have the "CVE:" tag, now part of the policy of the patches. This is patch add this tag to several patches. There might be patches that I miss; the tag can be added in the future. (From OE-Core rev: 065ebeb3e15311d0d45385e15bf557b1c95b1669) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Fix build with libtirpc 1.0.1Maxin B. John2015-12-282-0/+44
| | | | | | | | | | | libtirpc 1.0.1 uses the SVC_XP_AUTH macro to access xp_auth. Update rpcbind to follow the same way. (From OE-Core rev: 53176113f7c149279af5b30dd5b48d2fe5fdea07) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Security Advisory - rpcbind - CVE-2015-7236Li Zhou2015-12-012-0/+84
| | | | | | | | | | | | | | | | | | | | rpcbind: Fix memory corruption in PMAP_CALLIT code Use-after-free vulnerability in xprt_set_caller in rpcb_svc_com.c in rpcbind 0.2.1 and earlier allows remote attackers to cause a denial of service (daemon crash) via crafted packets, involving a PMAP_CALLIT code. The patch comes from <http://www.openwall.com/lists/oss-security/2015/09/18/7>, and it hasn't been in rpcbind upstream yet. (From OE-Core rev: cc4f62f3627f3804907e8ff9c68d9321979df32b) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: don't use '-w' for starting rpcbindLi Wang2015-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | While runing: $ systemctl restart rpcbind $ systemctl status rpcbind There are errors like below: rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \ errno 2 (No such file or directory) rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \ errno 2 (No such file or directory) '-w' causes rpcbind to do a "warm start" by read a state file when rpcbind starts up. The state file is created when rpcbind terminates. The state file is not always there, the patch refers to: https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833 (From OE-Core rev: 3d32a8a1fd90ca68b0d74d86165c8f3668faedcd) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add some missing Upstream-Status tags to patchesRoss Burton2015-11-251-0/+1
| | | | | | | | | | Where Signed-off-by statements have been added they were sourced from the original commit where the author claims creation. (From OE-Core rev: 3e6f57059d1a5343fe1432fba408ee3f33b4c2f7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Fix build with uclibcKhem Raj2015-10-272-32/+0
| | | | | | | | | | | | The 0001-uclibc-nss.patch has been applied upstream in a bit different way but solves the issue at hand Change-Id: I7312d109d01c08338d4673383e2eaccee219b7bd (From OE-Core rev: 8b84e778fb481075d245e1d5cc1b3b81024681d5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: 0.2.2 -> 0.2.3Robert Yang2015-04-303-122/+57
| | | | | | | | | | | * Updated 0001-Avoid-use-of-glibc-sys-cdefs.h-header.patch * Removed 0002-uclibc-rpcsvc-defines.patch since it is already in the source. (From OE-Core rev: 713ac3bfbc95e58ce3332409bae838053fdeced8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Fix build with muslKhem Raj2015-04-085-3/+284
| | | | | | | | | | | | most patches are just removing glibc'ism e.g. using sys/queue.h of cdefs.h the one patch which is specific to musl is housed with overrides Change-Id: Ia15bf6c9c4b562c9392a704ef92e9090aa5f6381 (From OE-Core rev: 5ed97aeeb603506d772d252f97b9b6e02d84ae9a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: don't try to enable rpcbind.socket twiceMartin Jansa2015-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * rpcbind.service requires rpcbind.socket and systemctl tries to add it twice * see log.do_rootfs: Started /OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/systemctl --root=/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs enable rpcbind.service rpcbind.socket Try to find location of rpcbind.service... Found rpcbind.service in /lib/systemd/system/rpcbind.service Also=rpcbind.socket found in rpcbind.service Started /OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/systemctl --root=/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs enable rpcbind.socket Try to find location of rpcbind.socket... Found rpcbind.socket in /lib/systemd/system/rpcbind.socket WantedBy=sockets.target found in rpcbind.socket Enabled rpcbind.socket for sockets.target. Try to find location of rpcbind.socket... Found rpcbind.socket in /lib/systemd/system/rpcbind.socket WantedBy=sockets.target found in rpcbind.socket ln: failed to create symbolic link '/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs/etc/systemd/system/sockets.target.wants/rpcbind.socket': File exists Enabled rpcbind.socket for sockets.target. (From OE-Core rev: 8fe9a735584c7ad458eb000c2008d85ad36ada57) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: add PACKAGECONFIG for systemdHongxu Jia2015-01-231-0/+6
| | | | | | | (From OE-Core rev: e3d3534f30afd52c4c8f5e8f9f098964b2f03c4b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: upgrade to 0.2.2Hongxu Jia2015-01-232-37/+2
| | | | | | | | | | Drop 0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch which has been merged to 0.2.2 (From OE-Core rev: 07a3ae994b293053c57f38b176e428322fb816bc) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: make service socket activatedChen Qi2014-10-103-8/+14
| | | | | | | | | | Instead of setting 'Restart=always' in the service file, we should make the service socket activated, just like what Fedora does. (From OE-Core rev: 176e91ef28800adb6295b29c455b2efb91a01876) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: avoid entering failed status after stopping daemonChen Qi2014-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exiting with '2' is actually expected with rpcbind, because it catches SIGTERM and exits with '2' explicitly. The related code is as follows. (void) signal(SIGTERM, terminate); /* * Catch the signal and die */ static void terminate(int dummy /*__unused*/) { close(rpcbindlockfd); unlink(_PATH_RPCBINDSOCK); unlink(RPCBINDDLOCK); syslog(LOG_ERR, "rpcbind terminating on signal. Restart with \"rpcbind -w\""); write_warmstart(); /* Dump yourself */ exit(2); } (From OE-Core rev: 1bfc6a45e7ba81d3537ea3ae8b176f5a9c206eaa) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Make user's home directory /Dan McGregor2014-09-031-1/+1
| | | | | | | (From OE-Core rev: fbd068e23e16746d89c0bb60c96edd705da27a35) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add missing pkgconfig class inheritsRichard Purdie2014-06-031-1/+1
| | | | | | | | | These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. (From OE-Core rev: 2543b14dd0ca13005be0df027543431fc8e882ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: add rpc user and run rpcbind daemon with rpc userJackie Huang2014-03-071-1/+7
| | | | | | | | | | | For security policy, change to run rpcbind daemon with rpc user just like Redhat does, so set the --with-rpcuser to rpc and add rpc user. (From OE-Core rev: 52f7a1b403eabc52ca104f752484ec1572f2d9dd) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "Add missing RDEPENDS of initscripts-functions"Chen Qi2014-02-021-2/+0
| | | | | | | | | | | | | | | Instead of manually adding initscripts to RDEPENDS of each package, we should make it automatically handled by the update-rc.d.bbclass. This solution would have the benefit of backward compatibility. In other words, users need not modify their recipes. This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea. (From OE-Core rev: f9f193219bd510160b6b09bae652a9dc8ea01e7b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: fixes crash during startCristian Iorga2014-01-282-0/+35
| | | | | | | | | | | | | | | | This fix integrates a patch released after rpcbind 0.2.1 distribution. 0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch fixes the issue of rpcuser not being set in Makefile.am, which causes rpcbind to immediately exit. Fixes [YOCTO #5733]. (From OE-Core rev: 68e87652ae4865a52705f8b87b4ae0f99cbc7428) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing RDEPENDS of initscripts-functionsChen Qi2014-01-061-0/+2
| | | | | | | | | | | Now that the initscripts-functions has been packaged separately, packages which may use the functions script should have a runtime dependency on it. (From OE-Core rev: 6690c12cb1977f6bf93f3eb6d471dbd7db81bf28) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: upgrade to 0.2.1Cristian Iorga2013-12-143-36/+2
| | | | | | | | | | | fix_host_path.patch and obsolete_automake_macros.patch are no longer necessary, removed. (From OE-Core rev: 0ff336d9076b769d2e1d2ff425e64558bbef620f) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: fix init status and exit codeWenzong Fan2013-12-141-3/+5
| | | | | | | | | | | Print status messages and exit with proper code. This also allows debian service script to get rpcbind status correctly. (From OE-Core rev: f07c2519c4ccfc847d7184d7eada6d7620950277) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Fix rpcbind restart failure when rpcbind is not runningZhangle Yang2013-11-291-1/+1
| | | | | | | | | | | "rpcbind restart" executes stop and then start function. However, if rpcbind is not started, "exit 0" shall be run in stop function, so start function will not be run at all. This patch changes "exit 0" to "return 0". (From OE-Core rev: ce17144b736b364175ab76e19e720292edfd2d81) Signed-off-by: Zhangle Yang <zhangle.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: fix problem in switching runlevelsChen Qi2013-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if we switch to runlevel 1 and then switch back to runlevel 5, the network interface will be brought down and the NFS service will not be restarted correctly. The problem is that the networking and rpcbind services are brought down in runlevel 1 but not brought up in runlevel 5. This patch fixes the above problem. It's based on the assumption that in sysvinit-based system, runlevel 1 does not have networking support. This patch adjusts some init script parameters used by update-rc.d. It makes sure that networking starts before rpcbind which in turn starts before mountnfs.sh. When switching to runlevel 0, 1 and 6, the umountnfs.sh is run first before stopping rpcbind service, and the network is brought down afterwards. [YOCTO #5513] (From OE-Core rev: f12e1291b51ba6692b6809570d6a9b73c70a7fe9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Add systemd supportMuhammad Shakeel2013-09-103-1/+32
| | | | | | | | | | - Remove dependency on meta-systemd (From OE-Core rev: 3ecb5e21b3b4f05f2d527264c3574fdc37984a77) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Replace spaces with tabs in shell functionMuhammad Shakeel2013-08-161-6/+6
| | | | | | | | | | As per OE-Core convention, indentation should be TAB for shell. (From OE-Core rev: a92376f2daf10baf45d99a3de9502b52cbce8b7e) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: obey 'tcp-wrappers' PACKAGECONFIGChristopher Larson2013-05-311-0/+3
| | | | | | | (From OE-Core rev: 944d97d32a3e2369ae6071d75683d1fc5a98faa5) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: replace obsolete automake macros with working onesMarko Lindqvist2013-02-062-1/+16
| | | | | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. (From OE-Core rev: 0f8583e6fe729f8cacc8fec8c66a5c7f7c944947) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Dont use nss with uclibcKhem Raj2013-02-013-0/+96
| | | | | | | | | | | | Add defines which otherwise are missing in uclibc nss (From OE-Core rev: 649c72a9aba96a609f699970933f4fa60e3cb5bc) (From OE-Core rev: a8514d619830c976ae66cb582b8050908a85a7b5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: add and use startup script, move binariesChristopher Larson2012-06-082-2/+101
| | | | | | | | | | | - Add init script from debian, tweaked for us - Move binaries from bindir to sbindir, as debian does (From OE-Core rev: 8576575ce9a1be8f7bec4e7c018d9be5c3b247df) 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>
* rpcbind: add DEPENDS on quota for rpcsvc/rquota.hSaul Wold2012-02-211-2/+3
| | | | | | | (From OE-Core rev: 4771f4af5926d724958ba7cf46b937c53babfc7c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: add Upstream-Status for multiple recipesDongxiao Xu2011-05-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hostap: add upstream status for hostap-fw-load.patch lrzsz: add upstream status for lrzsz's patches bluez: add upstream status for bluez's patches bluez-dtl1-workaround: add upstream status for COPYING.patch libgsmd: add upstream status for gsm's patches. gypsy: add upstream status for gypsy's patch libpcap: add upstream status for libpcap's patches ppp: add upstream status for ppp's patches libtelepathy: add upstream status for libtelepathy's patches telepathy-python: add upstream status for telepahty-python's patches wireless-tools: add upstream status for wireless-tools's patches wpa-supplicant: add upstream status for wpa-supplicant zeroconf: add upstream status for zeroconf's patch glibc: add upstream status for glibc's patches dpkg: add upstream status for dpkg's patches makedevs: add upstream status for makedevs's patch opkg: add upstream status for opkg's patches opkg-utils: add upstream status for opkg-utils's patch minicom: add upstream status for minicom patches rpcbind: add upstream status for rpcbind's patch which: add upstream status for which's patch clutter-gst: add upstream status for clutter-gst's patches flac: add upstream status for flac's patches gst-ffmpeg: add upstream status for gst-ffmpeg's patch liba52: add upstream status for liba52's patch libid3tag: add upstream status for libid3tag libmusicbrainz: add upstream status for libmusicbrainz's patch pulseaudio: add upstream status for pulseaudio patches db: add upstream status for db's patch neon: add upstream status for neon's patch taglib: add upstream status for taglib's patches libetpan: add upstream status for libetpan's patch libopensync: add upstream status for libopensync's patches libopensync-plugin-evolution2: add upstream status for its patch libopensync-plugin-syncml: add upstream status for its patch libsyncml: add upstream status for libsyncml's patch empathy: add upstream status for empathy's patch wv: add upstream status for wv's patch xournal: add upstream status for xournal's patch (From OE-Core rev: 0f9f0518ac46c2f2beb0224e881ff136f1603d33) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>