[poky] Error when polkit library is pulled

Mark Hatle mark.hatle at windriver.com
Thu Mar 3 08:54:21 PST 2011


On 3/3/11 3:46 AM, chinmaya hoshing wrote:
> Hi,
> When polkit library is pulled ,this is the following error :-
> 
> 
> NOTE: package poky-image-minimal-initramfs-1.0-r0: task do_rootfs: Succeeded
> ERROR: Task failed: ('function do_rootfs failed',
> '/home/sct/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.21457')
> ERROR: Logfile of failure stored in:
> /home/sct/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.21457
> :
> :
> :
> :
> : base-files                  ##################################################
> | error: unpacking of archive failed on file /var/cache: cpio: rename failed -
> Inappropriate ioctl for device

The above is the cause of the failed install.  What filesystem are you on?  The
failure is severe, it created a directory, tried to rename the directory and got
an "Inappropriate ioctl for device".. in otherwords the device prevented the
rename for some reason.

Is your build being done on either an NFS, Clearcase, or other non-local
filesystem?  Or do you have selinux or something like that enabled that saw
"/var/cache", and prevented the renaming thinking it was a hacking attempt?

(FYI, the rename happens so that the creation of files/directories happens
atomically.  create /var/cache.XXXXXX then mv /var/cache.XXXXX /var/cache is
being done... ensuring the old item only goes away when the new item is fully
created.)

--Mark

> | udev-extraconf              ##################################################
> | udev                        ##################################################
> | zypper                      ##################################################
> | avahi-daemon                ##################################################
> | hal-info                    ##################################################
> | ERROR: Task failed: ('function do_rootfs failed',
> '/home/sct/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.21457')
> NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed
> ERROR: Task 191
> (/home/sct/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb
> <http://poky-image-minimal-akshat.bb>, do_rootfs) failed with 1
> ERROR:
> '/home/sct/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb
> <http://poky-image-minimal-akshat.bb>' failed
> 
> 
> With Regards
> Chinmaya
> 
> 
> 
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky




More information about the poky mailing list