/srv/irclogs.ubuntu.com/2023/01/23/#ubuntu-server.txt

=== chris14_ is now known as chris14
=== esembee_ is now known as esembee
mcklHello, what are the implications removing the "ubuntu-server" and "update-notifier-common" packages ?09:53
mcklwhen upgrading packages, i got that error: https://pastebin.com/raw/SCpTRcSa  ; probably because some weird black magics were done by the person handling some python-related scripts09:54
mcklthe best solution would probably to fix the python error, but that machine is all but "best-practices", so i feel like it's something that person won't want/be able to do09:56
mckl... but otoh i'd like to keep doing security updates; which is broken now /o\09:56
mckl(so my temp. fix was trying to remove the "update-notifier-common" package, but when doing that it also wants to remove the "ubuntu-server" one09:58
ravagei would try a "sudo apt install --reinstall python3-chardet" first09:59
mcklyes, that makes sense10:00
mcklbut i fear it'll break what the person did to make it's script working10:01
mckl(but hey, is that my problem ? i'm not sure) ... ...10:02
mckldone ... /me logs out from the server10:03
mcklthanks for the hint10:03
ravageyw10:03
sil2100Hey everyone! I noticed some weird image build failures with server images on focal. There seems to be a weird dep issue somewhat related to ubuntu-advantage-tools: "software-properties-gtk : Depends: ubuntu-advantage-desktop-daemon but it is not installable"10:05
alkisgsil2100: do you have universe enabled?10:28
sil2100No, our official images only depend on main, we never build with universe enabled10:29
alkisgubuntu-advantage-desktop-daemon seems to be in universe on focal, but on the other hand, I don't see software-properties-gtk depending on it10:30
sil2100Guess I can promote it, as it's part of a main source package10:30
=== cpaelzer_ is now known as cpaelzer
jamespageicey[m]: https://bugs.launchpad.net/bugs/199863615:14
-ubottu:#ubuntu-server- Launchpad bug 1998636 in ceph (Ubuntu) "Unable to load libceph_snappy.so due to undefined symbol _ZTIN6snappy6SourceE in snappy 1.1.9" [Undecided, Confirmed]15:14
jamespagethat's fun15:14
icey[m]no kidding :-/15:19
serpoof15:39
serpi am feeling empathy for anyone that ran across that one15:39
fricklerat first glance I thought "wow, now you package ceph as snap, too?", but this sounds almost as bad15:56
ravagefrickler: https://snapcraft.io/microceph :)15:58
fricklerravage: cool, thx for the pointer16:03
ahasenackcongrats on the new upload rights, lvoytek ! \o/19:51
lvoytekthanls!19:54
lvoytekthanks!19:55
=== chris15 is now known as chris14
=== rsalveti_ is now known as rsalveti
fooI am constantly pulling logs from a server to troubleshoot. On my mac, I copy to clipboard and have a shortcut to post a gist to github. Any reason not to set up the same thing on a server? Or is there a better way to do this rather than ... actually, I can output to a dir and then keep rsyncing it into our local shared drive.20:47
fooThat could work20:47
patdk-lapwhy not just let syslog send them to where you need it?20:54
rbasakfoo: you might be interested in the pastebinit package/command20:57
rbasakBut yeah, I also don't really follow your problem. I would just write a "grab remote log and write it to a local file" one liner.20:58
sarnoldI use | nc termbin.com 9999 *so often*21:14
JanCputting (unredacted) server logs on a public pastebin might not always be a good idea though...21:15
JanCboth from a security & from a privacy PoV21:16
sarnoldso true :) luckily most of what I put there is just source code21:19
=== kostkon_ is now known as kostkon
mybalzitchwhy is it even after I turned off swap, perf is still saying the swapper kernel thread has 15-25% overhead22:53
mybalzitchand turning vm.swapiness to either extreme, even before removing swap, had no effect22:54
mybalzitchmaybe I dont' understand what perf is telling me22:55
mybalzitch 2. The official description of the process is that swapper is executed when no other tasks are running on the CPU.In other words, swapper means that the CPU did nothing and ran to rest23:05
JanCgenerally, turning off swap is a bad idea also...23:08
sarnoldmybalzitch: perhaps now swapper is busy discarding and reloading TXT pages from your executables and libraries?23:20
baldpopehow would I configure the 01-netcfg (netplan) to have a network port up but in listen mode (as the target of a switch port mirror/capture)23:20
baldpopefound an article from 2019 that uses a blank config (https://askubuntu.com/questions/1037276/bring-up-but-dont-assign-address-with-netplan ) is this still the most appropriate way?23:23
sarnoldbaldpope: Om,23:24
sarnoldsigh23:24
sarnoldbaldpope: I'm curious, does tcpdump or whatever need the interface up in order to set it to promiscuous mode?23:25
baldpopesarnold, I believe it does 23:25
sarnoldit's funny, I've never even thought to ask before. heh.23:25
sarnoldbaldpope: anyway that seems like a reasonable enough answer, hehe23:25
baldpopeand by default, it brings it up with dhcp which might be OK, since there's not a DHCP server on that port, but felt wrong23:26
mybalzitchsarnold: I let it sit for a few hours23:26
baldpopesarnold, thanks - interface is up and looks good - have some more work to do, but looks good thus far23:28
sarnoldmybalzitch: I wonder if swapin.bt from bpftrace could show which processes are doing swapins, and perhaps help confirm which processes are having trouble.. granted, swapping tends to hurt everything.. https://manpages.ubuntu.com/manpages/focal/en/man8/swapin.bt.8.html23:34
=== chris14_ is now known as chris14
mybalzitchsarnold: oooh nice thank you. it seems stopping all my services, evicting everything from swap, then starting stuff again may have addressed my initial complaint. I look forward to running that when the issue comes up again. I was looking for a command like this. thanks.23:37
sarnoldmybalzitch: I was surprised it took me so long to find it. heh. I expected the iovisor tools to have it, perhaps as a feature in the biotop or similar. go figure.23:38

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