SELinuxProject / selinux-notebook

The SELinux Notebook
Other
520 stars 101 forks source link

Q: question about the security context of the file mount point after the tmpfs file system is mounted? #25

Closed linux-gcc closed 1 year ago

linux-gcc commented 1 year ago

On CentOS 8.4 systems encountering a mount point security context for a tmpfs file becomes system_u:object_r:adjtime_t:s0, this issue is epidoxical. What is the usual cause of this problem?

WOnder93 commented 1 year ago

This might be the kernel bug fixed by this commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cbfcd13be5cb2a07868afe67520ed181956579a7

It should be fully fixed in RHEL/CentOS 8.7+. Can you try upgrading?

(Also please don't report CentOS issues here. There is Red Hat Bugzilla for that.)

pcmoore commented 1 year ago

I believe @WOnder93 already pointed you in the right direction @linux-gcc so I'm going to close this issue; please follow up on the Red Hat Bugzilla for Red Hat specific issues, thank you.