<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Debugging on Flatcar Container Linux</title>
    <link>/docs/latest/setup/debug/</link>
    <description>Recent content in Debugging on Flatcar Container Linux</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>Copyright © The Flatcar Project Contributors.

Copyright © Flatcar a Series of LF Projects, LLC.

For website terms of use, trademark policy and other project policies please see &lt;a href=&#34;https://lfprojects.org/policies/&#34;&gt;lfprojects.org/policies&lt;/a&gt;.
</copyright>
    <atom:link href="/docs/latest/setup/debug/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Collecting crash logs on Flatcar Container Linux</title>
      <link>/docs/latest/setup/debug/collecting-crash-logs/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/latest/setup/debug/collecting-crash-logs/</guid>
      <description>&lt;p&gt;In the unfortunate case that an OS crashes, it&amp;rsquo;s often extremely helpful to gather information about the event. There are two popular tools used to accomplished this goal: kdump and pstore. Flatcar Container Linux relies on pstore, a persistent storage abstraction provided by the Linux kernel, to store logs in the event of a kernel panic. Since this mechanism is just an abstraction, it depends on hardware support to actually persist the data across reboots. If the hardware support is absent, the pstore will remain empty. On AMD64 machines, pstore is typically backed by the ACPI error record serialization table (ERST) or EFI variables.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Debugging tools on Flatcar Container Linux</title>
      <link>/docs/latest/setup/debug/install-debugging-tools/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/latest/setup/debug/install-debugging-tools/</guid>
      <description>&lt;p&gt;You can use common debugging tools like tcpdump or strace with Toolbox. Using the filesystem of a specified Docker container Toolbox will launch a container with full system privileges including access to system PIDs, network interfaces and other global information. Inside of the toolbox, the machine&amp;rsquo;s filesystem is mounted to &lt;code&gt;/media/root&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;quick-debugging&#34;&gt;Quick debugging&lt;/h2&gt;&#xA;&lt;p&gt;By default, Toolbox uses the stock Fedora Docker container. To start using it, simply run:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/usr/bin/toolbox&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;em&gt;NOTE&lt;/em&gt;: For Fedora, it&amp;rsquo;s recommended to use at least 2048 MB RAM to avoid the following &lt;code&gt;dnf&lt;/code&gt; operation being killed by the OOM manager.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Reading the system log</title>
      <link>/docs/latest/setup/debug/reading-the-system-log/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/latest/setup/debug/reading-the-system-log/</guid>
      <description>&lt;p&gt;&lt;code&gt;journalctl&lt;/code&gt; is your interface into a single machine&amp;rsquo;s journal/logging. All service files insert data into the systemd journal. There are a few helpful commands to read the journal:&lt;/p&gt;&#xA;&lt;h2 id=&#34;read-the-entire-journal&#34;&gt;Read the entire journal&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ journalctl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-- Logs begin at Fri 2013-12-13 23:43:32 UTC, end at Sun 2013-12-22 12:28:45 UTC. --&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Dec 22 00:10:21 localhost systemd-journal[33]: Runtime journal is using 184.0K (max 49.9M, leaving 74.8M of free 499.0M, current limit 49.9M).&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Dec 22 00:10:21 localhost systemd-journal[33]: Runtime journal is using 188.0K (max 49.9M, leaving 74.8M of free 499.0M, current limit 49.9M).&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Dec 22 00:10:21 localhost kernel: Initializing cgroup subsys cpuset&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Dec 22 00:10:21 localhost kernel: Initializing cgroup subsys cpu&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Dec 22 00:10:21 localhost kernel: Initializing cgroup subsys cpuacct&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Dec 22 00:10:21 localhost kernel: Linux version 3.11.7+ (buildbot@10.10.10.10) (gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.13, pie-0.5.2)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;...&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;1000s more lines&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;read-entries-for-a-specific-service&#34;&gt;Read entries for a specific service&lt;/h2&gt;&#xA;&lt;p&gt;Read entries generated by a specific unit:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Performing manual Flatcar Container Linux rollbacks</title>
      <link>/docs/latest/setup/debug/manual-rollbacks/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/latest/setup/debug/manual-rollbacks/</guid>
      <description>&lt;p&gt;In the event of an upgrade failure, Flatcar Container Linux will automatically boot with the version on the rollback partition. Immediately after an upgrade reboot, the active version of Flatcar Container Linux can be rolled back to the version installed on the rollback partition, or downgraded to the version current on any lower release channel. There is no method to downgrade to an arbitrary version number.&lt;/p&gt;&#xA;&lt;p&gt;This section describes the automated upgrade process, performing a manual rollback, and forcing a channel downgrade.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Working with btrfs and common troubleshooting</title>
      <link>/docs/latest/setup/debug/btrfs-troubleshooting/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/latest/setup/debug/btrfs-troubleshooting/</guid>
      <description>&lt;p&gt;btrfs is a copy-on-write filesystem with full support in the upstream Linux kernel and several desirable features. In the past, Flatcar Container Linux shipped with a btrfs root filesystem to support Docker filesystem requirements at the time. As of version 561.0.0, Flatcar Container Linux ships with ext4 as the default root filesystem by default while still supporting Docker. Btrfs is still supported and works with the latest Flatcar Container Linux releases and Docker, but we recommend using ext4.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
