Re: SELinux kerneloops and dhclient issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephen Croll wrote:
> Daniel J Walsh wrote:
>> So it looks like you already have a leaked file descriptor in the shell
>> that you are running these commands from
>>
>> Does ls -lZ /proc/self/fd show anything stange?
> Yes it does, fd 25:
> 
> [root@gerbil ~]# ls -lZ /proc/self/fd
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 0 -> /dev/pts/0
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 1 -> /dev/pts/0
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 2 -> /dev/pts/0
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 25 -> socket:[18571]
> lr-x------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 3 -> /proc/3446/fd
> 
> It would appear fd 3 is what ls is using to read the entries in
> /proc/self/fd (also verified with strace):
> 
> [root@gerbil ~]# ls -lZ /proc/self/fd &
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 0 -> /dev/pts/0
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 1 -> /dev/pts/0
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 2 -> /dev/pts/0
> lrwx------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 25 -> socket:[18571]
> lr-x------  root root
> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 3 -> /proc/3463/fd
> [1] 3463
> [1]+  Done                    ls --color=auto -lZ /proc/self/fd
> 
> I've been trying to figure out the mysteries of NetworkManager and
> mixing wired and wireless connections.  I just noticed that if I don't
> have NetworkManager configured at boot, I don't get the AVC denial nor
> do I see the socket on fd 25.
>
> Additionally, I noticed that even if NetworkManager is configured at
> boot, I don't see the AVC denial/fd 25 issue when running in a virtual
> terminal.  Upon further investigation, this issue only seems to occur
> when running KDE+konsole, but not KDE+gnome-terminal, nor
> GNOME+konsole, nor GNOME+gnome-terminal.
>
So KDE+Konsole seems to be leaking a file descriptor.

> Also, I don't see fd 25 when connecting remotely (over SSH) and
> running the above ls command.
> 
> -- 
> Steve Croll
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjJEmsACgkQrlYvE4MpobMTdACfT+QrwVrak/MOH87xBdGUIlSn
E7IAoJgAc1V5DnoFWJ5VfWqB1c42klib
=cUNt
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux