Accepting request 440172 from home:kukuk:branches:Base:System

- nfs/rpcbind: rpcbind uses now /run/rpcbind for temporary data.
  Create the needed directory.
  * add 0314-run-rpcbind.patch

OBS-URL: https://build.opensuse.org/request/show/440172
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=274
This commit is contained in:
Daniel Molkentin 2016-11-14 10:27:49 +00:00 committed by Git OBS Bridge
parent 054974c593
commit 0d9a6cd92e
3 changed files with 32 additions and 0 deletions

23
0314-run-rpcbind.patch Normal file
View File

@ -0,0 +1,23 @@
--- modules.d/95nfs/module-setup.sh
+++ modules.d/95nfs/module-setup.sh 2016/11/13 20:56:50
@@ -70,7 +70,7 @@
local _i
local _nsslibs
inst_multiple -o portmap rpcbind rpc.statd mount.nfs \
- mount.nfs4 umount rpc.idmapd sed /etc/netconfig
+ mount.nfs4 umount rpc.idmapd sed chown /etc/netconfig
inst_multiple /etc/services /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf
if [[ $hostonly_cmdline == "yes" ]]; then
--- modules.d/95nfs/nfs-start-rpc.sh
+++ modules.d/95nfs/nfs-start-rpc.sh 2016/11/13 20:57:31
@@ -6,6 +6,9 @@
[ ! -d /var/lib/nfs/rpc_pipefs/nfs ] && \
mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs
+ mkdir -p -m 0755 /run/rpcbind
+ /bin/chown rpc /run/rpcbind
+
# Start rpcbind or rpcbind
# FIXME occasionally saw 'rpcbind: fork failed: No such device' -- why?
command -v portmap >/dev/null && [ -z "$(pidof portmap)" ] && portmap

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Nov 13 23:51:31 CET 2016 - kukuk@suse.de
- nfs/rpcbind: rpcbind uses now /run/rpcbind for temporary data.
Create the needed directory.
* add 0314-run-rpcbind.patch
-------------------------------------------------------------------
Tue Nov 8 15:19:37 UTC 2016 - daniel@molkentin.de

View File

@ -163,6 +163,7 @@ Patch310: 0310-95resume-Do-not-resume-on-iSCSI.patch
Patch311: 0311-95iscsi-ip-ibft-is-deprecated.patch
Patch312: 0312-40network-Do-not-print-message-about-tmp-net.ibft0.c.patch
Patch313: 0313-90mdraid-Use-stock-MD-rules-to-assemble-RAID-arrays.patch
Patch314: 0314-run-rpcbind.patch
# New features/improvements
Patch402: 0402-driver-fail-summary.patch
@ -368,6 +369,7 @@ chmod a+x modules.d/91zipl/install_zipl_cmdline.sh
%patch311 -p1
%patch312 -p1
%patch313 -p1
%patch314 -p0
%patch402 -p1
%patch403 -p1