<?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>8397</bug_id>
          
          <creation_ts>2015-09-25 10:35:19 +0000</creation_ts>
          <short_desc>ROOTLESS_X should be used  as default for Poky BSP</short_desc>
          <delta_ts>2016-06-09 15:44: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>BSPs</product>
          <component>bsps-configuration</component>
          <version>unspecified</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54660</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-09-25 10:35:19 +0000</bug_when>
    <thetext>Filing this based on chat discussion with Ross, Richard.

Currently no meta-intel bsp uses ROOTLESS_X to run X as &quot;xuser&quot; instead of root. This should be done where possible (and obviously bugs preventing it should be fixed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54916</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-10-01 21:23:45 +0000</bug_when>
    <thetext>Currently we don&apos;t enable ROOTLESS_X by default in Poky (the Yocto Project Distro) at all, so why should we make a policy decision to enable ROOTLESS_X for meta-intel specifically, this would mean different BSPs have different distro policies. 

The enabling of ROOTLESS_X should be done at a Distro Level not BSP level.

Are there specific issues that need to be addressed?  I just completed a ROOTLESS_X = &quot;1&quot; build and booted with no issues.

I guess I would like to understand the background of the discussion that was had with Ross and Richard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54932</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-10-02 11:51:57 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Are there specific issues that need to be addressed?  I just completed a
&gt; ROOTLESS_X = &quot;1&quot; build and booted with no issues.

If we don&apos;t test it then it will be broken. If not now, then later. The last use of ROOTLESS_X in meta-intel I can find was in fact removed because it broke X.

&gt; I guess I would like to understand the background of the discussion that was
&gt; had with Ross and Richard.

This was a short discussion on connman that was changing the build based on ROOTLESS_X quite needlessly: as an offshoot of that it was discovered that nothing actually tests ROOTLESS_X anymore. This was seen as Bad Thing so I promised to file a bug so we don&apos;t forget.

The impression that it should be a bsp-specific decision was mine and could very well be wrong: I just knew that&apos;s how it was done before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62837</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-06-09 15:44:34 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Currently we don&apos;t enable ROOTLESS_X by default in Poky (the Yocto Project
&gt; Distro) at all, so why should we make a policy decision to enable ROOTLESS_X
&gt; for meta-intel specifically, this would mean different BSPs have different
&gt; distro policies. 
&gt; 
&gt; The enabling of ROOTLESS_X should be done at a Distro Level not BSP level.
&gt; 
&gt; Are there specific issues that need to be addressed?  I just completed a
&gt; ROOTLESS_X = &quot;1&quot; build and booted with no issues.
&gt; 
&gt; I guess I would like to understand the background of the discussion that was
&gt; had with Ross and Richard.

After some discussion, it was decided that this should be done at a Distro level, as Saul was stating, so I am closing this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>