[Bug 903246] Review Request: cpopen - Creates a subprocess in simpler safer manner

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

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=903246

--- Comment #3 from Michael Schwendt <mschwendt@xxxxxxxxx> ---
You could *really* run "rpmlint -i" on all the rpms as recommended and comment
on the output. ;o)

The rather generic name of the shared lib is potentially problematic, because
the file is stored in global search path for Python modules and therefore bears
a higher risk of causing a conflict. Blocking that path, even for any module
Python Standard Lib may want to include in the future, is not nice:

    $ rpmls -p python-cpopen-1.1-1.fc19.x86_64.rpm 
    -rw-r--r--  /usr/lib64/python2.7/site-packages/cpopen-1.1-py2.7.egg-info
    -rw-r--r--  /usr/lib64/python2.7/site-packages/cpopen.py
    -rw-r--r--  /usr/lib64/python2.7/site-packages/cpopen.pyc
    -rw-r--r--  /usr/lib64/python2.7/site-packages/cpopen.pyo
->  -rwxr-xr-x  /usr/lib64/python2.7/site-packages/createprocess.so

That this theory is not too far off can be seen with a repoquery, which shows
that there's at least one other python module that uses such a createprocess.so
but stores it in a subdir (which is much more nice):

  # repoquery --whatprovides /usr/*python*createprocess.so
  vdsm-python-0:4.10.3-5.gitb005b54.fc19.x86_64

  # repoquery -l vdsm-python|grep create
  /usr/lib64/python2.7/site-packages/vdsm/betterPopen/createprocess.so

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=pYmF541q3U&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]