Mageia Bugzilla – Attachment 9457 Details for
Bug 21181
nfs services doesn't start properly at boot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
rpcbind.spec patch
rpcbind.spec.diff (text/plain), 1.39 KB, created by
Giuseppe Ghibò
on 2017-07-03 21:38:10 CEST
(
hide
)
Description:
rpcbind.spec patch
Filename:
MIME Type:
Creator:
Giuseppe Ghibò
Created:
2017-07-03 21:38:10 CEST
Size:
1.39 KB
patch
obsolete
>--- rpcbind-mga6.spec 2017-07-03 19:45:13.920898849 +0200 >+++ rpcbind.spec 2017-07-03 20:07:40.553373594 +0200 >@@ -1,8 +1,8 @@ > Name: rpcbind > Version: 0.2.3 >-Release: %mkrel 5 >+Release: %mkrel 5.4 > Summary: Universal Addresses to RPC Program Number Napper >-License: GPL >+License: BSD > Group: System/Servers > URL: http://rpcbind.sourceforge.net/ > Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2 >@@ -44,6 +44,7 @@ > --enable-libwrap \ > --with-statedir="%{_localstatedir}/lib/%{name}" \ > --with-rpcuser="rpc" \ >+ --with-systemdsystemunitdir=%{_unitdir} \ > --enable-debug > > %make all >@@ -76,6 +77,13 @@ > provided with this package is put in /sbin/rpcinfo > EOF > >+# solution explained here: https://lists.debian.org/debian-devel/2014/05/msg00618.html >+install -d %{buildroot}%{_tmpfilesdir} >+cat > %{buildroot}%{_tmpfilesdir}/rpcbind.conf << EOF >+d %{_localstatedir}/lib/%{name} 0700 rpc rpc - - >+f %{_localstatedir}/lib/%{name}/rpcbind.xdr 0600 rpc rpc - - >+f %{_localstatedir}/lib/%{name}/portmap.xdr 0600 rpc rpc - - >+EOF > > %pre > %_pre_useradd rpc %{_localstatedir}/lib/%{name} /sbin/nologin >@@ -101,6 +109,7 @@ > %config(noreplace) %{_sysconfdir}/sysconfig/rpcbind > /sbin/rpcbind > /sbin/rpcinfo >+%{_tmpfilesdir}/rpcbind.conf > %{_mandir}/man8/* > %dir %attr(0700,rpc,rpc) %{_localstatedir}/lib/%{name} >
--- rpcbind-mga6.spec 2017-07-03 19:45:13.920898849 +0200 +++ rpcbind.spec 2017-07-03 20:07:40.553373594 +0200 @@ -1,8 +1,8 @@ Name: rpcbind Version: 0.2.3 -Release: %mkrel 5 +Release: %mkrel 5.4 Summary: Universal Addresses to RPC Program Number Napper -License: GPL +License: BSD Group: System/Servers URL: http://rpcbind.sourceforge.net/ Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2 @@ -44,6 +44,7 @@ --enable-libwrap \ --with-statedir="%{_localstatedir}/lib/%{name}" \ --with-rpcuser="rpc" \ + --with-systemdsystemunitdir=%{_unitdir} \ --enable-debug %make all @@ -76,6 +77,13 @@ provided with this package is put in /sbin/rpcinfo EOF +# solution explained here: https://lists.debian.org/debian-devel/2014/05/msg00618.html +install -d %{buildroot}%{_tmpfilesdir} +cat > %{buildroot}%{_tmpfilesdir}/rpcbind.conf << EOF +d %{_localstatedir}/lib/%{name} 0700 rpc rpc - - +f %{_localstatedir}/lib/%{name}/rpcbind.xdr 0600 rpc rpc - - +f %{_localstatedir}/lib/%{name}/portmap.xdr 0600 rpc rpc - - +EOF %pre %_pre_useradd rpc %{_localstatedir}/lib/%{name} /sbin/nologin @@ -101,6 +109,7 @@ %config(noreplace) %{_sysconfdir}/sysconfig/rpcbind /sbin/rpcbind /sbin/rpcinfo +%{_tmpfilesdir}/rpcbind.conf %{_mandir}/man8/* %dir %attr(0700,rpc,rpc) %{_localstatedir}/lib/%{name}
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21181
: 9457 |
9458