Closed
Description
Currently the CI job e2e-microshift
is failing on the self-sufficient bundle PR #980, with the following error:
$ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_ecdsa_crc [email protected] -- 'sudo cp /home/core/systemd-units/* /etc/systemd/system/ && sudo cp /home/core/systemd-scripts/* /usr/local/bin/'
Warning: Permanently added '192.168.126.11' (ED25519) to the list of known hosts.
cp: cannot create regular file '/usr/local/bin/crc-cluster-status.sh': Read-only file system
cp: cannot create regular file '/usr/local/bin/crc-dnsmasq.sh': Read-only file system
cp: cannot create regular file '/usr/local/bin/crc-pullsecret.sh': Read-only file system
cp: cannot create regular file '/usr/local/bin/crc-routes-controller.sh': Read-only file system
cp: cannot create regular file '/usr/local/bin/crc-systemd-common.sh': Read-only file system
we need to make the /usr/local/bin` directory mutable to be able to copy the scripts files into it, we can do it similar to what was done for the shared folder mount directory in PR #1002
We can alternatively create the scripts on /opt
and set the expected Se Linux label (bin_t
) to the script files but this feels messy as required label might get updated, while /usr/local/bin
will always have the proper labels for executable files and can be inherited by the scripts we put there.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done
Activity