Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85140 - net-misc/dhcp-3.0.1 and net-misc/dhcp-3.0.1-r1 get segfault on start if configured to perform in chroot
Summary: net-misc/dhcp-3.0.1 and net-misc/dhcp-3.0.1-r1 get segfault on start if confi...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
: 78932 85147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-13 15:00 UTC by spiritus
Modified: 2005-12-21 12:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/dhcp/dhcpd.conf (dhcpd.conf,1.35 KB, text/plain)
2005-03-13 15:21 UTC, spiritus
Details
/etc/conf.d/dhcp (dhcp,767 bytes, text/plain)
2005-03-13 15:22 UTC, spiritus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spiritus 2005-03-13 15:00:42 UTC
'/etc/init.d/dhcpd start' get segfault if I try to use it in chroot. But it runs well if I launch it with:

# /usr/sbin/dhcpd -pf /var/run/dhcp/dhcpd.pid -user dhcp -group dhcp -q -chroot /
# 

# /etc/init.d/dhcp start
 * Setting ownership on dhcpd.leases ...                                                          [ ok ]
 * Starting chrooted dhcpd ...
/etc/init.d/dhcp: line 28:   480 Segmentation fault      start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd -- -pf /var/run/dhcp/dhcpd.pid -user dhcp -group dhcp ${DHCPD_OPTS} ${CHROOT:+-chroot ${CHROOT}} ${IFACE} 
#
# gdb -c /chroot/dhcp/core /usr/sbin/dhcpd
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)...Using host libthread_dblibrary "/lib/tls/libthread_db.so.1".

