From: Mike Jones on
Responding to Richard Herbert:

> On Wed, 23 Jun 2010 23:34:09 +0000, Mike Jones wrote:
>
>> This is a Slackware thing!
>
> Not necessarily. Old X applications may try to write to /usr/bin/X11,
> while newer ones will look for /usr/bin. The recursive symlink is a
> result of trying to support these old apps. In other words, ignore it
> and get on with your life.


Did you miss this bit?

"""Ok. Lets find out. Totally fresh Slack 12.2 install. No users, no
NVIDIA drivers. Xorg not run yet."""

....or is this a Slackware-specific "undocumented feature" ???

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
From: Mike Jones on
Responding to Murat D. Kadirov:

> On 23.06.2010 04:55, Mike Jones wrote:
>>
>>
>> I just noticed I have a recursive set of ~X11 symlink subdirs in
>> /usr/bin
>>
>> Anybody seen anything like this before on Slack 12.2?
>>
>> Its the same on at least two different machines, and both are
>> reasonably fresh installs. Both have NVIDIA drivers installed, but
>> different versions. Not that I have any suggestion that could be the
>> source of the problem.
>>
>> I'm not seeing anything in my searches so far, so a clue would be nice
>> about now if anybody has one?
>>
>> Ta.
>>
> I have the same recursive set on all my machines (4) with difference
> video: Nvidia, Intel, Sis, Via.


Well, I experimented. I deleted the symlink chain.

Reboot and re-use. Nothing new there. Its gone.

So, harmless install thing?

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
From: Giovanni on
On 06/24/10 11:55, Mike Jones wrote:

> Well, I experimented. I deleted the symlink chain.
>
> Reboot and re-use. Nothing new there. Its gone.
>
> So, harmless install thing?

The link was created by installing the aaa_base package.
> mkdir -p usr/X11R6
> ( cd usr/X11R6
> for dir in ../bin ../include ../lib ../libexec ../man ../share ; do
> rm -rf $(basename $dir)
> ln -sf $dir .
> done
> )
> ( cd usr ; rm -rf X11 )
> ( cd usr ; ln -sf X11R6 X11 )
> ( cd usr/bin ; rm -rf X11 )
> ( cd usr/bin ; ln -sf . X11 )
and was introduced for compatibility with older binaries/scripts when
X11 installed in /usr/bin/X11 or /usr/X11/bin.

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
< http://giovanni.homelinux.net/ >
From: Sylvain Robitaille on
Mike Jones wrote:

> Ok. Lets find out. Totally fresh Slack 12.2 install. No users, no NVIDIA
> drivers. Xorg not run yet.
>
> Its there too!

I think you're looking at this:

: elvira[syl] ~; ls -l /usr/bin/X11
lrwxrwxrwx 1 root system 1 2009-11-12 15:29 /usr/bin/X11 -> ./

No?

If yes, it's perfectly normal, it *is* put there by Slackware at
installation time, and it *is* there in order to accomodate anything (or
anyone; configurations, paths, etc.) that might look in /usr/bin/X11 for
X binaries instead of /usr/bin where they now reside. Don't worry about
it.

--
----------------------------------------------------------------------
Sylvain Robitaille syl(a)encs.concordia.ca

Systems analyst / AITS Concordia University
Faculty of Engineering and Computer Science Montreal, Quebec, Canada
----------------------------------------------------------------------
From: William Hunt on
On Thu, 24 Jun 2010, Mike Jones wrote:
> Responding to Murat D. Kadirov:
>> On 23.06.2010 04:55, Mike Jones wrote:
>>> I just noticed I have a recursive set of ~X11 symlink subdirs in
>>> /usr/bin
>>> Anybody seen anything like this before on Slack 12.2?
[...]
>> I have the same recursive set on all my machines (4) with difference
>> video: Nvidia, Intel, Sis, Via.
> Well, I experimented. I deleted the symlink chain.
[...]


it's NOT a chain - it's a single entry.

/usr/bin/X11 -> ./

The effect, simply, is to say, when looking for file
in the path /usr/bin/X11/, look instead in /usr/bin/ .

So, a reference to /usr/bin/X11/{anything} resolves to
/usr/bin/{anything} .

since /usr/bin/ contains the softlink X11, a search for
/usr/bin/X11/X11 resolves to /usr/bin/X11 which resolves
to /usr/bin/ ad infinitum. Thus, recursion.

This should be made plain for you by saying,

$ find /usr/bin/ -name X11
/usr/bin/X11

There is only a single entry by the name of X11

s'okay?


HTH, Praise Bob, RTFM, STFW and GAFC.
--
William Hunt, Portland Oregon USA