Fedora 23 - SVN 4455 - Restarting Apache2 for fog vhost ... Failed!
-
OK Done, FOG Server successfully migrated to Fedora 23 with Firewalld enabled.
I’ll set SELinux back to enforcing just to try it out - but the problem described in this thread does need some addressing.
I’m more than willing to help ofcourse.
-
@Jbob Fedora 23.
ls /etc/selinux/targeted/modules/active/modules/ | grep fog
ls: cannot access /etc/selinux/targeted/modules/active/modules/: No such file or directory
-
@Jbob SELinux also apparently breaks the FTP Image Size feature.
-
@Jbob
find / | grep fog.pp
find: ‘/sys/devices/virtual/misc/vmbus!hv_vss’: No such file or directory find: ‘/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/vmbus_1602193’: No such file or directory /root/svn/trunk/SELinux/fog.pp
-
@Jbob I suppose so. What do I need to do?
-
@Jbob
[root@mbfog bin]# getenforce Enforcing [root@mbfog bin]# setenforce 0 [root@mbfog bin]# getenforce Permissive [root@mbfog bin]# [root@mbfog bin]# [root@mbfog bin]# [root@mbfog bin]# yum install -y selinux-policy-devel gcc make Yum command has been deprecated, redirecting to '/usr/bin/dnf install -y selinux-policy-devel gcc make'. See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate' Last metadata expiration check performed 3:30:02 ago on Mon Nov 30 06:45:24 2015. Package selinux-policy-devel-3.13.1-155.fc23.noarch is already installed, skipping. Package gcc-5.1.1-4.fc23.x86_64 is already installed, skipping. Package make-1:4.0-5.1.fc23.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@mbfog bin]# cd ~/svn/trunk/SELinux [root@mbfog SELinux]# make -f /usr/share/selinux/devel/Makefile fog.pp make: 'fog.pp' is up to date. [root@mbfog SELinux]# semodule -i fog.pp [root@mbfog SELinux]# ls /etc/selinux/targeted/modules/active/modules/ | grep fog ls: cannot access /etc/selinux/targeted/modules/active/modules/: No such file or directory [root@mbfog SELinux]# setenforce 1 [root@mbfog SELinux]# ls /etc/selinux/targeted/modules/active/modules/ | grep fog ls: cannot access /etc/selinux/targeted/modules/active/modules/: No such file or directory [root@mbfog SELinux]# cd /etc/selinux/targeted/modules/active/modules -bash: cd: /etc/selinux/targeted/modules/active/modules: No such file or directory [root@mbfog SELinux]# ls /etc/selinux/targeted booleans.subs_dist contexts logins policy setrans.conf seusers [root@mbfog SELinux]# cd /etc/selinux/targeted [root@mbfog targeted]# cd policy [root@mbfog policy]# ls policy.29 [root@mbfog policy]# cd .. [root@mbfog targeted]# find / | grep "modules/active" find: ‘/sys/devices/virtual/misc/vmbus!hv_vss’: No such file or directory find: ‘/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/vmbus_1915520’: No such file or directory [root@mbfog targeted]#
-
@Jbob
[root@mbfog targeted]# semodule -l | grep fog fog [root@mbfog targeted]#
-
@Jbob Figured it out.
The newest SELinux userspace project release 2015-02-02 includes a change of the location of the SELinux policy store, which defaults to /var/lib/selinux/.
https://fedoraproject.org/wiki/Changes/SELinuxPolicyStoreMigration
find /var/lib/selinux | grep fog
/var/lib/selinux/targeted/active/modules/400/fog /var/lib/selinux/targeted/active/modules/400/fog/lang_ext /var/lib/selinux/targeted/active/modules/400/fog/hll /var/lib/selinux/targeted/active/modules/400/fog/cil
-
@Jbob Whenever you’re free just let me know. I have FOG setup in Fedora 23 both at work and home.
-
Another thread being solved because this isn’t “directly” a FOG issue, but rather SELinux issue.