ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] LTIB build errors (permission denied and too many levels of s


From: Erik Peterson
Subject: Re: [Ltib] LTIB build errors (permission denied and too many levels of symbolic links)
Date: Thu, 13 Mar 2008 12:50:13 -0700

Hi,

In my experience, the same user that installed needs to invoke ./ ltib. For convenience we are using a fictitious user to call ./ltib. Otherwise you would need to recursively chown and chgrp all the files...

cheers,
~erik peterson
On Mar 13, 2008, at 12:29 PM, Stephens, Peter A. wrote:


During build operations using LTIB I have a problem with permissions and
the number of levels of symbolic links.  It seems like LTIB wants a
portion of the commands to build the root file system to be run as the
root user, but this appears not to be happening. Line 481 makes a call
to the function "mk_fs_image" defined in "Ltibutils.pm". I found out
that the "rm -..." commands were not being called as root. Thank you in
advance for your inputs.

I am using Fedora 8 with ltib-mpc5121ads-20071210.

---------------------- The output from two subsequent runs is below
----------------------

Run 1: After a "./ltib -m distclean" and "sudo rm -rf ./rootfs.tmp/*",
and then running "./ltib --configure" I get:

  Processing deployment operations
  ==================================
  making filesystem image file
  staging directory is
/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp
  removing the boot directory and files
  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/boot/u- boot.bin':
Permission denied

  ...

  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/boot/ linux.config
': Permission denied
  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/boot/ mpc5121ads.d
tb': Permission denied
  Died at ./ltib line 481, <> line 360.

  Started: Tue Mar 11 17:15:09 2008
  Ended:   Tue Mar 11 17:36:22 2008
  Elapsed: 1273 seconds

  Build Failed

  Exiting on error or interrupt

Run 2: Running "./ltib --configure" a second time gives:

  Processing deployment operations
  ==================================
  making filesystem image file
  staging directory is
/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp
  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/bin/gzip': Too
many levels of symbolic links
  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/bin/df': Too many
levels of symbolic links

  ...

  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/bin/bash':
Permission denied
  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/bin/chgrp': Too
many levels of symbolic links

  ...

  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/usr/bin/patch':
Too many levels of symbolic links
  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/usr/bin/gst- feedb
ack': Permission denied

  ...

  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/boot/ bootable_ker
nel': Too many levels of symbolic links
  rm: cannot remove
`/home/hzqmrk/proj/ltib-mpc5121ads-20071210/rootfs.tmp/boot/ mpc5121ads.d
tb': Permission denied
  Died at ./ltib line 481, <> line 358.

  Started: Thu Mar 13 13:17:59 2008
  Ended:   Thu Mar 13 13:19:56 2008
  Elapsed: 117 seconds

  Build Failed

  Exiting on error or interrupt


Peter A. Stephens
address@hidden
765-451-7074


****************************************************************************************

Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.

****************************************************************************************


_______________________________________________
LTIB home page: http://bitshrine.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]