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

sarnolddelicious!00:00
xibalbafyi , moving my /32 and /128 to the loopback interface negated the need for the 'ip route change default' command it seems.00:35
=== pcfreak301 is now known as pcfreak30
mybalzitchneat, fstrim ate up ~15GB of ram apparently02:35
mybalzitchand triggered a gfp02:35
=== benpro2 is now known as benpro
lordievaderGood morning06:52
leumashmHi i have an ubuntu server, and we are trying to replicate the same on another ubuntu server. So we are trying to find out what are installed on the previous server, so we can install on the new server. anyone know what command should i use?07:27
=== denningsrogue6 is now known as denningsrogue
lordievader`dpkg -l` will give you a list of all installed packages.07:38
lordievaderThough you don't just want to blindly install all from that list, it would mark dependencies as explicitly installed. Which means that if the package that requires them is gone the dependencies will remain.07:39
=== cpaelzer__ is now known as cpaelzer
macrow912you can also back everything from your original server up and restore to the new one07:54
macrow912the whole filesystem07:54
macrow912and make necessary changes later like domain name07:54
leumashmmacrow912 how to backup everything from original server to restore to new one?07:59
macrow912the easiest one I can think of is duplicity08:00
macrow912create a full backup and restore08:00
TJ-macrow912: not when the new is a different release; unless there's a clone followed by a release-upgrade08:00
macrow912you can also use rsync08:00
macrow912yes, this is a potential problem08:00
TJ-leumashm: as I said in #ubuntu, test this out on virtual machines first!08:01
leumashmTJ- yes sir!08:01
macrow912personally I would boot the system into a rescue environment and mount the destination disk and proceed08:01
macrow912to avoid potential inconsistence08:02
TJ-ha! they're moving from on-premise to 'cloud'08:03
TJ-plus release upgrade. I've suggested using debfoster to get a list of keepers to do a pristine install of 20.04 as a pre-cursor to figuring out which services and configs need copying/translating over from 18.04 to 20.0408:04
sh0neWhen I try to install php-gettext package in Ubuntu Server 20.04 LTS (minimal install) the error is returned "E: Unable to locate package php-gettext". Where can I get that package?09:23
HamidrezaHi, what is cloudInit in ubnutu 2009:38
Hamidrezabecause I can not configure it as template (and the error says disable cloudinit)09:59
HamidrezaIf I disable it , what would happen?09:59
=== jamespage_ is now known as jamespage
=== jancoow6 is now known as jancoow
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
jayjoI'm having trouble with the new autoinstall and cloud-init using the new autoinstall format. My install fails and then I can use Alt + F2 to get a new terminal for inspecting what happens. Where can I look at what command was the last to fail in the installation?23:14
jayjoI'm on a completely fresh disk, so nothing should be laying around23:15
jayjoI think /var/log/cloud-init-output.log and /var/log/cloud-init.log seem to be from earlier stages of the boot attempt23:15
jayjoMy goal is to install a few additional packages that I have in an attached partition23:16
sarnoldiirc there's casper log in there too23:16
jayjoI'm trying to mount that partition somewhere on the installation system, and then use a file:/// repo to that location so I can install the packages23:17
jayjook, let me try and find the casper logs23:17
jayjoI can see now that it's failing due to my local repository having a Release.gz file, but it is only looking for a Release file23:41
sarnoldjayjo: the log gives the filename without extension23:41
jayjoI have a line like "debs [trusted=yes] file:///target/mnt/ubuntu-apt-repo/ debs/" and I am getting the error about a Release23:46
jayjo(which I actually don't have)23:46
jayjoI have a Packages.gz only23:46
xibalbahttps://www.qualys.com/2021/01/26/cve-2021-3156/baron-samedit-heap-based-overflow-sudo.txt23:47
ubot3Sudo before 1.9.5p2 has a Heap-based Buffer Overflow, allowing privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character: <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3156>23:47
sarnoldjayjo: hmmm, you *may* need that Release or InRelease file, I'm not 100% positive on that, but it feels plausible23:48
jayjois there a simple way to do that?23:50
jayjoMaybe not sign the file?23:50
sarnoldhow are you generating the packages.gz? does that same tool offer a way to generate the releases file?23:52
sarnoldeg apt-ftparchive has a 'release' subcommand23:52
jayjoI was using dpkg-scanpackages23:53
jayjolike this: https://stackoverflow.com/a/4142844523:54

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