Re: [lfs-dev] Minor nitpick

2012-04-24 Thread Matt Burgess
On Tue, 2012-04-24 at 14:29 -0500, Bruce Dubbs wrote: > Running the same program as root fails. > > sudo make check TESTS=test-getlogin > > The program is doing: > > buf = getlogin(); > name = getenv( "USERNAME" ); > > And failing if they don't match. In my case, > > name=root > buf=bdubbs >

Re: [lfs-dev] Minor nitpick

2012-04-24 Thread Bruce Dubbs
Matthew Burgess wrote: > I had a thought last week that this omission of the setuid bit is what's > causing the test > failures in the gnulib tests included in the latest version of coreutils. > I'll see if I > can find time this week to test that theory out. The only test that fails is test-g

Re: [lfs-dev] Minor nitpick

2012-04-24 Thread Pierre Labastie
Le 24/04/2012 11:00, Matthew Burgess a écrit : > > 1) sudo chmod a=rx,u+s /tools/bin/su in chapter 5 coreutils > 2) Dropped the getlogin.c sed from chapter 6 coreutils > > The test still fails. It appears to be because of the way that jhalfs is > setting things > up. The test assumes you will ha

Re: [lfs-dev] Minor nitpick

2012-04-24 Thread Matthew Burgess
On Mon, 23 Apr 2012 12:01:33 -0600, Matthew Burgess wrote: > On Mon, 23 Apr 2012 12:48:37 -0500, Bruce Dubbs > wrote: > >> I'm in the middle of a jh build right now. Just finishing up Chapter 5. >> I'll take a look when it completes. The toolchain built without > complaint. > > Thanks. Note

Re: [lfs-dev] Minor nitpick

2012-04-23 Thread Matthew Burgess
On Mon, 23 Apr 2012 12:48:37 -0500, Bruce Dubbs wrote: > I'm in the middle of a jh build right now. Just finishing up Chapter 5. > I'll take a look when it completes. The toolchain built without complaint. Thanks. Note that the sed added in r9799 masks the test failures so you may want to re

Re: [lfs-dev] Minor nitpick

2012-04-23 Thread Bruce Dubbs
Matthew Burgess wrote: > On Mon, 23 Apr 2012 13:23:58 -0400, Jeremy Huntwork > wrote: >> On 4/23/12 1:11 PM, Pierre Labastie wrote: >>> The reason is that /tools/bin/su cannot work for a normal user, >>> because the setuid bit cannot be set at install in chapter 5 (if >>> installing as user lfs).

Re: [lfs-dev] Minor nitpick

2012-04-23 Thread Matthew Burgess
On Mon, 23 Apr 2012 13:23:58 -0400, Jeremy Huntwork wrote: > On 4/23/12 1:11 PM, Pierre Labastie wrote: >> The reason is that /tools/bin/su cannot work for a normal user, >> because the setuid bit cannot be set at install in chapter 5 (if >> installing as user lfs). Hence the choice of naming it

Re: [lfs-dev] Minor nitpick

2012-04-23 Thread Jeremy Huntwork
On 4/23/12 1:11 PM, Pierre Labastie wrote: > The reason is that /tools/bin/su cannot work for a normal user, > because the setuid bit cannot be set at install in chapter 5 (if > installing as user lfs). Hence the choice of naming it su-tools, to > prevent it to run (and fail) if the lfs user (who h

Re: [lfs-dev] Minor nitpick

2012-04-23 Thread Pierre Labastie
Le 23/04/2012 18:45, Jeremy Huntwork a écrit : > This changelog entry on 2012-04-05 isn't quite correct. It reads: > > [matthew] - Use su from chapter 6 Coreutils in the Bash instructions, > instead of the one from chapter 5. Install su as su rather than su-tools > in chapter 5. Fixes #3057. > > co

Re: [lfs-dev] Minor nitpick

2012-04-23 Thread Jeremy Huntwork
On 4/23/12 12:45 PM, Jeremy Huntwork wrote: > This changelog entry on 2012-04-05 isn't quite correct. It reads: > > [matthew] - Use su from chapter 6 Coreutils in the Bash instructions, > instead of the one from chapter 5. Install su as su rather than su-tools > in chapter 5. Fixes #3057. > > coreu

[lfs-dev] Minor nitpick

2012-04-23 Thread Jeremy Huntwork
This changelog entry on 2012-04-05 isn't quite correct. It reads: [matthew] - Use su from chapter 6 Coreutils in the Bash instructions, instead of the one from chapter 5. Install su as su rather than su-tools in chapter 5. Fixes #3057. coreutils in chapter 6 doesn't install su. So the su you're