Re: [osol-discuss] Re: Why LSB filesystem layout is bad,part 1 ...

2006-04-03 Thread Joerg Schilling
Erast Benson [EMAIL PROTECTED] wrote:

 On Sun, 2006-04-02 at 16:32 +0200, Joerg Schilling wrote:
  Erast Benson [EMAIL PROTECTED] wrote:
  
There is more than disliking it.

If e.g. 'rsh' is linked to 'ssh', people do not get what they expect.
  
   this is depends on alternative's weight... if rexec tools are not
   installed, ssh may still provide rsh functionality.
  
  It is not.

 it may be configured differently, but ssh definitely provides you a
 basic rsh functionality.

I am not sure whether you understand the effects of these alternatives.
From a users view this looks like defect programs.

  And people will have problems to find out the reason because they believe 
  that 
  everything is there...

 well, those people better be educated first...

This is not UNIX behavior, so why educate?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Re: Why LSB filesystem layout is bad,part 1 ...

2006-04-03 Thread Erast Benson
On Mon, 2006-04-03 at 10:47 +0200, Joerg Schilling wrote:
 Erast Benson [EMAIL PROTECTED] wrote:
 
  On Sun, 2006-04-02 at 16:32 +0200, Joerg Schilling wrote:
   Erast Benson [EMAIL PROTECTED] wrote:
   
 There is more than disliking it.
 
 If e.g. 'rsh' is linked to 'ssh', people do not get what they expect.
   
this is depends on alternative's weight... if rexec tools are not
installed, ssh may still provide rsh functionality.
   
   It is not.
 
  it may be configured differently, but ssh definitely provides you a
  basic rsh functionality.
 
 I am not sure whether you understand the effects of these alternatives.

Sure it might create an ambiguity effect, but there are mechanisms which
helps you to avoid that. (alternative's weight in this case) In your
example, most likely, rsh been created because it didn't exist at the
time when ssh were installing. rsh has a higher weight, therefore, once
you install rsh package, it will overwrite rsh alternative to the one
with higher priority, i.e. real rsh. There are other management
mechanisms, like alternative's slaves, which also quite handy and help
you to avoid ambiguity but now for slave things like dependent
directories with similar names, etc. The end result of alternatives is
better user and developer experience and this is what makes Debian-based
systems most suitable for developers.

I still do not understand your concerns, and positive that
alternatives is a good thing, but it takes time till people actually
will start to appreciate it.

-- 
Erast

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Re: Why LSB filesystem layout is bad,part 1 ...

2006-04-01 Thread Tatjana S Heuser
Martin Man wrote:
 Roland Mainz wrote:
  My personal complaint is that they stuff everything into /usr/bin/. Unix
  had some kind of namespace support via the elements in ${PATH} so
  having package groups seperated into /usr/dt/bin/ (CDE), /usr/kde3/bin
  (KDE3), /usr/xpg4/bin/ (XPG4 personality) and so on is a much cleaner
  approach than stuffing everything into /usr/bin/.

 Good package management (that is not present ATM in Solaris) will take 
 care of /usr/bin for you.

I disagree - while this may be a solution for an individual host used by one 
individual only, it has a tendency to get out of control in multiuser 
environments, 
where different users have different requirements they need fulfilled. 
The resulting installation can often be named overstuffed rather than
complete, especially if version and library conflicts had to be met. 

A modular approach using different paths is often able to resolve these 
conflicts but - as has been outlined by others in this thread, carries its own 
potential for confusion and conflicts.

Martin Man wrote:
 debian comes with alternatives  mechanism that works pretty well in most 
 cases.

This alternatives mechanism in particular struck me as something I immediately 
and strongly disliked, once that I had found out why those programs that 
claimed 
to be there were obviously not what they claimed to be.

It's a good thing that there are different programs for similar tasks, but it 
should 
be up to the user to decide which one to use. When I'm calling vi, I want vi, 
not 
vim or whatever claims to be like vi. Same goes for awk - each implementation 
has quirks of its own, and my script might not take them all into account. And 
even more for programs disabled for security concerns. Telnet may broadcast 
passwords all over the net, but someone forgot to teach my terminal server ssl 
when they made that image 15 odd years ago. (And yes, I want to keep my 
terminal servers, and yes, I have taken other means to protect them).
If a program is disabled on a distribution, I want to know, not start debugging 
when things are behaving weird. Command not found is one way of letting me 
know.

My main point is that while it's confusing to have 40 (as claimed by Chris 
Ricker) 
odd versions of ps in 40 odd locations of the filesystem, it's even more 
confusing 
to be handed -I don't know which- program by means of alternatives.

Erast Benson wrote:
 may I ask what is wrong with 1000+ programs in /usr/bin ? As far as
 performance is concerned, this directory usually cached out. What else?

Most users (me included) lack the cache to properly digest 1000+ entries in 
a directory visually. 
/usr/bin gets listed rather often, when a user tries to guess the correct name 
for a program he fails to remember. Unfortunately, without the name, manual
pages won't help him that much either. It's a problem that's more aggravating 
to novice users than experienced ones, obviously.

Tatjana
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org