Date: Wed, 7 Feb 2001 11:08:42 +0100 From: Maxime Henrion <mux@qualys.com> To: freebsd-stable@freebsd.org Cc: Darren Henderson <darren@bmv.state.me.us> Subject: Re: ldconfig/rc.conf change Message-ID: <20010207110842.A484@nebula.cybercable.fr> In-Reply-To: <Pine.A41.4.21.0102070034180.23808-100000@katahdin.bmv.state.me.us>; from darren@bmv.state.me.us on Wed, Feb 07, 2001 at 12:48:00AM -0500 References: <Pine.A41.4.21.0102070034180.23808-100000@katahdin.bmv.state.me.us>
next in thread | previous in thread | raw e-mail | index | archive | help
--CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Darren Henderson wrote: > cvsup'd my 4.2-stable system on the 5th. Built world, kernel, installed > them, and ran mergemaster. This was last done about a month ago. >=20 > When the system came back up apache wold no longer work. PHP failed to lo= ad > becuase it couldn't find libmysqlclient.so.10. >=20 > Apache starts via an /usr/local/etc/rc.d script. I had the following in > /etc/rc.conf, it wasn't changed over the update. >=20 > ldconfig_paths=3D"$ldconfig_paths /usr/local/mysql/lib/mysql" >=20 > This always worked fine in the past. Now after booting ldconfig -r doesn't > show libmysqlclient.so.10=20 >=20 > Glancing at the mailing list archives and /usr/src/UPDATING I don't see a= ny > mention of changes to ldconfig or rc.conf processing. So...what changed? = Is > the -i opt for ldconfig new? Is the ldconfig_insecure var in > /etc/defaults/rc.conf new or changed? The /usr/local/mysql/lib/mysql dir > isn't owned by root so my previous solution can't work with the > ldconfig_insecure default of "NO"...so I suspect something there changed. >=20 > What ever it was, it probably deserves a mention in /usr/src/UPDATING Hi, =46rom /usr/src/release/texts/i386/RELNOTES.TXT: ldconfig(8) now checks directory ownerships and permissions for greater security; these checks can be disabled with the -i flag. ldconfig now checks that the directories in which it takes the shared libs = are owned by root, and not world writable nor group writable. It will skip any directory if the checks fail. The ldconfig_insecure flag is used to run the startup ldconfig commands with the new -i flag. Of course, its use is discouraged. You should check the permissions of your /usr/local/mysql/lib/mysql. Hope this helps, Maxime Henrion --=20 Don't be fooled by cheap finnish imitations ; BSD is the One True Code Key fingerprint =3D F9B6 1D5A 4963 331C 88FC CA6A AB50 1EF2 8CBE 99D6 Public Key : http://www.epita.fr/~henrio_m/ --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqBHqoACgkQq1Ae8oy+mdZKWgCfT5yw84SagB5FE00/QqArJGVF bNAAoK7n8Pn65QQjPCp5FwNfKuqpejgf =/iBo -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010207110842.A484>