Bug 91279 - [patch] x11-servers/xorg-fontserver startup script doesn't contain ldconfig dependency but actually depends on it
Summary: [patch] x11-servers/xorg-fontserver startup script doesn't contain ldconfig d...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 20:50 UTC by Victor Snezhko
Modified: 2006-01-05 17:13 UTC (History)
0 users

See Also:


Attachments
file.diff (287 bytes, patch)
2006-01-03 20:50 UTC, Victor Snezhko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Snezhko 2006-01-03 20:50:10 UTC
I tried to install and run x11-servers/xorg-fontserver on a
FreeBSD 7.0-CURRENT machine.
When I added "xfs_enable=\"YES\"" to my /etc/rc.conf and rebooted,
xfs didn't start and complained it can't find libfreetype.so.9 library.
If I add ldconfig to the list of dependencies, everything works.
This malfunction is caused by the fact that on -current (and on
future FreeBSD 7.0) not only basesystem scripts are called in
order specified by rcorder script, but also X11 and local scripts.
If xfs startup script doesn't contain ldconfig dependency, it is
called before ldconfig (on -current) and therefore can't find
libfreetype.so.9 library.

Fix: Here is a trivial patch:
How-To-Repeat: Install x11-servers/xorg-fontserver and enable it.
on 7.0-CURRENT it will fail to start and complain about libfreetype.so.9 library
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-03 20:52:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-x11

Over to maintainer
Comment 2 lesi freebsd_committer freebsd_triage 2006-01-05 17:12:38 UTC
State Changed
From-To: open->closed

Ah, so that's what was wrong with it. 
Committed. Thanks.