[00:15] <karlthane> Does anyone know what the tool the installer uses to pull ssh keys from github/launchpad and if there is any way to set it to run regularly?
[00:16] <sarnold> ssh-import-id
[00:17] <sarnold> you can use it in a cronjob or script or something similar if you wish; there's no default tool to do so, that I know of
[00:34] <karlthane> @sarnold Thank you.
[00:44] <sarnold> karlthane: you're welcome :)
[06:56] <heller_> hey
[06:57] <heller_> my server rebooted yesterday evening. Any tips where to look for the issue?
[06:57] <lotuspsychje> elaborate here heller, like server version and services running
[07:00] <heller_> ubuntu 18.04 and running only zabbix serer
[07:00] <heller_> virtualized at an external provider
[07:01] <heller_> https://pastebin.com/KRDbU7Pn
[07:02] <heller_> thats kern.log when it rebooted
[07:03] <heller_> U-U havent done any upgrades for few days at least
[07:06] <heller_> syslog  https://pastebin.com/JPiL0LpL
[07:07] <heller_> syslog.1 https://pastebin.com/mgB7cJar
[07:08] <OerHeks> does zabbix has a log? find / -name 'zabbix_server.log' or something like that
[07:09] <OerHeks> maybe /var/log/zabbix/ ..
[07:11] <heller_> yeah looking, but there's not much info about the system status
[07:11] <OerHeks> maybe the host ..
[07:11] <lotuspsychje> heller_: maybe take a look at your auth logs aswell for intrusion
[07:13] <heller_> hey wait a minute
[07:13] <heller_> https://pastebin.com/FpzCeHqD
[07:13] <heller_> what does that mean
[07:14] <lotuspsychje> heller_: how are you protecting your ports/ services?
[07:15] <OerHeks> you had visitors :-D
[07:15] <lotuspsychje> heller_: can you nmap -PN -sV your external ip to see whats exposed to the outside?
[07:15] <heller_> it is exposed quite alot
[07:15] <heller_> but i dont see anyone getting in?
[07:15] <OerHeks> nowadays they try just once, with a botnet, so fail2ban is useless.
[07:15] <OerHeks> restrict access to your ip maybe?
[07:15] <heller_> i could do that yes
[07:16] <heller_> but i still dont see anyone getting in?
[07:16] <heller_> just curious about the power button event
[07:16] <lotuspsychje> heller_: its not because logs doesnt show, that nobody can enter
[07:16] <lotuspsychje> heller_: you never know what kind of exploits are used when exposed
[07:16] <heller_> hmm
[07:17] <lotuspsychje> heller_: it might be not your case, but better assume its possible
[07:21] <heller_> got ufw running now
[07:21] <lotuspsychje> heller_: if you check your open ports with nmap, thats the way attackers will find your ports & services
[07:21] <heller_> Yeah i did check that, ssh and http + zabbix related are open
[07:21] <lotuspsychje> heller_: for the attacker, everything open will get auto scanned these days
[07:21] <lotuspsychje> they find your weak spot, and they get in
[07:22] <heller_> Sure, but this issue was worse earlier
[07:22] <lotuspsychje> howso?
[07:22] <heller_> it rebooted like every second day. i asked the hosting company to move this vm to another host and then it stayed up for at least a week
[07:23] <lotuspsychje> !info lynis | heller_
[07:23] <lotuspsychje> heller_: id suggest a full check of your server, perhaps also bandwith monitor to see whats going in/out
[07:29] <heller_> Nothing special on bw graphs
[07:29] <heller_> hmm
[07:45] <heller_> Well lynis did not find anything ground breaking
[07:45] <heller_> So the digging continues
[08:10] <lordievader> Good morning
[11:17] <supaman> when creating a tar backup of a folder, does the command 'tar -cf /cifs-mount/backup.tar /folder' create the tar backup in the local machine and then move it to the cifs mount or does it create the file and add to it in the cifs mount?
[11:18] <supaman> I have a 70GB dir that needs backup and don't have space for that in the local machine
[11:25] <lordievader> I'd expect it writes directly to the `/cifs-mount/backup.tar` file. You could test this with strace and a small test setup.
[11:26] <supaman> yeah, thats what I expect also, thanks for the suggestion of test, will do that :-)
[11:34] <supaman> yup, writes directly to cifs mount
[13:19] <Checkmatex> trying to configure sendmail with non tls  should i use `A p y' ?
[14:42] <catphish> hi, i've just configured netplan with an extremely simple bridge, and it's causing my boot to hang for about 60 seconds on the network start job, would anyone be able to suggest why? https://paste.ubuntu.com/p/s92svp72qr/
[14:42] <catphish> in fact it's 120 seconds
[14:44] <ahasenack> catphish: why do you need the quotes around the nameservers ip?
[14:44] <ahasenack> not saying it's related, it just jumped out
[14:44] <catphish> i don't know, ask the ubuntu installer :)
[14:45] <ahasenack> interesting
[14:45] <catphish> (i only added the bridge)
[14:45] <ahasenack> catphish: I think you are missing interfaces for the bridge, i.e., which interface(s) are part of it
[14:45] <ahasenack> see the bridge example at https://netplan.io/examples
[14:46] <catphish> i am indeed, there are no interfaces in it
[14:46] <catphish> do you think it could be waiting for interfaces to join it for some reason?
[14:47] <catphish> to clarify, this is not an error, there should be no interfaces in the bridge
[14:47] <rbasak> Is it waiting for DHCP on the bridge?
[14:48] <catphish> i could try manually disabling it, i assumed that would be the default since IPs are specified
[14:48] <rbasak> That would be my assumption too
[14:48] <rbasak> I only mention it because it's fairly common for cloud-init to hang waiting on a NIC to appear if it can't find a network.
[14:49] <catphish> i'm just trying an explicit dhcp disablement and explicit empty interfaces list
[14:49] <catphish> no change :(
[14:49] <rbasak> Anything in the logs after the hang?
[14:50] <rbasak> cloud-init logs specifially
[14:50] <catphish> i'll have a look once it's booted again
[14:50] <catphish> could it be waiting for ipv6? there's no RA on this network
[14:51] <ahasenack> without the bridge, does it hang too?
[14:51] <catphish> i was just wondering the same
[14:54] <cyphermox> what version of netplan?
[14:54] <catphish> no problem with the bridge removed
[14:55] <cyphermox> it's definitely the bridge, for sure
[14:55] <catphish> looks that way
[14:55] <cyphermox> maybe you just need "optional: true" under it, to pacify networkd-wait-online at boot
[14:56] <cyphermox> but the real question is whether the bridge is up and has an IP address after boot.
[14:56] <ahasenack> isn't there a way to check what netplan ended up rendering for networkd? In /run/<somewhere> after boot?
[14:56] <catphish> thinking about it, a bridge with no interfaces appears as DOWN iirc
[14:56] <catphish> so if netplan is waiting for that, it will time out
[14:57] <ahasenack> and after those 120s, what does it look like in the booted system?
[14:57] <ahasenack> is it up with that ip?
[14:57] <catphish> just rebooted with it re-enabled, but "optional", works perfectly
[14:58] <catphish> bridge comes up with correct IP, no delay
[14:58] <ahasenack> and UP or DOWN?
[14:58] <catphish> but, as i suspected... "br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000"
[14:58] <catphish> DOWN
[14:58] <ahasenack> and no members?
[14:58] <catphish> correct
[14:59] <catphish> (which is what i want)
[15:01] <catphish> looks happy now, i have no doubt it'll come up as it should once members are added by my lxc setup
[15:02] <catphish> makes perfect sense that netplan would have been waiting for that UP status
[15:02] <catphish> thanks all!
[15:10] <cyphermox> yeah, that's a "fun" part of *-wait-online scripts
[15:27] <catphish> it probably didn't help that       addresses: [10.4.16.0/24 ] is clearly an mistake :)
[16:31] <Checkmatex> i can't received mails
[16:49] <tomreyn> is this a bug report, a support request, or a social media status?
[20:02] <mmercer> lo folks -- with ubuntu-server,  normally with many of the distros, if you set the ifnames=0 at the boot opts, it will retain that even during the installation so that you dont have to set the ifnames after.... does this not work in ubuntu?
[21:04] <rbasak> mmercer: isn't it net.ifnames=0?
[21:04] <rbasak> https://lists.ubuntu.com/archives/ubuntu-devel/2015-May/038761.html has some background