On Sat, 2020-01-04 at 22:16 -0800, Samuel Sieb wrote:
> On 1/1/20 7:20 PM, Robert G (Doc) Savage via users wrote:
> > It would seem that "something" happened to the file(s) that provide
> > RJ45 Ethernet connectivity maybe as far back as F29. I can get a
> > WiFi
> > connection, but not an RJ45 eth0 DHCP connection. This happens in
> > my
> > home and at a nearby computer store, so it's not my DHCP server.
> > 
> > When booted up to WiFi, connecting an RJ45 Ethernet cable shuts
> > down
> > the existing WiFi port (normal), but never comes up with a DHCP
> > address
> > for the eth0 port. The network icon just loops forever. When I
> > disconnect the RJ45 cable, WiFi connectivity resumes after 5-10
> > seconds.
> 
> I just realized we are missing what is probably the most
> important information, the logs!  In a terminal as root, run
> "journalctl -fa" and then plug in the ethernet cable.  Copy the
> output, removing private information if there is any.

THIS IS MY THIRD ATTEMPT TO REPLY WITH A LOG FILE ATTACHED. THE
MODERATOR EITHER DIDN'T REVIEW IT OR FELT THE SIZE OF THE MESSAGE WITH
ITS LOG FILE WAS NOT WORTH SHARING WITH THE LIST.

Sam,

You've found the magic key. The output is attached. If you open it with
vim and scroll down to line 167, you'll see an SELINUX audit error and
its recommended solution:

Jan 05 00:54:09 tiger.protogeek.org python3[905199]: SELinux is
preventing 11-dhclient from getattr access on the file
/usr/bin/hostname.


*****  Plugin catchall (100. confidence)
suggests   **************************


If you believe that 11-dhclient should be allowed getattr access on the
hostname file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c '11-dhclient' --raw | audit2allow -M my-11dhclient
# semodule -X 300 -i my-11dhclient.pp21

Executing these two commands appears to have fixed the problem.

--Doc Savage
Fairview Heights, IL

P.S. The performance boost is dramatic. The distance between my U-verse 
WiFi and the laptop in the master bedroom is about 65 feet through
quite a bit of drywall. It works, but downloads of any size are slow.
With the RJ45 connection I have high quality in-wall Cat5E cabling that
allows full speed GigE.

I definitely owe you several beers on this one. :-)
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to