[00:52] <RoseBus> should I be using the same ssh keypair for multiple unrelated servers
[00:52] <RoseBus> or is it better to have a seperate keypair for each sever
[00:54] <matsaman> you probably already know the answer to that
[01:00] <tomreyn> RoseBus: it's actually quite common to install the same public key on multiple systems for a user to login to. the secret / private key should only be present on a single system or a few systems its 'owner' fully trusts (which are probably systems not shared with others).
[01:20] <RoseBus> when i try to export an environmental variable i'm getting a weird error
[01:20] <RoseBus> it says "bash: !k: event not found"
[01:21] <RoseBus> oh it has to do with the string I'm trying to create for the variable
[01:21] <RoseBus> it has a !k in it
[01:21] <RoseBus> but even when I put it in quotations it still doesn't work
[01:22] <tomreyn> use single quotes or escape control characters with a backslash
[01:24] <tomreyn> to get a better understanding of shell scripting do's and don'ts, see the references in the #bash channel /topic
[02:09] <KE0VVT> Greetings. A friend of mine has a thirty two-bit machine. Is Ubuntu dropping the architecture soon?
[02:13] <xbfrog> The end of 32 bit? Magzter june 2020 : https://www.magzter.com/article/Computer-Mobile/Linux-Format/The-End-Of-32-Bit
[02:22] <pavlos> RoseBus: does this work? export rose='text !k moretext'; echo $rose
[02:22] <RoseBus> yes
[02:22] <RoseBus> thank you
[02:22] <RoseBus> i just needed the single quotes
[02:22] <matsaman> xbfrog: but not the end of caps in URIs I guess
[02:23] <matsaman> KE0VVT: real issue is whether Debian drops it
[02:23] <matsaman> KE0VVT: and beyond that, why your friend can't afford to spend $5-60 on a new computer with a well supported arch
[02:26] <KE0VVT> matsaman: I don’t know, but we’ll sort this stuff out when he comes over tomorrow.
[02:28] <matsaman> KE0VVT: I have read plain x86 support is discontinued in Ubuntu 20.04 on
[02:29] <matsaman> but Debian will likely support it for a very long time
[06:47] <ROKO__[Office]> Hello.
[06:47] <ROKO__[Office]> is it there any way to have a properly working fractional scaling on ubuntu 20.04 gnome? it not seems to work globally but just for some apps.
[06:51] <Maik> because it's experimental afaik, that's why it's not working 100%
[06:52] <Maik> i could be wrong though
[06:55] <ROKO__[Office]> Available since years ago.
[06:55] <ROKO__[Office]> even it was working properly on unity 7 desktop
[07:03] <Maik> my bad then, i never used it myself, not even on Unity 7 so i can't tell.
[08:37] <alive> Hi guys... i have a game related bug, it's caused by *something* in the oibaf ppa. Can you help me out how to gather the correct data and submit the bug?
[08:38] <alive> I know it's caused by something in the ppa because I eliminated everything else one by one. Once I ppa-purged the libs, the game worked well again.
[08:40] <alive> I'm using amdgpu navi10 rx5700, game is factorio. Tried kernel 5.4 (focal), kernel 5.8 (groovy) and mainline-kernel 5.8.13, 5.8.10. linux-firmware from apt  and linux-firmware from git made no difference. Factorio had this persistent screen flickering and severe graphical glitches.
[08:47] <Kireji> I've done a 16.04->18.04->20.04 do-release-upgrade on a laptop, and the GUI has stopped working. on reboot, I get the “The system is running in low-graphics mode” error.  **is it possible to "re-do" the full installation process** how do I go through and make sure that I have on the laptop all the packages it needs, and that they are all installed and running correctly?
[08:48] <Kireji> I've gone through https://askubuntu.com/questions/141606/how-to-fix-the-system-is-running-in-low-graphics-mode-error from 8 years ago, but given the graphics were all working fine on 16.04, I don't think the solutions offered there are relevant
[08:56] <Kireji> considering doing this next: https://ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling-it/
[08:59] <rk4> so how viable is using ubuntu with no snaps installed, and just relying on apt for package management?
[09:01] <EriC^^> rk4: that works fine
[09:03] <rk4> since gnome is in snaps, and it has a giant dependency tree, was all that removed from apt management? [where plausible] or is everything or most things still in apt? even though they may also be in the snaps
[09:12] <Kireji> rk4: EriC^^: related::: https://askubuntu.com/questions/866511/what-are-the-differences-between-snaps-appimage-flatpak-and-others (in case anyone else is interested too)
[09:29] <EriC^^> Kireji: thanks
[09:52] <Dunams> I just installed an m.2 nvme drive, is there a simple way to migrate my whole ubuntu installation to it or is a clean install + moving the home directory a better option?
[09:52] <lotuspsychje> Dunams: are the 2 drives equal or bigger?
[09:53] <Dunams> the new one is bigger
[09:53] <Dunams> it will all easily fit
[09:53] <lotuspsychje> Dunams: cool, then you can dd it all to your nvme
[09:54] <lotuspsychje> EriC^^ might hand you a handy dd command
[09:54] <EriC^^> Dunams: what's your partition table look like? sudo parted -ls
[09:55] <lotuspsychje> i always forget all the arguments
[09:55] <Dunams> can I use dd to do that from within the running OS? I thought these kinds of operations need to be performed by some sort of an external os utility
[09:55] <hejkki> hi all
[09:56] <hejkki> is there a maintained alternative to https://sourceforge.net/projects/webcamstudio/
[09:56] <lotuspsychje> hejkki: what do you want it be able to do as features?
[09:57] <lotuspsychje> Dunams: best to dd from passive devices yea, like an usb/hd dock or external hd's
[09:57] <hejkki> lotuspsychje: add some effects like logo and grab the desktop etc
[09:58] <Dunams> EriC^^: https://pastebin.com/w5JfPFh6
[09:58] <lotuspsychje> hejkki: grab the desktop you can do with recordmydesktop or kazam
[09:58] <hejkki> lotuspsychje: and forward it to skype?
[09:59] <lotuspsychje> hejkki: ah you want something live effects?
[09:59] <Dunams> EriC^^: I'm a little worried it can break grub or something though, as I have a Windows installation on another drive
[09:59] <hejkki> yea
[10:01] <Dunams> ubuntu is on /dev/sdc
[10:01] <lotuspsychje> hejkki: not sure of many options for those, perhaps check snap find webcam, there is also kamoso as cheese alternate
[10:01] <EriC^^> Dunams: you just want to copy ubuntu to the new drive?
[10:02] <Dunams> yeah, I want to get rid of that old drive
[10:03] <EriC^^> Dunams: ok, it's very straight forward for you, dd the whole disk to the new drive (using a live usb to run dd), then you can use resize2fs to enlarge the 2nd partition so it uses the whole space available in the new drive
[10:03] <EriC^^> Dunams: if you remove the old disk and insert the new, grub will function normally, as all the partition uuid's and fs uuid's would be preserved, so efi will work as if nothing changed
[10:04] <EriC^^> Dunams: the dd command would be "sudo dd if=/dev/sdc of=/dev/sdX bs=4M status=progress && sync"   where sdX is the new drive
[10:05] <Dunams> how can I tell on which device/partition is grub on?
[10:05] <EriC^^> (and obviously replace sdc to represent the old disk if it changes when you run the live usb with the new disk inserted)
[10:05] <EriC^^> Dunams: for ubuntu grub is on /dev/sdc1
[10:07] <Dunams> wouldn't I need to change something to register grub with /dev/nvme0n1 instead of /dev/sdc1 after migrating?
[10:09] <EriC^^> Dunams: no, the way uefi works is usually there's an entry in the motherboard that has the partition uuid and file path e.g efi/ubuntu/shimx64.efi , and there is a file there that points to your /boot/grub and fs it's on using the fs uuid, once that loads you get the menu
[10:09] <EriC^^> Dunams: if you want to see the current entry you're using type "sudo efibootmgr -v" and the currentboot would be it
[10:09] <rud0lf> Dunams: and remember to update disk UUID in /etc/fstab
[10:09] <EriC^^> rud0lf: no need since he's copying the whole disk, fs uuid wont change
[10:09] <rud0lf> ah okay
[10:10] <Dunams> hm sounds fairly simple then, thanks
[10:12] <Dunams> the uuid isn't being re-generated on the new device? meaning it's hardcoded to the fs?
[10:12] <lotuspsychje> Dunams: dd clones everything
[10:13] <lotuspsychje> just the hardware ubuntu will notice its another drive/brand
[10:13] <EriC^^> Dunams: yeah, dd literally just copies the disk bit for bit, partition table and everything
[10:13] <Dunams> what happens if you have several copies of the filesystem on several devices? they all have the same uuid?
[10:13] <EriC^^> Dunams: yeah, that could be a problem
[10:14] <Dunams> got it
[10:14] <lotuspsychje> Dunams: nothing can beat a clean install at the end :p
[10:14] <EriC^^> xD
[10:14] <lotuspsychje> thats what i would do on a new nvme
[10:14] <Dunams> so I need to make sure to unplug /dev/sdc after dd
[10:14] <EriC^^> Dunams: yeah
[10:15] <Dunams> lotuspsychje: honestly, that's what I thought. but if the process is fairly simple, it would save me time to reinstall all the packages and configurations I've made
[10:16] <lotuspsychje> Dunams: true, for cloning its ideal
[10:17] <Dunams> can there be any performance side effects from doing that though? that's why i'm not a fan of "dirty" installations like that
[10:17] <lotuspsychje> Dunams: well as you clone everything, you take all the issues with you, from your previous install
[10:17] <lotuspsychje> space, programs, slowness of startup etc
[10:18] <lotuspsychje> but you can all tweak that afterwards too
[10:18] <Dunams> I have some weird slowness issues which I attribute to the fact that the ssd is really old
[10:18] <lotuspsychje> is it 20.04 you are going to?
[10:18] <Dunams> yeah
[10:19] <lotuspsychje> Dunams: then thats good news, install preload haveged stacer after your clone, and start tweaking
[10:19] <lotuspsychje> 20.04 has also an improved speed on systemd compared to bionic
[10:21] <Dunams> i'm surprised by how much difference there is between the performance of regular sata ssd devices, the crucial mx500 ssd I have seems to perform 3-4 times faster in all tests I did than my entique crucial M4
[10:21] <Dunams> antique
[10:22] <Dunams> technology is moving rapidly :)
[10:23] <sub526> tomreyn: regarding "sed --regexp-extended --in-place 's;(PATTERN).*$;\1;' path/to/file" , for example, input file is here https://pastebin.com/M0K4afJz, I want to delete the complete text after ";" in entire file. What is the exact command for this?
[10:31] <tomreyn> sub526: you're working with assembly but don't know regular expressions, yet? things must have changed in how they're taught nowadays. :)
[10:32] <tomreyn> i guess this should work
[10:32] <tomreyn> sed --regexp-extended --in-place 's|^[^;]* *;.*$|\1|' path/to/file
[10:34] <tomreyn> a much simpler approach would be      cut -d';' -f1 path/to/file | sed 's/ *$//'
[10:35] <tomreyn> i'm sure this can be done much better, yet, but lack the proficience, too. you can try asking in #bash
[10:46] <ereth> is anyone here using iwd?
[10:47] <tomreyn> ereth: they do https://discourse.ubuntu.com/t/call-for-testing-improved-wifi-via-iwd/17795
[10:49] <tomreyn> ereth: i think 20.10 will default to it, so you could /join #ubuntu+1 and give the beta a try, too
[10:51] <ereth> tomreyn: I'm already using it but apparently having issues with the configuration on EAP-TTLS network (works fine with wpa_supplicant tho)
[10:51] <tomreyn> hmm, no, with this list of issues i guess 20.10 won'T defautl to iwd.
[10:51] <tomreyn> eduroam, eh?
[10:52] <tomreyn> i have no experience with it, try adding yours to said post
[10:53] <ereth> not eduroam, home setup with raspberry pi running hostapd
[10:59] <sub526> tomreyn: Thanks. cut command worked well.
[11:26] <BluesKaj> Hi all
[12:03] <Dunams> any benefit in changing the default swappiness from 60 to something lower? like 10 or 1? on a workstation with 32gb   │@jose
[12:03] <Dunams>              │                | of ramy
[12:03] <Dunams> gah bad copy paste
[12:03] <Dunams> I asked that in the wrong channel by mistake
[12:14] <prillian5> is there a way to install ubuntu with DE as default keyboard-layout...
[12:14] <prillian5> or is there a oneliner (without any prompt) to change layout to de?
[12:14] <prillian5> I know the dpkg-reconfigure way, but this needs to interact with the prompt
[12:16] <tarzeau> prillian5: setxkbmap de
[13:25] <wedr> Ohhhhh, with the mutter fixed pushed out yesterday, and finally, I rebooted my work computer, I can now see the UI text in its correct font sizes. It's wonderful.
[13:25] <lotuspsychje> !yay | wedr
[13:26] <wedr> Yeah, it's a shame you can't reboot your work computer while in the middle of crunching stuffs
[13:33] <prillian5> @tarzeau : "command not found" on a fresh 20.04
[13:34] <prillian5> (sorry, had lost internet-connection by provider, couldn't answer sooner
[14:14] <Ether_Man> If I make a minimal install from a liveusb. Will I still have everything for USB tethering from an android tablet or would that require the Normal install?
[14:15] <lotuspsychje> Ether_Man: whats the purpose of your minimal goal?
[14:16] <Ether_Man> To save as much space on the drive as possible as it's only 64GB and cannot be expanded.
[14:16] <lotuspsychje> Ether_Man: i would start normal install, then tweak things afterwards
[14:16] <lotuspsychje> Ether_Man: ubuntu desktop asks 8GB+ these days to install on
[14:17] <lotuspsychje> if you start tweaking and purging after, youl get a decent minimal aswell, with working networking
[14:18] <Ether_Man> Until I delete something I shouldn't and end up with a non working system entirely
[14:19] <lotuspsychje> Ether_Man: before purging, after will tell you what depends it pulls, if you see basics, dont do it :p
[14:19] <lotuspsychje> *apt
[14:20] <lotuspsychje> Ether_Man: another way, is choosing an even lighter !flavour of ubuntu and start tweaking/purging there with bleachbit & stacer
[14:20] <Ether_Man> It's not like it tells you there what is and isn't needed. I've ended up in completely unbootable systems because as an example in one case, I removed ncurses
[14:21] <lotuspsychje> Ether_Man: well try to handle things systematicly, start purging unwanted software first and file shredders that cleanup space a safe way
[14:23] <TJ-> Ether_Man: in general, removing packages saves very little space. Space eaters are caches, log files and your own data
[14:25] <Ether_Man> TJ-: very little space is really all I need. I would like to get above the 55GB free mark, because that's what needed for some stuff I want to install. So it's a very tight fit together with the OS as it is. Every little bit helps
[14:27] <TJ-> Ether_Man: compressed file system ?
[14:27] <Ether_Man> That's possible as the root fs?
[14:28] <TJ-> Ether_Man: yes
[14:28] <Ether_Man> Awesome. I'll look into it
[14:28] <TJ-> Ether_Man: Ubuntu has support for ZFS and that supports compression
[14:29] <Ether_Man> Doesn't ZFS eat up kind of a lot of RAM?
[14:33] <rk4> there stats where as to how many packages are in 20.04 universe?
[14:34] <rk4> ah wait, i forgot, i already downloaded the full package list. nevermind :D
[14:35] <rk4> it's ~88k, larger than i was expecting
[14:50] <random1> Hello #ubuntu. Was needing some help with a USB drive issue. I blacklisted usb-storage under /etc/modprobe.d/blacklist.conf.
[14:51] <random1> And now my USB will not work anymore unfortunately.
[14:51] <random1> I tried editing it again to delete is and saved it but it still isnt recognizing my flash drives
[14:52] <prillian5> are there hints how to lighten ubuntu to get smaller snapshots (server backups)?
[14:54] <pavlos> random1: did you reboot after the change? you can try, sudo modprobe usb_storage
[14:55] <random1> I did reboot. Complete shutdown pavlos
[14:55] <random1> Let me try. 1 moment
[14:56] <tomreyn> initramfs?
[14:56] <Gameboy> hi
[14:56] <lotuspsychje> prillian5: for server questions you can try our experts at #ubuntu-server if you like
[14:57] <random1> I tried "sudo modprobe usb_storage" nothing returned out of the terminal.
[14:57] <random1> pavlos
[14:57] <pavlos> random1: lsmod | grep usb shows modules loaded
[14:57] <random1> usb_storage            77824  0
[14:57] <random1> is what I get
[14:58] <random1> I currently have it plugged in as well
[14:58] <random1> @pavlos
[14:59] <pavlos> random1: and you removed "blacklist usb_storage" from /etc/modprobe.d/blacklist.conf
[14:59] <random1> Yes that was my first move. Typically i never have this kind of issue but for some reason its deciding to stay for good *face palm*
[15:00] <pavlos> random1: the name of the module is usb underscore storage, not usb-storage
[15:00] <random1> Was a typo on my part. Yes i had it as "blacklist usb_storage" under /etc/modprobe.d/blacklist.conf
[15:01] <random1> Now i went back in with nano and deleted it completely. At first i tried using a # and still had issues. So i deleted it completely and rebooted again and still the same problem
[15:01] <random1> pavlos
[15:03] <pavlos> random1: did you make any changes in /etc/default/grub ?
[15:03] <random1> I have made no other edits to anything else.
[15:03] <random1> pavlos
[15:07] <random1> Usually your my savior pavlos :P. I know you got the solution haha
[15:07] <pavlos> random1: lsmod | grep uas  do you have that module?
[15:08] <random1> Nothing came up
[15:08] <random1> pavlos
[15:08] <pavlos> random1: sudo modprobe uas
[15:09] <random1> pavlos: nothing returned
[15:09] <pavlos> random1: lsmod | grep usb
[15:09] <random1> usb_storage            77824  1 uas
[15:09] <random1> pavlos
[15:09] <pavlos> random1: test is the usb stick is working ...
[15:09] <pavlos> if*
[15:10] <random1> pavlos: I tried both USB's. I tried before I came on here to do a dual boot off of the USB and my bios is recognizing it. It has another distro on it as well as the other flash disk.
[15:10] <random1> flash drive*
[15:12] <Ether_Man> heh... A full install on compressed is actually smaller than a minimal on uncompressed. Compressed install, "62.1 GB / 63.9 GB available" Full install. Awesome :)
[15:12] <pavlos> random1: we just brought in both uas and usb_storage, it shows modules loaded. exactly as my system
[15:13] <random1> pavlos: I am looking at "disks" and nothing pops up.
[15:13] <random1> pavlos: weird it just popped up... Ok..
[15:14] <pavlos> random1: so it works?
[15:14] <random1> pavlos: Not sure why but thank you again pavlos for another day of helping. Yes it works
[15:14] <pavlos> random1: no worries
[15:15] <random1> wait.. no it didnt. Im sorry thats my encrypted hard drive that tricked me. Let me show you a picture one moment. I know im not doing this wrong. pavlos
[15:15] <random1> Its early and my brain is still waking up so please forgive me on the false success pavlos
[15:18] <pavlos> random1: reboot, verify both modules are loaded, test with a stick that is fat32 or ntfs
[15:18] <random1> pavlos: I will try. I have only 2 flash drives to my name. They both have distros on them. I will try to do a dual boot again. That sound good?
[15:19] <pavlos> random1: dual boot will bring another OS, we care about 20.04
[15:20] <random1> @pavlos : Im confused on the statement you made them about "verify both modules are loaded". Im unsure what that exactly means
[15:20] <pavlos> random1: lsmod | grep usb
[15:21] <pavlos> random1: lsmod lists all modules loaded, we filter that list for anything that has usb
[15:22] <random1> So boot into ubuntu safe mode with terminal and check "lsmod | greb usb" ?
[15:23] <pavlos> random1: safe mode? no, just boot into 20.04 and type that command
[15:23] <random1> alright. Sorry for the windows terminology been doing my best to make the shift to linux. Will be right back
[15:25] <pavlos> random1: if you filter for "usb_", it should show one line: usb_storage            77824  1 uas
[15:26] <pavlos> random1: you can filter for storage, lsmod | grep storage
[15:28] <random1> typed "lsmod | grep usb" nothing
[15:29] <pavlos> random1: so after reboot, it does not load the usb_storage and uas modules
[15:30] <random1> Im confused on how to tell if it loads usb_storage and uas_modules except to type it into terminal upon reboot pavlos
[15:31] <random1> I just typed in "lsmod | grep usb" and "lsmod | grep uas" still same issue
[15:31] <pavlos> random1: lsmod | grep storage, that should give you usb_storage            77824  1 uas
[15:31] <random1> nothing is come up for either one
[15:31] <random1> "lsmod | grep storage" isnt showing anything
[15:32] <random1> tried sudo as well
[15:32] <random1> pavlos
[15:34] <random1> this is really confusing on whats happening. Makes no sense pavlos
[15:35] <pavlos> random1: you can load the modules, sudo modprobe usb_storage; sudo modprobe uas then check they are loaded, lsmod | grep storage
[15:37] <random1> https://pastebin.com/At37a7CM    is my blacklist.conf  btw
[15:37] <random1> after doing that this comes up usb_storage            77824  1 uas
[15:37] <random1> pavlos
[15:38] <pavlos> random1: now test a usb stick, does disks see it?
[15:39] <random1> No it only shows my hard drive
[15:39] <random1> pavlos
[15:40] <random1> shows dev/sda1, dev/vgubuntu/root, and /dev/vgubuntu/swap_1 pavlos
[15:41] <pavlos> random1: ok, I'll have to research this ...
[15:41] <random1> let me know if there is anything i can pastebin. I really appreciate your help. Would hate to wipe everything again pavlos
[15:44] <Ether_Man> So I know it's possible to rebind keys on the keyboard. Is it possible to rebind to Fn+arbitrary key? Like say Fn+m even if Fn+m normally has no function attached?
[16:02] <random1> fun fact i tried "sudo dd if=linuxmint-18.1-mate-32bit.iso of=/dev/sdb" and my entire system crashed. Was wondering if i could grunt through it. everything just froze
[16:07] <random1> hey i forget whos name it was whoever was helping me but dont worry about it. Im going to do a fresh install i guess
[16:37] <cjoke> Is there a way of "filter out" with grep the last commands (last hour or so) without log off usersession in gdm3 ?
[16:38] <cjoke> I cant see anything in this session in ~/.bash_history
[16:39] <tomreyn> use the "history" command instead
[16:40] <cjoke> tomreyn: ahh, learning something new everyday :) I used tabs in terminal , thats why it did now write to .bash_history. Thanks.
[16:40] <user217_> hello. try to format ssd, but get error : /dev/sde1 is apparently in use by the system; will not make a filesystem here!
[16:41] <tomreyn> you're welcome, cjoke
[16:41] <user217_> also , this is not mount problem : umount: /dev/sde1: not mounted
[16:42] <MacGregor> How do I put a shortcut in the dash in Ubuntu 20.04? I would like to put a symlink to ~/Documents in the Dash.
[16:42] <tomreyn> user217_: maybe it's not a file system but it can still be some form of block device layer that's in use, such as a raid array member device, or an LVM physical volume. run  file -s against it to get a better idea of how it may be used
[16:42] <EriC^> MacGregor: you could put a desktop file of your file manager with the argument pointing to your /home/user/Doc...
[16:46] <MacGregor> EriC^: I know how to make .desktop files. How do I get that in the Dash? Would that .desktop file go in ~/.local/share/applications ? And then from the menu to the Dash?
[16:50] <user217_> tomreyn, https://paste.ubuntu.com/p/MqTV36Qn9R/
[16:50] <user217_> tomreyn, https://paste.ubuntu.com/p/dMztxRKqK5/
[16:50] <user217_>  ERROR: no btrfs on /dev/sde
[16:50] <user217_> https://paste.ubuntu.com/p/X6D9HMdvnj/
[16:50] <user217_> https://paste.ubuntu.com/p/ssTNBbrZ57/
[16:51] <tomreyn> user217_: did you run file -s against it,t hough?
[16:52] <user217_> tomreyn, sdd is empty
[16:52] <EriC^> MacGregor: yes, copy the usual filemanager desktop file to your ~/.local.... dir from /usr/share/applications, and edit the Exec line and whatnot, then chmod +x it
[16:52] <EriC^> and drag to the dash
[16:53] <MacGregor> EriC^: Excellent idea! I was wondering what to write in the .desktop file. Your suggestion is genius! Thank you
[16:53] <tomreyn> user217_: sdd? didn't you say this was about /dev/sde1 ?
[16:54] <EriC^> MacGregor: no problem
[16:56] <user217_> tomreyn, yep
[16:56] <user217_> tomreyn, https://paste.ubuntu.com/p/K7Hc33d7X8/
[16:58] <user217_> tomreyn, https://paste.ubuntu.com/p/M3w4SynbFT/
[16:59] <diamondbond> anyone here have the dummy output issue on 20.04?
[17:00] <tomreyn> user217_: hmm, data is unusual if it had been in use before. what does ths return?    ls -l /dev/sde1
[17:01] <user217_> tomreyn, brw-rw---- 1 root disk 8, 65 жов  8 19:35 /dev/sde1
[17:02] <tomreyn> diamondbond: imagine you're with a fairy, and sher grants you three questions to ask about understanding and solving this issue, would this be one of your questions?
[17:04] <tomreyn> user217_: hmm ok i guess it's just a standard partition then. can't easily tell how it was used. but rebooting will ensure it's not in use anymore (unless you have it referenced somwhere where it gets activated during boot).
[17:05] <user217_> tomreyn, I cant reboot now, becouse I need to backup files to it, becouse I suddenly delete partition table on other hdd
[17:06] <diamondbond> tomreyn, yes, its been plaguing me for a few months now and i can't find a permanent fix, pulseaudio -k && rm -rf ~/.config/pulse && sudo alsa-force reload and then rebooting; temporarily fixes the issue but every time i reboot after that my audio output is still "dummy output"
[17:06] <diamondbond> only after running the pulseaudio cmd's 2-3 times then immediately rebooting with my headphones plugged in does the problem no longer persist
[17:07] <diamondbond> but this problem is on two of my machines (Both running ubuntu 20.04 - one with xfce and the other with plasma)
[17:07] <Ether_Man> Don't suppose it's possible to get PlayOnLinux/Wine to think the drive is bigger than what it is is there? Have a 64gig drive, using ZFS compression gets me everything I need... Except the game wants 20gig free before it accepts to patch anything and ofc it wants the newest everything... Even if it won't end up using any more and it would have 20gig if it tried with the compression... But because it sees 18, it doesn't even try :/
[17:09] <user217_> tomreyn, I re-plug ssd and can format it now. thanks for help
[17:12] <tichun> What do you think about Ubuntu having 135k open bugs? They are never going to be fixed and the number is growing. Add Debian to this - instead of Ubuntu directly using Debian's repo + custom repos for additional features it doubles the burde = 135k Ubuntu + 84k Debian, instead of having the bugs tracked once, as the difference in packages between
[17:12] <tichun> the two is small, unjustifiable small compared to the cost. BTW why distros are happy to increase the number of maintained packages? It should be the reverse, look at windows, they carry less than 1000 programs, I guess. Meanwhile distros with waay less resources are trying to carry around 50k of packages. Why should they even provide anything
[17:12] <tichun> beside a bare system? Anything else could be provided from an additional repository, like PPA/Flat/Snap/Google Play/ MS Store/AppImage/steam/websites etc.
[17:14] <MacGregor> EriC^: I'm now very happy that I learned how to write my own .desktop files instead of using a menu editor :)
[17:14] <EriC^> MacGregor: great, good to hear :)
[17:15] <ohmyfromage> is there a better notifications app for ubuntu than the standard one?
[17:15] <TuxCrazy> which official flavour of Ubuntu 20.04 would be suitable for a laptop with just 4 Gigs of RAM?
[17:15] <MacGregor> TuxCrazy: I would say Xubuntu
[17:16] <MacGregor> It uses the XFCE desktop environment.. which is less resource heavy
[17:16] <TuxCrazy> MacGregor, how about Ubuntu Mate, Budgie or Deepin?
[17:16]  * tomreyn on the phone, brb
[17:16] <MacGregor> TuxCrazy: I know nothing of Budgie or Deepin, but Mate is technically a fork of gnome 2.x
[17:16] <TuxCrazy> I have never tried Budgie and Deepin.
[17:17] <TuxCrazy> MacGregor, ok
[17:17] <MacGregor> TuxCrazy: LiveUSB.. the wonderful way to test before installing :)
[17:17] <TuxCrazy> are Ubuntu Cinnamon and Deepin official flavors of Ubuntu?
[17:18] <TuxCrazy> if not, when will they become official flavors?
[17:18] <MacGregor> I' not sure about "official" falvors, but I believe Cinnamon is a Linux Mint product
[17:19] <TuxCrazy> MacGregor, https://ubuntucinnamon.org/
[17:20] <MacGregor> TuxCrazy: Cinnamon, Budgie and Deepin are just desktop environmnets. I suppose you could install them in Ubuntu itself
[17:21] <MacGregor> TuxCrazy: It's good to think about machine specs, but I feel it's also good to use that which is easiest for the user
[17:23] <TuxCrazy> MacGregor, ok
[17:25] <MacGregor> TuxCrazy: One of the many reasons LiveSUB is so helpful
[17:25] <TuxCrazy> MacGregor, ok
[17:26] <TuxCrazy> MacGregor, but, after installing the packages later the distro may become heavy and sluggish on such machines with limited resources.
[17:26] <MacGregor> TuxCrazy: Yes, it would take up HD/SSD space, but a desktop that isn't running isn't really tking up RAM memory, is it?
[17:27] <TuxCrazy> MacGregor, ok
[17:27] <benharri> c
[17:27] <jpmh> I am grabbing some randomness with: hexdump -C -n 8 /dev/random -  I check the entripy before and after - seems that more entropy than should be is being consumed, please see: https://paste.ubuntu.com/p/qMhympRbxh/
[17:33] <tomreyn> user217_: sorry, had a phone call incoming - glad you solved it!
[17:35] <jpmiller25> I had some trouble with booting to usb previously, I've given up on that and dual booted my windows machine, however now my grub / boot config is all jacked up, can I get some help fixing it?
[17:35] <jpmiller25> https://pastebin.com/EMbC9nP1 boot-repair report
[17:35] <jpmiller25> The automatic boot-repair script fails
[17:35] <tomreyn> diamondbond: sorry, been on the phone. what i meant to explain with the fairy tale is that it's much preferred here to ask specific questions about your very situation, rather than to make it a poll. the poll can seem like a nicer way to start the conversation, but most people on this support chat will prefer you getting straight to the point.
[17:39] <tomreyn> diamondbond: the problem where alsa does not detect your playback sink or sound chip is unknown to me. the way you describe it, it sounds like a race condition. firmware updates *may* help there, or you can try to gather some info on the hardware ynad environment you have there, using the alsa-info script.
[17:39] <tomreyn> but i'm pretty bad at sound debugging, so don't expect much from me there.
[17:39] <tomreyn> !sound | diamondbond
[17:39] <diamondbond> thank you tomreyn :)
[17:42] <tomreyn> jpmiller25: we only support ubuntu here, please check the website of your linux distribution for available support channels, or install ubuntu  - then we can support you here.
[17:43] <tomreyn> diamondbond: you're welcome, good luck!
[17:44] <jpmiller25> Shoot, right I forgot in trying different things to get it to work I ended up on mint...  my bad
[17:45] <tomreyn> no problem, jp ;)
[17:46] <tomreyn> ##linux is another option
[17:48] <Mibix> I can not fix this damn dependency issue and therefor can't upgrade my ubuntu heh https://paste.ubuntu.com/p/fMTBWwHcJb/
[17:50] <MacGregor> Mibix: Why aren't you using zoneminder from the repos?
[17:50] <Mibix> its from their PPA
[17:51] <MacGregor> Mibix: Right, but have you tried using the one in the repos?
[17:51]  * MacGregor feels that we shouldn't use a PPA for something that is in the repos - the present case is why
[17:51] <Mibix> nah i set this up a long time ago and it took me forever to get working so i would rather not mess with it
[17:52] <MacGregor> Well, you're going to have to do something now
[17:52] <Mibix> i dont think the one in the repo was working
[17:54] <Mibix> the repo version uses the same dependencies though
[17:54] <Ether_Man> Is there any way to trigger a ZFS recompress after changing compression from the default?
[17:54] <bluetemplar> hi, how can I set back the application search keyboard shortcut to "Super" only ?
[17:55] <MacGregor> Mibix: The zoneminder in the repos uses the deps from the repos.. that's the whole purpose of repos
[17:55] <MacGregor> your problem is a deps problem due to unmet dpes from the repos
[17:56] <tomreyn> Mibix: which ubuntu release are you on, and which repository is configured, and how, where you pull this 'zoneminder' package from?
[17:56] <MacGregor> bluetemplar: If you do that I don't think you'll be able to use "Super" for anything else - i.e. for Super+H to open the home folder
[17:56] <Mibix> im stuck on 18.04
[17:57] <bluetemplar> but it worked before ? (IIRC when "Super" was released ?)
[17:57] <Mibix> APT-Sources: http://ppa.launchpad.net/iconnor/zoneminder-master/ubuntu bionic/main amd64 Packages
[17:58] <Mibix> that is from the apt show zoneminder
[17:59] <MacGregor> Whoa, no inxi app on 20.04?
[17:59] <MacGregor> Mibix: I'm wondering if you have mixed repo resources
[17:59] <tomreyn> Mibix: did you    sudo apt update     before trying to install this?
[18:00] <pavlos> Mibix: use Isaac's repo, add-apt-repository ppa:iconnor/zoneminder-1.34
[18:00] <tomreyn> https://packages.ubuntu.com/bionic/libavcodec57 shows that libavcodec57 should indeed be on version 7:3.4.8 in bionic (amd64)
[18:01] <tomreyn> but you have 7:3.4.6-0ubuntu0.18.04.1 installed instead
[18:01] <Mibix> yeah i just did a sudo apt-update
[18:01] <Mibix> err
[18:01] <Mibix> sudo apt-get update
[18:02] <Mibix> then i did a sudo apt-get update libavcodec57 and no updates
[18:02] <MacGregor> old PPA?
[18:02] <tomreyn> and    sudo apt-get update    ran without reporting any errors or warnings?
[18:03] <tomreyn> note that "apt-get update" does not take additional (non option) arguments
[18:03] <Mibix> https://paste.ubuntu.com/p/ShxFXqFPpq/
[18:04] <tomreyn> !repositories | Mibix
[18:04] <tomreyn> you lack important apt repositories, szuch as those providing security updates
[18:05] <tomreyn> or so it seems
[18:05] <tomreyn> sudo /bin/true && cat &>/tmp/aptlog < <(sudo grep -hEv '^([ ]*#.*)?$' /etc/apt/sources.list{,.d/*.list} 2>&1; sudo apt-get -y update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog && rm /tmp/aptlog
[18:05] <tomreyn> ^ this would tell
[18:05] <TheWild1> hello
[18:05] <MacGregor> Mibix: How did you run that sudo command without the need for a password?
[18:06] <TheWild1> folks, do you remember? https://pasteboard.co/JuibGwL.png
[18:06] <TheWild1> that ugly scrollbars on i3. I found out it looks almost good when running "gnome-settings-daemon". What the heck is going on here?
[18:06] <TheWild1> and how to fix it?
[18:07] <Mibix> tomreyn i did not have enough of those boxes checked off
[18:07] <Mibix> seems to be working now :D
[18:10] <Mibix> lmao wow
[18:10] <Mibix> 800mb of updates
[18:10] <Mibix> im a moron thanks tomreyn
[18:10] <Mibix> :D
[18:10] <MacGregor> Mibix: I'm hoping that resolves the deps issue
[18:11] <Mibix> it did
[18:11] <tomreyn> it probably also resolves a lot of other (security) issues.
[18:12] <Mibix> haha for sure
[18:12] <Mibix> it looks like it was only downloading updates from the custom PPAs i added
[18:12] <Mibix> :o
[18:12] <MacGregor> yeah, since y ou only had those checked
[18:13] <analogical> please tell me how do check available disk space using the terminal
[18:13] <tomreyn> if this system was connected to the internet directly for a while in this configuration, you may want to just do a fresh install now.
[18:13] <tomreyn> Mibix: ^
[18:13] <Mibix> haha
[18:13] <MacGregor> Right, due to security vulnerabilities that went unpatched
[18:13] <Mibix> wasnt connected directly
[18:13] <tomreyn> analogical: df -h /path/to/mount_point_or_directory
[18:14] <plujon> I have a lubuntu VM that lacks an ip address after boot.  dmesg shows nothing I can identify as problematic.  What ordinarily causes networking to start?  Where should I look?
[18:14] <Mibix> i wonder how this got turned off
[18:14] <analogical> tomreyn, I want to check a hard drive nothing else
[18:15] <tomreyn> analogical: you mean the physical capacity of a disk, not the remaining capacity of a file system (a formatted partition)?
[18:15] <MacGregor> tomreyn: the link to https://wiki.ubuntu.com/RecommendedSources that the bot posted is really old info. Do you know of a more recent page?
[18:16] <tomreyn> analogical: let me rephrase this: you mean the total capacity of a physical disk, not the remaining capacity of a file system (a formatted partition)?
[18:16] <analogical> tomreyn, I want know how much available free space there is on my hard drive is that so strange?
[18:16] <pavlos> plujon: did you assign a network interface to the VM (bridge, NAT)
[18:17] <analogical> maybe that isn't possible with linux
[18:18] <tomreyn> analogical: i have not fully verified it, but on a quick glance this looks like the default sources.list file of ubuntu 18.04 LTS: https://gist.githubusercontent.com/h0bbel/4b28ede18d65c3527b11b12fa36aa8d1/raw/314419c944ce401039c7def964a3e06324db1128/sources.list
[18:18] <tomreyn> (for a system close to ths US(A) mirror server)
[18:19] <tomreyn> analogical: sorry, this wanst for you
[18:19] <tomreyn> MacGregor: see above
[18:19] <MacGregor> tomreyn: Thank you
[18:19] <Mibix> if im using Cinnamon as my desktop evnironment am I going to have issues when i upgrade to 20.04?
[18:20] <analogical> I want know how much available free space there is on my hard drive how do I do that from the terminal?
[18:20] <tomreyn> analogical: unless you have a file system directly on the raw disk, which is not very common (but possible), yes.
[18:20] <MacGregor> Mibix: Are you using Linux Mint?
[18:20] <plujon> pavlos: Yes, the networking used to work fine for the VM.
[18:20] <Mibix> no ubuntu 18.04
[18:20] <Mibix> i just switched the DE to cinnamon
[18:20] <MacGregor> Mibix: I do remember there being large issues for users upgrading to 20, but that was in the Mint community.. I'm not sure if it happens here
[18:20] <plujon> pavlos: I did some package trimming yesterday in the VM, IIRC; perhaps I removed too much..?
[18:20] <tomreyn> analogical: i think you probably want to run something similar to    df -h | grep ^/dev
[18:21] <pavlos> plujon: "ip a" shows ...
[18:21] <TheNik> Hi! I have been following a guide for a piece of software (https://bitbucket.org/Freetz-NG/freetz-ng/src/master/ in case its relevant). I have not much of an idea about Linux yet, but a command "make menuconfig" yields me the result "Please set umask to 022 and then unpack/checkout again in a directory having no uid-/gid-bits set.". As far as I can tell this relates to permissions somehow. I used "umask 022" in this
[18:21] <TheNik> directory, but that was apparently not enough. How do I know if that is the issue or if the directory I am in has uid-/gid-bits set?
[18:22] <MacGregor> Mibix: If it were me, going from 18.04 to 20.04, I would make backups and do a fresh install. If for no other reason than to just clean the system out
[18:22] <TheWild> folks
[18:22] <TheWild>  /var/lib/command-not-found/commands.db: regular file, no read permission
[18:22] <TheWild> is this correct?
[18:23] <TheWild> permissions are: -rw-------   root:root
[18:23] <Mibix> no way i have way too many things configured
[18:23] <Mibix> i did make a backup though
[18:24] <pavlos> TheWild: perms should be 644
[18:24] <plujon> pavlos: Well, I manually assigned an ip address using ip addr add ... , but before that, it showed (diggging...)
[18:24] <MacGregor> TheWild: I'm on 20.04 and I have: -rw-r--r--  1 root root 3.0M Oct  7 18:31 commands.db
[18:24] <plujon> (it showed no ip address for the enp3s0 interface)
[18:24] <tomreyn> TheWild: which ubuntu release is this, and is this ubuntu at all?
[18:25] <TheWild> recently updated from 18.04.1 LTS to 20.04.1 LTS
[18:25] <MacGregor> Another reason to do a fresh install between major versions
[18:25] <tomreyn> hmm strange that you got different permissions set,t hough
[18:26] <TheWild> MacGregor: yeah, I think to do that. My /home is on separate partition so there shouldn't be much pain.
[18:26] <TheWild> (because I have some little but annoying GUI breakages)
[18:27] <MacGregor> sudo chmod a+r /var/lib/command-not-found/commands.db ## this would fix that issue
[18:30] <TheNik> Perhaps to elaborate on my question, I think I am missing what exactly the uid and gid bits are? Do they mean the UID and the GID, and if so can those be "unset"?
[18:30] <TheWild> MacGregor: yeah, I already did it. Thanks.
[18:30] <MacGregor> yw
[18:32] <tomreyn> TheNik: normally, when you create a new file on linux, or, more specifically, ubuntu linux (but not ubuntu bash on windows, i think), it will be owned by the user (and this users' primary group) you're working as.
[18:33] <tomreyn> TheNik: the message you encountered suggests that an override on this may be in effect for the directory you're working in.
[18:33] <TheNik> That makes sense, yes
[18:33] <MacGregor> tomreyn: So, the "u" in UID mean s "user"?
[18:33] <MacGregor> makes sense
[18:33] <tomreyn> it means "user id"
[18:34] <TheNik> User ID and Group ID, I think
[18:34] <MacGregor> TheNik: Ah, yeah
[18:34] <TheNik> tomreyn: How could such an override look like? The directory has my uid and gid, as I would expect
[18:35] <TheNik> The directory I am working in, that is
[18:35] <tomreyn> TheNik: this 'override' would be set the uid/gid unix 'permissions' bits on the directory, so that the user/group ids set on the directory are applies to all newly created file system objects (such as files) within this directory.
[18:36] <tomreyn> read section "SETUID AND SETGID BITS" of the "chmod" man page.
[18:36] <TheNik> Many thanks, will do
[18:36] <tomreyn> !man | TheNik
[18:37] <tomreyn> "man 1 chmod"
[18:39] <tomreyn> TheNik: hmm, actually you'd ened to read the full man page, and it's not easy to understand. so maybe we should look into this more with the example at hand
[18:39] <tomreyn> ened -> need
[18:40] <TheNik> tomreyn: Looking just at the section you pointed me at, it suggests that cd ..; chmod u-s dir; chmod g-s dir; should do the trick?
[18:41] <TheNik> I wouldn't say that I properly understand the first paragraph of this section yet, but that should be something I can fix if I apply some Google to the problem :D
[18:41] <tomreyn> i don't think you need to change out of the directory initially, but otherwise i guess so, yes
[18:41] <TheNik> Can I chmod on "."?
[18:41] <tomreyn> yes
[18:41] <TheNik> Alright, never thought of that
[18:42] <TheNik> Also makes sense
[18:42] <Mibix> wait upgrading from 18.04 and it says its going to remove nodejs, python, thelounge
[18:43] <tomreyn> TheNik: ./ or /absolute/path/to/directory should also work
[18:43] <Mibix> why thelounge :(
[18:45] <tomreyn> Mibix: in fact, for a good chance to have your release upgrade work out, you should purge all packages and package versions (which may have replaced original ubuntu package versions) from third party repositories before you start the upgrade.
[18:45] <tomreyn> !ppa-purge
[18:46] <TheNik> tomreyn: After "umask 022; chmod u-s .; chmod g-s .;" (each of which return no feedback), I run "make menuconfig" as stated in the guide, and get the same message. Let me paste the full text: "Makefile:113: *** Wrong build directory permissions. Please set umask to 0022 and then unpack/checkout again in a directory having no uid-/gid-bits set. Stop."
[18:46] <Mibix> oh its a bit too late for that heh
[18:46] <Mibix> i only had a few though
[18:46] <Mibix> Plex, Zoneminder, err
[18:46] <tomreyn> Mibix: i also like to recommend apt-forktracer as a utility to identify any leftover foreign packages and package versions *after* removing all those third party repositories
[18:49] <tomreyn> TheNik: some file systems will fail silently on this chmod change, because they do not know how to do this, not supporting UNIX ACLs
[18:50] <tomreyn> TheNik: do you know which file system this is?
[18:50] <tomreyn> "mount" may tell.
[18:50] <MacGregor> sudo updatedb doesn't work, I'm guessing the slocate database isn't installed in 20.04?
[18:50] <tomreyn> TheNik: also, feel free to show the output of    ls --numeric-uid-gid --directory     against the directory.
[18:51] <tomreyn> !paste | TheNik
[18:51] <MacGregor> Ah, the mlocate app isn't instaleld by default. Guess I no longer need to worry about it
[18:51] <TheNik> mount returns a lot of info
[18:52] <TheNik> I am not sure if it is supposed to do that
[18:52] <MacGregor> TheNik: Same here, and this is a new 20.04 install
[18:54] <tomreyn> TheNik: that's normal, much of it will be snap mounts. you can try    findmnt   (optionally with suitable arguments according to --help) instead.
[18:55] <plujon> How do I temporarily set a dhcp server?
[18:55] <plujon> vi /etc/resolv.conf # warns me not to edit...
[18:56] <plujon> Oh, well, editing /etc/resolv.conf works apparently.
[18:57] <MacGregor> plujon: You need to use sudo when editing a system file
[18:58] <plujon> MacGregor: Thanks, I did.
[18:58] <TheNik> tomreyn: Here are the outputs of the two commands you suggested: http://paste.ubuntu.com/p/2FJ2p7bYFq/ I was trying to find a legend for the output of ls -l and failed at that, but I can say that the second column which says 12 for "freetz-ng" says 2 for all other directories in my home dir
[19:02] <tomreyn> TheNik: so this directory seeems to be on the ext4 file system mounted at / - you don't seem to have more mounts below that for nikita's ~/freetz-ng, which is probably at /home/nikita/freetz-ng
[19:02] <plujon> Rebooted, lost IP again.  Hmm.
[19:03] <TheNik> To be clear, a mount is a handle in the file system for a device?
[19:04] <tomreyn> TheNik: and the freetz-ng directory does not seem to have sticky UID/GID set
[19:04] <plujon> http://ix.io/2A7M # ip addr (none)
[19:06] <plujon> systemd-networkd[258]: enp0s3: Gained carrier # does not occur.  Hmm.
[19:07] <tomreyn> TheNik: yes, i guess you can say so.if you're familiar with file systems on windows, you may know that you can assign a drive name (C:/D:/E: ...) to a given directory to be able to address it easier. "mount" basically does the opposite, takes another file system (a formatted partiton and the data on it) and makes it available at some existing (usually empty) directory in the existing directory tree.
[19:08] <tomreyn> i'm not sure this was a helpful explanation. :)
[19:08] <TheNik> It definitely was, thank you :-)
[19:08] <tomreyn> great.
[19:11] <TheNik> So I take it that as far as you or I can tell, the issue is not with the umask, the setgid or setuid?
[19:13] <tomreyn> i think the most important thing to understand about the file system hierachy whem you're coming from windows to linux is that "drive" on windows is a terrible misnomer (for historical reasons). it really refers to a file system on top of (most of the time) a partition on a (partitioned) physical disk most of the time. but when you say "drive" in a linux environment, everyone will just understand "physical disk drive".
[19:13] <tomreyn> TheNik: yes, i don't see a problem with those
[19:14] <tomreyn> this said, i'm not sure which exact directory this "build directory" message refers to
[19:14] <MacGregor> tomreyn: Agreed.. a terrible misnomer
[19:18] <TheNik> That [the drive-misnomer thing] makes sense. So if I have a physical disk drive with multiple partitions, Linux will still treat it as a single drive, but assign the partitions to different mounts?
[19:19] <MacGregor> TheNik: yes, similar to /root and /home being on the same physical device
[19:20] <TheNik> As for the error I am getting, no worries. I frankly did not expect the software to work in the end anyway ;-). Just that perhaps I did not expect it to fail before I could even try using it. In any case many thanks for the help you provided
[19:22] <MacGregor> TheNik: /dev/sda is a device, but /dev/sda1 and /dev/sda2 are two partitions on that physical drive
[19:24] <tomreyn> TheNik: if you can't find help with freetz in their official channel (i *think* they have one), try #ubuntu-de-offtopic (if you speak German, I'm assuming you may), you'll find peoplle using it there.
[19:25] <TheNik> I may look for a freetz channel, but I wouldn't expect there to be one
[19:25] <MacGregor> freetz may also have forums somewhere
[19:25] <TheNik> There is a fritzbox channel on freenode, though.
[19:26] <TheNik> Fritzbox being the hardware that freetz runs on, for anyone not familiar
[19:26] <tomreyn> give it a try there, then
[19:27] <londeen> is there a channel for multipass?
[19:27] <TheNik> I will. :-) Thank you very much!
[19:27] <tomreyn> !alis | londeen
[19:27] <tomreyn> you're welcome, TheNik
[19:29] <londeen> thanks!
[19:30] <tomreyn> you're welcome, londeen
[19:30] <DerHorst> Where can I find the files that get applied to the /etc directory when a packeage gets installed? For example I am looking for the default setting of apache2, the files in /etc/apache2/conf-enabled/ . I cant find those files in the apache2 packahe itself, therefore I think the settings are managed by the package manager? Where does the package manager gets the default settings files?
[19:31] <tomreyn> DerHorst: if you'll look closely, you'll notice those aren't files
[19:32] <DerHorst> I need the files in somethig like an online repository where I can link to it so that a person can read the default config independent of his/her operating system
[19:32] <tomreyn> (they're symbolic links)
[19:32] <DerHorst> in /conf-enabled they are. They link to /conf-available
[19:33] <tomreyn> right
[19:33] <Mibix> wow this upgrade process takes a long time
[19:33] <DerHorst> in /conf-available there are files
[19:33] <Mibix> gonna suck when it breaks everything after lol
[19:33] <DerHorst> where do those files come from?
[19:34] <DerHorst> (and, as a bonus: where do the symbolic links come from?)
[19:34] <DerHorst> Am I right that the package manger creates them somehow?
[19:34] <tomreyn> DerHorst: i haven't verified this, but i assume the syminks are set by the post-install script which is part of the debian package, and the actual files will come from the data archive in the debian package.
[19:34] <MacGregor> DerHorst: Some of that is created by the post-install scripts when the package is installed
[19:34] <DerHorst> Where can I find thos scripts?
[19:35] <MacGregor> in the package
[19:35] <MacGregor> The package has a file system tree and you can simply right-click and "extract here"
[19:36] <DerHorst> At the moment I am looking here:
[19:36] <DerHorst> https://git.launchpad.net/ubuntu/+source/apache2/tree/?h=applied/ubuntu/focal
[19:36] <tomreyn> after installation, you'll find a copy of the postinst script at /var/lib/dpkg/info/PACKAGENAME.postinst
[19:37] <MacGregor> DerHorst: isn't that link to a source package that builds the binary?
[19:38] <MacGregor> I see make files
[19:38] <tomreyn> it should be so
[19:38] <DerHorst> I think so
[19:38] <MacGregor> I don't think that's a normal package
[19:40] <tomreyn> depends on whether, to you, 'normal' packages are binary packages only. ;-)
[19:40] <MacGregor> Yeah, that's a build package: https://git.launchpad.net/ubuntu/+source/apache2/tree/include?h=applied/ubuntu/focal
[19:40] <MacGregor> tomreyn: Ah, good point
[19:42] <MacGregor> That looks a lot like what I did when experimenting with LFS
[19:42] <DerHorst> the files I am looking for are mentioned in the postins file. But not the content :(
[19:44] <mindofmateo> I have a keybinding in sxhkd to open openshot-qt (it is: super + o ; e).  If the keybinding is set to "openshot-qt", it does nothing, but if I set it to redirect stderr/stdout to a file with "openshot-qt &> /some/file", it works normally.  Why is this?
[19:44] <DerHorst> My assumption (that totally could be wrong) is, that the defalt config-files have to be somewhere inside the package
[19:45] <tomreyn> DerHorst: this is pretty much outside of Ubuntu support IMO, but have a look at https://git.launchpad.net/ubuntu/+source/apache2/tree/debian/config-dir/conf-available?h=applied/ubuntu/focal and then we can move to #ubuntu-discuss or something.
[19:45] <tomreyn> or #ubuntu-app-devel
[19:45] <DerHorst> PERFECT
[19:45] <MacGregor> DerHorst: http://archive.ubuntu.com/ubuntu/pool/universe/a/apache2/
[19:46] <DerHorst> Thats exactly what I was looking for! the debian/config-dir just has the answers
[19:48] <DerHorst> I just need the link to the security.conf default file
[19:48] <DerHorst> https://git.launchpad.net/ubuntu/+source/apache2/tree/debian/config-dir/conf-available/security.conf?h=applied/ubuntu/focal
[19:50] <DerHorst> Because I write a thesis about IT security and I mention that the default config does not disable directory listing for version control meta-folders (like for example .git or .svn). I have seen that the necessary setting is in the security.conf, but it is commented out
[19:51] <DerHorst> MacGregor, tomreyn, thank you bot a lot for guiding me through the package and helping me to understand the packages a little more!
[19:52] <MacGregor> DerHorst: you're welcome. I learned a lot too, thank you for posting the questions :)
[19:52] <DerHorst> I really like this! In the beginning I just wanted to see that file, now, thanks to you guys, I learned about post install hooks and where they come from
[19:53] <tomreyn> you may want to read https://en.wikipedia.org/wiki/Deb_(file_format)
[19:54] <MacGregor> I just assumed it was a .zip file with a changed file ext
[19:54] <DerHorst> I will, thx
[20:07] <jpmh> I am grabbing some randomness with: hexdump -C -n 8 /dev/random -  I check the entripy before and after - seems that more entropy than should be is being consumed, please see: https://paste.ubuntu.com/p/qMhympRbxh/
[20:17] <Mibix> haha this 20.04 updater is serious its been going for about an hour and 1/2 now and its only here https://imgur.com/a/BfFF5G7
[20:17] <Mibix> im hoping that status bar isnt accurate
[20:20] <tomreyn> if you disk is a bit slow (classic 5400 rpm hdd?) or you are short of ram, it can take a good while.
[20:20] <tomreyn> try closing some other applications if you have any running
[20:21] <TheNik> The status bar: Is it moving? No? Should it? Yes? Apply WD-40!
[20:22] <Mibix> the OS is on solid state and I have close to 100gb of ram
[20:24] <mason> Mibix: Anything in logs?
[20:24] <tomreyn> hmm, maybe there's not much space left or you don't fstrim?
[20:26] <Mibix> nah only using like 1/5 of the drive
[20:26] <mason> Mibix: look for errors near the end of dmesg, look for oddities in logs
[20:27] <Mibix> not even sure where the logs for this thing would be
[20:28] <Mibix> its not letting me open anything anyway heh
[20:29] <tomreyn> ctrl-alt-t; journalctl -f
[20:30] <mason> Mibix: switch to a virtual console maybe - control-alt-f2, say - and log in, dmesg, tail /var/log/syslog, etc.
[20:31] <TJ-> If apt is running, look at "ls -latr /var/log/apt/"
[20:31] <Mibix> oh i swear it wasnt letting me open a terminal earlier heh
[20:32] <mason> bbiab, meeting
[20:41] <mindofmateo> Is there a persistent way to run scripts or commands when files change like with `entr`? eg When a config file is changed, it is reloaded by the program which uses it.
[20:48] <tomreyn> the something that would make this happen would need to be triggered via inotify (like entr is), then know which service the file which changed belongs to, and then know how to make this service reload. i'm not aware of an existing software that does all of this, independently of the service.
[20:49] <tomreyn> It's probably also a good way to trigger a DoS situation
[21:01] <halfbit> is there a guide on creatnig a custom installer iso for 20.04?
[21:01] <halfbit> I did it with 18.04 with a script that extracts the iso, does some mods, then recreates an iso with an updated preseed, the cloud-init yaml for 20.04 though is confusing, its not clear where that can go
[21:02] <halfbit> the autoinstaller docs suggest its another disk mounted along side the normal install iso
[21:07] <oerheks> cubic perhaps?
[21:07] <oerheks> https://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image
[21:21] <Kireji> I've done a 16.04->18.04->20.04 do-release-upgrade on a laptop, and the GUI has stopped working. on reboot, I get the “The system is running in low-graphics mode” error.  **is it possible to "re-do" the full installation process** how do I go through and make sure that I have on the laptop all the packages it needs, and that they are all installed and running correctly?
[21:21] <Kireji> I've gone through https://askubuntu.com/questions/141606/how-to-fix-the-system-is-running-in-low-graphics-mode-error from 8 years ago, but given the graphics were all working fine on 16.04, I don't think the solutions offered there are relevant
[21:21] <Kireji> considering doing this next: https://ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling-it/
[21:23] <Kireji> any suggestions would be greatly appreciated! ty
[21:25] <Morteza24> is xubuntu still lighter that kubuntu or are they almost the same now?
[21:32] <en1gma> i have ubuntu 20.04 amd64 desktop on both my laptops. one of my laptops is tethered to my phone (usb internet) and then on that same laptop i created an AP so my other laptop can connect to it. what i want to do is force link speeds. i know on the laptop with the wusb600nv2 it can do 300mbps (2 antennas) abgn and my AP laptop has Intel wireless 7260 which can do 768mbps and does abgn/ac
[21:32] <en1gma> i would like to force the AP and the Client to 300mbps and 5ghz N only
[21:33] <en1gma> i might need to set the MTU but thats a different story
[21:33] <en1gma> can someone help me do this?
[21:34] <en1gma> i been trying to do this for a couple days now and reading quite a bit. im pretty sure the nm-connection-editor dont let us manually change those settings
[21:49] <Mibix> really!? after hours of upgrading https://imgur.com/a/kZO1csR
[21:50] <Mibix> tomreyn you still around
[21:50] <tomreyn> Mibix: depends, what's your question?
[21:51] <Mibix> check that screenshot
[21:51] <Mibix> my upgrade failed :(
[21:51] <tomreyn> sorry to hear this. i'm afraid you had already started your upgrade by the time i told you about the needed precautions.
[21:53] <Mibix> its an error with grub-pc
[21:53] <Mibix> im scared lol
[21:55] <tomreyn> yes, i didn't see this one coming. there was a problem with old installations where grub was installed in a special mode which was never recommended (i forgot the term for it, embedded or something?), and there was a bug report about it. but i think it was fixed before the upgrade was enabled, so maybe this is something else really.
[21:56] <tomreyn> you should probably review what went wrong exactly, logs are in /var/log/release-upgrade i think
[21:57] <Mibix> hmm it is booting...
[21:57] <Mibix> grub seems different but still working
[21:57] <tomreyn> and once the installer quits after its clean up attempts, you should ensure apt is in a good state (apt sources point to focal, "apt update" runs without warnings or errors, "apt full-upgrade" succeeds) and then reinstall grub
[21:57] <tomreyn> oh you already rebooted.
[21:58] <tomreyn> i guess i'm typing too slowly
[21:59] <Mibix> haha im just being a bit careless i think :p
[21:59] <en1gma> i wonder if anyone seen my questions as it seems it was quiet for a long time before i got fully connected?
[21:59] <Mibix> it is working....
[21:59] <Mibix> for the most part at least
[21:59] <tomreyn> en1gma: your questions made it through, no one has responded so far
[22:00] <en1gma> ok just checking because the irc server said something about running a scan on my ports or something. thanks
[22:01] <tomreyn> that's normal, ask in channel #freenode if you want more details about the scan
[22:04] <tomreyn> en1gma: i'm not able to guide on your specific setup, but a general recommendation: use ethernet where you can, wireless only where you strictly have to. wireless has a tendency to behave in unexpected and uncontrollable ways, like a bad of flea. there are methods to exercise some control on it but debugging, at least with non professional gear, is difficult if not impossible.
[22:04] <tomreyn> so if you like stability, use wires.
[22:05] <en1gma> windows can set the rate and modulation? cant ubuntu 20.04?
[22:06] <en1gma> i would like to test to see what happens on 2.4ghz and 5ghz @ 300mbps
[22:06] <en1gma> forced*
[22:21] <Mibix> tomreyn its still having that error with grub-pc install
[22:21] <tomreyn> Mibix: then it will help to get a better idea of what "that error" is about
[22:22] <Mibix> nstalled grub-pc package post-installation script subprocess returned error exit status 1
[22:23] <Mibix> that is all im getting :/
[22:26] <tomreyn> Mibix: if you run    dpkg --configure -a    do you get better output?
[22:27] <tomreyn> if not, edit /var/lib/dpkg/info/grub-pc.postinst and append " -x" (without the quotation marks) to the ent of the first line
[22:27] <tomreyn> ... and run     dpkg --configure -a    again
[22:27] <Mibix> k one second
[22:28] <Mibix> doing an autoremove have a ton of stuff in there
[22:30] <jwash> hi everyone, i lose my sshfs mounts after a few minutes, and lose my ssh sessions the same
[22:31] <jwash> is there a way to prevent it? a server setting, keep the connection alive?
[22:31] <tomreyn> you can't fix unstable network connectivity by software
[22:34] <tomreyn> you can play with the TCPKeepAlive ssh client option
[22:34] <jwash> will that work for sshfs also?
[22:35] <tomreyn> also with the ServerAliveIntervalssh client option
[22:35] <tomreyn> i assume either will also apply to sshfs.
[22:35] <jwash> good tips, thank yo
[22:35] <tomreyn> (if you're setting the connection up with the same ssh profile)
[22:37] <tomreyn> though if your connections hits the tcp connection timeout, which they seem to be doing, then you really need to identify and try to solve the underlying network issue.
[22:37] <tomreyn> or rather face the fact that networks are unstable and handle it by scripting / automation.
[22:38] <Mibix> tomreyn https://paste.ubuntu.com/p/G3ZrnbmQ38/
[22:38] <Mibix> when i added -x
[22:38] <tomreyn> you have plenty of disks!
[22:38] <Mibix> I do :)
[22:39] <Mibix> do you see any problems im not really understanding most of this heh
[22:40] <tomreyn> it's pretty long, i'll try to understand where it fails
[22:41] <tomreyn> Mibix: try running:    sudo dpkg-reconfigure -plow grub-pc
[22:41] <tomreyn> does it prompt about the disk to install to?
[22:42] <Mibix> it returns /usr/sbin/dpkg-reconfigure: grub-pc is broken or not fully installed
[22:43] <tomreyn> hmm, the easiest option may be to just purge all grub* packages you have installed, then reinstall those you have now.
[22:43] <tomreyn> sudo ap list --installed grub*
[22:43] <tomreyn> sudo apt list --installed grub*
[22:44] <tomreyn> sudo apt purge --autoremove grub*
[22:44] <tomreyn> take note of that is being removed
[22:44] <tomreyn> then reinstall those
[22:44] <tomreyn> note that this puts you in a situation where you won't be able to boot
[22:44] <tomreyn> just while those packages are gone
[22:46] <Mibix> lol when listing Listing... Done
[22:46] <Mibix> so none installs?
[22:48] <tomreyn> hmm, try    dpkg -l grub* | grep -v ^u
[22:48] <Mibix> i did the sudo apt purge --autoremove grub
[22:48] <Mibix> and it returned way too much for my buffer heh
[22:49] <Mibix> https://paste.ubuntu.com/p/XdtmqbDKSJ/
[22:51] <tomreyn> what's the output of:    echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
[22:51] <Mibix> This system booted via: BIOS
[22:52] <tomreyn> it would appear that the attempt at purging the grub* packages failed.
[22:52] <tomreyn> maybe undo the edit to the postinst script
[22:52] <tomreyn> then try to purge again
[22:54] <Mibix> https://paste.ubuntu.com/p/8CXHR3fWrX/
[22:55] <tomreyn> edit to the postinst script again and place this in the very last line (add a new line): exit 0
[22:56] <tomreyn> then run    sudo apt purge --autoremove grub*     (with the * character this time)
[22:56] <Mibix> exit 0 is already the last line
[22:57] <Mibix> look at this answer here tomreyn https://askubuntu.com/questions/636456/14-04-upgrade-triggers-grub-pc-failure
[22:58] <Mibix> i think we needed to add grub-pc
[22:58] <Mibix> btw
[22:59] <tomreyn> that's a different problem, but the suggested workaround is quite similar to mine: purge, then reinstall grub packages
[22:59] <Mibix> https://paste.ubuntu.com/p/nRhtjd2x9j/
[22:59] <Mibix> that looks like it works
[22:59] <Mibix> should i continue?
[22:59] <tomreyn> this is at least closer to the command i suggested you run
[23:00] <tomreyn> but it will likely fail the same way.
[23:00] <Mibix> well i did run the one you said and it didnt do anything
[23:00] <Mibix> https://paste.ubuntu.com/p/8CXHR3fWrX/
[23:00] <tomreyn> i don't think you did, you seemed to have omitted *
[23:00] <Mibix> ohh!
[23:00] <Mibix> ok
[23:01] <Mibix> E: Unable to locate package grub*
[23:01] <tomreyn> full input, full output, please, always.
[23:02] <Mibix> https://paste.ubuntu.com/p/J2zg2kzNJH/
[23:03] <tomreyn> sorry, my bad. it'll be 'grub.*' (including the ticks) then
[23:03] <tomreyn> actually, do ti with dpkg
[23:03] <tomreyn> dpkg --purge 'grub*'
[23:04] <tomreyn> + sudo
[23:06] <Mibix> dpkg: error: --purge needs a valid package name but 'grub*' is not: illegal package name in specifier 'grub*': character '*' not allowed (only letters, digits and characters '-+._')
[23:06] <Mibix> that was from sudo dpkg --purge 'grub*'
[23:06] <tomreyn> hmm okay, then specify all the grub packes manually
[23:06] <tomreyn> *packages
[23:07] <tomreyn> or just try this first answer on the askubuntu you pointed to
[23:07] <tomreyn> i'm not even sure you need and want to install grub to sda, though
[23:08] <Mibix> no i dont
[23:08] <tomreyn> so make sure you edit this line
[23:10] <Mibix> so i did sudo apt-get purge grub-pc grub-common and this popped up https://imgur.com/a/peWVAWR
[23:12] <tomreyn> Mibix: maybe open another temrinal now and back them up elsewhere
[23:12] <tomreyn> but generally i think you want them gone for now.
[23:13] <Mibix> ok so im to the sudo apt-get install grub-pc grub-common step
[23:14] <tomreyn> Mibix: did you start it, yet?
[23:14] <tomreyn> Mibix: if not, run     dpkg -l grub*    first
[23:17] <Mibix> do people really install grub to all their drives?
[23:17] <Mibix> lol
[23:18] <tomreyn> nowadays, booting in uefi mode is becoming more common, where you have the efi system partition on one disk only
[23:19] <Mibix> my boot drive is a raid array though
[23:20] <tomreyn> but is it partitioned?
[23:20] <Mibix> yeah its not even an option though
[23:20] <Mibix> so i guess i gott pick something else
[23:21] <tomreyn> grub should likely be installed on the MBR
[23:21] <tomreyn> ... of the disk your bios is setup to boot from
[23:21] <Morteza24> hi guy. I've recently installed ubuntu but it's so heavy for my cumputer and I want to install a lighter distro but I can't choose between Arch and Kubuntu. Can you guys help me please?
[23:22] <Sven_vB> I'm using Ubuntu focal and have a udev rule >> ACTION=="add", SUBSYSTEM=="net", KERNEL=="p2p-dev-*", NM_UNMANAGED=1 << but still after reboot, "nmcli device" shows "p2p-dev-wlp2s0  wifi-p2p  disconnected  --" i.e. not "unmanaged" as with loopback adaoter "lo". Any ideas what I'm doing wrong?
[23:22] <Mibix> heh it works differently with the softwware raid
[23:24] <Sven_vB> Morteza24, if you want to go light-weight, Xubuntu might be better
[23:25] <tomreyn> ENV{NM_UNMANAGED}="1"
[23:25] <Sven_vB> tomreyn, oh, of course. thanks!
[23:25] <Sven_vB> Morteza24, you can also try Arch of course, but afaik it's not supported here.
[23:26] <Morteza24> Seven_vB, but I've heard that xubuntu looks outdated; is that right?
[23:26] <Mibix> hmm ok im not getting any errors anymore
[23:26] <Mibix> kinda scared to reboot lol
[23:27] <tomreyn> Mibix: which grub* packages are installed now?
[23:30] <Mibix> https://paste.ubuntu.com/p/xJffPRtXYG/
[23:30] <Sven_vB> Morteza24, I'm not sure what you mean with "looks outdated". do you mean the simple look of the default user interface? I consider that elegant. also of course fancier graphics are heavier on your machine. I heard people talk about Mate being light-weight but I never tried it, and from other stuff I heard I'd guess it's heavier than Xfce.
[23:30] <Mibix> tomreyn
[23:31] <tomreyn> Mibix: nice. and    sudo update-grub   runs without any errors?
[23:32] <Mibix> yeah but its really weird
[23:32] <Mibix> when i tell it to reboot now it just goes to the lock screen
[23:32] <tomreyn> Mibix: sudo grub-install /dev/...     (set the propoer target device), too?
[23:32] <Sven_vB> Mibix, against the fear of rebooting, make a USB thumb drive with Super GRUB disk and put Xubuntu in <some disk>/boot-isos :)
[23:33] <Mibix> lol wtf it will not shut off
[23:33] <tomreyn> Mibix: and you really want grub in the MBR, not embedded on the MD
[23:33] <tomreyn> (i think i told you embedding was never well supported)
[23:34] <Mibix> i dont think you can install grub on a mdadm drive
[23:35] <Sven_vB> I always just devote the first MB to a bios_grub partition just in case.
[23:35] <Morteza24> Seven_vB yes user interface is what I was talking about. from what I've read on the internet, I consider kubuntu to be sth between light-weight and fancy ui; that's why I chose it
 heh it works differently with the softwware raid
[23:35] <tomreyn> where did you install it to?
[23:35] <Mibix> i installed it to both the mirror drives of the mdadm drive i dunno
[23:35] <Mibix> lol
[23:35] <Mibix> this is odd
[23:36] <tomreyn> so i'm assuming you're saying you installed grub to the MBR of the two drives which contain the partitions forming the raid emmbers of the /boot or / array
[23:36] <Sven_vB> Morteza24, well, why not load all those ISOs and try them? see my SGD / boot-isos hint above for a really easy way to boot ISO images
[23:37] <Sven_vB> if you store the ISOs on an SSD it will boot them even quicklier.
[23:37] <Mibix> yeah tomreyn
[23:38] <tomreyn> that should work. so i'd manually grub-install there (the raw disk) again, just to be sure it works, then update-initramfs -k all -c
[23:39] <Morteza24> Sven_vB I'm new to linux so I'm not sure if I'm able to do that, also I don't have ssd
[23:39] <tomreyn> and when all of this runs without errors, and the recovery usb is prepared, it's a good time to reboot
[23:39] <Sven_vB> Morteza24, in that case, feel free to ask for detailed help in #sgrub
[23:40] <Sven_vB> Morteza24, as for SSD, no problem, even a rotating HDD is (in my experience) way faster than booting the ISOs from USB.
[23:40] <Mibix> looks like it worked tomreyn :D
[23:40] <Mibix> ugh i have so many other things to fix
[23:41] <Morteza24>  alright thank you so much <3 <3
[23:41] <Mibix> lol the reboot and shut down button in the desktop environment take me back to the login screen
[23:41] <Mibix> i had to sudo reboot
[23:44] <Mibix> well ty tomreyn
[23:44] <Mibix> on to the next issue :p
[23:46] <tomreyn> you're welcome, Mibix. i recommend you clean up packages more. i previously suggested how to do so (things to do before starting the release upgrade)
[23:46] <Sven_vB> tomreyn, I added the ENV{} and quotes, rebooted, still "disconnected", not "unmanaged". how do I check whether the rule was triggered?
[23:47] <Sven_vB> maybe I should try a rename rule
[23:48] <tomreyn> Sven_vB: i think it says in the journal, but not sure.
[23:54] <Sven_vB> seems udev can only trigger SUBSYSTEM=="net" on network devices that are in /sys/class/net/, i.e. wlp2s0 but not p2p-dev-wlp2s0
[23:55] <Sven_vB> and "find" can't find any other *wlp* in /sys/ :( what other ways are there to tell NetworkManager to not manage the p2p-dev-wlp2s0?
[23:57] <Sven_vB> I'll try the ifupdown hack again