/srv/irclogs.ubuntu.com/2021/08/03/#ubuntu.txt

=== mkv is now known as m4v
sarinkssh user@host "node -v"  gives me "node: command not found". i think this is because the $PATH is different? i added "PermitUserEnvironment yes" to /etc/ssh/sshd_config, but it still doesn't work. what else am i missing?00:10
leftyfbsarink: try ssh user@host "source .bashrc ; node -v"00:11
leftyfbsarink: you could also just give the full path to node00:12
sarinkyeah if i use the full path it works. but i'm writing a much longer script and don't want to have to do that for everything... sourceing also doesn't work00:14
leftyfbsarink: maybe something like ansible would be better than a "longer script"?00:15
sarinki don't see why i can't get the same PATH from the selected user's profile? surely there is a way to do such a thing?00:16
leftyfbsarink: depends on where that PATH is set00:18
matsamansarink: always a way00:23
neighbourmikeim attempting to re-image my ubuntu desktop due to a problem with peer connectivity, this should reset smb, network settings, the works correct?00:35
leftyfbneighbourmike: re-image?00:36
neighbourmikesmb.conf*, d.init or ifconfig00:36
leftyfbneighbourmike: what do you mean by "re-image"?00:37
neighbourmikeleftyfb: i think i mean like re-set sorry for not being clear.00:37
leftyfbneighbourmike: there is no reset capabilities built into ubuntu by default00:37
leftyfbneighbourmike: you should either troubleshoot the individual issues and fix them 1 at a time or reinstall ubuntu from scratch and restore your files from backup00:39
neighbourmikeyeah i know that. I had wsdd, and samba properly configured for my LAN filesharing drive to all other PCs, including win10 which gave me problems at first..So i was thinking if i could save my settings for samba and wsdd but reset my dhcp ip etc network related info it would solve my peers not connecting.00:40
neighbourmikeon qBittorrent00:40
neighbourmikelike literally i have 0 peers, 0 bits but my download is fine, so ive disabled firewall, as well as port forwarding TCP UDP port but nothing seems to allow peers in Qbittorrent00:42
neighbourmikeset up port forwarding*00:42
leftyfbneighbourmike: I don't think torrent "peer connectivity" has anything to do with your samba settings. You'd be on your own with wsdd as it doesn't look like that's an officially supported package in ubuntu00:43
sarnoldneighbourmike: are you behind a NAT firewall?00:43
neighbourmikei dont think so00:45
leftyfbneighbourmike: if you're doing port forwarding on a router, you're more than likely NAT'd00:45
neighbourmikeit's just strange it's at zero bits. None. Before I had some connectivity. Now I've got none.00:45
neighbourmikeconnections*00:45
neighbourmikeShould i try to simplify what could be causing the problem by disabling port forwarding and resetting my ubuntu desktop network settings from static ip to local dhcp00:46
neighbourmikelast time i tried unfortunately setting eth0 back to defaults nothing seemed to do change.00:47
neighbourmikei have my modem firewall in localhost set to minimum00:47
test_unko00:51
test_111100:51
sarnoldpong00:51
leftyfbtest_: there is an almost infinite number of channels you could create/join to test your IRC client. This is a support channel00:52
=== Nitrousoxide_ is now known as Nitrousoxide
=== Nitrousoxide is now known as Nitrousoxide_
=== keypushe- is now known as keypusher
=== cmd is now known as Guest7134
=== cacti is now known as madmax
=== rosseaux_ is now known as rosseaux
mr_louHello all.05:17
mr_louFor a long time now I've noticed weird audio issues. Playback of Twitch streams or mp3 files from VLC often gives a variation in pitch, as if it's playing from a bendt vinyl record or something. Makes absolutely no sense to me whatsoever. Anyone heard of this before?05:17
yukiupupgrade05:30
Guest96starting nginx on my Ubuntu PC fails with "nginx: [emerg] bind() to 0.0.0.0:70 failed (98: Address already in use)" , how to solve this problem?05:53
zaggynlGuest96: use ss to check on listening ports, something is already using the port05:57
Guest96zaggynl: No output for "ss | grep 70 "06:03
zaggynlbe sure to include -ln for listening and numbers06:04
Guest96zaggynl: ss -ln | grep 70  resulted "tcp    LISTEN     0      128       *:70                    *:*", how to kill this?06:09
ihristovTry wth ss -tapn and get the PID06:12
Guest96ss -tapn does not show PID.. It displays "State      Recv-Q Send-Q                                                          Local Address:Port                                                                         Peer Address:Port"06:15
ihristovcheck the master process06:15
Guest96No results for "ps -ax | grep -i master"06:17
kushalGuest96, "sudo ss -lputn | grep 70"06:22
kushalthat should give you the name of the process06:22
Guest96kushal: thanks , the command worked well.06:33
hegebazsdead chat lol06:37
jluccoool06:38
=== saribro is now known as swinnenb
glicksterhi07:37
ozat_hello08:13
karmelothi08:34
=== karmelot is now known as glickerino
neighbourmikeincorrect permissions on /user/lib/policykit-1/polkit-agent-helper-1 (needs to be setuid root) seeking assisstance brand new ubuntu user.08:50
kenyonneighbourmike: not sure how that happens or where you're seeing it, but https://askubuntu.com/q/1115061/12007 has an answer08:58
kenyonbug report about it https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/176798108:59
ubottuLaunchpad bug 1767981 in policykit-1 (Ubuntu) "Incorrect permissions on polkit-agent-helper-1" [Undecided, New]08:59
neighbourmikewhats ubottu08:59
neighbourmikeim new to IRC + Ubuntu, two in one just picked up mIRC subscription.08:59
neighbourmikeah nvm.09:00
* neighbourmike slaps kenyon around a bit with a large trout09:01
neighbourmikeApologoies for the slap.09:03
neighbourmikethank you for that link. ^.^09:03
=== grit2 is now known as [N]I[G]G[E]R
=== f4t4l_3rr0r is now known as DeepComa
webchat68Hi09:18
webchat68Is it possible to create an iso from my current ubuntu installation09:18
lotuspsychjewebchat68: you want a backup from your installed system/packages?09:19
=== packopy is now known as register
=== register is now known as packopy
=== packopy is now known as help
=== help is now known as packopy
webchat68Transientively, yes  -  I'm moreso looking to have an iso that's preconfigured how I like it for distribution amongst servers09:20
webchat68IE; instead of reinstalling packages, repositories, rebuilding binaries etc... I will install this iso and have those base packages installed.09:21
lotuspsychjewebchat68: unofficialy there is cubic to create ubuntu iso's yourself, but for server mass deploy you might better talk to the #ubuntu-server guys09:21
webchat68thanks lotus09:22
packopyis registering nicks ubiquitous across all servers?09:27
packopyin terms of the process.09:27
packopyapologies for my stupidity09:28
lotuspsychjepackopy: are you talking about libera registering?10:01
=== denningsrogue3 is now known as denningsrogue
quantumby default does ubuntu 20.04 use gdm3 or lightdm10:19
lotuspsychjequantum: gdm3 on gnome for ubuntu-desktop10:20
=== xavier1 is now known as terriasxu
quantumlotuspsychje, thanks11:09
=== diskin_ is now known as diskin
dasdas:)11:18
BluesKajHi all11:52
McEHi, where can i learn about the dicretory structure of the ubuntu repository ; namely what each directory is for , and what it contains ?12:02
oerhekshttps://help.ubuntu.com/community/LinuxFilesystemTreeOverview is a start12:03
=== EoflaOEViceCity is now known as EoflaOE
lotuspsychje!sources | McE this too?12:13
ubottuMcE this too?: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.12:13
McE2Hi, where can i learn about the dicretory structure of the ubuntu repository ; namely what each directory is for , and what it contains ?12:47
EriC^^!hier12:49
ubottuAn explanation of how files and directories are organized on Ubuntu, and how they can be manipulated, can be found at https://help.ubuntu.com/community/LinuxFilesystemTreeOverview  see also: man hier12:49
McE2ubottu , i am refering to the REPOSITORY..., dear gentleman...12:50
BluesKajMcE2, https://askubuntu.com/questions/28355/what-is-the-structure-of-an-ubuntu-repository12:51
mtjhey folks, is the snapd package required for a basic gnome desktop install?12:56
mtj..and the various core18, gnome-3*, gtk-common-themes snap pkgs?12:56
oerheksyes.12:57
=== beaver_ is now known as beaver
=== coetzeer_ is now known as coetzeer
mtjoerheks: thanks for confirming.. curious, what breaks snapd (and its pkgs)  are removed?13:43
mtjs/snapd/if snapd/13:44
lotuspsychjemtj: you can purge snapd and keep running ubuntu/gnome if thats your question?13:47
mtjlotuspsychje: yep, thats my situation13:47
mtjjust reading this... https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-04/13:48
mtjim guessing that the  core18, gnome-3*, gtk-common-themes snap pkgs are required deps general snap apps13:50
mtjmany thanks13:51
lotuspsychjemtj: i tryed sudo purge snapd on a vanilla ubuntu-desktop once, worked like a charm13:51
=== genii-core is now known as genii
SimplarHow do I repack .tar.xz to .tar.gz?13:59
lotuspsychje!tar | Simplar14:04
ubottuSimplar: Files with extensions .tar, .gz, .tgz, .zip, .bz2, .7z, .ace and other archive file formats can be opened with file-roller (GNOME) or Ark (KDE) - Also see https://help.ubuntu.com/community/FileCompression14:04
ensi'm interested in learing about cloud computing + learning more python with ubuntu projects. is there an open source project / community that i can get involved with that deals with that a lot so i can skill up?14:32
enslearning*14:32
rbasakcloud-init perhaps?14:32
tzplhi. how can i upgrade from 20.10 to 21.04?  do-release-upgrade says 'Your Ubuntu release is not supported anymore'14:35
ensrbasak: thanks, just been checking out the wiki for it. looks pretty cool.14:35
HelenahHiya, my /var/lib/dpkg/alternatives/x-www-browser file is corrupt (literally says corrupt, unexpected end of file), how do I fix this? I can't even remove or re-install chrome (I want to remove chrome).14:38
ensrbasak: would you happen to have any other suggestions for how i would go about modernising my knowledge of ubuntu on cloud and programming stuff? i've got sysadmin and coding experience but it's pretty oldhat and i am kinda looking to get with the times.14:43
ensi have done almost nothing involving cloud stuff, usually just did on-prem stuff with mostly baremetal.14:44
HelenahOnce can never complete their computer science knowledge, it's just too vast. lol14:45
HelenahYou'd reach the grave trying, believe me! :)14:45
ensit's true, but it's really hard to keep up for me since i think the world has moved on a lot since my last job, and i kinda have the time to modernise my knowledge so i may as well get involved in a worthy project like ubuntu while doing it!14:46
oerheksHelenah, you might want to try to copy /var/lib/dpkg/alternatives/x-www-browser from the live iso ?14:46
enseveryone asks for cloud skills and python/go these days it seems.14:47
Helenahhmm14:47
HelenahI'm desperate for another way, what does this do?14:49
HelenahWow that looked good!14:49
BuildTheRobotsgood afternoon. trying to add a custom CA certificate to my desktop machine, ideally so it's recognised in browsers. I found some old instructions for ubuntu server which I followed and which said it added the CA (`cp custom-ca.crt /usr/local/share/ca-certificates && update-ca-certificates`), but none of my browsers (chrome, ff or vivaldi) seem to recognise sites signed with it. Could anyone advise please?14:52
oerheksBuildTheRobots, did you logout/login after that? or better, reboot14:54
oerheksinstructions seems right14:55
BuildTheRobotsI rebooted after and then tried to open a site signed with the custom CA in ff, chrome and vivaldi and all 3 still reported it as insecure14:56
TJ-BuildTheRobots: is the added certificate in the correct format?14:56
BuildTheRobots@oerheks ^^14:56
BuildTheRobotsurm, i believe it's in the correct PEM format. It has a -----BEGIN and -----END lines14:56
oerheksoh, chrome uses its own; Note that updating ubuntu system certificate store by update-ca-certificates has no effect on Chrome.14:57
BuildTheRobotsiirc firefox has used it's own store for a while too14:57
oerheks614:58
oerheksIn Ubuntu, Chrome uses its own certificate store. You can import your RootCA.crt in Chrome's settings -> privacy and security -> manage security keys -> manage certificates -> authorities14:58
BuildTheRobotsfound the option to add to both14:58
BuildTheRobotsfantastic, thank you :)14:58
BuildTheRobotsi guess i should try cli curl and see if that's happy with it (that would imply my update-ca-certificates import actually worked at a system level)14:58
BuildTheRobots(which it does)14:58
HelenahI got the answer oerheks and I would like to drop it here just incase anyone else needs it: sudo update-alternatives --remove-all google-chrome-stable & sudo rm /var/lib/dpkg/alternatives/google-chrome-stable & sudo apt-get install --reinstall google-chrome-stable15:00
HelenahNow I'm going to try and remove google chrome because I need longer use it! :315:00
Helenahs/need/no15:00
HelenahOh same issue! o.o15:01
BuildTheRobotsthanks oerheks and TJ- :)15:01
HelenahSigh, I'm probably just going to get the default file. :/15:01
imiI saved a file from a snap application to /tmp15:13
iminow obviously that file didn't made it to the systemwide /tmp, it's inside a chroot /tmp or whatever15:14
imihow do I find that file on my actual file system? (outside of the chroot)15:14
oerheksinteresting, did that snap have access to /tmp?15:15
oerheksIf so, why would it not be in /tmp but an other place15:16
imioerheks: not to the system wide /tmp as I said. to a /tmp of a chroot15:16
oerheksthat would be the same,..15:17
imino it is not15:17
imisnaps can write to /tmp but the file written to the /tmp does not appear in /tmp (maybe overlay fs? maybe chroot? maybe both?)15:18
oerheksnormally snaps are confined to the homefolder.15:18
oerhekswhat snap exactly?15:18
imishapezio :) but I remember a different snap with the exact same behaviour as well15:19
ensthere is a security setting that stops tmpfiles showing up for others users iirc15:20
imisame user15:21
ioriaimi, maybe an /home/$user/tmp and then bind mount /tmp ?15:23
oerheksshapezio here does not have access outside the home folder.15:23
oerheksso i wonder, even with a chroot..15:23
h1pottalking about snaps, the kdenlive one isn't rendering any video15:26
lavaballcups unshares my printers. i just have to share them again and all is fine, but it would be nice if they didn't unshare themselves in the first place.15:31
rbasakens: learn cloud-init and lxd for fast local emulation (if using an image like ubuntu:focal) maybe? Usually the way to get into this kind of thing is to have a project to do that you're motivated to finish. Difficult for others to suggest specifics then though.15:44
orion__Who is the best person with whom to speak regarding kernel build errors, specifically related to the linux-image-generic deb for Ubuntu?15:44
rbasak!ask | orion__15:44
ubottuorion__: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience15:44
orion__rbasak: linux-image-unsigned-$(uname -r) does not build for me. The problem is that the file-downloader in the debian/scripts directory tries to fetch a broken link.15:46
orion__Specifically: https://launchpad.net/ubuntu/+archive/primary/+files/wireguard-dkms__all.deb15:46
ensrbasak: thanks, your suggestions are really good. i've been reading up on cloud-init and lxd and it looks like surely the way to go to do a lot of learning. i'm getting some spare hardware with a decent disk size and ram size for studying with so i'll probably do what you suggest.15:47
ensrbasak: it's kinda hard to have a good project these days since for a lot of stuff i need there's some person who has already written something for it! but i guess i'll brainstorm a bit.15:48
McE2Hi, where can i learn about the dicretory structure of the ubuntu repository ; for example what are the "override.xxxx" files in http://old-releases.ubuntu.com/ubuntu/indices/15:53
oerheksThe  override  files  used to make the official Packages lists may be found in the indices on any Debian mirror http://manpages.ubuntu.com/manpages/trusty/man5/deb-override.5.html15:55
oerheksjust open any override file15:56
McEirc, causes my internet connection to drop , am i beeing hacked ?16:00
Mekanecki doubt it16:02
McEmy smartphome did pictures a was pressing apparently random keys, until i changed provider..., then it stopped acting16:05
McEfunnz16:05
McEfunny16:05
=== coetzeer__ is now known as coetzeer
sarnoldwhy doesn't systemctl return control to bash immediately when I start this service?18:10
sarnoldsarnold@wopr:~ 8m27s $ sudo systemctl start mirror-rsync.service18:10
sarnoldsarnold@wopr:~ 8m1s $18:10
sarnoldthe service file http://paste.ubuntu.com/p/Ydy9ZdjxHC/18:11
sarnoldthe 8m1s is how long the process ran for.. (the 8m27 on the first line is from the first run of the service)18:11
SamianI don't like the saying "you get what you pay for" because ubuntu is free even though I'd place its value in the billions and Windows and OSX cost money even though their value is less18:31
=== Walex is now known as Walex_away
SamianI'm tired of the snide "ubuntu? Free? you get what you pay for. it must not be good"18:31
AmRHello18:38
sarnoldhi18:38
AmRWhere apt-get store deb pkg's ?18:38
sarnoldAmR: /var/cache/apt/archives/18:39
colin_bHi, I'm new to linux (ubuntu/pop!os) and I just changed my hostname from "pop-os" to "pc-colin". After a reboot, my wired ethernet no longer works. What could be the cause?18:44
sarnoldcolin_b: you can use ip -c a, ip -c l, ip -c r  to see information about the interfaces, ip addresses, routing tables, and look for errors there18:48
colin_bThanks. I can't see any error there. This is the output of the commands: https://pastebin.com/ads7S6Nj18:53
thyriaencan i set a 4th level choose of my keyboard ?19:00
sarnoldcolin_b: so it looks like your usb adapter should be able to talk to 192.168.61.101 -- can you ping 192.168.61.101 ? or interact with it in some other fashion?19:01
oerheksthyriaen, sure?19:02
colin_b@sarnold Yes, I can ping it19:02
sarnoldcolin_b: okay, cool.. how about ping 8.8.8.8?19:03
thyriaenoerheks, how do i do it ?19:03
oerhekssettings, region + language , input sources19:04
colin_bNo wait19:04
colin_bI was connected using USB tethering (backup for now). It can't even establish an ethernet connection: "Activation of network failed"19:04
sarnoldcolin_b: oh :(19:04
oerheksthyriaen, with more than one, a setting appears top panel19:04
thyriaenoerheks, not sure we understand eachother, i would like to modyfiy my current keyboard layout in such a way that  i have an extra modifier for a 4th layer of symbols on my keyboard19:04
oerheksoh, i thought 4 keyboardlayouts19:05
colin_b@sarnold did you receive my message at 21:04:08? Had to turn off my USB ethernet for testing the command19:05
thyriaenyea, no - just one layout but a 4th layer19:05
sarnoldTue 03 19:04:30 < colin_b> I was connected using USB tethering (backup for now). It can't even establish an ethernet connection: "Activation of network failed"19:05
sarnoldcolin_b: that's the last I saw19:05
colin_bOk, that's the last one. Good :)19:06
sarnoldcolin_b: cool; I was a bit surprised it took 22 seconds to get to irc, but maybe that shouldn't be surprising :) heh19:07
=== mh3f_ is now known as mh3f
noarb-I'm researching setting up sbuild + schroots to build packages locally like the security team recommends here: https://wiki.ubuntu.com/SecurityTeam/BuildEnvironment ... How does changing the filesystem impact the procedure? does launchpad buildd use lvm like https://help.ubuntu.com/community/SbuildLVMHowto (first page mentions its an extension of this page)? I also found using debootsrap with btrfs19:08
noarb-https://gist.github.com/81887821/1bbd2ff019548ddc01e7cd989b858ef0 does my choice of fileystem to build with matter? Or, does it matter moreso than the filesystem I chose for my day-to-day workstation?19:08
sarnoldnoarb-: irc has line length limits, I think your first message was cut off at "using debootsrap with btrfs"19:12
noarb-Ah sorry about that. I was just wondering if my choice of filesystem to build on matters much, or moreso than the filesystem I choose for my workstation? Is it only mentioning it in case I'm building on a dedicated disk, and need to format it?19:14
sarnoldnoarb-: filesystem choice does matter; I found I couldn't build on my new laptop following those BuildEnvironment instructions because I used zfs for root, and the overlay stuff doesn't work there19:15
sarnoldnoarb-: I *think* sbuild has some support for using zfs datasets but I couldn't figure out how to use it. :( so I still do all my builds on my old laptop, with ext3 ..19:16
sarnoldnoarb-: you might be able to get sbuild to use btrfs subvolumes, that might be a nice improvement19:17
sarnoldnoarb-: the buildds probably don't do lvm, they re-use the same VMs over and over again, filesystems are never resized etc, just "cleaned", whatever that means :)19:18
noarb-Does buildd on launchpad use LVM? Would there be a benefit in matching that? https://gist.github.com/81887821/1bbd2ff019548ddc01e7cd989b858ef0 shows using btrfs; is the "improvement" build times via write speedups or caching between runs or something?19:18
daleHi, is there some way to tell what repository an installed package came from?  I've got a docker.io package installed and I'm trying to tell if it came from Ubuntu repos or Docker repos.  Docker repos were once installed but are no longer installed.19:18
oerhekssure it is the docker repo, apt-cache policy docker19:18
sarnolddale: searching for the version string is about the best you can do, I fear19:19
daleoerheks: This looks interesting.19:19
noarb-Maybe btrfs would be like ext3 + eatmydata? So its for caching/speed? Sorry just completely naive on it, probably just overthinking it19:20
sarnoldnoarb-: I'm not sure if i'd expect it to be faster or slower than ext4..19:21
daleoerheks: I think this is telling me that at least the package version I have installed matches what is in the Ubuntu repos, since now all I have installed are the Ubuntu repos.  The "Installed" and "Candidate" versions are the same, and the "Version table" lists my currently-installed version in the updates/universe repository.19:22
daleSo barring Docker folks releasing a package with exactly the same (long, complicated) version descriptor as Ubuntu, I think I have the Ubuntu package installed.19:23
daleThanks oerheks, sarnold :)19:23
shinobiIs Wayland recommended over X?19:52
sarnoldit depends what applications you use, what hardware you have, etc19:53
oerheksMir or Wayland, it will be.19:55
nemosarnold: Wayland is still experimental with firefox19:55
nemoalthough personally I avoid it 'cause I use X forwarding a lot19:55
nemoand X scripting19:56
sarnoldnemo: heh, the two applications I use are firefox and urxvt .. I'm not rushing into wayland myself :)19:56
nemosarnold: tried out webrender yet?20:01
sarnoldnemo: heh, I'm not sure :) I've got https://bugzilla.mozilla.org/show_bug.cgi?id=1514148 "WebRender seems to ignore Expose events on X11" in my firefox history which maybe suggests I did, at some point, but maybe it was just someone else talking about it..20:02
ubottuMozilla bug 1514148 in Core "WebRender seems to ignore Expose events on X11" [Normal, Resolved: Fixed]20:02
nemoI know they are working on it, I'm just kinda apathetic20:02
nemosarnold: X11 works for my simple needs and Webrender... doesn't.20:03
nemosarnold: er. *wayland*20:03
nemowebrender works quite nicely indeed20:03
sarnoldnemo: oh, wayland, no, never tried it.20:03
nemoSo. Just fixed another issue with the 4 ubuntu machines at work.  After replacing the gnome login with slim and reducing memory usage ten-fold, the admins said that the login still wasn't working20:04
nemoturns out gnome3 now requires gl acceleration which wasn't working in the web consoles.20:04
nemosooooo followed some instructions for purging gnome3 (which wiped X too, but I just reinstalled it) and added a basic MATE20:05
nemoall better!20:05
nemoand even less memory usage and disc space wasted20:05
nemosarnold: well IMO you should check it out if you spend a lot of time in your web browser. seems to really help20:07
nemoeven on top of layers acceleration20:07
nemoI've just run into a few edge case bugs20:07
nemosarnold: for example https://m8y.org/tmp/testcase484.xhtml still renders blurry in webrender due to the scaling and transforms20:09
nemoactually even blurrier than in the past20:09
nemoI suspect stuff like that is low priority for them though20:09
=== nuala2 is now known as nuala
AmRsarnold: Thanks :)20:14
AmRHow I can make swap part active at system startup ?20:18
oerhekssee the swap manual?20:19
oerheks!swap20:19
ubottuswap is used to move unused programs and data out of main memory to make your system faster. It can also be used as extra memory if you don't have enough. See https://help.ubuntu.com/community/SwapFaq for more info20:19
sarnoldnemo: webrender enabled, thanks for the hint :)20:19
sarnoldnemo: nice job with the vast memory savings ;)20:20
nemosarnold: yeah, really my fault for not having used "lubuntu" in first place eh ☺  but these 4 ubuntu servers have an amusing history.20:21
sarnoldnemo: hehe20:21
sarnoldlike most machines..20:21
nemosarnold: When they hired me in 2007 they had 0 linux desktops or servers.  They gave me 30 minutes as admin on my assigned machine to setup "tools needed to do your job as a developer"20:21
nemosarnold: so I installed virtualbox and ubuntu20:21
nemoer. ubuntu *inside* virtualbox.  booting to ubuntu was still technically not allowed at the time ☺20:22
nemohm. actually... checking lubuntu's history it didn't even exist at the time20:22
nemosarnold: anyway after many jumps from physical to virtual it eventually became nemo's personal server image and got cloned a few times.  all the stuff *not* derived from that is devuan+slim+xfce - but I guess these 4 machines ended up on gnome3 due to ubuntu defaults ☺20:23
sarnoldnemo: okay most histories don't involve going *to* physical from virtual :)20:24
=== thomas_ is now known as thomasb
nemosarnold: virtualbox → (dd|nc) → physical 1 → (dd|nc) → physical 2 → vmware image split → clone → nutanix → moar cloning20:24
nemoreally, kudos to ubuntu for probably 4 flawless upgrades and effortlessly handling all that software20:25
nemosarnold: actually, probably one transition from 32 bit to 64 bit too20:25
nemos/software/hardware/20:26
sarnoldnemo: oh yeah, I helped someone through that once after telling them not to do it, it worked out surprisingly well. heh :)20:26
nemoit's all getting fuzzy at this point20:26
TurboTechGood afternoon.20:53
nemoG'day20:56
TurboTechI have been running ubuntu for years and I had to do a new install on my computer because of broken packages and things that evolved over time with my previous 18.04 Ubuntu Studio.  I am a photographer on the side and I am having a problem with Web Ice Tea opening my ROES program.  It has worked in the past, but now it will not get past permissions of unsigned jars.21:01
leftyfbTurboTech: https://techblog.jeppson.org/2018/01/fix-icedtea-cannot-grant-permissions-unsigned-jars-error/21:07
leftyfbTurboTech: not recommended though. They disabled some ciphers for a reason. You might wan to contact your ROES vendor to update their application21:07
leftyfbTurboTech: https://www.bleepingcomputer.com/news/security/oracle-to-block-jar-files-signed-with-md5-starting-with-april-2017/21:08
TurboTechThank you,  I contacted White House Color Lab and they have no idea about linux.21:09
leftyfbit has nothing to do with linux21:09
TurboTechI understand.  The minute you tell them linux they freak out.  They have no idea what Ice Tea is.21:09
leftyfbTurboTech: they are signing their java application with an outdated cipher(probably MD5)21:09
TurboTechI will try to contact ROES directly.21:10
leftyfbit has nothing to do with ice tea either. It's how they are signing their jar application21:10
leftyfbeventually, all java/jre clients are going to have it blacklisted so it won't work anywhere, then it becomes a bigger issue for them21:11
TurboTechI understand.21:13
TurboTechThank you for your help21:15
AmRdid ubuntu swap work with /etc/fstab or systeamd ?21:28
leftyfbAmR: on my 20.04 machine swap is listed in fstab21:30
leftyfbbut it's also encrypted, so not sure if it's due to the LVM encryption21:30
zekiahUbuntu21:37
hjalpHi there, any ARM side devs around?21:46
hjalpI've had in issue with the latest Raspberry Pi kernel update on 21.04 (raspi-1016), I got it to boot again by importing the 1016-raspi stuff from a fresh Ubuntu Server install after the 1015-raspi broke everything, but now my iptables won't work and the OS is trying to do some sort of update (to the kernel?) every time I reboot, although  it always21:49
hjalpjust ends up in 1015-raspi as a result :<21:49
hjalpufw won't work and all that ... I've tried all possible solutions, is there a way to just rewrite the kernel headers or something21:50
hjalpThis seems to be a frequently asked question and an issue especially on the Raspberry Pi side21:50
hjalpeach reboot, it atm does the animated "Ubuntu 21.04" text mode screen with four dots in it (". . . ."), apparently in attempt to upgrade the kernel, just to be stuck in 1015-raspi again when it boots up after a few minutes of that21:56
hjalpalso I don't understand how Ubuntu Server was apparently able to install 1017-raspi of that same 5.11.0 kerneltree but Xubuntu hasn't got that available at all21:57
waveformhjalp, the typical method for (at least temporarily) stepping down to a lower kernel version is to use "sudo flash-kernel --force <version>" assuming the <version> specified is still installed, e.g. "sudo flash-kernel --force 5.11-1015-raspi" but be aware that's only a temporary solution; the next kernel upgrade will run flash-kernel fresh which will copy the latest installed kernel to the boot partition21:58
hjalpwaveform thanks for the reply! however it doesn't work apparently because it can't find DTB bcm2711-rpi-4-b.dtb from /etc/flash-kernel/dtbs and some other directories22:00
waveformhjalp, the four dots on the boot screen are not a kernel upgrade attempt; that's just plymouth presenting a "pretty" boot screen during boot-up though I'm a little confused why that's appearing -- it's not on by default in ubuntu server, and ubuntu desktop images present a graphical "spinner" instead (though I'm not familiar with what xubuntu images do unfortunately)22:00
waveformhjalp, what's in "/boot"? (and I do mean /boot and not /boot/firmware -- the former is where flash-kernel is looking for "available" kernels and dtbs)22:01
hjalpwaveform after the kernel update at around 1014-raspi fried my Ubuntu builds, I had to wait for a kernel upgrade to Ubuntu Server (even on that side, on a brand new USB install, the OS was just booting to the rainbow of death)22:02
waveformif you specify something like "sudo flash-kernel --force 5.11-1015-raspi" it will expect to find "/boot/vmlinuz-5.11-1015-raspi" (and initrd.img, etc.)22:02
hjalpwaveform oh, you were missing the .0. in between22:02
hjalpit's 5.11.0 -22:03
waveformah, that's me being dumb :)22:03
waveformyup, should be "sudo flash-kernel --force 5.11.0-1015-raspi"22:03
hjalpit still doesn't work ... hmm ... there is a symlink for dtb -> dtbs/5.11.0-1016-raspi/./bcm2711-rpi-4-b.dtb22:04
hjalpwhat if instead of 1015 I'll try to just redo the 1016 ?22:04
hjalpthat seems to work22:05
waveformthe symlinks are all largely ignored on raspi -- they're used on PC installs with grub though22:05
hjalpyeah that's the biggest head scratcher in all of these types of situations when some of the features from the PC side are implemented in the bootloader and others are not ...22:06
hjalpwaveform ok so I ran that for 1016-raspi,  should I just reboot now or ?22:06
hjalpthat seems  to have been successful22:06
waveformyup, if it's run successfully then that's effectively "installed" that kernel (and its associated initrd, and dtbs) to the boot partition22:06
waveform(which will require a reboot to operate)22:07
hjalpwe'll see ... yep, I'm reboot ing22:07
hjalp@wavef btw after that complete OS-incapacitating thing with around 1014-raspi22:07
hjalp... the boots have been really slow (sorry, typoed) waveform22:08
hjalpfrom what I've gathered it's running a forced fsck in the early boot and editing /etc/fstab didn't help , etc ...22:08
hjalp@waveform no idea what's that about, especially since my other build worked just fine after getting a "boot-transplant"22:09
hjalpviewing with esc underneath the splash screen reveals that it runs a thorough disk check; this is something that happened only after the failed update: and on this machine the iptables are now somehow broken, I get a bunch of dmesg errors etc, not even ufw is starting up properly :<22:11
waveformhjalp, I can't say I'd heard of the OS-incapacitating thing -- been happily running 1015 here on my hirsute installs. Do you happen to remember where you got your xubuntu image? I'm only seeing PC images on the xubuntu.org site, but I'd like to try and replicate something this severe22:11
waveform(will probably have to be tomorrow though -- it's past 11PM here at the moment)22:12
hjalpwaveform https://askubuntu.com/questions/1353872/raspberry-pi4b-64bit-21-04-5-11-kernel-trees-1014-raspi-1015-raspi-apt22:13
hjalpwaveform ok thanks, now it's at least back to 1016-raspi22:13
hjalphowever I get no driver for the bcm2711; that seems to have been broken as well.22:14
hjalpmy iptables aren't working in either one of the available modes22:14
waveformdo you have a specific error for the bcm2711 driver? (there's a lot of drivers for the SoC :)22:14
hjalpnot really -- hmm , how should I start looking for that one? I noticed that I've had no sound (I rarely use audio) since that botched apt update22:17
hjalpwaveform on this RPi4B to be specific, in the other one that I fixed with the same trick as mentioned in that AskUbuntu link ,everything's working a-ok, no boot delays, no broken iptables, no audio issues ...22:17
hjalpat least sudo dmesg | grep bcm doesn't bring much up22:18
hjalpok well at least pulseaudio isn't loaded as a server22:19
hjalp(but it's running as a daemon)22:19
hjalp(although the config says 'Daemonize = no' ? )22:20
waveformhjalp, I've no particular ideas about the audio other than to check that "dtparam=audio=on" is somewhere in /boot/firmware/config.txt (prior to any dtoverlay= lines) which is required to enable the audio hardware22:21
hjalpwaveform how about the iptables? as I began to look that one up, I only found references to kernel mismatches (which indeed seems to be the case atm)22:23
hjalpI can't basically plug that in the internet atm since ufw isn't loading up22:23
waveformhjalp, on boot messages, "journalctl -b" is usually enough to bring up the necessary bits, but sometimes there's extras in /var/log/syslog which can be useful22:23
waveformhjalp, on iptables do you see a specific error when you try something like "sudo iptables -L -n"?22:25
hjalpwaveform also the fsck after every boot is a bit of a ?; I'm wondering if there's a method to check out what's forcing into that with each boot; I dont' have the "forcefsck" file in "/" , /etc/fstab has 0 , 0 for both partitions etc.22:25
waveformhjalp, well let's sort out that you're actually *getting* an fsck first -- are you seeing a message actually saying it's fsck'ing?22:26
hjalpit's not showing up anything else except after the "jam" is cleared, it says ..itable clean: checked blah out of blah bytes ("...itable" because I can't read what's in there since it draws it out of the screen)22:27
hjalpfailed to start "set up additional binary formats", failed to start "Uncomplicated Firewall" ...  Starting of Arbitrary Exec..Automount Point not supported ...22:27
waveformon systemd there's a systemd-fsck@ service which is instanced to all the mounted disks; I'm not familiar enough with it to know what its criteria are for bothering to check, but that's the next place probably worth checking22:29
waveformwhat's also a bit confusing is that you've got the -1016 kernel at all -- that's only in -proposed from what I can see; did you enable proposed to test a kernel release?22:30
hjalp@waveform alright I'm checking that out22:32
hjalpwaveform -- iptables/1.8.7 Failed to initialize nft: Protocol not supported22:33
hjalpwaveform ... and hence ufw doesn't work either -- I've tried switching to the legacy mode with 'sudo update-alternatives', but in that one ufw says that there's some mismatch that likely requires kernel update22:34
hjalpwaveform yes, I have the proposed repo enabled, but that doesn't explain how it still wouldn't work when I reverted all the way back to 1014 or so22:35
waveformhjalp, it would depending on what else you've got installed from there. If you've enabled proposed across the board (without pinning), you can pretty much expect breakage at some point; just reverting the kernel version isn't going to avoid that22:36
hjalprunning waveform iptables-restore/1.8.7 says the same; "Failed to initialize nft: Protocol not supported"   https://raspberrypi.stackexchange.com/questions/120322/ufw-error-couldnt-determine-iptables-version <= pretty much close to that22:36
luigi         n  cb22:37
hjalpwaveform disable proposed and downgrade all?22:37
waveformfrankly I'd consider just re-installing if you've enabled proposed and upgraded everything, but if that's impractical for some reason, then yes -- that'd be the sensible next step22:38
waveformit does sound like you've got a mismatch between the kernel that's being booted (from /boot/firmware) and what's installed on the root partition (specifically it sounds like iptables is failing to load various nft_* modules)22:39
hjalpwell, I've got 9901 installed packages now that I checked, so I'd rather not reinstall from scratch, but ...22:40
hjalpaside this complete apt-update related bootloader collapse glitch everything's been running fine22:41
waveformI've got to head off now, but I'll try and reproduce the upgrade issue tomorrow based on that bug-report22:43
hjalpwaveform it was fixed some time after that, I wonder if part of the mismatch is because I took the boot stuff from a Ubuntu Server and stuck into the Xubuntu22:44
hjalpwaveform thanks for the help tho ... I'm rebooting now but systemd-udevd is hanging up (am still waiting)22:46
hjalpwaveform btw, I have another build that's working perfectly and it's the same Xubuntu 21.04 that I fixed the same way (it doesn't have any boot delay btw, works like a charm)22:48
hjalpI'm wondering if I should just grab its files or something22:48
obztrackHi i would like to know if there any big difference between Mint and Xubuntu for playing game on Steam on a tiny laptop?23:53

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