Fudge | anyone aware if isc-dhcp-server has known issues in xenial currently? | 01:56 |
---|---|---|
Fudge | using my config from trusty but | 02:09 |
Fudge | nothing | 02:15 |
ChibaPet | Fudge: It should throw errors in a log if it doesn't like your config. | 02:17 |
Fudge | there are errors, about permissions on /var/;iob/dhcpd/dhcpd.leases | 02:17 |
ChibaPet | Next, use something like netstat -nap to see if it's listening. | 02:18 |
Fudge | there are errors about not being able to append to /var/lib/dhcp/dhcpd.leases | 02:18 |
ChibaPet | Ah. Then check the ownership and permissions of that file. | 02:18 |
Fudge | who should own it, dhcpd or root? | 02:18 |
ChibaPet | It's 0644 root:root on my Debian DHCP server here. They could have changed it, though. | 02:19 |
Fudge | so i jsut deleted the dhcpd.leases | 02:20 |
Fudge | then clients are getting assigne dip addresses | 02:20 |
Fudge | which are online | 02:20 |
Fudge | but not all | 02:20 |
ChibaPet | dip addresses? | 02:22 |
ChibaPet | You should see lease negotiation traffic in syslog anyway. | 02:22 |
ChibaPet | or... somewhere. I'm still an Ubuntu noob. | 02:22 |
Fudge | bug #1535952 | 02:32 |
ubottu | bug 1535952 in isc-dhcp (Ubuntu) "isc-dhcp-server.service fails on xenial with "Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory"" [Critical,Fix released] https://launchpad.net/bugs/1535952 | 02:32 |
ChibaPet | Or, that. | 02:33 |
Fudge | so for the tiem being things are working | 02:34 |
Fudge | -rw-r--r-- 1 dhcpd dhcpd 2335 Feb 26 13:34 dhcpd.leases | 02:35 |
Fudge | it creates the files as root but apparently needs to be owned by dhcpd | 02:35 |
ChibaPet | Ah, it opens its priv'd port as root and then drops privs. So they *did* change it. That's a good change. | 02:36 |
Fudge | yeah should be pretty easy fix | 02:40 |
Fudge | i didnt see the upgrade as i didnt have proposed enabled | 04:52 |
Fudge | now using isc-dhcp-server 4.3.3-5ubuntu8 | 04:52 |
Fudge | so it seems that if i have a static client that those are not getting assigned ip addresses, how can i debug dhcp-server | 04:53 |
Fudge | any ideas? | 04:58 |
lotuspsychje | !info isc-dhcp-server xenial | 05:23 |
ubottu | isc-dhcp-server (source: isc-dhcp): ISC DHCP server for automatic IP address assignment. In component main, is optional. Version 4.3.3-5ubuntu7 (xenial), package size 438 kB, installed size 1542 kB | 05:23 |
Fudge | isc-dhcp-server 4.3.3-5ubuntu8 | 05:34 |
Fudge | from proposed | 05:34 |
lotuspsychje | but proposed can break right | 05:35 |
Fudge | i upgraded because it was supposed to be fixed lol | 05:36 |
lotuspsychje | Fudge: did you clean install xenial? | 05:36 |
lotuspsychje | or wily do-release-upgrade -d | 05:36 |
Fudge | lets downgrade and see what happens | 05:37 |
Fudge | yep fresh install | 05:37 |
lotuspsychje | kk nice | 05:37 |
Fudge | but i did use my bind dhcp folders | 05:37 |
Fudge | from trusty | 05:37 |
lotuspsychje | yeah try out without the proposed one, maybe thats more stable | 05:37 |
Fudge | just downgraded | 05:37 |
Fudge | back here again, Can't create new lease file: Permission denied | 05:47 |
Fudge | i am using service isc-dhcp-server start, is that righ tor should i be using systemctl | 05:47 |
lotuspsychje | 16.04 uses systemd | 05:48 |
lotuspsychje | !systemd | 05:48 |
ubottu | systemd is the default init system for Ubuntu 15.04 onwards. For information on transitioning from upstart to systemd, see https://wiki.ubuntu.com/SystemdForUpstartUsers | 05:48 |
Fudge | and a combination of my firewall | 05:51 |
lotuspsychje | :p | 05:52 |
Fudge | i have this ongoing problem of some other rules being loaded | 05:52 |
lotuspsychje | Fudge: maybe the #netfilter guys can help on that1? | 05:52 |
Fudge | thanks mate, im on #networking, they are good guys but ill try there too | 05:53 |
lotuspsychje | yeah networking is pro | 05:53 |
ChibaPet | note that service still works | 06:02 |
ChibaPet | But it's probably better to succumb. :P | 06:02 |
Fudge | lotuspsychje: yeah a guy there is really helpful | 06:06 |
Fudge | ChibaPet: lol | 06:12 |
alteregoa | update-manager -d doesn't find 16.04 in repo | 09:24 |
ngaio | is it by design that applications stored in /usr/local don't show up in the menu until the next restart? I don't see that same behavior in 15.10 | 10:37 |
ngaio | that is, install an application that puts its resources /usr/local/bin and /usr/local/share, and it doesn't show up in the launcher (I've tested Unity and Mate) until after reboot | 10:39 |
Fudge | is anyone experiencing any isc-dhcp-client issues, where leases arent being renewed | 11:18 |
lotuspsychje | Fudge: cant you file a bug against this one? | 11:19 |
Fudge | lotuspsychje: i dont really have any concrete evidence | 11:20 |
lotuspsychje | Fudge: ubuntu-bug isc-dhcp-client | 11:20 |
lotuspsychje | and explain what your situation is...the devs might find out whats the issue | 11:21 |
Fudge | true, thanks | 11:22 |
Fudge | bug #1550289 | 11:26 |
ubottu | bug 1550289 in isc-dhcp (Ubuntu) "after my isp lease is due to be renewed isc-dhcp-client does not seem to be renewing, have to take interface down on internet and up again before a new external ip is assigned." [Undecided,New] https://launchpad.net/bugs/1550289 | 11:26 |
lotuspsychje | Fudge: good, lets see where that brings us :p | 11:28 |
Fudge | plus downgrading again too, i forgit it updated to the proposed version | 11:28 |
lotuspsychje | !info isc-dhcp-client xenial | 11:29 |
ubottu | isc-dhcp-client (source: isc-dhcp): DHCP client for automatically obtaining an IP address. In component main, is important. Version 4.3.3-5ubuntu7 (xenial), package size 233 kB, installed size 674 kB | 11:29 |
lotuspsychje | Fudge: ouch, you placed the bug with the proposed package version | 11:29 |
lotuspsychje | Fudge: make sure its the default one from xenial | 11:30 |
Fudge | thats the version i was using though | 11:30 |
Fudge | i cant file bugs against proposed versions | 11:31 |
Fudge | didnt realise, sh ould i remove my bug and re-file? | 11:32 |
lotuspsychje | default version is 4.3.3-5ubuntu7 right | 11:32 |
lotuspsychje | and proposed one 8 | 11:32 |
Fudge | yes | 11:32 |
lotuspsychje | Fudge: well, how about you update the existing bug to avoid too many bugs | 11:33 |
lotuspsychje | Fudge: and add version 4.3.3-5ubuntu7 saying, you have this issue on both versions right? | 11:33 |
lotuspsychje | Fudge: update it at bottom with 'add comment' | 11:34 |
Fudge | yep, ill see if i get the same behaviour with this version | 11:34 |
Fudge | shoujld ahve read the changelog | 11:34 |
lotuspsychje | ok | 11:34 |
lotuspsychje | Fudge: you could also try a systemctl restart | 11:35 |
lotuspsychje | see what it does | 11:35 |
Fudge | okie | 11:35 |
lotuspsychje | Fudge: try a few things out, and keep the comments updated, so the devs see what you have tried | 11:36 |
Fudge | yup | 11:36 |
lotuspsychje | great | 11:36 |
Fudge | thanks cobber | 11:36 |
lotuspsychje | no sweat, we might have a nice clean xenial in april this way :p | 11:37 |
Fudge | updated my bug, still does it on this version | 11:44 |
lotuspsychje | ok | 11:44 |
Fudge | yeah im looking forward to xenial | 11:47 |
=== tsimonq2alt is now known as tsimonq2 | ||
faekjarz | Hey there, seemingly i've missed a memo or something. By now i tested 2 daily-live ISOs - Ubuntu Gnome 16.04 x64 (20160225.1) and plain Ubuntu 16.04 x64 (20160226) - and none of them let me install onto a ZFS-root (/). What's the deal? Is this ZedFS inclusion limited to virtualisation, containers and stuff? Or is it not yet implemented in the installer? | 13:19 |
BluesKaj | Hiyas all | 13:19 |
marlinc | faekjarz, its not included in the installer | 13:23 |
marlinc | ZFS works perfectly on 16.04 its just that you manually have to set up boot of ZFS if that's what you want | 13:24 |
Daekdroom | And there's no reason for it to be in the desktop versions installer, really. It's a server feature. | 13:32 |
faekjarz | marlinc: yes that's what i intended :) Well, kind of. I've heard there's a non-DKMS solution - is there a guide how to properly set up ZFS boot | 13:35 |
marlinc | Yes, there are. Wait a moment | 13:35 |
marlinc | You will probably have to follow: | 13:36 |
marlinc | https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-16.04-to-a-Native-ZFS-Root-Filesystem | 13:36 |
marlinc | Not sure how up-to-date it is though | 13:36 |
marlinc | My process in general is the following: 1. start using live usb, 2. install zfsutils-linux, 3. create pool, 4. create zvol with about 8 gb of storage, 5. start the Ubuntu installer like normal, install to the zvol (including the bootloader) the bootloader install will fail which is fine, 6. copy contents of zvol filesystem to a zfs dataset, 7. chroot into the dataset, 8. install zfsutils-linux in the chroot, 9. install GRUB | 13:39 |
marlinc | And then reboot :p | 13:39 |
marlinc | faekjarz, ^ | 13:39 |
faekjarz | Daekdroom: meh, it's origin (Solaris) is indeed the server realm. My POV is not the separation of servers and desktops (clients / workstations) - i mean it's a file system. One with awesome features (integrity, snapshots, replication, and stuff) <- totally usefull on every machine, including desktops | 13:39 |
marlinc | That's my thought on the matter as well faekjarz | 13:40 |
faekjarz | yay :D | 13:40 |
faekjarz | marlinc: thanks for the link! Let's try \m/ | 13:43 |
asper | hi there. i configured and enabled systemd-networkd and added a bridge on eth0. the thing is: eth0 still gets an ip and my routing is fucked up. i disabled networking.service but i see that dhclient still runs at boot. any hints on how to disable it? dhcp should be handled by systemd-networkd, right? | 14:51 |
asper | ok. after removing the entries from /etc/network/interfaces for eth0 the problems go away. rather unconvenient setup. | 15:28 |
=== _stowa_ is now known as _stowa | ||
=== knitt1 is now known as knittl | ||
=== tlyu_ is now known as tlyu | ||
Fudge | BluesKaj: g'day and good morning from Tasmania | 19:47 |
BluesKaj | Hey Fudge, good afternoon from Ontario, Canada | 20:00 |
Fudge | hey cobber, are you freezing there yet? | 20:02 |
Fudge | still having a hard time with my xenial server and dhcp | 20:03 |
BluesKaj | yeah still coolish here, -3C atm , but sunny | 20:04 |
Fudge | wow thats pretty chilly mate, even overnight for us at the moment we are at about 12 | 20:04 |
squinty_ | here on Vancouver Island BC we hit 16 yesterday...not quite as warm today | 20:05 |
Fudge | beautiful | 20:06 |
BluesKaj | well, you guys are in different climate zone altogether, but your server is not connecting with network manager or..? | 20:06 |
Fudge | not sure that I am using netwoork manager, its xenial-server. fresh install from a few days ago. i had same setup on trusty and it was rock solid but now on xenial i get disconnected all the time, this is a gateway so the machine is disconnected from the net and i have to take the interface down and back up | 20:09 |
Fudge | possibly when i get a new lease it doesnt update, not sure how to add some debugging to logs for it either | 20:10 |
Fudge | maybe this could be the problem | 20:11 |
Fudge | -rw-r--r-- 1 dhcpd dhcpd 996 Feb 27 06:52 dhclient.enp6s7.leases | 20:11 |
Fudge | -rw-r--r-- 1 root root 498 Feb 26 20:20 dhclient.leases | 20:11 |
Fudge | you can see that isc-dhcp-client and server are having problems with permissions, maybe if I chown the second file to dhcpd:dhcpd my problems will go away | 20:12 |
BluesKaj | my problem is that servers aren't my stong suit | 20:13 |
Fudge | cmon mate dont be like that :p | 20:16 |
BluesKaj | but I used to setup a static IP in /etc/resolv.conf , but it is now overwritten by /etc/resolvconf/resolv.conf.d/head and apprently that's where one sets the IPs for gateway and namservers when not using network manager | 20:18 |
yeats | BluesKaj: you can specify "dns-nameservers" in /etc/network/interfaces and resolvconf will populate the file with your selections | 20:21 |
yeats | (for static IPs) | 20:21 |
BluesKaj | yeats, I didn't think that still worked | 20:21 |
yeats | oh - sorry - I thought I was in ubuntu-server - not sure about xenial :-/ | 20:22 |
yeats | I'm testing it out, but haven't dug deeply yet | 20:22 |
BluesKaj | it's been a while since I used static IP so i'm on shakey ground here | 20:23 |
yeats | /etc/network/interfaces appears to still be the correct file on xenial | 20:25 |
BluesKaj | I have to use NM due my VPN usage and setting up vpn connections in the ing=terfaces anbd resolv.conf files is somewhat compl;icated, NM does a good job with open vpn so that's much easier | 20:25 |
yeats | yeah, I use NM on desktop for sure | 20:25 |
BluesKaj | interfaces and resolv.cong files, that is | 20:25 |
yeats | and I use OpenVPN too | 20:25 |
BluesKaj | yeah , it's a great app | 20:26 |
Fudge | i just use openvpn, i do specify nameservers in interfaces and changing ownership to dhcpd didnt work as i still just got disconnected again | 20:26 |
yeats | Fudge: journalctl should show you *something* useful | 20:27 |
BluesKaj | Fudge, sudo systemctl restart network-manager on your server , check for output errors | 20:28 |
Fudge | Failed to restart network-manager.service: Unit network-manager.service not found. | 20:32 |
BluesKaj | so I assume your server is using the interfaces file for it's settings ? | 20:34 |
BluesKaj | /etc/nework/interfaces | 20:35 |
BluesKaj | /etc/network/interfaces | 20:36 |
ChibaPet | Purging network-manager and (as it turns out) nano are an early-setup ritual for me. | 20:37 |
BluesKaj | Fudge, perhaps post your /etc/network/interfaces file in pastebin or some such | 20:37 |
BluesKaj | ChibaPet, some of us need network-manager, and unlike pulseaudio, it's much better than it used to be | 20:42 |
BluesKaj | :-) | 20:42 |
ChibaPet | "need" | 20:44 |
ChibaPet | I'm pretty happy with wpa_supplicant.conf on my laptop. | 20:44 |
BluesKaj | just thiought I'd throw that non-sequitur in there for good measure | 20:44 |
ChibaPet | I haven't been purging PulseAudio, but I do say "autospawn=no" in .pulse/client.conf | 20:45 |
ChibaPet | (To finish my thought about NM, worst case if I don't know an access point name involves running iwlist.) | 20:46 |
BluesKaj | if your audio chip is intel-hda , then that driver is writtrn thorughly enough to handle alsa directly with flash audio on websites. Other sound chip driver are written to use pulse | 20:47 |
* BluesKaj looks for s key again | 20:48 | |
ChibaPet | It's OPIE nowadays. | 20:49 |
ChibaPet | Hm. So, I have a few games, media players, and similar that use sound. Firefox. I haven't had any issues ignoring Pulse yet. Prior to ignoring it my sound controls were completely hosed. | 20:50 |
ChibaPet | I think I'd only consider PulseAudio if I had to use Skype. | 20:50 |
ChibaPet | But even then I guess there's libapuse. | 20:50 |
BluesKaj | Fudge, what does 'ip addr' show for your server ? | 20:50 |
ChibaPet | libapulse* | 20:50 |
BluesKaj | hmm, no response, guess he's busy doing other things | 20:55 |
BluesKaj | well. time close up shop here and go help with dinner ...too bad i couldn't help more....later | 20:58 |
ChibaPet | Anything good for dinner? | 20:59 |
ChibaPet | Ah, too late. | 21:00 |
=== tsimonq2alt is now known as tsimonq2 | ||
Fudge | oh damn | 21:50 |
Fudge | anyone else who wants to assist with the ip route this is the pastebin http://paste.ubuntu.com/15210070/ | 21:51 |
Fudge | the interfaces http://paste.ubuntu.com/15210087/ | 21:52 |
SwedeMike | Fudge: what do you want to achieve that you're not getting? | 21:56 |
Fudge | for dhcp-client to keep me connected to the net | 21:57 |
Fudge | ive poked the dev | 21:57 |
SwedeMike | it's impossible from your provided input to understand what your problem is. | 21:58 |
Fudge | on my gateway my lease form isp goes for about 12 minutes, when it should be renewed i am disconnected | 22:01 |
Fudge | so this is what seems to happen Feb 27 08:36:06 dominion dhclient[22871]: DHCPRELEASE on enp6s7 to 150.101.32.87 port 67 (xid=0x4231da06) | 22:04 |
Fudge | in the logs if i try to ping 4.2.2.1 when i am disconnected the logs show unexpected ICMP Echo Reply from 4.2.2.1 | 22:04 |
Fudge | dominion dhclient[22434]: DHCPRELEASE on enp6s7 to 150.101.32.87 port 67 (xid=0x4a1d2155) | 22:07 |
jushur | Fudge: why do you have 12mins lease? | 22:08 |
Fudge | i dont know, thats controlled by my ISP | 22:08 |
Fudge | i still get offered the same dynamic ip again | 22:08 |
jushur | Fudge: yes, but its literaly retarded? | 22:09 |
Fudge | indeed it is mate | 22:09 |
Fudge | so from the logs i see the dhcprelease, then dhclient starts again by me and i get an ip offered and assigned again | 22:11 |
Fudge | but this should happen seemlessly, not disconnect me from the internet | 22:12 |
jushur | Fudge: wrong, a release means it actually releases the ip, and then has to ask you isp for a new. | 22:12 |
jushur | Fudge: the only reason you get the same ip is the mac is saved as resently used at the isp dhcpd. and it will give you the ame ip as you had (if they want it to, and it seems so). | 22:14 |
jushur | Fudge: in dhclient.conf set "send dhcp-lease-time 3600;" | 22:19 |
jushur | Fudge: i do asume you need this as you dont use network-manager | 22:20 |
jushur | Fudge: man dhclient.conf if you need to know more about possible settings. | 22:20 |
Fudge | thanks jushur ill uncomment that | 22:26 |
Fudge | its ubuntu-server and no not using network manager | 22:26 |
Fudge | still getting disconnected though dhclient enp6s7 | 22:39 |
Fudge | RTNETLINK answers: File exists | 22:39 |
Fudge | then i get reconnected | 22:39 |
jushur | Fudge: look so your /etc/network/interfaces is correct | 22:57 |
Fudge | jushur: happy to pastebin | 23:05 |
Fudge | http://paste.ubuntu.com/15210590/ | 23:06 |
Fudge | i do seem to have a log t of processes for dhclient, ill paste them too | 23:11 |
Fudge | 23:11 | |
Fudge | http://paste.ubuntu.com/15210610/ | 23:11 |
Fudge | apparmor? Feb 27 10:22:18 dominion kernel: [65268.916915] audit: type=1400 audit(1456528938.875:73): apparmor="DENIED" operation="capable" profile="/usr/sbin/dhcpd" pid=26388 comm="dhcpd" capability=1 capname="dac_override" | 23:23 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!