Re: [lfs-support] systemd-231: Cannot resolve properly using the stub resolver

2016-10-10 Thread Wayne Blaszczyk
On Mon, 2016-10-10 at 16:08 -0500, Douglas R. Reno wrote:
> 
> 
On Thu, Oct 6, 2016 at 12:18 AM, aur basica  wrote:On Wed, 
Oct 5, 2016 at 9:43 PM, Wayne Blaszczyk  wrote:The 
instructions on how to install systemd-231 
> involves the following instruction.



Fix a broken symlink created by the systemd installation process:



rm -fv /etc/resolv.conf

ln -s ../lib/systemd/resolv.conf /etc/resolv.conf



If I do this, it breaks DNS resolving. I find that more than half of the urls 
that I visit (via firefox) do not work.



If I revert back to to the old way,

ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

then everything works fine.

Has no one come across this?



I've found the following that matches my symptoms to a tee:



https://github.com/systemd/systemd/issues/3826



Regards,

Wayne.









--

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



Hi Wayne,

I discovered the same issue as well. I had issues downloading packages with 
curl so at the time I thought it might've been an issue with it till I saw it 
happen with wget.

--

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


Wayne, 

I fixed this at r11133. Can you please check the development book tomorrow and 
tell me what you think?

I might add thi


I had a look at revision 11133.
The two commands:
rm -fv /etc/resolv.conf
ln -sv /run/systemd/resolve/resolv.conf /etc/resolv.conf
can be removed altogther as they are not needed. Make install creates that link 
in the first place.
The errata page will need to mention that this link will need to re-created 
only if the previous re-creation of the link was executed, otherwise the steps 
should be skipped.


Regards,
Wayne.
-- 
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] gcc 4.1.2 when make bootstrap

2016-10-10 Thread chenyiwei02
Thans for you,  I will be improved.
Forgive me, a newer.-- 
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] gcc 4.1.2 when make bootstrap

2016-10-10 Thread akhiezer
> From lfs-support-boun...@lists.linuxfromscratch.org Tue Oct 11 02:16:53 2016
> Date: Tue, 11 Oct 2016 09:37:19 +0800 (GMT+08:00)
> From: chenyiwei02 
> To: "lfs-support@lists.linuxfromscratch.org"
>  
> Subject: Re: [lfs-support] gcc 4.1.2 when make bootstrap
>
>
>
> I am sorry for I donot use the Re: before.
> And thanks for your answer.But, what should I do without using OS released  
> around 2008,to achieve it use LFS6.3 .


There appears to be a Chineses translation of 7.7-systemd - ref:

  http://www.linuxfromscratch.org/lfs/read.html
  https://linux.cn/lfs/LFS-BOOK-7.7-systemd/
  http://lctt.github.io/


Also, if you've read 6.8 , then a later book (in English) may still
be understandable ok: the basic principles are still much the same.



hth,

akh




--
-- 
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] gcc 4.1.2 when make bootstrap

2016-10-10 Thread chenyiwei02
I am sorry for I donot use the Re: before.
And thanks for your answer.But, what should I do without using OS released  
around 2008,to achieve it use LFS6.3 .-- 
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] (无主题)

2016-10-10 Thread chenyiwei02
thanks for your answer,but if I can compile it without using OS released around 
2008.
if it is possible, what should I do?
-- 
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] gcc 4.1.2 when make bootstrap

2016-10-10 Thread Bruce Dubbs

chenyiwei02 wrote:



  I'm a chinese , forgive me if where I write not right, I will try to
express want I want to say.

  It's the first time I follow the book (LFS6.3),and first time ask a 
question
for foreigner.But I'm a user of linux (Centos) more than 2 years, and if some
errors you met while compile tarballs is really hard to solve as you know.
  The error I met is as following, when I run
"make bootstrap" ,on centos 6.5(32bit),following the book.
  I have already looked for hints form FAQ, and Mailing Lists,and also
searched it by search engine except google which is limited by the government.
  Thanks.

make[1]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
make CC=" stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" CC_FOR_BUILD=" 
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" \
STAGE_PREFIX=stage1/ \
ADAFLAGS="" CFLAGS="-O2 -g -fomit-frame-pointer" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" 
STRICT_WARN="-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute " libdir=/tools/lib LANGUAGES="c gcov 
gcov-dump " MAKEINFO="/mnt/lfs/sources/gcc-4.1.2/missing makeinfo --split-size=500" MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= 
OUTPUT_OPTION="-o \$@" \
CFLAGS="-O2 -g -fomit-frame-pointer" WERROR=""
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
build/genmodes -h > tmp-modes.h
/bin/sh: line 1: 20257 Segmentation fault  (core dumped) build/genmodes -h 
> tmp-modes.h
make[2]: *** [s-modes] Error 139
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2


