nALFS , LFS-Profile-6.1-1 and pkg users

Subhash Chandra mr.subhash at gmail.com
Wed Nov 9 22:35:56 PST 2005


I'm trying to modify the LFS-Profile-6.1-1 and modify it for pkg-users.
But I get error saying no such user found.

I searched a bit and found this
http://bugs.linuxfromscratch.org/show_bug.cgi?id=1058

Like it was said there,

I added the following to /etc/passwd file on the host system

        linux-libc:x:10000:10000:2.6.11.2:/usr/src/libc-headers:/bin/bash

and the following line to /etc/group host system

        install:x:9999:
        linux-libc:x:10000:

But I'm still getting the error

        I: Changing to user "linux-libc".
        E: User linux-libc doesn't exist.
        I: Log file stored in:
        I: /root/.nALFS/packages/libc-headers-2.6.11.2.xml
        E: Execution failed (1).

These are the modifications I did to the linux-libc profile in chapter 6

   [stage name="Adding the Package User"]
      [execute command="add_package_user"]
        [param]&linux-libc-headers-version;[/param]
        [param]linux-libc[/param]
        [param]10000[/param]
        [param]20000[/param]
        [param]linux-libc[/param]
        [param]10000[/param]
        [param]20000[/param]
      [/execute]
    [/stage]

before the unpacking stage and added the following code in unpacking
stage and installing stage(only the user-/user tag to the already
existing stageinfo in 'installing')

      [stageinfo]
        [user]linux-libc[/user]
      [/stageinfo]

I even tried the other method given in the bug report by using
[user]10000[/user] instead of [user]linux-libc[/user] and got the
error
        I: Changing to user "10000".
        E: User 10000 doesn't exist.

What am I missing here? Can somebody please help!

--
╔════════════════════════════╗
║I don't know how much of what I say is true ║
╚════════════════════════════╝


More information about the alfs-discuss mailing list