ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable add plugins and themes to Wordpress

    IT Discussion
    wordpress plugins
    4
    24
    1.6k
    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.
    • J
      JaredBusch
      last edited by

      @JaredBusch said in Unable add plugins and themes to Wordpress:

      semanage permissive -a httpd_t

      I used wp-cli on my last new server setup with WP. I did not set this boolean, so the setup process must have done it.

      [jbusch@bnaweb01 ~]$ sudo getsebool -a | grep http | grep ' on'
      httpd_builtin_scripting --> on
      httpd_can_network_connect --> on
      httpd_enable_cgi --> on
      
      O 1 Reply Last reply Reply Quote 1
      • O
        Obsolesce @JaredBusch
        last edited by

        @JaredBusch said in Unable add plugins and themes to Wordpress:

        @JaredBusch said in Unable add plugins and themes to Wordpress:

        semanage permissive -a httpd_t

        I used wp-cli on my last new server setup with WP. I did not set this boolean, so the setup process must have done it.

        [jbusch@bnaweb01 ~]$ sudo getsebool -a | grep http | grep ' on'
        httpd_builtin_scripting --> on
        httpd_can_network_connect --> on
        httpd_enable_cgi --> on
        

        It's been awhile since I set mine up per my blog instructions. I don't remember having to do that. Maybe I did, but I didn't incluse that in my instructions so I don't think I did.

        J 1 Reply Last reply Reply Quote 0
        • J
          JaredBusch @Obsolesce
          last edited by

          @Obsolesce said in Unable add plugins and themes to Wordpress:

          @JaredBusch said in Unable add plugins and themes to Wordpress:

          @JaredBusch said in Unable add plugins and themes to Wordpress:

          semanage permissive -a httpd_t

          I used wp-cli on my last new server setup with WP. I did not set this boolean, so the setup process must have done it.

          [jbusch@bnaweb01 ~]$ sudo getsebool -a | grep http | grep ' on'
          httpd_builtin_scripting --> on
          httpd_can_network_connect --> on
          httpd_enable_cgi --> on
          

          It's been awhile since I set mine up per my blog instructions. I don't remember having to do that. Maybe I did, but I didn't incluse that in my instructions so I don't think I did.

          Last I knew, it is not enable by default. So I assumed that wp-cli did it.

          1 Reply Last reply Reply Quote 0
          • E
            EddieJennings @Obsolesce
            last edited by

            @Obsolesce said in Unable add plugins and themes to Wordpress:

            Try this to see if it resolves the issue:
            semanage permissive -a httpd_t

            If that works, then you can do it properly with fcontext

            SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

            J 1 Reply Last reply Reply Quote 0
            • J
              JaredBusch @EddieJennings
              last edited by

              @EddieJennings said in Unable add plugins and themes to Wordpress:

              @Obsolesce said in Unable add plugins and themes to Wordpress:

              Try this to see if it resolves the issue:
              semanage permissive -a httpd_t

              If that works, then you can do it properly with fcontext

              SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

              Did oyu check the boolean's as noted?

              E 1 Reply Last reply Reply Quote 0
              • E
                EddieJennings @JaredBusch
                last edited by

                @JaredBusch said in Unable add plugins and themes to Wordpress:

                @EddieJennings said in Unable add plugins and themes to Wordpress:

                @Obsolesce said in Unable add plugins and themes to Wordpress:

                Try this to see if it resolves the issue:
                semanage permissive -a httpd_t

                If that works, then you can do it properly with fcontext

                SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                Did oyu check the boolean's as noted?

                After trying out permissive, yes.
                httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                J 1 Reply Last reply Reply Quote 0
                • J
                  JaredBusch @EddieJennings
                  last edited by

                  @EddieJennings said in Unable add plugins and themes to Wordpress:

                  @JaredBusch said in Unable add plugins and themes to Wordpress:

                  @EddieJennings said in Unable add plugins and themes to Wordpress:

                  @Obsolesce said in Unable add plugins and themes to Wordpress:

                  Try this to see if it resolves the issue:
                  semanage permissive -a httpd_t

                  If that works, then you can do it properly with fcontext

                  SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                  Did oyu check the boolean's as noted?

                  After trying out permissive, yes.
                  httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                  silly.

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    EddieJennings @JaredBusch
                    last edited by

                    @JaredBusch said in Unable add plugins and themes to Wordpress:

                    @EddieJennings said in Unable add plugins and themes to Wordpress:

                    @JaredBusch said in Unable add plugins and themes to Wordpress:

                    @EddieJennings said in Unable add plugins and themes to Wordpress:

                    @Obsolesce said in Unable add plugins and themes to Wordpress:

                    Try this to see if it resolves the issue:
                    semanage permissive -a httpd_t

                    If that works, then you can do it properly with fcontext

                    SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                    Did oyu check the boolean's as noted?

                    After trying out permissive, yes.
                    httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                    silly.

                    That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JaredBusch @EddieJennings
                      last edited by

                      @EddieJennings said in Unable add plugins and themes to Wordpress:

                      @JaredBusch said in Unable add plugins and themes to Wordpress:

                      @EddieJennings said in Unable add plugins and themes to Wordpress:

                      @JaredBusch said in Unable add plugins and themes to Wordpress:

                      @EddieJennings said in Unable add plugins and themes to Wordpress:

                      @Obsolesce said in Unable add plugins and themes to Wordpress:

                      Try this to see if it resolves the issue:
                      semanage permissive -a httpd_t

                      If that works, then you can do it properly with fcontext

                      SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                      Did oyu check the boolean's as noted?

                      After trying out permissive, yes.
                      httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                      silly.

                      That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                      That you don't even understand the advice you are following.

                      What @Obsolesce told you to do was to set ALL things marked as httpd_t to permissive. Effectively no different than setenforce 0 but jsut to the things with the tag httpd_t.

                      Change the boolean. Turn enforcing back on.

                      E 1 Reply Last reply Reply Quote 0
                      • J
                        JaredBusch
                        last edited by

                        @Obsolesce said in Unable add plugins and themes to Wordpress:

                        httpd_can_network_connect

                        First go look up WTF that boolean does if you want to learn something.

                        The name is plenty descriptive for most.

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          EddieJennings @JaredBusch
                          last edited by

                          @JaredBusch said in Unable add plugins and themes to Wordpress:

                          @EddieJennings said in Unable add plugins and themes to Wordpress:

                          @JaredBusch said in Unable add plugins and themes to Wordpress:

                          @EddieJennings said in Unable add plugins and themes to Wordpress:

                          @JaredBusch said in Unable add plugins and themes to Wordpress:

                          @EddieJennings said in Unable add plugins and themes to Wordpress:

                          @Obsolesce said in Unable add plugins and themes to Wordpress:

                          Try this to see if it resolves the issue:
                          semanage permissive -a httpd_t

                          If that works, then you can do it properly with fcontext

                          SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                          Did oyu check the boolean's as noted?

                          After trying out permissive, yes.
                          httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                          silly.

                          That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                          That you don't even understand the advice you are following.

                          What @Obsolesce told you to do was to set ALL things marked as httpd_t to permissive. Effectively no different than setenforce 0 but jsut to the things with the tag httpd_t.

                          Change the boolean. Turn enforcing back on.

                          I didn't type my thought clearly. The end goal is to find the right way to change httpd_can_network_connect to true, and make sure the value is persistent.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            JaredBusch @EddieJennings
                            last edited by

                            @EddieJennings said in Unable add plugins and themes to Wordpress:

                            @JaredBusch said in Unable add plugins and themes to Wordpress:

                            @EddieJennings said in Unable add plugins and themes to Wordpress:

                            @JaredBusch said in Unable add plugins and themes to Wordpress:

                            @EddieJennings said in Unable add plugins and themes to Wordpress:

                            @JaredBusch said in Unable add plugins and themes to Wordpress:

                            @EddieJennings said in Unable add plugins and themes to Wordpress:

                            @Obsolesce said in Unable add plugins and themes to Wordpress:

                            Try this to see if it resolves the issue:
                            semanage permissive -a httpd_t

                            If that works, then you can do it properly with fcontext

                            SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                            Did oyu check the boolean's as noted?

                            After trying out permissive, yes.
                            httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                            silly.

                            That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                            That you don't even understand the advice you are following.

                            What @Obsolesce told you to do was to set ALL things marked as httpd_t to permissive. Effectively no different than setenforce 0 but jsut to the things with the tag httpd_t.

                            Change the boolean. Turn enforcing back on.

                            I didn't type my thought clearly. The end goal is to find the right way to change httpd_can_network_connect to true, and make sure the value is persistent.

                            That does not mesh with WTF you just stated. The two are not the same thing.

                            You want to set a Boolean. Then you fucking use the tool designed to change booleans.

                            1 Reply Last reply Reply Quote 0
                            • E
                              EddieJennings @JaredBusch
                              last edited by

                              @JaredBusch said in Unable add plugins and themes to Wordpress:

                              @Obsolesce said in Unable add plugins and themes to Wordpress:

                              httpd_can_network_connect

                              First go look up WTF that boolean does if you want to learn something.

                              The name is plenty descriptive for most.

                              Just did, and it makes sense.

                              1 Reply Last reply Reply Quote 0
                              • E
                                EddieJennings
                                last edited by

                                @JaredBusch said in Unable add plugins and themes to Wordpress:

                                httpd_can_network_connect

                                And setsebool -P httpd_can_network_connect on appears to be the answer .

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  JaredBusch @EddieJennings
                                  last edited by

                                  @EddieJennings said in Unable add plugins and themes to Wordpress:

                                  @JaredBusch said in Unable add plugins and themes to Wordpress:

                                  httpd_can_network_connect

                                  And setsebool -P httpd_can_network_connect on appears to be the answer .

                                  And has nothing to do with contexts

                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    EddieJennings @JaredBusch
                                    last edited by

                                    @JaredBusch said in Unable add plugins and themes to Wordpress:

                                    @EddieJennings said in Unable add plugins and themes to Wordpress:

                                    @JaredBusch said in Unable add plugins and themes to Wordpress:

                                    httpd_can_network_connect

                                    And setsebool -P httpd_can_network_connect on appears to be the answer .

                                    And has nothing to do with contexts

                                    True. That was a point of confusion.

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