Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105919

Summary: sys-fs/trustees removal notice
Product: Gentoo Linux Reporter: matts
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: enhancement CC: max, robbat2, treecleaner
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild for Linux Trustees 3.0
Extra Gentoo-related files for Linux Trustees 3.0
Updated ebuild
Descriptive example configuration file
conf.d file for Trustees service
Trustees service init script
Updated ebuild
Updated ebuild for trustees-3.0

Description matts 2005-09-13 20:04:46 UTC
The last version of Linux Trustees in Portage is sys-fs/trustees-2.10, which
works with kernel 2.4.  There is no ebuild for users who want to use Trustees
with kernel 2.6.  This ebuild installs Linux Trustees 3.0, which works (only)
with kernel 2.6!

Reproducible: Always
Steps to Reproduce:
Comment 1 matts 2005-09-13 20:06:55 UTC
Created attachment 68422 [details]
Ebuild for Linux Trustees 3.0

The gentoo-extra tarball requested by this ebuild (which includes the Gentoo
initscript and conf.d file) is in another attachment to the bug.
Comment 2 matts 2005-09-13 20:09:02 UTC
Created attachment 68423 [details]
Extra Gentoo-related files for Linux Trustees 3.0
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-26 13:29:56 UTC
Please resubmit the ebuild with the standard Gentoo header at the top, for copyright purposes.
Comment 4 matts 2006-06-01 12:48:30 UTC
Created attachment 88129 [details]
Updated ebuild

I've copied the standard copyright header into the ebuild.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-09-30 13:19:15 UTC
that prerm block is still questionable.
if the package is upgraded, it would run, and stop trustees on your system.
Comment 6 matts 2006-10-03 15:02:42 UTC
That's something I hadn't thought of when I wrote this.  So for ebuilds which install new services, is the standard to let the user figure out on their own that they need to stop the service before uninstalling?  Or is there an easy and reliable way to see if we are being upgrading vs. removed?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-03 15:57:21 UTC
yup, usually user responsibility.

no easy way to check upgrade vs. removal. There's a few seemingly trivial routes, but they are frought with non-trivial complications.

btw, you should also attach the contents of that tarball as several individual files here - there are some developers that (rightly so), won't touch tarballs/gzip/bzip stuff from untrusted source, given the past existence of gzip security holes.
Comment 8 matts 2006-11-20 10:55:48 UTC
Created attachment 102416 [details]
Descriptive example configuration file

An example configuration file with descriptive comments.
Comment 9 matts 2006-11-20 10:56:41 UTC
Created attachment 102417 [details]
conf.d file for Trustees service

The /etc/conf.d config file for the Trustees service.
Comment 10 matts 2006-11-20 10:57:13 UTC
Created attachment 102418 [details]
Trustees service init script

Trustees service init script.
Comment 11 matts 2006-11-20 11:08:59 UTC
Created attachment 102421 [details]
Updated ebuild

OK, the new ebuild has no more prerm stuff, and refers to individual config files in ${FILESDIR}, which should be /usr/portage/sys-apps/trustees/files.  That seems to be the usual place to put init.d and conf.d files.
Comment 12 matts 2006-11-20 11:27:55 UTC
Created attachment 102422 [details]
Updated ebuild for trustees-3.0

Whoops, I forgot to remove the gentoo-extras tar file from the src list.
Comment 13 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-29 19:06:03 UTC
(In reply to comment #12)
> Created an attachment (id=102422) [edit]
> Updated ebuild for trustees-3.0
> 
> Whoops, I forgot to remove the gentoo-extras tar file from the src list.
> 

Perhaps this package should now be removed?

"The reason for this rather large change in how trustees is developed is that for one thing, it makes life actually a bit simpler for me. Secondly, as of 2.6.24-rc1 (and the upcoming 2.6.24 kernel) the API's I'm using are no longer available for kernel modules. Trustees will *need* to be compiled statically."
Comment 14 matts 2008-06-29 19:45:12 UTC
Yes, this should be removed now, as the package only works with older kernels.
Comment 15 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-29 20:34:44 UTC
(In reply to comment #14)
> Yes, this should be removed now, as the package only works with older kernels.
> 

Okay, sorry we couldn't get it in the tree back when you were working on it! Thanks for the prompt response.

Comment 16 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-02 13:49:01 UTC
removed from tree.