LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-13-2012, 05:00 AM   #1
k84834
Member
 
Registered: Aug 2012
Posts: 142

Rep: Reputation: Disabled
I encounter with an error in nALFS when running a xml file.


I follow steps in Building LFS-6.0 with nALFS 1.2.3
in step 7 , at "And do what it says press the m key to run the elements we marked above and presto you lfs-6.0 system will start building." point , I enter m key and chapter 5 is running that stoped with below error :

┌────────────────────────────────────────────────┤ LFS.xml ├───┤ nALFS 1.2.4 ├─┐
│ * ! - LFS.xml │
│ * ! + Chapter 5 - Constructing a Temporary System │
│-> + Chapter 6 - Installing Basic System Software │
│ + Chapter 7 - Setting Up System Bootscripts │
│ + Chapter 8 - Making the LFS System Bootable │
│ + Chapter 9 - The End │
│ + Finishing Up │
│ │
│ │
│ │
├──────────────────────────────────────────────────────┤ r s w h B ├─┤
│I: Executing system command in /: │
│I: id -u lfs &> /dev/null || useradd -s /bin/bash -g lfs -m -k /dev/null l│
│fs │
│-: id: lfs: No such user │
│I: Executing system command in /: │
│I: echo lfs:lf1nstl | chpasswd │
│-: chpasswd: (user lfs) pam_chauthtok() failed, error: │
│-: Authentication token manipulation error │
│-: chpasswd: (line 1, user lfs) password not changed │
│E: Execution failed (1). │
│I: Total time executing: 00:00:00 │
└────────────────────────────────────────────────────────────┤ T 00:00:01 [] ├─

what I done to fix this error ? is this error meaning that the user don't exist or chpass command don't running ?


this is the xml file :
<alfs>

<stage name="Adding the LFS User">
<execute command="groupadd -f lfs" />

<execute command="id -u &lfs-user; &amp;> /dev/null || useradd -s /bin/bash -g lfs -m -k /dev/null &lfs-user;" />

<execute command="echo &lfs-user;:&lfs-password; | chpasswd" />

<ownership user="&lfs-user;">
<name>&LFS;/tools</name>
<name>&LFS;&build_dir;</name>
</ownership>
</stage>

</alfs>

Last edited by k84834; 08-13-2012 at 05:19 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add xml-stylesheet tag in a XML File using libxml2 ? peacemission Programming 6 05-26-2012 02:20 AM
(Error: Cannot open/read repomd.xml file for repository: tejas-barot-vlc ) in yum greenworld Linux - Server 11 01-05-2012 11:59 PM
Why do I encounter Flash plugin error so often? Mr. Alex Linux - Software 7 09-28-2010 07:22 AM
Error: Cannot open/read repomd.xml file for repository: updates noamhr Linux - Newbie 2 11-20-2009 02:43 PM
configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog Fadoksi Linux - Software 1 07-16-2006 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration