[00:00] <Xase> sarnold, https://pastebin.com/62dH02gj
[00:00] <Xase> Could it have to do with the fact I was previously running bind?
[00:00] <Xase> I'm still new to this, I apologize for any novice level questions.
[00:01] <sarnold> heh, I've never seen dig used with just the @server parameter before..
[00:01] <sarnold> try dig @localhost www.google.com A
[00:02] <Xase> https://pastebin.com/bfsezwMW
[00:02] <Xase> Same with different ID it seems
[00:03] <Xase> This is the tutorial I followed https://webilicious.xyz/linux/complete-powerdns-setup-guide-on-ubuntu-server/
[00:03] <Xase> But I previously had installed bind from another tutorial.
[00:03] <Xase> The tutorial for powerdns shows there should be 1 server, but mine reports 2 servers with DiG
[00:06] <sarnold> Xase: okay, how about asking your server for a record that it should actually have? maybe smy suggestion of google.com was a bad ida
[00:08] <Xase> sarnold I haven't set any up. I was going to set it up to work with ISPConfig.
[02:03] <cryptodan> nacc: I found a stable kernel and distro for my server
[05:39] <lordievader> Xase: I see now that I forgot to ask you yesterday if you were looking for a recursive resolver or an authoritative dns server.
[06:03] <raddy> Hello Everybody
[06:06] <raddy> Is live patching available for Ubuntu 16.04.3 LTS
[06:06] <lotuspsychje> raddy: first update your server, 16.04.5 is out
[06:07] <lotuspsychje> raddy: alot of new security flaws came out since
[06:07] <lotuspsychje> !livepatch
[06:12] <lordievader> Good morning
[07:43] <jelly> but can they live patch from .3 to .5 !
[08:33] <tomreyn> i'm hosting a mirror server for getdeb/playdeb, a now unmaintained third party software repository for ubuntu. there are people using my mirror directly through apt. i'd like to use this opportunity to somehow indicate that they should remove this repository and run ppa-purge against it. is there a way i could send such a message?
[08:34] <tomreyn> i've seen some kind of a redirect to a new hostname with a message (such as this-archive-is-no-longer-maintained.example.org) which then showed up on apt output in the past, but am not sure how to do this or whether it's a good idea.
[08:35] <tomreyn> thuis was an earlier, unrelated occasion where some apt archive did this to send a message
[13:03] <Helenah> Ohai
[13:03] <Helenah> For some reason the Ubuntu launchpad PPA keeps timing out on me, I'm not sure how to fix.
[13:12] <blackflow> Helenah: you could install mtr-tiny and check where the packet flow breaks.     mtr -i 1 -c 5 -r <hostname-or-ip>    it's an advanced tracert tool thingy.
[13:12] <Helenah> hmm
[13:12] <Helenah> I'll give it a try
[13:12] <blackflow> also check if the DNS is resolving, etc...
[13:13] <Helenah> It is
[13:16] <Helenah> blackflow: Could node 7 be the problem? https://paste.ubuntu.com/p/RbY2tSpbvj/
[13:16] <Helenah> It's never up
[13:18] <blackflow> Helenah: no, it only means that particular node is limiting/dropping icmp packets
[13:18] <blackflow> and loss% is only relevant if the _last_ node _upward_ shows any
[13:19] <Helenah> hmm
[13:19] <blackflow> Helenah: welp looks like networking on your end is fine, the trace goes deep into canonical turf. what's teh PPA url?
[13:19] <Helenah> ppa.launchpad.net
[13:19] <Helenah> Or you mean the full URL?
[13:20] <Helenah> It's the Greek Schools repo
[13:21] <blackflow> I don't know it, can you post it? or better yet, check via browser if it's accessible?
[13:22] <Helenah> blackflow: https://paste.ubuntu.com/p/X2G3zF6gWS/
[13:24] <blackflow> Helenah: well if you can ping or trace up to and including that ip  (use -n for mtr to see IPs), then I doubt there's anything you can do. possibly some transitional issue.
[13:24] <Helenah> I really need this software, it's used for my fat clients.
[13:25] <blackflow> see if you can pull the file directly with wget,  eg.   wget http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu/pool/main/l/ldm/ldm_2.18.06-1+t201807230407~ubuntu18.04.1_amd64.deb
[13:26] <Helenah> blackflow: Worked
[13:26] <Helenah> But with APT, the same packages time out, there is no getting around it...
[13:26] <Helenah> This is a fresh install.
[13:26] <blackflow> try shove it in /var/cache/apt/archives/   and see if apt/dpkg will reuse it from there. Other than putting the file in the apt cache like that, I don't know if anything else needs to be done
[13:57] <ahasenack> Helenah: is apt using a proxy perhaps?
[13:57] <ahasenack> Helenah: check /etc/apt/apt.conf.d/* and related files, maybe do "grep -i proxy -r /etc/apt"
[13:59] <sdeziel> that ^ or this: apt-config shell PROXY Acquire::http::proxy
[13:59] <ahasenack> is that case insensitive?
[13:59] <ahasenack> looks like
[13:59] <sdeziel> in fact, this seems better: apt-config dump Acquire::http::prox
[13:59] <ahasenack> $ apt-config dump|grep -i proxy
[13:59] <ahasenack> Acquire::http::Proxy "http://squid-ds216.lxd:3128/";
[14:00] <ahasenack> yeah :)
[14:00] <madLyfe> hey sdeziel i have my zfs smb share mounted on windows and nix but i cant seem to write anything to it.
[14:00] <ahasenack> cpaelzer: what is "preparing packages" here, do you know? https://bileto.ubuntu.com/#/ticket/3392
[14:00] <sdeziel> madLyfe: by default, zfs filesystems are owned by root so maybe you need to chown some dirs?
[14:00] <ahasenack> the packages are built in the ppa
[14:01] <ahasenack> yeah, first check the unix side: make sure the user you want can write to the dirs/files you want
[14:01] <ahasenack> then repeat over samba
[14:01] <ahasenack> there are layers of permissions here
[14:03] <madLyfe> hmm
[14:03] <cpaelzer> hmm
[14:04] <cpaelzer> ahasenack: I'm not remembering the prepare step
[14:04] <ahasenack> I also didn't see it mentioned in the dos
[14:04] <ahasenack> docs
[14:04] <ahasenack> as a status
[14:04] <ahasenack> I did click "build" one more time after the packages were built in the ppa, and bileto wasn't "seeint" that
[14:05] <ahasenack> seeing
[14:05] <cpaelzer> did you hit publish?
[14:06] <ahasenack> no
[14:06] <ahasenack> as usual, when creating the ticket, I forgot to select "cosmic"
[14:06] <ahasenack> it was at its default of zesty or something old like that
[14:06] <ahasenack> so I clicked build again after changing it to cosmic
[14:06] <ahasenack> oh, it moved
[14:06] <cpaelzer> it seems the diff is not created for cosmic
[14:06] <ahasenack> now it's green
[14:06] <cpaelzer> I re-triggered the diff
[14:07] <ahasenack> thanks
[14:07] <ahasenack> I set lander to approved
[14:07] <ahasenack> now it's starting the tests, all looks good
[14:07] <cpaelzer> ahasenack: when you click on diff you'll see a log of the former diffs
[14:07] <cpaelzer> there was none
[14:07] <ahasenack> ok
[14:07] <cpaelzer> despite the old (zesty) diff being exitsing
[14:07] <cpaelzer> so I thought why not re-create
[14:07] <cpaelzer> and that seems to have brought it back to normal
[14:13] <Helenah> ahasenack: It isn't
[14:14] <ahasenack> Helenah: can you pastebin the apt-get update output?
[14:33] <madLyfe> sdeziel: did you use the winbind to sync system users to samba usr db?
[14:37] <sdeziel> madLyfe: I only run smbd so I manually sync the users
[14:37] <sdeziel> madLyfe: I am probably using a weird setup though
[14:38] <madLyfe> atm im the only one accessing the share(from a couple locations), can i have it just inherit the ubuntu server user/pass?
[14:38] <sdeziel> madLyfe: I prefer to decouple the Unix and samba accounts
[14:38] <sdeziel> madLyfe: all my samba users have /bin/false as their shell
[14:40] <madLyfe> sdeziel: /bin/false/ as their shell?
[14:43] <sdeziel> madLyfe: the samba accounts have matching Unix accounts but I set their shell to be /bin/false
[14:44] <sdeziel> madLyfe: the idea is those users can only use samba and not connect to the server using SSH for example
[14:45] <madLyfe> can you sync the unix accounts(only one in my case) and manually add on samba users later? ones that wouldnt be added to the server? or would it sync those as well?
[14:47] <sdeziel> madLyfe: I am not sure I understand your question. How could you sync Unix -> samba is the samba user is only created later?
[14:52] <madLyfe> sdeziel: samba supports the ability(through another installed package?) to sync the systems users/password database? if i only had one user on the system i would only have one in samba. if i was to add more samba users later, would those then get synced to system as well? or is it only a one way sync from system to samba? or do i have the whole thing wrong?
[14:52] <ahasenack> madLyfe: for every samba user, there needs to be a corresponding linux user
[14:53] <ahasenack> to sync passwords, the maybe simplest way (but also error prone?) is via "unix password sync"
[14:53] <ahasenack> you will also need "passwd chat"
[14:53] <ahasenack> I think there is a default/example in ubuntu's smb.conf
[14:53] <ahasenack> but I haven't used that in a while
[14:53] <madLyfe> so useradd also adds that user to the ubuntu server as well?
[14:54] <Helenah> ahasenack: It's an LTSP chroot I'm trying to set up.
[14:55] <franciscodelgado> Hi people!
[14:57] <Helenah> sdeziel: You can configure SSH to only allow users in certain groups to SSH in.
[14:57] <sdeziel> Helenah: yes, I know thanks :)
[14:57] <franciscodelgado> Have an old computer, it was dumped on the trash lol, was wondering about to use it as server with ubuntu server: It's Intel Core 2 Duo e7500 @ 2.93GHZ, 4GB of RAM, 1 160G HDD (for system, i.e.) and another disk with 1TB. x64 arch. processor, what do you think about this for data, download and local apache server?
[14:58] <sdeziel> people really throw away anything...
[14:58] <Helenah> franciscodelgado: In the UK, that's called robbing
[14:58] <xase> Right?
[14:58] <franciscodelgado> Wow so I don't want to live on the UK
[14:58] <Helenah> (Just saying)
[14:58] <sdeziel> franciscodelgado: this would make a pretty decent headless server
[14:58] <franciscodelgado> In spain it's called to take what another ones don't want anymore lol
[14:58] <Helenah> franciscodelgado: I would've done the same thing tho
[14:59] <sdeziel> throwing computers in the trash should be criminal in the UK
[14:59] <Helenah> Core 2 Duo is nice btw, especially for a server.
[14:59] <xase> franciscodelgado, run forensics on it first...
[14:59] <Helenah> sdeziel: Yeah, all those toxins, and that wasted metal
[14:59] <franciscodelgado> Helenah: I feel like a little child on christmas now hahaha
[14:59] <sdeziel> Helenah: yup
[15:00] <ahasenack> madLyfe: /usr/sbin/useradd only cares about linux, and smbpasswd only cares about samba. There are effectively two user databases
[15:00] <franciscodelgado> xase: forensic?
[15:00] <Helenah> I went passed a skip on my estate, it had computers, hifi systems, fridges, freezers, so much electronics, I believed most of it worked and was just thrown because the owner was looking for an excuse to buy new.
[15:00] <ahasenack> after the users are created, then the password can be sort of kept in sync if it's changed via samba. If it's changed in linux, then maybe via a pam module to also change it in samba
[15:00] <ahasenack> madLyfe: it gets complicated the more users you have, that's why such setups normally resort to using ldap
[15:00] <xase> Yeah like scrape the hard drive, make sure there isn't anything useful on it?
[15:00] <sdeziel> franciscodelgado: I run 80% of my home infra on a similar machine also with a Core 2 Duo
[15:01] <xase> You never know.
[15:01] <franciscodelgado> xase, oh right
[15:01] <Helenah> How about you shred the drive? I don't know about the laws in Spain, however in the UK, if there is illicit material on it, for example CP, it's enough to get you put on a criminal register.
[15:01] <xase> Or just wipe the harddrive completely clean first. You don't want to be caught with someone else
[15:01] <franciscodelgado> so I will give a try on it, it's incredibly silent also
[15:02] <Helenah> Don't even check what's on it.
[15:02] <xase> Yeah that Helenah
[15:02] <xase> Just shred it.
[15:02] <madLyfe> ahasenack: that seems way over my head
[15:02] <franciscodelgado> Don't know what the hell was going on with this pc to waste it
[15:02] <Helenah> Checking is a way of incriminating yourself
[15:02] <xase> Helenah, I thought about the CP issue after I said it.
[15:02] <xase> Shred the drive.
[15:03] <franciscodelgado> I think there is an option on ubuntu-server installer to do womething like shred, right? like overwrite it with zeroes or similar
[15:03] <sdeziel> madLyfe: it's simpler than it sounds. The Linux/Unix account is used to access the files on the samba server itself. The samba account is used by clients to authenticate against the server
[15:03] <franciscodelgado> something*
[15:04] <sdeziel> franciscodelgado: before the installer started its thing, you can fire up another console and do something like that: cat /dev/zero > /dev/sda
[15:05] <franciscodelgado> sdeziel: oh, cool, another command to my notebook :D
[15:05] <Helenah> franciscodelgado: If you really want to use the drive, do dd if=/dev/zero of=/dev/sda several times
[15:05] <Helenah> You wanna overwrite the shadow several times
[15:06] <franciscodelgado> Helenah, yes, I think it's the best option, clean it all and forget what the HDD could contains
[15:07] <Helenah> franciscodelgado: The idea is to "Not know".
[15:07] <franciscodelgado> Will begin with this tonight
[15:07] <Helenah> You don't wanna have yourself know by checking the drive.
[15:07] <Helenah> Because that's where information slips if you get put under suspicion.
[15:07] <franciscodelgado> Helenah, sorry, maybe it's because of my english, i tried to say "forget the idea of wanting to know what is inside"
[15:08] <Helenah> I understand
[15:08] <franciscodelgado> :D
[15:08] <Helenah> xD
[15:08] <Helenah> There are more non-natives on IRC than there are natives.
[15:09] <franciscodelgado> Yes, and the fact is almost people on IRC speaks in english so, everyone have to learn some to come here
[15:10] <Helenah> It's better to know English anyway, if you have to join a channel like #ubuntu-es, you are missing out on the majority of the community which could've supported you otherwise.
[15:11] <franciscodelgado> of course
[15:14] <sdeziel> franciscodelgado: I use this for extra safety when erasing drives: https://paste.ubuntu.com/p/rSJhqT2XkR/
[15:15] <franciscodelgado> And, about here in Spain, about CP, if I find a computer or HDD or whatever containing CP the first thing to do is call the police, they will try to find the owner and you will be left on the shadows, you are suposed to be helping them
[15:15] <sdeziel> but now that I look at man shred, it seems that is supports shredding whole drives too
[15:17] <Helenah> In data centres, drives are shredded, even if they are only a week old, if they had somes data on them, they are shredded, never reused.
[15:17] <Helenah> It's to protect the data centre
[15:17] <Helenah> So there is no room for accusions
[15:18] <franciscodelgado> aham
[15:18] <sdeziel> there is shred(1) and shred (physically)
[15:20] <tomreyn> unfortunately the former can't really be relied on.
[15:21] <sdeziel> tomreyn: on files, I'd agree but on whole disks/partitions I'd be much less worried
[15:22] <tomreyn> if its whole disks, i'd rather use ata 'secure' erase, or rather combine the two, but only if i failed to use full disk encryption.
[15:28] <xase> alright... so I purged bind, and reinstalled bind. but I still have my local router ip listening on port 53 AND 127.0.0.1 and :::53. I'm having trouble setting up bind for my name servers.
[15:29] <xase> All the tutorials seem to be for local dns. Or isn't quite clear on how to configure for external.
[15:30] <xase> I can't use powerdns which seemed to be a lot easier, it's not supported real well by ispconfig.
[15:51] <Guma> Hello, I was asked to figure out how to setup up a "stage" server for productions machines so they all will point for all updates to our internal server that I need to setup. This server would be a gate keeper between ubuntu server and out production servers. So all of our production servers would be getting updates only from our internal "stage" server. When ever I update stage server then productions machines will upgrade to that version as well. Well
[15:51] <Guma>  in reality there would be development stage server and production stage server. Production stage server would be pointing to development. I never did set this up. Where do I start? Any suggestions or links?
[16:09] <nacc> cryptodan_mobile: nice
[17:03] <ahasenack> kstenerud_: following your freeipa pastebin instructions now (https://pastebin.ubuntu.com/p/8pnKw3pHj4/) to see what's going on
[17:13] <ahasenack> kstenerud_: so two things missing from that pastebin so far
[17:13] <ahasenack> kstenerud_: one we talked about, the reboot.
[17:13] <ahasenack> kstenerud_: the other one I just remembered is to make the ip a static one, and not dhcp assigned, to avoid surprises
[17:14] <ahasenack> I'm doing that now over here
[17:17] <ahasenack> kstenerud_: third, I think this answer is wrong:
[17:17] <ahasenack> * Enter an IP address for a DNS forwarder, or press Enter to skip: (machine's IP address)
[17:17] <ahasenack> it's not your own address: it's your home dns,
[17:18] <ahasenack> or the libvirt provided one
[17:18] <ahasenack> using yourself as a forwarder would create a loop
[17:22] <kstenerud_> ahasenack: So if I'm using libvirt provided one, what would it be? Would I find it in resolv.conf?
[17:22] <ahasenack> it would be x.x.x.1
[17:22] <ahasenack> the .1 of the libvirt network
[17:22] <kstenerud_> ok
[17:23] <ahasenack> or, another way, it would be the bridge ip on the host
[17:23] <ahasenack> in my case,
[17:23] <ahasenack> virbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
[17:23] <ahasenack>         inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
[17:23] <ahasenack> 192.168.122.0/24 is the libvirt "default" network
[17:23] <ahasenack> or, don't set any forwarder, but then you won't take advantage of the host's dns cache
[17:24] <ahasenack> or its knowledge about other libvirt networks
[17:24] <ahasenack> I use squid in a lxd container, in another network, so I use libvirt's .1 DNS so that I can reach the proxy by name
[17:24] <ahasenack> from the vm
[17:25] <ahasenack> kstenerud_: the dns forwarder config means, "forward the dns request to this forwarder if the name being asked is not one of my own zones"
[17:25] <ahasenack> usually that would be the root servers, but if you have a forwarder configured, the forwarder is asked instead
[17:25] <kstenerud_> but if I don't configure a forwarder it should still complete installation, right?
[17:26] <ahasenack> kstenerud_: yeah, that must have been it, the config just finished for me on a brand new vm
[17:26] <ahasenack> kstenerud_: yes, but I haven't gone down that route
[17:26] <ahasenack> in my case it probably wouldn't finish because of my proxy named "squid-ds216.lxd", I would have to replace that with an IP, or not use the proxy
[17:27] <ahasenack> since the root servers don't know about squid-ds216.lxd :)
[17:27] <ahasenack> kstenerud_: I also did the other two changes: fixed ip, and reboot after that
[17:27] <kstenerud_> ahasenack: OK so just to be clear, you used the x.x.x.1 address for the dns forwarder, and also to make the address static, and the reboot?
[17:27] <ahasenack> yes
[17:27] <kstenerud_> ok
[17:27] <ahasenack> now, don't follow the ip tip blindly
[17:27] <ahasenack> make sure your x.x.x.1 is a dns server
[17:28] <ahasenack> try dig with it
[17:28] <kstenerud_> In theory it should work fine with DHCP since I'm only going to run it for a few mins
[17:28] <ahasenack> dig @x.x.x.1 gnu.org
[17:28] <ahasenack> yeah, it's just to avoid surprises
[17:38] <kstenerud_> hmm install failed again :/
[17:39] <ahasenack> did you check /etc/hosts?
[17:39] <ahasenack> you must have something else going on
[17:40] <ahasenack> did you use the bind9 ppa?
[17:40] <kstenerud_> Do you have this in your hosts:
[17:40] <kstenerud_> 127.0.1.1       cosmic-freeipa.example.com      cosmic-freeipa
[17:40] <ahasenack> no, that's what I told you to remove :)
[17:40] <kstenerud_> Without that it won't auto-populate fields
[17:40] <ahasenack> you have to have that entry with the real ip
[17:40] <ahasenack> not 127.x.x.x
[17:40] <ahasenack> and drop the bit without the domain
[17:40] <ahasenack> 192.168.122.40 cosmic-freeipa.example.com
[17:41] <ahasenack> just one line, like that
[17:42] <sylario> Hi, I am trying to instal NVM on an ubuntu server, and despite bashrc being modified, it seems the added lines have no effect : https://github.com/creationix/nvm
[17:42] <sylario> Thoses are the lines added in bashrc :
[17:42] <sylario> export NVM_DIR="$HOME/.nvm"
[17:42] <sylario> [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[17:42] <sylario> [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
[17:43] <sylario> But even after a new login, nvm is undefined and $NVM_DIR is empty
[17:44] <sylario> I had no problem installing nvm on a non server ubuntu
[17:44] <ahasenack> sylario: what's with the \.?
[17:44] <sylario> idk
[17:44] <ahasenack> use just ., or replace "." with "source" (no quotes)
[17:44] <ahasenack> and no \
[17:46] <sylario> It changed nothing
[17:46] <sylario> This code is the same on my ubuntu workstation and it works
[17:47] <sylario> And echo $NVM_DIR is still empty
[17:47] <sylario> not sure why
[17:47] <ahasenack> if you source .bashrc, does it get defined?
[17:47] <sylario> Yes, with the first line I posted here
[17:48] <ahasenack> do you have a ~/.profile?
[17:48] <sylario> Thoses line have been added by the nvm install script
[17:48] <ahasenack> that is what sources ~/.bashrc
[17:48] <sylario> yes
[17:49] <ahasenack> do you have a $BASH_VERSION variable defined? Try echo $BASH_VERSION
[17:49] <sylario> 4.3.48(1)-release
[17:49] <ahasenack> also check "getent passwd <youruser>" and confirm that the shell for that user is /bin/bash (it's the last field)
[17:50] <sylario> admin❌1000:1001::/home/admin:/bin/bash
[17:51] <sylario> It seems my bashrc is full of config for color prompt, yet <hen I ssh this server it'sq monochrome
[17:51] <ahasenack> then you will have to trace the login path
[17:52] <ahasenack> check if ~/.bashrc could be exiting before your NVM_DIR addition
[17:52] <sylario> how do I do that?
[17:57] <JanC> sylario: that's usual because the shell on the server doesn't know your terminal can show colours
[17:57] <JanC> usually*
[18:00] <sylario> Is there something I could put in bashrc or profile to check if they have been run?
[18:00] <sylario> How do I debug that?
[18:00] <tomreyn> have them touch a file in /tmp
[18:00] <JanC> they are just shell scripts, so you can echo something or create a file or such
[18:03] <sylario> I added touch /tmp/profile at the start of profile, i delogged relogged, and the file is not in tmp
[18:03] <tomreyn> so your shell is probably bash
[18:03] <sylario> what does that mean?
[18:04] <tomreyn> head -n 5 ~/.profile
[18:05] <sylario> # ~/.profile: executed by the command interpreter for login shells.
[18:05] <sylario> # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
[18:05] <sylario> ls -l
[18:05] <tomreyn> that's just 2 of 5 lines, but yes
[18:06] <sylario> I  have no idea what I should conclude from that
[18:07] <tomreyn> so do you have ~/.bash_profile or ~/.bash_login ?
[18:07] <sylario> I have a bash_profile
[18:08] <sylario> ok
[18:08] <tomreyn> well, as the message on top of ~/.profile you just partially quoted says, if you run bash, then ~/.bash_profile (if it exists) is executed instead of ~/.profile
[18:08] <sylario> so RVM tanked my shell
[18:09] <JanC> ~/.bash_profile can source ~/.profile
[18:09] <sylario> https://www.irccloud.com/pastebin/y0KQ3tPi/
[18:10] <sylario> maybe I can put that in bashrc and delete bash_profile ?
[18:11] <tomreyn> maybe. and maybe the script it sources is not compatible with other shells
[18:12] <tomreyn> * scriptS
[18:14] <sylario> Thanks a lot
[18:14] <sylario> it works!
[18:14] <sylario> I added source ~/.profile
[18:15] <sylario> Now I have coloration in ls
[18:16] <sdeziel> sylario: hmm, aliases for ls are added in the standard .bashrc on Ubuntu IIRC
[18:16] <sdeziel> sylario: weird that you had to do anything to get those
[18:16] <sylario> yes, and my bashrc was not run
[18:16] <sylario> because rvm created a bash_profile
[18:16] <tomreyn> i think ~/.profile sources bash_rc if run by bash
[18:17] <tomreyn> i think ~/.profile sources ~/.bash_rc if run by bash
[18:19] <sylario> now I can install node and npm to restart the cursed deployment tool that use npm and bower and node and ember (and bootstrap)
[18:20] <outernational> howdy. getting "We are currently unable to retrieve the requested key. Please try again later." on https://auth.livepatch.canonical.com/. email is verified.
[18:20] <tomreyn> sylario: had you considered https://github.com/rvm/ubuntu_rvm
[18:21] <sylario> I should try to do more bash instead of doing python/ruby script
[18:21] <sylario> @tomreyn did not knew it existed
[18:21] <sylario> thx
[18:21] <tomreyn> sylario: it's the first thing said under 'basic install' at https://rvm.io/rvm/install
[18:22] <sylario> I installed rvm on this server 5 years ago
[18:22] <tomreyn> maybe you followed some other instructions
[18:22] <tomreyn> i see
[18:23] <tomreyn> 5 years is when ubuntu goes EOl, hope you upgraded in the meantime
[18:23] <sylario> it's ubuntu 18.04
[18:23] <kstenerud_> ahasenack: I'm not sure what I'm doing wrong, but no matter what it always fails with Unable to retrieve CA chain: [Errno 111] Connection refused
[18:23] <tomreyn> :-)
[18:23] <ahasenack> kstenerud_: did you check /etc/hosts? :)
[18:24] <ahasenack> did you test the forwarder with the dig command?
[18:24] <ahasenack> is the output of the hostname command the fqdn?
[18:24] <sylario> It was an unbuntu 12.04 at first according to the hosting interface
[18:25] <kstenerud_> https://pastebin.ubuntu.com/p/g7qfmwf6P8/
[18:25] <ahasenack> kstenerud_: what is on line 13?
[18:25] <kstenerud_> Not sure. That got added by one of the apt installs I think
[18:26] <kstenerud_> Line 12 is what I added
[18:26] <ahasenack> and when you added it, the other one was there alreayd?
[18:26] <ahasenack> try removing 13 again, and reboot. See if it's cloud-init during boot that is adding it
[18:28] <kstenerud_> yup it got added after reboot
[18:29] <ahasenack> kstenerud_: ok, so it's cloud-init
[18:29] <ahasenack> so
[18:29] <ahasenack> maybe mine isn't messing with it because I supply a custom user-data to import my ssh key, set my local proxy and local ubuntu mirror
[18:29] <ahasenack> kstenerud_: there are a few ways to sort it
[18:30] <ahasenack> hammer, and non-hammer
[18:30] <ahasenack> hammer is "apt purge cloud-init"
[18:30] <ahasenack> non-hammer is to edit /etc/cloud/cloud.cfg and remove some lines
[18:30] <ahasenack> maybe these 3:
[18:30] <ahasenack>  - set_hostname
[18:30] <ahasenack>  - update_hostname
[18:30] <ahasenack>  - update_etc_hosts
[19:00] <kstenerud_> ugh it did it again
[19:00] <kstenerud_> hosts is clean. hostname returns fqdn, but I still get connection refused
[19:03] <kstenerud_> This is what I'm doing: https://pastebin.ubuntu.com/p/yj35Gp8GSK/
[19:04] <kstenerud_>   [13/28]: publishing the CA certificate
[19:04] <kstenerud_>   [error] RuntimeError: Unable to retrieve CA chain: [Errno 111] Connection refused
[19:05] <sdeziel> kstenerud_: it would be nice to see where it's trying to connect. strace/tcpdump should tell you
[19:06] <dpb1> DNS/Cert/hosts modifications/FreeIPA, what could go wrong!
[19:07] <ahasenack> kstenerud_: do you have cosmic-proposed enabled by any chance?
[19:07] <kstenerud_> grep proposed /etc/apt/sources.list returns nothing
[19:07] <ahasenack> the ca server probably failed to start, the logs could tell why, maybe it's obvious in there
[19:08] <ahasenack> but it just worked out of the box for me, in a fresh cosmic vm
[19:08] <ahasenack> and your bind9 ppa
[19:08] <sarnold> kstenerud_: note there's also /etc/apt/sources.list.d
[19:09] <kstenerud_> I'm running all of this in a uvt-kvm created vm. Everything in that pastebin is exactly what I did, in that order
[19:09] <dpb1> can I attempt?
[19:09] <ahasenack> well, we did changes after that pastebin
[19:09] <ahasenack> do you have an updated?
[19:09] <ahasenack> ah, I see
[19:09] <ahasenack> let me check that
[19:10] <kstenerud_> I literally copy-paste that line by line into a terminal
[19:10] <ahasenack> did you test the forwarder with dig?
[19:11] <kstenerud_> yup
[19:11] <ahasenack> the one thing we still have different is that I setup a static ip
[19:11] <ahasenack> https://pastebin.ubuntu.com/p/yDqsMjSh6T/
[19:13] <dpb1> huh
[19:13] <dpb1> /etc/hostname as the FQDN?
[19:13] <kstenerud_> yup
[19:14] <dpb1> installing from the PPA now
[19:15] <dpb1> hahahaha
[19:15] <dpb1> 402 packages
[19:15] <kstenerud_> :)
[19:15] <ahasenack> dpb1: yeah, freeipa is weird
[19:15] <ahasenack> I think it's a redhat bug, and since they develop on rh...
[19:18] <ahasenack> kstenerud_: in the meantime, can you try to fetch some logs?
[19:18] <ahasenack> like the install log it suggests
[19:19] <kstenerud_> The logs just reiterate the error, and a python stack trace leading to a cli call
[19:19] <dpb1> ok
[19:19] <dpb1> those packages are finished installing
[19:19] <dpb1> now next
[19:21] <ahasenack> no, something must have failed to start, otherwise there wouldn't be a connection refused
[19:21] <ahasenack> check /var/log/pki
[19:22] <kstenerud_> ok hang on I need to rebuild the vm. Running a static address broke things and I can't get into it anymore
[19:23] <ahasenack> you didn't copy mine bit by bit, did you? :)
[19:23] <dpb1> I'm in the magic phase now
[19:23] <kstenerud_> It's the same subnet so it should have worked
[19:23] <ahasenack> but I also had a mac address in there
[19:23] <dpb1> my cpu is really churning
[19:23] <dpb1> it's like I'm on hangouts
[19:23] <kstenerud_> doh!
[19:24] <ahasenack> kstenerud_: careful what you copy and paste from the internet! :)
[19:24] <kstenerud_> lol
[19:24] <ahasenack> the mac address isn't needed
[19:24] <ahasenack> but it was there already, so I kept it
[19:24] <ahasenack> https://netplan.io/examples has a static address config example
[19:24] <kstenerud_> oh just to stop it from cycling ips?
[19:25] <ahasenack> it's what cloud-init generated for me
[19:25] <teward> dpb1: stop mining bitcoins, that'll solve the CPU usage :P  (just kidding xD0
[19:25] <ahasenack> it's a filter
[19:25] <ahasenack> dpb1: check your /etc/hosts, in another terminal probably
[19:25] <dpb1> teward: my nuc has thusfar mined .0000000001 bitcoins, I'm afraid
[19:26] <dpb1> kstenerud_: I'm past the 13/28 failure you pasted earlier at least, still chugging
[19:26]  * dpb1 wonders why he has 3 other uvt-kvm machines
[19:27] <dpb1> ahasenack: http://paste.ubuntu.com/p/Jv7ZWgGCbT/
[19:27] <dpb1> note, the magic is still running.
[19:27] <ahasenack> 👍
[19:28] <ahasenack> this thumbs up looks remarkably different from the web page where I copied it from
[19:28] <ahasenack> it's even the wrong hand
[19:28] <kstenerud_> Doesn't render with the default font
[19:29] <dpb1> https://www.dropbox.com/s/kg05oz6pfqf52yu/thumbs.png?dl=0
[19:29] <sarnold> I get a nice square box
[19:29] <sarnold> very solid, sturdy looking
[19:29] <dpb1> hehe
[19:30] <kstenerud_> https://imgur.com/a/ANF6PJH
[19:30] <dpb1> OK, it's done now kstenerud_ I have a nice 'next steps' screen
[19:31] <kstenerud_> using exactly what I posted?
[19:31] <dpb1> yes
[19:31] <kstenerud_> weird...
[19:31] <dpb1> cut-and-paste
[19:31] <dpb1> my uvt-kvm is not virgin, but it's pretty unmodified
[19:31] <kstenerud_> mine is whatever the defaults are
[19:32] <dpb1> that's the ubuntu font, no clue why the emoji doesn't render
[19:32] <dpb1> anyway
[19:32] <teward> dpb1: black magic from the system perhaps?  (Emoji don't work in a lot of IRC clients heh...)
[19:33] <dpb1> teward: ya, I have to admit, I may have done something to get it working.  been a while
[19:33] <teward> i keep having to ask this, is there a way to run package autopkgtests from within a 16.04 system, and if so what's the commands :P
[19:33] <kstenerud_> Rerunning the install with a static address and grabbing lunch brb
[19:33] <dpb1> (I'm on weechat)
[19:33] <dpb1> so terminal comes into play for me
[19:33] <ahasenack> teward: there is a bunch (of commands)
[19:33] <dpb1> kstenerud_: ko
[19:33] <teward> ahasenack: i forget what they are for 16.04's commands, happen to know any of them offhand or where I can find details?
[19:33] <ahasenack> teward: you basically need to setup vms or lxds first, and then run the tests in them with an autopkgtest (or adt?) command
[19:33] <teward> i know they cahnged names between 16.04 and 18.04
[19:34] <ahasenack> teward: are the executables autopkgtest* or adt*?
[19:34] <teward> adt*
[19:34] <ahasenack> kstenerud_: do you have that autopkgtest session noted down somewhere?
[19:34] <teward> and LXD isn't much of a problem, I already use it so I can utilize those pretty well
[19:34] <teward> utilize that environment (and build the LXDs for the autopkgtests)*
[19:35] <ahasenack> teward: here is an irc session I had with kstenerud_ about autopkgtests: https://irclogs.ubuntu.com/2018/08/17/%23ubuntu-server.html#t16:59
[19:35] <ahasenack> just rename the autopkgtest prefix to adt I think
[19:35] <ahasenack> or maybe check if there isn't something in xenial backports
[19:36] <ahasenack> kstenerud_: you can put that bind9 mp up I think, with these instructions you have, since they worked for dpb1
[19:36] <dpb1> ahasenack: +1
[19:42] <teward> ahasenack: that helped.  But so did this thing I found: https://people.debian.org/~mpitt/autopkgtest/README.running-tests.html
[19:42] <teward> (google helps?)
[19:42] <teward> (at least to run the basic autopkgtests I need to run)
[19:43] <ahasenack> +1
[20:59] <kstenerud_> OK, MP is in. The fact that different uvt-kvm setups can cause app installs to succeed or fail is worriesome, though
[21:00] <ahasenack> kstenerud_: maybe we can revisit this one at the sprint. You seem to have gotten it to work yesterday
[21:00] <ahasenack> then today all is failing
[21:00] <kstenerud_> yeah :/
[21:02] <ahasenack> kstenerud_: please also mention in the MP (description I think: can't think of a DEP3 header for this now) that debian is using the same patch
[21:02] <ahasenack> we are always conserned with adding delta to debian
[21:02] <kstenerud_> Oh. I got the patch from fedora. Is it in debian?
[21:02] <ahasenack> you can find a link to debian's patch in salsa.debian.org, bind9 project
[21:03] <ahasenack> timo pushed it to debian
[21:03] <ahasenack> kstenerud_: see https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1769440/comments/56 and https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1769440/comments/59
[21:10] <ahasenack> kstenerud_: take a look at some logwatch bugs, see if perhaps many can be killed in one swoop: https://bugs.launchpad.net/ubuntu/+source/logwatch
[21:10] <ahasenack> all the "unmatched" types
[21:11] <ahasenack> kstenerud_: also, https://code.launchpad.net/~kstenerud/ubuntu/+source/bind9/+git/bind9/+merge/354002 should be against ubuntu/devel, since cosmic isn't released yet