truss man doesn't show *anything*

2003-06-16 Thread Steve Coile
I've just installed a new software package that includes manual pages.
When I try to read the pages with man -M path page, I'm told the
manual page doesn't exist.  When I use truss man -M path page,
truss generates *NO* output.  Is that normal?

-- 
Steve Coile
Systems Administrator
Nando Media
ph: 919-861-1200
fax: 919-861-1300
e-mail: [EMAIL PROTECTED]
http://www.nandomedia.com

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: truss man doesn't show *anything*

2003-06-16 Thread Sondre Rønjom
On Mon, 16 Jun 2003, Steve Coile wrote:

 I've just installed a new software package that includes manual pages.
 When I try to read the pages with man -M path page, I'm told the
 manual page doesn't exist.  When I use truss man -M path page,
 truss generates *NO* output.  Is that normal?

have you tried 'man truss'. Should be no magic there. I'm not sure of what 
you expect 'truss man -M path page' to do for you, but I'm quite sure 
you are twisting things around here. If truss manual page has been 
correctly installed you should be able to read the man page with 'man 
truss'. 'truss -help' would probably give you the closest to your 'truss 
man -M path page'. But maybe I don't know what the heck I'm talking 
about :)

/sondre 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: truss man doesn't show *anything*

2003-06-16 Thread Viktor Lazlo


On Mon, 16 Jun 2003, Steve Coile wrote:

 I've just installed a new software package that includes manual pages.
 When I try to read the pages with man -M path page, I'm told the
 manual page doesn't exist.  When I use truss man -M path page,
 truss generates *NO* output.  Is that normal?

Are you able to view normal manpages?

Cheers,

Viktor
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: truss man doesn't show *anything*

2003-06-16 Thread Matthew Seaman
On Mon, Jun 16, 2003 at 04:59:11AM -0400, Steve Coile wrote:
 I've just installed a new software package that includes manual pages.
 When I try to read the pages with man -M path page, I'm told the
 manual page doesn't exist.  When I use truss man -M path page,
 truss generates *NO* output.  Is that normal?

man(1) is a SUID executable:

% ls -la /usr/bin/man 
-r-sr-xr-x  1 man  wheel  29752 May 23 21:59 /usr/bin/man*

Hence truss(1) and other process tracing software like gdb(1) will
refuse to show you it's inner workings on the grounds of system
security.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: truss man doesn't show *anything*

2003-06-16 Thread Fernando Gleiser
On Mon, 16 Jun 2003, Steve Coile wrote:

 I've just installed a new software package that includes manual pages.
 When I try to read the pages with man -M path page, I'm told the
 manual page doesn't exist.  When I use truss man -M path page,
 truss generates *NO* output.  Is that normal?

Yes. It is normal. man is SUID and you can't trace (via ktrace, truss
or a debugger) a SUID executable, unless you're root.


Fer

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]