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

lordievaderGood morning06:24
geodb27People : hi !08:22
geodb27I'm trying to have a full automated installation of ubuntu 18.04 server, so I've fed the grub.cfg with this http://dpaste.com/1KYXKVN as leftyfb kindly suggested me last thursday. However, this don't select french on the very first screen and thenafter, even if the values are fed, I always have to manually confirm the french choices, be they for language or keyboard layout. What did I do wrong ?08:25
samba35i am try to add intel_iommu=on to /etc/default/grub and then run update-grub but still i cant see iommu and cat /proc/cmdline does not show iommu entry08:55
samba35what could be wrong08:55
geodb27Is there a way to preselect something else than English on this ubuntu-install disk first step and avoid user beeing prompted ? https://www.cjoint.com/c/IEBjzorO6Ik ?09:26
samba35i am on ubuntu 18.04  on macbook pro :) i just installed and update system i want to install iommu and i update grub but not update are takeing place09:44
samba35i am on ubuntu 18.04  on macbook pro :) i just installed and update system i want to install iommu and i update grub but not update are takeing place09:45
lotuspsychjedont repeat please samba3509:45
samba35sorry i was trying to enter something but by mistake i use arrow and enter09:45
samba35how do i check i am using grub  or systemd-boot ?09:46
samba35i add intel_iommu=on it /etc/default/grub and then i update grub and reboot but when i could not see expected outout i check with  cat /proc/cmdline it show old grub12:28
samba35any idea why ?12:28
sdezielsamba35: could you paste your /etc/default/grub?12:40
samba35sure12:40
samba35https://pastebin.com/N3y9YbP712:43
sdezielsamba35: OK that looks OK. Have you checked if GRUB_CMDLINE_LINUX_DEFAULT was overridden by other files like /etc/default/grub.d/* ?12:44
samba35how do i check that12:45
samba35grep ?12:45
sdezielyes12:46
samba35grep -i -r "  GRUB_CMDLINE_LINUX_DEFAULT" *12:47
samba35grub.d/10_linux:      GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"12:47
samba35grub.d/20_linux_xen:  GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}"12:47
samba35with /etc folder12:47
sdezielgrep -rF GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub.d/12:48
samba35sorry i was disconnected12:59
samba35any idea ?13:00
Dad[08:47:33] <EC5Asamba35> with /etc folder13:13
Dad[08:48:10] <C197sdeziel> grep -rF GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub.d/13:13
Dad[08:52:32] * Quits: samba35 (~shrikant@unaffiliated/samba35) (Ping timeout: 252 seconds)13:13
samba35sorry disconneted13:15
samba35this system keep get disconnted to nic13:15
samba35how to i check whether i am using grub or systemd-boot ?13:16
=== Wryhder is now known as Lucas_Gray
fooblackflow: just saw your message from earlier, thank you. Will blackflow resolve the issue of hanging for 30-60 seconds? Hmm14:46
fooblackflow: also, any config needed for haveged ? (whoops, I meant haveged in my last message, not blackflow for package :))14:49
lordcirthfoo, haveged should not require any config14:50
foolordcirth: thank you. I don't fully understand the performancing/hanging issues, but I reported them here: https://github.com/pyca/pynacl/issues/327#issuecomment-49147140 - by any chance, are you in agreement haveged can resolve what I'm seeing?15:07
lordcirthfoo, it seems likely, given that it's hanging on opening /dev/random. Try running 'cat /proc/sys/kernel/random/entropy_avail' while it's hanging?15:09
foolordcirth: it's sporadic, and difficult to catch - however I'll try that! Thank you.15:11
fooEvery now and then I'll run a tool and see it hang for 30 s- 1 min... otherwise I see it in the logs from various processes15:12
lordcirthfoo, is this in a VM?15:12
foolordcirth: digital ocean droplet. /proc/sys/kernel/random/entropy_avail currently at 115. What does this signify?15:12
lordcirthfoo, that's far too low, so yes, you are running out of entropy15:12
lordcirthVMs generally have far fewer ways to generate entropy than physical machines, so this isn't uncommon15:13
foolordcirth: ahhh, well this is reassuring. I've been trying to narrorw this down for months. And do you still suggest haveged, given that low entropy?15:13
lordcirthhaveged is definitely the easiest fix15:13
foolordcirth: thank you!15:14
tomreynhaveged is a bit of a compromise, but a (mostly) generally accepted one.15:14
foolordcirth: ok, apt-get install haveged looks good. Looks like reboot not necessary, can you confirm?15:14
tomreynand running VMs is a bit of a compromise, too, in this sense15:14
footomreyn: thank you, will keep an eye on the logs and hope these issues I'm seeing go away15:15
lordcirthfoo, I don't think you need a reboot. Run cat /proc/sys/kernel/random/entropy_avail again15:15
foolordcirth: 2431 :)15:15
blackflowfoo: actually personally I like to raise the entropy threshold for haveged to 2048, default is 102415:17
fooblackflow: how do you raise it? Not sure if it's as simple as writing to that file. I'm open to anything that will minimize these hangups I'm seeing. This script gets called a ton15:23
blackflowfoo: /etc/default/haveged15:23
foothanks!15:25
blackflow(and of course restart the haveged.service)15:26
Greyztaris it so that apt and aptitude is the same only aptitude is an ncurses something user interface of apt?15:33
Greyztaror are they two separate packet managers?15:34
tomreyn!aptitude15:45
ubottuLike apt and apt-get, aptitude is a terminal frontend for Ubuntu's package management system. Unlike the others, it is not recommended in Ubuntu because its behavior differs significantly from other Ubuntu package management tools and can cause issues.15:45
Greyztarthanks tomreyn i also eventually found an article about it aswell15:47
tomreynGreyztar: can you post the link, i'd be interested to read what has been written about it.15:51
Greyztartomreyn, sure i its not a professional article per se though so dont know if it counts also i dont know how authoritative this source is https://www.tecmint.com/linux-package-managers/15:52
Greyztarbut article says package managers so i guess they all count as different package managers,normally i wouldnt bother knowing but im doing an school assignment on it15:53
tomreynthat's an ok overview. it doesn't discuss how using apt and aptitude on the same system creates problems. but other than that it's ok, i guess.15:55
Greyztaryeah ok for an overview,i had an link to ubuntu which explained apt,aptitude and dpkg but i long lost it though15:56

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