Date: Wed, 19 Apr 2006 01:03:52 +0000 From: Xin LI <delphij@freebsd.org> To: freebsd-rc@FreeBSD.org Subject: rc.d/SERVER patch for review (Reorder to make ldconfig start _before_ SERVER) Message-ID: <20060419010352.GA54006@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
--LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Here is a patch that moves ldconfig before SERVER. The reason is that: - Now we start /usr/local/etc/rc.d scripts in the same order of base system rc.d scripts. - It is possible that a dynamically linked local daemon is started after SERVER, which requires ldconfig to be run before to function correctly. - According to the current rcorder ldconfig would start _after_ SERVER, which makes no guarantee that it was run before actual consumer. The attachment contains a tested patch that makes ldconfig a dependency of SERVER, thus makes it available for the application before actual SERVER daemons. Any comments? Thanks in advance! Cheers, --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-rcng Index: SERVERS =================================================================== RCS file: /home/ncvs/src/etc/rc.d/SERVERS,v retrieving revision 1.6 diff -u -r1.6 SERVERS --- SERVERS 19 Feb 2006 08:18:48 -0000 1.6 +++ SERVERS 18 Apr 2006 13:38:33 -0000 @@ -5,7 +5,7 @@ # # PROVIDE: SERVERS -# REQUIRE: mountcritremote abi +# REQUIRE: mountcritremote abi ldconfig # This is a dummy dependency, for early-start servers relying on # some basic configuration. --LQksG6bCIzRHxTLp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060419010352.GA54006>