Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.mandriva    |    Somewhat decent but also getting bloated    |    29,919 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 29,633 of 29,919    |
|    dxmm@albury.nospam.net.au to All    |
|    Re: Applying updates was Re: Shellshock     |
|    30 Sep 14 21:00:30    |
      From: Daniel47@teranews,com              On 29/09/14 22:48, Markus R. Keßler wrote:       > Markus R. Keßler wrote:       >       >> just jump to       >>       >> ftp://ftp.gnu.org/gnu/bash/       >>       >> I used midnightcommander, mc to download because there are many patch       >> files to download, and so I could just "mark" and copy what I needed.       >>       >> For the latest bash you need       >>       >> - bash-4.3.tar.gz       >> - the whole bash-4.3-patches tree       >>       >> I created a working dir (/tmp/src), put both file and dir there,       >> unpacked the tar.gz from there and jumped into /tmp/src/bash-4.3       >>       >> There I applied all patches:       >>       >> for i in `ls ../bash-4.3-patches/bash43-0??` ; do       >> echo "$i:" ; patch -p0 < $i ;       >> done       >       >>>>       >       > Sorry, some lines missing --       > the source has to be compiled, of course :-)       >       > ./configure       > make       >       > <<<       >       >>       >> Then I replaced the bash currently in use with the new one. This was a       >> little tricky:       >>       >> - /etc/passwd, entry for root: /bin/bash ==> /bin/dash       >> - init 3 (kill X.11)       >> - log off (from bash) and on (into dash) under root       >> - verify with lsof | grep /bin/bash that not in use       >> - replace /bin/bash with patched one (chown, chmod correctly)       >> - undo /etc/passwd modification (dash ==> bash)       >> - init 5       >> - log off from dash, log on into bash       >>       >> Best regards,       >>       >> Markus       >>       >       Thanks for this alternative method of upgrade, Markus. Guess I have a       bit of reading in front of me (./configure?? make??)              Of course, I might actually get my MG4 connecting to the Internet soon,       so that might make things easier!!              Daniel              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca