OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004864 [lsof] packaging major always 2011-11-16 11:22 2011-11-17 10:40
Reporter abone28 View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004864: lsof have invalid group and no setgid bit
Description As of version 4.84 currently available in dublin and unstable lsof binaries belong to group bin instead of sys and don't have setgit bit set. This makes lsof unusable from regular user.
Additional Information pkgmap in the package contains

1 f none /opt/csw/bin/sparcv8/lsof 0755 root bin ...
1 f none /opt/csw/bin/sparcv8plus/lsof 0755 root bin ...
1 f none /opt/csw/bin/sparcv9/lsof 0755 root bin ...

but should be

1 f none /opt/csw/bin/sparcv8/lsof 2755 root sys ...
1 f none /opt/csw/bin/sparcv8plus/lsof 2755 root sys ...
1 f none /opt/csw/bin/sparcv9/lsof 2755 root sys ...

I'm attaching patch that works for me, but you need to test it on x86. I don't have x86 solaris box.
Tags No tags attached.
Attached Files ? file icon lsof-setgid.patch [^] (374 bytes) 2011-11-16 11:22

- Relationships

-  Notes
(0009415)
dam (administrator)
2011-11-16 15:45

This has been fixed in the Makefile:
  http://sourceforge.net/apps/trac/gar/changeset/16202 [^]
New packages are rebuilding now.
(0009416)
dam (administrator)
2011-11-16 20:27

Updated packages will show up shortly on
  http://buildfarm.opencsw.org/experimental.html#lsof [^]
Please verify if this fixes your issue.

I set 2755 on /opt/csw/bin/lsof, which is a hardlink to isaexec and permissions are not applied to hardlinks.
(0009417)
abone28 (reporter)
2011-11-17 02:59

I've checked package version lsof-4.84,REV=2011.11.16-SunOS5.10-sparc-CSW.pkg.gz from experimental. Works for me. Thank you!
(0009418)
dam (administrator)
2011-11-17 10:40

Updated lsof-4.84,REV=2011.11.16 released to unstable/.

- Issue History
Date Modified Username Field Change
2011-11-16 11:22 abone28 New Issue
2011-11-16 11:22 abone28 File Added: lsof-setgid.patch
2011-11-16 11:56 dam Status new => assigned
2011-11-16 11:56 dam Assigned To => dam
2011-11-16 15:45 dam Note Added: 0009415
2011-11-16 20:27 dam Note Added: 0009416
2011-11-16 20:27 dam Status assigned => feedback
2011-11-17 02:59 abone28 Note Added: 0009417
2011-11-17 10:40 dam Note Added: 0009418
2011-11-17 10:40 dam Status feedback => closed
2011-11-17 10:40 dam Resolution open => fixed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker