@fedora

Страница 1504 из 2988
Tobias?
25.01.2018
18:41:02
And you escaped /etc/resolv.conf with ""?

so sudo touch "/etc/resolv.conf" ?

Shukhrat
25.01.2018
18:42:33
Hello guys!

Vafa
25.01.2018
18:42:39
Ok m now is ok. I made mistake on file name

Google
Shukhrat
25.01.2018
18:43:00
I have a problem with Selinux and wordpress

Can somebody help me?

Justin
25.01.2018
18:43:58
Can somebody help me?
Best to go ahead and ask your question or provide info to help. ?

You don't need permission to ask!

Shukhrat
25.01.2018
18:44:50
ok. I`ve installed wordpress by this link https://fedoramagazine.org/howto-install-wordpress-fedora/

Then I`ve opened wordpress and go to themes section but i can`t install new themes

Tobias?
25.01.2018
18:45:41
restorecon resolv.conf

as root

re-run.

Shukhrat
25.01.2018
18:45:52
Then I`ve disabled Selinux

Barrel
25.01.2018
18:46:20
Then I`ve disabled Selinux
Now, why would you do this?

Google
Justin
25.01.2018
18:46:29
Shukhrat
25.01.2018
18:46:35
And everything became as it should

Justin
25.01.2018
18:46:37
Then I`ve disabled Selinux
I'm guessing it worked after you disabled?

Barrel
25.01.2018
18:46:45
To debug!
That's what Permissive mode is for :P

Shukhrat
25.01.2018
18:46:46
Vafa
25.01.2018
18:47:10
re-run.
Same output unconfined_u: object_r:net_conf_t:s0

