[12:01] <Greyztar> hello,my server seems to log some popularity contest something is this ubuntu stuff i may turn off?
[12:08] <Greyztar> google to the rescue,so its a package ,however if i purge it also ubuntu-standard package gets removed,is it safe to remove?Dealing with small resources so everything i dont need i want to remove (,")
[12:13] <blackflow> Greyztar: what package is tha?
[12:14] <lotuspsychje> !info popularity-contest
[12:14] <lotuspsychje> might be this
[12:14] <Greyztar> blackflow: popularity-contest is the actual package,but it depends on ubuntu-standard which also gets remove seems its a meta-package
[12:16] <Greyztar> blackflow: you think its safe to remove?Have to admit i dont know what a meta-package is google says a sort of master list of packages
[12:24] <blackflow> Greyztar: a meta-package is virtual dependency that pulls in other packages. It's to group packages around certain functionality so that you pull in one and it pulls in whatever else is needed to fulfill that functionality. there are some other uses as well.
[12:24] <blackflow> Greyztar: you don't have to uninstall it. Edit /etc/popularity-contest.conf and set  PARTICIPATE="no". That's the default anyway.
[12:24] <Greyztar> blackflow: thanks for the informations and help :)
[12:25] <blackflow> yw
[12:29] <blackflow> hrm I don't recall ubuntu installer ever asking me to enable popcon. frankly I thought that was a debian thing only.
[12:31] <Greyztar> blackflow: its a preinstalled cloud vm so gets all the goodies i guess hehe
[12:57] <lotuspsychje> blackflow: is that standard in -server too?
[12:57] <lotuspsychje> or is it because Greyztar installed ubuntu-desktop?
[12:58] <Greyztar> lotuspsychje: im using server,but its most likely due to it being a preinstalled vm from cloud provider im guessing :)
[12:59] <lotuspsychje> on ubuntu desktop, its a welcome screen where the user has the choice to send or not
[12:59] <lotuspsychje> so that would be real weird server has this installed by default, without a choice?
[13:00] <Greyztar> i think ive seen that too,its not installed on my main server and dont recall getting prompted for it other than my Debian installs
[13:01] <Greyztar> its a preconfigured/install image or so at a cloud provider,so its not a vanilla install
[13:09] <blackflow> the package is installed by default yes, depended on by ubuntu-standard. But submission is disabled by default.
[13:09] <lotuspsychje> tnx 4 confirm blackflow
[13:09] <blackflow> PARTICIPATE="no" is default. And I don't remember Ubuntu ever asking me to enable it, like Debian installer does.
[13:10] <lotuspsychje> blackflow: so server gives the choice at install somewhere?
[13:10] <blackflow> dunno, I've been installing servers with debootstrap for long time now. Tried subiquity few months ago, but I don't recall it asking.
[13:12] <lotuspsychje> !info ubuntu-report
[13:13] <blackflow> lotuspsychje: I don't think _installing_ it is a choice, as it's a hard dep of ubuntu-standard. If anything is a choice, it's whether it's enabled, post installation, via /etc/popularity-contest.conf
[13:13] <blackflow> yeah, buntu-report is different, that's hardware metrics. popcon is software installation ("popularity") metric.
[13:13] <lotuspsychje> yeah thought they were different
[13:21] <Greyztar> being that its default off ill think i want to send a mail to my cloud provider asking how come they enabled it
[13:27] <Greyztar> any recommendation on services or so i could turn off to save resources?My server is hosting a few lxc containers and running tor service and thats it
[13:29] <Greyztar> also im using zram =)
[13:42] <Greyztar> is there any other way than systemctl status to find currently running services?
[13:43] <blackflow> `ps axuf` will show you running processes
[13:43] <Greyztar> thank you blackflow
[13:46] <blackflow> as for turning off services, by default installing ubuntu-server will only run with most minimally required services. whatever your hosting company does, is out of scope of support here, we have no way of knowing.
[13:49] <Greyztar> yeah i figured,i sort of answered my own question when started digging into what services i had running,next time ill start out with a normal install instead of preconfigure something ,though with your command i found an openvpn server i didnt need anymore so some resources gained hehe
[13:59] <Greyztar> so weird ,their telling me popularity-contest is enabled upstreams,though my home server is same Ubuntu 18.04 and its not enabled,time to start migrating to another provider maybe
[15:43] <blackflow> Anyone knows if it's possible to track TCP stream retries on the server side? I'd like to run some statistics about retried packets per client IP address for, say, all TCP flows to/from port 443
[15:43] <blackflow> I know you can do it if the application supports it (like iperf), but I need this application-independent, perhaps at the iptables or some other in-kernel accountancy level
[15:58] <blackflow> I suppose I could whip up a script around ss -o option
[18:20] <noregret> I woke up with ubuntu server 18.04 unreachable, I had to up -> down its interface for it to connect again. I looked at syslog and found out when it stopped connecting to the internet but i don't know what happened, how can I troublshoot this further?
[18:34] <compdoc> you have access to the console, then
[18:37] <noregret> compdoc: yes I do
[18:37] <noregret> that's how I down/up the interface
[18:39] <compdoc> syslog can mean a couple things. have you looked thru other logs. the server was continuing to operate normally?
[18:39] <compdoc> no reboots?
[18:40] <patdk-lap> doesn't say anything about if dhcp failed
[18:41] <noregret> compdoc: i actually just checked /var/log/syslog and dmesg, and yeah it operated normally after an interface down/up
[18:42] <noregret> patdk-lap: it has a static ip set in /etc/netplan/01-netcfg.yaml
[18:42] <patdk-lap> oh netplan
[18:42] <compdoc> is it an intel nic?
[18:43] <noregret> compdoc: not sure, it stays e1000e in dmesg
[18:43] <noregret> says*
[18:43] <noregret> (this is an old laptop)
[18:44] <noregret> yeah intel I guess
[18:45] <noregret> btw, I was copying data to it from a windows machine using sftp, and when the operation stopped, and it coudln't connect to the server, i knew something was wrong
[18:45] <compdoc> I have no idea if its related, but recently a server had been running normally, suddenly started dropping connections to VMs running inside. I had to move one vm to run directly on hareware to make it work
[18:46] <compdoc> could have happened after an update
[18:46] <noregret> weird
[18:46] <compdoc> *hardware
[18:47] <compdoc> or, it could be the 2-port intel nic was dying
[18:47] <noregret> https://bpaste.net/show/3efb8cf8d4b6 - i see this in dmesg, is it normal?
[18:48] <noregret> I thought docker might responsible, but i'm not running any containers, so i was looking for a way to stop it
[18:48] <noregret> couldn't find one yet, it doesn't have a daemon in systemd
[18:49] <noregret> I recall I chose it to be available during ubuntu install, but I don't remember the details