On 9/14/2014 4:57 PM, Armin K. wrote:
On 14.9.2014 22:42, Alan Feuerbacher wrote:
On 9/14/2014 2:40 PM, Armin K. wrote:
On 14.9.2014 20:20, Alan Feuerbacher wrote:
Something else I found: In the instructions in the BLFS book for
DHCP-4.3.1 under "Configuring ISC DHCP", having found the correct name
for my interface, I went back to the host chroot environment to see if
these two commands worked:
systemctl start dhclient@enp3s0
systemctl enable dhclient@enp3s0
Both gave this message:
Running in chroot, ignoring request.
After a bit of experimenting, I found that running the commands in the
booted system appears to be necessary.
Comments?
What would be the point of starting any service in a chroot environment
(that does not count individual service's chroot for security and
stuff)? In chroot, you use your host's networking setup and it would be
pointless to let chrooted system override that.
I obviously don't really understand what chroot is for. Just doing
monkey see monkey do for the time being. Which is partly why I'm fooling
with LFS, because I've learned A LOT so far.
And as a matter of fact, while LFS is all done in chroot, BLFS does not
assume that. It assumes exactly the opposite: That they are being run
from a running system (more or less).
Hmm. Up to this point I've done most BLFS stuff on the host system,
because I found several years ago that it was much easier having all the
tools available that are not yet installed on the target system.
What are the implications of doing most BLFS stuff on the host system in
chroot, as opposed to doing it on the running target system? In my
ignorance, I would have thought that using chroot on the target system
was the way to go.
Alan
--
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