139d9
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Today I see there was a new security patch released for FreeBSD to patch BIND. I have installed the patch as per the instruction on the web site (using the source install option).
Couple questions: 1) Is a reboot needed after installing this patch via source? 2) Normally when I upgrade my system via source I follow these steps: Code:
* csup /root/supfile * cd /usr/src * make cleanworld && make cleandir * make buildworld * make buildkernel KERNCONF=ALPHA * make installkernel KERNCONF=ALPHA * shutdown -r now Boot into single user mode: * mount -u / * mount -a -t ufs * adjkerntz -i * mergemaster -p * cd /usr/src * make installworld * make delete-old * mergemaster -i * shutdown -r now |
|
#2
|
|||
|
|||
|
You'd have to recompile & install the changes.
A patched source tree won't do you much good if you don't update the binaries.
|
|
#3
|
|||
|
|||
|
Quote:
Thus, the question remains if a reboot is needed after patching bind. I'd say no, a restart of the named daemon should be sufficient. But I'm as unsure about that issue as the thread starter ... (I will skip this security fix this time because I'm running nsd and unbound instead.)
__________________
regards, uisge |
|
#4
|
||||
|
||||
|
Quote:
Quote:
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#5
|
|||
|
|||
|
I'm trying to apply this patch. Everything worked fine until I tried to run
make depend in /usr/src/usr.sbin/named. Make complained that it didn't know how to build libbind9.a. So, I went into the bind9 directory and ran make there. That worked. I had to repeat this for libisccc.a, libisccfg.a, libisca.a, and liblwres.a.Now, when I run make in /usr/src/usr.sbin/named, I get: Code:
cc: ../../lib/bind/bind9/libbind9.a: No such file or directory cc: ../../lib/bind/isccc/libisccc.a: No such file or directory cc: ../../lib/bind/isccfg/libisccfg.a: No such file or directory cc: ../../lib/bind/isc/libisc.a: No such file or directory cc: ../../lib/bind/lwres/liblwres.a: No such file or directory *** Error code 1 |
|
#6
|
|||
|
|||
|
Likely bad linking during compilation, retry at least 4 times to be quite sure it's not your make.conf. Remember to cleanworld && cleandeps also, if it still doesn't it could be a bug.
Last edited by SirDice; August 14th, 2012 at 09:56. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043 |
|
#7
|
|||
|
|||
|
Thanks for the reply. I've retried more than 4 times and it still doesn't work. I modified the makefile in /usr/src/usr.sbin/named to use absolute instead of relative paths. After that, the linker could find the libraries.
Now, it's complaining that there's no libdns.a. When I go into the dns directory and run make, nothing happens. Am I the only one having these problems? |
|
#8
|
|||
|
|||
|
May I suggest you do a cleanworld & buildworld (but not installworld) in /usr/src, then try to install the named binary?
|
| The Following User Says Thank You to Savagedlight For This Useful Post: | ||
radmanly (August 16th, 2012) | ||
|
#9
|
|||
|
|||
|
Hi radmanly,
You are not the only one who is experiencing this. I have the same problem on several i386 servers running 8.3-RELEASE-p3. FreeBSD gurus, please help! |
|
#10
|
|||
|
|||
|
I don't know if rebuilding world is an option for you, lyubomirrussev, but it fixed the problem for me. After
make cleanworld & make buildworld, I rebooted to single-user mode and did a make installworld and now have a brand new named. Rebuilding world to get a small named patch seems like overkill but it worked. ![]() Thanks! |
|
#11
|
|||
|
|||
|
Thanks for the solution, radmanly!
However in my humble opinion there is something wrong in the /usr/sbin/namedbuild dependencies which are requiring to rebuild the whole system via # make cleanworld# make buildworld and # make installworld
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can the latest FreeBSD work as Xen Dom0 ? | JohnFu | General | 9 | October 13th, 2012 20:25 |
| skype and flashplayer does not work after applying security patch | hedgehog | Installing & Upgrading | 4 | October 5th, 2011 10:40 |
| [Solved] Latest patch doesn't change uname? | silverglade00 | Installing & Upgrading | 5 | May 11th, 2011 23:19 |
| Something awfull with latest mysql on latest FreeBSD | aga | Web & Network Services | 1 | October 22nd, 2009 17:37 |
| djbdns security breach and patch | ctaranotte | Installation and Maintenance of FreeBSD Ports or Packages | 0 | March 6th, 2009 12:37 |