LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2020, 08:13 AM   #1
cesarsj
Member
 
Registered: Mar 2019
Location: Patos de Minas, MG, Brazil
Distribution: Slackware
Posts: 159

Rep: Reputation: Disabled
Question How to prevent bind from causing problems when being updated in Slackware?


In the test lab, when I updated Bind from version 9.7.3 to version 9.9.11, the following error occurred: liblwres.so.60: Cannot Open shared.

From what I've researched, it seems that I have to install bind-libs, in the compatible version. I didn't find this package on slackware ftp for version 13.37.

I know that the Slackware 13.37 server is a very old system, but it is what we have in production, and in order for me to update I have to present my boss with a very consistent plan.
 
Old 11-09-2020, 02:02 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
The problem is that Slackware 13.37 is EOL since 6. April 2018, meaning no further updates are being released for that version of the distribution.

I'm guessing you're updating BIND due to there being some security flaw that needs patching? In that case, these are your options:
  1. Install the required libraries from a more recent Slackware release
  2. Build and install the libraries yourself
  3. Compile and install BIND from the source code
  4. Upgrade the server to a supported version of Slackware
Option 1 will result in a weird Slackware-hybrid that isn't supported in any way. And you'll most certainly experience other dependency issues.

Options 2-3 will probably also mean you'll have to chase down and fix a number of dependencies along the way, so it'll be even more work and you'll still end up with something that's unsupported and has to be patched manually.

Option 4 will work and give you a secure and supported platform. 13.37 is a bit long in the tooth, so you may want to consider doing the upgrade in multiple steps, via 14.0 and 14.1 to 14.2. There are some possible pitfalls related to (among other things) NIC firmware and the kmod package which you could avoid by doing it that way.

You may be able to deduce from this which of the above I would recommend.

Last edited by Ser Olmy; 11-09-2020 at 02:03 PM.
 
Old 11-09-2020, 02:12 PM   #3
cesarsj
Member
 
Registered: Mar 2019
Location: Patos de Minas, MG, Brazil
Distribution: Slackware
Posts: 159

Original Poster
Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by Ser Olmy View Post
The problem is that Slackware 13.37 is EOL since 6. April 2018, meaning no further updates are being released for that version of the distribution.

I'm guessing you're updating BIND due to there being some security flaw that needs patching? In that case, these are your options:
  1. Install the required libraries from a more recent Slackware release
  2. Build and install the libraries yourself
  3. Compile and install BIND from the source code
  4. Upgrade the server to a supported version of Slackware
Option 1 will result in a weird Slackware-hybrid that isn't supported in any way. And you'll most certainly experience other dependency issues.

Options 2-3 will probably also mean you'll have to chase down and fix a number of dependencies along the way, so it'll be even more work and you'll still end up with something that's unsupported and has to be patched manually.

Option 4 will work and give you a secure and supported platform. 13.37 is a bit long in the tooth, so you may want to consider doing the upgrade in multiple steps, via 14.0 and 14.1 to 14.2. There are some possible pitfalls related to (among other things) NIC firmware and the kmod package which you could avoid by doing it that way.

You may be able to deduce from this which of the above I would recommend.

The problem was that I configured bind in chroot, and when starting rc.bind he was calling the libraries of the old version still. After I copied the new binaries from /usr/sbin to /var/named/chroot, it worked normally!
 
Old 11-09-2020, 03:39 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by cesarsj View Post
In the test lab, when I updated Bind from version 9.7.3 to version 9.9.11, the following error occurred: liblwres.so.60: Cannot Open shared.

From what I've researched, it seems that I have to install bind-libs, in the compatible version. I didn't find this package on slackware ftp for version 13.37.

I know that the Slackware 13.37 server is a very old system, but it is what we have in production, and in order for me to update I have to present my boss with a very consistent plan.
Luckily, you have a lab setup so you can try out different combinations of OS version and applications.

Do the applications actually have dependencies on Bind? (Did they actually make major configuration changes to a point release??!!) I think I'd simply backup the Bind configuration files, and restore them onto a fresh, up-to-date SW test installation and see how it goes on your test network.

If there are non-Bind applications to worry about: What applications is this system running? How are they installed? (packages? sources?) How dependent are any "production" applications on 13.37 itself?

I've had applications that were built from sources and installed under "/opt". (Sometimes just be closer to current when a distibution's repository is lagging behind.) If I were to upgrade the base OS, I could then remount /opt, and see if the applications are still working as they should be. If not, I could make a parallel tree of the sources (in /opt/src/appname-new-version), recompile using the new OS's libraries, redefine the symlink pointing to the application's new binary/lib tree before running "make install", and test, test, test (deleting the old tree after passing tests). In the past, I've kept "configure" command lines in scripts to allow me to recompile with the exact same options---not sure how well that plan works with Slackbuilds if you've been going that route.

HTH...
 
  


Reply

Tags
bind, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What 32-bit OS keeps their OS the most updated, especially compared to Debian (which seems to be the least updated)? hddfsck Linux - Newbie 12 09-21-2019 11:15 AM
LXer: Updated: Windows 10 Update KB3074681 causing crashes for users LXer Syndicated Linux News 0 07-27-2015 04:20 AM
BIND causing many entries in /var/log/messages when using IPv6 niels.horn Slackware 4 10-31-2009 06:31 PM
how to prevent process from being killed? iclinux Linux - Newbie 7 01-14-2005 10:43 PM
How to prevent the UDP package from being thrown away? fionafhx Linux - Networking 0 12-24-2004 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration