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

BraveheartBSDAn older server was depleting entropy, I had to run haveged on it, a newer server doesn't have a problem, just wondering if the entropy seed was implemented on hardware or software.00:04
sdezielBraveheartBSD: some modern CPUs have instruction that gives fast random. Modern kernels make use of that (when available), among other sources of entropy00:16
BraveheartBSDsdeziel, thanks. I'm using an old Dell T610 as a backup, it's now working fine.00:20
rbasakBraveheartBSD: FWIW, use of haveged is questionable. See: https://lwn.net/Articles/525459/00:29
sdezielfrom what I could find, this T610 uses an old CPU (Nehalem) which AFAICT, doesn't have the RDRAND instruction that more modern CPUs have00:29
rbasakSoftware based entropy is impossible. You have to have hardware involved somehow.00:30
sdezielhttps://systemd.io/RANDOM_SEEDS/ is also an interesting quick read00:30
rbasaksdeziel: o/  while you're here, did you report a failure with ubuntu-advantage-tools and a FetchFailedException somewhere? IIRC you did, but I can't find it any more.00:31
sdezielrbasak: no, I haven't got to reporting it yet, sorry00:32
sdezielrbasak: doing now00:34
rbasakThanks!00:36
sdezielhttps://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/200413000:43
-ubottu:#ubuntu-server- Launchpad bug 2004130 in ubuntu-advantage-tools (Ubuntu) "esm-cache.service throw apt.cache.FetchFailedException when connecting to https://esm.ubuntu.com fails" [Undecided, New]00:43
BraveheartBSDrbasak, sdeziel That doesnt help, lol. The previous OS on the Dell ran fine, no entropy related errors at all. I had to change due to ZFS incompatabilty with the PERC 700. Ubuntu 22.04.1 first bought up the error, or rather, the monitoring app did.00:44
BraveheartBSDI'll keep looking into it00:45
JanCsomething might be using more random numbers...00:48
rbasaksdeziel: thanks!00:48
rbasakBraveheartBSD: what's the error? That your monitoring app complains? Or is there something that's actually stalling or not working?00:49
BraveheartBSDNetdata complains the entropy is depleted, and recommends running haveged, so quite possibly, netdata itself is depleteing the entropy pool.00:52
BraveheartBSDThe error has no affect on the server operation.00:53
sdezielBraveheartBSD: I think Netdata is slightly wrong/misleading here, see https://github.com/netdata/netdata/issues/251001:02
-ubottu:#ubuntu-server- Issue 2510 in netdata/netdata "Warning about low entropy isn't completely correct" [Closed]01:02
sdezielAFAIK, on 22.04 kernels, no random providing interface is blocking anymore (except a brief time window during bootup where /dev/random can block, IIRC)01:04
sdezielthat's not always been true though as /dev/random was known to block when entropy would "run low". That would then cause various issues with services needing entropy like Apache being unable to handle HTTPS connections for example.01:06
rbasakI'm curious to know whether the report of depleted entropy is resulting from just after boot, or if it's low on an ongoing basis.01:12
sdezielhttps://lwn.net/Articles/884875/ is probably what I'm quoting/remembering (badly)01:12
BraveheartBSDIt runs for a while, netdata displays a graph that shows entropy counting down, then posts the error. I used something different on FreeBSD 13. I'll disable netdata on this server and see what transpires.01:17
BraveheartBSDIt's starting to look like Netdata is the problem01:18
JanCsounds like it might be panicking too early01:54
=== chris14_ is now known as chris14
habysrbasak: I don't see how it's relevant. If subiquity can install one machine why not use it to install more than one machine?03:52
habysI don't need subiquity to manage any machines, I use puppet for that. I am just trying to get subiquity to update the target OS and it's crashing without any error message that I can find.04:26
=== PeGaSuS is now known as Guest9064
=== bbezak0 is now known as bbezak
=== elastic_dog is now known as Guest5516
rbasakhabys: because you said:11:48
rbasak> I'm guessing in general people (in here|anywhere) aren't managing a fleet of physical machines imaged with ubuntu11:48
rbasakThey are, but they use our dedicated solution for that.11:49
rbasakIf you don't want to use the solution that everybody else uses, then you're welcome to do that but you're more likely to run into issues.11:49
rbasakBut please do submit bug reports!11:49
habysthank you, I really want to get this pxe boot working12:49
habysI fixed it! It doesn't make sense but it works!13:20
habysafter failing to run `apt upgrade` or equivalent in `user-data` via `late-commands:\ncurtin in-target --target=/target apt -y upgrade` and not being able to find any reason that it's not working13:22
habysI wrote a script to target with printf, chmodded and ran in with curtin and it worked13:23
habysI don't understand the crash logs in /var/crash/*.crash, they are absolutely gigantic, and don't even contain the output from the command that causes a crash13:24
lotuspsychj3!bug | habys explains filing crash bugs too13:57
ubottuhabys explains filing crash bugs too: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.13:57
=== Liver-K is now known as Liver_K
habyslotuspsychj3: yes, I will file a bug, thanks15:59
athosHi! Could someone ack LP: #2004107 so I can sync nut? I am just dropping a delta that I added a few weeks ago there that got merged in Debian :)16:12
-ubottu:#ubuntu-server- Launchpad bug 2004107 in nut (Ubuntu) "Sync nut 2.8.0-7 from Debian unstable" [Undecided, Triaged] https://launchpad.net/bugs/200410716:12
Odd_BlokeHmm, I must have missed some renewal emails for LP groups at some point, I'm no longer an Ubuntu member/developer.  How can I go about getting those restored?17:01
ogracommunity council should be able to re-activate you 17:02
rbasakNo, it's the DMB17:16
rbasakOdd_Bloke: email devel-permissions@ please17:16
rbasakAlso see: https://wiki.ubuntu.com/DeveloperMembershipBoard/KnowledgeBase#Accidental_Expiry17:17
Odd_Blokerbasak: Ack, thank you!18:55
tetrakistTwo questions. Are servers more or less efficient than space heaters at heating a room? Second, if I was given a machine with 512GB of RAM, what could I use it for?19:40
arraybolt3tetrakist: Probably not as efficient of a space heater, and with that much RAM, I'd turn it into a virtualization server.19:40
bryceh@athos taking a look19:41
tetrakistarraybolt3, why wouldn't it be as efficient? where is the electricity going, if not into heat?19:41
arraybolt3tetrakist: Processing power, I believe. This probably isn't on-topic for this room though, since this room is for support of the Ubuntu Server operating system, and not for info about server hardware.19:42
tetrakistarraybolt3, Also, I don't have anything to virtualize. Is there some place for virtualization projects?19:42
tetrakist*virtualization project ideas19:42
tetrakistarraybolt3, yeah, I'll drop the heater topic, then.19:42
bryceh@athos looks good!  yes ack on sync19:44
xibalbais there a tool on the cli i could use to highlight multiple different strings of text on the cli ?19:49
xibalbai know less can do it for 1 string, but i have 3 different strings i'd like to highlight19:49
xibalbaas a workaround i could do tmux, split the screen into 3 windows and 1 highlight per window19:50
sdezielxibalba: with less, you can search for a regex like "/(foo|bar)" and all occurrences of `foo` and `bar` would be highlighted19:51
xibalbabrilliant19:51
ravageecho "pattern1 pattern2 pattern3 pattern4" | grep --color -E '^|pattern1|pattern2'19:51
xibalbai need to see some lines above/below the strings19:51
xibalbabut i dont know how many linea above/below, so -A -B options in grep wont work19:52
sdezielxibalba: with grep, you can show the surrounding 3 lines with `grep -3`19:52
sdezielah, sorry replied too quickly19:52
xibalbano worries the less option just worked perfect, thank you sdeziel 19:52
xibalbathank you too ravage 19:52
sdezielcool19:52
athosthanks, bryceh :)20:36
athossync'd20:39
=== nihe_ is now known as nihe

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