LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mayday mayday mayday! - glibc, Slackware 12 (https://www.linuxquestions.org/questions/slackware-14/mayday-mayday-mayday-glibc-slackware-12-a-4175532328/)

czezz 01-28-2015 04:15 PM

Mayday mayday mayday! - glibc, Slackware 12
 
Seems that building glibc for Slack12 (I know its oldie), due to latest security hole, is gonna be quite painful.
At first I still cant find patches or even sources for 2.5 branch. Maybe I wasnt looking in the right place or maybe there is a way to upgrade Slack12 to the supported branch ?

Does anyone know ?

Didier Spaier 01-28-2015 04:29 PM

Back up the files you want to keep, and install a more recent Slackware version, preferably 14.1 if your hardware can handle it, but at least 13.0 as older versions won't be patched any more. The more recent version you install, the longer it will be supported.

ReaperX7 01-28-2015 06:00 PM

Debian and Ubuntu might have patches for 2.5 but yes, patches will be few. You could ask the glibc developers as well.

kikinovak 01-28-2015 11:32 PM

Quote:

Originally Posted by czezz (Post 5307967)
At first I still cant find patches or even sources for 2.5 branch. Maybe I wasnt looking in the right place or maybe there is a way to upgrade Slack12 to the supported branch ?

Does anyone know ?

Yes. Upgrade to a supported release.

ReaperX7 01-29-2015 12:37 AM

There's also the option of trying to harden the system. It would take some work, but hardening the system might help. Might not help much, but if you can't upgrade for any specific reason, it's your best shot.

It's an older topic, but it should translate enough for 12.x

http://www.linuxquestions.org/questi...-guide-299708/

ruario 01-29-2015 01:13 AM

Quote:

Originally Posted by czezz (Post 5307967)
Maybe I wasnt looking in the right place or maybe there is a way to upgrade Slack12 to the supported branch ?

Yeah there is, you follow the steps in slackware-12.1/UPGRADE.TXT, slackware-12.2/UPGRADE.TXT and slackware-13.0/UPGRADE.TXT sequentially.

Though, it would be quicker and easier IMHO to backup your configuration files and local data and do a 14.1 install.

Both may sound painful but you will save yourself from trouble next time there is a major issue.

czezz 01-29-2015 04:34 AM

Where do you guys look for glibc patches (source code) ?
I was looking at this location http://ftp.gnu.org/gnu/glibc/ but there are no patches. Only releases.

Richard Cranium 01-29-2015 07:49 AM

I'd look in the git repo for libc, myself.

http://sourceware.org/git/?p=glibc.git

aaazen 01-29-2015 08:47 AM

Quote:

Originally Posted by czezz (Post 5308154)
Where do you guys look for glibc patches (source code) ?
I was looking at this location http://ftp.gnu.org/gnu/glibc/ but there are no patches. Only releases.

I spotted the patch while reading this forum:

https://news.ycombinator.com/item?id=8953545

The original patch was applied to glibc 2.17 for upgrading to 2.18

It might well work on other versions of glibc. Comment out ('#' in column 1) the parts about updating the ChangeLog and the NEWS files.

https://sourceware.org/git/?p=glibc....53bf9a4926845d

Click on "patch"

czezz 02-04-2015 06:33 AM

Hi, thank you all for your answers.
I probably was not clear enough with my last post.

If you look at the patch repository for Slackweare12 for glibc: http://mirrors.slackware.com/slackwa.../source/glibc/
then you can find there glibc patches/diffs itself. Eg:
Code:

glibc.CVE-2010-3847.diff.gz
glibc.CVE-2010-3856.diff.gz

I guess these 2 files were produced by glibc developers. There probably exist some repository/ftp server where they are avaliable for download. If I am not mistaken, the latest diff/patch as well as other glibc diffs/patches should be also there.

Does anyone know the location diff/patche files for glibc ?

Didier Spaier 02-04-2015 06:51 AM

Quote:

Originally Posted by czezz (Post 5311747)
Does anyone know the location diff/patche files for glibc ?

This question should be directly adressed to glibc maintainers:

http://www.gnu.org/software/libc/development.html

Good luck.

ReaperX7 02-04-2015 06:52 AM

Um... You probably might want to stick to Google on that searching "glibc-2.5.x patches" or similar. If anything, Debian's, Slackware's, and maybe Gentoo might be the best places to look. Older LinuxFromScratch books might be useful also.

If anything, you might want to research the glibc hardening patches as well for 2.5.x if any still exist. These patches are high security patches that aim to prevent security issues. They aren't always 100%, but for your case, it might help. Be sure to test the patch first before editing the Slackbuild and redraft the diff as needed. Kompare from KDE is useful for this.


All times are GMT -5. The time now is 06:26 AM.