=== lynxorian is now known as lyn||ian [05:08] good morning === JanC_ is now known as JanC === cpaelzer_ is now known as cpaelzer [06:05] Good morning. [07:10] cpaelzer: I see that you looked at LP: #1644428 I should give you a bit of context on that bug [07:10] Launchpad bug 1644428 in samba (Ubuntu) "Unable to log in with AD account after update" [Undecided,Confirmed] https://launchpad.net/bugs/1644428 [07:11] cpaelzer: it was created after we pushed a change to make some library statically linked which caused unexpected breakage [07:11] cpaelzer: so the change was reverted and re-SRUed [07:12] people have been piggybacking on that bug but it concerns a change that was reverted and never made available on the other releases [07:12] :( [07:14] hello all [07:14] anyone has a Neutron Network node running on Ubuntu Xenial ?? [07:15] I have a funny problem with udp packet drop in the router namespace === the_ktosiek is now known as ktosiek === haasn is now known as hanna === azeem_ is now known as azeem [08:55] I have no idea how to fix this. The Neutron network node now running Xenial, is dropping UDP packets instead of doing the DNAT to the internal IP of the instances. With a tool called Dropwatch I can see that the packets are dropped at the function __udp4_lib_rcv. Basically it is like if the packet is not processed by iptables but it gets to the host, and [08:55] because there is no socket listening on that UDP port it is dropped [08:56] I feel I am hitting some limit introduced by some systemd config or some other weird tooling in Xenial [09:44] Found the problem, I had to reset the conntrack entries [09:44] there is a race condition between floating IP interfaces creations and iptables rules creations by the network node [09:44] conntrack will cache the traffic to local, and will ignore the DNAT iptable rule [09:47] let's say i have ubuntu server with many installed package how to revert back to initial state without rebuild or reinstall the built-in package? [09:57] zioproto: interesting problem and solution, thanks for sharing. [09:58] fishcooker: you could apt-get download the package and dpkg -x it, then diff and cherry pick the files you want / need. [09:59] ...but i'm not sure i got understood your need properly. [10:15] i accidentally upgrade to 16.04 from 14.04 then i can't reboot it http://vpaste.net/u84uO [10:15] noted tomreyn [10:59] fishcooker: hmm this looks like it can be a broken upgrade. [10:59] how did you upgrade? are you actually looking for assitence with it? [11:32] tomreyn: actually i change the sources.list to the local repository then apt install -f [11:34] i copy the xenial repository to my trusty sources.list ... just noticed, tomreyn [11:43] fishcooker: hmm well trhat's not a supported upgrade process, but i assume you're aware. === morgan_ is now known as yossariasnuk === lfrlucas_ is now known as lfrlucas === led2 is now known as led1 === genpaku_ is now known as genpaku === nitemare is now known as trobotham [13:19] Good morning. Are there any Postfix people here? I'm having a problem with Ubuntu 14.04.5LTS, Postfix and DKIM. I'm able to validate signatures for a few hours but ultimately they all start failing. Using other testing sites all the signatures that fail pass. === petevg_afk is now known as petevg [14:17] cpaelzer: hi, do you have an example of a server SRU that used the git workflow? [15:46] I have a server with 4 disks in RAID5 (mdadm). One broke, and now I'm swapping all of them. My plan was. Delete RAID -> Swap disks -> Create RAID, but do I need to? Can I just swap the disks and then create the new RAID? [15:46] tasslehoff: why are you swapping all of them if only one broke? [15:47] y u no zfs [15:47] nacc: They are old, and I fear more will break soon. Also I bought better disks. [15:47] ahasenack: there isn't a strict workflow for SRU in git, as it's not typically a merge. I find it easiest (presuming versions are the same) to use cherry-pick across the branches [15:48] tasslehoff: are they the same size as the old disks? [15:48] nacc: yes. [15:49] tasslehoff: so why not swap them one at a time and let mdadm rebuild the array? [15:49] tasslehoff: if you are planning on wiping the RAID, then I don't see why you wouldn't delete and recreate the array [15:50] nacc: I have a usb drive that can hold all the data, so I thought it faster to backup the data there. [15:51] tasslehoff: oh so you're backing up the RAID first? [15:51] nacc: yep! should have mentioned that :) [15:52] tasslehoff: well, i think mdadm configuration uses the disk by name (depends on how you configured it, i guess) -- i think you're best off deleting the array first [15:54] nacc: ok. https://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-ubuntu-16-04 seems a good guide [16:43] nacc, tasslehoff, md uses metadata to determine array membership, drive letter name ordering is not deterministic on Linux. [16:45] ppetraki: ah ok, i wasn't sure, thanks! [16:45] ppetraki: yeah, i figured that would be pretty error-prone [16:45] nacc, tasslehoff, it's also a *really good idea* to save a copy of the mdadm.conf off box [16:45] ppetraki: yeah i'd say so :) [16:46] nacc, it writes that guid to the superblock location on media. The only thing you really need to worry about is if you start making dd clones of your array members [16:46] ppetraki: makes sense [16:47] ppetraki: thanks for clarifying! [16:47] nacc, you're welcome [16:47] nacc, it's also a good idea if you're doing SSDs to over provision, give the garbage collector some scratch to run. Assuming these are consumer grade SSDs [16:50] ppetraki: yep, that seems like reasonable advice [16:54] nacc, drive vendors keep about 7% to themselves for that purpose that you can't get back, but if you only ever write to the first 80% of the drive, it's smart enough to know it can use the remaining 20% for tmp space while it frees up larger ranges of clean pages for you to write to. They're really thin provisioned under the hood. [16:54] nacc, pdf warning, it improves performance too :) http://www.samsung.com/semiconductor/minisite/ssd/downloads/document/Samsung_SSD_845DC_04_Over-provisioning.pdf [16:56] nacc: for SRU MPs, the target git repo should be lpusdp? ~ubuntu-server-dev/ubuntu/+source/? [16:56] I cloned lpusip, i.e., ~usd-import-team/ubuntu/+source/ [16:56] to prepare it [16:57] nacc, so to over provision on a md array you would simply provision to 80% less size when create the array. Do not mess with partitions unless you want to figure out alignment issues. [16:57] ahasenack: no, you can ignore usdp now [16:57] * ppetraki means 20% less [16:57] ahasenack: you can propose merging to the appropriate series-devel on lpusip [16:57] nacc: thx [16:57] * ppetraki over provisioning is a stupid term [16:57] ppetraki: :) [17:00] nacc, https://www.percona.com/blog/2011/06/09/aligning-io-on-a-hard-disk-raid-the-theory/ , save a copy of this, I swear it moved. [17:03] nacc: "target/reference path" in lp is the target branch, right? ubuntu/zesty-devel for example? [17:03] ahasenack: yeah [17:03] ok [17:03] ppetraki: bookmarked :) [17:17] nacc: ok, I've created a bug for now: https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/1688613 [17:17] Launchpad bug 1688613 in resource-agents (Ubuntu) "pgsql RA has problems with pacemaker version" [Undecided,New] [17:35] azeem: cool === RoyK^_ is now known as RoyK [18:55] hm - I've moved a server to another location - some users are on ecryptfs and they don't seem to get their homedirs mounted - any idea what to do? I have the old vm - I just wonder what I might have forgotten to restore [19:03] semiosis: around? [20:01] jamespage: nacc has the new python-django in a ppa in case we want to test with it -- https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1605278 [20:01] Launchpad bug 1605278 in python-django (Ubuntu Artful) "Merge python-django 1:1.11-1 from Debian unstable" [Wishlist,In progress] [20:19] jamespage: pkgs for the latest newton point releases are uploaded to the sru queue [20:24] re high availability with postgresql, i see reference to 'pgsql RA'. what is "RA"? [20:27] guessing https://raw.githubusercontent.com/ClusterLabs/resource-agents/a6f4ddf76cb4bbc1b3df4c9b6632a6351b63c19e/heartbeat/pgsql [20:29] If I want to join two drives in Raid 0 (software) is it possible to keep the data that is on one of the drives? [20:29] sarnold, thanks [20:30] pmatulis: yeah, RA is resource agent [20:30] pmatulis: where did you see it? [20:31] azeem, reading stuff on the net [20:32] TLoFP: it seems unlikely to me; but if you like to live dangerously -maybe- you could try an inplace conversion to btrfs and then see if you can add a second drive to the btrfs thingy [20:33] TLoFP: but (a) i'm not sure I trust btrfs yet (b) i'm doubly-unsure if you can trust btrfs's multiple drives stuff yet (c) only one copy of data scares me now (d) two drives in one filesystem like that doubles the chances for catastrophic failure compared tojust one drive.. [20:33] pmatulis: ah ok, I just wondered cause I filed #1688613 a few hours ago [20:34] which says "pgsql RA" [20:34] TLoFP: .. and half the point of raid-0 ish things is so you could spread IOs across multiple disks for higher throughput, which this wuoldn't achieve if you just leave all the data on the one drive untouched [20:39] hey all, I'm at my literal wits' end here, I have an apache install on 16.04 that refuses to cooperate, I try to reload it after changing some site-configs and it tells me apache2.service isn't running... the site is up! [20:39] sarnold: thanks. I thought this wasn't easily possible, but wanted to check [20:39] gartral: netstat -lntp [20:39] TLoFP: just please be sure that you've got backups of anything you care about :) [20:40] right that is the issue sarnold [20:40] I have 4 TB of data that I would like to keep but it is low priority [20:41] I am adding another 4TB disk to the system to allow for 8TB of storage. [20:41] sarnold: what am I looking for in here? [20:41] I have no ability to backup 4TB. So I am stuck [20:41] gartral: something bound to your web ports [20:41] sarnold: nothing is, at all, but the apache welcome page is up... I'm very confused now [20:42] TLoFP: I'm a huge fan of zfs, I really like the redundancy and checksums and compression and snapshots and so on [20:42] TLoFP: but it's not very .. consumer-oriented. it's not much for 'just add one more drive to this pool' [20:42] sarnold: but I doesn't seem that ZFS is straight forward configuration [20:42] wait... [20:42] gartral: ggrab a different browser perhaps/ maybe it's stuck in cache [20:43] TLoFP: I found zfs way simpler to understand than mdadm, but that might just be me [20:43] I might of figured it out... openvpn and apache both try to use port 443, don't they? [20:44] yea, apache isn't loaded at all, so now what? [20:46] gartral: check apache logs to see if emitted any reasons why it couldn't start [20:46] gartral: /var/log/apache* and perhaps journalctl -u apache2 or whatever the service name [20:46] sarnold: apache logs are unreadable for me, it's a shared host [20:46] gartral: please explain further [20:47] TLoFP: if you're curious about zfs I suggest this blog post series https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/ [20:47] sarnold: I can't read /var/log/apache, at all.. even with sudo su [20:49] gartral: curious. can you pastebin the output of sudo namei -l /var/log/apache2/error.log ? [20:50] gartral: i assume you meant /var/log/apache2 not /var/log/apache [20:51] nacc: indeed [20:51] sarnold: http://paste.ubuntu.com/24519145/ [20:51] yea... NO PERMS, at all [20:53] gartral: is this a VPS or something? [20:54] sarnold: I think I know why to... ls -la shows /var/log/apache2 \-> /dev/zero so it's just dumping all apache logs into the garbage bin [20:54] nacc: it is [20:55] gartral: sounds like a bad VPS provider [20:55] gartral: and not really ubuntu, as that is definitely not the ubuntu configuration [20:55] nacc: no... it's ubuntu, it's just configured to keep as little logs as possible.. [20:56] gartral: which ... is not ubuntu [20:56] gartral: sounds fundamentally broken [20:56] gartral: as you can't debug why things don't work without logs [20:57] nacc: http://paste.ubuntu.com/24519180/ [20:57] gartral: that's just reading files in /etc [20:57] gartral: unfortunately, VPS are terrible in this regard [20:57] gartral: what does `uname -a` report? [20:57] we've had people come into #ubuntu saying they are running 16.04.2 and the kernel is 2.6 based [20:57] nacc: Linux kitsunet-emergency-znc 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [20:58] because the VPS provider can override whatever they want [20:58] (particularly for containers) [20:58] gartral: i would first reproduce it with a stock ubuntu (no modification to the configuration) [20:59] nacc: unfortunetly I'm lacking resources for that [20:59] gartral: and/or you can change your server's configuration to not drop all logging [20:59] hang on, I might be able to redirect the symlink [20:59] nacc: my thoughts exactly [21:00] we want error.log, right? [21:03] nacc: the timestamps are bizzare but http://paste.ubuntu.com/24519201/ [21:03] they're off and padded with extra 0s [21:06] gartral: the extra 0s could just be the resolution of your timesource [21:06] gartral: that doesn't indicate any errors [21:06] gartral: is apache running? [21:06] gartral: not the service, the process [21:14] nacc: not that i can see, no [21:16] nacc: I gotta move and head out, I'll be connected but I'll be slow to respond for a bit [21:35] back [21:37] nacc: so apache doesn't appear to be running === keithzg_ is now known as keithzg [22:52] gartral: ok, how are you checking that? [23:40] I must be missing something freakin' obvious. [23:40] I'm trying to set up SquirrelMail on a subdomain (webmail.example.com), without something else running on example.com [23:41] I've got the in both [23:41] And the ServerName is set to 'example.com' and 'webmail.example.com' in their .confs, respectively) [23:42] The main site is in mousepawgames.conf, and the squirrelmail is in squirrelmail.conf, both in sites-available, both a2ensite'd up [23:42] No access errors [23:42] HOWEVER: squirrelmail is NOT serving to webmail.example.com - it's actually serving to example.com (if I shut off port 80 on the main site one to prevent blocking [23:42] Freaky as heck - what am I missing here? [23:45] CodeMouse92__: does apachectl -S provide any info? [23:45] tarpman: Plenty of info, no errors that I can see. Want me to pastebin this sucker? [23:45] not sure I'll be able to make anything of it [23:46] but please do, someone else might [23:46] Point is, it IS showing both sites....stand by [23:46] https://bpaste.net/show/2e7940cb773a [23:47] But webmail.mousepawgames.net literally goes nowhere. [23:47] (Worth noting that subdomains aren't being blocked...the 'mail.' subdomain works fine in its context of Postfix/Dovecot) [23:48] webmail.mousepawgames.net gets me a squirrelmail login [23:48] You're kidding [23:48] once I /etc/hosts it, anyway. DNS? [23:48] looks like DNS and not apache, to me [23:48] ... [23:49] That's bizarre. I'm remoting into the server (Linode) in question, so it won't be *my* DNS persay [23:49] (also this is an argument for not doing the "example.com" thing - harder to see your actual problem) [23:49] Yeah, I get that [23:49] are you remoting into it via the name "webmail.mousepawgames.net"? [23:49] 8.8.8.8 says NXDOMAIN [23:49] Well, no, I mean I'm SSHing into the server. I'm remote. [23:50] and ns1.linode.com says NXDOMAIN too [23:50] Yeah, without overriding with /etc/hosts, webmail.mousepawgames.net is *not* working... [23:50] Uhm, hm. Do I need to literally add each subdomain to Linode's DNS? [23:50] yes. [23:50] HAH. Told you I thought I was missing the obvious [23:51] or well rather [23:51] depends what you mean by 'subdomain' [23:51] mousepawgames.net is the domain [23:51] webmail.mousepawgames.net is a host within that domain [23:51] if you had mail.internal.mousepawgames.net, I'd call internal.mousepawgames.net a subdomain [23:51] Yeah, mousepawgames.net is set up and all... [23:52] https://www.linode.com/docs/assets/912-hosting-2.png [23:52] so in the manager for mousepawgames.net [23:52] * CodeMouse92__ nods and adds the A/AAAA record [23:52] you want to add an A record for webmail.mousepawgames.net (bottom table in there) [23:52] or alternatively a CNAME (an alias) pointing at mousepawgames.net itself [23:52] Actually, middle table, but yeah [23:52] either ior [23:52] *or [23:53] HTH anyway [23:55] Yeah, thank you tarpman