[lfs-support] LFS with PAM

2014-12-04 Thread Tim Tassonis
Hi all

I'm now just building my second LFS 7.6 system where I decided to
integrate PAM into the build, to not having to install shadow and libcap
twice in order for PAM to work.

My order, diverting from the book, was:
- ncurses (same)
- attr (same)
- acl (same)
- pam (new)
- sed (new)
- libcap (new)
- shadow (new)
- psmisc (old)

This got me into an error because PAM requires flex, which is not yet
installed. So I moved flex before pam and that seemed to work fine.

My question now is: shall a rebuild flex at the usual stage after m4
again? Does the flex build then change because of some optional
dependency on flex?

Kind regards
Tim
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.2 smoke tests

2014-12-04 Thread William Harrington
On Thu, December 4, 2014 05:32, Paul Rogers wrote:
 Finished the book, now I'm smoke testing the boot.  The problem is
 /var/log/bootlog can't be written because the FS is still RO.
 --
 Paul Rogers

As to what Bruce has replied with, also check that the proper kernel
options are in the config of your running kernel:

http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.html

Mainly devtmpfs

Sincerely,

William Harrington
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [lfs-dev] LFS with PAM

2014-12-04 Thread Bruce Dubbs

Tim Tassonis wrote:

Hi all

I'm now just building my second LFS 7.6 system where I decided to
integrate PAM into the build, to not having to install shadow and libcap
twice in order for PAM to work.

My order, diverting from the book, was:
- ncurses (same)
- attr (same)
- acl (same)
- pam (new)
- sed (new)
- libcap (new)
- shadow (new)
- psmisc (old)

This got me into an error because PAM requires flex, which is not yet
installed. So I moved flex before pam and that seemed to work fine.

My question now is: shall a rebuild flex at the usual stage after m4
again? Does the flex build then change because of some optional
dependency on flex?


I think you will be fine.  flex is a pretty basic command and doesn't 
have any unusual dependencies that I know of that are not built in 
Chapter 5.


  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.2 smoke tests

2014-12-04 Thread Paul Rogers
 No.  The bootscripts are supposed to write to /run which is a tmpfs
 mounted in mountvirtfs (the very first script).

 You need the entry in fstab to be:

 tmpfs  /run tmpfs  defaults   0 0

 Then the mountfs remounts / as rw.

 Finally at the end of the bootscipts the rc script appends the
 boot.log in /run (/run/var/bootlog) to /var/log/boot.log.

 Note too that /var/run needs to be a symlink to /run.

 As to what Bruce has replied with, also check that the proper kernel
 options are in the config of your running kernel:

 http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.html

 Mainly devtmpfs

Yep, sure I got all that, CP for fstab.  The Pseudo File Systems are a
bit different in 3.5.2 than in the new book, but I've got them.  I
started with a defconfig, then edited out some of the stuff not needed
for an initial boot kernel, e.g. sound, added some stuff I figured might
be, e.g. USB thumb-drives,  I'll be able to verify  snoop this evening.
(TV's doing a pledge break. ;-) )  But I just got a replacement CPU
for the box that was throwing machine checks to install too.
-- 
Paul Rogers
paulgrog...@fastmail.fm
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.com - A no graphics, no pop-ups email service

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] [OT] CLFS

2014-12-04 Thread rob


Site seems to have been down for a couple of weeks.

Tried mailing CLFS list but returned Undelivered.

Anybody heard any news?

Rob

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [OT] CLFS

2014-12-04 Thread Douglas R. Reno
I apologize for the top post. I forgot i was on my cell phone.

Douglas R. Reno
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [OT] CLFS

2014-12-04 Thread Douglas R. Reno
They seem to have a backup domain at http://clfs.org. I would try there.

Douglas R. Reno
On Dec 4, 2014 6:01 PM, rob r...@rektau.ukfsn.org wrote:


 Site seems to have been down for a couple of weeks.

 Tried mailing CLFS list but returned Undelivered.

 Anybody heard any news?

 Rob

 --
 http://lists.linuxfromscratch.org/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/blfs/faq.html
 Unsubscribe: See the above information page

 Do not top post on this list.

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?

 http://en.wikipedia.org/wiki/Posting_style

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [OT] CLFS

2014-12-04 Thread rob

On 05/12/14 00:03, Douglas R. Reno wrote:

They seem to have a backup domain at http://clfs.org. I would try there.

Douglas R. Reno



Thanks.


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.2 smoke tests

2014-12-04 Thread Paul Rogers
OK, whose great idea was it to put the devtempfs in Device Drivers
Common?  8-[  Still no joy because rc.d/rcsysinit.d does not exist! 
Correct.  /etc/inittab si runs rc sysinit.  So the code in rc tries to
mash rc  sysinit together to make a directory name.  None such! 
/etc/rc.d DOES however have an rcS.d which does have S10mountvirtfs and
other such intriguing names, and that disconnect is NOT my doing! ;-)  
I think I need to add a final script to Ch8 called fixups, for such
things, where I can simply rename it.

AND HOW DO I TURN OFF THE BLOODY TIMESTAMPS?  I hate them!  One reason
I've never cottoned onto the Debian style systems!  What the hell good
are they?  I DON'T CARE how long each step takes!  Useless space
wasters!  One way or another they are going away!
-- 
Paul Rogers
paulgrog...@fastmail.fm
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.com - Access your email from home and the web

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.2 smoke tests

2014-12-04 Thread Paul Rogers
# mv /etc/rc.d/rcS.d /etc/rc.d/rcsysinit.d

No smoke!  Boot and shutdown.  Oh joy!  ;-)
-- 
Paul Rogers
paulgrog...@fastmail.fm
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.com - A fast, anti-spam email service.

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style