setfiles command fails during kiwi build

17 views
Skip to first unread message

Neel Parikh

unread,
Feb 14, 2023, 4:16:27 PM2/14/23
to kiwi
Hi All,

I'm trying to build openSUSE 15.3 OS with kiwi version 9.24.43, the build is failing at the end with setfiles command usage error:

It seems like there is an extra '/' at the end of the command in setup.py which is why the command is not executing. When I try removing that and run, it works fine.


[2023-02-14T20:35:53.786Z] [ DEBUG ]: 20:35:53 | EXEC: [chroot image-root setfiles -F -p -c /etc/selinux/targeted/policy/policy.32 -e /proc -e /sys -e /dev /etc/selinux/targeted/contexts/files/file_contexts /]


[root@tmp]# setfiles -F -p -c /etc/selinux/targeted/policy/policy.31 -e /proc -e /sys -e /dev /etc/selinux/targeted/contexts/files/file_contexts /

usage: setfiles [-dilnpqvFW] [-e excludedir] [-r alt_root_path] spec_file pathname...
usage: setfiles [-dilnpqvFW] [-e excludedir] [-r alt_root_path] spec_file -f filename
usage: setfiles -s [-dilnpqvFW] spec_file
usage: setfiles -c policyfile spec_file


OS: openSUSE 15.3
Kiwi version: 9.24.43

Reply all
Reply to author
Forward
0 new messages