You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do not need to set recursive=True when restoring the selinux mode of the / directory. This may modify the SELinux security context of some files that are not displayed in the result of "semanage fcontext -l". This may affect other applications.
Steps to reproduce the problem
The mount point is set to /mnt1 and the /mnt1 directory does not exist.
from cloudinit import util
# the /mnt1 directory does not exist
util.ensure_dir("/mnt1")
Environment details
Cloud-init version: cloud-init-23.4.1-3.oe2403
Operating System Distribution:openEuler-24.03-LTS
Cloud provider, platform or installer type:nocloud
Bug report
do not need to set recursive=True when restoring the selinux mode of the / directory. This may modify the SELinux security context of some files that are not displayed in the result of "semanage fcontext -l". This may affect other applications.
Steps to reproduce the problem
The mount point is set to /mnt1 and the /mnt1 directory does not exist.
Environment details
cloud-init logs
The text was updated successfully, but these errors were encountered: