Re: suggestion for a modified chapter 6 build of glib

2011-10-05 Thread pham.the.chung0
what is e2fsprogs ?

2011/10/6 John Stanley 

>  The modified e2fsprogs build looks like a nice solution to me,
> especially since the external glib dependency looks like a bit
> of a 'slippery slope' to unnecessary complexity. Thanks everyone.
> John
>
> On 10/05/2011 08:06 PM, Andrew Benton wrote:
>
> On Wed, 05 Oct 2011 16:48:07 -0500
> Bruce Dubbs   wrote:
>
>
>  That sounds like a nice simple approach.  Does it still place its .pc
> files in /usr/lib/pkgconfig?
>
>
>  Yes, it installed /usr/lib/pkgconfig/ext2fs.pc
>
> Andy
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: shadow-4.1.4.3, process limits and fork bombs

2011-10-09 Thread pham.the.chung0
is it really. I have use it for my LFS. How can it be that. not nice anyone
use it.
can you send me the early version of it.
Thank you very much

2011/10/9 Andrew Benton 

> Hello,
>
> I originally sent this to LFS support by mistake; I shouldn't send
> emails late at night ;)
>
> I've wrote to LFS support before about fork bombs. Last July I learned
> how to prevent them by limiting the number of processes a user can have
> with /etc/limits. Recently I've been working on installing linux-PAM
> (for ssh, it gives me more options to use PAM. I want to open ssh to
> the internet so I'm hardening things up a bit, pam_faildelay.so is a
> wonderful thing).
>
> I first had a suspicion something was wrong when I saw this in
> /var/log/auth.log on one of our computers:
>
> Oct  8 13:16:26 router su[546]: Invalid limit string: ' U128'
>
> As part of my testing I tried a fork bomb and was horrified to discover
> that nothing I did with PAM could prevent the fork bomb from locking up
> the system. Then I tried it on a system that didn't have PAM (it still
> had just shadow) and the result was the same, the fork bomb made the
> system unresponsive. I can't remember what version of shadow I was
> using last July but I can't make shadow-4.1.4.3 limit the number of
> processes and protect against a fork bomb.
>
> I've just rebuilt a system with shadow-4.0.18.1 and when I run a fork
> bomb the shell fills up with "Resource temporarily unavailable" (ie,
> shadow-4.0.18.1 has done it's job and limited the number of processes),
> the system stays responsive, I can log out and shut down cleanly.
> Basically, shadow-4.0.18.1 works. The current version (shadow-4.1.4.3)
> is broken. With or without PAM it cannot limit the number of processes.
> Can anyone make shadow-4.1.4.3 limit the number of processes?
>
> It seems to me that any system with shadow-4.1.4.3 is vulnerable to a
> fork bomb. We should go back to 4.0.18.1, which works.
>
> Andy
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: man-db need "PKG_CONFIG=/tools/bin/true" to be built.

2011-10-09 Thread pham.the.chung0
I dont like to use pkg-config anymore

2011/10/10 Matthew Burgess :
> On 08/10/2011 16:33, Bruce Dubbs wrote:
>> Right.  I'll fix that today.
>>
>>     -- Bruce
>>
> Thanks for that, Bruce.  My working copy had that in (it had to have
> done, otherwise my jhalfs based build would have failed), but somehow it
> got lost.  It must have just been a quilt-related screw up on my part in
> my rush to commit it before the weekend.
>
> Regards,
>
> Matt.
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: LFS 7.0-rc2 Release

2011-10-13 Thread pham.the.chung0
Dear all,
I have just do make menuconfig with kernel linux-3.0.1.That kernel seem has
a problem
it doent have wireless or wiremax driver.I must ask these problem because if
you have same problem just share with me


2011/10/14 Bruce Dubbs 

> The Linux From Scratch community is pleased to announce the release of
> LFS Version 7.0-rc2. This is the second release candidate on the road to
> LFS-7.0. It includes numerous changes to LFS-6.8 (including updates to
> Linux-3.0.4, GCC-4.6.1, and Glibc-2.14.1).
>
> A somewhat major change was made in this version of the book by adding a
> new top level directory, /run. This directory has a tmpfs mounted and is
> used by programs like udev to store run time information. The
> directories /var/run and /var/lock are also linked to this directory.
> The bootscripts have been updated to accomodate this change. The
> bootscripts have also been modified to place supporting scripts in
> /lib/boot.
>
> The 7.0-rc2 also has a significant number of changes to the bootscripts
> beyond 7.0-rc1, incorporating many suggestions to make the scripts more
> reliable and to add significant enhancements.
>
> Note that the changes in the bootscripts will probably affect BLFS
> bootscripts that have not yet been updated.
>
> Another significant change is the addition of an md5sums file allowing
> users to check the integrity of all downloaded packages.
>
> Changes to the book also include editorial work on the explanatory
> material, improving both the clarity and accuracy of the text. We would
> encourage all users to read through this release of the book and test
> the instructions so that we can make the final release as good as possible.
>
> You can read the book online at
> http://www.linuxfromscratch.org/lfs/view/7.0-rc2/, or download to read
> locally from http://www.linuxfromscratch.org/lfs/downloads/7.0-rc2/.
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: Some newbie thoughts

2011-10-20 Thread pham.the.chung0
2011/10/20 feralert 

> Hi all,
>
> As I am new in LFS and this is my first attempt, I have a couple of
> comments that might help make the book easier to follow (at least to a
> non-english newbie like me). This are stuff that got me lost for a
> while and think that, if clarified, would make the book easier to
> follow (at least to newbies like me):
>
> - While going through the book the reader is not told what specific
> package the section is talking about:
> i.e.: in section "5.6. Linux-3.0.4 API Headers" it took me a while to
> realize I had to unpack package "linux-3.0.4.tar.gz" (sure I'm a
> newbie, but still...I was looking for a 'header' package or even a
> 'linux-headers' package... isnt it better to make it clear, something
> like: "First unpack package linux-3.0.4.tar.gz and get into the
> unpacked directory...")
>
> -The reader isn't told what to do with the building directories at the
> end of the section (you get rid of them or you keep them?)
> UPDATE: I found the following in the FAQ, so i guess this is it
> although IMHO would be much clearer if stated at the end of every
> section.
>
> "I didn't delete the source tree after my last attempt. Do I need to?
>
>Yes. In general make clean or make dist-clean can't be relied upon
> for clean sources. Especially when you have manually hacked the
> sources or applied patches to it you should first try again with a
> fresh unpacked package. The only exception to this rule is the linux
> kernel, which requires its sources to be present when third-party
> modules, such as the NVidia drivers, are needed."
>
>
> Cheers,
> Fred.
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page