SUMMARY: kvm_open error with lsof

From: Destry Miller <dmiller_at_criticalarc.com>
Date: Tue Apr 24 2001 - 13:00:04 EDT
Well, I didn't get the answers I was looking for, but I was able to get lsof
to work on the developer's machines. Eyal Edri and Michael Hill suggested
changing the sticky bit on lsof to -rwsr-sr-x (from -rwxr-sr-x). That works,
and is an acceptable workaround for now. However, that's not how the other
machine that doesn't have this problem is setup. 

Leaving everyone as the default group and just adding them to /etc/group -
well, yes that works, but it's not really acceptable. 

I suspect it's a kernel configuration issue, or permissions on a file I'm
not aware of. For now, I'm just changing the sticky bit as a temporary
workaround.

Additional thanks to Lynette Bellini, Elizabeth Lee and Buddy Lumpkin for
their responses.


Destry Miller
Unix Systems Administrator

CriticalArc
150 California Street; 4th Floor
San Francisco, CA 94111
phone) 415.277.4803
cell) 510.703.9946
fax) 415.277.0158
dmiller@CriticalArc.com
http://www.CriticalArc.com

-----Original Message-----
From: Destry Miller [mailto:dmiller@criticalarc.com]
Sent: Friday, April 20, 2001 4:50 PM
To: 'sunmanagers@sunmanagers.org'
Subject: kvm_open error with lsof



I'm get the following error message when users try to use lsof (version
4.45) on a solaris 7 machine (SunOS 5.7 Generic_106541-12 sun4u sparc
SUNW,Ultra-4). 

$ lsof
lsof: kvm_open (namelist=default, core=default): Permission denied

If I edit the /etc/passwd file so the user's group ID is 1 instead of our
standard group ID of 15, the user no longer gets the error. On another
machine set up nearly identically (SunOS nigiri 5.7 Generic_106541-14 sun4u
sparc SUNW,Ultra-4), we don't get this error at all, regardless of whether
the user's group ID is 1 or 15.

I'm interested in what exactly this error is and how to fix the problem.

Thanks in advance for any help or pointers,

Destry Miller
Received on Tue Apr 24 18:00:04 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:53 EDT