dhcrelay listening on a virtual 802.1q interface stops with segfault (error 4) after a first dhcp request. Client with a static ip address set works properly. F12 is fully updated, the same behavior for dhcp-4.1.0p1-13.fc12.x86_64 and dhcp-4.1.0p1-14.fc12.x86_64 from updates-testing.
Thanks for the report. I need you to obtain backtrace. First of all you need to install dhcp debuginfo package: 'debuginfo-install dhcp'. Then the easiest way to get backtrace is to use ABRT. If you don't have it installed please install it with 'yum install abrt abrt-libs abrt-gui'. Do necessary steps to reproduce the crash and abrt should notice it and let you know. If he doesn't open it with Application->System Tools->Automatic Bug Reporting Tool. Double-click on the line corresponding to this crash. If he says he needs some other debuginfo, please install it and press Refresh button. Copy and paste the backtrace into this bug report. Tell me if the ABRT way is not working or read http://fedoraproject.org/wiki/StackTraces how to obtain backtrace (stacktrace) manually. Thanks.
Thank you for a detailed howto which I was missing (although I hope it's not necessary to use any of the graphic tools). Unfortunately it looks there's no debuginfo for dhcp in f12 or f11: No debuginfo packages available to install Dependencies openldap-debuginfo-2.4.19-1.fc12.x86_64 and glibc-debuginfo-2.11-2.x86_64 succeeded to install, though. In dhcrelay's coredump there is Program terminated with signal 11, Segmentation fault. #0 0x0000000000409f37 in getservbyname () at ../nss/getXXbyYY.c:89 89 { strace in the very scecond of the crash says: ... 13:45:12.047769 select(8, [4 5 6 7], [], [], {0, 0}) = 2 (in [4 5], left {0, 0}) 13:45:12.047817 recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\377\377\377\377\377\377\0\27\10@1t\10\0E\20\0016\0\0\0\0\200\0219\250\0\0\0\0\377\377"..., 1536}], msg_controllen=36, {cmsg_len=36, cmsg_level=SOL_PACKET, cmsg_type=, ...}, msg_flags=0}, 0) = 324 13:45:12.047876 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Well, one should enable repo updates-testing-debuginfo when a package from updates-testing is installed. Abrt result sent.
*** Bug 547694 has been marked as a duplicate of this bug. ***
Backtrace is in duplicate bug. https://bugzilla.redhat.com/show_bug.cgi?id=547694#c1
dhcrelay version 4.1.1 from f12 updates-testing (dhcp-4.1.1-5.fc12.x86_64) works fine even in vlan environment without any fault (yet). As far as I am concerned the problem is solved.
Oh, such a great news ! I hadn't seen any dhcrelay related bugfix in Release notes, so I didn't tell you to try 4.1.1 build. I'll close this bug when dhcp-4.1.1 hits stable repository.
dhcp-4.1.1-5.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.