<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Achelon</title>
	<atom:link href="http://tmayad.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tmayad.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 01 Dec 2005 03:17:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='tmayad.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/67f403ba490d2f73b9e2f7f3c4596b44?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Achelon</title>
		<link>http://tmayad.wordpress.com</link>
	</image>
			<item>
		<title>LFS Profile for package user</title>
		<link>http://tmayad.wordpress.com/2005/12/01/lfs-profile-for-package-user/</link>
		<comments>http://tmayad.wordpress.com/2005/12/01/lfs-profile-for-package-user/#comments</comments>
		<pubDate>Thu, 01 Dec 2005 03:17:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/12/01/lfs-profile-for-package-user/</guid>
		<description><![CDATA[Here is a page from LFS profile I created. It might help you modify the other pages. I&#8217;ll put up everything shortly after I find a file host that doesn&#8217;t mind hot linking.
coreutils.xml


/**/

  1  &#60;?xml version="1.0" encoding="iso-8859-1"?&#62;

  2  &#60;!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
  3  [
  4  &#60;!ENTITY % [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=15&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is a page from LFS profile I created. It might help you modify the other pages. I&#8217;ll put up everything shortly after I find a file host that doesn&#8217;t mind hot linking.</p>
<p><a href="expand('coreutils_xml')">coreutils.xml</a></p>
<pre style="display:none;">

/**/

<span class="c1">  1</span>  <span class="
c2">&lt;?</span><span class="c3"><b>xml</b></span><span class="
c3"><b> </b></span><span class="
c3"><b>version</b></span>=<span class="
c4">"1.0"</span><span class="c3"><b> </b></span><span class="
c3"><b>encoding</b></span>=<span class="
c4">"iso-8859-1"</span><span class="c2">?&gt;</span>

<span class="c1">  2</span>  <span class="
c5">&lt;!</span><span class="
c3"><b>DOCTYPE</b></span> alfs <span class="
c3"><b>SYSTEM</b></span> <span class="c4">"../DTD/ALFS.dtd"</span>
<span class="c1">  3</span>  <span class="c5">[</span>
<span class="c1">  4</span>  <span class="
c5">&lt;!</span><span class="c3"><b>ENTITY</b></span><span class="
c3"><b> </b></span><span class="c2">%</span><span class="
c3"><b> general_entities</b></span> SYSTEM <span class="
c4">"../config/general.ent"</span><span class="c5">&gt;</span>

<span class="c1">  5</span>  <span class="
c5">&lt;!</span><span class="c3"><b>ENTITY</b></span><span class="
c3"><b> </b></span><span class="c2">%</span><span class="
c3"><b> package_entities</b></span> SYSTEM <span class="
c4">"../config/package.ent"</span><span class="c5">&gt;</span>
<span class="c1">  6</span>
<span class="c1">  7</span>  <span class="
c3"><b>%</b></span><span class="
c4">general_entities</span><span class="c3"><b>;</b></span>

<span class="c1">  8</span>  <span class="
c3"><b>%</b></span><span class="
c4">package_entities</span><span class="c3"><b>;</b></span>
<span class="c1">  9</span>  <span class="c5">]&gt;</span>
<span class="c1"> 10</span>  <span class="
c5">&lt;</span><span class="c5">alfs</span><span class="
c5">&gt;</span>

<span class="c1"> 11</span>    <span class="
c5">&lt;</span><span class="c5">package</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"coreutils"</span><span class="c5"> </span><span class="
c3"><b>version</b></span>=<span class="c4">"</span><span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-version</b></span><span class="
c3"><b>;</b></span><span class="c4">"</span><span class="
c5">&gt;</span>
<span class="c1"> 12</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Adding the Package User"</span><span class="c5">&gt;</span>

<span class="c1"> 13</span>        <span class="
c5">&lt;</span><span class="c5">execute</span><span class="
c5"> </span><span class="c3"><b>command</b></span>=<span class="
c4">"add_package_user"</span><span class="c5">&gt;</span>
<span class="c1"> 14</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-version</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/param&gt;</span>

<span class="c1"> 15</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 16</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>10001<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 17</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>19999<span class="c5">&lt;/param&gt;</span>

<span class="c1"> 18</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 19</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>10001<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 20</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>19999<span class="c5">&lt;/param&gt;</span>

<span class="c1"> 21</span>        <span class="
c5">&lt;/execute&gt;</span>
<span class="c1"> 22</span>      <span class="
c5">&lt;/stage&gt;</span>
<span class="c1"> 23</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Unpacking"</span><span class="c5">&gt;</span>

<span class="c1"> 24</span>        <span class="
c5">&lt;</span><span class="c5">stageinfo</span><span class="
c5">&gt;</span>
<span class="c1"> 25</span>          <span class="
c5">&lt;</span><span class="c5">user</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/user&gt;</span>
<span class="c1"> 26</span>        <span class="
c5">&lt;/stageinfo&gt;</span>

<span class="c1"> 27</span>        <span class="
c5">&lt;</span><span class="c5">unpack</span><span class="
c5">&gt;</span>
<span class="c1"> 28</span>          <span class="
c5">&lt;</span><span class="c5">digest</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-md5</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/digest&gt;</span>
<span class="c1"> 29</span>          <span class="
c5">&lt;</span><span class="c5">archive</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>packages_dir</b></span><span class="
c3"><b>;</b></span>/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-package</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/archive&gt;</span>

<span class="c1"> 30</span>          <span class="
c5">&lt;</span><span class="c5">destination</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>package_home</b></span><span class="
c3"><b>;</b></span>/coreutils<span class="
c5">&lt;/destination&gt;</span>
<span class="c1"> 31</span>        <span class="
c5">&lt;/unpack&gt;</span>
<span class="c1"> 32</span>      <span class="
c5">&lt;/stage&gt;</span>

<span class="c1"> 33</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Patching"</span><span class="c5">&gt;</span>
<span class="c1"> 34</span>        <span class="
c5">&lt;</span><span class="c5">stageinfo</span><span class="
c5">&gt;</span>
<span class="c1"> 35</span>          <span class="
c5">&lt;</span><span class="c5">user</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/user&gt;</span>

<span class="c1"> 36</span>          <span class="
c5">&lt;</span><span class="c5">base</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>package_home</b></span><span class="
c3"><b>;</b></span>/coreutils/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-directory</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/base&gt;</span>
<span class="c1"> 37</span>        <span class="
c5">&lt;/stageinfo&gt;</span>
<span class="c1"> 38</span>        <span class="
c5">&lt;</span><span class="c5">patch</span><span class="
c5">&gt;</span>

<span class="c1"> 39</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-N<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 40</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-p1<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 41</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-i <span class="c3"><b>&amp;</b></span><span class="
c3"><b>packages_dir</b></span><span class="
c3"><b>;</b></span>/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-uname-patch</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/param&gt;</span>

<span class="c1"> 42</span>        <span class="
c5">&lt;/patch&gt;</span>
<span class="c1"> 43</span>        <span class="
c5">&lt;</span><span class="c5">patch</span><span class="
c5">&gt;</span>
<span class="c1"> 44</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-N<span class="c5">&lt;/param&gt;</span>

<span class="c1"> 45</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-p1<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 46</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-i <span class="c3"><b>&amp;</b></span><span class="
c3"><b>packages_dir</b></span><span class="
c3"><b>;</b></span>/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-dupes-patch</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/param&gt;</span>

<span class="c1"> 47</span>        <span class="
c5">&lt;/patch&gt;</span>
<span class="c1"> 48</span>      <span class="
c5">&lt;/stage&gt;</span>
<span class="c1"> 49</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Configure"</span><span class="c5">&gt;</span>

<span class="c1"> 50</span>        <span class="
c5">&lt;</span><span class="c5">stageinfo</span><span class="
c5">&gt;</span>
<span class="c1"> 51</span>          <span class="
c5">&lt;</span><span class="c5">user</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/user&gt;</span>
<span class="c1"> 52</span>          <span class="
c5">&lt;</span><span class="c5">base</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>package_home</b></span><span class="
c3"><b>;</b></span>/coreutils/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-directory</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/base&gt;</span>

<span class="c1"> 53</span>        <span class="
c5">&lt;/stageinfo&gt;</span>
<span class="c1"> 54</span>        <span class="
c5">&lt;</span><span class="c5">configure</span><span class="
c5">&gt;</span>
<span class="c1"> 55</span>          <span class="
c5">&lt;</span><span class="c5">prefix</span><span class="
c5">&gt;</span>DEFAULT_POSIX2_VERSION=199209<span class="
c5">&lt;/prefix&gt;</span>

<span class="c1"> 56</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>--prefix=/usr<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 57</span>        <span class="
c5">&lt;/configure&gt;</span>
<span class="c1"> 58</span>      <span class="
c5">&lt;/stage&gt;</span>

<span class="c1"> 59</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Compile"</span><span class="c5">&gt;</span>
<span class="c1"> 60</span>        <span class="
c5">&lt;</span><span class="c5">stageinfo</span><span class="
c5">&gt;</span>
<span class="c1"> 61</span>          <span class="
c5">&lt;</span><span class="c5">user</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/user&gt;</span>

<span class="c1"> 62</span>          <span class="
c5">&lt;</span><span class="c5">base</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>package_home</b></span><span class="
c3"><b>;</b></span>/coreutils/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-directory</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/base&gt;</span>
<span class="c1"> 63</span>        <span class="
c5">&lt;/stageinfo&gt;</span>
<span class="c1"> 64</span>        <span class="
c5">&lt;</span><span class="c5">make</span><span class="
c5">&gt;</span>

<span class="c1"> 65</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>jlevel</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/param&gt;</span>
<span class="c1"> 66</span>        <span class="
c5">&lt;/make&gt;</span>
<span class="c1"> 67</span>      <span class="
c5">&lt;/stage&gt;</span>

<span class="c1"> 68</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Test"</span><span class="c5">&gt;</span>
<span class="c1"> 69</span>        <span class="
c5">&lt;</span><span class="c5">stageinfo</span><span class="
c5">&gt;</span>
<span class="c1"> 70</span>          <span class="
c5">&lt;</span><span class="c5">base</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>package_home</b></span><span class="
c3"><b>;</b></span>/coreutils/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-directory</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/base&gt;</span>

<span class="c1"> 71</span>        <span class="
c5">&lt;/stageinfo&gt;</span>
<span class="c1"> 72</span>        <span class="
c5">&lt;</span><span class="c5">textdump</span><span class="
c5"> </span><span class="c3"><b>mode</b></span>=<span class="
c4">"append"</span><span class="c5">&gt;</span>
<span class="c1"> 73</span>          <span class="
c5">&lt;</span><span class="c5">file</span><span class="
c5">&gt;</span>/etc/group<span class="c5">&lt;/file&gt;</span>

<span class="c1"> 74</span>          <span class="
c5">&lt;</span><span class="c5">content</span><span class="
c5">&gt;</span>
<span class="c1"> 75</span>          =dummy1:x:1000
<span class="c1"> 76</span>          =dummy2:x:1001:dummy
<span class="c1"> 77</span>          <span class="
c5">&lt;/content&gt;</span>

<span class="c1"> 78</span>        <span class="
c5">&lt;/textdump&gt;</span>
<span class="c1"> 79</span>        <span class="
c2">&lt;!</span><span class="
c2">--textdump mode="append"&gt;</span>
<span class="c1"> 80</span>  <span class="
c2">        &lt;file&gt;/etc/passwd&lt;/file&gt;</span>

<span class="c1"> 81</span>  <span class="
c2">        &lt;content&gt;</span>
<span class="c1"> 82</span>  <span class="
c2">        =dummy:x:1000:1000:::/bin/bash</span>
<span class="c1"> 83</span>  <span class="
c2">        &lt;/content&gt;</span>

<span class="c1"> 84</span>  <span class="
c2">      &lt;/textdump--</span><span class="c2">&gt;</span>
<span class="c1"> 85</span>        <span class="
c5">&lt;</span><span class="c5">make</span><span class="
c5">&gt;</span>
<span class="c1"> 86</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>NON_ROOT_USERNAME=coreutils<span class="
c5">&lt;/param&gt;</span>

<span class="c1"> 87</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>check-root<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 88</span>        <span class="
c5">&lt;/make&gt;</span>
<span class="c1"> 89</span>        <span class="
c5">&lt;</span><span class="c5">execute</span><span class="
c5"> </span><span class="c3"><b>command</b></span>=<span class="
c4">"src/su"</span><span class="c5">&gt;</span>

<span class="c1"> 90</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 91</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-c "make RUN_EXPENSIVE_TESTS=yes check"<span class="
c5">&lt;/param&gt;</span>
<span class="c1"> 92</span>        <span class="
c5">&lt;/execute&gt;</span>

<span class="c1"> 93</span>        <span class="
c5">&lt;</span><span class="c5">execute</span><span class="
c5"> </span><span class="c3"><b>command</b></span>=<span class="
c4">"sed"</span><span class="c5">&gt;</span>
<span class="c1"> 94</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>-i.bak<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 95</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>'/dummy/d'<span class="c5">&lt;/param&gt;</span>

<span class="c1"> 96</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>/etc/passwd<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 97</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>/etc/group<span class="c5">&lt;/param&gt;</span>
<span class="c1"> 98</span>        <span class="
c5">&lt;/execute&gt;</span>

<span class="c1"> 99</span>      <span class="
c5">&lt;/stage&gt;</span>
<span class="c1">100</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Prepare"</span><span class="c5">&gt;</span>
<span class="c1">101</span>        <span class="
c5">&lt;</span><span class="c5">remove</span><span class="
c5">&gt;</span>/bin/cat<span class="c5">&lt;/remove&gt;</span>

<span class="c1">102</span>        <span class="
c5">&lt;</span><span class="c5">remove</span><span class="
c5">&gt;</span>/bin/pwd<span class="c5">&lt;/remove&gt;</span>
<span class="c1">103</span>        <span class="
c5">&lt;</span><span class="c5">remove</span><span class="
c5">&gt;</span>/bin/stty<span class="c5">&lt;/remove&gt;</span>
<span class="c1">104</span>      <span class="
c5">&lt;/stage&gt;</span>
<span class="c1">105</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Install"</span><span class="c5">&gt;</span>

<span class="c1">106</span>        <span class="
c5">&lt;</span><span class="c5">stageinfo</span><span class="
c5">&gt;</span>
<span class="c1">107</span>          <span class="
c5">&lt;</span><span class="c5">user</span><span class="
c5">&gt;</span>coreutils<span class="c5">&lt;/user&gt;</span>
<span class="c1">108</span>          <span class="
c5">&lt;</span><span class="c5">base</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>package_home</b></span><span class="
c3"><b>;</b></span>/coreutils/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-directory</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/base&gt;</span>

<span class="c1">109</span>        <span class="
c5">&lt;/stageinfo&gt;</span>
<span class="c1">110</span>        <span class="
c5">&lt;</span><span class="c5">make</span><span class="
c5">&gt;</span>
<span class="c1">111</span>          <span class="
c5">&lt;</span><span class="c5">param</span><span class="
c5">&gt;</span>install<span class="c5">&lt;/param&gt;</span>
<span class="c1">112</span>        <span class="
c5">&lt;/make&gt;</span>

<span class="c1">113</span>        <span class="
c5">&lt;</span><span class="c5">move</span><span class="
c5"> </span><span class="c3"><b>base</b></span>=<span class="
c4">"/usr/bin"</span><span class="c5">&gt;</span>
<span class="c1">114</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>[<span class="c5">&lt;/source&gt;</span>
<span class="c1">115</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>basename<span class="c5">&lt;/source&gt;</span>

<span class="c1">116</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>cat<span class="c5">&lt;/source&gt;</span>
<span class="c1">117</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>chgrp<span class="c5">&lt;/source&gt;</span>
<span class="c1">118</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>chmod<span class="c5">&lt;/source&gt;</span>

<span class="c1">119</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>chown<span class="c5">&lt;/source&gt;</span>
<span class="c1">120</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>cp<span class="c5">&lt;/source&gt;</span>
<span class="c1">121</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>dd<span class="c5">&lt;/source&gt;</span>

<span class="c1">122</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>df<span class="c5">&lt;/source&gt;</span>
<span class="c1">123</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>date<span class="c5">&lt;/source&gt;</span>
<span class="c1">124</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>echo<span class="c5">&lt;/source&gt;</span>

<span class="c1">125</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>false<span class="c5">&lt;/source&gt;</span>
<span class="c1">126</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>head<span class="c5">&lt;/source&gt;</span>
<span class="c1">127</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>hostname<span class="c5">&lt;/source&gt;</span>

<span class="c1">128</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>install<span class="c5">&lt;/source&gt;</span>
<span class="c1">129</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>ln<span class="c5">&lt;/source&gt;</span>
<span class="c1">130</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>ls<span class="c5">&lt;/source&gt;</span>

<span class="c1">131</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>mkdir<span class="c5">&lt;/source&gt;</span>
<span class="c1">132</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>mknod<span class="c5">&lt;/source&gt;</span>
<span class="c1">133</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>mv<span class="c5">&lt;/source&gt;</span>

<span class="c1">134</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>pwd<span class="c5">&lt;/source&gt;</span>
<span class="c1">135</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>rm<span class="c5">&lt;/source&gt;</span>
<span class="c1">136</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>rmdir<span class="c5">&lt;/source&gt;</span>

<span class="c1">137</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>sync<span class="c5">&lt;/source&gt;</span>
<span class="c1">138</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>sleep<span class="c5">&lt;/source&gt;</span>
<span class="c1">139</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>stty<span class="c5">&lt;/source&gt;</span>

<span class="c1">140</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>test<span class="c5">&lt;/source&gt;</span>
<span class="c1">141</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>touch<span class="c5">&lt;/source&gt;</span>
<span class="c1">142</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>true<span class="c5">&lt;/source&gt;</span>

<span class="c1">143</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>uname<span class="c5">&lt;/source&gt;</span>
<span class="c1">144</span>          <span class="
c5">&lt;</span><span class="c5">destination</span><span class="
c5">&gt;</span>/bin<span class="c5">&lt;/destination&gt;</span>
<span class="c1">145</span>        <span class="
c5">&lt;/move&gt;</span>
<span class="c1">146</span>        <span class="
c5">&lt;</span><span class="c5">move</span><span class="
c5">&gt;</span>

<span class="c1">147</span>          <span class="
c5">&lt;</span><span class="c5">source</span><span class="
c5">&gt;</span>/usr/bin/chroot<span class="
c5">&lt;/source&gt;</span>
<span class="c1">148</span>          <span class="
c5">&lt;</span><span class="c5">destination</span><span class="
c5">&gt;</span>/usr/sbin<span class="
c5">&lt;/destination&gt;</span>
<span class="c1">149</span>        <span class="
c5">&lt;/move&gt;</span>
<span class="c1">150</span>        <span class="
c5">&lt;</span><span class="c5">link</span><span class="
c5">&gt;</span>

<span class="c1">151</span>          <span class="
c5">&lt;</span><span class="c5">option</span><span class="
c5">&gt;</span>force<span class="c5">&lt;/option&gt;</span>
<span class="c1">152</span>          <span class="
c5">&lt;</span><span class="c5">target</span><span class="
c5">&gt;</span>../../bin/install<span class="
c5">&lt;/target&gt;</span>
<span class="c1">153</span>          <span class="
c5">&lt;</span><span class="c5">name</span><span class="
c5">&gt;</span>/usr/bin<span class="c5">&lt;/name&gt;</span>

<span class="c1">154</span>        <span class="
c5">&lt;/link&gt;</span>
<span class="c1">155</span>        <span class="
c5">&lt;</span><span class="c5">remove</span><span class="
c5">&gt;</span>/usr/share/man/man1/su.1<span class="
c5">&lt;/remove&gt;</span>
<span class="c1">156</span>      <span class="
c5">&lt;/stage&gt;</span>
<span class="c1">157</span>      <span class="
c5">&lt;</span><span class="c5">stage</span><span class="
c5"> </span><span class="c3"><b>name</b></span>=<span class="
c4">"Cleanup"</span><span class="c5">&gt;</span>

<span class="c1">158</span>        <span class="
c5">&lt;</span><span class="c5">remove</span><span class="
c5">&gt;</span><span class="c3"><b>&amp;</b></span><span class="
c3"><b>package_home</b></span><span class="
c3"><b>;</b></span>/coreutils/<span class="
c3"><b>&amp;</b></span><span class="
c3"><b>coreutils-directory</b></span><span class="
c3"><b>;</b></span><span class="c5">&lt;/remove&gt;</span>
<span class="c1">159</span>      <span class="
c5">&lt;/stage&gt;</span>
<span class="c1">160</span>    <span class="
c5">&lt;/package&gt;</span>

<span class="c1">161</span>  <span class="c5">&lt;/alfs&gt;</span>
</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=15&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/12/01/lfs-profile-for-package-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>Up and running, A happy system.</title>
		<link>http://tmayad.wordpress.com/2005/12/01/up-and-running-a-happy-system/</link>
		<comments>http://tmayad.wordpress.com/2005/12/01/up-and-running-a-happy-system/#comments</comments>
		<pubDate>Thu, 01 Dec 2005 03:00:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/12/01/up-and-running-a-happy-system/</guid>
		<description><![CDATA[Categories:  LFS  
After My last attemp succeeded, I moved onto BLFS(didn&#8217;t use profiles because this is my first BLFS attempt and I wanted to do it by hand.) My PC is happy and so am I. Initially I started with console only PC(mplayer and all). Then I needed firefox badly and installed X. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=14&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="category">Categories: <a href="http://del.icio.us/TMaYaD/LFS" rel="tag"> LFS </a> </span></p>
<p>After My last attemp succeeded, I moved onto BLFS(didn&#8217;t use profiles because this is my first BLFS attempt and I wanted to do it by hand.) My PC is happy and so am I. Initially I started with console only PC(mplayer and all). Then I needed firefox badly and installed X. No sweat here. I&#8217;ve put firefox and gaim in xinitrc and everything just worked. After a bit of probing from a friend, I finally gave in and installed XFCE. Now even my friends can use it.</p>
<p>Here is my <a href="expand('pkg_list')">package list(/etc/passwd)</a></p>
<p><pre style="display:none;"><code>
dch:x:9998:10109::/home/dch:/bin/bash
mpdaemon:x:9999:10074::/home/mpdaemon:/bin/bash
linux-libc:x:10001:10001:2.6.11.2:/usr/src/linux-libc:/bin/bash
man-pages:x:10002:10002:2.01:/usr/src/man-pages:/bin/bash
glibc:x:10003:10003:2.3.4:/usr/src/glibc:/bin/bash
binutils:x:10004:10004:2.15.94.0.2.2:/usr/src/binutils:/bin/bash
gcc:x:10005:10005:3.4.3:/usr/src/gcc:/bin/bash
coreutils:x:10006:10006:5.2.1:/usr/src/coreutils:/bin/bash
zlib:x:10007:10007:1.2.2:/usr/src/zlib:/bin/bash
mktemp:x:10008:10008:1.5:/usr/src/mktemp:/bin/bash
iana-etc:x:10009:10009:1.04:/usr/src/iana-etc:/bin/bash
findutils:x:10010:10010:4.2.23:/usr/src/findutils:/bin/bash
gawk:x:10011:10011:3.1.4:/usr/src/gawk:/bin/bash
ncurses:x:10012:10012:5.4:/usr/src/ncurses:/bin/bash
readline:x:10013:10013:5.0:/usr/src/readline:/bin/bash
vim:x:10014:10014:6.3:/usr/src/vim:/bin/bash
m4:x:10015:10015:1.4.3:/usr/src/m4:/bin/bash
bison:x:10016:10016:2.0:/usr/src/bison:/bin/bash
less:x:10017:10017:382:/usr/src/less:/bin/bash
groff:x:10018:10018:1.19.1:/usr/src/groff:/bin/bash
sed:x:10019:10019:4.1.4:/usr/src/sed:/bin/bash
flex:x:10020:10020:2.5.31:/usr/src/flex:/bin/bash
gettext:x:10021:10021:0.14.3:/usr/src/gettext:/bin/bash
inetutils:x:10022:10022:1.4.2:/usr/src/inetutils:/bin/bash
iproute2:x:10023:10023:2.6.11:/usr/src/iproute2:/bin/bash
perl:x:10024:10024:5.8.6:/usr/src/perl:/bin/bash
texinfo:x:10025:10025:4.8:/usr/src/texinfo:/bin/bash
autoconf:x:10026:10026:2.59:/usr/src/autoconf:/bin/bash
automake:x:10027:10027:1.9.5:/usr/src/automake:/bin/bash
bash:x:10028:10028:3.0:/usr/src/bash:/bin/bash
file:x:10029:10029:4.13:/usr/src/file:/bin/bash
libtool:x:10030:10030:1.5.14:/usr/src/libtool:/bin/bash
bzip2:x:10031:10031:1.0.3:/usr/src/bzip2:/bin/bash
diffutils:x:10032:10032:2.8.1:/usr/src/diffutils:/bin/bash
kbd:x:10033:10033:1.12:/usr/src/kbd:/bin/bash
e2fsprogs:x:10034:10034:1.37:/usr/src/e2fsprogs:/bin/bash
grep:x:10035:10035:2.5.1a:/usr/src/grep:/bin/bash
grub:x:10036:10036:0.96:/usr/src/grub:/bin/bash
gzip:x:10037:10037:1.3.5:/usr/src/gzip:/bin/bash
hotplug:x:10038:10038:2004_09_23:/usr/src/hotplug:/bin/bash
man:x:10039:10039:1.5p:/usr/src/man:/bin/bash
make:x:10040:10040:3.80:/usr/src/make:/bin/bash
module-init-tools:x:10041:10041:3.1:/usr/src/module-init-tools:/bin/bash
patch:x:10042:10042:2.5.4:/usr/src/patch:/bin/bash
procps:x:10043:10043:3.2.5:/usr/src/procps:/bin/bash
psmisc:x:10044:10044:21.6:/usr/src/psmisc:/bin/bash
shadow:x:10045:10045:4.0.9:/usr/src/shadow:/bin/bash
sysklogd:x:10046:10046:1.4.1:/usr/src/sysklogd:/bin/bash
sysvinit:x:10047:10047:2.86:/usr/src/sysvinit:/bin/bash
tar:x:10048:10048:1.15.1:/usr/src/tar:/bin/bash
udev:x:10049:10049:056:/usr/src/udev:/bin/bash
util-linux:x:10050:10050:2.12q:/usr/src/util-linux:/bin/bash
linux:x:10051:10051:2.6.14.2:/usr/src/linux:/bin/bash
libxml2:x:10052:10052:2.6.22:/usr/src/libxml2:/bin/bash
nalfs:x:10053:10053:1.2.5-1:/usr/src/nALFS:/bin/bash
blfs-bootscripts:x:10054:10054:6.1:/usr/src/blfs-bootscripts:/bin/bash
autofs:x:10055:10055:4.1.4:/usr/src/autofs:/bin/bash
openssl:x:10056:10056:0.9.7g:/usr/src/openssl:/bin/bash
python:x:10057:10057:2.4.1:/usr/src/python:/bin/bash
gpm:x:10058:10058:1.20.1:/usr/src/gpm:/bin/bash
gc:x:10059:10060:6.5:/usr/src/gc:/bin/bash
w3m:x:10060:10061:0.5.1:/usr/src/w3m:/bin/bash
lynx:x:10061:10062:2.8.5:/usr/src/lynx:/bin/bash
wget:x:10062:10063:1.9.1:/usr/src/wget:/bin/bash
tree:x:10064:10065:1.5.0:/usr/src/tree:/bin/bash
eject:x:10065:10066:2.1.0:/usr/src/eject:/bin/bash
alsa-lib:x:10066:10067:1.0.9:/usr/src/alsa-lib:/bin/bash
alsa-plugins:x:10067:10068:1.0.9:/usr/src/alsa-plugins:/bin/bash
alsa-utils:x:10068:10069:1.0.9a:/usr/src/alsa-utils:/bin/bash
pkg-config:x:10069:10070:0.19:/usr/src/pkg-config:/bin/bash
alsa-tools:x:10070:10071:1.0.9:/usr/src/alsa-tools:/bin/bash
alsa-oss:x:10071:10072:1.0.9:/usr/src/alsa-oss:/bin/bash
mplayer:x:10072:10073:1.0pre7:/usr/src/mplayer:/bin/bash
mpd:x:10074:10074:0.11.5:/usr/src/mpd:/bin/bash
mpc:x:10075:10075:0.11.2:/usr/src/mpc:/bin/bash
ncmpc:x:10076:10076:0.11.1:/usr/src/ncmpc:/bin/bash
gdb:x:10077:10077:6.3:/usr/src/gdb:/bin/bash
libao:x:10078:10078:0.8.6:/usr/src/libao:/bin/bash
glib:x:10079:10079:2.6.4,devel-1.2.10:/usr/src/glib:/bin/bash
libpng:x:10080:10080:1.2.8:/usr/src/libpng:/bin/bash
freetype:x:10081:10081:2.1.10:/usr/src/freetype:/bin/bash
expat:x:10082:10082:1.95.8:/usr/src/expat:/bin/bash
fontconfig:x:10083:10083:2.3.2:/usr/src/fontconfig:/bin/bash
xfree86:x:10084:10084:4.5.0:/usr/src/xfree86:/bin/bash
mpcstick:x:10085:10085:0.10.2:/usr/src/mpcstick:/bin/bash
pango:x:10086:10086:1.8.1:/usr/src/pango:/bin/bash
atk:x:10087:10087:1.9.1:/usr/src/atk:/bin/bash
libjpeg:x:10088:10088:6b:/usr/src/libjpeg:/bin/bash
libidl:x:10089:10089:0.8.5:/usr/src/libidl:/bin/bash
zip:x:10090:10090:2.31:/usr/src/zip:/bin/bash
firefox:x:10091:10091:1.0.7:/usr/src/firefox:/bin/bash
gtk-plus:x:10092:10092:2.6.7,devel-1.2.10:/usr/src/gtk-plus:/bin/bash
jre:x:10093:10093:1_5_0_05:/usr/src/jre:/bin/bash
curl:x:10094:10094:7.14.0:/usr/src/curl:/bin/bash
gaim:x:10095:10095:1.5.0:/usr/src/gaim:/bin/bash
aspell:x:10096:10096:0.60.3:/usr/src/aspell:/bin/bash
xfce:x:10097:10097:4.2.2:/usr/src/xfce:/bin/bash
startup-notify:x:10098:10098:0.8:/usr/src/startup-notify:/bin/bash
qt:x:10099:10099:3.3.4:/usr/src/qt:/bin/bash
lcms:x:10100:10100:1.14:/usr/src/lcms:/bin/bash
libmng:x:10101:10101:1.0.9:/usr/src/libmng:/bin/bash
dc:x:10102:10102:0.3.7:/usr/src/dc:/bin/bash
screen:x:10103:10103:4.0.2:/usr/src/screen:/bin/bash
ayttm:x:10104:10104:0.4.6-17:/usr/src/ayttm:/bin/bash
subversion:x:10106:10106:1.1.4:/usr/src/subversion:/bin/bash
tcp_wrappers:x:10107:10107:7.6:/usr/src/tcp_wrappers:/bin/bash
libtiff:x:10108:10108:3.7.3:/usr/src/libtiff:/bin/bash
opendchub:x:10109:10109:0.7.14:/usr/src/opendchub:/bin/bash
cvoicecontrol:x:10110:10110:0.9alpha:/usr/src/cvoicecontrol:/bin/bash
lesstif:x:10111:10111:0.94.4:/usr/src/lesstif:/bin/bash
xpdf:x:10112:10112:3.01:/usr/src/xpdf:/bin/bash
bluez-libs:x:10113:10113:2.22:/usr/src/bluez-libs:/bin/bash
bluez-utils:x:10114:10114:2.22:/usr/src/bluez-utils:/bin/bash
ctorrent:x:10115:10115:1.3.2:/usr/src/ctorrent:/bin/bash
lineakd:x:10116:10116:0.8.3:/usr/src/lineakd:/bin/bash
</code></pre>
</p>
<p>There are a few more packages and things I wanna talk about, but later.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=14&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/12/01/up-and-running-a-happy-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>Second attempt at nALFS + package users</title>
		<link>http://tmayad.wordpress.com/2005/11/21/second-attempt-at-nalfs-package-users/</link>
		<comments>http://tmayad.wordpress.com/2005/11/21/second-attempt-at-nalfs-package-users/#comments</comments>
		<pubDate>Mon, 21 Nov 2005 12:55:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/11/21/second-attempt-at-nalfs-package-users/</guid>
		<description><![CDATA[Categories:  LFS  
Last night I have run another build and found a few problems.


gcc:

change the ownership of /usr/lib/libgcc_s.so{,.2} to gcc
Do not remove the files. They may be required, as is the case with gcc.
Authorize the action by changing the ownership. The installation will make changes as it sees fit.


gettext:

Confirmed: Fails on parallel build


iproute2:

works [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=13&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="category">Categories: <a href="http://del.icio.us/TMaYaD/LFS" rel="tag"> LFS </a> </span></p>
<p>Last night I have run another build and found a few <a href="expand('20051120_log')">problems</a>.</p>
<div id="20051120_log" style="display:none;">
<ul>
<li>gcc:
<ul>
<li>change the ownership of <code>/usr/lib/libgcc_s.so{,.2}</code> to <em>gcc</em></li>
<li>Do not remove the files. They may be required, as is the case with gcc.</li>
<li>Authorize the action by changing the ownership. The installation will make changes as it sees fit.</li>
</ul>
</li>
<li>gettext:
<ul>
<li>Confirmed: Fails on parallel build</li>
</ul>
</li>
<li>iproute2:
<ul>
<li>works on second run even without <code>jtag</code> being removed</li>
<li>Possibly, failing due to not finding a fail that is being created in another thread</li>
<li>need to check again without <code>jtags</code> in the first run</li>
</ul>
</li>
<li>perl:
<ul>
<li>Apparently succeeds</li>
<li>But depends on <code>/tools</code> and fails the subsequent packages, first of which is <em>autoconf(look below)</em></li>
</ul>
</li>
<li>autoconf:
<ul>
<li>Searches for perl in <code>/tools</code> and fails</li>
<li>Deleting the <code>/usr/bin/perl</code> symlink is no good.</li>
<li>How ever changing the ownership before compiling perl worked</li>
</ul>
</li>
<li>e2fsprogs:
<ul>
<li>same as iproute2</li>
</ul>
</li>
<li>hotplug:
<ul>
<li>Insists on using <code>/usr/bin/install</code>, thus side stepping the wrappers.</li>
<li>Use <code>INSTALL=install</code> param.</li>
</ul>
</li>
<li>man:
<ul>
<li>same as iproute2 and e2fsprogs</li>
</ul>
</li>
<li>udev
<ul>
<li>Similar to hotplug</li>
<li>Use <code>INSTALL=install</code> param.</li>
</ul>
</li>
</ul>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=13&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/11/21/second-attempt-at-nalfs-package-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>First attempt at nALFS + package users</title>
		<link>http://tmayad.wordpress.com/2005/11/20/first-attempt-at-nalfs-package-users/</link>
		<comments>http://tmayad.wordpress.com/2005/11/20/first-attempt-at-nalfs-package-users/#comments</comments>
		<pubDate>Sun, 20 Nov 2005 10:29:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/11/20/first-attempt-at-nalfs-package-users/</guid>
		<description><![CDATA[Categories:  LFS  
I tried to modify the LFS-6.1-1 ALFS profile for implimenting the changes. I used 6.1 live cd and there are a few digest mismatches. Apparently there was a server hickup and things changed. I guess it&#8217;s okay to ignore them. The rest of the errors and temporary work arounds are here.


gcc:

/usr/lib/libgcc_s.so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=12&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="category">Categories: <a href="http://del.icio.us/TMaYaD/LFS" rel="tag"> LFS </a> </span></p>
<p>I tried to modify the LFS-6.1-1 ALFS profile for implimenting the changes. I used 6.1 live cd and there are a few digest mismatches. Apparently there was a server hickup and things changed. I guess it&#8217;s okay to ignore them. The rest of the errors and temporary work arounds are <a href="expand('20051119_log')">here</a>.</p>
<div id="20051119_log" style="display:none;">
<ul>
<li>gcc:
<ul>
<li><strike>/usr/lib/libgcc_s.so need to be removed.</strike></li>
<li>change the ownership of /usr/lib/libgcc_s.so to gcc</li>
<li>See next post for more details.</li>
</ul>
</li>
<li>coreutils:
<ul>
<li>test: need to be run as root.</li>
<li>uses dummy user so not much prob</li>
<li>Still I would like to see if it can be done better</li>
</ul>
</li>
<li>gettext:
<ul>
<li>apparently fails on parallel build as I discovered on googling for error</li>
<li>I assumed the parallel build issue was taken care of in the profile.</li>
<li>need to check again</li>
</ul>
</li>
<li>iproute2:
<ul>
<li>googling is not good enough. So I guessed based on prev prob.</li>
<li>works if -j tag is removed</li>
<li>need to check again</li>
</ul>
</li>
<li>autoconf:
<ul>
<li>Searches for perl in /tools and fails</li>
<li>Googling shows that the link /usr/bin/perl that points to perl in /tools need to be removed before making perl or need to be relinked to the perl in /usr but that wouldn&#8217;t help either because it is already pointing to the perl in /usr</li>
<li>temporarily I worked around the problem by removing /tools/lib/perl5 and making it a symlink to /usr/lib/perl5</li>
</ul>
</li>
<li>e2fsprogs:
<ul>
<li>same as iproute2</li>
<li>removing -j tag helped</li>
</ul>
</li>
<li>hotplug:
<ul>
<li>completely clue less</li>
<li>ended up editing Makefile manually</li>
<li>no clue on weather it works or breaks anything either</li>
</ul>
</li>
<li>man:
<ul>
<li>guessing parallel again</li>
</ul>
</li>
<li>sysvinit:
<ul>
<li>error:can not remove /bin/pid</li>
<li>it belongs to psmisc</li>
</ul>
</li>
<li>udev
<ul>
<li>error:trying to change permissions of /etc/hotplug.d/default</li>
<li>Makefile: install -d $(DESTDIR)$(hotplugdir)</li>
</ul>
</li>
</ul>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=12&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/11/20/first-attempt-at-nalfs-package-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>patched nALFS to use /etc/passwd from $LFS</title>
		<link>http://tmayad.wordpress.com/2005/11/20/patched-nalfs-to-use-etcpasswd-from-lfs/</link>
		<comments>http://tmayad.wordpress.com/2005/11/20/patched-nalfs-to-use-etcpasswd-from-lfs/#comments</comments>
		<pubDate>Sun, 20 Nov 2005 10:15:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/11/20/patched-nalfs-to-use-etcpasswd-from-lfs/</guid>
		<description><![CDATA[Categories:  LFS  
The earlier patch for uid:gid failed because You can&#8217;t use it to set additional groups which is required because package users use sticky bit of install dirs owned by install group.
 So once more I found myself looking at nALFS code. This time I was looking at change group function in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=11&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="category">Categories: <a href="http://del.icio.us/TMaYaD/LFS" rel="tag"> LFS </a> </span></p>
<p>The earlier patch for <code>uid:gid</code> failed because You can&#8217;t use it to set additional groups which is required because package users use sticky bit of install dirs owned by <code>install</code> group.</p>
<p> So once more I found myself looking at nALFS code. This time I was looking at change group function in stage.c and discovered that it had been modified earlier for use in <code>chroot</code> environment. I knew it when I saw because I was hoping to use the <code>fget....</code> functions too. Hmm, looks like the team has forgot to change the <code>change_to_user</code> function. I did it and here is the patch. It&#8217;s working just fine.</p>
<p><a href="expand('nALFS_1_2_5_change_to_user_patch')">nALFS-1.2.5-change_to_user.patch</a></p>
<pre style="display:none;"><code>
 static INLINE int change_to_user(const char *user)
 {
  struct passwd *pw;
+ FILE *fp;

-
- setpwent();
-
- /* getpwnam() is failing in chroot() */
- while ((pw = getpwent())) {
-  if (strcmp(pw-&gt;pw_name, user) == 0) {
-   break;
+ if ((fp = fopen("/etc/passwd", "r"))) { //setpwent();
+  /* getpwnam() is failing in chroot() */
+  while ((pw = fgetpwent(fp))) {
+   if (strcmp(pw-&gt;pw_name, user) == 0) {
+    break;
+   }
   }
- }

- endpwent();
+  fclose(fp); //endpwent();

+ } else {
+  Nprint_h_warn("Unable to open /etc/passwd: %s",
+   strerror(errno));
+ }
  if (pw == NULL) {
   Nprint_h_err("User %s doesn't exist.", user);
   return -1;
</code></pre></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=11&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/11/20/patched-nalfs-to-use-etcpasswd-from-lfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>Psst&#8230;</title>
		<link>http://tmayad.wordpress.com/2005/11/17/hello-world/</link>
		<comments>http://tmayad.wordpress.com/2005/11/17/hello-world/#comments</comments>
		<pubDate>Thu, 17 Nov 2005 19:25:03 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Achelon!?
What does it mean? Nothing. It just popped into my head.
Now..now.. How many new names and titles can one think of? Atleast my &#8220;creativity&#8221; levels are this good.anyways, this is just a site I want to use with another of my friend.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=1&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Achelon!?</p>
<p>What does it mean? Nothing. It just popped into my head.</p>
<p>Now..now.. How many new names and titles can one think of? Atleast my &#8220;creativity&#8221; levels are this good.anyways, this is just a site I want to use with another of my friend.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=1&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/11/17/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>patched nALFS to use uid:gid style user info</title>
		<link>http://tmayad.wordpress.com/2005/11/17/patched-nalfs-to-use-uidgid-style-user-info/</link>
		<comments>http://tmayad.wordpress.com/2005/11/17/patched-nalfs-to-use-uidgid-style-user-info/#comments</comments>
		<pubDate>Thu, 17 Nov 2005 01:33:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/11/17/patched-nalfs-to-use-uidgid-style-user-info/</guid>
		<description><![CDATA[Categories:  LFS  
As I got no replies for my mail to alfs mailing list, I have finally decided to get my hands dirtier (They are already dirty). I have made a patch for nALFS that seems to do the job of using &#60;user&#62;uid:gid&#60;/user&#62;. the usual at your own risk blah blah&#8230; disclaimer. 
The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=10&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="category">Categories: <a href="http://del.icio.us/TMaYaD/LFS" rel="tag"> LFS </a> </span></p>
<p>As I got no replies for my mail to alfs mailing list, I have finally decided to get my hands dirtier (They are already dirty). I have made a patch for nALFS that seems to do the job of using &lt;user&gt;uid:gid&lt;/user&gt;. the usual at your own risk blah blah&#8230; disclaimer. </p>
<p>The format &lt;user&gt;uid:gid&lt;/user&gt; has to be strictly followed and it won&#8217;t check for the format, neither does it have any defaults in case you omit anything. I don&#8217;t know if I have broken the original functionality. I had to bypass the user not found check and I didn&#8217;t care to adopt it, instead I removed it. So I suggest either you look into it and modify it further or wait till my exams are over and I&#8217;ll be more free to work them out.</p>
<p>There is one more catch, there are two files with same function which are exact replicas. But I changed only one that was being used when I traced it in gdb. Be warned, its only a couple of days since I started using gdb. Thanks to Kousik and Sunny. </p>
<p><a href="expand('nALFS_1_2_5_user_UID_patch')">nALFS-1.2.5-user-UID.patch</a>  </p>
<pre><code style="display:none;">
diff -Naur nALFS-1.2.5/src/handlers/stage.c nALFS-1.2.5-#/src/handlers/stage.c
--- nALFS-1.2.5/src/handlers/stage.c 2004-07-04 11:21:11.000000000 +0530
+++ nALFS-1.2.5-#/src/handlers/stage.c 2005-11-17 06:18:00.000000000 +0530
@@ -103,8 +103,9 @@
 static INLINE int change_to_user(const char *user)
 {
  struct passwd *pw;
-
-
+ uid_t uid;
+ gid_t gid;
+
  setpwent();

  /* getpwnam() is failing in chroot() */
@@ -118,20 +119,28 @@

  if (pw == NULL) {
   Nprint_h_err("User %s doesn't exist.", user);
-  return -1;
+  // return -1;
+  //check for UID
+  uid = atoi(strtok(user,":"));
+  gid = atoi(strtok(NULL,""));
+ }
+ else
+ {
+  uid = pw-&gt;pw_uid;
+  gid = pw-&gt;pw_gid;
  }

- if (set_supplementary_groups(user, pw-&gt;pw_gid)) {
+ if (set_supplementary_groups(user, gid)) {
   return -1;
  }

- if (setgid(pw-&gt;pw_gid)) {
+ if (setgid(gid)) {
   Nprint_h_err("Unable to set group ID: %s",
    strerror(errno));
   return -1;
  }

- if (setuid(pw-&gt;pw_uid)) {
+ if (setuid(uid)) {
   Nprint_h_err("Unable to set user ID: %s",
    strerror(errno));
   return -1;
</code></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=10&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/11/17/patched-nalfs-to-use-uidgid-style-user-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>package users and nALFS: define package id in users tag</title>
		<link>http://tmayad.wordpress.com/2005/11/09/package-users-and-nalfs-define-package-id-in-users-tag/</link>
		<comments>http://tmayad.wordpress.com/2005/11/09/package-users-and-nalfs-define-package-id-in-users-tag/#comments</comments>
		<pubDate>Tue, 08 Nov 2005 19:03:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/11/09/package-users-and-nalfs-define-package-id-in-users-tag/</guid>
		<description><![CDATA[Categories:  LFS  
The other option Iwas left with is to use use numeric uid in &#60;users&#62;&#60;/users&#62;.
But can it take the syntax &#60;users&#62;uid:gid&#60;/users&#62; because without gid, it is going to be a mess unless taken care of. or is it going to default to the uid value for gid too? I have to experiment [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=9&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="category">Categories: <a href="http://del.icio.us/TMaYaD/LFS" rel="tag"> LFS </a> </span></p>
<p>The other option Iwas left with is to use use numeric uid in &lt;users&gt;&lt;/users&gt;.<br />
But can it take the syntax <code>&lt;users&gt;uid:gid&lt;/users&gt;</code> because without gid, it is going to be a mess unless taken care of. or is it going to default to the uid value for gid too? I have to experiment and find out. unless some one can help me here.</p>
<p>Another thing I can do is (in case it won&#8217;t take the gid) set the gid while cleaning up with something like <code>find / -uid $UID -exec chgrp $GID {}</code> and take extra care to set gid before making any <code>suid</code>s.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=9&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/11/09/package-users-and-nalfs-define-package-id-in-users-tag/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>Bug 1058 &#8211; changing user breaks when chrooted in script</title>
		<link>http://tmayad.wordpress.com/2005/11/08/bug-1058-changing-user-breaks-when-chrooted-in-script/</link>
		<comments>http://tmayad.wordpress.com/2005/11/08/bug-1058-changing-user-breaks-when-chrooted-in-script/#comments</comments>
		<pubDate>Tue, 08 Nov 2005 16:47:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/11/08/bug-1058-changing-user-breaks-when-chrooted-in-script/</guid>
		<description><![CDATA[Bug 1058 &#8211; changing user breaks when chrooted in script
I tried to make matching entries in /etc/passwd and /etc/groups on the host and still getting the user not found error.
Here are the contents I appended to the host contents.
/etc/passwd

linux-libc-headers:x:10000:10000:2.6.11.2:/usr/src/libc-headers:/bin/bash
man-pages:x:10001:10001:2.01:/usr/src/man-pages:/bin/bash
glibc:x:10002:10002:2.3.4:/usr/src/glibc:/bin/bash
binutils:x:10003:10003:2.15.94.0.2.2:/usr/src/binutils:/bin/bash
gcc:x:10004:10004:3.4.3:/usr/src/gcc:/bin/bash
coreutils:x:10005:10005:5.2.1:/usr/src/coreutils:/bin/bash
zlib:x:10006:10006:1.2.2:/usr/src/zlib:/bin/bash
mktemp:x:10007:10007:1.5:/usr/src/mktemp:/bin/bash
iana-etc:x:10008:10008:1.04:/usr/src/iana-etc:/bin/bash
findutils:x:10009:10009:4.2.23:/usr/src/findutils:/bin/bash
gawk:x:10010:10010:3.1.4:/usr/src/gawk:/bin/bash
ncurses:x:10011:10011:5.4:/usr/src/ncurses:/bin/bash
readline:x:10012:10012:5.0:/usr/src/readline:/bin/bash
vim:x:10013:10013:6.3:/usr/src/vim:/bin/bash
m4:x:10014:10014:1.4.3:/usr/src/m4:/bin/bash
bison:x:10015:10015:2.0:/usr/src/bison:/bin/bash
less:x:10016:10016:382:/usr/src/less:/bin/bash
groff:x:10017:10017:1.19.1:/usr/src/groff:/bin/bash
sed:x:10018:10018:4.1.4:/usr/src/sed:/bin/bash
flex:x:10019:10019:2.5.31:/usr/src/flex:/bin/bash
gettext:x:10020:10020:0.14.3:/usr/src/gettext:/bin/bash
inetutils:x:10021:10021:1.4.2:/usr/src/inetutils:/bin/bash
iproute2:x:10022:10022:2.6.11:/usr/src/iproute2:/bin/bash
perl:x:10023:10023:5.8.6:/usr/src/perl:/bin/bash
texinfo:x:10024:10024:4.8:/usr/src/texinfo:/bin/bash
autoconf:x:10025:10025:2.59:/usr/src/autoconf:/bin/bash
automake:x:10026:10026:1.9.5:/usr/src/automake:/bin/bash
bash:x:10027:10027:3.0:/usr/src/bash:/bin/bash
file:x:10028:10028:4.13:/usr/src/file:/bin/bash
libtool:x:10029:10029:1.5.14:/usr/src/libtool:/bin/bash
bzip2:x:10030:10030:1.0.3:/usr/src/bzip2:/bin/bash
diffutils:x:10031:10031:2.8.1:/usr/src/diffutils:/bin/bash
kbd:x:10032:10032:1.12:/usr/src/kbd:/bin/bash
e2fsprogs:x:10033:10033:1.37:/usr/src/e2fsprogs:/bin/bash
grep:x:10034:10034:2.5.1a:/usr/src/grep:/bin/bash
grub:x:10035:10035:0.96:/usr/src/grub:/bin/bash
gzip:x:10036:10036:1.3.5:/usr/src/gzip:/bin/bash
hotplug:x:10037:10037:2004_09_23:/usr/src/hotplug:/bin/bash
man:x:10038:10038:1.5p:/usr/src/man:/bin/bash
make:x:10039:10039:3.80:/usr/src/make:/bin/bash
module-init-tools:x:10040:10040:3.1:/usr/src/module-init-tools:/bin/bash
patch:x:10041:10041:2.5.4:/usr/src/patch:/bin/bash
procps:x:10042:10042:3.2.5:/usr/src/procps:/bin/bash
psmisc:x:10043:10043:21.6:/usr/src/psmisc:/bin/bash
shadow:x:10044:10044:4.0.9:/usr/src/shadow:/bin/bash
sysklogd:x:10045:10045:1.4.1:/usr/src/sysklogd:/bin/bash
sysvinit:x:10046:10046:2.86:/usr/src/sysvinit:/bin/bash
tar:x:10047:10047:1.15.1:/usr/src/tar:/bin/bash
udev:x:10048:10048:056:/usr/src/udev:/bin/bash
util-linux:x:10049:10049:2.12q:/usr/src/util-linux:/bin/bash

/etc/group

linux-libc-headers:x:10000:
man-pages:x:10001:
glibc:x:10002:
binutils:x:10003:
gcc:x:10004:
coreutils:x:10005:
zlib:x:10006:
mktemp:x:10007:
iana-etc:x:10008:
findutils:x:10009:
gawk:x:10010:
ncurses:x:10011:
readline:x:10012:
vim:x:10013:
m4:x:10014:
bison:x:10015:
less:x:10016:
groff:x:10017:
sed:x:10018:
flex:x:10019:
gettext:x:10020:
inetutils:x:10021:
iproute2:x:10022:
perl:x:10023:
texinfo:x:10024:
autoconf:x:10025:
automake:x:10026:
bash:x:10027:
file:x:10028:
libtool:x:10029:
bzip2:x:10030:
diffutils:x:10031:
kbd:x:10032:
e2fsprogs:x:10033:
grep:x:10034:
grub:x:10035:
gzip:x:10036:
hotplug:x:10037:
man:x:10038:
make:x:10039:
module-init-tools:x:10040:
patch:x:10041:
procps:x:10042:
psmisc:x:10043:
shadow:x:10044:
sysklogd:x:10045:
sysvinit:x:10046:
tar:x:10047:
udev:x:10048:
util-linux:x:10049:

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=8&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://bugs.linuxfromscratch.org/show_bug.cgi?id=1058">Bug 1058 &#8211; changing user breaks when chrooted in script</a></p>
<p>I tried to make matching entries in /etc/passwd and /etc/groups on the host and still getting the user not found error.</p>
<p>Here are the contents I appended to the host contents.</p>
<p><a href="expand('packagepasswd')">/etc/passwd</a><br />
<code style="display:none;"><br />
linux-libc-headers:x:10000:10000:2.6.11.2:/usr/src/libc-headers:/bin/bash<br />
man-pages:x:10001:10001:2.01:/usr/src/man-pages:/bin/bash<br />
glibc:x:10002:10002:2.3.4:/usr/src/glibc:/bin/bash<br />
binutils:x:10003:10003:2.15.94.0.2.2:/usr/src/binutils:/bin/bash<br />
gcc:x:10004:10004:3.4.3:/usr/src/gcc:/bin/bash<br />
coreutils:x:10005:10005:5.2.1:/usr/src/coreutils:/bin/bash<br />
zlib:x:10006:10006:1.2.2:/usr/src/zlib:/bin/bash<br />
mktemp:x:10007:10007:1.5:/usr/src/mktemp:/bin/bash<br />
iana-etc:x:10008:10008:1.04:/usr/src/iana-etc:/bin/bash<br />
findutils:x:10009:10009:4.2.23:/usr/src/findutils:/bin/bash<br />
gawk:x:10010:10010:3.1.4:/usr/src/gawk:/bin/bash<br />
ncurses:x:10011:10011:5.4:/usr/src/ncurses:/bin/bash<br />
readline:x:10012:10012:5.0:/usr/src/readline:/bin/bash<br />
vim:x:10013:10013:6.3:/usr/src/vim:/bin/bash<br />
m4:x:10014:10014:1.4.3:/usr/src/m4:/bin/bash<br />
bison:x:10015:10015:2.0:/usr/src/bison:/bin/bash<br />
less:x:10016:10016:382:/usr/src/less:/bin/bash<br />
groff:x:10017:10017:1.19.1:/usr/src/groff:/bin/bash<br />
sed:x:10018:10018:4.1.4:/usr/src/sed:/bin/bash<br />
flex:x:10019:10019:2.5.31:/usr/src/flex:/bin/bash<br />
gettext:x:10020:10020:0.14.3:/usr/src/gettext:/bin/bash<br />
inetutils:x:10021:10021:1.4.2:/usr/src/inetutils:/bin/bash<br />
iproute2:x:10022:10022:2.6.11:/usr/src/iproute2:/bin/bash<br />
perl:x:10023:10023:5.8.6:/usr/src/perl:/bin/bash<br />
texinfo:x:10024:10024:4.8:/usr/src/texinfo:/bin/bash<br />
autoconf:x:10025:10025:2.59:/usr/src/autoconf:/bin/bash<br />
automake:x:10026:10026:1.9.5:/usr/src/automake:/bin/bash<br />
bash:x:10027:10027:3.0:/usr/src/bash:/bin/bash<br />
file:x:10028:10028:4.13:/usr/src/file:/bin/bash<br />
libtool:x:10029:10029:1.5.14:/usr/src/libtool:/bin/bash<br />
bzip2:x:10030:10030:1.0.3:/usr/src/bzip2:/bin/bash<br />
diffutils:x:10031:10031:2.8.1:/usr/src/diffutils:/bin/bash<br />
kbd:x:10032:10032:1.12:/usr/src/kbd:/bin/bash<br />
e2fsprogs:x:10033:10033:1.37:/usr/src/e2fsprogs:/bin/bash<br />
grep:x:10034:10034:2.5.1a:/usr/src/grep:/bin/bash<br />
grub:x:10035:10035:0.96:/usr/src/grub:/bin/bash<br />
gzip:x:10036:10036:1.3.5:/usr/src/gzip:/bin/bash<br />
hotplug:x:10037:10037:2004_09_23:/usr/src/hotplug:/bin/bash<br />
man:x:10038:10038:1.5p:/usr/src/man:/bin/bash<br />
make:x:10039:10039:3.80:/usr/src/make:/bin/bash<br />
module-init-tools:x:10040:10040:3.1:/usr/src/module-init-tools:/bin/bash<br />
patch:x:10041:10041:2.5.4:/usr/src/patch:/bin/bash<br />
procps:x:10042:10042:3.2.5:/usr/src/procps:/bin/bash<br />
psmisc:x:10043:10043:21.6:/usr/src/psmisc:/bin/bash<br />
shadow:x:10044:10044:4.0.9:/usr/src/shadow:/bin/bash<br />
sysklogd:x:10045:10045:1.4.1:/usr/src/sysklogd:/bin/bash<br />
sysvinit:x:10046:10046:2.86:/usr/src/sysvinit:/bin/bash<br />
tar:x:10047:10047:1.15.1:/usr/src/tar:/bin/bash<br />
udev:x:10048:10048:056:/usr/src/udev:/bin/bash<br />
util-linux:x:10049:10049:2.12q:/usr/src/util-linux:/bin/bash<br />
</code></p>
<p><a href="expand('packagegroup')">/etc/group</a><br />
<code style="display:none;"><br />
linux-libc-headers:x:10000:<br />
man-pages:x:10001:<br />
glibc:x:10002:<br />
binutils:x:10003:<br />
gcc:x:10004:<br />
coreutils:x:10005:<br />
zlib:x:10006:<br />
mktemp:x:10007:<br />
iana-etc:x:10008:<br />
findutils:x:10009:<br />
gawk:x:10010:<br />
ncurses:x:10011:<br />
readline:x:10012:<br />
vim:x:10013:<br />
m4:x:10014:<br />
bison:x:10015:<br />
less:x:10016:<br />
groff:x:10017:<br />
sed:x:10018:<br />
flex:x:10019:<br />
gettext:x:10020:<br />
inetutils:x:10021:<br />
iproute2:x:10022:<br />
perl:x:10023:<br />
texinfo:x:10024:<br />
autoconf:x:10025:<br />
automake:x:10026:<br />
bash:x:10027:<br />
file:x:10028:<br />
libtool:x:10029:<br />
bzip2:x:10030:<br />
diffutils:x:10031:<br />
kbd:x:10032:<br />
e2fsprogs:x:10033:<br />
grep:x:10034:<br />
grub:x:10035:<br />
gzip:x:10036:<br />
hotplug:x:10037:<br />
man:x:10038:<br />
make:x:10039:<br />
module-init-tools:x:10040:<br />
patch:x:10041:<br />
procps:x:10042:<br />
psmisc:x:10043:<br />
shadow:x:10044:<br />
sysklogd:x:10045:<br />
sysvinit:x:10046:<br />
tar:x:10047:<br />
udev:x:10048:<br />
util-linux:x:10049:<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=8&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/11/08/bug-1058-changing-user-breaks-when-chrooted-in-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
		<item>
		<title>Use fake package users</title>
		<link>http://tmayad.wordpress.com/2005/10/29/use-fake-package-users/</link>
		<comments>http://tmayad.wordpress.com/2005/10/29/use-fake-package-users/#comments</comments>
		<pubDate>Sat, 29 Oct 2005 02:23:00 +0000</pubDate>
		<dc:creator>tmayad</dc:creator>
				<category><![CDATA[lfs]]></category>

		<guid isPermaLink="false">http://tmayad.wordpress.com/2005/10/29/use-fake-package-users/</guid>
		<description><![CDATA[Categories:  LFS  
So I need to use user IDs, huh? Wonder how I can catch the output of the script and place it in xml. If that can&#8217;t be done, I can always use a package-userid xml entity in package.ent.
The first seems to beimpossible as of now and the second is a head [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=7&subd=tmayad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="category">Categories: <a href="http://del.icio.us/TMaYaD/LFS" rel="tag"> LFS </a> </span></p>
<p>So I need to use user IDs, huh? Wonder how I can catch the output of the script and place it in xml. If that can&#8217;t be done, I can always use a <code><em>package</em>-userid</code> xml entity in <code>package.ent</code>.</p>
<p>The first seems to beimpossible as of now and the second is a head ache. I think I will modify the add_user script so that it can be run from host root and make changes to <code>$LFS/etc/passwd</code> and <code>/etc/passwd</code>. Well, The following schema should work.</p>
<ul>
<li>The users on host should all belong to a temp group so that they can be removed easily after the build is done. But still I don&#8217;t like messing my host system.</li>
<li>The id finding algo should check both the files to find the usable ID. This can be ensured by making the range availiable in host passwd filed, but some how I don&#8217;t like to depend on that !</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tmayad.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tmayad.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmayad.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmayad.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmayad.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmayad.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmayad.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmayad.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmayad.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmayad.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmayad.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmayad.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tmayad.wordpress.com&blog=20562&post=7&subd=tmayad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tmayad.wordpress.com/2005/10/29/use-fake-package-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44e42323f260e6c87a0697fddc440ac6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmayad</media:title>
		</media:content>
	</item>
	</channel>
</rss>