commit rpcbind for openSUSE:Factory
Hello community, here is the log from the commit of package rpcbind for openSUSE:Factory checked in at 2016-11-16 13:31:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rpcbind (Old) and /work/SRC/openSUSE:Factory/.rpcbind.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rpcbind" Changes: -------- --- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes 2016-06-13 21:50:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2016-11-16 13:31:19.000000000 +0100 @@ -1,0 +2,6 @@ +Sat Nov 12 21:19:10 CET 2016 - kukuk@suse.de + +- Move /var/lib/rpcbind to /run/rpcbind, data should not survive + reboot and this makes read-only root filesystem easier. + +------------------------------------------------------------------- New: ---- rpcbind.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpcbind.spec ++++++ --- /var/tmp/diff_new_pack.cgy6n5/_old 2016-11-16 13:31:21.000000000 +0100 +++ /var/tmp/diff_new_pack.cgy6n5/_new 2016-11-16 13:31:21.000000000 +0100 @@ -27,6 +27,7 @@ Source2: sysconfig.rpcbind Source3: rpcbind.xml Source4: pmap_set.c +Source5: rpcbind.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtirpc-devel >= 1.0.1 BuildRequires: libtool @@ -50,7 +51,6 @@ Patch30: 0030-systemd-fix-rmtcall.patch Patch31: 0031-rpcbind-manpage.patch -%define statefile /var/lib/portmap.state %{?systemd_requires} Provides: portmap @@ -87,7 +87,7 @@ --enable-libwrap \ --enable-warmstarts \ --disable-debug \ - --with-statedir=%{_localstatedir}/lib/rpcbind \ + --with-statedir=%{_rundir}/rpcbind \ --with-rpcuser=rpc \ --with-systemdsystemunitdir=%{_unitdir} @@ -96,12 +96,13 @@ %install make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%_localstatedir/lib/rpcbind # fillup template mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/ mkdir -p $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d/ +mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d +install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/ # install -m 755 pmap_set $RPM_BUILD_ROOT/sbin/pmap_set2 # create symlink for rcrpcbind @@ -123,6 +124,7 @@ %post %{fillup_only -n rpcbind} +/usr/bin/systemd-tmpfiles --create rpcbind.conf ||: %service_add_post %{name}.service %{name}.socket %postun @@ -136,8 +138,8 @@ /sbin/rpcinfo %{_sbindir}/rcrpcbind %{_mandir}/*/* -%attr(-,rpc,root) %{_localstatedir}/lib/rpcbind /var/adm/fillup-templates/sysconfig.rpcbind +/usr/lib/tmpfiles.d/rpcbind.conf %{_datadir}/omc/svcinfo.d/rpcbind.xml %{_unitdir}/%{name}.service %{_unitdir}/%{name}.socket ++++++ rpcbind.conf ++++++ d /run/rpcbind 0755 rpc root
participants (1)
-
root@hilbert.suse.de