[gentoo-dev] Re: RFC: iotop needs to run as root after kernel change

2012-04-04 Thread Duncan
Ciaran McCreesh posted on Wed, 04 Apr 2012 11:50:54 +0100 as excerpted: > On Wed, 04 Apr 2012 08:32:41 +0200 justin wrote: >> 3. >> file capabilities (can this be done with portage) > > It can't. We've had discussions about caps before, and I imagine it > would get into EAPI 5 without objections

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Brian Harring
On Wed, Apr 04, 2012 at 08:36:37PM -0400, Mike Gilbert wrote: > On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring wrote: > > On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote: > >> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary > >> wrote: > >> > I have a feature request for distutil-ng (

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Mike Gilbert
On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring wrote: > On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote: >> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary >> wrote: >> > I have a feature request for distutil-ng (or maybe it's already >> > possible but I don't know how). >> > >> > I h

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Brian Harring
On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote: > On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary > wrote: > > I have a feature request for distutil-ng (or maybe it's already > > possible but I don't know how). > > > > I have a package that depends on python-dateutil:python-2 for > >

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Mike Gilbert
On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary wrote: > I have a feature request for distutil-ng (or maybe it's already > possible but I don't know how). > > I have a package that depends on python-dateutil:python-2 for > python2_x and python-dateutil:python-3 for python3_x. > Would it be possible

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Corentin Chary
On Wed, Apr 4, 2012 at 4:22 PM, Mike Gilbert wrote: > On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary > wrote: >> I have a package that depends on python-dateutil:python-2 for >> python2_x and python-dateutil:python-3 for python3_x. >> Would it be possible to have virtual targets like "python, py

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Mike Gilbert
On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary wrote: > I have a package that depends on python-dateutil:python-2 for > python2_x and python-dateutil:python-3 for python3_x. > Would it be possible to have virtual targets like "python, python2, > python3, pypi, jithon" ? > With regards to python-d

Re: [gentoo-dev] RFC: iotop needs to run as root after kernel change

2012-04-04 Thread Mike Gilbert
On Wed, Apr 4, 2012 at 2:32 AM, justin wrote: > 2. > suid it (bad in my view) > 3. > file capabilities (can this be done with portage) > iotop is a python script, so these were not really options anyway. Unless you wrote a wrapper in C or something. :)

Re: [gentoo-dev] RFC: iotop needs to run as root after kernel change

2012-04-04 Thread justin
On 04/04/12 14:56, Greg KH wrote: > On Wed, Apr 04, 2012 at 08:32:41AM +0200, justin wrote: >> Hi, >> >> after this change >> >> https://github.com/torvalds/linux/commit/1a51410abe7d0ee4b1d112780f46df87d3621043 >> >> iotop cannot be used as user anymore. >> Any suggestions how to proceed? >> >> Th

Re: [gentoo-dev] RFC: iotop needs to run as root after kernel change

2012-04-04 Thread Greg KH
On Wed, Apr 04, 2012 at 08:32:41AM +0200, justin wrote: > Hi, > > after this change > > https://github.com/torvalds/linux/commit/1a51410abe7d0ee4b1d112780f46df87d3621043 > > iotop cannot be used as user anymore. > Any suggestions how to proceed? > > The solution I see are > > 1. > Leave it to

Re: [gentoo-dev] RFC: iotop needs to run as root after kernel change

2012-04-04 Thread Ciaran McCreesh
On Wed, 04 Apr 2012 08:32:41 +0200 justin wrote: > 3. > file capabilities (can this be done with portage) It can't. We've had discussions about caps before, and I imagine it would get into EAPI 5 without objections if you can come up with a spec that describes how it should work (bear in mind tha

Re: [gentoo-dev] RFC: iotop needs to run as root after kernel change

2012-04-04 Thread Alec Warner
2012/4/4 Chí-Thanh Christopher Nguyễn : > justin schrieb: >> iotop cannot be used as user anymore. >> Any suggestions how to proceed? >> >> Leave it to root (Fedora and Suses way) >> suid it (bad in my view) > > I suggest to have a suid USE flag (disabled by default) so the user can > choose betwee

Re: [gentoo-dev] RFC: iotop needs to run as root after kernel change

2012-04-04 Thread Chí-Thanh Christopher Nguyễn
justin schrieb: > iotop cannot be used as user anymore. > Any suggestions how to proceed? > > Leave it to root (Fedora and Suses way) > suid it (bad in my view) I suggest to have a suid USE flag (disabled by default) so the user can choose between the two. Maybe advertise this change in an elog me

Re: [gentoo-dev] RFC: iotop needs to run as root after kernel change

2012-04-04 Thread viv...@gmail.com
Il 04/04/2012 08:43, "Paweł Hajdan, Jr." ha scritto: On 4/4/12 8:32 AM, justin wrote: 1. Leave it to root (Fedora and Suses way) I think that's the best option, at least for now. 2. suid it (bad in my view) Agreed, that'd be very bad, any crashing bug in it could become a privilege escalatio

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Corentin Chary
On Mon, Mar 26, 2012 at 6:23 PM, Krzysztof Pawlik wrote: > On 26/03/12 18:11, Krzysztof Pawlik wrote: >> On 26/03/12 09:20, justin wrote: >>> On 25/03/12 20:56, Krzysztof Pawlik wrote: On 28/02/12 22:13, Krzysztof Pawlik wrote: > If there are no objections then during the weekend (March 3