query: mock + libselinux-mock.so LD_PRELOAD... why?
by Michael E Brown
I need a little bit of help understanding what the
'libselinux-mock.so' LD_PRELOAD was supposed to be doing. I released and
pushed out mock-0.8 without this. I have rebuilt most of rawhide with
this new mock version and have not seen anything that I directly can say
was a failure due to this being missing, so I am sort of not seeing the
point.
I have searched around as much as I can to try to understand why
this was put into place. From what I can understand, it was only put in
in the FC2 timeframe to fix some problems with the selinux policy on the
host machine. These *appear* to have been fixed in the host selinux
policy, so again, i dont see a reason to keep this around.
Jesse mentioned on IRC, though, that this might be needed, so I pose
this question. I've a local branch set up with the 0.8.x code and the
LD_PRELOAD put back in. So, I can quickly spin a new release with this
back in if it is actually needed. So far, I havent convinced myself it
is needed, though...
Could somebody please enlighten me?
--
Michael
16 years, 3 months
Pathname-based buildreqs not working?
by Paul Howarth
Yesterday I noticed that mock/yum seem to be having trouble finding
pathname-based buildreqs.
For example, buildreqs of /usr/include/tcpd.h and /usr/include/pcap.h
aren't getting found. I use these to maintain spec compatibility across
various releases, where these files can be found in either tcp_wrappers
or tcp_wrappers-devel, or libpcap or libpcap-devel packages
respectively.
I've tried upgrading to mock 0.8.15 from CVS (F-8 branch) and it hasn't
helped.
Is this intentional behaviour (not getting/reading the filelists
metadata) for speed purposes?
Paul.
16 years, 3 months