LFS 6.3 was released 8 years ago (2008).  It may be the only Chinese 
translation, but there have been a huge number of changes since then.


CentOS 6.5 was released in 2013.  It is likely that it will not build 
every package from 2008 without serious updates.


If someone wants to translate the current version of LFS to Chinese, it is 
much more likely to succeed.


  -- 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


[lfs-support] gcc 4.1.2 when make bootstrap

2016-10-10 Thread chenyiwei02


 I'm a chinese , forgive me if where I write not right, I will try to
express want I want to say.

 It's the first time I follow the book (LFS6.3),and first time ask a 
question
for foreigner.But I'm a user of linux (Centos) more than 2 years, and if some
errors you met while compile tarballs is really hard to solve as you know.
 The error I met is as following, when I run
"make bootstrap" ,on centos 6.5(32bit),following the book.
 I have already looked for hints form FAQ, and Mailing Lists,and also
searched it by search engine except google which is limited by the government.
 Thanks.

make[1]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
make CC=" stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" CC_FOR_BUILD=" 
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" \
   STAGE_PREFIX=stage1/ \
   ADAFLAGS="" CFLAGS="-O2 -g -fomit-frame-pointer" LDFLAGS="" 
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long 
-Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute " 
libdir=/tools/lib LANGUAGES="c gcov gcov-dump " 
MAKEINFO="/mnt/lfs/sources/gcc-4.1.2/missing makeinfo --split-size=500" 
MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
   CFLAGS="-O2 -g -fomit-frame-pointer" WERROR=""
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
build/genmodes -h > tmp-modes.h
/bin/sh: line 1: 20257 Segmentation fault  (core dumped) build/genmodes -h 
> tmp-modes.h
make[2]: *** [s-modes] Error 139
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2





-- 
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] systemd-231: Cannot resolve properly using the stub resolver

2016-10-10 Thread Douglas R. Reno
On Thu, Oct 6, 2016 at 12:18 AM, aur basica  wrote:

> On Wed, Oct 5, 2016 at 9:43 PM, Wayne Blaszczyk 
> wrote:
>
>> The instructions on how to install systemd-231 involves the following
>> instruction.
>>
>> Fix a broken symlink created by the systemd installation process:
>>
>> rm -fv /etc/resolv.conf
>> ln -s ../lib/systemd/resolv.conf /etc/resolv.conf
>>
>> If I do this, it breaks DNS resolving. I find that more than half of the
>> urls that I visit (via firefox) do not work.
>>
>> If I revert back to to the old way,
>> ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
>> then everything works fine.
>> Has no one come across this?
>>
>> I've found the following that matches my symptoms to a tee:
>>
>> https://github.com/systemd/systemd/issues/3826
>>
>> Regards,
>> Wayne.
>>
>>
>>
>>
>> --
>> 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
>>
>
> Hi Wayne,
>
> I discovered the same issue as well. I had issues downloading packages
> with curl so at the time I thought it might've been an issue with it till I
> saw it happen with wget.
>
> --
> 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
>
>
Wayne,

I fixed this at r11133. Can you please check the development book tomorrow
and tell me what you think?

I might add this to the errata page soon.
-- 
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] B- and LFS Roadmap

2016-10-10 Thread Bruce Dubbs

Rob wrote:

Do we have something like a milestone tracker that shows the
status/progress of B and LFS development?


http://wiki.linuxfromscratch.org/lfs/roadmap
http://wiki.linuxfromscratch.org/blfs/roadmap

But those are a bit misleading since new tickets are opened for updated 
packages every day.  Probably better is:



http://wiki.linuxfromscratch.org/lfs/query?status=assigned&status=new&status=reopened&group=milestone&col=id&col=summary&col=status&col=type&col=time&order=priority

and

http://wiki.linuxfromscratch.org/blfs/query?status=assigned&status=new&status=reopened&groupdesc=1&group=milestone&col=id&col=summary&col=status&col=owner&col=component&col=time&order=owner

  -- 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


[lfs-support] B- and LFS Roadmap

2016-10-10 Thread Rob
Do we have something like a milestone tracker that shows the
status/progress of B and LFS development?

-- 
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] B- and LFS Roadmap

2016-10-10 Thread akhiezer
> From: "Rob" 
> Date: Mon, 10 Oct 2016 10:49:10 -0500
> Subject: [lfs-support] B- and LFS  Roadmap
>
> Do we have something like a milestone tracker that shows the
> status/progress of B and LFS development?
>

Yes: ref b/lfs sections of website; u want to arrive at respective 'trac' 
areas.



akh





--
-- 
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