/srv/irclogs.ubuntu.com/2019/05/12/#ubuntu-server.txt

=== BrianBlaze420 is now known as brianblaze
=== RoyK^ is now known as RoyK
Greyztarhello,my server seems to log some popularity contest something is this ubuntu stuff i may turn off?12:01
Greyztargoogle 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:08
blackflowGreyztar: what package is tha?12:13
lotuspsychje!info popularity-contest12:14
ubottupopularity-contest (source: popularity-contest): Vote for your favourite packages automatically. In component main, is standard. Version 1.66ubuntu1 (bionic), package size 33 kB, installed size 118 kB12:14
lotuspsychjemight be this12:14
Greyztarblackflow: popularity-contest is the actual package,but it depends on ubuntu-standard which also gets remove seems its a meta-package12:14
Greyztarblackflow: 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 packages12:16
blackflowGreyztar: 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
blackflowGreyztar: you don't have to uninstall it. Edit /etc/popularity-contest.conf and set  PARTICIPATE="no". That's the default anyway.12:24
Greyztarblackflow: thanks for the informations and help :)12:24
blackflowyw12:25
blackflowhrm I don't recall ubuntu installer ever asking me to enable popcon. frankly I thought that was a debian thing only.12:29
Greyztarblackflow: its a preinstalled cloud vm so gets all the goodies i guess hehe12:31
lotuspsychjeblackflow: is that standard in -server too?12:57
lotuspsychjeor is it because Greyztar installed ubuntu-desktop?12:57
Greyztarlotuspsychje: im using server,but its most likely due to it being a preinstalled vm from cloud provider im guessing :)12:58
lotuspsychjeon ubuntu desktop, its a welcome screen where the user has the choice to send or not12:59
lotuspsychjeso that would be real weird server has this installed by default, without a choice?12:59
Greyztari think ive seen that too,its not installed on my main server and dont recall getting prompted for it other than my Debian installs13:00
Greyztarits a preconfigured/install image or so at a cloud provider,so its not a vanilla install13:01
blackflowthe package is installed by default yes, depended on by ubuntu-standard. But submission is disabled by default.13:09
lotuspsychjetnx 4 confirm blackflow13:09
blackflowPARTICIPATE="no" is default. And I don't remember Ubuntu ever asking me to enable it, like Debian installer does.13:09
lotuspsychjeblackflow: so server gives the choice at install somewhere?13:10
blackflowdunno, I've been installing servers with debootstrap for long time now. Tried subiquity few months ago, but I don't recall it asking.13:10
lotuspsychje!info ubuntu-report13:12
ubottuubuntu-report (source: ubuntu-report): Report hardware and other collected metrics. In component main, is optional. Version 1.3.0~18.04 (bionic), package size 1589 kB, installed size 4948 kB13:12
blackflowlotuspsychje: 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.conf13:13
blackflowyeah, buntu-report is different, that's hardware metrics. popcon is software installation ("popularity") metric.13:13
lotuspsychjeyeah thought they were different13:13
Greyztarbeing that its default off ill think i want to send a mail to my cloud provider asking how come they enabled it13:21
Greyztarany 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 it13:27
Greyztaralso im using zram =)13:29
Greyztaris there any other way than systemctl status to find currently running services?13:42
blackflow`ps axuf` will show you running processes13:43
Greyztarthank you blackflow13:43
blackflowas 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:46
Greyztaryeah 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 hehe13:49
Greyztarso 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 maybe13:59
=== lol768_ is now known as lol768
blackflowAnyone 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 44315:43
blackflowI 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 level15:43
blackflowI suppose I could whip up a script around ss -o option15:58
noregretI 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:20
compdocyou have access to the console, then18:34
noregretcompdoc: yes I do18:37
noregretthat's how I down/up the interface18:37
compdocsyslog can mean a couple things. have you looked thru other logs. the server was continuing to operate normally?18:39
compdocno reboots?18:39
patdk-lapdoesn't say anything about if dhcp failed18:40
noregretcompdoc: i actually just checked /var/log/syslog and dmesg, and yeah it operated normally after an interface down/up18:41
noregretpatdk-lap: it has a static ip set in /etc/netplan/01-netcfg.yaml18:42
patdk-lapoh netplan18:42
compdocis it an intel nic?18:42
noregretcompdoc: not sure, it stays e1000e in dmesg18:43
noregretsays*18:43
noregret(this is an old laptop)18:43
noregretyeah intel I guess18:44
noregretbtw, 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 wrong18:45
compdocI 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 work18:45
compdoccould have happened after an update18:46
noregretweird18:46
compdoc*hardware18:46
compdocor, it could be the 2-port intel nic was dying18:47
noregrethttps://bpaste.net/show/3efb8cf8d4b6 - i see this in dmesg, is it normal?18:47
noregretI thought docker might responsible, but i'm not running any containers, so i was looking for a way to stop it18:48
noregretcouldn't find one yet, it doesn't have a daemon in systemd18:48
noregretI recall I chose it to be available during ubuntu install, but I don't remember the details18:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!