binary mtree for openafs port(s)

View: New views
11 Messages — Rating Filter:   Alert me  

binary mtree for openafs port(s)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello List,


this is time to decide which mtree for binaries is apropriate
for openafs port(s). That's my proposal:

PREFIX=/usr/local
BINDIR=$PREFIX/bin
SBINDIR=$PREFIX/sbin

SBINDIR: all *server + upclient
BINDIR: all other binaries

What do you think? Thanks!


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

binary mtree for openafs port(s)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(resending after an hour timeout, seems my first letter went to nowhere)

Hello List,


this is time to decide which mtree for binaries is apropriate
for openafs port(s). That's my proposal:

PREFIX=/usr/local
BINDIR=$PREFIX/bin
SBINDIR=$PREFIX/sbin

SBINDIR: all *server + upclient
BINDIR: all other binaries

What do you think? Thanks!


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Emmanuel Vadot-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Boris Samorodov wrote:

> (resending after an hour timeout, seems my first letter went to nowhere)
>
> Hello List,
>
>
> this is time to decide which mtree for binaries is apropriate
> for openafs port(s). That's my proposal:
>
> PREFIX=/usr/local
> BINDIR=$PREFIX/bin
> SBINDIR=$PREFIX/sbin
>
> SBINDIR: all *server + upclient
> BINDIR: all other binaries
>
> What do you think? Thanks!
>
>
> WBR
>  
Hello,

I'll prefer to have all the *server in $PREFIX/libexec/openafs like the
pkgsrc for netbsd.
As those binaries are not intend to be called manually it seems normal
to not have them
in /usr/local/bin or /usr/local/sbin.
Just look at the pkgsrc, I kind of like the way it is done.


--
Emmanuel Vadot
elbarto@...
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ElBarto <elbarto@...> writes:
> Boris Samorodov wrote:

>> this is time to decide which mtree for binaries is apropriate
>> for openafs port(s). That's my proposal:
>>
>> PREFIX=/usr/local
>> BINDIR=$PREFIX/bin
>> SBINDIR=$PREFIX/sbin
>>
>> SBINDIR: all *server + upclient BINDIR: all other binaries
>>
>> What do you think? Thanks!
>
> I'll prefer to have all the *server in $PREFIX/libexec/openafs like
> the pkgsrc for netbsd.

That makes sence.

> As those binaries are not intend to be called manually it seems normal
> to not have them
> in /usr/local/bin or /usr/local/sbin.
> Just look at the pkgsrc, I kind of like the way it is done.

This package contains the whole distribution. This is just what we
do have now, but ee are going to separate server and client files.
How can we do it?


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Emmanuel Vadot-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Boris Samorodov wrote:

