Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-20 Thread William Hubbs
On Sun, Feb 18, 2018 at 11:07:59AM +0900, Benda Xu wrote: > Hi William, > > William Hubbs writes: > > > The second change is that baselayout is taking ownership of most of the > > directories it creates. This includes all directories in / and /usr > > excluding /lib* and /usr/lib*. Once we drop

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-17 Thread Benda Xu
Hi William, William Hubbs writes: > The second change is that baselayout is taking ownership of most of the > directories it creates. This includes all directories in / and /usr > excluding /lib* and /usr/lib*. Once we drop support for SYMLINK_LIB, > baselayout will take ownership of /lib* and /

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-17 Thread Benda Xu
Hi William, William Hubbs writes: > here is a link to an old, but brief discussion about this. > > https://archives.gentoo.org/gentoo-dev/message/2fc1f62c7cf225787fe52f4dace7368c > > I think we have talked about this several other times, but not done > anything about it. > > On Thu, Feb 08, 2018

Re: [gentoo-dev] newsitem: baselayout 2.5 changes (round 2)

2018-02-13 Thread Peter Stuge
William Hubbs wrote: > The first change is that ROOTPATH is no longer set. This means all of > the *sbin directories will be added to the default path for all users > instead of just the root user. Maybe add a sentence about why this is changing or even neccessary, to avoid perception of weakened

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-10 Thread Michał Górny
W dniu sob, 10.02.2018 o godzinie 10∶49 +, użytkownik Mike Auty napisał: > On 08/02/18 20:55, Mike Gilbert wrote: > > However, there are plenty of examples of commands that normal users > > may run from sbin. > > Hiya, > > I'm not really for or against the idea, but whenever the justification

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-10 Thread Mike Auty
On 08/02/18 20:55, Mike Gilbert wrote: > However, there are plenty of examples of commands that normal users > may run from sbin. Hiya, I'm not really for or against the idea, but whenever the justification for something is "there are plenty of examples" it's really helpful to have a number of the

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Rich Freeman
On Thu, Feb 8, 2018 at 6:25 PM, Michael Orlitzky wrote: > On 02/08/2018 06:12 PM, William Hubbs wrote: >> >> There is no bug here. The problem, as I said before in this thread, is >> that what goes in *sbin is arbitrary, and as Rich said, if you are >> relying on the path to prevent a non-root use

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Michael Orlitzky
On 02/08/2018 06:12 PM, William Hubbs wrote: > > There is no bug here. The problem, as I said before in this thread, is > that what goes in *sbin is arbitrary, and as Rich said, if you are > relying on the path to prevent a non-root user from running something > that only root should run, you are

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread William Hubbs
On Thu, Feb 08, 2018 at 05:49:52PM -0500, Michael Orlitzky wrote: > On 02/08/2018 05:33 PM, Rich Freeman wrote: > > > > There are actually quite a few binaries in /sbin and /usr/sbin which > > can be useful for non-root users. Sure, we could go through there > > carefully and move stuff to /bin b

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Michael Orlitzky
On 02/08/2018 05:33 PM, Rich Freeman wrote: > > There are actually quite a few binaries in /sbin and /usr/sbin which > can be useful for non-root users. Sure, we could go through there > carefully and move stuff to /bin but honestly doing what everybody > else does and just sticking /sbin in the

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread M. J. Everitt
On 08/02/18 22:33, William Hubbs wrote: > All, > > here is a link to an old, but brief discussion about this. > > https://archives.gentoo.org/gentoo-dev/message/2fc1f62c7cf225787fe52f4dace7368c > > I think we have talked about this several other times, but not done > anything about it. > > On Thu,

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread William Hubbs
All, here is a link to an old, but brief discussion about this. https://archives.gentoo.org/gentoo-dev/message/2fc1f62c7cf225787fe52f4dace7368c I think we have talked about this several other times, but not done anything about it. On Thu, Feb 08, 2018 at 10:17:59PM +, M. J. Everitt wrote: >

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Rich Freeman
On Thu, Feb 8, 2018 at 5:17 PM, M. J. Everitt wrote: > > > On 08/02/18 22:13, William Hubbs wrote: >> On Thu, Feb 08, 2018 at 03:55:02PM -0500, Mike Gilbert wrote: >>> However, there are plenty of examples of commands that normal users >>> may run from sbin. Moving these commands often causes prob

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Michael Orlitzky
On 02/08/2018 05:13 PM, William Hubbs wrote: > > There are no reasons to remove the *sbin directories from PATH; I know > of no other distros that do this. The first reason that comes to mind is that when I type something like p to remind me of a command name, I don't need to see 50 programs that

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread M. J. Everitt
On 08/02/18 22:13, William Hubbs wrote: > On Thu, Feb 08, 2018 at 03:55:02PM -0500, Mike Gilbert wrote: >> However, there are plenty of examples of commands that normal users >> may run from sbin. Moving these commands often causes problems for >> packages that either hard code absolute paths, or

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread William Hubbs
On Thu, Feb 08, 2018 at 03:55:02PM -0500, Mike Gilbert wrote: > On Thu, Feb 8, 2018 at 3:41 PM, Ulrich Mueller wrote: > >> On Thu, 8 Feb 2018, Mike Gilbert wrote: > > > >> Eliminating ROOTPATH seems like a significant change. Was this > >> officially discussed somewhere that I missed? > > > >>

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Mike Gilbert
On Thu, Feb 8, 2018 at 3:41 PM, Ulrich Mueller wrote: >> On Thu, 8 Feb 2018, Mike Gilbert wrote: > >> Eliminating ROOTPATH seems like a significant change. Was this >> officially discussed somewhere that I missed? > >> I actually support the change, but other people should be given the >> chan

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Ulrich Mueller
> On Thu, 8 Feb 2018, Mike Gilbert wrote: > Eliminating ROOTPATH seems like a significant change. Was this > officially discussed somewhere that I missed? > I actually support the change, but other people should be given the > chance to complain about it on the record. It contradicts the FHS

Re: [gentoo-dev] newsitem: baselayout 2.5 changes

2018-02-08 Thread Mike Gilbert
On Thu, Feb 8, 2018 at 2:52 PM, William Hubbs wrote: > All, > > here is a proposed newsitem for baselayout 2.5. > > Let me know what you think, including whether these are newsitem-worthy > or not. Eliminating ROOTPATH seems like a significant change. Was this officially discussed somewhere that