=== EP0D is now known as Epod === Epod is now known as EP0D [10:09] anyone knows how to use cloud-init [10:13] Yes. [10:13] can you tell me ? [10:16] http://cloudinit.readthedocs.io/en/latest/ [10:16] If you have a specific question, please ask it. [10:16] thank you ! [10:16] okk [10:16] There's also #cloud-init [13:11] rbasak: hi, is there a way to tell git ubuntu merge to use debian/experimental instead of sid? [13:21] ahasenack: I'm not sure, sorry. I've not been much involved in that subcommand. [13:22] ok [13:22] oh [13:22] I guess I should have read --help more carefully [13:23] "onto A reference to a commit whose corresponding version to prepare to merge with. If not specified, debian/sid is used. " [13:23] :) [15:43] jamespage: qemu and libvirt updates are in kilo-staging and ocata-staging [16:00] coreycb: hurrah! [17:06] ahasenack: looking at https://code.launchpad.net/~ahasenack/ubuntu/+source/ubuntu-advantage-tools/+git/ubuntu-advantage-tools/+merge/337213 [17:06] rbasak: ok [17:06] I'm not very keen on stuff using bash in /etc/update-motd.d/. Debian and Ubuntu moved away from bash due to startup times, and update-motd.d is in the critical path for login time. [17:07] What actually puts files into /etc/update-motd.d/ please? I don't see it in the packaging. [17:07] rbasak: debian/install [17:08] Ah. Thanks [17:08] rbasak: I continued using bash (the main ubuntu-advantage script already uses bash) because it's not a new dependency [17:08] I didn't think about startup times [17:09] I think it'd be fine for the ubuntu-advantage script itself since it isn't in any critcal path. [17:09] But update-motd really needs to be kept quick. [17:09] (especially for stuff present by default on all systems) [17:09] rbasak: well, the motd script will call ubuntu-advantage status [17:09] Or else, measure it and convince me :) [17:10] Oh [17:10] Well then that matters too [17:10] it's either that, or reimplement in the motd the logic that determines what's the status [17:11] Yeah [17:11] you would gain a bit by reimplementing in the sense that "ua status" determines the status of all 3 services [17:11] livepatch, esm, and fips [17:11] livepatch is a snap call [17:11] esm and fips is an apt-cache policy call [17:11] Another way might be to shortcut it. If a user has never had UA, then detect that and do nothing quickly. [17:12] you mean had an ua contract, or the ua package? The ua package will be there always [17:12] from the start, I mean, it can be removed [17:12] Then the buck is passed to Canonical to make sure that adding UA doesn't slow things down. I'm fine with that :) [17:12] wait [17:13] if livepatch is available, then the motd becomes an advertisement [17:13] update-motd.d runs on a schedule [17:13] ua contract, or the ua package> I mean had UA contract related functionality enabled. [17:13] Or "has" would be better I suppose. [17:13] dpb1: no [17:13] it's not in critical path for login time? or am I very wrong [17:13] unless there is some smarts that only calls the scripts in update-motd.d in a schedule [17:13] ah [17:13] script-by-script basis? [17:13] dpb1: AIUI, update-motd.d runs on every MOTD display, but some scripts do their own caching. [17:13] Right [17:13] yes [17:14] got it [17:18] howdy [17:18] ahasenack: what is the path for the default install case, does ubuntu-advantage get called there? [17:19] dpb1: default install of that, ubuntu? [17:19] install server, then login. [17:19] s/that/what/ [17:19] the motd script runs at login [17:19] ssh, terminal [17:20] nothing else calls "ua " on its own [17:20] yes, I mean, in that case [17:20] does ua get called there [17:20] yes, we do one "ua status" call to determine the livepatch status [17:21] save the output, and then look for the bits we want in that output [17:21] a grep and two seds, something like that [17:23] I'm looking for what is done for motd.ubuntu.com [17:24] that must be different, since it's a network call [17:25] * dpb1 can't find it :/ [17:25] 50-motd-news [17:25] is it on xenail? [17:25] xenial [17:26] I don't see it on Xenial [17:26] * dpb1 checks bionic [17:27] Looks like 50-motd-news only prints from a cache to me. [17:27] And the cache is updated out of band. [17:27] Unless --force is used, which is commented to happen from the systemd timer [17:28] hm [17:28] Seems to me that there is a common need for caching. [17:28] yes [17:28] and there is a systemd [17:28] that updates the same file [17:28] Who wants to write a general caching infrastructure for update-motd.d? :) [17:28] lol [17:29] well [17:38] rbasak: if we cache the "ubuntu-advantage status" output, would you be ok with the motd script itself be in bash? [17:38] or do you want that in dash as well [17:39] or are you still looking and have other comments? [17:40] rbasak: of course, we have to find a common denominator involving trusty all the way up to bionic regarding that caching [17:40] systemd might be out of the picture [17:43] ahasenack: you could use cron [17:43] probably [17:43] ahasenack: I want everything in dash, unless it's demonstrated that if everything in update-motd.d moves to bash, it wouldn't cause any significant difference. [17:44] ahasenack: since I think this package should be consistent with everything else; there's no reason to grant it an exception on this. [17:44] ok [17:44] can you make these comments in the mp please? [17:44] (if you haven't already) [17:47] ahasenack: done just now :) [17:48] thx [17:48] ahasenack: I'm EODing soon. I'll finish reviewing on Monday. [17:49] ok [19:40] hello folks [19:41] i have configured bind9 for dns forwarding as cache, it works fine, now i want to set up a dns proxy, or any system that filter all dns queries in order to block porn sites [19:41] is there a project working in this way? [19:42] HackeMate: https://dnsdist.org/ is cool stuff [19:42] oh, thanks [19:43] i wonder how big should be your curriculum sarnold [19:43] HackeMate: if you bottom out on anything, you could update https://help.ubuntu.com/community/ParentalControls [19:43] HackeMate: what do you mean? [19:43] dpb1: thanks [19:43] sarnold: you have a huge knoweldge [19:44] that's what i mean [19:44] heh, it feels like I'm learning less than is being created every day .. it feels like endlessly slipping backwards :) [19:45] that feelings makes you powerfull [19:46] HackeMate: the implementation probably depends on the kind of block list you use. For example, you could leverage OpenDNS FamilyShield by setting their IPs as forwaders in your bind [20:52] Hello is there anybody on that could enlighten me with an issue I have on my HP server ? [20:53] BenXVII: not unless you give details about the 'issue' and ask your *real* question [20:53] failing that nobody can help you. [20:54] I didn't know wether this was the proper place to ask. I plugged a 4TB SAS drive. But for some reason it is not recognized. In hpssacli it says "Status: Unsupported". It's an HP ProLiant DL370 G6 server. [20:55] BenXVII: that's an HP hardware question, so this isn't the right place [20:55] so you'd need to contact HP probably for assistance with the system saying it's unsupported [20:55] Thank you teward :) [20:55] It doesn't even appear in gparted :) [20:56] probably because it's not a supported drive or something else, the fact it doesn't show up *sounds* like the drive and your hardware aren't compatible [20:57] I will contact HP support. I hope it won't be too expensive :p [21:04] are you even sure the port you plugged it into supports sas disks? [21:04] you didn't plug it into a sata port did you? [21:04] patdk-lap, yes I am sure, the server only supports SAS [21:04] I have never seen a server that only supports sas [21:05] Might be that the controller is outdated and doesn't support 4TB volumes [21:05] patdk-lap: I have. some older poweredges here :P [21:05] teward, heh? [21:05] they're sitting in the scrap pile for destruction, but they only have 3 hotswappable disks, all SAS [21:05] every poweredge and hp I have ever had supported sata, and ones with raid cards did both [21:05] hotswappable sas != sas only [21:06] I tried to plug in a SATA drive once and it wasn't supported [21:06] all drives are in the front bays, there are 8 of them [21:07] patdk-lap: well, this one *only* had SAS drives, I guess whomever set it up played safe. [21:07] *shrugs* [21:08] ultimately irrelevant, we have much newer servers :p [21:08] https://h20195.www2.hpe.com/v2/getpdf.aspx/c04282679.pdf?ver=1 [21:08] supports sas and sata [21:08] the raid card that comes in it only supports 2tb drives though [21:08] ah that explains that [21:08] BenXVII: unsupported drive size. [21:09] Thought so. Do you guys think I can use 2 2TB SAS and make them in the OS as one logical volume of 4 ? The purpose of the drive is to backup an attached NAS. [21:10] hmm, it can support 4tb, if your lucky and have upgraded firmware [21:10] also, those raid cards do not support passthough that I know of [21:10] so you have to setup a raid config [21:11] Oh well, it's for a local non-profit, I will tell them to the backup of the NAS on two 2 TB dirves :) [21:11] RAID is already setup, so I don't want to start all over again :p [21:27] hello [21:47] patdk-lap and teward .. thanks a lot for your help [22:19] Have a good night everybody :)