Mantis - bind
Viewing Issue Advanced Details
3460 regular use major always 2009-03-06 21:43 2009-12-06 01:53
waynehendricks  
bonivart  
normal  
closed  
fixed  
none    
none  
0003460: BIND 9.6.0 fails to run on Solaris 10 x86
Bind 9.6.0 fails when trying to run on the latest Solaris 10 x86 build with all patches installed.
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.notice] starting BIND 9.6.0-P1 -t /var/named -c /etc/named.conf
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.notice] built with '--prefix=/opt/csw' '--exec_prefix=/opt/csw' '--bindir=/opt/csw/bin' '--sbindir=/opt/csw/sbin' '--libexecdir=/opt/csw/libexec' '--datadir=/opt/csw/share' '--sysconfdir=/opt/csw/etc' '--sharedstatedir=/opt/csw/share' '--localstatedir=/opt/csw/var' '--libdir=/opt/csw/lib' '--infodir=/opt/csw/share/info' '--includedir=/opt/csw/include' '--mandir=/opt/csw/share/man' '--with-libtool' '--with-openssl=/opt/csw' '--enable-threads' '--enable-largefile' '--sysconfdir=/etc/opt/csw' '--localstatedir=/var/opt/csw/named' 'CC=/opt/studio/SOS11/SUNWspro/bin/cc' 'CFLAGS=-xO3 -xarch=386 -I/opt/csw/include' 'LDFLAGS=-xarch=386 -L/opt/csw/lib -R/opt/csw/lib/$ISALIST -R/opt/csw/lib' 'CPPFLAGS=-I/opt/csw/include' 'CXX=/opt/studio/SOS11/SUNWspro/bin/CC' 'CXXFLAGS=-xO3 -xarch=386 -I/opt/csw/include'
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.error] socket.c:3507: unexpected error:
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.error] open(/dev/poll) failed: No such file or directory
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.error] ./main.c:523: unexpected error:
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.error] isc_socketmgr_create() failed: file not found
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.crit] create_managers() failed: unexpected error
Mar 6 14:24:28 memadmb named[20552]: [ID 873579 daemon.crit] exiting (due to early fatal error)
Issue History
2009-03-06 21:43 waynehendricks New Issue
2009-03-07 19:43 waynehendricks Note Added: 0005607
2009-03-09 20:31 bonivart Status new => assigned
2009-03-09 20:31 bonivart Assigned To => bonivart
2009-03-09 22:49 bonivart Note Added: 0005615
2009-05-15 18:29 waynehendricks Note Added: 0006117
2009-05-18 10:58 bonivart Note Added: 0006145
2009-11-30 18:55 bonivart Note Added: 0007059
2009-12-01 17:54 bonivart Note Added: 0007060
2009-12-06 01:53 bonivart Note Added: 0007065
2009-12-06 01:53 bonivart Status assigned => closed
2009-12-06 01:53 bonivart Resolution open => fixed

Notes
(0005607)
waynehendricks   
2009-03-07 19:43   
This happens when BIND is run under chroot. It cannot find /dev/poll under chroot. Maybe a separate BIND package should be created especially for chroot.
(0005615)
bonivart   
2009-03-09 22:49   
I'm looking into it with another maintainer. Not sure yet what will come out of it, could be some docs, a new package or something in between. I will update this bug with any progress.
(0006117)
waynehendricks   
2009-05-15 18:29   
Any progress made?
(0006145)
bonivart   
2009-05-18 10:58   
Sorry, haven't had time to actually do anything yet. We discussed it on the maintainers list and most thought that a new package (depending on CSWbind) should be created if we were to support this. Apparantly Red Hat does it that way.
(0007059)
bonivart   
2009-11-30 18:55   
I have finally had some time to look into this. It will be an extra package called CSWbindchroot depending on CSWbind so it's totally optional to install. It will prepare your system for chrootet BIND by creating the device files and so on but it will not touch your current config so it should be safe to install on a running BIND server. After install you need to move your zone files and so on and after that you should be good to go.

I hope I can get some help testing it.
(0007060)
bonivart   
2009-12-01 17:54   
Since it hardly does any damage and I have tested it on Solaris 8 Sparc and OpenSolaris i386 I have today released the chroot package. It does help with creating the needed device files and creating the directory structure needed.

It doesn't try to move your existing (if any) configuration, it doesn't stop/restart your current (if any) BIND daemon. It doesn't even clean up very well if uninstalled. :-)

I hope it helps and please report if you need other devices created or if you want the documentation improved or anything else.
(0007065)
bonivart   
2009-12-06 01:53   
Closing this since I get no feedback. Post a new bug report if there's problems.