pcp
[Top] [All Lists]

Re: pcp updates

To: markgw@xxxxxxx
Subject: Re: pcp updates
From: nscott@xxxxxxxxxx
Date: Wed, 5 Mar 2008 20:58:49 +1100 (EST)
Cc: pcp@xxxxxxxxxxx, anibal@xxxxxxx
Importance: Normal
In-reply-to: <47CE6C3C.1010901@sgi.com>
References: <47851.192.168.3.1.1204709786.squirrel@mail.aconex.com> <47CE6C3C.1010901@sgi.com>
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.8-4.el4.centos
> nscott@xxxxxxxxxx wrote:
>> commit 9ff132c68a6f6dd76b91c9d477d302e278aedaad
>> Author: Nathan Scott <nathans@xxxxxxxxxx>
>> Date:   Wed Mar 5 20:28:15 2008 +1100
>>
>>     Turns out we cannot install ELF binaries below /usr/share, at
>>     least for Debian (generates lotsa warnings) - these are meant
>>     to be architecture-independent files only.  So, ended up with
>>     PCP_BINADM_DIR pointing at /usr/sbin now (no other packages
>>     have their own executable dirs - even X11 is using /usr/bin).
>
> Without having investigated, this one rings warning bells (just
> remembering the pain we went thru after SuSE moved this a while
> back).
>
> In any case, /usr/sbin isn't the right place for binaries that
> normal users or root should not be running directly. /usr/lib/pcp
> would be a better location, IMO since it wont be in anyone's
> path.
>
> Thoughts?

Yeah, I'd rather have had a pcp-only directory, but it is evidentally not
allowed on Debian (even X11, which usually has /usr/X11[R6]/bin as its
own, is just a symlink back to /usr/bin, where all the X binaries are).

All daemons seem to live in /usr/sbin on Debian...
$ ls -1 /usr/sbin/*d
...
/usr/sbin/afpd*
/usr/sbin/arpd*
/usr/sbin/atalkd*
/usr/sbin/atd*
...
/usr/sbin/cupsd*
/usr/sbin/dhcdbd*
...
/usr/sbin/hald*
/usr/sbin/hpssd@
/usr/sbin/identd*
/usr/sbin/inetd*
/usr/sbin/in.identtestd*
...
/usr/sbin/ipmievd*
/usr/sbin/irpd*
...
/usr/sbin/named*
/usr/sbin/netscsid*
/usr/sbin/nmbd*
/usr/sbin/ntpd*
/usr/sbin/papd*
/usr/sbin/rinetd*
/usr/sbin/rpc.gssd*
/usr/sbin/rpc.idmapd*
/usr/sbin/rpc.mountd*
/usr/sbin/rpc.nfsd*
/usr/sbin/rpc.svcgssd*
/usr/sbin/rsockd*
/usr/sbin/smbd*
/usr/sbin/sockd*
/usr/sbin/sshd*
/usr/sbin/tcpd*
/usr/sbin/timelord*
...

So I guess this is the right place.  Maybe Anibal can give us some more
insights here though?

cheers.

--
Nathan


<Prev in Thread] Current Thread [Next in Thread>