Re: [lfs-dev] ANNOUNCEMENT - Major Proposed Changes to LFS

2020-06-17 Thread Kevin Buckley via lfs-dev
On Wed, 17 Jun 2020 at 22:01, Pierre Labastie via lfs-dev wrote: > > Please tell us what you think of: > http://www.linuxfromscratch.org/~pierre/lfs-svn/index.html > (I've not bee able to remove the latin numbering in the "Preliminary > material") Seems a much better separation of the "introducto

Re: [lfs-dev] Using Chapter 7's Util-linux for su (for a short time)

2020-06-17 Thread Kevin Buckley via lfs-dev
On Wed, 17 Jun 2020 at 21:48, Pierre Labastie via lfs-dev wrote: > > > Can anyone think of any reasons why I would not be able to use the su > > from Util-linux, until such time as Chapter 8's (nearly typed Chapter > > 6's > > there) Shadow get's built? > > Actually, We have looked at it (you may

Re: [lfs-dev] Stripping Again: loss of suid on some files

2020-06-17 Thread Ken Moffat via lfs-dev
On Wed, Jun 17, 2020 at 03:48:07PM -0500, Bruce Dubbs via lfs-dev wrote: > On 6/17/20 3:36 PM, Ken Moffat via lfs-dev wrote: > > > On this build, after misreading 'stripping' earlier in the book (and > > trashing the partial system by running it from within chroot) I had > > to start over. So, be

Re: [lfs-dev] Stripping Again: loss of suid on some files

2020-06-17 Thread Bruce Dubbs via lfs-dev
On 6/17/20 3:36 PM, Ken Moffat via lfs-dev wrote: On this build, after misreading 'stripping' earlier in the book (and trashing the partial system by running it from within chroot) I had to start over. So, before trying 'stripping again' I exited, unmounted, copied everything, then remounted be

Re: [lfs-dev] Stripping Again: loss of suid on some files

2020-06-17 Thread Ken Moffat via lfs-dev
On Wed, Jun 17, 2020 at 09:46:16PM +0200, Pierre Labastie via lfs-dev wrote: > On Wed, 2020-06-17 at 19:55 +0100, Ken Moffat via lfs-dev wrote: > > I just tried: > sudo strip /bin/su. > The size was reduced from 139512 to 41424 bytes, and it is still suid > afterwards. Not sure what may explain wh

Re: [lfs-dev] Stripping Again: loss of suid on some files

2020-06-17 Thread Ken Moffat via lfs-dev
On Wed, Jun 17, 2020 at 02:19:41PM -0500, Bruce Dubbs via lfs-dev wrote: > On 6/17/20 1:55 PM, Ken Moffat via lfs-dev wrote: > > Bringing this here now that Scott Andrews has pointed me towards the > > source of why users could not su on my new system: loss of suid. > > > > In the past I have not

Re: [lfs-dev] Stripping Again: loss of suid on some files

2020-06-17 Thread Pierre Labastie via lfs-dev
On Wed, 2020-06-17 at 19:55 +0100, Ken Moffat via lfs-dev wrote: > Bringing this here now that Scott Andrews has pointed me towards the > source of why users could not su on my new system: loss of suid. > > In the past I have not usually run what was in 'Stripping Again' > because my CFLAGS drop d

Re: [lfs-dev] Stripping Again: loss of suid on some files

2020-06-17 Thread Bruce Dubbs via lfs-dev
On 6/17/20 1:55 PM, Ken Moffat via lfs-dev wrote: Bringing this here now that Scott Andrews has pointed me towards the source of why users could not su on my new system: loss of suid. In the past I have not usually run what was in 'Stripping Again' because my CFLAGS drop debug information. But

[lfs-dev] Stripping Again: loss of suid on some files

2020-06-17 Thread Ken Moffat via lfs-dev
Bringing this here now that Scott Andrews has pointed me towards the source of why users could not su on my new system: loss of suid. In the past I have not usually run what was in 'Stripping Again' because my CFLAGS drop debug information. But I've now started to allow that in elfutils (to get t

Re: [lfs-dev] ANNOUNCEMENT - Major Proposed Changes to LFS

2020-06-17 Thread Pierre Labastie via lfs-dev
On Tue, 2020-06-16 at 19:58 +0800, Kevin Buckley via lfs-dev wrote: > On Mon, 15 Jun 2020 at 20:01, Bruce Dubbs via lfs-dev > wrote: > > > I'd like to see the "cross-compiling 101" sections, so > > > > > > Introduction > > > Toolchain Technical Notes > > > General Compilation Instructions > > >

Re: [lfs-dev] Using Chapter 7's Util-linux for su (for a short time)

2020-06-17 Thread Pierre Labastie via lfs-dev
On Wed, 2020-06-17 at 20:28 +0800, Kevin Buckley via lfs-dev wrote: > With the recent reorganisation comes the addition of Util-linux into > the > chroot environment. > > The instructions there follow the standard LFS practice of disabling > various > utilities from Util-linux , including the su u

[lfs-dev] Using Chapter 7's Util-linux for su (for a short time)

2020-06-17 Thread Kevin Buckley via lfs-dev
With the recent reorganisation comes the addition of Util-linux into the chroot environment. The instructions there follow the standard LFS practice of disabling various utilities from Util-linux , including the su utility, which gets provided by the Shadow package. As someone who builds LFS foll