Bug 538154 - SELinux is preventing /sbin/consoletype access to a leaked packet_socket file descriptor.
Summary: SELinux is preventing /sbin/consoletype access to a leaked packet_socket file...
Keywords:
Status: CLOSED DUPLICATE of bug 531374
Alias: None
Product: Fedora
Classification: Fedora
Component: ppp
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jiri Skala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f4bca96a28a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-17 19:09 UTC by id_EAGLE
Modified: 2014-11-09 22:32 UTC (History)
104 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-18 09:49:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description id_EAGLE 2009-11-17 19:09:58 UTC
Hash String generated from  selinux-policy-3.6.32-41.fc12,leaks,consoletype,consoletype_t,pppd_t,packet_socket,read,write
audit2allow suggests:

Comment 1 id_EAGLE 2009-11-17 19:20:33 UTC
When I connect to ADSL or disconnect from the ADSL and switch to the LAN network, I receive this error.

Comment 2 Daniel Walsh 2009-11-17 21:19:09 UTC
ppp is leaking file descriptors.  id_EAGLE you can safely ignore this.  the connection to the packet_socket in ppp should call fcntl(socket, F_SETFD, FD_CLOEXEC)


SELinux is closing the leaked file descriptor for you but it would better if the code was cleaned up.

Comment 3 Jiri Skala 2009-11-18 09:49:06 UTC
Please, see comment #2 of #531374 and test it.

Thanks Jiri

*** This bug has been marked as a duplicate of bug 531374 ***

Comment 4 Jiri Skala 2009-11-25 06:59:13 UTC
Hi all,
this is funny to watch that a lot of people is CCing in closed bug. Don't wait here changes and see the link in the duplicity bug #531374. There is a link to test build. Is there anybody willing to test it?

This is really terminus for this bug!!!

Comment 5 vikas yadav 2010-02-22 02:45:25 UTC
i couldn't update my software the below error has occured
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
    self.update_packages(only_trusted, package_ids)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
    signed = self._is_package_repo_signed(pkg)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
    repo = self.yumbase.repos.getRepo(pkg.repoid)
  File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
    'Error getting repository data for $s, repository not found' $ (repoid)

Comment 6 manish 2010-04-07 13:17:30 UTC
(In reply to comment #5)
> i couldn't update my software the below error has occured
> Error Type: <class 'yum.Errors.RepoError'>
> Error Value: Error getting repository data for installed, repository not found
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in
> <module>
>     main()
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
>     backend.dispatcher(sys.argv[1:])
>   File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in
> dispatcher
>     self.dispatch_command(args[0], args[1:])
>   File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in
> dispatch_command
>     self.update_packages(only_trusted, package_ids)
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in
> update_packages
>     signed = self._is_package_repo_signed(pkg)
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in
> _is_package_repo_signed
>     repo = self.yumbase.repos.getRepo(pkg.repoid)
>   File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
>     'Error getting repository data for $s, repository not found' $ (repoid)    

the same problem occurs with me


Note You need to log in before you can comment on or make changes to this bug.