<?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>8110</bug_id>
          
          <creation_ts>2015-08-06 07:05:51 +0000</creation_ts>
          <short_desc>insane.bbclass: check the /etc/&lt;files&gt; are set by  CONFFILES</short_desc>
          <delta_ts>2015-08-06 15:24:10 +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>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jackie.huang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>rongqing.li</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>52849</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-08-06 07:05:51 +0000</bug_when>
    <thetext>The files under /etc/ usually should be set by CONFFILES, this is good for package manager.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52874</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2015-08-06 15:23:27 +0000</bug_when>
    <thetext>As discussed previously, starting here:
   http://lists.openembedded.org/pipermail/openembedded-core/2014-December/thread.html#100001
and answered here:
   http://lists.openembedded.org/pipermail/openembedded-core/2014-December/100006.html

we can&apos;t declare all of /etc/ to be CONFFILES.

As Mike Looijmans said:

   FHS may have written that somewhere, but if you just take a quick look at
   what is in /etc/, you&apos;ll find that actual configuration files are quite 
   rare, but there are tons of scripts and distro related files there. 
   Whether or not a file there is supposed to be edited by the end-user 
   is something of a distro decision.

   Also, &quot;configuration file&quot; does not necessarily mean that the USER is 
   in control. A configuration file may also simply distinguish machine
   capabilities or software features.

   We&apos;ll end up having to patch hundreds of recipes with a CONFFILES=&quot;&quot; 
   or similar line.

So I&apos;m closing the enhancement. If you have a more narrowly specified idea, please open a new enhancement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52875</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2015-08-06 15:24:10 +0000</bug_when>
    <thetext>See previous comment.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>