freenode/#devuan/ Thursday, 2018-06-07

Centurion_Danunmy: there is still a live lease using that IP for another system/mac address.05:50
DocScrutinizer05Centurion_Dan: ummy: looks to me like you have a statically configured IP on your client ("disabling DHCP static address 10.1.1.10") and still dnsmasq tries to get a DHCP IP lease11:32
DocScrutinizer05AIUI you should do either/or, not both11:33
DocScrutinizer05if you want to assign a persisting IP to a MAC, you need to do so on DHCP server, not client11:33
DocScrutinizer05*or* you configure your client with static IP address, but then you don't run DHCP to get a new IP11:36
DocScrutinizer05my uneducated guess11:37
DocScrutinizer05also MAC randomization or change during boot comes to mind, could that be a problem here?11:38
DocScrutinizer05I know a DHCP lease request can ask for a certain IP address, and DHCP server will probably grant that if it's in subnet range unless it's assigned to a different MAC already11:41
DocScrutinizer05I think I know, at least11:42
DocScrutinizer05no expert11:42
DocScrutinizer05so the first line of what you posted seems to suggest that 10.1.1.10 was assigned to a different MAC before11:43
unmyDocScrutinizer05, nah, dhcp server is fine, 10.1.1.10 assigned to correct mac on server, client got same mac, on client default configuration13:21
unmyit happening only with sysvinit together with isc-dhcp-client, all rest different distributions/systems/devices NEVER got such a problem13:22
unmyit is isc-dhcp-client which don't know why sending DHCPDECLINE to the dhcp server and asking for different IP13:25
unmyother weird thing is that client first time setting up correct ip 10.1.1.10 to after second send DHCPDECLINE and add another not assigned ip like 10.1.1.2xx without drop the previous one...13:29
unmymaybe isc-client expect extra functions from systemd and need fix some script because like I said it happens in debian stretch with sysvinit and devuan ascii13:32
mipl_hey. probably not. i have several mixed networks running, this problem only occured due to a misconfigured dhcpd.conf.13:36
mipl_the DHCPDECLINE is sent after the client did an ARP-probe and found the IP already in use.13:38
mipl_your client is not changing the MAC while setting up network? or has two interfaces with the same MAC in the same network?13:39
mipl_happened to me once with generated LXCs and a (my) faulty script13:39
mipl_or: is there somewhere a second (hidden) dhcpd running?13:44
mipl_to debug: look with tcpdump what is happening in the network:13:50
mipl_tcpdump -i eth0 -s 1500 port bootps or port bootpc13:51
mipl_then doublecheck MACs and IPs13:51
DocScrutinizer05https://support.ruckuswireless.com/answers/000003789  and ypur paste says it's dnsmasq-dhcp, not isc-dhcp-client14:03
DocScrutinizer05((<mipl_> or: is there somewhere a second (hidden) dhcpd running?)) dnsmasq-dhcp vs isc-dhcp-client. Another fishy detail: "br-lan" in that paste, "br " like "bridge"?14:07
unmyDocScrutinizer05, server dhcp is on openwrt router and log is from there, isc-dhcp-client is on laptop box14:22
DocScrutinizer05aaah14:23
unmymipl_, not any mac changes, all happening on same interface with same mac, router says same14:24
DocScrutinizer05wait... does initrd already configure the network?14:25
unmyonly isc-client got that problem, with any other dhcp client software is just fine without modificating anything, purge isc, install other client is fine14:25
unmyDocScrutinizer05, probably can set it up and configure to use with network disks14:31
DocScrutinizer05wild guessing: the dhcp-client in initrd and regular system must play nice with each other?14:34
DocScrutinizer05would that explain why there are two DHCP requests?14:36
unmya little :)14:40
DocScrutinizer05tricky topic   https://unix.stackexchange.com/questions/172159/disable-dhcp-in-initramfs for example14:44
unmyye tried with ip=none14:46
unmydidn't help :P14:46
DocScrutinizer05I searched https://www.startpage.com/do/search?q=isc-dhcp-client+initrd to learn what's up with that, seems it's a quite a broad area to have fun14:47
unmyand I never liked isc dhcp, many many years somebody told me to not using if don't have to14:47
DocScrutinizer05with systemd-dhcpd all across the field14:48
unmybut would be cool to know what is wrong since it is in default installation14:48
DocScrutinizer05yep14:48
DocScrutinizer05also note how 3 of 10 first hits are bug tickets :-P14:50
unmyit kind of start looking like a windows issues where is 234242 same bug reports with 321321 fix stories14:52
unmys/is/are14:53
DocScrutinizer05never underestimate the impact of poetterware like avahi (aka zeroconf) to acerbate a loosely related problem14:53
DocScrutinizer05exacerbate even14:54
unmyspeaking of, got some avahi ipd package installed and that package created scripts in dhcp hooks...14:56
unmyDocScrutinizer05, ok found out, somehow only isc-client is so sensitive for that...15:13
unmy"Before actually configuring the address, dhclient-script should somehow ARP for it and exit with a nonzero status if it receives a reply. In this case, the client will send a DHCPDECLINE message to the server and acquire a different address. This may also be done in the RENEW, REBIND, or REBOOT states, but is not required, and indeed may not be desirable."15:13
unmyand on openwrt default: net.ipv4.conf.default.arp_ignore=1 and net.ipv4.conf.all.arp_ignore=115:13
unmywhen changed arp_ignore to 0 on router interface then all works fine... jeeeesusssss15:14
unmystill is weird that isc couldnt ignore it like every does15:17
unmyso... sorry for spam and my problems and thanks for help :) I probably should create 'issue' on openwrt and/or isc client somewhere :)15:22
DocScrutinizer05>>"...and indeed may not be desirable."<< LOL yeah15:24
unmyye LOL :/15:26
unmyand with arp was my first idea but didn't know that is blocked by default :\15:27
DocScrutinizer05I got aware how little I know for sure about DHCP15:27
DocScrutinizer05sounds so simple15:28
DocScrutinizer05and looking at wireshark, it actually seemed to be as simple as it sounds15:28
unmy:)15:28
DocScrutinizer05as long as it works ;-D15:29
unmybleh, nah, after 2 reboots and more is still same problem even with arp ignore 0 all interfaces, so it is just isc client problem with don't know what :P tired to dig more for now or will reconfigure too much in too many places15:47
KatolaZunmy: are you sure you are shutting down the dhcp client correcty?15:50
KatolaZcorrectly?15:50
KatolaZit might not release the leases if you don't15:51
KatolaZand if the server is not notified, it will propose a new IP at each request15:51
KatolaZno matter the mac15:51
KatolaZ(since it thinks that the matching IP is taken)15:51
unmyreboots enough + deleting lease file in /var/lib/dhcp/15:52
KatolaZthis is a problem with the dhcp SERVER15:52
KatolaZlook into dhclient manpage15:52
KatolaZunder "-r15:52
KatolaZand "-x"15:52
KatolaZthey are one after the other15:52
KatolaZyou should kill it throuhg `dhclient -r` probably15:52
KatolaZthis is not strictly necessary, but some servers require it15:53
unmydhcp server is fine...15:54
KatolaZunmy: please read what I wrote above15:54
KatolaZ"fine" does not mean much15:55
KatolaZsome servers have problems with clients not releasing the leases15:55
unmytried before even with router restart all together with client box reboots etc etc15:55
KatolaZunmy: you haven't read15:55
KatolaZtry to stop dhclient with -r instead of the standard -x15:56
unmyKatolaZ, ye cool but it doesnt change anything with scripts running isc dhcp, like said before there is some problem with service/script16:01
unmysure when I kill it and run it again, works great but next reboot I will get again two IP addresses16:02
KatolaZunmy: script are made to be modified and/or adapted16:02
KatolaZthen just look for the place where the option is specified16:02
unmyit is dhclient-script provided by isc software :\16:05
KatolaZso it can't be modified?16:05
KatolaZo_O16:05
unmynot sure what can modificate there16:06
unmyok, so isc-client is fine, dhcp server is fine but something wrong in network script(s) which I don't know how even init the dhcp process16:17
unixmanAh, I see the ascii release hit overnight. Sweet. :)18:18
_stephen_Weird, just did another install from the dvd, very similar hardware, except I didn't have to manually run efibootmgr this time.22:35
_stephen_Dunno if it matters, but the other system had 0 entries before running the installer, dunno if that was a problem.22:37
aitorhi22:51
aitori'm doing an experiment, i'll be back within an hour22:55
unmyaitor, good luck and try to not destroy something or somebody!23:06
aitor:)23:25
aitorin any case, it'll not be today; it'll take some hours23:25
unmyaitor, I will do the experiment too, I will try use ascii as a daily use desktop :P23:28
unmyas a platform to build openwrt images will be great on different machine but don'n know how many packages I will have to build by own if will need something newer, rolling release distros for that use working better for me I think :)23:30
aitori'm building gcc-4.9 in jessie, including the code of libstd++-v3 taken from ascii23:44
aitorthree hours building without errors23:45
darkworldI haven't considered changing distros in about 5 years, but I've messed around with Devuan a few times on other PCs. Might I ask, is Devuan ASCII ready enough for daily use? I'm pissed off with Slackware right now but I'm not going to install ancient Jessie packages on my machine23:45
darkworldAlso I ahvent used Debian in like 5 years. If I want to set up a minimal system, I use the netisntall iamge, yes?23:46
aitormy problem with libstd++-v3 is related with simple-netaid-gtk, developed in gtkmm, concretly with std::thread and std::mutex23:48
gnarfacedarkworld: yes, and yes23:48
darkworldalright23:48
aitori always developed it in ascii, and i get errors in jessie23:49
gnarfacedarkworld: for minimal, choose expert mode install, and when you get to the tasksel panel, just don't check any boxes.23:50
gnarfaceit'll still be bootable23:50
darkworldIve never been opposed to a minimal system, but I ahte bleeding edge distros with a passion23:50
gnarfacei would recommend still including "standard system utilities" because they don't take much space compared to what they provide23:51
darkworldyeah I getcha23:51
darkworldI jsut want a system that isnt 10GB23:51
gnarfacethat will use about ~500MB23:51
darkworldAnd im thinking about falling for the window manager meme again23:51
gnarfaceyou can add a desktop and still keep it under 2GB if you choose the right one23:52
gnarface(not KDE)23:52
darkworldIve used XFCE for a long time23:52
darkworldI hate DEs but it's the only good one imho23:52
gnarfacejust remember there's nothing you can't install later after your first boot, so don't feel the need to evaluate what you want to include during install23:53
darkworldyeah thats the idea23:53
darkworldI just want a stable system that just werks (TM)23:54
darkworldI have thigns to do during the day and the last thing I want to do at home is configure things all day23:54
darkworldmad props to the devs of this great system btw my buddy shills devuan all the time23:55
darkworldIve installed jessie before on random PCs and I can confirm23:56
gnarfaceyea they're doing a good job23:57
gnarfacebetter job than Debian, these days, sadly23:57
darkworldlol23:57
gnarfaceDebian might as well be Ubuntu now23:58
darkworldFunny enough the reason I switched from Debian to Slackware around 2013 was because Debian was too buggy for a "stable" distro23:58
gnarfacehmmm, is that when they switched to systemd?23:58
darkworldthat was later23:58
darkworldbut you can miss me with that shit23:58
darkworld*shakes finger profusely*23:59
gnarfacei had problems with the upgrade to Debian jessie but not Devuan jessie23:59

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!