[00:23] <Kamilion> Mat63: 'badblocks' does not work the same as it once did a decade and a half ago. Disks themselves have gotten SMARTer, and remap bad sectors internally up to a certain threshold. You can ask the drive how many sectors it's remapped with smartctl. Writing to a 'bad' block will cause the disk firmware to remap it.
[00:24] <Kamilion> For western digitals, the threshold is around a thousand bad sectors before the SMART tests will return 'failure'. For seagates and HGSTs, it's around 10000 bad sectors.
[00:36] <Prestige> I have an ubuntu server and I've added the universe repo, but I'm not seeing any universe packages when I apt search. I also ran apt update. Am I missing a step?
[00:38] <leftyfb> Prestige: what version of ubuntu are you running?
[00:40] <Mat63> I didn't know, I had my suspicions
[00:40] <Prestige> 18.04.4 bionic leftyfb
[00:41] <leftyfb> Prestige: what package are you not seeing?
[00:41] <Prestige> I'm attempting to install the universe version of neovim but only bionic is showing
[00:41] <Prestige> https://packages.ubuntu.com/groovy/neovim
[00:42] <leftyfb> Prestige: please pastebin the output from: sudo apt update ; sudo apt-cache policy neovim
[00:43] <Prestige> https://0x0.st/iw7e.txt
[00:44] <leftyfb> Prestige: please paste the entire thing
[00:44] <Sven_vB> I'd like to use a download program that unfortunately has rather bad proxy support, in that it will try to open lots of parallel connections, way more than my proxy can handle. Even worse, that downloader flinches when connections are rejected/closed prematurely. In the past I used another proxy in front that specializes in accepting incoming connections, limiting the number if outgoing connections, and keeping the excess incoming
[00:44] <Sven_vB> connections idle until a new slot for outgoing connections is available. In focal, can I achieve this limiting behavior on OS level somehow? E.g. making connect attempts block as long as the process (group) already has the maximum number of open network connections?
[00:46] <leftyfb> Prestige: it looks like you're running Ubuntu from openstack. I'm not sure if their repo's are different
[00:46] <leftyfb> Sven_vB: don't use that "download program"
[00:47] <cluelessperson> this is so annoying, onboard keeps randomly not responding
[00:47] <cluelessperson> and it prevents clicks all over the screen.
[00:47] <Sven_vB> leftyfb, I wish it was that easy. :D
[00:48] <leftyfb> Sven_vB: what program is it?
[00:50] <Sven_vB> before I put the blame, lemme verify if the latest version actually still has that problem. would be too nice if today is the day they finally fixed it.
[00:51] <Prestige> hmm dang
[01:39] <qid|ydl> at some point my lock screen stopped blanking/suspending my display so it just stays on all the time, even though it's still set to blank the screen after 15 minutes, any ideas how to troubleshoot this?
[01:44] <quadrathoch2> qid|ydl probably something that interferes with it
[01:44] <quadrathoch2> see what processes are running
[01:49] <qid|ydl> quadrathoch2: hmm, I found some stuck VLC processes still running in the background, that might have done it... that's what I get for using the snap version, I guess
[01:50] <quadrathoch2> sounds likely
[02:02] <qid|ydl> apparently this is actually a known VLC problem they've never bothered to fix... time to look for a replacement media player I guess
[03:17] <tatertotz> 0
[03:24] <Sven_vB> leftyfb, proxy thrashing confirmed for npm v6.14.6 with nodejs v12.18.3
[03:25] <WoC> where would you define serial consoles ?
[03:26] <WoC> ( things that used to be set in inittab )
[03:34] <Sven_vB> At least reading the old bug tickets again reminds me that npm leaves the connections open and idle when the download is done, so limiting new connections isn't even sufficient without killing idle ones.
[03:35] <Sven_vB> I guess installing the limiter proxy will be easier than teaching my netfilter some idlenes rules. meh.
[04:39] <WoC> Hmmm, no more chromium ?
[04:39] <WoC> I only see the snap version ;P
[04:44] <DarkTrick> How do I use ubuntu-bug for a package I don't know (All-application menu)
[04:44] <DarkTrick> ?
[04:45] <WoC> you can list all the packages installed using; dpkg -l
[04:46] <WoC> what kind of bug ?
[04:47] <DarkTrick> WoC: even if the package name is shown, I highly doubt, that i can recognize it
[04:47] <WoC> can you elaborate on that bug ?
[04:47] <DarkTrick> WoC, suggestion: "Softwaer & Updates" for "run it" and "configure it" look pretty much the same, with exactly the same letters. I suggest to add a gear for the settings one
[04:49] <WoC> aye, but that seems more like feedback than bug report (not that i disagree with you)
[04:49] <DarkTrick> WoC, so is there a better way to "announce" it?
[04:50] <WoC> the forums are usually a good place
[04:50] <DarkTrick> Discourse?
[04:50] <WoC> im sure there's a forums.ubuntu.com
[04:51] <DarkTrick> whats the difference?
[04:52] <WoC> good question, i havent been on the forums in quite some years
[04:52] <WoC> testing ubuntu on the arm powered laptop
[04:53] <WoC> and it seems like chromium is gone
[04:53] <WoC> only some snap version left
[04:54] <WoC> was hoping not having to build it from source, as it would take about 5-6 days
[04:55] <DarkTrick> lol? And I thought 8 hour for libre office was rough
[04:55] <WoC> only 4 GiB ram...
[04:56] <WoC> would probably be around 8h with a nvme disk
[04:59] <gnoob> you should be able to compile it on another machine?  WHen I used to run gentoo a long time ago i used  "distcc" not sure if it would help.
[05:01] <WoC> it's the only aarch64 i've got so far
[05:01] <WoC> otherwise i would try distcc
[05:02] <WoC> speaking of, have to reinstall the other two servers
[05:02] <yelowfish> any clamav users here?
[05:09] <tatertotz> yelowfish: clamav has it's own forums, chat rooms, mailing lists and documentation
[05:11] <daregap> morning, does anyone know how to use the kermit protocol in ubuntu to upload a firmware to a remote device? I'm on 20.04. ckermit doesn't exist in the repos, only gkermit package is available.
[05:12] <DarkTrick> WoC, thank you btw for your help!
[05:12] <DarkTrick> yelowfish, I'm not sure if I'm a user, but it's installed
[05:18] <WoC> np DarkTrick
[05:36] <Andrio> Do we know when Ubuntu 20.04.1 will be out?
[05:37] <tatertotz> in the future
[05:37] <Andrio> Touché.
[05:40] <Maik_aD> Andrio: https://wiki.ubuntu.com/FocalFossa/ReleaseSchedule
[05:41] <Maik_aD> 6th of August
[05:41] <Maik_aD> if you use 20.04 you already have 20.04.1
[05:42] <Andrio> Mm
[05:42] <Andrio> I was actually waiting for that release to upgrade from 19.10
[05:45] <Maik_aD> i see. Well, then stay on the unsupported version until August 6th. :)
[07:06] <chieta> # ps -ef | grep nanoroot      1839 30120  0 07:03 pts/4   00:00:00 nano .envhow to inspect where is the .env located? i've got the pid 1839
[07:11] <EriC^> chieta: perhaps strace -o 1839
[07:11] <EriC^> chieta: perhaps strace -p 1839
[07:15] <chieta> checking EriC^
[09:29] <Xtreme> hey guys, any free ukuu alternative?
[09:45] <barnex> Hello, I've installed ubuntu (16.04) on a pendrive on a win 10 and now my computer won't boot without said pendrive (as in win 10 won't boot). I think my error must have been not creating the efi partition on the pendrive? Any idea how to make windows fix its bootloader?
[09:56] <FrUbuntu> tomreyn Hi, just wanted to report back on the issue I've posted about yesterday, hoping it can be helpful to anyone facing it
[09:57] <FrUbuntu> Apparently, after following this guide http://iam.tj/prototype/enhancements/Windows-acpi_osi.html the problem seems to be solved. I only reboot once just after having modified the /etc/default/grub file and everything went fine
[10:02] <user217_> I get some strange rights to my folder: d?????????  ? ?          ?                 ?            ? FTP
[10:02] <user217_> can I fix this?
[10:13] <mihael_keehl> I have a package installed and its service run via `systemctl start service` but it is running under a certain user, and its configuration file is located under /etc which is only readable by root. How should I go about this?
[10:15] <oerheks> mihael_keehl, care to share what package/service?
[10:15] <oerheks> and what ubuntu version?
[10:15] <oerheks> ( you should start with this...)
[10:19] <oerheks> oh good
[10:30] <loxie> hi guys can anyone tell me what is an easy command to type to get both my public and private ip address (i want to get an ip to make a ssh connection first internally and once i have worked that out from the internet)
[10:34] <oerheks> loxie, there is no easy command for both.
[10:35] <loxie> what should i use for each
[10:35] <oerheks> for public/WAN; https://www.tecmint.com/find-linux-server-public-ip-address/
[10:36] <loxie> what about the client
[10:36] <loxie> ip a be okay
[10:36] <oerheks> ip a # for ip, systemd-resolve --status | grep Current # for dns
[10:37] <loxie> nice thank you
[10:37] <oerheks> have fun!
[10:37] <loxie> weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
[10:37] <loxie> i will
[10:38] <CoJaBo> I'm bracing for 4,000 of our customers to soon wake up, head into work, and find that all their customer records are meow.
[10:38] <loxie> rofl
[10:39] <oerheks> CoJaBo, oh dear, attack of an unprotected database crawler
[10:39] <oerheks> i hope you have backups..
[10:39] <oerheks> .. and a clue what went wrong
[10:40] <CoJaBo> oerheks: It depends on how meow it takes meow to notice their meow is all meow.
[10:40] <oerheks> dunno, i am a dog person
[10:40] <CoJaBo> oerheks: We only meow backups for meow days or so.
[10:41] <CoJaBo> We once had a restruant not notice their entire site got nuked, for 9 days. We only keep backups for 7 :/
[10:44] <oerheks> one gets what is paid for..
[10:45] <loxie> this is hillerious
[10:45] <CoJaBo> Yeh, it's always the cheapest plans that complain the most when they do dumb stuff
[10:46] <CoJaBo> In the restruant case tho, it was kinda like 1% our fault
[10:46] <CoJaBo> They mispelled the name of one of their beers, and it happened to match the name of an active paedophile ring
[10:47] <nuxil> o.O
[10:48] <oerheks> how is this related to ubuntu support?
[10:48] <CoJaBo> Technically, all our cheap plans are Ubuntu
[10:50] <nuxil> have anyone else had problems installng ubuntu 20.04 in virtualbox 6.1.12?  it gets stuck on copying files. checksum of iso if fine after download. it just wount install. i tried Lubuntu 19.10. it installed with no problems.
[10:51] <BluesKaj> 'Morning all
[11:00] <lambainsaan> Hey folks, is the 16.04 image hosted on dockerhub minimal ubuntu image? Article at [1] says that 18.04 hosted at dockerhub is minimal, but doesn't say anything about the 16.04 image. https://ubuntu.com/blog/minimal-ubuntu-released
[11:00] <lambainsaan> [1] https://ubuntu.com/blog/minimal-ubuntu-released
[11:01] <oerheks> yes, check http://cloud-images.ubuntu.com/minimal/releases/
[11:02] <oerheks> 21 jul 2020
[11:03] <lambainsaan> Oh okay thanks oerheks
[11:33] <zamba> what is the "best" central authentication method for linux? nis/yp is not used anymore?
[11:42] <tarzeau> zamba: ldap?
[11:42] <zamba> tarzeau: oh, that infamous protocol again :)
[11:42] <tarzeau> zamba: we switched from nis/yp like 5 or so years away (and hadn't used it for 10 years anymore)
[11:42] <tarzeau> zamba: that headache (some other friends to that stuff, i'm so glad)
[11:43] <zamba> slapd is still the goto implementation?
[11:43] <tarzeau> https://github.com/xvass/UserManager
[11:43] <tarzeau> no idea, probably, but i personally wouldn't mind using local passwd/groups and distributing them :)
[11:43] <tarzeau> how many users are you going to have?
[11:45] <zamba> 650+
[11:45] <tarzeau> and how many machines do you have?
[11:45] <zamba> we want to set up a load-balanced sftp/ftp service
[11:45] <zamba> so to begin with just 2, but it can increase
[11:46] <tarzeau> so no linux desktops? just a bunch of sftp users (really ftp? cleartext password?)
[11:46] <zamba> tarzeau: customer demand
[11:46] <zamba> so we support that for historic reasons
[11:46] <zamba> but ftp(e)s in that case
[11:46] <tarzeau> hardware/systems that only support ftp transfers?
[11:47] <tarzeau> not sure how you'd load balance ftp/sftp, with JBOD for both? or how do you make sure data is synced?
[11:48] <zamba> shared storage
[11:49] <zamba> probably nfs or similar
[11:49] <tarzeau> would be easier with just one but yeah
[11:53] <b100s> hi2all; is it possible to install Ubuntu on laptop which uses SSD in RAID mode? I found in Internet advice to switch SSD into AHCI mode to make disk visible to Ubuntu. Maybe there is a way to not switch it and use in RAID mode?
[11:53] <zamba> but probably not a pure load balancing system.. but more like a active/passive thing
[11:53] <zamba> so we can bring stuff up and down for maintenance
[11:57] <oerheks> b100s, no.
[12:01] <nuxil> b100s, assuming have two identical disks in your lappy. then it should be possible. maybe not hardware controlled raid. but atleast software raid, dmraid or something like that.
[12:03] <oerheks> no, only hw controlled raid.
[12:07] <nuxil> my OS disks have been in raid0 for almost 10 years now. ssd disks lol. i feel lucky i never had issues.
[12:18] <Rob_Jones> asked in a couple of channels but want to get opinions here too
[12:19] <Rob_Jones> in ubuntu how would you avoid a directory traversal attack if you have give a user ftp access
[12:33] <Rob_Jones> iis
[13:15] <iffraff> Hi, I have a new pair of jabra earbuds. My ubuntu 20.04 bluetooth does not "see" the device when in searches.  However it does see my old crapy earbud.  The new earbuds do connect to my phone no problem.  Both new earbuds and computer are bt 5.0
[13:16] <iffraff> I've tried messing around with bluetoothctl but it just doesn't pick them up
[13:23] <sub526> Can someone point me to any existing tools to run the performance tests on 2 different ubuntu kernel systems?
[13:28] <tatertotz> iffraff: are you chatting from the computer right now?
[13:28] <iffraff> tabakhase: yes
[13:28] <tabakhase> no
[13:28] <iffraff> oops  tatertotz yesa
[13:28] <nbusrone> hi , anyone know how to reduce the time for ubuntu os to shutdown ?
[13:29] <tabakhase> ;-)
[13:29] <iffraff> omg
[13:29] <zmagii> I would like ctrl+tab to switch between applications without showing thumbnails in the middle of my screen on Xfce. Is there a way to adjust it?
[13:29] <zmagii> On Gnome the behaviour that I want is the default.
[13:29] <tatertotz> iffraff: would you be able to attempt to pair the devices right now also?
[13:29] <iffraff> yes
[13:30] <nbusrone> hi , anyone  ?
[13:30] <tatertotz> iffraff: in terminal>     journalctl -f &> ~/nip.pir
[13:30] <tatertotz> iffraff: then try to pair the devices
[13:31] <iffraff> tatertotz: connect via gui or bluetoothctl
[13:31] <tatertotz> iffraff: gui
[13:31] <tatertotz> iffraff: confirm once you have completed attempting to pair
[13:32] <iffraff> ok, I did that but I forgot I'm in a state. I have blueman installed, even though 20.04 uses bluez.  should I uninstall that now?
[13:33] <tatertotz> iffraff: do nothing right now
[13:33] <nbusrone> how to control cpu fan speed ubuntu ?
[13:33] <tatertotz> iffraff: press CRTL+Z or CTRL+C in terminal
[13:33] <iffraff> ok, well, I entered you command and tired to connect, but the device did not show up
[13:33] <iffraff> ok
[13:34] <iffraff> done
[13:34] <tatertotz> iffraff: did other devices show up?
[13:34] <iffraff> yes
[13:34] <tatertotz> iffraff: do other devices show up
[13:35] <leftyfb> nbusrone: use jouralctl to look at the logs during the shutdown process https://wiki.archlinux.org/index.php/Systemd/Journal#Filtering_output
[13:35] <tatertotz> iffraff: you can't expect to connect to something that doesn't even show up
[13:36] <iffraff> yes, I know. ok, perhaps I was not specific enough. I mentioned it does not "see" the device.  it does pick up other devices though
[13:37] <nbusrone> leftyfb : due to ubuntu run on SSD which power off the pc too fast , bios get reset , it maybe motherboard issue or ubuntu miss a few signal to call for some shutdown component.
[13:37] <tatertotz> iffraff: the computer works with any other bluetooth device without issue, symptom is isolated to those specific ear buds/ that specific device
[13:37] <iffraff> Perhaps, but they connect to my phone right away
[13:37] <iffraff> both earbuds and my computer have BT 5.0
[13:40] <tatertotz> iffraff: the computer has successfully validated it's bluetooth capability as evident by successfully using any other device..with the exception of the one
[13:44] <iffraff> True, and the earbuds have done same by connecting with multiple other devices.  I mean I hear what you are saying.  But given the singular function of the earbuds as apposed to the many functions of ubunutu it seems to me that, the problem would reside in the os.
[13:51] <tatertotz> iffraff: have you any other PC to test with to further rule things out?
[13:52] <iffraff> well, yes, I have a pc running popos.  I could give that a try.  I'll do that and report back.
[13:52] <tatertotz> iffraff: iPhone/Android is a apples vs oranges comparison...so try with another PC ideally running GNU/Linux
[13:52] <BluesKaj> singular function, heh , all devices are singular
[13:53] <iffraff> tatertotz: popos is a linux os, I think it runs ubuntu undernieth.
[13:53] <tatertotz> iffraff: does it work on the other PC?
[13:54] <iffraff> BluesKaj: it's to early for me to care, but I think we are either defining "devices" differently or, I have to disagree.
[13:54] <iffraff> tatertotz: I'm heading over.
[13:54] <nbusrone> leftyfb : at the log do you see any unusual error ? https://pastebin.ubuntu.com/p/Hz73SmxJ8g/ it's too fast to turn off the pc.It only took 3 second turning off the pc.
[13:55] <BluesKaj> disagree all you want , still doesn't change the facts
[13:55] <nbusrone> leftyfb : I am sure is between 10-20 second would be fine , 1 second is too fast somehow , I plan to reduce the speed of power off the pc.
[13:56] <nbusrone> leftyfb : the unmount drive sdc is done manually by my self , that doesn't count.
[13:58] <iffraff> tatertotz: touche! same shit on the other laptop. Still seems strange that android has no problem but ubuntu does.
[14:11] <b100s> oerheks, nuxil not sure what kind of RAID it is. Is it software or hardware or it is something different? https://ibb.co/bzf1bV2
[14:12] <nbusrone> leftyfb : restart my pc again.
[14:19] <b100s> Maybe I need to build kernel with some options so it will recognize raid?
[14:24] <tatertotz> b100s: are you chatting from the computer right now?
[14:26] <b100s> tatertotz, yes. Why?
[14:26] <tatertotz> b100s: have you tried changing the sata operation mode in BIOS and then running the installer?
[14:27] <b100s> tatertotz, yes, sure. It will succeed. My question is about how to do it with current setup, with RAID
[14:28] <tatertotz> b100s: you have "fake raid" ...i'll assume you're on a vanilla laptop or desktop PC...
[14:29] <tatertotz> b100s: you will alter the sata operation in BIOS or you forfeit usage
[14:29] <tatertotz> b100s: fake windows raid found on average run of the mill laptops/desktops
[14:30] <b100s> tatertotz, yes, it's new dell latitude 5300. Why it is a "fake raid"? Any documentation on it?
[14:31] <tatertotz> some mod do that thing that makes that Ubuntu "bot" say the thing about "fake raid"
[14:32] <tatertotz> its some kinda thing you type in like !package  or something
[14:33] <tatertotz> !games-all
[14:33] <b100s> tatertotz, so what difference between fake raid and real one? why BIOS has such raid?
[14:33] <tatertotz> !fake raid
[14:34] <b100s> !sorry can't get it
[14:36] <tatertotz> b100s: on a search engine, use a query consisting of these keywords "fake raid"
[14:39] <b100s> oh, I see. There's even article about it: https://help.ubuntu.com/community/FakeRaidHowto
[14:42] <Napk1n> is there any risk to migrating a ubuntu server from hdd to ssd?
[14:42] <tatertotz> b100s: so in a nutshell...your PC is functioning as designed
[14:43] <tatertotz> Napk1n: there's always at least some risk...in just about anything
[14:44] <Napk1n> true and i will back up the data of course, but maybe a better question is, should i do a fresh install on the ssd and than migrate the database and files
[14:44] <Napk1n> or is it usually okay to migrate everything at once
[14:54] <b100s> okay, tatertotz , here is a good article about three types of RAID - software, fake and hardware - https://skrypuch.com/raid/ . However still not clear to me, why fake raid, enabling multiple OSes to use the same RAID, is not supported by linux but supported by windows? Or am I still missing something?
[15:00] <Mat63> Hi, are the CPUs getting stressed?
[15:03] <Mat63> By mistake I formatted a logical partition, how can I recover the files that were deleted? Another thing is that the format was ntfs and it was formatted to ext4, it is just a clarification.
[15:08] <nuxil> ouch
[15:09] <nuxil> if only the partition table was overwritten you can reconver. but since you formated the disk aswell. not sure how you go about doing it then.
[15:11] <nuxil> Mat63, there are lots of recovery tools for ntfs. google lists up a hole bunch. altho alot of them are payware.
[15:11] <Mat63> I have 90% percent backup of those files, but if I can get them back to see the rest
[15:13] <Mat63> nuxil: When you say "partition table" do you mean that the file system was changed from ntfs to ext3 / 4 etc ...? (True? )
[15:16] <nuxil> the partition table is "like a file". fixed size on your hd. it will contain info like partitions. size etc.
[15:18] <nuxil> if you overwire this you can still recover data realativly fine "not always".. but if you formated the ext4 partition with , 0's you might not get all data back.
[15:19] <nuxil> some quick formats. only changes the partition table. a full format usaly deletes all data.
[15:38] <HayashiEsme> Hello, question about mailing lists: are there formatters I can use to check if I'm fitting email thread styling? (i.e: soemthing that tells me I'm going past 76 characters, or something that assists me in writing "At 8pm +2GMT someone responded"/autoformats threads?)
[15:38] <Mat63> nuxil: When the Gparted program, for example, shows the partition there is a small volume of 1.5Mb that is still there.
[15:45] <nuxil> sorry i dont know what that is.
[15:46] <nuxil> have you read this article? https://ubuverse.com/recover-a-disk-partition-with-testdisk-and-gparted-live/
[15:48] <Mat63> yes
[15:57] <istvan> I'm running ubuntu 28.04 on a dell XPS. After an update, my internet access is very slow intermittently. Other devices on the same network do not experience the slowdown. My network configuration seems to have Netplan deferring to NetworkManager. As a first step, can I easily purge my network configurations and revert to the 18.04 defaults? I
[15:57] <istvan> haven't been able to find a way thus far.
[16:05] <leftyfb> istvan: 18.04 and 20.04 use the same networking
[16:10] <ocx32> hi all, i am trying to use bonding in ubuntu 20.04 and my network cards are not lighting up i get link down all the time, how can i disable bonding ?
[16:10] <ocx32> i changed the netplan config, and did netplan -aply
[16:10] <ocx32> it still doesnt work
[16:11] <ocx32> ifconfig command asks me to install the net utils package, but i cant reach the internet at this stage
[16:14] <ocx32> anyone ?
[16:15] <leftyfb> ocx32: you configured bonding but don't know how to unconfigure it?
[16:16] <ocx32> yea
[16:16] <ocx32> i configured it from the setup
[16:16] <leftyfb> put the config back to defaults
[16:16] <leftyfb> ocx32: https://ubuntu.com/blog/ubuntu-bionic-netplan
[16:17] <ocx32> is it normal for the network card not to ligh up
[16:17] <ocx32> when you have a bond ?
[16:29] <tomreyn> the interface LED would be lit when the link comes up, and traffic passes.
[16:34] <Dragonkeeper> anyone able to help with bridges ?  br0  has 2 interfaces on it  one gets dhcp fine, when i connect a device to the other its not getting dhcp,  i want it to get dhcp from router.
[16:36] <leftyfb> Dragonkeeper: why does br0 have multiple interfaces associated with it?
[16:37] <Dragonkeeper> because i only want those on the bridge leftyfb
[16:38] <leftyfb> Dragonkeeper: what version of ubuntu?
[16:38] <Dragonkeeper> 20.04
[16:39] <leftyfb> Dragonkeeper: can you pastebin your network config?
[16:39] <Dragonkeeper> https://paste.ubuntu.com/p/zRkYyXxdsk/ leftyfb
[16:41] <leftyfb> Dragonkeeper: your interfaces should be set up dhcp4: no
[16:41] <Dragonkeeper> except br0 ? leftyfb
[16:41] <leftyfb> correct
[16:42] <leftyfb> Dragonkeeper: also, make sure you have bridge-utils installed
[16:43] <leftyfb> Dragonkeeper: Unless those 2 interfaces have any sort of direct relationship, I would create a bridge for each interface
[16:44] <Dragonkeeper> hostapd handles wlx*  and 192 is the wan   so wlx needs to get dhcp from the bridge leftyfb
[16:45] <Dragonkeeper> still not getting dhcp with the change
[16:49] <leftyfb> Dragonkeeper: so you're trying to create a wireless hotspot? People connect to an ESSID associated with wlx and get onto the 192 network?
[16:49] <Dragonkeeper> correct
[16:50] <leftyfb> I'm not sure how to set that up. Something I've been meaning to play with though but haven't had the time
[16:51] <Dragonkeeper> ive done it the same way before but that was on a physical , im moving it to virtual and clearly i missing something
[16:52] <leftyfb> do you have bridge=br0 in your hostapd.conf?
[16:53] <leftyfb> interface=wlx*
[16:55] <Dragonkeeper> leftyfb: interface is wlx and bridge is set to br0
[16:55] <Dragonkeeper> i have also set ip4 forwarding to 1
[16:56] <Dragonkeeper> only main difference im seeing between to what i previously setup is now im using ubuntu server version :S
[17:09] <Guest_8> Hi, can someone give me a little advice on upgrading from hdd to ssd. I have encrypted the whole disk at installation. I think I want to remove the full disk encryption, to take advantage of the speed to boot quickly, do i need to do a fresh install or can i clone the disk?
[17:16] <tomreyn> Guest_8: full disk encryption won't really noticably harm boot time. certainly not if you're coming from a hdd
[17:17] <leftyfb> Guest_8: the only noticeable difference in speed is typing in the passphrase.
[17:18] <tomreyn> sure, you'll need to enter the passphrase, still. but if the rest of the hardware is not fully outdated, you'll just enter this within 5 seconds of booting
[17:18] <Guest_8> OK then i might as well retain it. what is the best way to clone the disk? If i use the disk application to clone the indvidual partitions on to the new drive?
[17:18] <tomreyn> uefi or bios booting?
[17:19] <Guest_8> bios I believe.
[17:19] <tomreyn> echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
[17:19] <Guest_8> its an old thinkpad so its not super up to date
[17:19] <Guest_8> BIOS
[17:20] <tomreyn> does the ssd have enough capacity to fit the original data?
[17:20] <tomreyn> i.e. all partitions, as they were
[17:20] <Guest_8> yes. 500gb hdd replaced by 500gb ssd
[17:21] <Guest_8> drive has spare space as well not a lot but about 60 GB
[17:21] <tomreyn> that's not "yes", that's "maybe"
[17:21] <tomreyn> is the spare space to the end?
[17:21] <Guest_8> Im not sure how to answer
[17:22] <tomreyn> sudo fdisk -l /dev/sda | nc termbin.com 9999
[17:22] <tomreyn> that's assuming sda is the hdd you're replacing
[17:22] <Guest_8> there are several partitions.
[17:23] <Guest_8> Partition 2 does not start on physical sector boundary.
[17:24] <tomreyn> neither answers the question about spare unallocated capacity to the end of the partition table.
[17:24] <Guest_8> there is a boot partition, then there is a 499gb partition that is encrypted so in Disks app it shows as 3 partitions "extended, "LUKS" and "GB LVM2 PV"
[17:25] <Guest_8> and 1.1mb free space
[17:26] <tomreyn> and the unallocated space is where?
[17:26] <tomreyn> those 60 GB
[17:27] <tomreyn> in the PV? if so, then it's not actually unallocated from a partition table POV.
[17:27] <tomreyn> sudo pvs    would tell
[17:27] <Guest_8> oh it is not unallocated, it is free space on the encrytped partition.
[17:27] <tomreyn> actually    sudo vgs
[17:28] <Guest_8>   VG        #PV #LV #SN Attr   VSize    VFree   ubuntu-vg   1   2   0 wz--n- <465.03g 20.00m
[17:29] <tomreyn> 20 MB free, so it's not there
[17:30] <tomreyn> maybe you mean that a file system has 60 GB free space.
[17:30] <tomreyn> df -h    would say so.
[17:30] <Guest_8> yes free space on the encrytped partiton there is not unallocated space for a partition
[17:31] <Guest_8> Filesystem                   Size  Used Avail Use% Mounted onudev                         1.8G     0  1.8G   0% /devtmpfs                        363M  2.0M  361M   1% /run/dev/mapper/ubuntu--vg-root  456G  400G   33G  93% /tmpfs                        1.8G   21M  1.8G   2% /dev/shmtmpfs                        5.0M  4.0K  5.0M   1% /run/locktmpfs
[17:31] <Guest_8> 1.8G     0  1.8G   0% /sys/fs/cgroup/dev/loop5                   256M  256M     0 100% /snap/gnome-3-34-1804/36/dev/loop6                   2.3M  2.3M     0 100% /snap/gnome-system-monitor/148/dev/loop0                   119M  119M     0 100% /snap/audovia-classic/2/dev/loop12                  256K  256K     0 100%
[17:31] <Guest_8> /snap/gtk2-common-themes/13/dev/loop2                    97M   97M     0 100% /snap/core/9665/dev/loop7                   256M  256M     0 100% /snap/gnome-3-34-1804/33/dev/loop11                  162M  162M     0 100% /snap/gnome-3-28-1804/128/dev/loop10                  161M  161M     0 100% /snap/gnome-3-28-1804/116/dev/loop13
[17:31] <Guest_8> 256K  256K     0 100% /snap/gtk2-common-themes/9/dev/loop4                    55M   55M     0 100% /snap/core18/1880/dev/loop8                   2.3M  2.3M     0 100% /snap/gnome-system-monitor/145/dev/loop3                    55M   55M     0 100% /snap/core18/1754/dev/loop1                    97M   97M     0 100% /snap/core/9436/dev/loop9
[17:31] <Guest_8> 134M  134M     0 100% /snap/fugio/515/dev/loop14                   55M   55M     0 100% /snap/gtk-common-themes/1502/dev/loop15                   63M   63M     0 100% /snap/gtk-common-themes/1506/dev/loop16                  5.9M  5.9M     0 100% /snap/htop/1207/dev/loop17                  5.9M  5.9M     0 100% /snap/htop/1222/dev/loop18
[17:31] <Guest_8> 174M  174M     0 100% /snap/musescore/165/dev/loop22                   67M   67M     0 100% /snap/riot-web/76/dev/loop20                   40M   40M     0 100% /snap/musikcube/2/dev/loop23                   69M   69M     0 100% /snap/riot-web/96/dev/loop28                   16M   16M     0 100% /snap/wormhole/112/dev/loop24                   40M
[17:31] <Guest_8> 40M     0 100% /snap/pd-ceammc/86/dev/loop26                  768K  768K     0 100% /snap/trx-audio/8/dev/loop25                   44M   44M     0 100% /snap/snap-store/415/dev/loop27                   87M   87M     0 100% /snap/simplescreenrecorder/1/dev/loop21                   42M   42M     0 100% /snap/pd-ceammc/87/dev/loop19
[17:31] <tomreyn> !paste | Guest_8: you just got silenced by Drone for spamming the channel. this will last a few minutes.
[17:32] <tomreyn> so i'll assume you have 60 GB free on a file system that sits on top of LVM2, which is on top of a dmcrypt-LUKS encrypted partition
[17:34] <tomreyn> and you can speak again.
[17:34] <Guest_8> I can?
[17:34] <Guest_8> ahh thanks
[17:35] <tomreyn> if you already have the new ssd, you could check what its capacity in bytes is, and then you could see whether its larger or less than the hdd. if it's some bytes larger, you could just copy the full hdd to the ssd as it is, then power off and disconnect the hdd, then boot and instruct the bios to boot off the ssd.
[17:35] <tomreyn> if, however, the ssd is slightly smaller than the hdd, you'll need to shrink something before copying, or you may have data loss
[17:36] <Guest_8> how do i test this? in disks this appears to be the same, exactly which I guess may not be reliable
[17:36] <Guest_8> i have the ssd here plugged in
[17:37] <tomreyn> compare the size in bytes given in    fdisk -l   output for both disks
[17:37] <tomreyn> i'm not too good with the gui tools, and generally prefer doing partitioning and such fundamental tasks on a terminal, where you also get proper error messages
[17:39] <Guest_8> yeah it is the best way, I am just learning, but commandline ftw
[17:39] <Guest_8> this is the output needed? Disk /dev/sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
[17:40] <tomreyn> right, and the same for the other disk
[17:40] <tomreyn> and then you'll need to tell which is which
[17:40] <Guest_8> original disk Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
[17:41] <tomreyn> so thats indeed identical, or so they claim. ;)
[17:41] <Guest_8> can i clone the whole thing then with DD?
[17:41] <tomreyn> yes.
[17:41] <tomreyn> but i forgot to mention that on an ssd it's wise to keep 10% unpartitioned / unallocated
[17:41] <tomreyn> you don't have to, though.
[17:41] <Guest_8> oh, ok why is that?
[17:42] <tomreyn> it provides the ssd firmware with more sectors to juggle data around to prevent wear leveling
[17:42] <tomreyn> you'd not need to do fstrim then, or much less
[17:43] <Guest_8> can I shrink a partition on the original disk then before cloning with dd?
[17:43] <tomreyn> not easily with your setup. i think the easiest for you is reall yjust to dd
[17:44] <Guest_8> most of the data on it, a good 300 gb i want to remove off the disk once it is set up, and put it on the hdd that is coming out of the laptop
[17:45] <Guest_8> whats fstrim?
[17:45] <tomreyn> and then reinstall the hdd, or install it elsewhere?
[17:45] <Guest_8> not reinstall it. just have it as a external hdd
[17:46] <Guest_8> its media, music, audiobooks and books, so i dont want to delete it, but I dont need access to it all the time,
[17:46] <tomreyn> fstrim is file system TRIM, a way for the operating system to inform the storage firmware which parts of the storage are not being used at this time (wven though they are part of the space spanned by a partition)
[17:47] <Guest_8> will this keep the same encryption passcode and key?
[17:47] <tomreyn> yes
[17:48] <tomreyn> just ignore what i said about fstrim, it deviates from the task at hand
[17:49] <tomreyn> i still think you'll be fine with just the dd, with all you told so far.
[17:49] <Guest_8> so something like dd if=/dev/sda of=/dev/sdb ? i will have a read of the manual before i do it but just wanted to make sure i wasn't going to screw anything up
[17:52] <tomreyn> i'd add     bs=8192 status=progress
[17:53] <Guest_8> ok bs is the block size? why 8192 ? just curious as i was going to put 4096 as the output of the previous commands gave
[17:53] <Guest_8> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
[17:54] <Guest_8> for the new ssd
[17:55] <tomreyn> 8192 = 8M   -> how much data to process in each read/write step.
[17:55] <Guest_8> more is better?
[17:55] <rfm> more is faster
[17:56] <tomreyn> to a certain degree only
[17:56] <tomreyn> i don't know how to measure the optimal size, but there's scripts for it, and it's hardware specific.
[17:56] <tomreyn> but 4M or 8M usually work fine
[17:57] <tomreyn> also add this to dd    conv=notrunc,noerror
[17:58] <tomreyn> to not truncate the target (without error), but to continue the process when experiencing read errors.
[17:59] <seanbright> somewhere between bionic and focal i lost color output and completion after running 'sudo -s'
[17:59] <seanbright> anyone know an easy way to restore that?
[18:01] <Guest_8> ok the output of fdisk -l that you gave me before said that optimal blocksize for that drive is 4096 should i ignore that as that is not likely correct as you said there were scripts etc and hardware dependent, i guess that is a generic number based off some value of hdd space or format but go with 8196
[18:02] <tomreyn> seanbright: if the shell is bash, this may work:   sudo sed -i 's;^#force_color_prompt=yes;force_color_prompt=yes;' /root/.bashrc
[18:04] <Guest_8> tomreyn: hwo did you learn this? I find it interesting, but as I dont often need to do things like this I dont develop a skill, even doing it a couple of times doesnt really cement it as understanding
[18:04] <tomreyn> Guest_8: the bs parameter does not define the block size on the target device. the partition table does.
[18:04] <torniq> I did a 18->20 upgrade and it kicked out my networking.  Any ideas?
[18:04] <Guest_8> ah ok that makes sense.
[18:05] <tomreyn> Guest_8: i'm always still struggling myself, but may have done it a few more times than you did ;-)
[18:05] <seanbright> tomreyn: will give it a shot - looks like 'sudo -i' fixes the completion problem at minimum - i guess i've been using sudo wrong for a while?
[18:06] <tomreyn> seanbright: depends on what's right or wrong for you, but sudo -i  would be the most common approach to become root on ubuntu.
[18:06] <Guest_8> Ive never read the manual for sudo, I could also be using it incorrectly.
[18:06] <seanbright> tomreyn: roger that. thank you.
[18:06] <tomreyn> !yy.mm | torniq
[18:07] <tomreyn> !details | torniq
[18:08] <torniq> I'm upgrading from 18.04 to 20.04.  During the upgrade, the network kicked out.  Now the only way I can connect is via KVM.  I'm on there, and i don't see any firewall entries running.  Networking will not work.  I'm not sure why
[18:10] <tomreyn> "firewall entries running" refers to iptables logs in dmesg?
[18:10] <torniq> iptables is clean, ufw is disabled
[18:11] <tomreyn> yre you using network-manager, systemd-networkd, or iproute so network configuration?
[18:12] <tomreyn> and are you using netplan?
[18:12] <tomreyn> yre->are
[18:14] <torniq> ah, it kicked out my networking.. i connected via kvm, and noticed a screen session.  Screen -r  attached me to the do-upgrade-* thing.  It was at a prompt about remove packages and reboot.  Hopefully it'll come back up with networking
[18:16] <torniq> nope, I broke networking.
[18:17] <torniq> "eno1: could not set route: nexthop has invalid gateway."
[18:20] <tomreyn> this could be bug 1860926 - which has since been solved
[18:20] <tomreyn> admittedly that doesn't help you miuch now if you have no networking and didn't upügrade to a version that's fixed
[18:21] <tomreyn> maybe this is more easily readable: https://askubuntu.com/questions/1234733/ubuntu-20-04-netplan-bridge-interface-fails-at-boot
[18:24] <torniq> ah this sounds like the issue.
[18:34] <torniq> tomreyn, i'm at a loss as to how to get around this
[18:35] <tomreyn> torniq: provide the system with some other means up network connectivity, run updates
[18:36] <tomreyn> * means of
[18:36] <tomreyn> i.e. not bridged
[18:41] <tomreyn> torniq: actually the bug report seem to suggest you just need to restart systemd-networkd
[18:41] <tomreyn> i didn't read all of it, yet, and still haven't
[18:42] <tomreyn> alternatively,  add      @reboot /usr/sbin/netplan apply     to the system crontab
[18:42] <tomreyn> this should just be neede duntil the system is fully updated
[18:43] <tomreyn> i'm assuming your systemd package version is < 245.4-4ubuntu3.1  at this point
[19:20] <torniq> tomreyn, for my specific issue, i had /etc/netplan and /etc/system/network.  I removed the netplan config, and things started to work.  Moved the secondary ip settings from netplan over to systemd-networkd, and those ips listened.  I'm all good.  Thank you
[19:21] <tomreyn> you're welcome
[19:21] <tomreyn> glad you worked it out
[19:24] <tomreyn> torniq: had you checked your systemd version?
[19:24] <torniq> `systemd 245 (245.4-4ubuntu3.2)
[19:25] <tomreyn> that's before or after you got it to work?
[19:26] <tomreyn> grep -F 245.4-4ubuntu3.2 /var/log/apt/history.log
[19:26] <torniq> after
[19:26] <tomreyn> so i assume that before that you still had < 245.4-4ubuntu3.1
[19:26] <tomreyn> otherwise maybe another bug report would be needed
[19:27] <tomreyn> or we could try to consider you a corner case ;)
[19:28] <torniq> no hit on that, so i must be a corner case
[19:29] <torniq> cue ball in the corner pocket off the 8 ball ftl
[19:45] <Buttersnot> Any sendmail expert? One of our server was configured to sendmail via gmail.  I am trying to find the configuration for this and so far unsuccesful. No postfix config anyere, no sendmail.cf anywhere. In /etc I see a mail directory, but only stock files, no modified config.
[19:45] <Buttersnot> Is there a way I can "ask" sendmail where it's getting its configuration from ?
[19:46] <ioria> sometimes sendmail is a 'fake' sendmail
[19:48] <leftyfb> Buttersnot: what version of ubuntu?
[19:49] <Buttersnot> 19.10
[19:49] <tomreyn> !19.10
[19:49] <leftyfb> Buttersnot: sudo egrep -Ri "gmail|google" /etc/
[19:50] <leftyfb> Buttersnot: also, yeah, time to upgrade. You really shouldn't put critical services on a non-LTS release unless you plan on upgrading it every 9 months
[20:01] <Buttersnot> Leftyfb: This is something i'm taking over. I agree with you for the non-LTS.  Currently, most of this particular server is being migrated to a 20.04.
[20:02] <Buttersnot> Leftyfb: So the egrep command returned a bunch of results.. I'll go through those and see if I can find the proper config info. Much appreciated!!
[20:09] <Buttersnot> leftfb: No luck.. any other idea?
[20:10] <tomreyn> how do you know those weren't the ones?
[20:11] <Buttersnot> tomreyn: talking to me?
[20:11] <tomreyn> Buttersnot: yes
[20:13] <tomreyn> and is it really sendmail running there, or something just providing a sendmail interface (emulation)?
[20:13] <Buttersnot> I went through the results and looked at them. A lot of them were "fonts", a few were binary files, there was actually no config files related to sendmail
[20:13] <Buttersnot> (or anything "mail" for that matter)
[20:15] <leftyfb> Buttersnot: is there a docker container?
[20:15] <leftyfb> or even an lxd container
[20:15] <Buttersnot> nope
[20:15] <tomreyn> dpkg -S $(which sendmail)
[20:16] <leftyfb> Buttersnot: sudo lsof -i :25   # also try 587 or 465
[20:17] <Buttersnot> tomreyn:  no path found matching pattern /usr/sbin/sendmail
[20:17] <leftyfb> Buttersnot: if you do not get a response from lsof on any of those ports, there is no service acting as an MTA or relay
[20:17] <Buttersnot> leftyfb: sendmail- 1259 root    5u  IPv4  25526      0t0  TCP localhost:smtp (LISTEN)
[20:18] <leftyfb> it's a start
[20:18] <Buttersnot> sendmail- 1259 root    6u  IPv4  25527      0t0  TCP localhost:submission (LISTEN)
[20:18] <Buttersnot> nothing on 465
[20:18] <tomreyn> ps ef 1259
[20:19] <leftyfb> ps -ef |grep 1259
[20:19] <Buttersnot>  1259 ?        Ss     1:10 sendmail: MTA: accepting connections
[20:19] <Buttersnot>  ps -ef |grep 1259
[20:19] <Buttersnot> root      1259     1  0 Jul03 ?        00:01:10 sendmail: MTA: accepting connections
[20:19] <Buttersnot> real      6274 24598  0 19:26 pts/2    00:00:00 grep --color=auto 1259
[20:19] <leftyfb> Buttersnot: type -a sendmail
[20:20] <Buttersnot> sendmail is /usr/sbin/sendmail
[20:20] <tomreyn> it exists, but is not part of an ubuntu package
[20:20] <tomreyn> so someone placed it there manually, i guess
[20:21] <leftyfb> gross
[20:21] <tomreyn> soemone or something
[20:22] <leftyfb> Buttersnot: sudo lsof | grep sendmail
[20:22] <Buttersnot> well, the reason why I assumed sendmail was configured is that my understanding is that php mail() uses sendmail according to what I saw on google.  And I know that php mail() is working as I could test that. I just don't know what server it's actually using to send emails.
[20:22] <Buttersnot> leftfb: that last command returned a screenful of path/filenames
[20:23] <leftyfb> Buttersnot: or sudo lsof | grep etc   # see if anything mail related pops out
[20:24] <tomreyn> maybe search the web for the various checksums of /usr/sbin/sendmail also
[20:24] <leftyfb> Buttersnot: also: ls -l /usr/sbin/sendmail # see if it's a link to something else
[20:25] <tomreyn> oh right i forgot readlink
[20:25] <tomreyn> could be /etc/alternatives handled
[20:25] <Buttersnot> leftfb: first command returned the following:
[20:25] <Buttersnot> sudo lsof | grep etc
[20:25] <Buttersnot> sudo       6313                            root  cwd       DIR                8,1     4096   24642366 /etc/mail/smrsh
[20:25] <Buttersnot> grep       6314                            real  cwd       DIR                8,1     4096   24642366 /etc/mail/smrsh
[20:25] <Buttersnot> lsof       6318                            root  cwd       DIR                8,1     4096   24642366 /etc/mail/smrsh
[20:25] <Buttersnot> lsof       6319                            root  cwd       DIR                8,1     4096   24642366 /etc/mail/smrsh
[20:25] <Buttersnot> bash      24598                            real  cwd       DIR                8,1     4096   24642366 /etc/mail/smrsh
[20:26] <leftyfb> !paste | Buttersnot
[20:26] <tomreyn> you just got muted for some minutes, Buttersnot, it'll expire automatically in a bit
[20:29] <Buttersnot> https://paste.ubuntu.com/p/qPcfKkvW3d/
[20:30] <leftyfb> I'm not familiar with smrsh but go take a look at it
[20:30] <Buttersnot> There is a /etc/alternatives directory. mostly .gz files
[20:30] <tomreyn> http://manpages.ubuntu.com/manpages/eoan/man8/smrsh.8.html
[20:31] <tomreyn> i guess there could be a good forwarding in a users' home directory, or in a chroot *somewhere*
[20:31] <tomreyn> err "gmail", not "good"
[20:31] <tomreyn> i need to have my brains checked
[20:32] <leftyfb> this is why I mentioned docker, but the PID doesn't agree
[20:34] <tomreyn> maybe get all the HOME's from passwd    getent passwd | cut -d: -f6     and look through them
[20:34] <Buttersnot> That /etc/mail/smrsh contains 2 links: one to /usr/lib/sm.bin/mail.local and one to /usr/bin/procmail
[20:40] <Buttersnot> tomreyn: what should I be looking for in those /home directories?
[20:40] <tomreyn> Buttersnot: the google / gmail configuration
[20:41] <tomreyn> Buttersnot: it could be a procmail filter, for example
[20:41] <tomreyn> Buttersnot: but since we don't even know what's this sendmail binary you have there, it could also be a custom sendmail build which just sends everything or something matching something to gmail
[20:42] <tomreyn> or maybe it's an ssh daemon which also pretends to be sendmail.
[20:43] <Buttersnot> hmmm ok.. I know there's also a wordpress install on that server (which is the active intranet) where there are a few forms that send results via email, but I'm not sure how that's configured either. Haven't made it that far yet..
[20:43] <tomreyn> you can configure php to tell you (log) which script sent something
[20:46] <tomreyn> i think you do so by reconfiguring the "sendmail_path" php configuration
[20:46] <Buttersnot> I know there is also this file I came across that is functional. I can change the from/to emails for anything (valid) and it works. https://paste.ubuntu.com/
[20:46] <Buttersnot> I changed the actual email address domain to "mydomain.com"
[20:47] <Buttersnot> but if I use our domain, it does work
[20:47] <leftyfb> Buttersnot: if it were me, setup a 20.04 lxd container with postfix and slowly migrate everything to use that to send email instead
[20:49] <Buttersnot> yea, that might be a better option.. this chase for the current config doesn't seem to go anywhere at this point.  I was just hoping there was a way to somehow ask sendmail to display it's configuration..
[21:22] <odium> I need to make a bootable iso or img on a jumpdrive or dvd and cant seem to from bsd can someone help?
[21:24] <Bashing-om> odium: You will likely get a response in the ##linux channel using bsd. :D
[21:57] <Guest_47> Hey guys, anyone know how I can modify kernel parameters on Ubuntu 20.04 with ZFS on root?
[21:57] <Guest_47> update-grub doesn't seem to work with this configuration
[22:00] <Guest_47> was hoping to a windows 10 vm with gpu passthrough so i can play cod warfare with a friend
[22:04] <gnoob> Oh man, running windows in a VM and then a game on top of that I would imagine will be killer on performance.
[22:06] <gnoob> Guest_47: Can you try WINE?  Is this it? https://appdb.winehq.org/objectManager.php?iId=12804&sClass=version
[22:06] <gnoob> says "GOLD"
[22:18] <chieta> is this box shutdown because of the unattended upgrades https://bpa.st/THTA ?
[22:57] <Spiffdaddy> i'm about 98% sure the answer is no, but is there any way to reverse LVM disk encryption after an install of ubuntu server 20.04 ?   I've got a headless server and I can't SSH to it if i reboot the thing because it requires me to type in the password.  Just a bad decision during installation.
[22:58] <Spiffdaddy> pretty sure i'll have to reinstall..
[22:59] <mason> Spiffdaddy: If you used a mirror you can migrate off one half at a time. If not, it's probably easier to back up / reinstall.
[23:01] <tds> Spiffdaddy: you'd want to test the exact config in a vm - but assuming you mean LUKS by "lvm disk encryption", you could use a key file, drop that into the initramfs, and then have it automatically use that key on boot
[23:04] <Spiffdaddy> @tds I read that but won't the boot loader still require a password ?
[23:05] <tds> is your /boot encrypted as well?
[23:13] <aaaaaa> Hi all. Ubuntu 20. No X Windows. Default 6 text consoles. How to change their number? Add more? Remove? I edited /etc/default/console-setup but no luck
[23:16] <quadrathoch2> aaaaaa I guess you would need to explain it better what the situation is, and what you want at the end
[23:16] <aaaaaa> quadrathoch2: I want 7 consoles instead of 6
[23:17] <thegnat> hello
[23:18] <thegnat> anyone getting screen tearing in ubuntu 20.04 with 125% zoom?
[23:18] <quadrathoch2> thegnat we need more info than that
[23:18] <thegnat> 14 laptop
[23:18] <Spiffdaddy> @tds I don't believe so.  I don't see .encryptfs
[23:18] <Some_Person> How in the world do I get Ubuntu installed alongside Windows on this mess of a disk? https://i.imgur.com/2Yv4ScT.png
[23:18] <Spiffdaddy> in /boot
[23:18] <thegnat> with intel uhd 620
[23:19] <quadrathoch2> aaaaaa there should be even more? as ubuntu server should have f1-f12
[23:19] <aaaaaa> quadrathoch2: I have Ubuntu desktop
[23:19] <thegnat> Some_Person don't you need to right click unallocated at then choose new, then choose ext4 partiotion
[23:19] <thegnat> that was what I did
[23:20] <Some_Person> thegnat: I don't think Ubuntu will fit in that tiny 1.34 MiB space
[23:20] <thegnat> ohh
[23:20] <Spiffdaddy> @tds it was a vanilla install with the disk encryption selected at that time
[23:20] <thegnat> didn't see that
[23:20] <quadrathoch2> aaaaaa ahh, sorry, then I can't help you. don't know how I could even attempt that
[23:20] <thegnat> Some_Person First you need a bigger drive
[23:21] <thegnat> https://askubuntu.com/questions/16988/how-do-i-install-ubuntu-to-a-usb-key-without-using-startup-disk-creator/942312#942312
[23:21] <thegnat> use this someperson
[23:21] <aaaaaa> quadrathoch2: thanks anyway
[23:23] <Some_Person> I know how to boot the Ubuntu installer. I'm confused as to why the hell my Windows 10 install has so many damn partitions, including a tiny one at the end
[23:23] <leftyfb> Some_Person: try #windows
[23:24] <tomreyn> Spiffdaddy: http://manpages.ubuntu.com/manpages/focal/en/man8/cryptsetup-reencrypt.8.html see --decrypt
[23:25] <quadrathoch2> Some_Person do you mean the few mbs at the end of the partition? that's mostly probably for drivers/backup/restore things. but that's not what windows normally does
[23:27] <tomreyn> Spiffdaddy: you mentioned ".encryptfs" above. a different storage encryption than dmcrypt-LUKS (which so far we seem to have assumed you have used, and I still do) is, or was, ecryptfs, which created a directory .ecryptfs on encrypted file systems. but this is file system encryption, unlike dmcrypt-LUKS, which is a block device encryption layer.
[23:28] <Some_Person> quadrathoch2: https://i.imgur.com/2Yv4ScT.png
[23:29] <Spiffdaddy> tomreyn:  yeah, i wasn't really sure so i looked up how to check, that's one way I found.  bear with me.
[23:29] <Spiffdaddy> i'm checking out cryptsetup-reencrypt --decrypt
[23:30] <Spiffdaddy> at this point, the server isn't fully established and only spent time getting wifi up, so i could do a fresh install if it warranted it, but would rather not.
[23:31] <tomreyn> Spiffdaddy: i haven't worked with it post release, but it very much doubt that the 20.4 server installer supports (or defaults to, for storage encryption) ecryptfs, it's indeed much more likely to be dmcrypt-luks.
[23:31] <Spiffdaddy> how can i check?
[23:32] <tomreyn> ls /dev/mapper/*_crypt
[23:32] <tomreyn> that's not a proper check, but a simple test giving a good hint
[23:33] <tomreyn> if it returns something, you most likely have dmcrypt-luks encrypted devices (at the partitions / disks indicated)
[23:34] <Spiffdaddy> may I copy & paste here ?
[23:34] <tomreyn> cat /etc/crypttab     should also help
[23:34] <tomreyn> !paste
[23:35] <Spiffdaddy> thank you, that's what i thought.  standby.
[23:36] <Spiffdaddy> https://paste.ubuntu.com/p/Q6xp9h2gtj/
[23:38] <Mat63> Hello, is there any program in ubuntu that when copying, many pdf files, in a usb memory, check each folder that exists in the destination and check if the same file exists?
[23:39] <tomreyn> Spiffdaddy: you missed the underscore in     ls /dev/mapper/*_crypt     but the resulting output means you have an encrypted devices handled by device mapper. is this a fakeraid?
[23:44] <tomreyn> Spiffdaddy: maybe the new installer is just picking different names than the old one, so ignore my question. but what does this return (no need for pastebin for one line of output)?   ls -lah /dev/disk/by-uuid/2847df3b-7c0d-4c6b-ba5a-cf18cd740a75
[23:44] <Mat63> It turns out that I retrieve my pdf library, and I have some repeats in the destination, that the only space available, in addition to this is an order by subject of the books in individual folders, so the problem is that I can't paste the 2000 pdfs because I don't there is room to repeat files. So with a program that checks if there are repeated
[23:44] <Mat63> files I will only copy the missing ones
[23:49] <eelstrebor> what is this google container engine and why is it installed on linux?
[23:51] <Mat63> lol
[23:51] <Mat63> No friend, it's a little complicated what happened to me, that's why I wanted to ask here first
[23:53] <Mat63> If you don't know, say it
[23:53] <Spiffdaddy> tomreyn: ls -lah /dev/disk/by-uuid/2847df3b-7c0d-4c6b-ba5a-cf18cd740a75
[23:53] <Spiffdaddy> lrwxrwxrwx 1 root root 10 Jul 27 22:41 /dev/disk/by-uuid/2847df3b-7c0d-4c6b-ba5a-cf18cd740a75 -> ../../sda3
[23:54] <Mat63> if there is such a program on ubuntu then say so
[23:55] <tomreyn> Spiffdaddy: so sda3 probably contains a dmcrypt-luks layer. you can confirm this by (don't share this output):    sudo cryptsetup luksDump /dev/disk/by-uuid/2847df3b-7c0d-4c6b-ba5a-cf18cd740a75
[23:57] <gnoob> Mat63: there are commands that should do that.  I am not sure what they are off the top of my head.
[23:57] <gnoob> is it "rsync"
[23:57] <Spiffdaddy> tomreyn: yes it returns a LUKS header information
[23:58] <Mat63> Genial
[23:58] <Mat63> great
[23:58] <tomreyn> Spiffdaddy: so this confirms that /dev/sda3 contains a dmcrypt-LUKS block device layer.
[23:59] <Mat63> Thanks friends
[23:59] <tomreyn> eelstrebor: if you have questions about google products, i suggest asking in #google (or maybe it's ##google, i forgot)