Tobias?
25.01.2018
18:47:11
Shukhrat
25.01.2018
18:47:14
but i don`t thiink that this is a good idea to desable Selinux

Justin
25.01.2018
18:47:18
Then I`ve opened wordpress and go to themes section but i can`t install new themes
I have had this exact issue before. You need to add a label to the wp_upload directory and also set a SELinux boolean to allow http to download to the web server.

Tobias?
25.01.2018
18:47:22
Justin
25.01.2018
18:47:24
I forget the two things…

Tobias?
25.01.2018
18:47:27
Now reconnect.

There are a billion guides how to wordpress + selinux.

Google is your friend.

Justin
25.01.2018
18:47:56
One is definitely a boolean and one is a label for the wp_content directory

Shukhrat
25.01.2018
18:48:11
I understand this, tell me how to add a rule for Selinux

Justin
25.01.2018
18:48:15
There are a billion guides how to wordpress + selinux.
The fixes I always find are poorly documented for this

Shukhrat
25.01.2018
18:48:36
Google
Justin
25.01.2018
18:48:37
That's what Permissive mode is for :P
I think when people say disable SELinux, this is usually what they mean

Tobias?
25.01.2018
18:48:38
One is definitely a boolean and one is a label for the wp_content directory
Eh, even then wordpress will remain a security hole.

The fixes I always find are poorly documented for this
If you find some you think are important to have at hand i'll add them to a wiki.

Justin
25.01.2018
18:49:03
Eh, even then wordpress will remain a security hole.
Well, everything has security holes, it depends if you know about them or not ?

Let me try and find the guides I used before

Tobias?
25.01.2018
18:49:14
I needed to fill mine up anyway and fixes are like.. good. XD

Shukhrat
25.01.2018
18:49:28
Tobias?
25.01.2018
18:50:07
Well, everything has security holes, it depends if you know about them or not ?
Well, the more wordpress the more remote-xmlrpc to run content scripts on for free :3

Cant get cheaper hosting really.

Barrel
25.01.2018
18:50:38
Justin
25.01.2018
18:52:07
it will be good
https://wiki.centos.org/TipsAndTricks/SelinuxBooleans Set httpd_can_network_relay to true first, this should solve your current problem

Vafa
25.01.2018
18:53:45
Now reconnect.
? #Generated by NetwoorksManager

Tobias?
25.01.2018
18:54:06
please

no more random gui tools.

Use the ones your system provides.

Justin
25.01.2018
18:54:30
it will be good
And see here: https://wiki.centos.org/HowTos/SELinux#head-0f6390ddacfab39ee973ed8018a32212c2a02199 You need to set a label for uploaded media content on wp_upload. This link tells how to do it, but I don't think it mentions the right flag. You may need to Google for it.

Google
Vafa
25.01.2018
18:55:19
You right

Tobias?
25.01.2018
18:55:21
Thats the "httpd can write here" flag

Justin
25.01.2018
18:56:22
httpd_sys_rw_content_t
Yes! This label. @MakerST ^^

httpd_sys_rw_content_t
Thanks, I couldn't remember it exactly

I wish SELinux labels were more intuitive

Shukhrat
25.01.2018
19:00:22
Tobias?
25.01.2018
19:01:45
httpd_suexec_t httpd_suexec_tmp_t httpd_sys_content_t httpd_sys_htaccess_t httpd_sys_ra_content_t httpd_sys_rw_content_t httpd_sys_script_exec_t httpd_sys_script_t httpd_t httpd_tmp_t httpd_tmpfs_t httpd_unconfined_script_exec_t httpd_unconfined_script_t

Admin
ERROR: S client not available

Tobias?
25.01.2018
19:01:58
ect.

Vafa
25.01.2018
19:02:57
All of this could've been avoided without connman
Thank you for your patience. Some dude here are so angry and asking to remove me from group. Why is that? It was thought I shared or even a misunderstanding. What I learn is the third party software could be buggy when I used them without some consideration in term of conflicts with current built-in features.

Justin
25.01.2018
19:04:19
seinfo -t | grep httpd
I mean, I know this, but these labels are not intuitive. I look at half of this and have no idea what they mean – let alone trying to remember a random one that I need maybe once or twice. ?

Tobias?
25.01.2018
19:04:42
Thank you for your patience. Some dude here are so angry and asking to remove me from group. Why is that? It was thought I shared or even a misunderstanding. What I learn is the third party software could be buggy when I used them without some consideration in term of conflicts with current built-in features.
You were coming off as troll to some because you were pretty hell-bent initially on complaining instead of listening. I can understand that, because you also ignored the first suggestions from the beginning. And yes, always research and use your system tools. You have no excuse when your system settings offer something and you install a config tool over it that doesnt belong there.

I guess you just have to work more often with it to understand it fluently.

But google is good enough for most things :3

Justin
25.01.2018
19:06:56
I guess you just have to work more often with it to understand it fluently.
Yeah, the ones I use frequently enough I can remember. It's ones like the sys_rw that I set maybe once a blue moon, whenever I move my WordPress site around here or there.

But google is good enough for most things :3
I don't always remember finding excellent documentation for the flags. That was always one of my challenges, I usually found what I needed from blog posts from random people

And I am always a little leery about following random blogs on the Internet ?

Google
Tobias?
25.01.2018
19:10:56
Again, if you find some i'll put it in my wiki and share it here

Unless its fedora wiki appropriate

Justin
25.01.2018
19:13:48
Again, if you find some i'll put it in my wiki and share it here
The CentOS wiki is usually where I end up, I think. I might need to dig through my bookmarks, if I find something I saved, I'll forward it on.

Daniel
25.01.2018
21:37:25
Im making a very weird install of fedora in my tablet...

I cant make it to boot from USB so...

In windows i've made an EFI VirtualBox using own tablet HDD as virtual hdd, and install fedora from the virtual machine into another partition and make it install grub...

Gnome on my laptop is crashing everytime it displays a notification



Also i dont have audio, media keys to control volume dont work and volume slider on gnome not working



If anybody can lend a helping hand i'll appreciate

Sheogorath
25.01.2018
22:55:45
Mhm I think having the logs in english would be very helpful

Daniel
25.01.2018
22:56:33
PulseAudio main.c failed to start the daemon

Thats evrrything it says

Ahmetcan
25.01.2018
22:57:14
What about pacmd list if it returns anything

Check journalctl

Daniel
25.01.2018
22:59:58


Ahmetcan
25.01.2018
23:00:39
Ho, don't fiddle with pulseaudio as root

Daniel
25.01.2018
23:00:50
I didnt touch PulseAudio...

:/

Страница 1504 из 2988