Hi,
Do any of you know how to fix the following errors while running lorax?
"
Can't stat exclude path "/install", No such file or directory - ignoring.
setfiles get context on / failed: 'Operation not supported'
"
Thanks,
Lijun
......
2016-04-20 17:10:17,651: cleaning unneeded files
cleaning unneeded files
2016-04-20 17:10:17,794: running runtime-cleanup.tmpl
running runtime-cleanup.tmpl
2016-04-20 17:10:33,820: creating the runtime image
creating the runtime image
2016-04-20 17:10:33,821: no BCJ filter for arch aarch64
no BCJ filter for arch aarch64
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=Anaconda
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 2097152 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=35651584
256 block groups
8192 blocks per group, 8192 fragments per group
512 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409, 663553,
1024001, 1990657
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
[87241.832495] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[87263.542522] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
Can't stat exclude path "/install", No such file or directory - ignoring.
setfiles get context on / failed: 'Operation not supported'
Traceback (most recent call last):
File "/sbin/lorax", line 323, in <module>
main(sys.argv)
File "/sbin/lorax", line 225, in main
remove_temp=True)
File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 297, in run
compression=compression, compressargs=compressargs)
File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 161, in create_runtime
"Anaconda", size=size)
File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 107, in mkrootfsimg
runcmd(cmd, root=root)
File "/usr/lib/python2.7/site-packages/pylorax/executils.py", line 414, in runcmd
return execWithRedirect(cmd[0], cmd[1:], **kwargs)
File "/usr/lib/python2.7/site-packages/pylorax/executils.py", line 179, in execWithRedirect
raise subprocess.CalledProcessError(ret, [command]+argv)
subprocess.CalledProcessError: Command '['setfiles', '-e', '/proc', '-e', '/sys', '-e', '/dev', '-e', '/install', '/etc/selinux/targeted/contexts/files/file_contexts', '/']' returned non-zero exit status 255