We need to patch glibc for the new GHOST vulnerability. Currently we use SLES 11 SP1 x86_64 (yes I know) and I’ve been able to rebuild the 64 series just fine but for the life of me I cannot figure out where the -32bit family of the packages came from so I can rebuild them. Doing an rpm -qa glibc-32bit I see the source rpm is glibc-2.11.1-0.34.1.nosrc.rpm but when I obtain it and try and ‘setarch i686 rpmbuild -ba glibc.spec’ it there are no references to -32bit, it won’t compile without heavy modifications, and when it does it spits out glibc-2.11…i686.rpm.
Does anyone know how these -32bit rpm’s from glibc are created so I can rebuild with my patch?
On Fri 30 Jan 2015 08:56:01 PM CST, tyler ats wrote:
We need to patch glibc for the new GHOST vulnerability. Currently we use
SLES 11 SP1 x86_64 (yes I know) and I’ve been able to rebuild the 64
series just fine but for the life of me I cannot figure out where the
-32bit family of the packages came from so I can rebuild them. Doing an
rpm -qa glibc-32bit I see the source rpm is
glibc-2.11.1-0.34.1.nosrc.rpm but when I obtain it and try and ‘setarch
i686 rpmbuild -ba glibc.spec’ it there are no references to -32bit, it
won’t compile without heavy modifications, and when it does it spits out
glibc-2.11…i686.rpm.
Does anyone know how these -32bit rpm’s from glibc are created so I can
rebuild with my patch?
Thanks,
Tyler
Hi
You need to create a baselibs.conf file. Look on OBS for an example.
You don’t have LTSS?
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.32-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Hi
This Build service forums covers any of the distributions available as
build targets, SLE is one of them so it’s moot.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.32-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Thanks for the response but I’m still a little lost.
LTSS does not provide the fix for the GHOST vulernablity and even if it did we prefer not to deviate from the currently installed version.
I see the OSC can do this but there are no RPM’s available for SLES 11 SP1. I even tried using the SLES11 SP2 RPM’s but it complained about python-urlgrabber dep which I cannot install…
As for baselibs.conf and the link you provided, I don’t really understand how to translate that for our SLES11 SP1 environment. It seems to me this should have already been provided in the src.rpm, no? Looking at the comments I see the following:
That’s right baselibs.conf doesn’t exist, you need to create it… that’s why I linked to the glibc example… the use of the conf file implemented later in life and as part of OBS.
Nothing to do.
test-db-01:/usr/src/packages>cat /etc/SuSE-release
SUSE LinuxEnterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
Regardless, as I mentioned before, we are dealing with production environments and really need to keep the system unaltered as much as possible. If its what we have to do then fine but the patch itself is pretty simple and (hopefully) low impact and I would like to go down that route first. Would you be able to point me in the right direction for documentation on how to incorporate this baselibs.conf file so I can generate the -32bit packages off the src.rpm I already have.
Nothing to do.
test-db-01:/usr/src/packages>cat /etc/SuSE-release
SUSE LinuxEnterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
Regardless, as I mentioned before, we are dealing with production
environments and really need to keep the system unaltered as much as
possible. If its what we have to do then fine but the patch itself is
pretty simple and (hopefully) low impact and I would like to go down
that route first. Would you be able to point me in the right direction
for documentation on how to incorporate this baselibs.conf file so I can
generate the -32bit packages off the src.rpm I already have.
Thanks again for the help
Tyler
Hi
If you don’t have a LTSS subscription they, no you wouldn’t be able to
see/download…
AFAIK you would copy it (baselibs.conf) to your build root SOURCES
directory, if on OBS just add to the build… You should AFAIK be able
to use the example on OBS I linked to.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.2 (Harlequin) (x86_64) GNOME 3.14.0 Kernel 3.16.7-7-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
After much hair pulling and the invention of new 4 letter words I finally figure this out. I ended up having to install osc for SLES 11 SP2 (we run SLES 11 SP1) and modify baselibs.conf pointed out by malcomlewis to not include the ‘block!’ suffix in the arch stanza.
For anyone having this issue here are the steps I needed to do: