[00:01] oerheks, got a prompt from the menu to update to the latest kernel on my desktop, I decided to upgrade, which kernel does Ubuntu 22.04 come with out of the box? [00:01] next 22.10 will give 11.3.x [00:02] nmatrix9, unlikely that done with updates. [00:02] there is a weird tool on github that promises a newer kernel, unsupported here. [00:02] also mainline is use at your own risk [00:02] !mainline [00:02] The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds [00:02] It was Ubuntu Mainline Kernel installer. [00:03] reverse that, then your problem is solved. [00:03] I can still boot to previous kernel version 5.16.* [00:04] no, 5,15 [00:04] oerheks, ok [00:04] !info linux-image-generic jammy | nmatrix9 [00:04] nmatrix9: linux-image-generic (5.15.0.46.46, jammy): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 20 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) [00:05] I'll be right back folks === Furor is now known as Colere [00:47] Hey folks, looks like that was the issue reverting to 5.15.0 resolved the evdi-dkms compilation issues. [00:49] \o/ nmatrix9 [00:50] now I just need to resolve an issum with KVM, opengl is not available error, can't start up vm [00:54] nmatrix9: listenaddress from that newer kernel ? https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189 breaking VMs ?? [00:55] Bashing-om, not sure what sshd what have to do with Qemu/KVM? [01:17] ola [01:21] arraybolt3[m]: I did look in dpkg.log, and found out (sorta) what happened. Still don't know why the script did this. I *do* still have firefox, but it's no longer on the left side of my home screen. And I don't remember having chromium, and it certainly wasn't in my favorites, but it's there now. [01:22] So, I think I'll just remove chromium (don't like its data collection, or security) and put firefox back where it was. [01:26] serach [01:27] i need to find a copy of blender version 2.79 for ubuntu that will work with my hardware....or i might try to build it from scratch with the source code [01:27] all these updated programs keep requiring the latest and greatest hardware [01:28] in case there is a binary already built in the snap store or flatpak [01:29] or if there is a way to get the older version with apt [01:33] somehow you can with snap https://snapcraft.io/blender [01:34] good luck with that 2019 version [01:34] oerheks is the snap version 2.79b [01:34] check yourself? [01:34] ok let me check it out [01:37] no it is blender 3.2.2 and it won't work with this old hardware [01:37] do i do snap remove blender to put things back to normal [01:38] if you click on that list, there is 2.79 [01:39] oerheks...what list...i just typed snap install blender --classic [01:39] on https://snapcraft.io/blender === M4he is now known as mahe [01:47] oerheks i dont see blender 2.79 in the web page or in the snap store [01:47] there is, on the webpage. [01:48] oerheks let me look again [01:48] if you click that 3.something, there is a list. [01:53] oerheks it works great just like gentoo....but i have to use snap run blender to get the right version to work [01:54] i used sudo snap install blender --channel=2.79/stable --classic to get it [01:56] so i just have to remember to run it with snap run blender [02:04] I own an 1440p 170hz monitor and a 4K 60hz TV. I own a dual boot Desktop PC with a dedicated AMD GPU (RX580) that can output at max resolutions on Windows 10 and Kubuntu 22.04. I own a Laptop with Intel HD U620 Graphics with dual boot (Windows 10 and Kubuntu 22.04 too). The thing is, my laptop shows 1440p 60hz and 1080p 120hz on Windows but it does [02:04] not go higher than 1080p 60hz on Kubuntu, I tried running some xrandr commands that I saw online and I managed to force higher resolutions to appear as selectable options but when I selected them it was still 1080p 60hz. [02:04] Does anyone know how can I make my Laptop show higher resolutions? I haven't found anything online [02:05] I don't think its a hardware issue because the cables I'm using do 4K and 2K on Windows with the same exact laptop and with other devices too [02:05] can't change my gedit color theme while running it as root, anyone else had this problem? [02:06] I can do 1080p 120hz, 1440p 60hz and 2160p 30hz on Windows but none on that is an option in Ubuntu [02:07] (color theme and various other things) [02:09] it is known that hdmi is not sufficient on linux, use DP [02:10] oerheks: ??? That's news to me. [02:11] lot of 60hrz issues disappear, is my experience === Polo is now known as polo [02:20] oerheks I just tried and that same cable on my Desktop PC with the exact same distro outputs 1440p 120hz and 4K 60hz on my monitor and TV respectively [02:21] so it's not an HDMI cable issue [02:54] well i fixed it by upgrading my kernel from 5.15.0-46 to 5.19.3 and now it does higher resolutions just fine [03:02] Weird I'm getting a OpenGL only with works with 'Listen type' value 'none' with QEMU/KVM, is OpenGL no longer supported out of the box with Ubuntu 22.04? [03:03] any clementine users here? [03:07] just ask your issue in the channel highrate volunteers might have ideas after [03:08] nmatrix9: I *think* that's expected behavior? [03:08] SPICE GL support is local-only for now and incompatible with -spice port/tls-port [03:09] Yeah, I seem to remember reading that, and I believe it's been that way even before 22.04. [03:09] (I could be wrong, but I don't think so.) [03:09] (Just not entirely sure on that.) === sinned69152 is now known as sinned6915 [03:15] arraybolt3, ok, just seems a bit confusing because if I change the Display Spice server settings Listen Type to "none", the KVM display is blank, nothing is rendered.  How can I use the KVM? [03:25] I start my nice ubuntu 22.04 one day and gdm3 won't start [03:26] I remember all the dumb shit people do [03:26] God knows yall gona pay for Your own sins one day fuck off === Guest8665 is now known as polo [05:12] re setting background/wallpaper 20.04 I can change pictures but i dont see the uptions for fit to acreen tile zoom whatever. Where are they? [05:17] I will check back by searching on my username to see if any replies. Till morning. === fling_ is now known as fling === fling_ is now known as fling [06:51] Hey guys [06:52] What server OS is most updated, maintained and secure? [06:52] Im considering between Ubuntu Server, Alpine, or Whonix === guipanznc_ is now known as guipan === kostkon_ is now known as kostkon === SteelRose_ is now known as SteelRose === tolecnal_ is now known as tolecnal [09:25] Hello, I have an issue with getting any second monitor connected with my Ubuntu LTS machine, the system doesn't detect it at all [09:26] MXE: keep a journalctl -f running and plug your external monitor, then !paste the output to this channel [10:47] uh, I updated from ubuntu 20.04 to 22.04 on a web server, and now nginx doesn't work and its error log just contains: 2022/08/29 10:45:24 [crit] 844#844: *180 SSL_read() failed (SSL: error:0A000126:SSL routines::unexpected eof while reading) while keepalive, client: 178.128.240.138, server: 0.0.0.0:443 [10:48] I googled it, and found https://pullanswer.com/questions/ssl_read-failed-ssl-error-0a000126-ssl-routines-unexpected-eof-while-reading (as literally the only result on google) [10:48] apparently nginx 1.18 doesn't work with openssl 3, yet ubuntu 22.04 ships nginx 1.18 and openssl 3? [10:48] how am I and that one guy seemingly the only people in the world who has encountered this issue? [10:49] ubuntu 22.04 can't have shipped with a broken nginx + openssl combo, right? More people would have noticed nginx not working at all, right? [10:50] mort: #ubuntu-server is probably the better place to ask. [10:51] might be, thanks [11:01] Hi. Fresh ubuntu 20 installation, root is using bash, but a newly created user is under dash - which surprised me a bit, is this normal? Or is this some kind of custom build from my hosting company? [11:03] murmel: any progress on your crash? [11:09] Where can I find documentation about zfs-on-root, especially the encryption part, on Ubuntu 22.04? [11:10] I'm trying to create a new recovery key, since the one that I generated during install didn't get written anywhere but the installers ramdisk [11:10] alive: there's currently a bug around zfs + encryption on jammy, better to await a bit [11:11] alive: bug #1970066 [11:11] Bug 1970066 in snapd (Ubuntu Jammy) "(Encrypted) ZFS breaks 22.04 installation" [Critical, Confirmed] https://launchpad.net/bugs/1970066 === abeck is now known as Codenut [11:12] Unfortunately, I am already using this installation for my main workstation. [11:12] ls [11:13] Also I am in no hurry to remove the firefox snap but it seems like we're heading towards an ie5.5+windows explorer type of situation with Ubuntu and Snap [11:14] I'd still like to know how I manage my encryption passwords. Is it done through the /dev/zd0 device? === gr33n7007h is now known as Guest6870 [11:20] alive, the system unlocks /dev/mapper/keystore-rpool on boot. it is an ext4 partition that conrains system.key to unlock your zfs pool [11:21] *contains [11:23] Thank you, I found out that the /dev/zd0 luks device is what is actually containing my keyslots. [11:24] Is there anywhere this information is formalized? [11:28] did not find anything really. figured that out myself [11:29] wow, thanks for relaying the info then ravage [11:49] Hey, I'll try again:) As a root, being on bash, I did `sudo useradd -m konrad` - why 'konrad' did 'dash' as the default shell? [11:50] Is this some sort of customized ubuntu, or I'm stupid? :) [11:51] *why 'konrad' did GET 'dash' as the default shell [11:53] konrados: I believe that dash is the default shell for Ubuntu users. [11:54] akossh, thanks, afaik it's not, can't google that, do know how to check it out? I can install on a VM a new ubuntu, but is there a simpler way? [12:13] what is the proper way to update a hirsute hippo to working condition? [12:13] currently even an update fails since the repo has no Release file for it [12:13] anddam: hirsute is eol by now [12:14] anddam: best to clean install a supported ubuntu release from this channels topic [12:15] from zero or over the existing system? [12:17] anddam: the longer you wait to update an eol release, the more chance of security flaws see !usn [12:18] anddam: its possible to !eolupgrade , but i would go for clean install [12:19] it's a vm used for internal testing, not mine btw [12:20] I am kinda "the linux guy" so a coworker asked me if I could help [12:20] !eolupgrade | anddam [12:20] anddam: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [12:21] it'll be time consuming, because you have to first upgrade from 21.04 to 21.10, then from 21.10 to 22.04 to land on a supported release [12:21] anddam: even faster in a VM, more reason to clean install [12:30] first thing I said to them when I saw the error was "install an LTS" === Guest6870 is now known as gr33n7007h [12:34] they were puzzled about why something called "21.something" was EOL already [12:39] I have a usb that timeshift creates back ups on it. As well as I have some additional files on it. The USB is encrypted. Now all text files odt, txt ect. are empty [12:40] what can I do, i tried to copy these files on the local disk but they are still empty, no text in them [12:40] must be the encryption itself, nothing to do with the timeshift back ups I guess [12:41] stupid idea to encrypt a usb, it will stay encrypted for ever [12:42] and its a good one, 64GB Samsung .. used it for years, my favorite one :/ [12:44] and the files are just 0 bytes size [12:51] why i can't execute : IP = $(torsocks wget -qO- https://api.ipify.org) && echo $IP ? [12:52] there's functions before to get a new tor circuit. [12:53] Typically i want to IP = $(torsocks wget -qO- https://api.ipify.org) && locateIp($IP) .. [12:54] SoCkEt7, I'm not an expert in bash, but can you try removing spaces, so IP=$(...) [12:55] trailling spaces ? Really ? [12:55] Bash is weird, that is why I try to not use it :) [12:55] i'm on VIM i'll use jetbrain IDE for bash i think. [12:55] Yeah very weird [12:55] to name VAR and call $VAR [12:56] When I tried to learn how to `if` in bash I decided to drop it :) [12:59] yeah but i dont want to switch to a sub language for that function.. [12:59] I get it, so simple things I do in bash, but a bit more complicated in ... javascript (with nodejs) [12:59] Does it work now? [13:24] ravage: The information is hereby documented 'somewhere' on the internet. https://nixy.dk/posts/ubuntu-zfs-encryption-key-management/ [13:25] alive, oh great. will bookmark that one :) [13:25] this could also be useful for the official documentation [13:27] alive ravage the tuts from linuxconfig are usualy pretty great too; https://linuxconfig.org/configuring-zfs-on-ubuntu-20-04 [13:29] yes sure. but the Ubuntu wiki should not be a link collection :( [13:29] agree ravage [13:33] Hi all [13:41] <SoCkEt7> why i can't execute : IP = $(torsocks wget -qO- https://api.ipify.org) && echo $IP ? [13:41] <SoCkEt7> there's functions before to get a new tor circuit. [13:44] that torsock command makes no sense at all. to get the IP in $IP do [13:44] IP=$(wget -qO- https://api.ipify.org) && echo $IP [13:44] but i already told you that same command days ago [13:54] SoCkEt7, because shell is not python ... you can not use spaces around the equal sign when trying to assign something to a variable ... === darkrebel__ is now known as darkrebel [14:35] Dear all, wondering if you can help me find out if the version of openssh-server(openssh-server/focal-updates,now 1:8.2p1-4ubuntu0.5 amd64) i have installed, has "ExposeAuthInfo" keyword available for use? [14:36] I have added this keyword to sshd_config and it did not complain but not sure if it is working as expected hence the question, how do I check if the keyword(ExposeAuthInfo) is supported in my version of openssh-server [14:41] webchat71: check manpage for sshd_config [14:42] also check twice that you edited sshd_config and not ssh_config ... mixing up the two files is a very common error 😉 [14:46] it's enabled from 1:7.6p1-1 afaik webchat71 : apt changelog ssh | grep -i "ExposeAuthInfo" -B 22 -A 4 === RandomGuy23 is now known as RandomGuy21 === Mentos is now known as Mentoz === stw__ is now known as stw === arif-ali_ is now known as arif-ali [16:09] I'm trying to set permissions in a folder for future files and I'm using chmod g+rws to set future RW permissions for the group. However, I'm seeing new files not having W access. What am I doing wrong? [16:12] Hi [16:12] How do I check if a driver is installed? [16:12] Like Nvidia? === Scotty_Trees2 is now known as Scotty_Trees [16:18] mordant, for that, you'd set the umask [16:19] mordant, the default umask on most distros is 022, meaning 0777&~022=0755 is the default for directories and 0666&~022=0644 is the default for files [16:20] if it's a systemd service, there's a config option for that [16:20] https://www.freedesktop.org/software/systemd/man/systemd.exec.html#UMask= [16:20] TomyWork, that's...confusing, but I appreciate the info. Not systemd, it's a web application writing some temporarily stored files from uploads [16:21] mordant, why havent you made that a systemd service yet? :) [16:21] what...the uploads? [16:21] the web application [16:21] well I did just get it moved off of fedora core 3 a week ago, past dev left it there to rot for almost 20 years [16:22] i assume you're starting it from a screen session or something [16:22] legacy php, no [16:22] oh so it runs in an apache or something? [16:22] correct [16:22] so give the umask to the apache [16:22] it's nginx, I'll look into that, thank you [16:22] via a systemd drop-in unit [16:23] I wouldn't just edit the fpm.service file? [16:23] https://www.freedesktop.org/software/systemd/man/systemd.unit.html <--- ctrl-f drop-in [16:23] gotcha [16:24] mordant, if you edit fpm.service, it'll get overwritten in the next update === arif-ali_ is now known as arif-ali [16:24] (potentially) [16:24] good point [16:24] thanks TomyWork, that's a big help [16:24] it's /etc/systemd/system/fpm.service.d/yourdropinunit.conf i think [16:25] so additional final question, what's the umask equivalent for 775? [16:25] 002 [16:25] it's octal [16:25] hexadecimal's little brother :) [16:25] got it, thank you [16:26] Hiya, has anyone here setup a dual-boot along with windows 11 s-mode laptops? TIA, asus l510 works with 22.04.1 fine out-of-box. Would it be okay to install and hope grub finds w11s no problemo? [16:26] s-mode? [16:26] shit mode [16:26] secure boot i guess [16:26] yeah, MS version of chromebox heh [16:27] hmm never seen that before [16:27] centHOGG: i'd guess it would work if ubuntu alone is working [16:29] TomyWork, ok so issue, I'm stuck on php5.6-fpm from legacy code (for the time being), doesn't look like it lives in systemd. Googling around notes /etc/init/php-fpm.conf [16:33] TomyWork, stackoverflow suggests a cp /lib/systemd/system/php5-fpm.service /etc/systemd/system/ and editing that though. Will that change the php5.6-fpm service to run via systemd then? do I need to disable the init one? So many questions [16:33] mordant: I thought it was an on-demand process. [16:33] mordant: Does the init method fail? [16:34] jhutchins, no, I'm just trying to change umask stuff without it getting purged on an update later [16:34] jhutchins, it's working fine in init [16:35] https://ispire.me/running-php-fpm-with-different-user-group-using-umask/ this is basically exactly what I'm looking at doing [16:37] mordant, systemd actually generates service units for all /etc/init.d scripts [16:37] but what's the service called now? fpm? php5-fpm? php-fpm? [16:38] this is totally out of my wheelhouse, so I apologize if the questions are dumb. I know that when I have to restart fpm, I have to do it via init.d. It's called php5.6-fpm [16:39] ok I lied, I can restart it via systemctl [16:39] dont know why I thought otherwise [16:39] however I don't see it listed in the /etc/systemd/system/ list [16:40] wait, I found it. It's in multi-user.target.wants [16:40] alright cool, I feel better [16:43] TomyWork, so /etc/systemd/system/multi-user.target.wants/php5.6-fpm.service symlinks to /lib/systemd/system/php5.6-fpm.service, how do I add a drop-in for this then? [16:45] I installed PyCharm Communtity Edition via flatpak, but when I run: Python packages> install> beautifulsoup4, it seems to never finish installing? [16:48] mordant, try /etc/systemd/system/php5.6-fpm.service.d/yourdropinunit.conf [16:48] ok cool, that's what I thought reading your link. Thank you! [16:48] don't forget the [Service] section header at the top :D [16:49] I keep forgetting that [16:53] TomyWork, yea I got that, good call [16:53] TomyWork, I appreciate the hand holding, thanks again [16:58] ? [17:08] c_89: That's more of a python question than an ubuntu question. Where did you get the flatpak? [17:10] jhutchins `flatpak install com.jetbrains.PyCharm-Community` [17:13] TomyWork, so now that I have this setup; is there a way to see if the conf is loaded in? [17:15] systemctl show php5.6-fpm [17:15] ravage, got it, thanks [17:16] c_89: Any support links on their web page? [17:16] jhutchins https://flathub.org/apps/details/com.jetbrains.PyCharm-Community [17:20] alright, systemd didnt load in my drop-in; is it because the service file lives in the /etc/systemd/system/multi-user.target.wants and my config lives in /etc/systemd/system/php5.6-fpm.service/conf.conf? [17:27] mordant, did you do a "systemctl daemon-reload" ` [17:27] I did a systemctl restart php5.6-fpm [17:31] so that is a no :) [17:32] it is :( [17:33] well, did it, my drop-in wasn't loaded as far as I can tell [17:33] i tested it with the excact same service and changed the Description [17:33] that worked [17:34] well what the hell am I doing wrong, this seems dead simple [17:36] mkdir -p /etc/systemd/system/php5.6-fpm.service.d; printf "[Unit]\nDescription=MY CUSTOM DESCRIPTION" > /etc/systemd/system/php5.6-fpm.service.d/custom.conf;systemctl daemon-reload; systemctl show php5.6-fpm.service| grep Description [17:36] ...I didn't add .d in my folder name, that might do it [17:37] yup, that was it. You rule, ravage [17:38] systemctl edit can help [17:38] 👍 [17:50] Anyone have a link handy to the Ubuntu desktop SHA256 sum? I'm having difficulty finding it on their website. [17:51] it is on the iso too.. https://ubuntu.com/tutorials/how-to-verify-ubuntu#3-download-checksums-and-signatures [17:51] Teckla, https://releases.ubuntu.com/jammy/SHA256SUMS === ajfriesen69 is now known as ajfriesen6 [17:51] jups that is the one for 22.04.1 [17:52] note: 22.04 <> 22.04.1 [17:52] ravage: Thank you. Not sure why I'm struggling so badly to find it myself. [17:53] oerheks: Ah, darn it! I must have navigated to that page half a dozen times, and somehow, missed the link in there each time! [17:53] oerheks: Thanks :) [17:53] have fun! [17:54] My vision is not the best. Somehow, the link doesn't "stand out" to me. [17:54] Anyway, thanks folks, looking forward to installing this upgrade [17:54] :) have fun [17:58] I see that ufw now has "route allow" that should do port forwarding... i am trying to use it to forward a port to another ip (i only have one interface). If I have a box A with ip 192.168.1.10 and running a service on port 5555, and i have a box B (192.168.1.11) that i want to set up a forward to that service. From box B I can connect to box A [17:58] on that service just fine. What I want is connecting to box B on port 5555 will forward on to A. On box B, I am using a command like "ufw route allow to 192.168.1.10 port 5555" but that doesn't seem to be working. I have done this before with iptables. Trying to figure out what I'm missing with ufw. === beaver_ is now known as beaver [18:06] serp: did you enable ip forwarding via sysctl in general? === SuperL4g is now known as SuperLag [18:20] hi folks. Have most things working since the upgrade to 22.04. Some challenges with openldap/slapd restore, but got it done with help from #openldap. [18:21] I'm getting this now when I try to do an apt full-upgrade: [18:21] The following packages have been kept back: gnome-shell gnome-shell-common gnome-shell-extension-prefs ubuntu-advantage-tools [18:21] 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. [18:21] What's wrong? [18:22] probably nothing. what does "apt policy gnome-shell" output? [18:23] ravage: yes in /etc/ufw/sysctl.conf [18:24] Installed: 42.2-0ubuntu0.2, and the candidate is for 22.04. [18:24] serp, ok. i never really used ufw. but if you know how it works with iptables you should be able to debug it by inspecting the iptables output? [18:25] johnfg_: There's this new thing called "phased updates" that causes this to happen a lot of times, it just fixes on its own given time. Basically, updates have been released, but they're being gradually rolled out to the users in stages rather than all at once. Keeps the server from getting slammed, makes it so that if there's a bug in a package it's more likely that the update can be stopped before it makes it to you. [18:25] johnfg_, there are usually more lines. anything about phased and a percentge? [18:25] *percentage [18:25] if yes: https://wiki.ubuntu.com/PhasedUpdates [18:27] ravage: I didn't want to flood: https://paste.ubuntu.com/p/vpHgWx2Smc/ [18:27] johnfg_: it does say "phased" and a percentage. [18:28] so, just be patient, and try again later? === bert2trs is now known as bertptrs [18:29] yep. you can do "apt upgrade gnome-shell gnome-shell-common gnome-shell-extension-prefs ubuntu-advantage-tools" [18:29] but you can also just wait until they update with the regular upgrade command [18:30] Well, that was easy :-) Thanks so much guys! [19:26] Whta are folks using these days to make calls from their Ubuntu machines? There used to be some google service that gave you a phone number, but I don't know what's out there these days. [19:26] Have you heard of a device called a telephone? [19:26] me neither, still those services need a registered phone number, to work. [19:27] enigma9o7[m]: the hell is this thing?! [19:27] i still use gopher [19:27] and irc [19:30] Debian has the debianlive project https://wiki.debian.org/DebianLive that using a series of shell scripts to make a live debian ISO. Does ubuntu have the same thing, only for ubuntu? [19:31] all our iso' s have a live mode, and uses those tools too, AFAIK [19:32] So the exact debianlive is also used to make the live ubuntu ISOs, no derivative project at all? [19:33] yes, https://manpages.ubuntu.com/manpages/jammy/man7/live-config.7.html [19:33] Okay that's awesome. Thanks. [19:39] I think skype can call phones? But it's been years since I've used it... [19:40] enigma9o7[m]: yep if you pay extra for it [19:40] there is a snap for that [19:40] enigma9o7[m]: nice, yeah, besides joke, i used to cal via skype [19:40] luna__: exactly [19:46] oerheks: what is snap? [19:47] https://snapcraft.io/skype [19:47] a funny way to publish Proprietary blobs [19:47] oerheks: so snap is just a skype client? [19:48] hi [19:48] for all ubuntu users [19:48] hi [19:48] its a package system, created by canonical [19:48] !snap [19:48] Snaps are containerised software packages similar to Flatpaks and AppImages. For more info, see https://snapcraft.io [19:48] Snap is a package manager that you can install software with. [19:48] Skype is available for Ubuntu as a Snap package. [19:49] ahh [19:52] exit [19:52] exit [20:13] Ah, Ubuntu. I missed you. <3 [20:13] Everything working perfectly :) [20:15] \o/ === beaver is now known as pong [20:39] how do i make my live usb stick read only and with only one partition? [20:41] this is because i like to have the sha256sum of the entire usb stick to be always the same, for tamper evidence. [20:48] i doubt that will work, atleast with a normal usb. maybe with a usb with an physical write protect switch [20:49] you could on the otherhand keep a list of checksums for all the files and see if any file has been changed. [20:51] Mathisen: note that question2 has already left [20:52] .. i have quit/part disabled not the first time :) thanks anyway [20:53] hehe [20:55] i have a question: one folder is anoying me i cant delete it. it is totaly empty but i still get "rm: cannot remove 'Folder': Device or resource busy" when trying to delete it. nothing is mounted and there is no hidden files [20:55] i cant reboot this machine as it is a VPS server [20:55] got things running [21:01] Is it possible to "edit the properties" of program icons on Ubuntu? I'd like to add the option/flag "--force-dark-mode" when Chrome starts. [21:02] of course [21:02] Teckla: there's a .desktop file probably in /usr/share/applications with an Exec= line you can edit [21:02] first copy the desktop file from /usr/share/applications to .local/share/applications [21:02] probably google-chrome-stable.desktop or something [21:02] once you've put it in ~/.local/share/applications then edit it [21:03] change the Exec line like eric said [21:03] you'll probably want to edit the name= thing too so you dont have 2 google-chrome's [21:03] Awesome, thank you both very much! [21:04] why would you have two? [21:05] cause there's 2 .desktop files with the same name=, if he types google-chrome into the dash it'll show 2, one the /usr/.. and the other .local [21:05] oh... dont rename the desktop file, thats important, or the local one won't override the system one. but nobody suggested that anyway. [21:05] It shouldnt Eric, if so somethings broken. [21:05] Got 80GB of ram on a box and I'm installing lubuntu... How much swap space do I need? [21:05] oh if it's the same filename it takes the .local instead? [21:06] Yes. [21:06] JoeLlama, depends on what the machine is gonna do. i assume this is not a normal machine with that kinda memory. [21:06] anyway for normal use you dont need any swap with that amount [21:07] sure Mathisen... it's a server but mostly gunnna be used as a RAID 6 box with one or two users and it's doing light duty stuff [21:07] hrm i wanna assign some area to swap space [21:07] maybe um... [21:08] Great, found it, thanks again enigma9o7[m] and EriC^^ :) [21:08] like what perhaps 16 GB Mathisen? [21:08] just use a swap file for hibernation if you need that and you bee good [21:08] no need realy for a partiton [21:08] hrm okay [21:08] I get away with no swap on a 32GB RAM system. Swap is entirely unneeded unless you're doing unimaginably heavy work. [21:08] yeah still gunna do a partition [21:08] no problem Teckla :) [21:08] just so it's there [21:08] (On a system with 80GB RAM) [21:09] hrm really? [21:09] hi arraybolt3[m] [21:09] It'll just wear out you drive faster if it does anything. [21:09] JoeLlama: 👋 [21:09] ok so maybe no swap is that an option when I set up lubuntu? [21:09] and it's 8 drives arraybolt3[m] :) [21:09] Yep. [21:10] ok ok so I know when I intall I gotta choose the "other" option when allowcating space on the drive... or it simply won't install [21:10] Right but you'd like them all to work and keep working. :) [21:10] No swap is a risk tho, cuz it means if you ever do overuse your ram (open too many tabs at once) it will kill stuff, instead of swapping it. [21:10] it errors out [21:10] Its better, unless you have no disk space at all, to have a swap disk. [21:10] or swap file i mean [21:10] ended up with 5.4 TB of RAID 6 space [21:10] (sorry for being slow, dealing with a kitten on my lap) [21:10] and better to never use it [21:10] enigma9o7[m]: Not true. [21:10] hrm enigma9o7[m] so like create swap space? [21:11] I have a lappy with limited RAM [21:11] It's swapping like hell [21:11] and nothing is getting killed [21:11] oOo kitten :) [21:11] I'm using 3 GiB of SWAP [21:11] 80GB RAM is more RAM than some systems have disk space. You could almost certainly comppile Chromium without swap on that machine (and that's saying something). [21:11] Joe: if you'r einstalling, dont create a sperate thing, let ubuntu create a swap file. that will give you the most freedom. you can resize that file whenever you want if you dont want default. [21:11] oh ok so if I wanna hibernate then I need a swap right? [21:12] If you create a swap partition, you're stuck with that partition forever, and theo nly advantage it has over a swap file is that every distro can use it if you multi boot. [21:12] Yes hibernation does require swap. [21:12] well I have to set up my own partitions manually apparently [21:12] Yes but swap file is fine for hibernation too. [21:12] or the install fails [21:12] I got 2 web browsers open (qutebrowser and firefox) and like a lot of tabs open in both, then there is my terminal emulator and SSH sessions so I'm not sure where you got your information from about things getting killed instead of swapping. [21:12] But hibernation is crummy. [21:12] how much swap space do I need to hibernate? [21:12] Helenah: That's what happens if you *don't* have swap. [21:12] how do i make my live usb stick read only and with only one partition? [21:12] (And you have limited RAM.) [21:12] arraybolt3[m]: Oh [21:12] this is because i like to have the sha256sum of the entire usb stick to be always the same, for tamper evidence. [21:12] woops [21:13] JoeLlama: At least as much as you have RAM in your system, so about 80 GB. [21:13] Why explain the obvious?! [21:13] You can't use something that doesn't exist... :D [21:13] joellama: that depends how much ram you're using, cuz it needs to be able to save all your ram and all your swap. [21:13] Helenah: Debating over to swap or not to swap :) [21:13] oh really? :( [21:13] that's quite a bit of space arraybolt3[m] [21:14] JoeLlama: Yeah, hibernation saves the entire contents of your system's RAM to disk, into the swap file. So 80GB RAM, means 80 GB swap to hibernate. [21:14] but when you hibernate it stores all that ram? [21:14] yeah makes sense [21:14] so then... [21:14] no swap :) [21:14] how do i make my live usb stick read only and with only one partition? [21:14] and what arraybolt3 says assumes you werent using more than 80gb ram either, like you didn thav eanything swapped. [21:14] arraybolt3[m]: Oh dear! [21:14] JoeLlama: Yep. That's why hibernation works. Then when you turn the system on next the saved RAM is loaded back into the RAM. [21:14] and when I install I can specify no swap right? [21:14] That doesn't sound good. :D [21:14] JoeLlama: Yes. [21:14] You need as much space as you're using. So if you're using 32GB of ram+swap, you need 32GB of swap to save it for hibernation. [21:14] Best just hibernating directly to the root partition on the disk and not to the swap... [21:15] question2: That sounds tricky but doable. You might wait for the noise to calm down so that the next time you ask someone who knows how to do that can answer. Don't worry, you are not forgotten, and we do want to help make it work. [21:15] oh um.. I can do that? [21:15] I don't think I'm going to hibernate anyways [21:15] sounds crummy :) [21:16] JoeLlama: Yeah sounds terrible... lol [21:16] ok thanks... [21:16] JoeLlama: I've never had hibernation be anything more than a nuisance. So yeah, I'd just go with no swap. [21:16] , xubuntu 18.04.5 is still like that but xubuntu 22 is not anymore [21:16] well in the old days hibernating was kind of a g ood thing when we had less resources I think [21:16] but not today [21:16] question2: what happens when you try? you create one partition only when you format it. put your data on it. then set it read only. [21:17] it has two extra partitions, that are writable. [21:17] I keep my computer in the back room hibernated all the time. [21:17] today we can do what I did buy a used server for like 100 USD [21:17] Other than rebooting of course. Cuz its hardly ever used. [21:17] And when we do use it, dont wanna wait for it to boot, its an old pentium 4 running debian. [21:17] came with 8 drives 80 GB ram dual power supplies etc [21:17] so hibernate works fine [21:17] I can push the on button and be using it 10 seconds later. [21:18] and otherwise, its powered off. [21:18] if anyone wants to buy used servers for 100 USD I know a guy :) [21:18] , what it is the live cd that should stay on the usb [21:18] JoeLlama: Quick unrelated but still important question, have you done anything to avoid possible electromagnetic interference from that server? I think running them in a residential area without extra shielding could cause problems with the FCC. [21:18] thats what i want to use the live usb stick [21:18] (Depending on the server, obviously.) [21:18] arraybolt3[m] it's a big slab of machine lotta metal [21:19] not really worried about it but I'll turn on a radio and see how badly it's affected [21:19] but yes FCC regs are a concern [21:19] JoeLlama: What manufacturer and model? Dell PowerEdge something or other? Or...? [21:19] Q2, I don't understand what you're saying. Are you just tryinig to write an iso to usb? [21:19] in our area we all have internet or cable... not much radio going on [21:19] still... it matters [21:20] Dell PowerEdge R720 [21:20] enigma9o7: When you write an ISO to a USB, it makes a writable partition (or maybe two?). Q2 wants to not have that. [21:20] fans are pretty noisy if it gets hot or when you startup [21:20] it has 6 server fans and 2 PS fans [21:20] That doesnt happen for me. [21:21] How are you writing the iso? dd? [21:21] some isos are like hybrid whatever, they come with multiple partitions tho [21:21] I use dd [21:21] but if theres one partition on the iso and you write it with dd, itll come out one partition [21:22] yes i use dd [21:24] k thanks :) [21:26] i just opened gparted on it and the usb stick just shows iso 9660 [21:29] https://pastebin.com/i6xT9j9C [21:30] what if i dd if=/dev/zero of=/dev/sdb4 ? [21:31] question2: oh hey were you wanting the read-only usb? https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/verity.html === kvn_ is now known as kvn [21:51] ? [21:52] i do sudo sha256sum /dev/sdb [21:52] and i expect it to be the same [21:53] what debian distro currently has this on their isos? [21:53] again [21:53] xubuntu 18.04.5 is still like that but xubuntu 22 is not anymore [21:53] xubuntu 18.04.5 [21:53] is like : [21:54] xubuntu 18.04 is EOL [21:54] oerheks: They're trying to show that something used to work but now no longer works. [21:54] #/dev/sdb1 /disk on the output of lsblk [21:55] now i have writeable [21:55] oh dd should work, sync after that [21:55] linux mint always was like that i guess [21:55] i use dd [21:55] sync? [21:55] * oerheks runs away from mint issues [21:56] * question2 remains === beaver_ is now known as beaver === genii_ is now known as genii [22:34] Zeroing a drive before writing an (installer) image to it is a waste of time and cycles. [22:35] (So it partitioning and formatting.) [22:41] jhutchins, well, if you sha256sum the whole device but do not fully fill it with the dd'ed image, your sha256 sum might differ between drives [22:41] zeroing makes sure there are no crufty bytes anywhere [22:43] an image is not an installer [22:45] ?? [22:47] ikonia: Right, not necessarily. [22:47] * ogra fails to see the context [22:48] People write images to drives for other reasons, but we seldom deal with those here. [22:48] is archive.ubuntu.com having problems? a fresh docker image is telling me "is not signed" [22:48] (it does not really matter whats in the img ... the topic was about sha-summing the whole device) [22:49] xMopx: does archive sign docker images ? [22:49] Still, writing an image to a drive overwrites all of the data in the range of the image, so zeroing is redundant. [22:49] ikonia: ah i should clarify. I meant for apt [22:49] jhutchins, what about rest of the drive ? 🙂 [22:49] xMopx: what is the relevance of a docker image then ? [22:49] (For context) [22:49] easy way of saying it's a fresh unmodified system [22:49] no it's not [22:50] a docker image is very different than an install [22:50] hence asking [22:50] and in either case it is unmodified, by me, from the vendor [22:50] ogra: Shouldn't be an issue, the MBR/FAT have been overwritten, even if it's accessible working with the image shouldn't read past it's end, shouldn't touch the "rest of the drive". [22:50] so you're not actually running an ubuntu install, you're running an ubuntu container from $somewhere - logging into it and trying to do apt install type operations [22:50] Unless you're being tricky and writing multiple images to the same drive. Which people do I guess. [22:51] anyway, apt looks upset like this: https://pastebin.com/raw/8DaWGKuq [22:51] xMopx: can you just clarify the setup - is it as I said above [22:51] jhutchins, well, sha256sum will checksum the whole drive if you do something like "sudo sha256sum /dev/sdb" ... i.e. what was stated above ... [22:51] ikonia: it's not clear to me what you want to know [22:52] xMopx: you're not actually running an ubuntu install, you're running a container with an ubuntu install from $somewhere, logging into the container and doing apt operations ? [22:52] jhutchins, so the leftover data that was not overwritten by writing the image will indeed cause differences between tw USB sticks [22:52] ogra: I believe you're correct. [22:52] jhutchins, for that (very special case) you should zero the drives befoe writing to them [22:52] ikonia: sure [22:53] xMopx: and where did the container come from ? what's it's container ID [22:53] ogra: So how do you tell sha256 to read the image, not the rest of the drive/ [22:53] ? [22:53] ikonia: it's the official image published by canonical. [22:53] xMopx: straight from the canonical repo ? [22:54] jhutchins, you could read from the disk with dd and pipe that nto sha256sum i guess ... that way you could limit the read size [22:57] In my own experience, the file transfer is the most likely step to corrupt an image. Burning an actual disk was somewhat iffy, but dd is pretty reliable. [22:57] To each their own precautions. [23:00] ikonia: straight from where canonical publishes them, yes. [23:01] jhutchins: When I have to just read part of a drive, I use "head" and pipe the output (usually to cmp to verify that a USB drive wrote good) [23:01] xMopx: I just hit 3 different mirrors on archive, all show correct signing [23:01] weird [23:01] xMopx: have you mounted any volumes on the container ? [23:01] ikonia: no [23:02] is it possible you've got an older container than the current release ? [23:02] i can't seem to pull a newer one, and the existing one is ~3 weeks old [23:02] is this something you normally do - or is this the first time you've tried it [23:03] I've seen vendors remove files from the containers such as sig files to stop people tampering with them, so they are immutable, but I don't believe canonical does that [23:04] it's the first time i've seen this on this machine. It's just a machine i develop docker images on regularly [23:05] xMopx: just for interest maybe trying to install a snap package [23:05] I wonder if the sigs are there for that [23:05] looks like snap isn't shipped in the container image [23:05] interesting [23:06] I'm not a user at this moment of the ubuntu images so I can't really comment and don't have a container host at hand to test [23:06] that error suggests the repo key files are missing [23:06] (or at best wrong) [23:06] maybe your update issue is just diskspace, docker system prune [23:06] I'd not expect that behaviour from an official ubuntu image personally [23:06] and as far as I can see archive.ubuntu.com is functioning fine [23:07] it's not going out of a proxy is it ? [23:07] hmm, i do fill up this machine from time to time but i was pulling a few images to test this now [23:07] I used to have a boyfriend named "Ubuntu" [23:07] no, i can't think of anything "weird" here. It's docker desktop on a macbook [23:07] sparetire: that's not really a topic for here [23:07] k [23:08] ikonia: thanks for taking a look. Definitely seems like something specific to that one machine... [23:08] xMopx: really, so same image working on others too ? [23:08] (other machines) [23:09] it works on my other machine BUT said machine is ARM (rather than amd64), so it is a different base image [23:10] first machine was amd [23:10] arm stuff is on ports.ubuntu.com, not archive.ubuntu.com [23:11] oh good spot, sarnold [23:11] ah [23:13] huh, a Trusty base image is fine on the problem machine