/srv/irclogs.ubuntu.com/2022/08/29/#ubuntu.txt

nmatrix9oerheks, 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
oerheksnext 22.10 will give 11.3.x00:01
oerheksnmatrix9, unlikely that done with updates.00:02
oerheksthere is a weird tool on github that promises a newer kernel, unsupported here.00:02
oerheksalso mainline is use at your own risk00:02
oerheks!mainline00:02
ubottuThe 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/MainlineBuilds00:02
nmatrix9It was Ubuntu Mainline Kernel installer.00:02
oerheksreverse that, then your problem is solved.00:03
nmatrix9I can still boot to previous kernel version 5.16.*00:03
oerheksno, 5,1500:04
nmatrix9oerheks, ok00:04
Bashing-om!info linux-image-generic jammy | nmatrix900:04
ubottunmatrix9: 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:04
nmatrix9I'll be right back folks00:05
=== Furor is now known as Colere
nmatrix9Hey folks, looks like that was the issue reverting to 5.15.0 resolved the evdi-dkms compilation issues.00:47
Bashing-om\o/ nmatrix900:49
nmatrix9now I just need to resolve an issum with KVM, opengl is not available error, can't start up vm00:50
Bashing-omnmatrix9: 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:54
nmatrix9Bashing-om, not sure what sshd what have to do with Qemu/KVM?00:55
AragAola01:17
johnfgarraybolt3[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:21
johnfgSo, I think I'll just remove chromium (don't like its data collection, or security) and put firefox back where it was.01:22
AragAserach01:26
lagunai 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 code01:27
lagunaall these updated programs keep requiring the latest and greatest hardware01:27
lagunain case there is a binary already built in the snap store or flatpak01:28
lagunaor if there is a way to get the older version with apt01:29
oerhekssomehow you can with snap https://snapcraft.io/blender01:33
oerheksgood luck with that 2019 version01:34
lagunaoerheks is the snap version 2.79b01:34
oerhekscheck yourself?01:34
lagunaok let me check it out01:34
lagunano it is blender 3.2.2 and it won't work with this old hardware01:37
lagunado i do snap remove blender to put things back to normal01:37
oerheksif you click on that list, there is 2.7901:38
lagunaoerheks...what list...i just typed snap install blender --classic01:39
oerhekson https://snapcraft.io/blender01:39
=== M4he is now known as mahe
lagunaoerheks i dont see blender 2.79 in the web page or in the snap store01:47
oerheksthere is, on the webpage.01:47
lagunaoerheks let me look again01:48
oerheksif you click that 3.something, there is a list.01:48
lagunaoerheks it works great just like gentoo....but i have to use snap run blender to get the right version to work01:53
lagunai used sudo snap install blender --channel=2.79/stable --classic      to get it01:54
lagunaso i just have to remember to run it with snap run blender01:56
user|78I 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 does02:04
user|78not 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
user|78Does anyone know how can I make my Laptop show higher resolutions? I haven't found anything online02:04
user|78I 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 too02:05
highratecan't change my gedit color theme while running it as root, anyone else had this problem?02:05
user|78I can do 1080p 120hz, 1440p 60hz and 2160p 30hz on Windows but none on that is an option in Ubuntu02:06
highrate(color theme and various other things)02:07
oerheksit is known that hdmi is not sufficient on linux, use DP02:09
arraybolt3oerheks: ??? That's news to me.02:10
oerhekslot of 60hrz issues disappear, is my experience02:11
=== Polo is now known as polo
user|78oerheks 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 respectively02:20
user|78so it's not an HDMI cable issue02:21
user|78well i fixed it by upgrading my kernel from 5.15.0-46 to 5.19.3 and now it does higher resolutions just fine02:54
nmatrix9Weird 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:02
highrateany clementine users here?03:03
lotuspsychjejust ask your issue in the channel highrate volunteers might have ideas after03:07
arraybolt3nmatrix9: I *think* that's expected behavior?03:08
nmatrix9SPICE GL support is local-only for now and incompatible with -spice port/tls-port03:08
arraybolt3Yeah, I seem to remember reading that, and I believe it's been that way even before 22.04.03:09
arraybolt3(I could be wrong, but I don't think so.)03:09
arraybolt3(Just not entirely sure on that.)03:09
=== sinned69152 is now known as sinned6915
nmatrix9arraybolt3, 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:15
Guest92I start my nice ubuntu 22.04 one day and gdm3 won't start03:25
Guest92I remember all the dumb shit people do03:26
Guest92God knows yall gona pay for Your own sins one day fuck off03:26
=== Guest8665 is now known as polo
morganure 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:12
morganuI will check back by searching on my username to see if any replies. Till morning.05:17
=== fling_ is now known as fling
=== fling_ is now known as fling
CelticSeaSalt1Hey guys06:51
CelticSeaSalt1What server OS is most updated, maintained and secure?06:52
CelticSeaSalt1Im considering between Ubuntu Server, Alpine, or Whonix06:52
=== guipanznc_ is now known as guipan
=== kostkon_ is now known as kostkon
=== SteelRose_ is now known as SteelRose
=== tolecnal_ is now known as tolecnal
MXEHello, I have an issue with getting any second monitor connected with my Ubuntu LTS machine, the system doesn't detect it at all09:25
lotuspsychjeMXE: keep a journalctl -f running and plug your external monitor, then !paste the output to this channel09:26
mortuh, 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:44310:47
mortI 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
mortapparently nginx 1.18 doesn't work with openssl 3, yet ubuntu 22.04 ships nginx 1.18 and openssl 3?10:48
morthow am I and that one guy seemingly the only people in the world who has encountered this issue?10:48
mortubuntu 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:49
murmelmort: #ubuntu-server is probably the better place to ask.10:50
mortmight be, thanks10:51
konradosHi. 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:01
lotuspsychjemurmel: any progress on your crash?11:03
aliveWhere can I find documentation about zfs-on-root, especially the encryption part, on Ubuntu 22.04?11:09
aliveI'm trying to create a new recovery key, since the one that I generated during install didn't get written anywhere but the installers ramdisk11:10
lotuspsychjealive: there's currently a bug around zfs + encryption on jammy, better to await a bit11:10
lotuspsychjealive: bug #197006611:11
ubottuBug 1970066 in snapd (Ubuntu Jammy) "(Encrypted) ZFS breaks 22.04 installation" [Critical, Confirmed] https://launchpad.net/bugs/197006611:11
=== abeck is now known as Codenut
aliveUnfortunately, I am already using this installation for my main workstation.11:12
Codenutls11:12
aliveAlso 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 Snap11:13
aliveI'd still like to know how I manage my encryption passwords. Is it done through the /dev/zd0 device?11:14
=== gr33n7007h is now known as Guest6870
ravagealive, the system unlocks /dev/mapper/keystore-rpool on boot. it is an ext4 partition that conrains system.key to unlock your zfs pool11:20
ravage*contains11:21
aliveThank you, I found out that the /dev/zd0 luks device is what is actually containing my keyslots.11:23
aliveIs there anywhere this information is formalized?11:24
ravagedid not find anything really. figured that out myself11:28
alivewow, thanks for relaying the info then ravage11:29
konradosHey, 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:49
konradosIs this some sort of customized ubuntu, or I'm stupid? :)11:50
konrados*why 'konrad' did GET 'dash' as the default shell11:51
akosshkonrados: I believe that dash is the default shell for Ubuntu users.11:53
konradosakossh, 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?11:54
anddamwhat is the proper way to update a hirsute hippo to working condition?12:13
anddamcurrently even an update fails since the repo has no Release file for it12:13
lotuspsychjeanddam: hirsute is eol by now12:13
lotuspsychjeanddam: best to clean install a supported ubuntu release from this channels topic12:14
anddamfrom zero or over the existing system?12:15
lotuspsychjeanddam: the longer you wait to update an eol release, the more chance of security flaws see !usn12:17
lotuspsychjeanddam: its possible to !eolupgrade , but i would go for clean install12:18
anddamit's a vm used for internal testing, not mine btw12:19
anddamI am kinda "the linux guy" so a coworker asked me if I could help12:20
lotuspsychje!eolupgrade | anddam12:20
ubottuanddam: 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/EOLUpgrades12:20
geirhait'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 release12:21
lotuspsychjeanddam: even faster in a VM, more reason to clean install12:21
anddamfirst thing I said to them when I saw the error was "install an LTS"12:30
=== Guest6870 is now known as gr33n7007h
anddamthey were puzzled about why something called "21.something" was EOL already12:34
brkcoreI 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 empty12:39
brkcorewhat can I do, i tried to copy these files on the local disk but they are still empty, no text in them12:40
brkcoremust be the encryption itself, nothing to do with the timeshift back ups I guess12:40
brkcorestupid idea to encrypt a usb, it will stay encrypted for ever12:41
brkcoreand its a good one, 64GB Samsung .. used it for years, my favorite one :/12:42
brkcoreand the files are just 0 bytes size12:44
SoCkEt7why i can't execute : IP = $(torsocks wget -qO- https://api.ipify.org) && echo $IP ?12:51
SoCkEt7there's functions before to get a new tor circuit.12:52
SoCkEt7Typically i want to  IP = $(torsocks wget -qO- https://api.ipify.org) && locateIp($IP) ..12:53
konrad_SoCkEt7, I'm not an expert in bash, but can you try removing spaces, so IP=$(...)12:54
SoCkEt7trailling spaces ? Really ?12:55
konrad_Bash is weird, that is why I try to not use it :)12:55
SoCkEt7i'm on VIM i'll use jetbrain IDE for bash i think.12:55
SoCkEt7Yeah very weird12:55
SoCkEt7to name VAR and call $VAR12:55
konrad_When I tried to learn how to `if` in bash I decided to drop it :)12:56
SoCkEt404yeah but i dont want to switch to a sub language for that function..12:59
konrad_I get it, so simple things I do in bash, but a bit more complicated in ... javascript (with nodejs)12:59
konrad_Does it work now?12:59
aliveravage: The information is hereby documented 'somewhere' on the internet. https://nixy.dk/posts/ubuntu-zfs-encryption-key-management/13:24
ravagealive, oh great. will bookmark that one :)13:25
ravagethis could also be useful for the official documentation13:25
lotuspsychjealive ravage the tuts from linuxconfig are usualy pretty great too; https://linuxconfig.org/configuring-zfs-on-ubuntu-20-0413:27
ravageyes sure. but the Ubuntu wiki should not be a link collection :(13:29
lotuspsychjeagree ravage13:29
BluesKajHi all13:33
SoCkEt7<SoCkEt7> why i can't execute : IP = $(torsocks wget -qO- https://api.ipify.org) && echo $IP ?13:41
SoCkEt7<SoCkEt7> there's functions before to get a new tor circuit.13:41
ravagethat torsock command makes no sense at all. to get the IP in $IP do13:44
ravageIP=$(wget -qO- https://api.ipify.org) && echo $IP13:44
ravagebut i already told you that same command days ago13:44
ograSoCkEt7, because shell is not python ... you can not use spaces around the equal sign when trying to assign something to a variable ...13:54
=== darkrebel__ is now known as darkrebel
webchat71Dear 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:35
webchat71I 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-server14:36
kushalkumaranwebchat71: check manpage for sshd_config14:41
ograalso check twice that you edited sshd_config and not ssh_config ... mixing up the two files is a very common error 😉14:42
ioriait's enabled from 1:7.6p1-1 afaik webchat71  :  apt changelog ssh | grep -i "ExposeAuthInfo" -B 22 -A 414:46
=== 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
mordantI'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:09
Payam10Hi16:12
Payam10How do I check if a driver is installed?16:12
Payam10Like Nvidia?16:12
=== Scotty_Trees2 is now known as Scotty_Trees
TomyWorkmordant, for that, you'd set the umask16:18
TomyWorkmordant, 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 files16:19
TomyWorkif it's a systemd service, there's a config option for that16:20
TomyWorkhttps://www.freedesktop.org/software/systemd/man/systemd.exec.html#UMask=16:20
mordantTomyWork, that's...confusing, but I appreciate the info. Not systemd, it's a web application writing some temporarily stored files from uploads16:20
TomyWorkmordant, why havent you made that a systemd service yet? :)16:21
mordantwhat...the uploads?16:21
TomyWorkthe web application16:21
mordantwell I did just get it moved off of fedora core 3 a week ago, past dev left it there to rot for almost 20 years16:21
TomyWorki assume you're starting it from a screen session or something16:22
mordantlegacy php, no16:22
TomyWorkoh so it runs in an apache or something?16:22
mordantcorrect16:22
TomyWorkso give the umask to the apache16:22
mordantit's nginx, I'll look into that, thank you16:22
TomyWorkvia a systemd drop-in unit16:22
mordantI wouldn't just edit the fpm.service file?16:23
TomyWorkhttps://www.freedesktop.org/software/systemd/man/systemd.unit.html  <--- ctrl-f drop-in16:23
mordantgotcha16:23
TomyWorkmordant, if you edit fpm.service, it'll get overwritten in the next update16:24
=== arif-ali_ is now known as arif-ali
TomyWork(potentially)16:24
mordantgood point16:24
mordantthanks TomyWork, that's a big help16:24
TomyWorkit's /etc/systemd/system/fpm.service.d/yourdropinunit.conf i think16:24
mordantso additional final question, what's the umask equivalent for 775?16:25
TomyWork00216:25
TomyWorkit's octal16:25
TomyWorkhexadecimal's little brother :)16:25
mordantgot it, thank you16:25
centHOGGHiya, 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
EriC^^s-mode?16:26
TomyWorkshit mode16:26
TomyWorksecure boot i guess16:26
centHOGGyeah, MS version of chromebox heh16:26
EriC^^hmm never seen that before16:27
EriC^^centHOGG: i'd guess it would work if ubuntu alone is working16:27
mordantTomyWork, 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.conf16:29
mordantTomyWork, 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 questions16:33
jhutchinsmordant: I thought it was an on-demand process.16:33
jhutchinsmordant: Does the init method fail?16:33
mordantjhutchins, no, I'm just trying to change umask stuff without it getting purged on an update later16:34
mordantjhutchins, it's working fine in init16:34
mordanthttps://ispire.me/running-php-fpm-with-different-user-group-using-umask/ this is basically exactly what I'm looking at doing16:35
TomyWorkmordant, systemd actually generates service units for all /etc/init.d scripts16:37
TomyWorkbut what's the service called now? fpm? php5-fpm? php-fpm?16:37
mordantthis 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-fpm16:38
mordantok I lied, I can restart it via systemctl16:39
mordantdont know why I thought otherwise16:39
mordanthowever I don't see it listed in the /etc/systemd/system/ list16:39
mordantwait, I found it. It's in multi-user.target.wants16:40
mordantalright cool, I feel better16:40
mordantTomyWork, 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:43
c_89I installed PyCharm Communtity Edition via flatpak, but when I run: Python packages> install> beautifulsoup4, it seems to never finish installing?16:45
TomyWorkmordant, try /etc/systemd/system/php5.6-fpm.service.d/yourdropinunit.conf16:48
mordantok cool, that's what I thought reading your link. Thank you!16:48
TomyWorkdon't forget the [Service] section header at the top :D16:48
TomyWorkI keep forgetting that16:49
mordantTomyWork, yea I got that, good call16:53
mordantTomyWork, I appreciate the hand holding, thanks again16:53
c_89?16:58
jhutchinsc_89: That's more of a python question than an ubuntu question.  Where did you get the flatpak?17:08
c_89jhutchins `flatpak install com.jetbrains.PyCharm-Community`17:10
mordantTomyWork, so now that I have this setup; is there a way to see if the conf is loaded in?17:13
ravagesystemctl show php5.6-fpm17:15
mordantravage, got it, thanks17:15
jhutchinsc_89: Any support links on their web page?17:16
c_89jhutchins https://flathub.org/apps/details/com.jetbrains.PyCharm-Community17:16
mordantalright, 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:20
ravagemordant, did you do a "systemctl daemon-reload" `17:27
mordantI did a systemctl restart php5.6-fpm17:27
ravageso that is a no :)17:31
mordantit is :(17:32
mordantwell, did it, my drop-in wasn't loaded as far as I can tell17:33
ravagei tested it with the excact same service and changed the Description17:33
ravagethat worked17:33
mordantwell what the hell am I doing wrong, this seems dead simple17:34
ravagemkdir -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 Description17:36
mordant...I didn't add .d in my folder name, that might do it17:36
mordantyup, that was it. You rule, ravage17:37
kushalkumaransystemctl edit can help17:38
ravage👍17:38
TecklaAnyone have a link handy to the Ubuntu desktop SHA256 sum?  I'm having difficulty finding it on their website.17:50
oerheksit is on the iso too.. https://ubuntu.com/tutorials/how-to-verify-ubuntu#3-download-checksums-and-signatures17:51
ravageTeckla, https://releases.ubuntu.com/jammy/SHA256SUMS17:51
=== ajfriesen69 is now known as ajfriesen6
oerheksjups that is the one for 22.04.117:51
oerheksnote: 22.04 <> 22.04.117:52
Tecklaravage: Thank you.  Not sure why I'm struggling so badly to find it myself.17:52
Tecklaoerheks: 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
Tecklaoerheks: Thanks :)17:53
oerhekshave fun!17:53
TecklaMy vision is not the best.  Somehow, the link doesn't "stand out" to me.17:54
TecklaAnyway, thanks folks, looking forward to installing this upgrade17:54
ravage:) have fun17:54
serpI 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 A17:58
serpon 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.17:58
=== beaver_ is now known as beaver
ravageserp: did you enable ip forwarding via sysctl in general?18:06
=== SuperL4g is now known as SuperLag
johnfg_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:20
johnfg_I'm getting this now when I try to do an apt full-upgrade:18:21
johnfg_The following packages have been kept back: gnome-shell gnome-shell-common gnome-shell-extension-prefs ubuntu-advantage-tools18:21
johnfg_0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.18:21
johnfg_What's wrong?18:21
ravageprobably nothing. what does "apt policy gnome-shell" output?18:22
serpravage: yes in /etc/ufw/sysctl.conf18:23
johnfg_Installed: 42.2-0ubuntu0.2, and the candidate is for 22.04.18:24
ravageserp, 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:24
arraybolt3[m]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
ravagejohnfg_, there are usually more lines. anything about phased and a percentge?18:25
ravage*percentage18:25
ravageif yes: https://wiki.ubuntu.com/PhasedUpdates18:25
johnfg_ravage: I didn't want to flood: https://paste.ubuntu.com/p/vpHgWx2Smc/18:27
tomreynjohnfg_: it does say "phased" and a percentage.18:27
johnfg_so, just be patient, and try again later?18:28
=== bert2trs is now known as bertptrs
ravageyep. you can do "apt upgrade gnome-shell gnome-shell-common gnome-shell-extension-prefs ubuntu-advantage-tools"18:29
ravagebut you can also just wait until they update with the regular upgrade command18:29
johnfg_Well, that was easy :-)  Thanks so much guys!18:30
craigbass76Whta 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
enigma9o7[m]Have you heard of a device called a telephone?19:26
oerheksme neither, still those services need a registered phone number, to work.19:26
dobbicorpenigma9o7[m]: the hell is this thing?!19:27
dobbicorpi still use gopher19:27
dobbicorp and irc19:27
snailsonaljDebian 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:30
oerheksall our iso' s have a live mode, and uses those tools too, AFAIK19:31
snailsonaljSo the exact debianlive is also used to make the live ubuntu ISOs, no derivative project at all?19:32
oerheksyes, https://manpages.ubuntu.com/manpages/jammy/man7/live-config.7.html19:33
snailsonaljOkay that's awesome. Thanks.19:33
enigma9o7[m]I think skype can call phones?  But it's been years since I've used it...19:39
luna__enigma9o7[m]: yep if you pay extra for it19:40
oerheksthere is a snap for that19:40
dobbicorpenigma9o7[m]: nice, yeah, besides joke, i used to cal via skype19:40
dobbicorpluna__: exactly19:40
dobbicorpoerheks: what is snap?19:46
oerhekshttps://snapcraft.io/skype19:47
oerheksa funny way to publish Proprietary blobs19:47
dobbicorpoerheks: so snap is just a skype client?19:47
ali_hi19:48
ali_for all ubuntu users19:48
dobbicorphi19:48
oerheksits a package system, created by canonical19:48
oerheks!snap19:48
ubottuSnaps are containerised software packages similar to Flatpaks and AppImages. For more info, see https://snapcraft.io19:48
arraybolt3[m]Snap is a package manager that you can install software with.19:48
arraybolt3[m]Skype is available for Ubuntu as a Snap package.19:48
dobbicorpahh19:49
ali_exit19:52
ali_exit19:52
TecklaAh, Ubuntu.  I missed you.  <320:13
TecklaEverything working perfectly  :)20:13
arraybolt3[m]\o/20:15
=== beaver is now known as pong
question2how do i make my live usb stick read only and with only one partition?20:39
question2this is because i like to have the sha256sum of the entire usb stick to be always the same, for tamper evidence.20:41
Mathiseni doubt that will work, atleast with a normal usb. maybe with a usb with an physical write protect switch20:48
Mathisenyou could on the otherhand keep a list of checksums for all the files and see if any file has been changed.20:49
sarnoldMathisen: note that question2 has already left20:51
Mathisen.. i have quit/part disabled not the first time :) thanks anyway20:52
sarnoldhehe20:53
Mathiseni 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 files20:55
Mathiseni cant reboot this machine as it is a VPS server20:55
Mathisengot things running20:55
TecklaIs 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:01
enigma9o7[m]of course21:02
EriC^^Teckla: there's a .desktop file probably in /usr/share/applications with an Exec= line you can edit21:02
enigma9o7[m]first copy the desktop file from /usr/share/applications to .local/share/applications21:02
enigma9o7[m]probably google-chrome-stable.desktop or something21:02
enigma9o7[m]once you've put it in ~/.local/share/applications then edit it21:02
enigma9o7[m]change the Exec line like eric said21:03
EriC^^you'll probably want to edit the name= thing too so you dont have 2 google-chrome's21:03
TecklaAwesome, thank you both very much!21:03
enigma9o7[m]why would you have two?21:04
EriC^^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 .local21:05
enigma9o7[m]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
enigma9o7[m]It shouldnt Eric, if so somethings broken.21:05
JoeLlamaGot 80GB of ram on a box and I'm installing lubuntu...  How much swap space do I need?21:05
EriC^^oh if it's the same filename it takes the .local instead?21:05
enigma9o7[m]Yes.21:06
MathisenJoeLlama, depends on what the machine is gonna do. i assume this is not a normal machine with that kinda memory.21:06
Mathisenanyway for normal use you dont need any swap with that amount21:06
JoeLlamasure 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 stuff21:07
JoeLlamahrm i wanna assign some area to swap space21:07
JoeLlamamaybe um...21:07
TecklaGreat, found it, thanks again enigma9o7[m] and EriC^^  :)21:08
JoeLlamalike what perhaps 16 GB Mathisen?21:08
Mathisenjust use a swap file for hibernation if you need that and you bee good21:08
Mathisenno need realy for a partiton21:08
JoeLlamahrm okay21:08
arraybolt3[m]I get away with no swap on a 32GB RAM system. Swap is entirely unneeded unless you're doing unimaginably heavy work.21:08
JoeLlamayeah still gunna do a partition21:08
EriC^^no problem Teckla :)21:08
JoeLlamajust so it's there21:08
arraybolt3[m](On a system with 80GB RAM)21:08
JoeLlamahrm really?21:09
JoeLlamahi arraybolt3[m]21:09
arraybolt3[m]It'll just wear out you drive faster if it does anything.21:09
arraybolt3[m]JoeLlama: 👋21:09
JoeLlamaok so maybe no swap is that an option when I set up lubuntu?21:09
JoeLlamaand it's 8 drives arraybolt3[m] :)21:09
arraybolt3[m]Yep.21:09
JoeLlamaok ok so I know when I intall I gotta choose the "other" option when allowcating space on the drive... or it simply won't install21:10
arraybolt3[m]Right but you'd like them all to work and keep working. :)21:10
enigma9o7[m]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
JoeLlamait errors out21:10
enigma9o7[m]Its better, unless you have no disk space at all, to have a swap disk.21:10
enigma9o7[m]or swap file i mean21:10
JoeLlamaended up with 5.4 TB of RAID 6 space21:10
arraybolt3[m](sorry for being slow, dealing with a kitten on my lap)21:10
enigma9o7[m]and better to never use it21:10
Helenahenigma9o7[m]: Not true.21:10
JoeLlamahrm enigma9o7[m] so like create  swap space?21:10
HelenahI have a lappy with limited RAM21:11
HelenahIt's swapping like hell21:11
Helenahand nothing is getting killed21:11
JoeLlamaoOo kitten :)21:11
HelenahI'm using 3 GiB of SWAP21:11
arraybolt3[m]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
enigma9o7[m]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
JoeLlamaoh ok so if I wanna hibernate then I need a swap right?21:11
enigma9o7[m]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
arraybolt3[m]Yes hibernation does require swap.21:12
JoeLlamawell I have to set up my own partitions manually apparently21:12
enigma9o7[m]Yes but swap file is fine for hibernation too.21:12
JoeLlamaor the install fails21:12
HelenahI 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
arraybolt3[m]But hibernation is crummy.21:12
JoeLlamahow much swap space do I need to hibernate?21:12
arraybolt3[m]Helenah: That's what happens if you *don't* have swap.21:12
question2how do i make my live usb stick read only and with only one partition?21:12
arraybolt3[m](And you have limited RAM.)21:12
Helenaharraybolt3[m]: Oh21:12
question2this is because i like to have the sha256sum of the entire usb stick to be always the same, for tamper evidence.21:12
Helenahwoops21:12
arraybolt3[m]JoeLlama: At least as much as you have RAM in your system, so about 80 GB.21:13
HelenahWhy explain the obvious?!21:13
HelenahYou can't use something that doesn't exist... :D21:13
enigma9o7[m]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
arraybolt3[m]Helenah: Debating over to swap or not to swap :)21:13
JoeLlamaoh really? :(21:13
JoeLlamathat's quite a bit of space arraybolt3[m]21:13
arraybolt3[m]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
JoeLlamabut when you hibernate it stores all that ram?21:14
JoeLlamayeah makes sense21:14
JoeLlamaso then...21:14
JoeLlamano swap :)21:14
question2how do i make my live usb stick read only and with only one partition?21:14
enigma9o7[m]and what arraybolt3 says assumes you werent using more than 80gb ram either, like you didn thav eanything swapped.21:14
Helenaharraybolt3[m]: Oh dear!21:14
arraybolt3[m]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
JoeLlamaand when I install I can specify no swap right?21:14
HelenahThat doesn't sound good. :D21:14
arraybolt3[m]JoeLlama: Yes.21:14
enigma9o7[m]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
HelenahBest just hibernating directly to the root partition on the disk and not to the swap...21:14
arraybolt3[m]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
JoeLlamaoh um.. I can do that?21:15
JoeLlamaI don't think I'm going to hibernate anyways21:15
JoeLlamasounds crummy :)21:15
HelenahJoeLlama: Yeah sounds terrible... lol21:16
JoeLlamaok thanks...21:16
arraybolt3[m]JoeLlama: I've never had hibernation be anything more than a nuisance. So yeah, I'd just go with no swap.21:16
question2<arraybolt3[m]>, xubuntu 18.04.5 is still like that but xubuntu 22 is not anymore21:16
JoeLlamawell in the old days hibernating was kind of a g ood thing when we had less resources I think21:16
JoeLlamabut not today21:16
enigma9o7[m]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:16
question2it has two extra partitions, that are writable.21:17
enigma9o7[m]I keep my computer in the back room hibernated all the time.21:17
JoeLlamatoday we can do what I did buy a used server for like 100 USD21:17
enigma9o7[m]Other than rebooting of course.  Cuz its hardly ever used.21:17
enigma9o7[m]And when we do use it, dont wanna wait for it to boot, its an old pentium 4 running debian.21:17
JoeLlamacame with 8 drives 80 GB ram dual power supplies etc21:17
enigma9o7[m]so hibernate works fine21:17
enigma9o7[m]I can push the on button and be using it 10 seconds later.21:17
enigma9o7[m]and otherwise, its powered off.21:18
JoeLlamaif anyone wants to buy used servers for 100 USD I know a guy :)21:18
question2<enigma9o7[m]>, what it is the live cd that should stay on the usb21:18
arraybolt3[m]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
question2thats what i want to use the live usb stick21:18
arraybolt3[m](Depending on the server, obviously.)21:18
JoeLlamaarraybolt3[m] it's a big slab of machine lotta metal21:18
JoeLlamanot really worried about it but I'll turn on a radio and see how badly it's affected21:19
JoeLlamabut yes FCC regs are a concern21:19
arraybolt3[m]JoeLlama: What manufacturer and model? Dell PowerEdge something or other? Or...?21:19
enigma9o7[m]Q2, I don't understand what you're saying.  Are you just tryinig to write an iso to usb?21:19
JoeLlamain our area we all have internet or cable... not much radio going on21:19
JoeLlamastill... it matters21:19
JoeLlamaDell PowerEdge R72021:20
arraybolt3[m]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
JoeLlamafans are pretty noisy if it gets hot or when you startup21:20
JoeLlamait has 6 server fans and 2 PS fans21:20
enigma9o7[m]That doesnt  happen for me.21:20
enigma9o7[m]How are you writing the iso?  dd?21:21
enigma9o7[m]some isos are like hybrid whatever, they come with  multiple partitions tho21:21
JoeLlamaI use dd21:21
enigma9o7[m]but if theres one partition on the iso and you write it with dd, itll come out one partition21:21
question2yes i use dd21:22
JoeLlamak thanks :)21:24
question2i just opened gparted on it and the usb stick just shows iso 966021:26
question2https://pastebin.com/i6xT9j9C21:29
question2what if i dd if=/dev/zero of=/dev/sdb4 ?21:30
sarnoldquestion2: oh hey were you wanting the read-only usb? https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/verity.html21:31
=== kvn_ is now known as kvn
question2?21:51
question2i do sudo sha256sum /dev/sdb21:52
question2and i expect it to be the same21:52
question2what debian distro currently has this on their isos?21:53
question2again21:53
question2xubuntu 18.04.5 is still like that but xubuntu 22 is not anymore21:53
question2xubuntu 18.04.521:53
question2is like :21:53
oerheksxubuntu 18.04 is EOL21:54
arraybolt3[m]oerheks: They're trying to show that something used to work but now no longer works.21:54
question2#/dev/sdb1 /disk on the output of lsblk21:54
question2now i have writeable21:55
oerheksoh dd should work, sync after that21:55
question2linux mint always was like that i guess21:55
question2i use dd21:55
question2sync?21:55
* oerheks runs away from mint issues21:55
* question2 remains21:56
=== beaver_ is now known as beaver
=== genii_ is now known as genii
jhutchinsZeroing a drive before writing an (installer) image to it is a waste of time and cycles.22:34
jhutchins(So it partitioning and formatting.)22:35
ograjhutchins, well, if you sha256sum the whole device but do not fully fill it with the dd'ed image, your sha256 sum might differ between drives22:41
ograzeroing makes sure there are no crufty bytes anywhere22:41
ikoniaan image is not an installer22:43
ogra??22:45
jhutchinsikonia: Right, not necessarily.22:47
* ogra fails to see the context22:47
jhutchinsPeople write images to drives for other reasons, but we seldom deal with those here.22:48
xMopxis archive.ubuntu.com having problems? a fresh docker image is telling me "is not signed"22:48
ogra(it does not really matter whats in the img ... the topic was about sha-summing the whole device)22:48
ikoniaxMopx: does archive sign docker images ?22:49
jhutchinsStill, writing an image to a drive overwrites all of the data in the range of the image, so zeroing is redundant.22:49
xMopxikonia: ah i should clarify. I meant for apt22:49
ograjhutchins, what about rest of the drive ?  🙂22:49
ikoniaxMopx: what is the relevance of a docker image then ?22:49
ikonia(For context)22:49
xMopxeasy way of saying it's a fresh unmodified system22:49
ikoniano it's not22:49
ikoniaa docker image is very different than an install22:50
ikoniahence asking22:50
xMopxand in either case it is unmodified, by me, from the vendor22:50
jhutchinsogra: 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
ikoniaso 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 operations22:50
jhutchinsUnless you're being tricky and writing multiple images to the same drive.  Which people do I guess.22:50
xMopxanyway, apt looks upset like this: https://pastebin.com/raw/8DaWGKuq22:51
ikoniaxMopx: can you just clarify the setup - is it as I said above22:51
ograjhutchins, well, sha256sum will checksum the whole drive if you do something like "sudo sha256sum /dev/sdb" ... i.e. what was stated above ...22:51
xMopxikonia: it's not clear to me what you want to know22:51
ikoniaxMopx: 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
ograjhutchins, so the leftover data that was not overwritten by writing the image will indeed cause differences between tw USB sticks22:52
jhutchinsogra: I believe you're correct.22:52
ograjhutchins, for that (very special case) you should zero the drives befoe writing to them22:52
xMopxikonia: sure22:52
ikoniaxMopx: and where did the container come from ? what's it's container ID22:53
jhutchinsogra: So how do you tell sha256 to read the image, not the rest of the drive/22:53
jhutchins?22:53
xMopxikonia: it's the official image published by canonical.22:53
ikoniaxMopx: straight from the canonical repo ?22:53
ograjhutchins, you could read from the disk with dd and pipe that nto sha256sum i guess ... that way you could limit the read size22:54
jhutchinsIn 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
jhutchinsTo each their own precautions.22:57
xMopxikonia: straight from where canonical publishes them, yes.23:00
arraybolt3[m]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
ikoniaxMopx: I just hit 3 different mirrors on archive, all show correct signing23:01
xMopxweird23:01
ikoniaxMopx: have you mounted any volumes on the container ?23:01
xMopxikonia: no23:01
ikoniais it possible you've got an older container than the current release ?23:02
xMopxi can't seem to pull a newer one, and the existing one is ~3 weeks old23:02
ikoniais this something you normally do - or is this the first time you've tried it23:02
ikoniaI'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 that23:03
xMopxit's the first time i've seen this on this machine. It's just a machine i develop docker images on regularly23:04
ikoniaxMopx: just for interest maybe trying to install a snap package23:05
ikoniaI wonder if the sigs are there for that23:05
xMopxlooks like snap isn't shipped in the container image23:05
ikoniainteresting23:05
ikoniaI'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 test23:06
ikoniathat error suggests the repo key files are missing23:06
ikonia(or at best wrong)23:06
oerheksmaybe your update issue is just diskspace, docker system prune23:06
ikoniaI'd not expect that behaviour from an official ubuntu image personally23:06
ikoniaand as far as I can see archive.ubuntu.com is functioning fine23:06
ikoniait's not going out of a proxy is it ?23:07
xMopxhmm, i do fill up this machine from time to time but i was pulling a few images to test this now23:07
sparetireI used to have a boyfriend named "Ubuntu"23:07
xMopxno, i can't think of anything "weird" here. It's docker desktop on a macbook23:07
ikoniasparetire: that's not really a topic for here23:07
sparetirek23:07
xMopxikonia: thanks for taking a look. Definitely seems like something specific to that one machine...23:08
ikoniaxMopx: really, so same image working on others too ?23:08
ikonia(other machines)23:08
xMopxit works on my other machine BUT said machine is ARM (rather than amd64), so it is a different base image23:09
xMopxfirst machine was amd23:10
sarnoldarm stuff is on ports.ubuntu.com, not archive.ubuntu.com23:10
oerheksoh good spot, sarnold23:11
xMopxah23:11
xMopxhuh, a Trusty base image is fine on the problem machine23:13

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