<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12216</bug_id>
          
          <creation_ts>2017-10-11 00:52:46 +0000</creation_ts>
          <short_desc>dm-verity boot support</short_desc>
          <delta_ts>2017-10-12 09:20:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>jonathan.yong</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77509</commentid>
    <comment_count>0</comment_count>
    <who name="">jonathan.yong</who>
    <bug_when>2017-10-11 00:52:46 +0000</bug_when>
    <thetext>dm-verity is a platform independent way of verifying the root filesystem at the block level, but consequently, the filesystem is read-only.

So far, one of the notable issues found is pulseaudio failing because /home is read-only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77513</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-10-11 09:07:03 +0000</bug_when>
    <thetext>I&apos;d always expected /home would be a separate mount point under dm-verity so that the system is actually useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77514</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-10-11 09:46:18 +0000</bug_when>
    <thetext>Pulseaudio wants to write state to $HOME.  So will others.  You either need to have a tmpfs for state/sockets/etc (in /run or similar) which you can configure pulseaudio to use, or put $HOME in a separate read/write partition.

I&apos;ve also a hunch that you may be using sysv and switching to systemd will make pulse use /run, but then again there may be a hard-coded $HOME in Pulseaudio somewhere.

I&apos;m going to close this as it&apos;s too vague, as you said dm-verity works and RefKit also use it to validate the installer media.  Please open specific bugs for specific issues that are not just integration issues in your system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77529</commentid>
    <comment_count>3</comment_count>
    <who name="">jonathan.yong</who>
    <bug_when>2017-10-11 23:44:33 +0000</bug_when>
    <thetext>We&apos;re using systemd, and yes, we&apos;re already aware of the need for writeable /home.

I am not aware of the refkit, is that a layer to enable dm-verity support?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77539</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-10-12 09:20:34 +0000</bug_when>
    <thetext>refkit is a distro that targets IoT (hosted on git.yoctoproject.org).

Reclosing, please file concrete bugs for concrete problems.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>