• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fedora 23 - SVN 4455 - Restarting Apache2 for fog vhost ... Failed!

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    20
    13.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      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.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        @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
        

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          @Jbob SELinux also apparently breaks the FTP Image Size feature.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            @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
            

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              @Jbob I suppose so. What do I need to do?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                @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]#
                

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by Wayne Workman

                  @Jbob

                  [root@mbfog targeted]# semodule -l | grep fog
                  fog
                  [root@mbfog targeted]#
                  

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    @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
                    

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 1
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      @Jbob Whenever you’re free just let me know. I have FOG setup in Fedora 23 both at work and home.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Another thread being solved because this isn’t “directly” a FOG issue, but rather SELinux issue.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        133

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project