<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>systemd</anon>
  </categories>
  <description>chroot 環境を作ったらネットワーク接続できない sudo chroot /mnt chroot したので普通と同じようにネットワークを扱えるかと思いきやできない。 dns エラーを切り分ける ping 1.1.1.1 # 通る ping g.co # 取らない。 DNSですね。 systemd-resolved がいた /etc/resolv.confが、systemd管理になってるのが原因 。 まじか。systemdは余計なお世話が多いですね。 echo nameserver 1.1.1.1 &gt;&gt; /etc/resolv.conf これで解決ですね。 やっぱり設定ファイルだけで動作する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2022%2F12%2F15%2F212221&quot; title=&quot;chroot でネットワーク接続ができない。  - それマグで！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-15 21:22:21</published>
  <title>chroot でネットワーク接続ができない。 </title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2022/12/15/212221</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
