=== satanist is now known as keksdoses-alexa === keksdoses-alexa is now known as satanist [00:23] 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] 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] 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] Prestige: what version of ubuntu are you running? [00:40] I didn't know, I had my suspicions [00:40] 18.04.4 bionic leftyfb [00:41] Prestige: what package are you not seeing? [00:41] I'm attempting to install the universe version of neovim but only bionic is showing [00:41] https://packages.ubuntu.com/groovy/neovim [00:42] Prestige: please pastebin the output from: sudo apt update ; sudo apt-cache policy neovim [00:43] https://0x0.st/iw7e.txt [00:44] Prestige: please paste the entire thing [00:44] 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] 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] Prestige: it looks like you're running Ubuntu from openstack. I'm not sure if their repo's are different [00:46] Sven_vB: don't use that "download program" [00:47] this is so annoying, onboard keeps randomly not responding [00:47] and it prevents clicks all over the screen. [00:47] leftyfb, I wish it was that easy. :D [00:48] Sven_vB: what program is it? [00:50] 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] hmm dang === zbenjamin is now known as Guest67034 === zbenjamin_ is now known as zbenjamin [01:39] 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] qid|ydl probably something that interferes with it [01:44] see what processes are running [01:49] 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] sounds likely [02:02] 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] 0 [03:24] leftyfb, proxy thrashing confirmed for npm v6.14.6 with nodejs v12.18.3 [03:25] where would you define serial consoles ? [03:26] ( things that used to be set in inittab ) [03:34] 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] I guess installing the limiter proxy will be easier than teaching my netfilter some idlenes rules. meh. [04:39] Hmmm, no more chromium ? [04:39] I only see the snap version ;P [04:44] How do I use ubuntu-bug for a package I don't know (All-application menu) [04:44] ? [04:45] you can list all the packages installed using; dpkg -l [04:46] what kind of bug ? [04:47] WoC: even if the package name is shown, I highly doubt, that i can recognize it [04:47] can you elaborate on that bug ? [04:47] 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] aye, but that seems more like feedback than bug report (not that i disagree with you) [04:49] WoC, so is there a better way to "announce" it? [04:50] the forums are usually a good place [04:50] Discourse? [04:50] im sure there's a forums.ubuntu.com [04:51] whats the difference? [04:52] good question, i havent been on the forums in quite some years [04:52] testing ubuntu on the arm powered laptop [04:53] and it seems like chromium is gone [04:53] only some snap version left [04:54] was hoping not having to build it from source, as it would take about 5-6 days [04:55] lol? And I thought 8 hour for libre office was rough [04:55] only 4 GiB ram... [04:56] would probably be around 8h with a nvme disk [04:59] 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] it's the only aarch64 i've got so far [05:01] otherwise i would try distcc [05:02] speaking of, have to reinstall the other two servers [05:02] any clamav users here? [05:09] yelowfish: clamav has it's own forums, chat rooms, mailing lists and documentation [05:11] 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] WoC, thank you btw for your help! [05:12] yelowfish, I'm not sure if I'm a user, but it's installed [05:18] np DarkTrick [05:36] Do we know when Ubuntu 20.04.1 will be out? [05:37] in the future [05:37] Touché. [05:40] Andrio: https://wiki.ubuntu.com/FocalFossa/ReleaseSchedule [05:41] 6th of August [05:41] if you use 20.04 you already have 20.04.1 [05:42] Mm [05:42] I was actually waiting for that release to upgrade from 19.10 [05:45] i see. Well, then stay on the unsupported version until August 6th. :) === ticks_ is now known as ticks [07:06] # 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] chieta: perhaps strace -o 1839 [07:11] chieta: perhaps strace -p 1839 [07:15] checking EriC^ [09:29] hey guys, any free ukuu alternative? [09:45] 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? === FranzBuntu is now known as FrUbuntu [09:56] 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] 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] I get some strange rights to my folder: d????????? ? ? ? ? ? FTP [10:02] can I fix this? [10:13] 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] mihael_keehl, care to share what package/service? [10:15] and what ubuntu version? [10:15] ( you should start with this...) [10:19] oh good [10:30] 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] loxie, there is no easy command for both. [10:35] what should i use for each [10:35] for public/WAN; https://www.tecmint.com/find-linux-server-public-ip-address/ [10:36] what about the client [10:36] ip a be okay [10:36] ip a # for ip, systemd-resolve --status | grep Current # for dns [10:37] nice thank you [10:37] have fun! [10:37] weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee [10:37] i will [10:38] 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] rofl [10:39] CoJaBo, oh dear, attack of an unprotected database crawler [10:39] i hope you have backups.. [10:39] .. and a clue what went wrong [10:40] oerheks: It depends on how meow it takes meow to notice their meow is all meow. [10:40] dunno, i am a dog person [10:40] oerheks: We only meow backups for meow days or so. [10:41] We once had a restruant not notice their entire site got nuked, for 9 days. We only keep backups for 7 :/ [10:44] one gets what is paid for.. [10:45] this is hillerious [10:45] Yeh, it's always the cheapest plans that complain the most when they do dumb stuff [10:46] In the restruant case tho, it was kinda like 1% our fault [10:46] They mispelled the name of one of their beers, and it happened to match the name of an active paedophile ring [10:47] o.O [10:48] how is this related to ubuntu support? [10:48] Technically, all our cheap plans are Ubuntu [10:50] 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] 'Morning all [11:00] 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] [1] https://ubuntu.com/blog/minimal-ubuntu-released [11:01] yes, check http://cloud-images.ubuntu.com/minimal/releases/ [11:02] 21 jul 2020 [11:03] Oh okay thanks oerheks [11:33] what is the "best" central authentication method for linux? nis/yp is not used anymore? [11:42] zamba: ldap? [11:42] tarzeau: oh, that infamous protocol again :) [11:42] zamba: we switched from nis/yp like 5 or so years away (and hadn't used it for 10 years anymore) [11:42] zamba: that headache (some other friends to that stuff, i'm so glad) [11:43] slapd is still the goto implementation? [11:43] https://github.com/xvass/UserManager [11:43] no idea, probably, but i personally wouldn't mind using local passwd/groups and distributing them :) [11:43] how many users are you going to have? [11:45] 650+ [11:45] and how many machines do you have? [11:45] we want to set up a load-balanced sftp/ftp service [11:45] so to begin with just 2, but it can increase [11:46] so no linux desktops? just a bunch of sftp users (really ftp? cleartext password?) [11:46] tarzeau: customer demand [11:46] so we support that for historic reasons [11:46] but ftp(e)s in that case [11:46] hardware/systems that only support ftp transfers? [11:47] not sure how you'd load balance ftp/sftp, with JBOD for both? or how do you make sure data is synced? [11:48] shared storage [11:49] probably nfs or similar [11:49] would be easier with just one but yeah [11:53] 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] but probably not a pure load balancing system.. but more like a active/passive thing [11:53] so we can bring stuff up and down for maintenance [11:57] b100s, no. [12:01] 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] no, only hw controlled raid. [12:07] my OS disks have been in raid0 for almost 10 years now. ssd disks lol. i feel lucky i never had issues. [12:18] asked in a couple of channels but want to get opinions here too [12:19] in ubuntu how would you avoid a directory traversal attack if you have give a user ftp access [12:33] iis === EriC^ is now known as EriC^^ [13:15] 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] I've tried messing around with bluetoothctl but it just doesn't pick them up [13:23] Can someone point me to any existing tools to run the performance tests on 2 different ubuntu kernel systems? [13:28] iffraff: are you chatting from the computer right now? [13:28] tabakhase: yes [13:28] no [13:28] oops tatertotz yesa [13:28] hi , anyone know how to reduce the time for ubuntu os to shutdown ? [13:29] ;-) [13:29] omg [13:29] 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] On Gnome the behaviour that I want is the default. [13:29] iffraff: would you be able to attempt to pair the devices right now also? [13:29] yes [13:30] hi , anyone ? [13:30] iffraff: in terminal> journalctl -f &> ~/nip.pir [13:30] iffraff: then try to pair the devices [13:31] tatertotz: connect via gui or bluetoothctl [13:31] iffraff: gui [13:31] iffraff: confirm once you have completed attempting to pair [13:32] 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] iffraff: do nothing right now [13:33] how to control cpu fan speed ubuntu ? [13:33] iffraff: press CRTL+Z or CTRL+C in terminal [13:33] ok, well, I entered you command and tired to connect, but the device did not show up [13:33] ok [13:34] done [13:34] iffraff: did other devices show up? [13:34] yes [13:34] iffraff: do other devices show up [13:35] nbusrone: use jouralctl to look at the logs during the shutdown process https://wiki.archlinux.org/index.php/Systemd/Journal#Filtering_output [13:35] iffraff: you can't expect to connect to something that doesn't even show up [13:36] 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] 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] iffraff: the computer works with any other bluetooth device without issue, symptom is isolated to those specific ear buds/ that specific device [13:37] Perhaps, but they connect to my phone right away [13:37] both earbuds and my computer have BT 5.0 [13:40] 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] 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] iffraff: have you any other PC to test with to further rule things out? [13:52] well, yes, I have a pc running popos. I could give that a try. I'll do that and report back. [13:52] iffraff: iPhone/Android is a apples vs oranges comparison...so try with another PC ideally running GNU/Linux [13:52] singular function, heh , all devices are singular [13:53] tatertotz: popos is a linux os, I think it runs ubuntu undernieth. [13:53] iffraff: does it work on the other PC? [13:54] 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] tatertotz: I'm heading over. [13:54] 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] disagree all you want , still doesn't change the facts [13:55] 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] leftyfb : the unmount drive sdc is done manually by my self , that doesn't count. [13:58] tatertotz: touche! same shit on the other laptop. Still seems strange that android has no problem but ubuntu does. [14:11] 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] leftyfb : restart my pc again. === The_Milkman1 is now known as The_Milkman [14:19] Maybe I need to build kernel with some options so it will recognize raid? [14:24] b100s: are you chatting from the computer right now? [14:26] tatertotz, yes. Why? [14:26] b100s: have you tried changing the sata operation mode in BIOS and then running the installer? [14:27] tatertotz, yes, sure. It will succeed. My question is about how to do it with current setup, with RAID [14:28] b100s: you have "fake raid" ...i'll assume you're on a vanilla laptop or desktop PC... [14:29] b100s: you will alter the sata operation in BIOS or you forfeit usage [14:29] b100s: fake windows raid found on average run of the mill laptops/desktops [14:30] tatertotz, yes, it's new dell latitude 5300. Why it is a "fake raid"? Any documentation on it? [14:31] some mod do that thing that makes that Ubuntu "bot" say the thing about "fake raid" [14:32] its some kinda thing you type in like !package or something [14:33] !games-all [14:33] tatertotz, so what difference between fake raid and real one? why BIOS has such raid? [14:33] !fake raid [14:34] !sorry can't get it [14:34] b100s: I am only a bot, please don't think I'm intelligent :) [14:36] b100s: on a search engine, use a query consisting of these keywords "fake raid" [14:39] oh, I see. There's even article about it: https://help.ubuntu.com/community/FakeRaidHowto [14:42] is there any risk to migrating a ubuntu server from hdd to ssd? [14:42] b100s: so in a nutshell...your PC is functioning as designed [14:43] Napk1n: there's always at least some risk...in just about anything [14:44] 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] or is it usually okay to migrate everything at once [14:54] 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] Hi, are the CPUs getting stressed? [15:03] 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] ouch [15:09] 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] Mat63, there are lots of recovery tools for ntfs. google lists up a hole bunch. altho alot of them are payware. [15:11] I have 90% percent backup of those files, but if I can get them back to see the rest [15:13] nuxil: When you say "partition table" do you mean that the file system was changed from ntfs to ext3 / 4 etc ...? (True? ) [15:16] the partition table is "like a file". fixed size on your hd. it will contain info like partitions. size etc. [15:18] 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] some quick formats. only changes the partition table. a full format usaly deletes all data. [15:38] 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] nuxil: When the Gparted program, for example, shows the partition there is a small volume of 1.5Mb that is still there. [15:45] sorry i dont know what that is. [15:46] have you read this article? https://ubuverse.com/recover-a-disk-partition-with-testdisk-and-gparted-live/ [15:48] yes [15:57] 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] haven't been able to find a way thus far. [16:05] istvan: 18.04 and 20.04 use the same networking [16:10] 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] i changed the netplan config, and did netplan -aply [16:10] it still doesnt work [16:11] ifconfig command asks me to install the net utils package, but i cant reach the internet at this stage [16:14] anyone ? [16:15] ocx32: you configured bonding but don't know how to unconfigure it? [16:16] yea [16:16] i configured it from the setup [16:16] put the config back to defaults [16:16] ocx32: https://ubuntu.com/blog/ubuntu-bionic-netplan [16:17] is it normal for the network card not to ligh up [16:17] when you have a bond ? [16:29] the interface LED would be lit when the link comes up, and traffic passes. [16:34] 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] Dragonkeeper: why does br0 have multiple interfaces associated with it? [16:37] because i only want those on the bridge leftyfb [16:38] Dragonkeeper: what version of ubuntu? [16:38] 20.04 [16:39] Dragonkeeper: can you pastebin your network config? [16:39] https://paste.ubuntu.com/p/zRkYyXxdsk/ leftyfb [16:41] Dragonkeeper: your interfaces should be set up dhcp4: no [16:41] except br0 ? leftyfb [16:41] correct [16:42] Dragonkeeper: also, make sure you have bridge-utils installed [16:43] Dragonkeeper: Unless those 2 interfaces have any sort of direct relationship, I would create a bridge for each interface [16:44] hostapd handles wlx* and 192 is the wan so wlx needs to get dhcp from the bridge leftyfb [16:45] still not getting dhcp with the change [16:49] 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] correct [16:50] 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] 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] do you have bridge=br0 in your hostapd.conf? [16:53] interface=wlx* [16:55] leftyfb: interface is wlx and bridge is set to br0 [16:55] i have also set ip4 forwarding to 1 [16:56] only main difference im seeing between to what i previously setup is now im using ubuntu server version :S [17:09] 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] Guest_8: full disk encryption won't really noticably harm boot time. certainly not if you're coming from a hdd [17:17] Guest_8: the only noticeable difference in speed is typing in the passphrase. [17:18] 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] 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] uefi or bios booting? [17:19] bios I believe. [17:19] echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS [17:19] its an old thinkpad so its not super up to date [17:19] BIOS [17:20] does the ssd have enough capacity to fit the original data? [17:20] i.e. all partitions, as they were [17:20] yes. 500gb hdd replaced by 500gb ssd [17:21] drive has spare space as well not a lot but about 60 GB [17:21] that's not "yes", that's "maybe" [17:21] is the spare space to the end? [17:21] Im not sure how to answer [17:22] sudo fdisk -l /dev/sda | nc termbin.com 9999 [17:22] that's assuming sda is the hdd you're replacing [17:22] there are several partitions. [17:23] Partition 2 does not start on physical sector boundary. [17:24] neither answers the question about spare unallocated capacity to the end of the partition table. [17:24] 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] and 1.1mb free space [17:26] and the unallocated space is where? [17:26] those 60 GB [17:27] in the PV? if so, then it's not actually unallocated from a partition table POV. [17:27] sudo pvs would tell [17:27] oh it is not unallocated, it is free space on the encrytped partition. [17:27] actually sudo vgs [17:28] VG #PV #LV #SN Attr VSize VFree ubuntu-vg 1 2 0 wz--n- <465.03g 20.00m [17:29] 20 MB free, so it's not there [17:30] maybe you mean that a file system has 60 GB free space. [17:30] df -h would say so. [17:30] yes free space on the encrytped partiton there is not unallocated space for a partition [17:31] 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] 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] /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] 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] 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] 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] 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] !paste | Guest_8: you just got silenced by Drone for spamming the channel. this will last a few minutes. [17:31] Guest_8: you just got silenced by Drone for spamming the channel. this will last a few minutes.: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [17:32] 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] and you can speak again. [17:34] I can? [17:34] ahh thanks [17:35] 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] 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] how do i test this? in disks this appears to be the same, exactly which I guess may not be reliable [17:36] i have the ssd here plugged in [17:37] compare the size in bytes given in fdisk -l output for both disks [17:37] 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] yeah it is the best way, I am just learning, but commandline ftw [17:39] this is the output needed? Disk /dev/sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors [17:40] right, and the same for the other disk [17:40] and then you'll need to tell which is which [17:40] original disk Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors [17:41] so thats indeed identical, or so they claim. ;) [17:41] can i clone the whole thing then with DD? [17:41] yes. [17:41] but i forgot to mention that on an ssd it's wise to keep 10% unpartitioned / unallocated [17:41] you don't have to, though. [17:41] oh, ok why is that? [17:42] it provides the ssd firmware with more sectors to juggle data around to prevent wear leveling [17:42] you'd not need to do fstrim then, or much less [17:43] can I shrink a partition on the original disk then before cloning with dd? [17:43] not easily with your setup. i think the easiest for you is reall yjust to dd [17:44] 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] whats fstrim? [17:45] and then reinstall the hdd, or install it elsewhere? [17:45] not reinstall it. just have it as a external hdd [17:46] 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] 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] will this keep the same encryption passcode and key? [17:47] yes [17:48] just ignore what i said about fstrim, it deviates from the task at hand [17:49] i still think you'll be fine with just the dd, with all you told so far. [17:49] 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] i'd add bs=8192 status=progress [17:53] 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] I/O size (minimum/optimal): 4096 bytes / 4096 bytes [17:54] for the new ssd [17:55] 8192 = 8M -> how much data to process in each read/write step. [17:55] more is better? [17:55] more is faster [17:56] to a certain degree only [17:56] i don't know how to measure the optimal size, but there's scripts for it, and it's hardware specific. [17:56] but 4M or 8M usually work fine [17:57] also add this to dd conv=notrunc,noerror [17:58] to not truncate the target (without error), but to continue the process when experiencing read errors. [17:59] somewhere between bionic and focal i lost color output and completion after running 'sudo -s' [17:59] anyone know an easy way to restore that? [18:01] 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] 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] 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] Guest_8: the bs parameter does not define the block size on the target device. the partition table does. [18:04] I did a 18->20 upgrade and it kicked out my networking. Any ideas? [18:04] ah ok that makes sense. [18:05] Guest_8: i'm always still struggling myself, but may have done it a few more times than you did ;-) [18:05] 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] 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] Ive never read the manual for sudo, I could also be using it incorrectly. [18:06] tomreyn: roger that. thank you. [18:06] !yy.mm | torniq [18:06] torniq: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [18:07] !details | torniq [18:07] torniq: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [18:08] 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] "firewall entries running" refers to iptables logs in dmesg? [18:10] iptables is clean, ufw is disabled [18:11] yre you using network-manager, systemd-networkd, or iproute so network configuration? [18:12] and are you using netplan? [18:12] yre->are [18:14] 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] nope, I broke networking. [18:17] "eno1: could not set route: nexthop has invalid gateway." [18:20] this could be bug 1860926 - which has since been solved [18:20] bug 1860926 in systemd (Ubuntu Bionic) "Ubuntu 20.04 Systemd fails to configure bridged network" [Medium,In progress] https://launchpad.net/bugs/1860926 [18:20] 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] maybe this is more easily readable: https://askubuntu.com/questions/1234733/ubuntu-20-04-netplan-bridge-interface-fails-at-boot [18:24] ah this sounds like the issue. [18:34] tomreyn, i'm at a loss as to how to get around this [18:35] torniq: provide the system with some other means up network connectivity, run updates [18:36] * means of [18:36] i.e. not bridged [18:41] torniq: actually the bug report seem to suggest you just need to restart systemd-networkd [18:41] i didn't read all of it, yet, and still haven't [18:42] alternatively, add @reboot /usr/sbin/netplan apply to the system crontab [18:42] this should just be neede duntil the system is fully updated [18:43] i'm assuming your systemd package version is < 245.4-4ubuntu3.1 at this point [19:20] 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] you're welcome [19:21] glad you worked it out [19:24] torniq: had you checked your systemd version? [19:24] `systemd 245 (245.4-4ubuntu3.2) [19:25] that's before or after you got it to work? [19:26] grep -F 245.4-4ubuntu3.2 /var/log/apt/history.log [19:26] after [19:26] so i assume that before that you still had < 245.4-4ubuntu3.1 [19:26] otherwise maybe another bug report would be needed [19:27] or we could try to consider you a corner case ;) [19:28] no hit on that, so i must be a corner case [19:29] cue ball in the corner pocket off the 8 ball ftl [19:45] 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] Is there a way I can "ask" sendmail where it's getting its configuration from ? [19:46] sometimes sendmail is a 'fake' sendmail [19:48] Buttersnot: what version of ubuntu? [19:49] 19.10 [19:49] !19.10 [19:49] Ubuntu 19.10 (Eoan Ermine) was the 31st release of Ubuntu, support ended July 2020. See !eol and https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-July/005494.html [19:49] Buttersnot: sudo egrep -Ri "gmail|google" /etc/ [19:50] 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] 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] 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] leftfb: No luck.. any other idea? [20:10] how do you know those weren't the ones? [20:11] tomreyn: talking to me? [20:11] Buttersnot: yes [20:13] and is it really sendmail running there, or something just providing a sendmail interface (emulation)? [20:13] 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] (or anything "mail" for that matter) [20:15] Buttersnot: is there a docker container? [20:15] or even an lxd container [20:15] nope [20:15] dpkg -S $(which sendmail) [20:16] Buttersnot: sudo lsof -i :25 # also try 587 or 465 [20:17] tomreyn: no path found matching pattern /usr/sbin/sendmail [20:17] 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] leftyfb: sendmail- 1259 root 5u IPv4 25526 0t0 TCP localhost:smtp (LISTEN) [20:18] it's a start [20:18] sendmail- 1259 root 6u IPv4 25527 0t0 TCP localhost:submission (LISTEN) [20:18] nothing on 465 [20:18] ps ef 1259 [20:19] ps -ef |grep 1259 [20:19] 1259 ? Ss 1:10 sendmail: MTA: accepting connections [20:19] ps -ef |grep 1259 [20:19] root 1259 1 0 Jul03 ? 00:01:10 sendmail: MTA: accepting connections [20:19] real 6274 24598 0 19:26 pts/2 00:00:00 grep --color=auto 1259 [20:19] Buttersnot: type -a sendmail [20:20] sendmail is /usr/sbin/sendmail [20:20] it exists, but is not part of an ubuntu package [20:20] so someone placed it there manually, i guess [20:21] gross [20:21] soemone or something [20:22] Buttersnot: sudo lsof | grep sendmail [20:22] 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] leftfb: that last command returned a screenful of path/filenames [20:23] Buttersnot: or sudo lsof | grep etc # see if anything mail related pops out [20:24] maybe search the web for the various checksums of /usr/sbin/sendmail also [20:24] Buttersnot: also: ls -l /usr/sbin/sendmail # see if it's a link to something else [20:25] oh right i forgot readlink [20:25] could be /etc/alternatives handled [20:25] leftfb: first command returned the following: [20:25] sudo lsof | grep etc [20:25] sudo 6313 root cwd DIR 8,1 4096 24642366 /etc/mail/smrsh [20:25] grep 6314 real cwd DIR 8,1 4096 24642366 /etc/mail/smrsh [20:25] lsof 6318 root cwd DIR 8,1 4096 24642366 /etc/mail/smrsh [20:25] lsof 6319 root cwd DIR 8,1 4096 24642366 /etc/mail/smrsh [20:25] bash 24598 real cwd DIR 8,1 4096 24642366 /etc/mail/smrsh [20:26] !paste | Buttersnot [20:26] Buttersnot: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [20:26] you just got muted for some minutes, Buttersnot, it'll expire automatically in a bit [20:29] https://paste.ubuntu.com/p/qPcfKkvW3d/ [20:30] I'm not familiar with smrsh but go take a look at it [20:30] There is a /etc/alternatives directory. mostly .gz files [20:30] http://manpages.ubuntu.com/manpages/eoan/man8/smrsh.8.html [20:31] i guess there could be a good forwarding in a users' home directory, or in a chroot *somewhere* [20:31] err "gmail", not "good" [20:31] i need to have my brains checked [20:32] this is why I mentioned docker, but the PID doesn't agree [20:34] maybe get all the HOME's from passwd getent passwd | cut -d: -f6 and look through them [20:34] That /etc/mail/smrsh contains 2 links: one to /usr/lib/sm.bin/mail.local and one to /usr/bin/procmail [20:40] tomreyn: what should I be looking for in those /home directories? [20:40] Buttersnot: the google / gmail configuration [20:41] Buttersnot: it could be a procmail filter, for example [20:41] 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] or maybe it's an ssh daemon which also pretends to be sendmail. [20:43] 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] you can configure php to tell you (log) which script sent something [20:46] i think you do so by reconfiguring the "sendmail_path" php configuration [20:46] 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] I changed the actual email address domain to "mydomain.com" [20:47] but if I use our domain, it does work [20:47] 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] 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] 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] odium: You will likely get a response in the ##linux channel using bsd. :D === alexrelis1 is now known as alexrelis [21:57] Hey guys, anyone know how I can modify kernel parameters on Ubuntu 20.04 with ZFS on root? [21:57] update-grub doesn't seem to work with this configuration [22:00] was hoping to a windows 10 vm with gpu passthrough so i can play cod warfare with a friend [22:04] 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] Guest_47: Can you try WINE? Is this it? https://appdb.winehq.org/objectManager.php?iId=12804&sClass=version [22:06] says "GOLD" [22:18] is this box shutdown because of the unattended upgrades https://bpa.st/THTA ? [22:57] 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] pretty sure i'll have to reinstall.. [22:59] 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] 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] @tds I read that but won't the boot loader still require a password ? [23:05] is your /boot encrypted as well? [23:13] 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] aaaaaa I guess you would need to explain it better what the situation is, and what you want at the end [23:16] quadrathoch2: I want 7 consoles instead of 6 [23:17] hello [23:18] anyone getting screen tearing in ubuntu 20.04 with 125% zoom? [23:18] thegnat we need more info than that [23:18] 14 laptop [23:18] @tds I don't believe so. I don't see .encryptfs [23:18] 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] in /boot [23:18] with intel uhd 620 [23:19] aaaaaa there should be even more? as ubuntu server should have f1-f12 [23:19] quadrathoch2: I have Ubuntu desktop [23:19] Some_Person don't you need to right click unallocated at then choose new, then choose ext4 partiotion [23:19] that was what I did [23:20] thegnat: I don't think Ubuntu will fit in that tiny 1.34 MiB space [23:20] ohh [23:20] @tds it was a vanilla install with the disk encryption selected at that time [23:20] didn't see that [23:20] aaaaaa ahh, sorry, then I can't help you. don't know how I could even attempt that [23:20] Some_Person First you need a bigger drive [23:21] https://askubuntu.com/questions/16988/how-do-i-install-ubuntu-to-a-usb-key-without-using-startup-disk-creator/942312#942312 [23:21] use this someperson [23:21] quadrathoch2: thanks anyway [23:23] 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] Some_Person: try #windows [23:24] Spiffdaddy: http://manpages.ubuntu.com/manpages/focal/en/man8/cryptsetup-reencrypt.8.html see --decrypt [23:25] 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] 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] quadrathoch2: https://i.imgur.com/2Yv4ScT.png [23:29] 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] i'm checking out cryptsetup-reencrypt --decrypt [23:30] 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] 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] how can i check? [23:32] ls /dev/mapper/*_crypt [23:32] that's not a proper check, but a simple test giving a good hint [23:33] if it returns something, you most likely have dmcrypt-luks encrypted devices (at the partitions / disks indicated) [23:34] may I copy & paste here ? [23:34] cat /etc/crypttab should also help [23:34] !paste [23:34] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [23:35] thank you, that's what i thought. standby. [23:36] https://paste.ubuntu.com/p/Q6xp9h2gtj/ [23:38] 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] 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] 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] 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] files I will only copy the missing ones [23:49] what is this google container engine and why is it installed on linux? [23:51] lol [23:51] No friend, it's a little complicated what happened to me, that's why I wanted to ask here first === jess is now known as j [23:53] If you don't know, say it [23:53] tomreyn: ls -lah /dev/disk/by-uuid/2847df3b-7c0d-4c6b-ba5a-cf18cd740a75 [23:53] lrwxrwxrwx 1 root root 10 Jul 27 22:41 /dev/disk/by-uuid/2847df3b-7c0d-4c6b-ba5a-cf18cd740a75 -> ../../sda3 [23:54] if there is such a program on ubuntu then say so [23:55] 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] Mat63: there are commands that should do that. I am not sure what they are off the top of my head. [23:57] is it "rsync" [23:57] tomreyn: yes it returns a LUKS header information [23:58] Genial [23:58] great [23:58] Spiffdaddy: so this confirms that /dev/sda3 contains a dmcrypt-LUKS block device layer. [23:59] Thanks friends [23:59] eelstrebor: if you have questions about google products, i suggest asking in #google (or maybe it's ##google, i forgot)