=== tohuw is now known as Guest7603 [08:23] Is it possible to pass dpkg options to aptitude, like you can apt-get? === soahccc_ is now known as soahccc [09:18] I'm not very good with kernel related stuff and I had never a problem with it but now is the time I'm afraid. Would there be anything wrong with running 16.04 on a 3.11 driver? I dist-upgraded this server and it can't network anymore and I get ACPI errors in log so I have to assume it's the kernel right? [09:38] soahccc: it is not what is supported/tested so you might run into a random amount of new errors [09:38] soahccc: I'd try the newer kernels if they fixed whatever you are facing as an issue [09:38] soahccc: https://wiki.ubuntu.com/Kernel/LTSEnablementStack [09:39] cpaelzer: Well it was a 12.04 system and I just did a do-release-upgrade (to I assume 14.04? iirc it doesn't go straight to 16.04) and it wont "come up". I started rescue system and the only thing I could find were some ACPI warnings and that NTP can't find a host [09:40] soahccc: ah I thought you are on 16.04 given your question of a 3.11 kernel on it [09:41] the ntp message likely just means no network which matches your former statement [09:41] I usually don't give too much on ACPI warnings [09:41] what is your network setup - I rareley had a case where newer kernels dropped support of HW that worked before [09:41] unless that was a USB network with dkms drivers not building or something like ti [09:41] The thing is I do have 2 identical servers (same hardware) and one is still working on 12.04. I upgraded a few servers (with different hardware) no issues. And those servers actually had a lot of services running on them. My problematic server is a file server and only has nginx and SSH [09:42] soahccc: what you have to find out is why network is not initializing correctly on it [09:42] soahccc: compare the dmesg / syslog on good and bad server in regard to networking [09:43] soahccc: there must be something your upgraded server fails on in regard to networking right? [09:43] What do you mean exactly by network setup? it's a dedicated server and I haven't done a thing to what the hoster originally configured in /etc/network/interfaces [09:43] And yes I guess it's networking. I can't reach it via SSH or ping but cron seems to be doing something according to syslog [09:44] soahccc: I meant what type of network card it is, how it was set up before, .... [09:44] soahccc: and in the log I meant that this card somehow has to fail to be brought up correctly [09:44] soahccc: maybe it just changed names [09:44] and the old config doesn't apply anymore [09:44] you'd find that to soem extend by comparing the boot messages [09:44] e.g. as what device it was initialized [09:46] at least it's the same exact card in both of them: Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09) === ashleydrees is now known as ashd === ashleydrees is now known as ashd [09:58] cpaelzer: I compared dmesg of the two servers + dmesg of the rescue system and it seems as that the new kernel seemingly doesn't find the card https://gist.github.com/2called-chaos/c86f0c7eaa4a8cbf2521430b9c656dc0 [10:01] I remember there to be issues with r8169 back in the days (and you should use official r8168) but the new one seems to work fine on the rescue system... Oh those realtek cards [10:07] Okay for some reason, and I assume it was related to those drive issues, r8169 is blacklisted in modprobe blacklist and it's the only one available... Well i guess this problem is fixed :D [10:07] cpaelzer: thanks anyways :) [10:50] hey hey [10:51] have u seen that PIA lifetime subscription is on sale [10:51] for 49 something [10:51] but hmm [10:51] is it truly lifetime? [10:51] cause its sooo cheap === Bartuk_ is now known as Bartuk === hehehe is now known as hehehe_off [12:28] Is it possible to pass dpkg options to aptitude, like you can apt-get? [12:51] necrophcodr: I don't think aptitude is very well supported on newer versions debian/ubuntu [12:52] things are moving towards apt [12:52] dunno if that suports dpkg opts, though [13:04] RoyK, I'm aware, but aptitude has more strict dependency handling which I prefer. === hehehe_off is now known as hehehe [13:14] hi folks [13:14] for some reason I cant ssh to the box [13:14] I logged in via kvm, nothing in syslog [13:15] maybe it something to do with fail2ban jailing sshd? [13:15] hi _KaszpiR_ :P [13:45] messup ips [13:45] in fact works [13:47] good day. how do you usually monitor .conf files changing over time? [13:48] you could use auditd [13:48] to monitor changes in files [13:51] hehehe, how can i see previous version of files? [13:51] in etc e.g. [13:52] etckeeper probably [13:53] i am looking into it [13:55] i dont know [13:55] want to eat so maybe will check later [13:56] auditd does log who accessed file [13:56] but to log nature of changes to the file [13:56] maybe sarnold knows? [13:56] :) [13:56] its rather handy feature [15:43] nacc: its tuesday! [15:43] madLyfe: heya [15:45] your brain ready for a beating? :P [15:46] madLyfe: yeah [15:50] how should we start? state the problem first? [15:50] madLyfe: yeah, from the beginning [15:54] i have two usb ethernet adapters that are not being recognized by the ubuntu server installer during the network devices check. if i complete the install w/o setting up a network interface and reboot, i can go into the network interfaces file and manually add the adapter. it shows up in the lsusb list. i dont remember if i had to modprobe it first though. [15:55] what that means is the modules are there for the thing to work but for some reason there is a disconnect during the installer. i would to remedy that. [15:55] ok, stop there [15:55] when you say you have two usb ethernet adapters, do you mean you have two different ones? or you have two of the same, and neither work, or? [15:56] not knowing if you needed to modprobe something or not is sort of a dealbreaker :) can we figure that out? [15:58] i have two different branded usb ethernet adapters. the name of the adapter is different under ubuntu desktop connection details but they seem to show they are using the same r8152, or whatever that was, module. [15:58] does the modprobe matter? if i had to do the modprobe it was after the install anyways. [16:00] madLyfe: well, if you had to do it or not, does matter [16:00] madLyfe: to be clear, editign /e/n/i does not make your device recognized, something else does [16:00] madLyfe: and, iirc, you cannot modprobe r8152 in the installer, correct? [16:01] ya i think thats correct. [16:23] should i try to modprobe the installer again or after install again? [16:24] madLyfe: i would do both, so we know clearly what works and doesn't [16:25] there is to much "seem" in the above to solve the problem [16:26] well im installing to a usb drive on my laptop. im showing two ethernet controllers and those are the built in wifi and the onboard lan. [16:26] not the connected usb ethernet adapter. [16:27] https://usercontent.irccloud-cdn.com/file/Vd2MF8Ry/irccloudcapture870703048.jpg [16:27] rbasak: powersj: do you have time to do a HO to discuss the testing idea we had? (integration testpoint) [16:27] sure [16:27] madLyfe: ok, that's the server installer? [16:27] yep [16:28] madLyfe: ok, and if you go back and drop to a shell, are youa ble to load the module? [16:29] her is what this config looks like btw. in case you needed a clearer picture https://usercontent.irccloud-cdn.com/file/ULPHYmqD/irccloudcapture1151996363.jpg [16:29] nacc, powersj: yes [16:29] rbasak: thanks [16:30] madLyfe: wasn't it a server box before? so you this on your laptop as well? [16:30] so 'modprobe r8152'? [16:31] madLyfe: whatever the module was called, yeah [16:31] im just testing the installer so i didnt think it matters. just trying to get the installer to recognize the adapter shown in the picture [16:31] madLyfe: sure, just trying to understand [16:31] madLyfe: the more you chnage from what i remember/what you say, the harder it is for me to help :) [16:32] yes, this is all for the server. [16:32] ya, sorry. [16:32] madLyfe: it's cool [16:32] rbasak: powersj: shall we use the standup? [16:32] sure be right there [16:33] i believe this is what we did. actually i have all those pictures saved: https://usercontent.irccloud-cdn.com/file/mRQaFwPe/irccloudcapture474510748.jpg [16:33] madLyfe: right, so before and after you modprobe, can you do the `ip link` and show me hte difference, if any? [16:34] ya we couldnt get it working from the installer: https://usercontent.irccloud-cdn.com/file/HSKOFuXK/irccloudcapture756594906.jpg [16:35] https://usercontent.irccloud-cdn.com/file/aX5fRVTs/irccloudcapture1437707674.jpg === Metacity|uh-oh is now known as Metacity === rharper` is now known as rharper [17:01] powersj: LP: #1714539 created [17:01] Launchpad bug 1714539 in usd-importer "build: errors reported after pristine-tar introduction" [Critical,Fix released] https://launchpad.net/bugs/1714539 [17:02] nacc: thank you! [17:02] nope, not thate one :) [17:02] lol [17:02] powersj: LP: #1715195 [17:02] Launchpad bug 1715195 in usd-importer "jenkins job should run integration testws" [Undecided,New] https://launchpad.net/bugs/1715195 [17:02] there we go :) [17:02] powersj: and trello card [17:06] Hey guys, I asked this in the linux channel also [17:06] Hey guys, I bought some new external IP's for my server, I added them to /etc/network/interface and I restarted the interface, here is my ip addr list ( editted ): https://pastebin.com/zfPSBCm3 including the ip r list, now that I can see them shouldn't I be able to ping and ssh to those addresses? [17:16] So, asterik on Ubuntu...tell me its not all compile source [17:17] nacc: i didnt notice anything for the ip link. though, im not sure what im looking for. [17:17] modprobe for that module was fatal though [17:28] !info asterisk | Ussat [17:28] Ussat: asterisk (source: asterisk): Open Source Private Branch Exchange (PBX). In component universe, is optional. Version 1:13.13.1~dfsg-4ubuntu1 (zesty), package size 1420 kB, installed size 5520 kB [17:28] Ussat: that? [17:28] Yes, thanks [17:29] madLyfe: https://usercontent.irccloud-cdn.com/file/mRQaFwPe/irccloudcapture474510748.jpg so what env was this? [17:29] perfect [17:29] nacc, do I need to modify anything to get that or just apt-get install it ? [17:30] that was after a completed server install on the actual server hardware, with usb ethernet adapter. [17:31] Ussat: you need universe installed [17:31] *enabled [17:31] Ussat: then just apt install [17:32] madLyfe: right, so afaict, my conclusion before was still correct ( the one i think you were disputing at EOW). The stock Ubuntu server iso image does not contain the module you need for your USB network adapter in the installer initrd. [17:32] madLyfe: so your solution to fix that is to either use desktop & remove a bunch of packages so that it's server at the end. [17:33] madLyfe: or remaster the server installer ISO [17:33] how is it not there if after install i can modprobe it and manually add it to the network interface file? [17:33] *after install* is not the installer environment. [17:34] i'm not sure why that's not clear? [17:34] rbasak: powersj: tests/bin/jenkins-integration-test? [17:34] but the module has to be there in the iso for it to then be there after the install completes? [17:34] madLyfe: no. [17:35] madLyfe: or, at least, not necessarily [17:35] what kind of sorcery is that? [17:35] nacc: that or a tools dir if you have a collection of stuff that does random things :) [17:35] madLyfe: what do you think you mean by "in the iso"? [17:35] and you could even leave out the jenkins part if you can run it locally [17:35] madLyfe: when I say that, I mean in /lib/modules/ in the installer environment. [17:36] OK, thanks [17:36] i have no idea, i obv dont understand something. [17:37] is the needed module just not in the correct location on the iso to be used or soemthing? [17:37] something* [17:37] madLyfe: on the iso, is the -extra .deb available? (not avialable to install, but present on the iso) [17:37] it has to be there for it to be there after the installer completes. it can just appear out of thin air w/o internet. [17:37] madLyfe: it can be in a package and not present in the installer environment. [17:38] madLyfe: again, be *clear* about what you mean about "be there" [17:38] madLyfe: I'm saying it's not an available module in th einstaller environmnet. [17:39] so i just need to get that module to the installer environment for it to use it during install [17:40] madLyfe: *if* that is possible. [17:40] madLyfe: it's also possible for the installer kernel and the to-be-installed kernel to not be the same (I think) [17:41] madLyfe: form the installer, run something like `find / -name 'linux.*extra.*.deb'` [17:42] just returned a new line [17:43] madLyfe: so not found [17:43] nacc, thanks [17:43] madLyfe: do you have an *installed* server image around? [17:43] Ussat: yw [17:43] That pulls in all the deps etc I assume ? [17:44] not currently [17:44] Ussat: yes. [17:44] i can run this installer, w/o the adapter(obv), and use that? [17:44] Making a local (as in on my work system) POC , assuming that goes OK will put it on the esxi cluster in a VM there [17:45] madLyfe: to be sure, 'find / -name 'linux-image-extra.*'` [17:47] https://usercontent.irccloud-cdn.com/file/6XdEjfg8/irccloudcapture1090446043.jpg [17:47] rbasak: powersj: something like: http://paste.ubuntu.com/25473445/ [17:48] madLyfe: you have a trailing ` [17:48] madLyfe: so it is waiting for you to complete the input [17:49] just enter again? [17:49] madLyfe: ctrl+C and don't put the ` in [17:49] oh [17:49] nacc: that works, only need to add checks for exit codes on failure so Jenkins knows to pass or fail. [17:50] ctrl+c isnt doing its job [17:51] https://usercontent.irccloud-cdn.com/file/plRLSak1/irccloudcapture52227506.jpg [17:52] powersj: if i `set -e` it, that should be sufficient, right? [17:52] nacc: yes [17:52] madLyfe: right, becuase you are *still* in the subshell [17:52] madLyfe: so ` [17:52] it will probably complain [17:53] powersj: thanks [17:53] nah it got me to regular command entry. did the last string you posted and it just returned a new line as well [17:56] madLyfe: `ls -ahl /pool/main/l/linux/linux-image*.deb` [17:57] madLyfe: and/or (sorry typo'd above) `find / -name linux-image-extra*` [17:58] so not this? ls -ahl /pool/main/l/linux/linux-image*.deb [17:59] madLyfe: either of them [17:59] (hence and/or) [17:59] madLyfe: they give us the same info, i expect [18:00] https://usercontent.irccloud-cdn.com/file/fUo00FU0/irccloudcapture488449475.jpg [18:01] madLyfe: ok, so do a `dpkg -i /cdrom/pool/main/l/linux/linux-image-extra/4.4.0-87-generic_4.4.0-87.110_amd64.deb; modprobe r8152` [18:01] the dpkg *may* fail, i'm not sure, it depends on the deps [18:05] https://usercontent.irccloud-cdn.com/file/6D9pqmo3/irccloudcapture1293490634.jpg [18:05] no idea why it was cutting off text like that [18:09] madLyfe: i forget how to install packages in the installer, you might have to let the installer go a bit further so the env is more setup than where you're at [18:10] powersj: --^ do you recall? this is a .deb that's present on the iso, but not part of the installer env itself [18:11] nacc: trying to add a package to the installer it self or in the target? [18:11] powersj: installer itself [18:11] powersj: in this case, the installer (to use network) needs the -extra package installed so that it can use a specific kernel module in it [18:14] ah, I haven't had to do that before, but busybox doesn't come with much [18:14] yeah [18:15] i think dpkg will 'become' available once the installer env is setup (that hapens right after network) [18:16] so this is recognizing the two network interfaces on the laptop, i need to select one to continue? [18:18] madLyfe: yeah, we want to stop after the step after that [18:19] k, i dont have a cable plugged into the lan port, but it was trying to find the link they configuring the dhcp. [18:19] right, you can let it just fail to configure networking like you do when you try to use the usb adpater on your server? [18:19] https://usercontent.irccloud-cdn.com/file/WY1HuboW/irccloudcapture1631082337.jpg [18:20] madLyfe: do not configure [18:20] k [18:20] madLyfe: and then whenever you can at the next point, stop the installer, and go back to the shell [18:20] now its asking for hostname [18:20] k [18:20] madLyfe: put whatever for th ehostname [18:20] madLyfe: like i said, we're not going to install yet [18:20] madLyfe: but we want it to setup the installer env [18:21] ok at the shell [18:21] madLyfe: `which dpkg` [18:21] which: not found [18:22] madLyfe: bah `ls -ahl /usr/bin/dpkg` [18:22] /ush/bin/dpkg: not such file or dir [18:23] madLyfe: was that a typo? (ush) [18:23] madLyfe: hopefully you just undersatnd what i'm trying to do [18:23] madLyfe: is dpkg avialable/ [18:23] madLyfe: if it is, we cna try to install the package like before [18:24] madLyfe: if not, go to the next step in the installer and try again [18:24] https://usercontent.irccloud-cdn.com/file/uIyLCWJm/irccloudcapture946100515.jpg [18:25] madLyfe: ok, so follow what i just said [18:26] i just went through the user setup, timezone, and am not at the partitioner. will go back to shell now [18:27] still no such file or dir [18:28] madLyfe: can you just run 'dpkg'? [18:29] dpkg: not found [18:29] madLyfe: ok, keep going then [18:32] partitioning disk and its installing the system now [18:33] madLyfe: ok, i think you can hit cancel (if poss.) and drop to the shell, maybe [18:33] lol what is the cancel button? [18:33] madLyfe: i'm wondering now if possibly dpkg is never available in the installer, but in the to-be-installed system (e.g., /target or whatever) [18:36] its not letting me alt-f back to get to shell anymore [18:36] just continues on with the install if i press that [18:40] its at the grub installer right now [18:57] so we are kinda back to square 1, nacc? [18:57] madLyfe: i think the simples solution is to just remaster the iso [18:58] madLyfe: basically, modify the initrd on the usb [19:04] is that difficult? [19:05] madLyfe: not especially, afaict. [19:06] madLyfe: https://wiki.ubuntu.com/Initramfs [19:06] i think that's roughly correct [19:06] madLyfe: basically, tkae your existing usb, cp the initrd used by the installer to /tmp [19:06] extract it [19:06] add the one driver you need to the extracted initrd [19:06] recompress it [19:07] and put that initrd on your usb [19:12] probably start from ubuntu desktop? [19:12] madLyfe: hrm? [19:12] madLyfe: you need to be on linux to do the above, yes [19:12] madLyfe: it shouldn't matter if you are on desktop or server [19:12] ya, just booted up the live usb [19:29] downloading the server iso to a clean usb stick from ubuntu desktop, nacc [19:29] madLyfe: wait [19:29] madLyfe: well, i guess that's fine, ok [19:31] so i have a usb with the iso on it, a usb with bootable installer on it. can use either. [19:32] https://usercontent.irccloud-cdn.com/file/WkJArBvq/irccloudcapture235993422.jpg [19:34] you want to use the UBUNTU-SERV one [19:34] madLyfe: so you're going to use the above instructions, using boot/ [19:36] oh so i didnt really need to download it again since i already have a bootable usb? [19:38] madLyfe: right [19:42] ok extracted initrd.gz [19:42] but just gave me initrd [19:43] extract that as well? [19:44] madLyfe: did you read the wiki page above? [19:45] madLyfe: it's not just a straight gunzip [19:45] madLyfe: you have to use cpio [19:46] ya I looked at it but it's pretty foreign stuff to me.. https://usercontent.irccloud-cdn.com/file/20x8LTH0/irccloudcapture1938095891.jpg [19:53] madLyfe: specifically, do this all from the terminal and read the directions starting at 'cd `mktemp -d`... [19:54] madLyfe: honestly, there's quite a bit to learn here [19:54] madLyfe: i've spent about as much time as i can today on it [19:54] madLyfe: i'm sure you can google around and find clear instructions on how to add a module to the initrd [19:54] np ty for your help nacc [20:06] so does anyone know if this: https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1458323 is fixed in 17.04 ? [20:06] Launchpad bug 1458323 in asterisk (Ubuntu) "Asterisk crashes with default install because of pjsip" [High,Confirmed] [20:06] I know there is a work around, but might move thos to 17.04 if its fixed [20:51] Welp, 17.04 does not have that bug \o/ [21:18] Ussat: can you update the bug with that info? === JanC_ is now known as JanC [22:25] cpaelzer: while not disallowed, it's weird to see upload tags in your repository (ntp) [23:08] how to copy a file to a bunch of windows servers hmmm [23:22] nacc: does this look right? Anything special I have to do? `uvt-simplestreams-libvirt sync release=artful arch=amd64` [23:22] xenial works as expected [23:25] powersj: you need to use ~=(rel1|rel2|rel2) [23:25] otherwise, when you sync, it will remove any release that doesn't match your sync criteria ; === Chrisfu- is now known as Chrisfu [23:26] I assume that's what you're looking for (was non-obvious to me a while back as well) === Chrisfu is now known as Guest35907 [23:26] this is what I use for syncing daily images: uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily "release~(xenial|trusty|zesty|artful)" arch=amd64 [23:27] powersj: I think artful might only be in the daily (since it's not yet released) [23:27] yeah, sync literally syncs local to remote, exactly [23:27] as opposed to one-way, which i suppose is to prune dead releases [23:27] rharper: ah interesting! thanks [23:27] and yeah, yhou have to use daily for artful [23:28] it would be nice if uvt wrapped this for us [23:28] nacc: I agree; it's just a passthrough to simplestreams [23:28] rharper: yep [23:28] that said, the uvt wrapper can suggest/warn [23:28] hence the cli rework we've discussed in the past