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

=== Napsterbater is now known as Napsterbater_
=== Napsterbater_ is now known as Napsterbater
=== denningsrogue5 is now known as denningsrogue
=== vlm_ is now known as vlm
=== falcojr9 is now known as falcojr
ygk_12345how to disable unattended security upgrades  through autoinstall for ubuntu 20.04 ?09:31
andybikerIs there any documentation on how to change or update your mirrors on a terminal? I didn't install the graphic interface on my server and my xenial mirrors are not suggesting any upgrades20:56
andybikerI am using version 1620:56
RoyKandybiker: /etc/apt/sources.list21:00
andybikerare the xenial sources still available?21:03
andybikerthey don't seem to be21:04
TJ-andybiker: see all the xenial* at http://archive.ubuntu.com/ubuntu/dists/21:05
andybikermy pc doesn't resolve archive.ubuntu.com. what are the alternatives?21:11
andybikerthey need to be 32 bit as well21:13
RoyKresolves from here21:14
RoyKcheck dns settings21:15
compdocmine resolves it, but ipv622:09
andybikerThanks RoyK, I didn't have a network device other than the loop interface and it has taken me an hour to find its name!22:13
andybikerI was hoping dist-upgrade would work, but not found22:13
RoyKamurray: ip l l22:28
faekjarzGidday, mates! :D I have a bunch of code (github/gnif/vendor-reset) which i've successfully installed via "dkms install .". Now, i'm worried that this kernel module might "vanish" on reboot, after an "apt upgrade" kernel update. I know there are dkms hooks - so, where would i put this source code, in order to be build and included in the newly generated initrd automatically? (20.04 LTS, Linux 5.4.0)23:08
TJ-faekjarz: if it is installed via dkms install then the kernel dkms hooks should build that module for new kernel version upgrades23:13
TJ-faekjarz: adding a module into initialramfs is achieved via listing in /etc/initramfs-tools/modules23:14
faekjarzTJ-: i've added "vendor-reset" to /etc/modules - lsmod listed it after "update-initramfs -ukall" and reboot. What's this /etc/initramfs-tools... about?23:17
TJ-faekjarz: you asked "...included in the newly generated initrd automatically?" - that's how23:24
TJ-faekjarz: /etc/modules doesn't do that23:24
faekjarzTJ-: your statement contradicts the documentation (comments in /etc/modules) [20.04], as well as my experience: "This file contains the names of kernel modules that should be loaded at boot time, one per line."23:29
TJ-faekjarz: no, it does not23:29
TJ-faekjarz: modules in /etc/modules are loaded via systemd's init process in the real root file-system. You asked about the initrd, which is the pre-userspace environment built by update-initramfs, which includes modules listed in /etc/initramfs-tools/modules23:31
faekjarzall i did was "dkms install .", add a line to /etc/modules, "update-initramfs -ukall", and reboot - the module is loaded, all right (and works as described)     ...sorry, Dunning-Kruger just hit me, LOL ;)23:33
faekjarzi see, the user-space thing, ok23:33
TJ-faekjarz: modules in initrd is only necessarily if they're required to find and mount the real root file-system23:34
faekjarzok, so where to did "dkms install" copy the source code, in order for it to be considered during the next kernel upgrade?23:36
TJ-faekjarz: it creates links when dkms add/build/install are called23:37
TJ-faekjarz: convention is to put kernel module sources in /usr/src/$module-$version/23:38
faekjarzoh, ok, so somewhere under /lib or /usr is a symlink to /home/random/devel/moduleName/ ?23:38
faekjarzls /usr/src/ returned what i was looking for - AMAZING :D23:40
TJ-faekjarz: see "ls -l /var/lib/dkms/*/*/source"23:40
faekjarzthe plot thickens! <323:41
* faekjarz trusts TJ- senpai's expertise now and humbly apologises for his fierce inquiry *giggles* (Thanks, mate!)23:43

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