From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4CE751399E6 for ; Fri, 4 Sep 2015 09:17:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C11295874; Fri, 4 Sep 2015 09:17:14 +0000 (UTC) Received: from BLU004-OMC1S2.hotmail.com (blu004-omc1s2.hotmail.com [65.55.116.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1357B14275 for ; Fri, 4 Sep 2015 09:17:13 +0000 (UTC) Received: from BLU436-SMTP164 ([65.55.116.9]) by BLU004-OMC1S2.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 4 Sep 2015 02:17:12 -0700 X-TMN: [0vdVJaDq8DvMtdJAsE8dKZNGVABA6Zlm] X-Originating-Email: [frodriguez.developer@outlook.com] Message-ID: From: Fernando Rodriguez To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dhcpd always shows "crashed" even though it's running Date: Fri, 4 Sep 2015 05:16:29 -0400 User-Agent: KMail/4.14.8 (Linux/3.18.20; KDE/4.14.8; x86_64; ; ) In-Reply-To: <201509040806.28324.michaelkintzios@gmail.com> References: <55E8E11E.5030103@kutulu.org> <55E905EC.1080304@gmail.com> <201509040806.28324.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-OriginalArrivalTime: 04 Sep 2015 09:17:11.0931 (UTC) FILETIME=[7B53D4B0:01D0E6F2] X-Archives-Salt: ca22deeb-85d6-460a-8c3c-510f6850b68e X-Archives-Hash: 29fc7386104cc1d5293775a772c6dead On Friday, September 04, 2015 8:06:18 AM Mick wrote: > On Friday 04 Sep 2015 03:46:04 Dale wrote: > > Fernando Rodriguez wrote: > > > On Thursday, September 03, 2015 8:47:34 PM Dale wrote: > > > > > > I don't know if this will help or not but don't forget the zap option. > > > > > > root@fireball / # /etc/init.d/dhcpcd > > > broken ineed iuse needsme pause restart start status > > > stop usesme zap > > > root@fireball / # /etc/init.d/dhcpcd > > > > > > It's been a long time since I used it but if I recall correctly that > > > resets the status. I think it stops and deletes any files that stores > > > its run status. > > > > > > If that doesn't apply, just ignore me. Heck, a lot of people ignore > > > me. lol > > > > > > Dale > > > > > > :-) :-) > > > > > > It does. I knew about it but never used it and didn't know what it'll do > > > if the permissions are wrong so I thought I'd minimize the chances of > > > being wrong. > > > > I wasn't sure if it would help or not. I know it has worked in the past > > for me but it has been while. I usually tell the service to stop, make > > sure any processes are dead, with kill command if needed, and then use > > the zap thing. Maybe try that as a last resort if nothing else. > > > > I just didn't want to not mention it and it turn out to be just what was > > needed. ;-) > > > > Dale > > > > :-) :-) > > You can increase its verbosity in /etc/init.d/dhcpcd, so that the logs show > more of what is happening to cause the crash. > > Also, here at least, I have /run/dhcpcd/ with its subdirectories as well as > /run/dhcpcd-enp11s0.pid both owned by root:root, but this is a laptop and the > dhcpcd is launched by ifplugd. > > dhcpd is getting confused with dhcpd... But now that you mentioned that my pid file for dhcpd is also owned by root:root, but the directory is owned by dhcp:dhcp and the daemon runs as dhcp. -- Fernando Rodriguez