<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5711&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] post-install problems: dhclient]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5711</link>
		<description><![CDATA[The most recent posts in [SOLVED] post-install problems: dhclient.]]></description>
		<lastBuildDate>Sat, 20 May 2023 12:42:22 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] post-install problems: dhclient]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=42326#p42326</link>
			<description><![CDATA[<p>Thanks.</p><p>I think something starts dhclient if I have</p><div class="codebox"><pre><code>allow-hotplug eth0
iface eth0 inet dhcp</code></pre></div><p>in /etc/network/interfaces, I am guessing one of init scripts runs ifup which starts dhclient.</p><p>Removing the runit service prevents dhclient from starting twice.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigcat)]]></author>
			<pubDate>Sat, 20 May 2023 12:42:22 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=42326#p42326</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] post-install problems: dhclient]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=42303#p42303</link>
			<description><![CDATA[<p>had a similar error, with dhclient+runit, and @Lorenzo (debian runit maintainer) fixed it in a runit-services 0.6.0 version in debian experimental.. maybe you should try that package, see if it helps. <br />removing service isn&#039;t a fix, you&#039;re just removing service so it doesn&#039;t run..</p>]]></description>
			<author><![CDATA[dummy@example.com (xinomilo)]]></author>
			<pubDate>Fri, 19 May 2023 10:03:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=42303#p42303</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] post-install problems: dhclient]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=42297#p42297</link>
			<description><![CDATA[<p>I think I found the problem a few minutes after posting.&#160; &#160; Apparently the system starts dhclient when I have what I have in /etc/network/interfaces; however there is a dhclient service (under runit) in /etc/service.&#160; After I removed it, things went back to normal.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigcat)]]></author>
			<pubDate>Fri, 19 May 2023 01:53:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=42297#p42297</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] post-install problems: dhclient]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=42296#p42296</link>
			<description><![CDATA[<p>I ran into a problem after installing on all four of my machines that I converted from debian, would appreciate some advice.</p><p>I installed Chimaera from a cdrom, and updated to testing.&#160; I chose to use runit as init.&#160; This is /etc/apt/sources.list that I used:</p><div class="codebox"><pre><code>deb http://deb.devuan.org/merged testing main contrib non-free
deb-src http://deb.devuan.org/merged testing main contrib non-free</code></pre></div><p>then I ran apt-get update; apt-get dist-upgrade.</p><p>I don&#039;t use NetworkManager which is disabled (chmod 644 /etc/init.d/network-manager - this took a mental effort after many years on systemd :) ). The /etc/network/interfaces file has</p><div class="codebox"><pre><code>auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp</code></pre></div><div class="codebox"><pre><code>root@kot:/home/user# ip a
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 70:85:c2:74:eb:5d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic eth0
       valid_lft 84535sec preferred_lft 84535sec
    inet6 fe80::7285:c2ff:fe74:eb5d/64 scope link 
       valid_lft forever preferred_lft forever</code></pre></div><p>You can see that the interface is up with a valid IP, but<br />syslog is filling up with messages from dhclient:</p><div class="codebox"><pre><code>2023-05-18T20:29:53.150541-05:00 kot dhclient[23535]: Failed to get interface index: No such device
2023-05-18T20:29:53.150548-05:00 kot dhclient[23535]: 
2023-05-18T20:29:53.150551-05:00 kot dhclient[23535]: If you think you have received this message due to a bug rather
2023-05-18T20:29:53.150554-05:00 kot dhclient[23535]: than a configuration issue please read the section on submitting
2023-05-18T20:29:53.150557-05:00 kot dhclient[23535]: bugs on either our web page at www.isc.org or in the README file
2023-05-18T20:29:53.150560-05:00 kot dhclient[23535]: before submitting a bug.  These pages explain the proper
2023-05-18T20:29:53.150563-05:00 kot dhclient[23535]: process and the information we find helpful for debugging.
2023-05-18T20:29:53.150566-05:00 kot dhclient[23535]: 
2023-05-18T20:29:53.150569-05:00 kot dhclient[23535]: exiting.</code></pre></div><p>(also, the strange thing is that /var/log/syslog was rotated to syslog.1 but /var/log/syslog is now empty, and the log continues to go into syslog.1).</p><p>If anyone knows what could be the problem, either with the logger or dhclient, please post, thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigcat)]]></author>
			<pubDate>Fri, 19 May 2023 01:50:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=42296#p42296</guid>
		</item>
	</channel>
</rss>
