[06:24] <lordievader> Good morning
[08:22] <geodb27> People : hi !
[08:25] <geodb27> I'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:55] <samba35> i 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 entry
[08:55] <samba35> what could be wrong
[09:26] <geodb27> Is 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:44] <samba35> i 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 place
[09:45] <samba35> i 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 place
[09:45] <lotuspsychje> dont repeat please samba35
[09:45] <samba35> sorry i was trying to enter something but by mistake i use arrow and enter
[09:46] <samba35> how do i check i am using grub  or systemd-boot ?
[12:28] <samba35> i 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 grub
[12:28] <samba35> any idea why ?
[12:40] <sdeziel> samba35: could you paste your /etc/default/grub?
[12:40] <samba35> sure
[12:43] <samba35> https://pastebin.com/N3y9YbP7
[12:44] <sdeziel> samba35: OK that looks OK. Have you checked if GRUB_CMDLINE_LINUX_DEFAULT was overridden by other files like /etc/default/grub.d/* ?
[12:45] <samba35> how do i check that
[12:45] <samba35> grep ?
[12:46] <sdeziel> yes
[12:47] <samba35> grep -i -r "  GRUB_CMDLINE_LINUX_DEFAULT" *
[12:47] <samba35> grub.d/10_linux:      GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
[12:47] <samba35> grub.d/20_linux_xen:  GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}"
[12:47] <samba35> with /etc folder
[12:48] <sdeziel> grep -rF GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub.d/
[12:59] <samba35> sorry i was disconnected
[13:00] <samba35> any idea ?
[13:13] <Dad> [08:47:33] <EC5Asamba35> with /etc folder
[13: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:15] <samba35> sorry disconneted
[13:15] <samba35> this system keep get disconnted to nic
[13:16] <samba35> how to i check whether i am using grub or systemd-boot ?
[14:46] <foo> blackflow: just saw your message from earlier, thank you. Will blackflow resolve the issue of hanging for 30-60 seconds? Hmm
[14:49] <foo> blackflow: also, any config needed for haveged ? (whoops, I meant haveged in my last message, not blackflow for package :))
[14:50] <lordcirth> foo, haveged should not require any config
[15:07] <foo> lordcirth: 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:09] <lordcirth> foo, 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:11] <foo> lordcirth: it's sporadic, and difficult to catch - however I'll try that! Thank you.
[15:12] <foo> Every 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 processes
[15:12] <lordcirth> foo, is this in a VM?
[15:12] <foo> lordcirth: digital ocean droplet. /proc/sys/kernel/random/entropy_avail currently at 115. What does this signify?
[15:12] <lordcirth> foo, that's far too low, so yes, you are running out of entropy
[15:13] <lordcirth> VMs generally have far fewer ways to generate entropy than physical machines, so this isn't uncommon
[15:13] <foo> lordcirth: 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] <lordcirth> haveged is definitely the easiest fix
[15:14] <foo> lordcirth: thank you!
[15:14] <tomreyn> haveged is a bit of a compromise, but a (mostly) generally accepted one.
[15:14] <foo> lordcirth: ok, apt-get install haveged looks good. Looks like reboot not necessary, can you confirm?
[15:14] <tomreyn> and running VMs is a bit of a compromise, too, in this sense
[15:15] <foo> tomreyn: thank you, will keep an eye on the logs and hope these issues I'm seeing go away
[15:15] <lordcirth> foo, I don't think you need a reboot. Run cat /proc/sys/kernel/random/entropy_avail again
[15:15] <foo> lordcirth: 2431 :)
[15:17] <blackflow> foo: actually personally I like to raise the entropy threshold for haveged to 2048, default is 1024
[15:23] <foo> blackflow: 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 ton
[15:23] <blackflow> foo: /etc/default/haveged
[15:25] <foo> thanks!
[15:26] <blackflow> (and of course restart the haveged.service)
[15:33] <Greyztar> is it so that apt and aptitude is the same only aptitude is an ncurses something user interface of apt?
[15:34] <Greyztar> or are they two separate packet managers?
[15:45] <tomreyn> !aptitude
[15:47] <Greyztar> thanks tomreyn i also eventually found an article about it aswell
[15:51] <tomreyn> Greyztar: can you post the link, i'd be interested to read what has been written about it.
[15:52] <Greyztar> tomreyn, 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:53] <Greyztar> but 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 it
[15:55] <tomreyn> that'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:56] <Greyztar> yeah ok for an overview,i had an link to ubuntu which explained apt,aptitude and dpkg but i long lost it though