> ElBarto <elbarto@...> writes:
>  
>> Boris Samorodov wrote:
>>    
>
>  
>>> this is time to decide which mtree for binaries is apropriate
>>> for openafs port(s). That's my proposal:
>>>
>>> PREFIX=/usr/local
>>> BINDIR=$PREFIX/bin
>>> SBINDIR=$PREFIX/sbin
>>>
>>> SBINDIR: all *server + upclient BINDIR: all other binaries
>>>
>>> What do you think? Thanks!
>>>      
>> I'll prefer to have all the *server in $PREFIX/libexec/openafs like
>> the pkgsrc for netbsd.
>>    
>
> That makes sence.
>
>  
>> As those binaries are not intend to be called manually it seems normal
>> to not have them
>> in /usr/local/bin or /usr/local/sbin.
>> Just look at the pkgsrc, I kind of like the way it is done.
>>    
>
> This package contains the whole distribution. This is just what we
> do have now, but ee are going to separate server and client files.
> How can we do it?
>
>
> WBR
>  
Well,
For the client you only need all the binaries for mounting an afs server
(don't know exactly which ones).
This is the list I suggest :

$PREFIX/sbin/afsd
$PREFIX/bin/afsmonitor (seems more logic in the client part)
$PREFIX/bin/dlog (don't really know what is it but seems a client part)
$PREFIX/bin/dpass
$PREFIX/bin/fs
$PREFIX/sbin/fstrace
$PREFIX/bin/klog
$PREFIX/bin/knfs
$PREFIX/bin/kpasswd
$PREFIX/sbin/kpwvalid
$PREFIX/bin/pagsh
$PREFIX/bin/pts
$PREFIX/sbin/rxdebug
$PREFIX/bin/sys
$PREFIX/bin/tokens
$PREFIX/bin/translate_et
$PREFIX/bin/unlog
$PREFIX/bin/up
$PREFIX/bin/xstat_cm_test

The rest of the commands should be in the server ports.

--
Emmanuel Vadot
elbarto@...

_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ElBarto <elbarto@...> writes:

> Well,
> For the client you only need all the binaries for mounting an afs
> server (don't know exactly which ones).
> This is the list I suggest :
[list was here]
>
> $PREFIX/sbin/fstrace
> $PREFIX/sbin/kpwvalid
> $PREFIX/sbin/rxdebug

I'm not sure either but it seems to me that those might belong to
a server part.


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Matt W. Benjamin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

Boris Samorodov wrote:
>> $PREFIX/sbin/kpwvalid
>> $PREFIX/sbin/rxdebug
>
> I'm not sure either but it seems to me that those might belong to
> a server part.
>
>
> WBR

My impression is

rxdebug -- used everywhere for troubleshooting, valuable to have on any
afs host (both/base)

fstrace -- like cmdebug, is used (infrequently, afaik) to debug client
problems (client)

kpwvalid -- support utility for kas kpasswd (KPWVALID(8)).  Perhaps not
critical what is done with this, but is part of kas/kaserver client
infrastructure. (client)

Matt

- --

Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJSQLaJiSUUSaRdSURCJdJAJ0RtEJZgPQDWZNtxR687WY2+jpIBQCcDTfS
gRj8hs9nVjK8CKrxl3uqpBw=
=yVop
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Derrick Brashear :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Dec 17, 2008 at 4:49 AM, Boris Samorodov <bsam@...> wrote:

> ElBarto <elbarto@...> writes:
>
>> Well,
>> For the client you only need all the binaries for mounting an afs
>> server (don't know exactly which ones).
>> This is the list I suggest :
> [list was here]
>>
>> $PREFIX/sbin/fstrace
>> $PREFIX/sbin/kpwvalid
>> $PREFIX/sbin/rxdebug
>
> I'm not sure either but it seems to me that those might belong to
> a server part.

fstrace is client only, it debugs the client itself. rxdebug is
universal. it can debug any rx service, client or server. kpwvalid is
server only.
fstrace, unlike cmdebug, must be run on the client. cmdebug, like
rxdebug, can be *run* anywhere as it's a network probe.
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Matt W. Benjamin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I shouldn't have commented on that one.  I've never run a kaserver.

Matt

Derrick Brashear wrote:
kpwvalid is
> server only


- --

Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJSQXDJiSUUSaRdSURCEHnAJ4totifuqPVQsDZxNgnvwJtXVTx3wCfRDWk
4Zfjs/uVR1hBDja41IXm/z4=
=KRcO
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Matt Benjamin <matt@...> writes:

> Boris Samorodov wrote:
>>> $PREFIX/sbin/kpwvalid
>>> $PREFIX/sbin/rxdebug
>>
>> I'm not sure either but it seems to me that those might belong to
>> a server part.
>>
>>
>> WBR
>
> My impression is
>
> rxdebug -- used everywhere for troubleshooting, valuable to have on any
> afs host (both/base)

Added to common_sbin_file_list.

> fstrace -- like cmdebug, is used (infrequently, afaik) to debug client
> problems (client)
>
> kpwvalid -- support utility for kas kpasswd (KPWVALID(8)).  Perhaps not
> critical what is done with this, but is part of kas/kaserver client
> infrastructure. (client)

Both added to client_sbin_file_list.

Thanks! All files were added to sbin directory since by default those
files are installed to sbin directory.


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: binary mtree for openafs port(s)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Derrick Brashear" <shadow@...> writes:

> On Wed, Dec 17, 2008 at 4:49 AM, Boris Samorodov <bsam@...> wrote:
>> ElBarto <elbarto@...> writes:
>>
>>> Well,
>>> For the client you only need all the binaries for mounting an afs
>>> server (don't know exactly which ones).
>>> This is the list I suggest :
>> [list was here]
>>>
>>> $PREFIX/sbin/fstrace
>>> $PREFIX/sbin/kpwvalid
>>> $PREFIX/sbin/rxdebug
>>
>> I'm not sure either but it seems to me that those might belong to
>> a server part.
>
> fstrace is client only, it debugs the client itself. rxdebug is
> universal. it can debug any rx service, client or server. kpwvalid is
> server only.
> fstrace, unlike cmdebug, must be run on the client. cmdebug, like
> rxdebug, can be *run* anywhere as it's a network probe.

OK, thank you for your help!

So far I've written a script which installs all files to apropriate
locations. There are some minor questions left, but this part of a port
(binary mtree) seems to be done soon.


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."