Core was generated by `/usr/sbin/dhcpd -pf /var/run/dhcp/dhcpd.pid -user dhcp -group dhcp -q -chroot /'.
Program terminated with signal 11, Segmentation fault.
#0  0x42e90a74 in ?? ()
(gdb) bt
#0  0x42e90a74 in ?? ()
#1  0x00000003 in ?? ()
#2  0xbfffe670 in ?? ()
#3  0xbfffe6e0 in ?? ()
#4  0xffffffff in ?? ()
#5  0x00000001 in ?? ()
#6  0x7273752f in ?? ()
#7  0x62696c2f in ?? ()
#8  0x62696c00 in ?? ()
#9  0x5f73736e in ?? ()
#10 0x732e6264 in ?? ()
#11 0x00322e6f in ?? ()
#12 0x322e6f73 in ?? ()
#13 0x322e6f00 in ?? ()
#14 0xbfffe600 in ?? ()
#15 0x42e94908 in ?? ()
#16 0xbfffe6e0 in ?? ()


Here is the trace:
# strace /etc/init.d/dhcp start
...
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
dup2(10, 1)                             = 1
fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fdc708) = 733
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG) = 733
waitpid(-1, 0xbfffbbc0, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807d480, [], 0}, {0x807d480, [], 0}, 8) = 0
close(4)                                = 0
read(3, "\n", 128)                      = 1
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807bee0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x807bee0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_GETFD)                     = 0
fcntl64(1, F_DUPFD, 10)                 = 10
fcntl64(1, F_GETFD)                     = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
dup2(3, 1)                              = 1
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/etc/init.d/dhcp", {st_mode=S_IFREG|0755, st_size=1092, ...}) = 0
stat64("/bin/stat", {st_mode=S_IFREG|0755, st_size=35336, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fdc708) = 734
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG) = 734
waitpid(-1, 0xbfff81a0, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807d480, [], 0}, {0x807d480, [], 0}, 8) = 0
close(4)                                = 0
read(3, "1110702459\n", 128)            = 11
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807bee0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x807bee0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
dup2(10, 1)                             = 1
fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fdc708) = 736
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG) = 736
waitpid(-1, 0xbfffba90, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807d480, [], 0}, {0x807d480, [], 0}, 8) = 0
close(4)                                = 0
read(3, "\n", 128)                      = 1
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807bee0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x807bee0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/chroot/dhcp/etc/dhcp/dhcpd.conf", {st_mode=S_IFREG|0644, st_size=1380, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/chroot/dhcp/var/lib/dhcp/dhcpd.leases", {st_mode=S_IFREG|0644, st_size=466, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d9d000
write(1, " \33[32;01m*\33[0m Setting ownership"..., 52 * Setting ownership on dhcpd.leases ...) = 52
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\n", 1
)                       = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=2232, ...}) = 0
stat64("/bin/chown", {st_mode=S_IFREG|0755, st_size=39152, ...}) = 0
stat64("/bin/chown", {st_mode=S_IFREG|0755, st_size=39152, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fdc708) = 737
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG) = 737
waitpid(-1, 0xbfffbbe0, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807bee0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x807bee0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0                                                       [ ok ]
) = 451, "\33[A\33[97G  \33[34;01m[ \33[32;01mok\33["..., 45
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
write(1, " \33[32;01m*\33[0m Starting chrooted"..., 42 * Starting chrooted dhcpd ...) = 42
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\n", 1
)                       = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=2232, ...}) = 0
stat64("/bin/start-stop-daemon", 0xbfffcd20) = -1 ENOENT (No such file or directory)
stat64("/sbin/start-stop-daemon", {st_mode=S_IFREG|0755, st_size=20676, ...}) = 0
stat64("/sbin/start-stop-daemon", {st_mode=S_IFREG|0755, st_size=20676, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fdc708) = 738
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807bee0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)], 0) = 738
fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d9c000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d48000
read(3, "# Locale name alias data base.\n#"..., 131072) = 2528
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0xb7d48000, 131072)              = 0
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "/etc/init.d/dhcp: line 28:   738"..., 234/etc/init.d/dhcp: line 28:   738 Segmentation fault    (core dumped) start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd -- -pf /var/run/dhcp/dhcpd.pid -user dhcp -group dhcp ${DHCPD_OPTS} ${CHROOT:+-chroot ${CHROOT}} ${IFACE}
) = 234
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfffca10, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807bee0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fdc708) = 739
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 127], WNOHANG) = 739
waitpid(-1, 0xbfffb100, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                                                      [ !! ]
) = 451, "\33[A\33[97G  \33[34;01m[ \33[31;01m!!\33["..., 45
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/var/lib/init.d/softscripts.old", 0xbfffd0d0) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=2232, ...}) = 0
stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=36096, ...}) = 0
stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=36096, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fdc708) = 740
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG) = 740
waitpid(-1, 0xbfffd280, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807bee0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x807bee0, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "\n\n# vim:ts=4\n", 8192)     = 13
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "", 8192)                     = 0
munmap(0xb7d9c000, 4096)                = 0
munmap(0xb7d9d000, 4096)                = 0
exit_group(139)                         = ?



Reproducible: Always
Steps to Reproduce:
1. emerge dhcp
2. ebuild /var/db/pkg/net-misc/dhcp-3.0.1-r1/dhcp-3.0.1-r1.ebuild config
3. configure /etc/conf.d/dhcp for chroot and /etc/dhcp/dhcpd.conf
4. /etc/init.d/dhcp start





# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20041102-r0, 
2.6.11-gentoo i686)
=================================================================
System uname: 2.6.11-gentoo i686 Intel(R) Celeron(TM) CPU                1100MHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jul 11 2004, 19:39:29)
]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/
3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.du.se/pub/os/gentoo 
http://trumpetti.atm.tut.fi/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ http://
www.gigaload.org/gentoo.org/"
LANG="ru_RU.cp1251"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl activefilter alsa apache2 apm arts artswrappersuid 
audiofile avi bash-completion berkdb bitmap-fonts caps cdparanoia cdr crypt cups 
curl dba dhcp directfb divx4linux divxforlinux doc emboss encode erandom esd fam 
fbcon flac font-server foomaticdb fortran gd gd-external gdbm gif gnome gphoto2 
gpm gstreamer gtk gtk2 guile hardened imagemagick imlib ipv6 jack java jpeg 
junit kde kerberos ldap libclamav libg++ libwww lirc mad mbox mikmod milter mmap 
mmx motif mp3 mpeg mppe-mppc mysql ncurses nls nptl ntlm oggvorbis opengl oss 
pam pdflib perl pic png portaudio povray python qt quicktime quotas readline 
reiserfs ruby samba sasl scanner sdl sftplogging slang slp snmp socks5 speex 
spell sse ssl svga tcltktcpd threads tiff truetype truetype-fonts type1-fonts 
usb v4l v4l2 wifi winbind wmf xine xinerama xml2 xmms xscreensaver xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 spiritus 2005-03-13 15:21:51 UTC
Created attachment 53368 [details]
/etc/dhcp/dhcpd.conf
Comment 2 spiritus 2005-03-13 15:22:18 UTC
Created attachment 53369 [details]
/etc/conf.d/dhcp
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-13 15:27:52 UTC
*** Bug 85147 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-05 12:31:14 UTC
Mass reassign wrt Bug 23718, maintainer being retired.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2005-12-07 05:00:33 UTC
*** Bug 78932 has been marked as a duplicate of this bug. ***
Comment 6 Roy Marples (RETIRED) gentoo-dev 2005-12-07 06:13:45 UTC
Does this still happen with 3.0.3-r1?
Comment 7 spiritus 2005-12-07 15:03:59 UTC
(In reply to comment #6)
> Does this still happen with 3.0.3-r1?

The system has changed a lot since this bug report, also I have stopped using 
hardened gcc and glibc on my box. Now I have no any troubles with the dhcp-3.0.
1-r1.

root@galaxy ~ # /etc/init.d/dhcp start
 * Setting ownership on dhcpd.leases ...                                         
                                [ ok ]
 * Starting chrooted dhcpd ...                                                   
                                [ ok ]
root@galaxy ~ # pidof dhcpd
20579
root@galaxy ~ # dhcpd --version
isc-dhcpd-V3.0.1
root@galaxy ~ # epm -qa|grep dhcp
dhcp-3.0.1-r1
root@galaxy ~ # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.
14-gentoo-r3 i686)
=================================================================
System uname: 2.6.14-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r10, 2.16-r1, 2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/
share/texmf/xdvi/ /var/bind /var/qmail/control /var/service"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.du.se/pub/os/gentoo 
http://trumpetti.atm.tut.fi/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ http://
www.gigaload.org/gentoo.org/"
LANG="ru_RU.cp1251"
LINGUAS="en ru"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/my /usr/local/overlays/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl activefilter alsa apache2 apm arts artswrappersuid atm 
audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr 
crypt cups curl dba dhcp directfb divx4linux divxforlinux doc dvd dvdr dvdread 
eds emboss encode erandom esd ethereal exif expat fam fbcon ffmpeg flac font-
server foomaticdb fortran freetds gd gdbm gif glut gmp gnokii gnome gpm 
gstreamer gtk gtk2 guile hal idn imagemagick imlib innodb ipv6 jack java jpeg 
kde kerberos lcms ldap libclamav libg++ libwww lirc lm_sensors logrotate lua mad 
mbox mhash mikmod milter mime mmap mmx mmxext mng motif mp3 mpeg mpm-prefork 
mppe-mppc multislot mysql ncurses nls nptl ntlm oav ogg oggvorbis opengl oss pam 
pam_chroot pam_console pcre pda pdflib perl perlsuid pic png portaudio povray 
procmail python qt quicktime quotas radius rdesktop readline real recode 
reiserfs ruby samba sasl scanner sdl sftplogging shaper slang slp snmp socks5 
softquota speex spell sse sse2 ssl svga swat tcltk tcpd tetex theora threads 
tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vorbis wifi 
win32codecs winbind wmf xine xinerama xml xml2 xmms xscreensaver xv xvid zlib 
linguas_en linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS

root@galaxy ~ #                                                  
Comment 8 p cooper 2005-12-21 12:18:39 UTC
mine still fails 

NTGHICU1 ~ # /etc/init.d/dhcp start
 * Setting ownership on dhcpd.leases...                                                                                                              [ ok ]
 * Starting dhcpd...
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
*** glibc detected *** malloc(): memory corruption: 0x081172b8 ***
/etc/init.d/dhcp: line 28: 27687 Aborted                 start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd -- -pf /var/run/dhcp/dhcpd.pid -user dhcp -group dhcp ${DHCPD_OPTS} ${CHROOT:+-chroot ${CHROOT}} ${IFACE}                                                                                     [ !! ]

NTGHICU1 ~ # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/sites/gentoo/  http://www.mirror.ac.uk/mirror/distro/ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apache2 apm avi berkdb bitmap-fonts bzip2 crypt cups eds emboss expat foomaticdb fortran gdbm gif gpm gstreamer imagemagick imlib ipv6 jpeg libg++ libwww mad mhash mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl php png python quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vhosts vorbis xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

NTGHICU1 ~ #                                                             
Comment 9 Roy Marples (RETIRED) gentoo-dev 2005-12-21 12:25:11 UTC
(In reply to comment #8)
> mine still fails 
> 
> NTGHICU1 ~ # /etc/init.d/dhcp start
>  * Setting ownership on dhcpd.leases...                                        
>                                                                      [ ok ]
>  * Starting dhcpd...
> Internet Systems Consortium DHCP Server V3.0.1

Right, could you try 3.0.3-r2 please? Your still running 3.0.1

> Gentoo Base System version 1.4.16

And an unsupported baselayout. Please emerge baselayout-1.11.13-r1 and ensure that etc-update updates every file in /etc/init.d