nfs-utils-vl.spec 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239
  1. %bcond_with systemd
  2. %define _unpackaged_files_terminate_build 1
  3. %define enablegss 1
  4. # group all 32bit related archs
  5. %define all_32bit_archs i386 i686 athlon
  6. %{!?_udevrulesdir:%global _udevrulesdir /usr/lib/udev/rules.d}
  7. Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
  8. Summary(ja): カーネル NFS サーバ用 NFS ユーティリティと関連プログラム
  9. Name: nfs-utils
  10. Version: 2.8.3
  11. Release: 1%{?_dist_release}%{?with_systemd:.systemd}
  12. Group: system
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. License: MIT and GPLv2 and GPLv2+ and BSD
  16. URL: https://sourceforge.net/projects/nfs/
  17. Source0: https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/%{version}/%{name}-%{version}.tar.xz
  18. Source1: id_resolver.conf
  19. Source2: lockd.conf
  20. Source3: 24-nfs-server.conf
  21. Source4: 10-nfsv4.conf
  22. Source10: nfs.init
  23. Source11: nfslock.init
  24. Source12: rpcidmapd.init
  25. Source13: rpcgssd.init
  26. #Source14: rpcsvcgssd.init
  27. Source15: nfsdcld.init
  28. Source23: nfs.sysconfig
  29. Patch001: nfs-utils.2.8.4-rc2.patch
  30. Patch100: nfs-utils-1.2.1-statdpath-man.patch
  31. Patch102: nfs-utils-1.2.5-idmap-errmsg.patch
  32. Patch103: nfs-utils-2.3.1-systemd-gssproxy-restart.patch
  33. Patch104: nfs-utils-2.3.3-man-tcpwrappers.patch
  34. Patch105: nfs-utils-2.3.3-nfsconf-usegssproxy.patch
  35. Patch106: nfs-utils-2.4.2-systemd-svcgssd.patch
  36. Provides: exportfs = %{version}-%{release}
  37. Provides: nfsstat = %{version}-%{release}
  38. Provides: showmount = %{version}-%{release}
  39. Provides: rpcdebug = %{version}-%{release}
  40. Provides: rpc.idmapd = %{version}-%{release}
  41. Provides: rpc.mountd = %{version}-%{release}
  42. Provides: rpc.nfsd = %{version}-%{release}
  43. Provides: rpc.statd = %{version}-%{release}
  44. %if %{enablegss}
  45. Provides: rpc.gssd = %{version}-%{release}
  46. %endif
  47. Provides: mount.nfs = %{version}-%{release}
  48. Provides: mount.nfs4 = %{version}-%{release}
  49. Provides: umount.nfs = %{version}-%{release}
  50. Provides: umount.nfs4 = %{version}-%{release}
  51. Provides: sm-notify = %{version}-%{release}
  52. Provides: start-statd = %{version}-%{release}
  53. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  54. Requires: rpcbind, sed, gawk, sh-utils, fileutils, textutils, grep
  55. Requires: kmod, keyutils, quota
  56. BuildRequires: libevent-devel libcap-devel
  57. BuildRequires: libnfsidmap-devel libtirpc-devel libblkid-devel
  58. BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2
  59. BuildRequires: automake, libtool, glibc-headers, device-mapper-devel
  60. BuildRequires: krb5-devel, libmount-devel
  61. BuildRequires: sqlite3-devel
  62. BuildRequires: libxml2-devel
  63. BuildRequires: libuuid-devel
  64. BuildRequires: libnl3-devel
  65. BuildRequires: readline-devel
  66. BuildRequires: rpcgen
  67. #if %{enablegss}
  68. #BuildRequires: libgssglue-devel
  69. #BuildRequires: librpcsecgss >= 0.17
  70. #endif
  71. Requires(pre): shadow-utils >= 4.0.3-25
  72. %if %{with systemd}
  73. BuildRequires: systemd
  74. Requires(pre): util-linux
  75. Requires(pre): coreutils
  76. Requires(preun): coreutils
  77. %{?systemd_requires}
  78. %else
  79. Requires(pre): /sbin/chkconfig /sbin/nologin
  80. Requires(preun): /sbin/chkconfig
  81. %endif
  82. Requires: libnfsidmap libevent
  83. Requires: libtirpc >= 0.2.3 libblkid libcap libmount
  84. #if %{enablegss}
  85. #Requires: libgssglue
  86. #Requires: librpcsecgss >= 0.17
  87. #endif
  88. %description
  89. The nfs-utils package provides a daemon for the kernel NFS server and
  90. related tools, which provides a much higher level of performance than the
  91. traditional Linux NFS server used by most users.
  92. This package also contains the showmount program. Showmount queries the
  93. mount daemon on a remote host for information about the NFS (Network File
  94. System) server on the remote host. For example, showmount can display the
  95. clients which are mounted on that host.
  96. This package also contains the mount.nfs and umount.nfs program.
  97. %description -l ja
  98. nfs-utils パッケージには kernel NFS サーバと関連ツールが収録されています。
  99. これにより、多くのユーザに使われてきた旧来の Linux NFS サーバより高い
  100. パフォーマンスを提供することができます。
  101. このパッケージには showmount プログラムも収録されています。
  102. showmount は遠隔ホストの mount デーモンに問い合わせを行い、
  103. NFS サーバに関する情報を得ることができます。
  104. 例えば、showmount を使うことで、その遠隔ホストをマウントしている
  105. クライアントの一覧を得ることができます。
  106. 本パッケージにはまた mount.nfs と umount.nfs プログラムも収録されています。
  107. %package -n libnfsidmap
  108. Summary: NFSv4 User and Group ID Mapping Library
  109. Provides: libnfsidmap%{?_isa} = %{version}-%{release}
  110. Group: system
  111. License: BSD
  112. BuildRequires: pkgconfig, openldap-devel
  113. BuildRequires: automake, libtool
  114. Requires(postun): /sbin/ldconfig
  115. Requires(pre): /sbin/ldconfig
  116. Requires: openldap
  117. %description -n libnfsidmap
  118. Library that handles mapping between names and ids for NFSv4.
  119. %package -n libnfsidmap-devel
  120. Summary: Development files for the libnfsidmap library
  121. Group: programming
  122. Requires: libnfsidmap%{?_isa} = %{version}-%{release}
  123. Requires: pkgconfig
  124. %description -n libnfsidmap-devel
  125. This package includes header files and libraries necessary for
  126. developing programs which use the libnfsidmap library.
  127. %debug_package
  128. %prep
  129. %setup -q
  130. %if %{with systemd}
  131. %autopatch -p1
  132. %else
  133. %patch001 -p1
  134. %endif
  135. # Remove .orig files
  136. find . -name "*.orig" | xargs rm -f
  137. %build
  138. sh -x autogen.sh
  139. CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS -fpie -D_FILE_OFFSET_BITS=64`"
  140. %configure \
  141. CFLAGS="$CFLAGS" \
  142. CPPFLAGS="$DEFINES" \
  143. LDFLAGS="-pie" \
  144. --enable-mountconfig \
  145. --enable-ipv6 \
  146. --with-statdpath=/var/lib/nfs/statd \
  147. --enable-libmount-mount \
  148. --with-pluginpath=%{_libdir}/libnfsidmap \
  149. --without-tcp-wrappers \
  150. %if %{with systemd}
  151. --with-systemd=%{_unitdir} \
  152. %endif
  153. --enable-junction
  154. make %{?_smp_mflags} all
  155. %install
  156. rm -rf %{buildroot}
  157. mkdir -p %{buildroot}{/sbin,/usr/sbin}
  158. mkdir -p %{buildroot}%{_mandir}/{man5,man8}
  159. mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
  160. mkdir -p %{buildroot}%{_sysconfdir}/request-key.d
  161. mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d
  162. mkdir -p %{buildroot}%{_sysconfdir}/gssproxy
  163. %if %{with systemd}
  164. mkdir -p %{buildroot}%{_unitdir}
  165. mkdir -p %{buildroot}/usr/lib/systemd/system-generators
  166. %else
  167. mkdir -p %{buildroot}%{_initdir}
  168. %endif
  169. make DESTDIR=%{buildroot} install
  170. install -s -m 755 tools/rpcdebug/rpcdebug %{buildroot}%{_sbindir}
  171. install -m 644 utils/mount/nfsmount.conf %{buildroot}%{_sysconfdir}
  172. install -m 644 nfs.conf %{buildroot}%{_sysconfdir}
  173. install -m 644 support/nfsidmap/idmapd.conf %{buildroot}%{_sysconfdir}
  174. install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/request-key.d
  175. %if %{without systemd}
  176. install -m 755 %{SOURCE10} %{buildroot}%{_initdir}/nfs
  177. install -m 755 %{SOURCE11} %{buildroot}%{_initdir}/nfslock
  178. install -m 755 %{SOURCE12} %{buildroot}%{_initdir}/rpcidmapd
  179. install -m 755 %{SOURCE15} %{buildroot}%{_initdir}/nfsdcld
  180. install -m 644 %{SOURCE23} %{buildroot}%{_sysconfdir}/sysconfig/nfs
  181. %if %{enablegss}
  182. install -m 755 %{SOURCE13} %{buildroot}%{_initdir}/rpcgssd
  183. %endif
  184. %endif
  185. mkdir -p %{buildroot}/run/sysconfig
  186. install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/modprobe.d/lockd.conf
  187. install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/gssproxy/
  188. rm -f %{buildroot}%{_libdir}/*.{a,la}
  189. rm -f %{buildroot}%{_libdir}/libnfsidmap/*.{a,la}
  190. mkdir -p %{buildroot}/var/lib/nfs/rpc_pipefs
  191. touch %{buildroot}/var/lib/nfs/rmtab
  192. mv %{buildroot}/usr/sbin/rpc.statd %{buildroot}/sbin
  193. mkdir -p %{buildroot}/var/lib/nfs/statd/sm
  194. mkdir -p %{buildroot}/var/lib/nfs/statd/sm.bak
  195. mkdir -p %{buildroot}/var/lib/nfs/v4recovery
  196. mkdir -p %{buildroot}%{_sysconfdir}/exports.d
  197. mkdir -p %{buildroot}%{_sysconfdir}/nfsmount.conf.d
  198. install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/nfsmount.conf.d
  199. # temporarily remove nfs.5 man page until util-linux gets upgraded...
  200. #rm -f %{buildroot}/%{_mandir}/man5/nfs.5*
  201. %pre
  202. # move files so the running service will have this applied as well
  203. for x in gssd svcgssd idmapd ; do
  204. if [ -f /var/lock/subsys/rpc.$x ]; then
  205. mv /var/lock/subsys/rpc.$x /var/lock/subsys/rpc$x
  206. fi
  207. done
  208. /usr/sbin/useradd -r -c "RPC Service User" \
  209. -s /sbin/nologin -u 29 -d /var/lib/nfs rpcuser 2>/dev/null || :
  210. cat /etc/group | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null
  211. if [ "$?" -eq 1 ]; then
  212. /usr/sbin/groupadd -g 29 rpcuser 2>/dev/null || :
  213. else
  214. /usr/sbin/groupmod -g 29 rpcuser 2>/dev/null || :
  215. fi
  216. # Using the 16-bit value of -2 for the nfsnobody uid and gid
  217. %define nfsnobody_uid 65534
  218. # Create nfsnobody gid as long as it does not already exist
  219. cat /etc/group | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null
  220. if [ "$?" -eq 1 ]; then
  221. /usr/sbin/groupadd -g %{nfsnobody_uid} nfsnobody 2>/dev/null || :
  222. else
  223. /usr/sbin/groupmod -g %{nfsnobody_uid} nfsnobody 2>/dev/null || :
  224. fi
  225. # Create nfsnobody uid as long as it does not already exist.
  226. cat /etc/passwd | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null
  227. if [ "$?" -eq 1 ]; then
  228. /usr/sbin/useradd -l -c "Anonymous NFS User" -r -g %{nfsnobody_uid} \
  229. -s /sbin/nologin -u %{nfsnobody_uid} -d /var/lib/nfs nfsnobody 2>/dev/null || :
  230. else
  231. /usr/sbin/usermod -u %{nfsnobody_uid} -g %{nfsnobody_uid} nfsnobody 2>/dev/null || :
  232. fi
  233. %post
  234. %if %{with systemd}
  235. %systemd_post nfs-client.target nfs-server.service
  236. %else
  237. /sbin/chkconfig --add nfs
  238. /sbin/chkconfig --add nfslock
  239. /sbin/chkconfig --add rpcidmapd
  240. %if %{enablegss}
  241. /sbin/chkconfig --add rpcgssd
  242. %endif
  243. /sbin/chkconfig --add nfsdcld
  244. # Make sure statd used the correct uid/gid.
  245. if [ -f /var/lock/subsys/rpc.statd ]; then
  246. /etc/rc.d/init.d/nfslock stop > /dev/null
  247. chown -R rpcuser:rpcuser /var/lib/nfs/statd
  248. /etc/rc.d/init.d/nfslock start > /dev/null
  249. else
  250. chown -R rpcuser:rpcuser /var/lib/nfs/statd
  251. fi
  252. %endif
  253. %preun
  254. %if %{with systemd}
  255. %systemd_preun nfs-client.target nfs-server.service
  256. if [ $1 -eq 0 ]; then
  257. ( : >%{_localstatedir}/lib/rpm-state/nfs-server.cleanup ) || :
  258. fi
  259. %else
  260. if [ "$1" = "0" -o -x /bin/systemctl ]; then
  261. /etc/rc.d/init.d/nfs condstop > /dev/null
  262. %if %{enablegss}
  263. /etc/rc.d/init.d/rpcgssd condstop > /dev/null
  264. %endif
  265. /etc/rc.d/init.d/rpcidmapd condstop > /dev/null
  266. /etc/rc.d/init.d/nfslock condstop > /dev/null
  267. /etc/rc.d/init.d/nfsdcld condstop > /dev/null
  268. /sbin/chkconfig --del rpcidmapd
  269. %if %{enablegss}
  270. /sbin/chkconfig --del rpcgssd
  271. %endif
  272. /sbin/chkconfig --del nfs
  273. /sbin/chkconfig --del nfslock
  274. /sbin/chkconfig --del nfsdcld
  275. /usr/sbin/userdel rpcuser 2>/dev/null || :
  276. /usr/sbin/groupdel rpcuser 2>/dev/null || :
  277. /usr/sbin/userdel nfsnobody 2>/dev/null || :
  278. /usr/sbin/groupdel nfsnobody 2>/dev/null || :
  279. rm -rf /var/lib/nfs/statd
  280. rm -rf /var/lib/nfs/v4recovery
  281. fi
  282. %endif
  283. %postun
  284. %if %{with systemd}
  285. %systemd_postun_with_restart nfs-client.target nfs-server.service
  286. if [ -f %{_localstatedir}/lib/rpm-state/nfs-server.cleanup ]; then
  287. rm %{_localstatedir}/lib/rpm-state/nfs-server.cleanup || :
  288. rm -rf /var/lib/nfs/statd || :
  289. rm -rf /var/lib/nfs/v4recovery || :
  290. fi
  291. %else
  292. if [ "$1" -ge 1 -a ! -x /usr/bin/systemctl ]; then
  293. if [ -f /etc/rc.d/init.d/rpcidmapd ]; then
  294. /etc/rc.d/init.d/rpcidmapd condrestart > /dev/null
  295. fi
  296. %if %{enablegss}
  297. if [ -f /etc/rc.d/init.d/rpcgssd ]; then
  298. /etc/rc.d/init.d/rpcgssd condrestart > /dev/null
  299. fi
  300. %endif
  301. if [ -f /etc/rc.d/init.d/nfs ]; then
  302. /etc/rc.d/init.d/nfs condrestart > /dev/null
  303. fi
  304. if [ -f /etc/rc.d/init.d/nfslock ]; then
  305. /etc/rc.d/init.d/nfslock condrestart > /dev/null
  306. fi
  307. if [ -f /etc/rc.d/init.d/nfsdcld ]; then
  308. /etc/rc.d/init.d/nfsdcld condrestart > /dev/null
  309. fi
  310. fi
  311. %endif
  312. %triggerun -- nfs-utils < 2.5.1-2
  313. /bin/systemctl disable nfs-convert > /dev/null 2>&1 || :
  314. %triggerpostun -- nfs-server
  315. %if !%{with systemd}
  316. /sbin/chkconfig --add nfs
  317. %endif
  318. %triggerpostun -- knfsd
  319. %if !%{with systemd}
  320. /sbin/chkconfig --add nfs
  321. %endif
  322. %triggerpostun -- knfsd-clients
  323. %if !%{with systemd}
  324. /sbin/chkconfig --add nfslock
  325. %endif
  326. %files
  327. %doc linux-nfs/ChangeLog linux-nfs/KNOWNBUGS linux-nfs/NEW linux-nfs/README
  328. %doc linux-nfs/THANKS linux-nfs/TODO
  329. %if %{with systemd}
  330. /usr/lib/systemd/system-generators/*
  331. %{_unitdir}/*
  332. %attr(0600,root,root) %config(noreplace) %{_udevrulesdir}/60-nfs.rules
  333. %else
  334. %config %{_initdir}/nfs
  335. %config %{_initdir}/nfsdcld
  336. %config %{_initdir}/rpcidmapd
  337. %config %{_initdir}/nfslock
  338. %if %{enablegss}
  339. %config %{_initdir}/rpcgssd
  340. %endif
  341. %config(noreplace) %{_sysconfdir}/sysconfig/nfs
  342. %endif
  343. %config(noreplace) %{_sysconfdir}/nfsmount.conf
  344. %config(noreplace) %{_sysconfdir}/request-key.d/id_resolver.conf
  345. %config(noreplace) %{_sysconfdir}/modprobe.d/lockd.conf
  346. %config(noreplace) %{_sysconfdir}/nfs.conf
  347. %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/nfsmount.conf.d/10-nfsv4.conf
  348. %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/gssproxy/24-nfs-server.conf
  349. %dir %{_sysconfdir}/exports.d
  350. %dir /var/lib/nfs/v4recovery
  351. %dir /var/lib/nfs/rpc_pipefs
  352. %dir /var/lib/nfs
  353. %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd
  354. %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd/sm
  355. %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd/sm.bak
  356. %config(noreplace) /var/lib/nfs/etab
  357. %config(noreplace) /var/lib/nfs/rmtab
  358. %config(noreplace) %attr(644,rpcuser,rpcuser) /var/lib/nfs/statd/state
  359. /sbin/rpc.statd
  360. %{_sbindir}/exportfs
  361. %{_sbindir}/nfsstat
  362. %{_sbindir}/rpcdebug
  363. %{_sbindir}/rpc.mountd
  364. %{_sbindir}/rpc.nfsd
  365. %{_sbindir}/showmount
  366. %{_sbindir}/rpc.idmapd
  367. %if %{enablegss}
  368. %{_sbindir}/rpc.gssd
  369. %endif
  370. %{_sbindir}/sm-notify
  371. %{_sbindir}/start-statd
  372. %{_sbindir}/mountstats
  373. %{_sbindir}/nfsiostat
  374. %{_sbindir}/nfsidmap
  375. %{_sbindir}/blkmapd
  376. %{_sbindir}/nfsconf
  377. %{_sbindir}/nfsref
  378. %{_sbindir}/nfsdcld
  379. %{_sbindir}/nfsdclddb
  380. %{_sbindir}/nfsdclnts
  381. %{_sbindir}/rpcctl
  382. %{_sbindir}/nfsdctl
  383. %{_sbindir}/fsidd
  384. %{_libexecdir}/nfsrahead
  385. %{_udevrulesdir}/99-nfs.rules
  386. %{_mandir}/*/*
  387. %attr(4755,root,root) /sbin/mount.nfs
  388. /sbin/mount.nfs4
  389. /sbin/umount.nfs
  390. /sbin/umount.nfs4
  391. %files -n libnfsidmap
  392. %license support/nfsidmap/COPYING
  393. %doc support/nfsidmap/AUTHORS support/nfsidmap/README
  394. %config(noreplace) %{_sysconfdir}/idmapd.conf
  395. %{_libdir}/libnfsidmap.so.*
  396. %{_libdir}/libnfsidmap/*.so
  397. %{_mandir}/man3/nfs4_uid_to_name.*
  398. %{_mandir}/man5/idmapd.conf.*
  399. %files -n libnfsidmap-devel
  400. %{_libdir}/pkgconfig/libnfsidmap.pc
  401. %{_includedir}/nfsidmap.h
  402. %{_includedir}/nfsidmap_plugin.h
  403. %{_libdir}/libnfsidmap.so
  404. %changelog
  405. * Sun Jun 8 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.3-1
  406. - new upstream release.
  407. * Thu Aug 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.1-1
  408. - new upstream release.
  409. * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.3-1
  410. - new upstream release.
  411. - updated patches.
  412. - added systemd support (disabled as default).
  413. * Fri Oct 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-1
  414. - new upstream release.
  415. - updated Patch100.
  416. - added an initscript for nfsdcld.
  417. * Thu Nov 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.4-3
  418. - rebuilt with libtirpc-1.1.4.
  419. - imported Patch001 from rawhide.
  420. * Mon Nov 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-2
  421. - fixed "Provides:".
  422. * Sun Nov 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-1
  423. - new upstream release.
  424. - built with libevent-2.1.8.
  425. - dropped Patch102 (fixed in upstream).
  426. - updated Patch103.
  427. * Mon Nov 23 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.3-1
  428. - new upstream release
  429. - remove Patch1,2
  430. - update Source10 (nfs.init)
  431. * Thu Feb 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-1
  432. - new upstream release
  433. - updated Source10-13
  434. - added Patch1 and 2 from Fedora
  435. - added BR: libmount-devel, sqlite3-devel
  436. - used BR: libnfsidmap-devel instead of libnfsidmap
  437. - used more macros
  438. - set %%enablegss to 1
  439. * Sun Oct 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-2
  440. - update to 1.2.7-rc5
  441. * Sat Oct 20 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-1
  442. - update to 1.2.6
  443. - Made nfsnobody's uid/gid to always be a 16-bit value of -2
  444. - change rpcuser's gid to fixed value 29
  445. * Sat Jan 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.5-1
  446. - update to 1.2.5
  447. - add patches (update to 1.2.6-rc6)
  448. - enable-ipv6 (add BR: libtirpc-devel)
  449. - add BR: device-mapper-devel
  450. * Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-5
  451. - add BuildRequires: libblkid-devel
  452. * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.5-4
  453. - rebuilt with libevent-2.0.10
  454. * Tue Aug 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.5-3
  455. - add INIT INFO headers to initscripts
  456. * Fri Jun 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.5-2
  457. - import more patches from FC11 1.1.5-5
  458. - Patch101: upstream rc2 patch
  459. - Patch102: upstream rc3 patch
  460. - gssd: initialize fakeseed in prepare_krb5_rfc1964_buffer
  461. - gssd: NULL-terminate buffer after read in read_service_info (try #2)
  462. - gssd: free buffer allocated by gssd_k5_err_msg
  463. - gssd: fix potential double-frees in gssd
  464. - Removed a number of warn_unused_result warnings
  465. - Patch103: Update nfsstat with --sleep and --list options
  466. - Patch104: Fixed umount from using non-privilege ports (bz 492598)
  467. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.5-1
  468. - new upstream release
  469. - fix %%post, remove '-l' from useradd option
  470. * Sun Jan 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.2-4
  471. - rebuilt with openldap-2.4.11
  472. - spec in UTF-8
  473. * Thu May 15 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-3
  474. - updated to 1.1.2, based on Fedora 1.1.2-2
  475. - disable RPC Sec-GSS feature for Vine (and we won't any longer? Let me know)
  476. - temporarily remove nfs.5 man page until util-linux gets upgraded
  477. - previous Vine changelogs as follows:
  478. - Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1
  479. - rebuilt with libevent-1.4.3-1
  480. - Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl4
  481. - rebuilt with libevent-1.3b-0vl1
  482. - Tue Aug 29 2006 MATSUBAYASHI <shaolin@vinelinux.org> 1.0.9-0vl3
  483. - rebuilt with libevent-1.1b-0vl1
  484. - Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.9-0vl2
  485. - rebuilt with openldap-2.3.27-0vl1
  486. - Wed Jul 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
  487. - new upstream release
  488. - drop obsolete patches
  489. - Wed Mar 30 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.8-0vl0.rc2.2
  490. - add libevent-devel and libnfsidmap to BuidRequires
  491. - Mon Mar 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl0.rc2.1
  492. - update to nfs-utils-1.0.8-rc2
  493. - merged some patches from FC
  494. - fix kanji code of spec file
  495. - Tue Apr 26 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.6-0vl1
  496. - updated to 1.0.6
  497. - merged several files from 1.0.6-22
  498. - Sun Feb 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-0vl1
  499. - new upstream release
  500. - remove quota related files, now we are using it from quota utils.
  501. - Sat Sep 01 2001 Toru Sagami <sagami@vinelinux.org>
  502. - 0.3.1-12vl2: revive rpc.rquotad for the time being
  503. - Fri Aug 24 2001 Toru Sagami <sagami@vinelinux.org>
  504. - 0.3.1-12vl1: ported to Vine
  505. * Mon Apr 14 2008 Steve Dickson <steved@redhat.com> 1.1.2-2
  506. - Make EACCES a non fatal error (bz 439807)
  507. * Tue Mar 25 2008 Steve Dickson <steved@redhat.com> 1.1.2-1
  508. - Upgrade to nfs-utils-1.1.2
  509. * Mon Mar 3 2008 Steve Dickson <steved@redhat.com> 1.1.1-5
  510. - Stopped mountd from incorrectly logging an error
  511. (commit 9dd9b68c4c44f0d9102eb85ee2fa36a8b7f638e3)
  512. - Stop gssd from ignoring the machine credential caches
  513. (commit 46d439b17f22216ce8f9257a982c6ade5d1c5931)
  514. - Fixed typo in the nfsstat command line arugments.
  515. (commit acf95d32a44fd8357c24e8a04ec53fc6900bfc58)
  516. - Added test to stop buffer overflow in idmapd
  517. (commit bcd0fcaf0966c546da5043be700587f73174ae25)
  518. * Sat Feb 9 2008 Steve Dickson <steved@redhat.com> 1.1.1-4
  519. - Cleaned up some typos that were found in the various
  520. places in the mountd code
  521. * Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 1.1.1-3
  522. - Added in relatime mount option so mount.nfs stays
  523. compatible with the mount command in util-linux-ng (bz 274301)
  524. * Tue Jan 22 2008 Steve Dickson <steved@redhat.com> 1.1.1-2
  525. - Added -S/--since to the nfsstat(1) manpage
  526. - The wording in the exportfs man page can be a bit confusing, implying
  527. that "exportfs -u :/foo" will unexport /foo from all hosts, which it won't
  528. - Removed nfsprog option since the kernel no longer supports it.
  529. - Removed mountprog option since the kernel no longer supports it.
  530. - Stop segfaults on amd64 during warnings messages.
  531. - Fix bug when both crossmnt and fsid are set.
  532. * Sat Jan 5 2008 Steve Dickson <steved@redhat.com> 1.1.1-1
  533. - Updated to latest upstream release, nfs-utils-1.1.1
  534. - Added the removal of sm-notify.pid to nfslock init script.
  535. - Changed spec file to use condrestart instead of condstop
  536. when calling init scripts.
  537. - Fixed typo in rpc.mountd man page
  538. - Turn on 'nohide' automatically for all refer exports (bz 313561)
  539. * Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-7
  540. - Rebuild for openldap bump
  541. * Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 1.1.0-6
  542. - Switch the libgssapi dependency to libgssglue
  543. * Fri Sep 14 2007 Steve Dickson <steved@redhat.com> 1.1.0-5
  544. - Changed the default paths in sm-notify to
  545. /var/lib/nfs/statd (bz 258461)
  546. - Updated exportfs manpage (bz 262861)
  547. * Wed Aug 15 2007 Steve Dickson <steved@redhat.com> 1.1.0-4
  548. - Make sure the open() system calling in exportfs uses
  549. mode bits when creating the etab file (bz 252440).
  550. * Mon Aug 13 2007 Steve Dickson <steved@redhat.com> 1.1.0-3
  551. - Added nosharecache mount option which re-enables
  552. rw/ro mounts to the same server (bz 243913).
  553. * Thu Aug 2 2007 Steve Dickson <steved@redhat.com> 1.1.0-2
  554. - Make sure the gss and idmap daemons remove thier lock
  555. files when they are stopped.
  556. * Sat Jul 28 2007 Steve Dickson <steved@redhat.com> 1.1.0-1
  557. - Upgraded to the latest upstream version (nfs-utils-1.1.0)
  558. * Thu May 24 2007 Steve Dickson <steved@redhat.com> 1.0.10-7
  559. - Fixed typo in mount.nfs4 that causes a segfault during
  560. error processing (bz 241190)
  561. * Tue May 22 2007 Steve Dickson <steved@redhat.com> 1.0.10-6
  562. - Make sure the condrestarts exit with a zero value (bz 240225)
  563. - Stopped /etc/sysconfig/nfs from being overwritten on updates (bz 234543)
  564. - Added -o nordirplus mount option to disable READDIRPLUS (bz 240357)
  565. - Disabled the FSCache patch, for now...
  566. * Thu May 10 2007 Steve Dickson <steved@redhat.com> 1.0.12-5
  567. - Fix mount.nfs4 to display correct error message (bz 227212)
  568. - Updated mountd and showmount reverse lookup flags (bz 220772)
  569. - Eliminate timeout on nfsd shutdowns (bz 222001)
  570. - Eliminate memory leak in mountd (bz 239536)
  571. - Make sure statd uses correct uid/gid by chowning
  572. the /var/lib/nfs/statd with the rpcuser id. (bz 235216)
  573. - Correct some sanity checking in rpc.nfsd. (bz 220887)
  574. - Added missing unlock_mtab() call in moutnd
  575. - Have mountd hold open etab file to force inode number to change (bz 236823)
  576. - Create a /etc/sysconfig/nfs with all the possible init script
  577. variables (bz 234543)
  578. - Changed nfs initscript to exit with correct value (bz 221874)
  579. * Tue Apr 3 2007 Steve Dickson <steved@redhat.com> 1.0.12-4
  580. - Replace portmap dependency with an rpcbind dependency (bz 228894)
  581. * Mon Mar 12 2007 Steve Dickson <steved@redhat.com> 1.0.12-3
  582. - Incorporated Merge Review comments (bz 226198)
  583. * Fri Mar 9 2007 Steve Dickson <steved@redhat.com> 1.0.12-2
  584. - Added condstop to all the initscripts (bz 196934)
  585. - Made no_subtree_check a default export option (bz 212218)
  586. * Tue Mar 6 2007 Steve Dickson <steved@redhat.com> 1.0.12-1
  587. - Upgraded to 1.0.12
  588. - Fixed typo in Summary.
  589. * Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 1.0.11-2
  590. - Fixed mount.nfs -f (fake) option (bz 227988)
  591. * Thu Feb 22 2007 Steve Dickson <steved@redhat.com> 1.0.11-1
  592. - Upgraded to 1.0.11
  593. * Wed Feb 21 2007 Steve Dickson <steved@redhat.com> 1.0.10-7
  594. - Added FS_Location support
  595. * Mon Dec 18 2006 Karel Zak <kzak@redhat.com> 1.0.10-6
  596. - add support for mount options that contain commas (bz 219645)
  597. * Wed Dec 13 2006 Steve Dickson <steved@redhat.com> 1.0.10-5
  598. - Stopped v4 umounts from ping rpc.mountd (bz 215553)
  599. * Tue Nov 28 2006 Steve Dickson <steved@redhat.com> 1.0.10-4
  600. - Doing a connect on UDP sockets causes the linux network
  601. stack to reject UDP patches from multi-home server with
  602. nic on the same subnet. (bz 212471)
  603. * Wed Nov 15 2006 Steve Dickson <steved@redhat.com> 1.0.10-3
  604. - Removed some old mounting versioning code that was
  605. stopping tcp mount from working (bz 212471)
  606. * Tue Oct 31 2006 Steve Dickson <steved@redhat.com> 1.0.10-2
  607. - Fixed -o remount (bz 210346)
  608. - fix memory leak in rpc.idmapd (bz 212547)
  609. - fix use after free bug in dirscancb (bz 212547)
  610. - Made no_subtree_check a default export option (bz 212218)
  611. * Wed Oct 25 2006 Steve Dickson <steved@redhat.com> 1.0.10-1
  612. - Upgraded to 1.0.10
  613. * Mon Oct 16 2006 Steve Dickson <steved@redhat.com> 1.0.9-10
  614. - Fixed typo in nfs man page (bz 210864).
  615. * Fri Oct 13 2006 Steve Dickson <steved@redhat.com> 1.0.9-9
  616. - Unable to mount NFS V3 share where sec=none is specified (bz 210644)
  617. * Tue Sep 26 2006 Steve Dickson <steved@redhat.com> 1.0.9-8
  618. - mount.nfs was not returning a non-zero exit value
  619. on failed mounts (bz 206705)
  620. * Wed Sep 20 2006 Karel Zak <kzak@redhat.com> 1.0.9-7
  621. - Added support for the mount -s (sloppy) option (#205038)
  622. - Added nfs.5 man page from util-linux
  623. - Added info about [u]mount.nfs to the package description
  624. * Mon Sep 11 2006 <SteveD@RedHat.com> 1.0.9-6
  625. - Removed the compiling of getiversion and getkversion since
  626. UTS_RELEASE is no longer defined and these binary are
  627. not installed.
  628. * Fri Aug 18 2006 <SteveD@RedHat.com> 1.0.9-5
  629. - Changed gssd daemons to cache things in memory
  630. instead of /tmp which makes selinux much happier.
  631. (bz 203078)
  632. * Wed Aug 16 2006 <SteveD@RedHat.com> 1.0.9-4
  633. - Allow variable for HA callout program in /etc/init.d/nfslock
  634. (bz 202790)
  635. * Wed Aug 02 2006 <wtogami@redhatcom> 1.0.9-3
  636. - add epoch (#196359)
  637. * Fri Jul 28 2006 <SteveD@RedHat.com> 1.0.9-2
  638. - Enabled the creating of mount.nfs and umount.nfs binaries
  639. - Added mount option fixes suggested by upstream.
  640. - Fix lazy umounts (bz 169299)
  641. - Added -o fsc mount option.
  642. * Mon Jul 24 2006 <SteveD@RedHat.com> 1.0.9-1
  643. - Updated to 1.0.9 release
  644. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0.8-5.1
  645. - rebuild
  646. * Sun Jul 2 2006 <jkeating@redhat.com> 1:1.0.8-5
  647. - Introduce epoch to fix upgrade path
  648. * Sat Jul 1 2006 <SteveD@RedHat.com> 1.0.8-3
  649. - Fixed typos in /etc/rc.d/init.d/nfs file (bz 184486)
  650. * Fri Jun 30 2006 <SteveD@RedHat.com> 1.0.8-3
  651. - Split the controlling of nfs version, ports, and protocol
  652. into two different patches
  653. - Fixed and added debugging statements to rpc.mountd.
  654. - Fixed -p arg to work with priviledged ports (bz 156655)
  655. - Changed nfslock initscript to set LOCKD_TCPPORT and
  656. LOCKD_UDPPORT (bz 162133)
  657. - Added MOUNTD_NFS_V1 variable to version 1 of the
  658. mount protocol can be turned off. (bz 175729)
  659. - Fixed gssd to handel mixed case characters in
  660. the domainname. (bz 186069)
  661. * Wed Jun 21 2006 <SteveD@RedHat.com> 1.0.8-2
  662. - Updated to nfs-utils-1.0.8
  663. * Thu Jun 8 2006 <SteveD@RedHat.com> 1.0.8.rc4-1
  664. - Upgraded to the upstream 1.0.8.rc4 version
  665. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8.rc2-4.FC5.2
  666. - bump again for double-long bug on ppc(64)
  667. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8.rc2-4.FC5.1
  668. - rebuilt for new gcc4.1 snapshot and glibc changes
  669. * Fri Jan 20 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-4.FC5
  670. - Added new libnfsidmap call, nfs4_set_debug(), to rpc.idmapd
  671. which turns on debugging in the libarary.
  672. * Mon Jan 16 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-3.FC5
  673. - Added innetgr patch that changes configure scripts to
  674. check for the innetgr function. (bz 177899)
  675. * Wed Jan 11 2006 Peter Jones <pjones@redhat.com> 1.0.8.rc2-2.FC5
  676. - Fix lockfile naming in the initscripts so they're stopped correctly.
  677. * Mon Jan 9 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-1.FC5
  678. - Updated to 1.0.8-rc2 release
  679. - Broke out libgssapi into its own rpm
  680. - Move librpcsecgss and libnfsidmap in the new nfs-utils-lib rpm
  681. - Removed libevent code; Required to be installed.
  682. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  683. - rebuilt
  684. * Sun Oct 23 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-19
  685. - Updated to latest code in SourceForge CVS
  686. - Updated to latest CITI patches (1.0.7-4)
  687. - Fix bug in nfsdreopen by compiling in server defaults
  688. * Thu Sep 22 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-18
  689. - Updated libnfsidmap to 0.11
  690. - Updated libgssapi to 0.5
  691. - Made sure the gss daemons and new libs are
  692. all using the same include files.
  693. - Removed code from the tree that is no longer used.
  694. - Add ctlbits patch that introduced the -N -T and -U
  695. command line flags to rpc.nfsd.
  696. * Sun Sep 18 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-17
  697. - Updated to latest nfs-utils code in upstream CVS tree
  698. - Updated libevent from 1.0b to 1.1a
  699. - Added libgssapi-0.4 and librpcsecgss-0.6 libs from CITI
  700. * Thu Sep 8 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-16
  701. - Reworked the nfslock init script so if lockd is running
  702. it will be killed which is what the HA community needs. (bz 162446)
  703. - Stopped rpcidmapd.init from doing extra echoing when
  704. condstart-ed.
  705. * Wed Aug 24 2005 Peter Jones <pjones@redhat.com> - 1.0.7-15
  706. - don't strip during "make install", so debuginfo packages are generated right
  707. * Thu Aug 18 2005 Florian La Roche <laroche@redhat.com>
  708. - no need to still keep a requirement for kernel-2.2 or newer
  709. * Tue Aug 16 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-13
  710. - Changed mountd to use stat64() (bz 165062)
  711. * Tue Aug 2 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-12
  712. - Changed useradd to use new -l flag (bz149407)
  713. - 64bit fix in gssd code (bz 163139)
  714. - updated broken dependencies
  715. - updated rquotad to compile with latest
  716. quota version.
  717. * Thu May 26 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-8
  718. - Fixed subscripting problem in idmapd (bz 158188)
  719. * Thu May 19 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-7
  720. - Fixed buffer overflow in rpc.svcgssd (bz 114288)
  721. * Wed Apr 13 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-6
  722. - Fixed misformated output from nfslock script (bz 154648)
  723. * Tue Mar 29 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-4
  724. - Fixed a compile error on x86_64 machines in the gss code.
  725. - Updated the statd-notify-hostname.patch to eliminate
  726. a segmentation fault in rpc.statd when an network
  727. interface was down. (bz 151828)
  728. * Sat Mar 19 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-3
  729. - Changed xlog to use LOG_INFO instead of LOG_DEBUG
  730. so debug messages will appear w/out any config
  731. changes to syslog.conf.
  732. - Reworked how /etc/exports is setup (bz 151389)
  733. * Wed Mar 2 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-2
  734. - Tied the rpcsecgss debugging in with gssd and
  735. svcgssd debugging
  736. * Mon Feb 14 2005 Steve Dickson <SteveD@RedHat.com>
  737. - Added support to rpcgssd.init and rpcsvcgssd.init scripts
  738. to insmod security modules.
  739. - Changed the nfs.init script to bring rpc.svcgssd up and down,
  740. since rpc.svcgssd is only needed with the NFS server is running.
  741. * Tue Dec 14 2004 Steve Dickson <SteveD@RedHat.com>
  742. - Fix problem in idmapd that was causing "xdr error 10008"
  743. errors (bz 142813)
  744. - make sure the correct hostname is used in the SM_NOTIFY
  745. message that is sent from a rebooted server which has
  746. multiple network interfaces. (bz 139101)
  747. - Changed nfslock to send lockd a -KILL signal
  748. when coming down. (bz 125257)
  749. * Thu Nov 11 2004 Steve Dickson <SteveD@RedHat.com>
  750. - Replaced a memcopy with explicit assignments
  751. in getquotainfo() of rquotad to fix potential overflow
  752. that can occur on 64bit machines. (bz 138068)
  753. * Mon Nov 8 2004 Steve Dickson <SteveD@RedHat.com>
  754. - Updated to latest sourceforge code
  755. - Updated to latest CITIT nfs4 patches
  756. * Sun Oct 17 2004 Steve Dickson <SteveD@RedHat.com>
  757. - Changed nfs.init to bring down rquotad correctly
  758. (bz# 136041)
  759. * Thu Oct 14 2004 Steve Dickson <SteveD@RedHat.com>
  760. - Added "$RQUOTAD_PORT" variable to nfs.init which
  761. allows the rpc.rquotad to use a predefined port
  762. (bz# 124676)
  763. * Fri Oct 1 2004 <SteveD@RedHat.com
  764. - Incorporate some clean up code from Ulrich Drepper (bz# 134025)
  765. - Fixed the chkconfig number in the rpcgssd, rpcidmapd, and
  766. rpcsvcgssd initscrpts (bz# 132284)
  767. * Fri Sep 24 2004 <SteveD@RedHat.com>
  768. - Make sure the uid/gid of nfsnobody is the
  769. correct value for all archs (bz# 123900)
  770. - Fixed some security issues found by SGI (bz# 133556)
  771. * Mon Aug 30 2004 Steve Dickson <SteveD@RedHat.com>
  772. - Major clean up.
  773. - Removed all unused/old patches
  774. - Rename and condensed a number of patches
  775. - Updated to CITI's nfs-utils-1.0.6-13 patches
  776. * Tue Aug 10 2004 Bill Nottingham <notting@redhat.com>
  777. - move if..fi condrestart stanza to %%postun (#127914, #128601)
  778. * Wed Jun 16 2004 <SteveD@RedHat.com>
  779. - nfslock stop is now done on package removals
  780. - Eliminate 3 syslog messages that are logged for
  781. successful events.
  782. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  783. - rebuilt
  784. * Mon Jun 14 2004 <SteveD@RedHat.com>
  785. - Fixed syntax error in nfs initscripts when
  786. NETWORKING is not defined
  787. - Removed sync warning on readonly exports.
  788. - Changed run levels in rpc initscripts.
  789. - Replaced modinfo with lsmod when checking
  790. for loaded modules.
  791. * Tue Jun 1 2004 <SteveD@RedHat.com>
  792. - Changed the rpcgssd init script to ensure the
  793. rpcsec_gss_krb5 module is loaded
  794. * Tue May 18 2004 <SteveD@RedHat.com>
  795. - Removed the auto option from MOUNTD_NFS_V2 and
  796. MOUNTD_NFS_V3 variables. Since v2 and v3 are on
  797. by default, there only needs to be away of
  798. turning them off.
  799. * Mon May 10 2004 <SteveD@RedHat.com>
  800. - Rebuilt
  801. * Thu Apr 15 2004 <SteveD@RedHat.com>
  802. - Changed the permission on idmapd.conf to 644
  803. - Added mydaemon code to svcgssd
  804. - Updated the add_gssd.patch from upstream
  805. * Wed Apr 14 2004 <SteveD@RedHat.com>
  806. - Created a pipe between the parent and child so
  807. the parent process can report the correct exit
  808. status to the init scripts
  809. - Added SIGHUP processing to rpc.idmapd and the
  810. rpcidmapd init script.
  811. * Mon Mar 22 2004 <SteveD@RedHat.com>
  812. - Make sure check_new_cache() is looking in the right place
  813. * Wed Mar 17 2004 <SteveD@RedHat.com>
  814. - Changed the v4 initscripts to use $prog for the
  815. arugment to daemon
  816. * Tue Mar 16 2004 <SteveD@RedHat.com>
  817. - Made the nfs4 daemons initscripts work better when
  818. sunrpc is not a module
  819. - added more checks to see if modules are being used.
  820. * Mon Mar 15 2004 <SteveD@RedHat.com>
  821. - Add patch that sets up gssapi_mech.conf correctly
  822. * Fri Mar 12 2004 <SteveD@RedHat.com>
  823. - Added the shutting down of the rpc v4 daemons.
  824. - Updated the Red Hat only patch with some init script changes.
  825. * Thu Mar 11 2004 Bill Nottingham <notting@redhat.com>
  826. - rpc_pipefs mounting and aliases are now in modutils; require that
  827. * Thu Mar 11 2004 <SteveD@RedHat.com>
  828. - Updated the gssd patch.
  829. * Sun Mar 7 2004 <SteveD@RedHat.com>
  830. - Added the addition and deletion of rpc_pipefs to /etc/fstab
  831. - Added the addition and deletion of module aliases to /etc/modules.conf
  832. * Mon Mar 1 2004 <SteveD@RedHat.com>
  833. - Removed gssd tarball and old nfsv4 patch.
  834. - Added new nfsv4 patches that include both the
  835. gssd and idmapd daemons
  836. - Added redhat-only v4 patch that reduces the
  837. static librpc.a to only contain gss rpc related
  838. routines (I would rather have gssd use the glibc
  839. rpc routines)
  840. -Changed the gssd svcgssd init scripts to only
  841. start up if SECURE_NFS is set to 'yes' in
  842. /etc/sysconfig/nfs
  843. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  844. - rebuilt
  845. * Thu Feb 12 2004 Thomas Woerner <twoerner@redhat.com>
  846. - make rpc.lockd, rpc.statd, rpc.mountd and rpc.nfsd pie
  847. * Wed Jan 28 2004 Steve Dickson <SteveD@RedHat.com>
  848. - Added the NFSv4 bits
  849. * Mon Dec 29 2003 Steve Dickson <SteveD@RedHat.com>
  850. - Added the -z flag to nfsstat
  851. * Wed Dec 24 2003 Steve Dickson <SteveD@RedHat.com>
  852. - Fixed lockd port setting in nfs.int script
  853. * Wed Oct 22 2003 Steve Dickson <SteveD@RedHat.com>
  854. - Upgrated to 1.0.6
  855. - Commented out the acl path for fedora
  856. * Wed Aug 27 2003 Steve Dickson <SteveD@RedHat.com>
  857. - Added the setting of lockd ports via sysclt interface
  858. - Removed queue setting code since its no longer needed
  859. * Thu Aug 7 2003 Steve Dickson <SteveD@RedHat.com>
  860. - Added back the acl patch Taroon b2
  861. * Wed Jul 23 2003 Steve Dickson <SteveD@RedHat.com>
  862. - Commented out the acl patch (for now)
  863. * Mon Jul 21 2003 Steve Dickson <SteveD@RedHat.com>
  864. - Upgrated to 1.0.5
  865. * Wed Jun 18 2003 Steve Dickson <SteveD@RedHat.com>
  866. - Added security update
  867. - Fixed the drop-privs.patch which means the chroot
  868. patch could be removed.
  869. * Mon Jun 9 2003 Steve Dickson <SteveD@RedHat.com>
  870. - Defined the differ kinds of debugging avaliable for mountd in
  871. the mountd man page.
  872. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  873. - rebuilt
  874. * Tue Jun 3 2003 Steve Dickson <SteveD@RedHat.com>
  875. - Upgraded to 1.0.3
  876. - Fixed numerous bugs in init scrips
  877. - Added nfsstat overflow patch
  878. * Thu Jan 23 2003 Tim Powers <timp@redhat.com> 1.0.1-2.9
  879. - rebuild
  880. * Fri Dec 13 2002 Daniel J Walsh <dwalsh@redhat.com>
  881. - change init script to not start rpc.lock if already running
  882. * Wed Dec 11 2002 Daniel J Walsh <dwalsh@redhat.com>
  883. - Moved access code to be after dropping privs
  884. * Mon Nov 18 2002 Stephen C. Tweedie <sct@redhat.com>
  885. - Build with %%configure
  886. - Add nhfsgraph, nhfsnums and nhfsrun to the files list
  887. * Mon Nov 11 2002 Stephen C. Tweedie <sct@redhat.com>
  888. - Don't drop privs until we've bound the notification socket
  889. * Thu Nov 7 2002 Stephen C. Tweedie <sct@redhat.com>
  890. - Ignore SIGPIPE in rpc.mountd
  891. * Thu Aug 1 2002 Bob Matthews <bmatthews@redhat.com>
  892. - Add Sean O'Connell's <sean@ee.duke.edu> nfs control tweaks
  893. - to nfs init script.
  894. * Mon Jul 22 2002 Bob Matthews <bmatthews@redhat.com>
  895. - Move to nfs-utils-1.0.1
  896. * Mon Feb 18 2002 Bob Matthews <bmatthews@redhat.com>
  897. - "service nfs restart" should start services even if currently
  898. - not running (#59469)
  899. - bump version to 0.3.3-4
  900. * Wed Oct 3 2001 Bob Matthews <bmatthews@redhat.com>
  901. - Move to nfs-utils-0.3.3
  902. - Make nfsnobody a system account (#54221)
  903. * Tue Aug 21 2001 Bob Matthews <bmatthews@redhat.com>
  904. - if UID 65534 is unassigned, add user nfsnobody (#22685)
  905. * Mon Aug 20 2001 Bob Matthews <bmatthews@redhat.com>
  906. - fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113)
  907. * Tue Aug 7 2001 Bob Matthews <bmatthews@redhat.com>
  908. - nfs init script shouldn't fail if /etc/exports doesn't exist (#46432)
  909. * Fri Jul 13 2001 Bob Matthews <bmatthews@redhat.com>
  910. - Make %%pre useradd consistent with other Red Hat packages.
  911. * Tue Jul 03 2001 Michael K. Johnson <johnsonm@redhat.com>
  912. - Added sh-utils dependency for uname -r in nfs init script
  913. * Tue Jun 12 2001 Bob Matthews <bmatthews@redhat.com>
  914. - make non RH kernel release strings scan correctly in
  915. - nfslock init script (#44186)
  916. * Mon Jun 11 2001 Bob Matthews <bmatthews@redhat.com>
  917. - don't install any rquota pages in _mandir: (#39707, #44119)
  918. - don't try to manipulate rpc.rquotad in init scripts
  919. - unless said program actually exists: (#43340)
  920. * Tue Apr 10 2001 Preston Brown <pbrown@redhat.com>
  921. - don't translate initscripts for 6.x
  922. * Tue Apr 10 2001 Michael K. Johnson <johnsonm@redhat.com>
  923. - do not start lockd on kernel 2.2.18 or higher (done automatically)
  924. * Fri Mar 30 2001 Preston Brown <pbrown@redhat.com>
  925. - don't use rquotad from here now; quota package contains a version that
  926. works with 2.4 (#33738)
  927. * Mon Mar 12 2001 Bob Matthews <bmatthews@redhat.com>
  928. - Statd logs at LOG_DAEMON rather than LOG_LOCAL5
  929. - s/nfs/\$0/ where appropriate in init scripts
  930. * Tue Mar 6 2001 Jeff Johnson <jbj@redhat.com>
  931. - Move to nfs-utils-0.3.1
  932. * Wed Feb 14 2001 Bob Matthews <bmatthews@redhat.com>
  933. - #include <time.h> patch
  934. * Mon Feb 12 2001 Bob Matthews <bmatthews@redhat.com>
  935. - Really enable netgroups
  936. * Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  937. - i18nize initscripts
  938. * Fri Jan 19 2001 Bob Matthews <bmatthews@redhat.com>
  939. - Increased {s,r}blen in rpcmisc.c:makesock to accommodate eepro100
  940. * Tue Jan 16 2001 Bob Matthews <bmatthews@redhat.com>
  941. - Hackish fix in build section to enable netgroups
  942. * Wed Jan 3 2001 Bob Matthews <bmatthews@redhat.com>
  943. - Fix incorrect file specifications in statd manpage.
  944. - Require gawk 'cause it's used in nfslock init script.
  945. * Wed Dec 13 2000 Bob Matthews <bmatthews@redhat.com>
  946. - Require sed because it's used in nfs init script
  947. * Tue Dec 12 2000 Bob Matthews <bmatthews@redhat.com>
  948. - Don't do a chroot(2) after dropping privs, in statd.
  949. * Mon Dec 11 2000 Bob Matthews <bmatthews@redhat.com>
  950. - NFSv3 if kernel >= 2.2.18, detected in init script
  951. * Thu Nov 23 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  952. - update to 0.2.1
  953. * Tue Nov 14 2000 Bill Nottingham <notting@redhat.com>
  954. - don't start lockd on 2.4 kernels; it's unnecessary
  955. * Tue Sep 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  956. - more portable fix for mandir
  957. * Sun Sep 3 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  958. - update to 0.2-release
  959. * Fri Sep 1 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  960. - fix reload script
  961. * Thu Aug 31 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  962. - update to 0.2 from CVS
  963. - adjust statd-drop-privs patch
  964. - disable tcp_wrapper support
  965. * Wed Aug 2 2000 Bill Nottingham <notting@redhat.com>
  966. - fix stop priority of nfslock
  967. * Tue Aug 1 2000 Bill Nottingham <notting@redhat.com>
  968. - um, actually *include and apply* the statd-drop-privs patch
  969. * Mon Jul 24 2000 Bill Nottingham <notting@redhat.com>
  970. - fix init script ordering (#14502)
  971. * Sat Jul 22 2000 Bill Nottingham <notting@redhat.com>
  972. - run statd chrooted and as non-root
  973. - add prereqs
  974. * Tue Jul 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
  975. - use "License", not "Copyright"
  976. - use %%{_tmppath} and %%{_mandir}
  977. * Mon Jul 17 2000 Matt Wilson <msw@redhat.com>
  978. - built for next release
  979. * Mon Jul 17 2000 Matt Wilson <msw@redhat.com>
  980. - 0.1.9.1
  981. - remove patch0, has been integrated upstream
  982. * Wed Feb 9 2000 Bill Nottingham <notting@redhat.com>
  983. - the wonderful thing about triggers, is triggers are wonderful things...
  984. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  985. - switch to nfs-utils as the base tree
  986. - fix the statfs patch for the new code base
  987. - single package that obsoletes everything we had before (if I am to keep
  988. some traces of my sanity with me...)
  989. * Mon Jan 17 2000 Preston Brown <pbrown@redhat.com>
  990. - use statfs syscall instead of stat to determinal optimal blksize