Glenn Skinner wrote: > Date: Fri, 14 Aug 2009 11:24:21 -0600 > From: Andre Molyneux <Andre.Molyneux at sun.com> > Subject: Re: 2009/424 [idzebra] > > Jim Walker wrote: > > Garrett D'Amore wrote: > >> I think that it makes sense to at least *try* to move zebrasrv out of > >> /usr/bin. /usr/lib seems the right place for it. > > > > Since zebrasrv has good command definition and /usr/bin is the > > familiar location (ie. I'm not seeing /usr/lib being used anywhere > > else). I think /usr/bin is the best place for now. > > Some consensus here would be helpful. I've moved zebrasrv to > /usr/lib in my latest webrev, but can easily put it back. How > does it get decided if PSARC as a whole has a preference? > > The project team takes PSARC's comments into account and updates the > project specification (if necessary) to state where it is proposed to > place zebrasrv. > > Then if any committee member feels strongly enough that that proposed > location is architecturally flawed, that member will derail the case. > If that happens, then the committee, project team, and other > interested parties will discuss the issue until resolution occurs > (probably during a meeting, so that everybody's time is used as > efficiently as possible). > > But having said all that, I think what you're hearing is advice from > various committee members that doesn't reach the level of derailment. > (That's certainly true of me, for one.) >
Yes, I think that's true. The comments from Jim have been answered -- in general in Linux land there is /usr/libexec for things that are run by something other than normal users or normal administrators. (Network daemons are normally a good example of this -- for example /usr/lib/inet/in.dhcpd. An administrator might choose to run this command manually, but that would not be the norm, and would probably only be used for debugging.) In Solaris, we don't have /usr/libexec, we just put such things in /usr/lib. /usr/sbin/ is used for utilities that an administrator might be expected to run but which ordinary users shouldn't care about. Its kind of a gray area. My preference is that if the utility would only ever be run by an administrator to debug a service, or to start up something manually that should have been started by SMF, then /usr/lib is probably better. If it is a reasonable thing that administrators might need to run this command manually, then /usr/sbin or /usr/bin. - Garrett > -- Glenn > >