/srv/irclogs.ubuntu.com/2022/06/06/#ubuntu.txt

=== gdhughes5 is now known as MicrowavedGerbil
weeshat67hell00:37
weeshat67anyone hells bandage by server listsw?00:37
weeshat67or anything to say? script for irssi00:38
leftyfbweeshat67: this is an ubuntu support channel00:38
weeshat67trying my best spot here00:38
leftyfbweeshat67: try #libera00:38
weeshat67thanks00:38
weeshat67presciate someone to talk to anyway :)  even though00:38
weeshat67i never talk to anyone00:38
weeshat67hi hi anyone00:40
weeshat67anyone using mic programs to chat? head about mass joining skype00:40
weeshat67i think it will never loose itsefls00:40
weeshat67jsut time00:40
weeshat67but thats awesome00:40
weeshat67skydiving chatpanel00:40
kostkona bot? good grief. bye00:41
bray90820So I am having an issue I have a CMI8738 PCI swound card that I am trying to use with 22.04 but the PC reboots after like a minute ot two of being on00:49
bray90820Doesn't happen on windows00:49
chancezI'm having some trouble net booting ubuntu 22.04 on a dell poweredge, it's not getting an IP via DHCP on the primary interface. I see it is basically just getting an DHCP offer for the IDRAC interface, but not the primary interface, and then it tries to download the ISO and fails. it doesn't fail to PXE boot with 20.04. if I run `dhclient eno1` in01:12
chancezthe initramfs shell it gets an interface and can reach the internet. how can I configure it to use a specific interface to DHCP with, and not use any other interfaces? I tried configuring via setting `ip` in `cmdline`, but it doesn't seem to support the same options as dracut, so im not sure what's reading the cmdline params for configuring01:12
chanceznetworking, and I can't find any docs on what to do here.01:12
=== zakalwe` is now known as zakalwe
ItzSwirlzI'm in the ubuntu-wiki-editors team but can't seem to find the button to edit my page. When I force the url to ?action=edit it says I have no perms01:14
leftyfbItzSwirlz: you need to login01:15
ItzSwirlzi am.. ill relog01:16
Unit193If logging out then back in doesn't fix it, I'd follow-up in #launchpad.01:17
ItzSwirlzi have a two-monitor setup so i have one vivaldi that has openid work and one that doesnt, so i can edit on one but not the other butim not complaining01:17
ItzSwirlzthanks01:17
Bashing-omUnit193: ItzSwirlz: https://rt.ubuntu.com/Ticket/Display.html?id=61049 - still in effect ? Though I have seen nothing recent on the WIKI login issue.01:20
ItzSwirlzThe OpenID thing when i clicked "continue" just froze01:21
Unit193Fun times...01:21
=== CatPasswd_ is now known as CatPasswd
=== hackerman34 is now known as hackerman3
=== wildmanne39 is now known as Guest3425
=== halvors1 is now known as halvors
=== hackerman33 is now known as hackerman3
ahcnewly install Focal 20.04, "upgraded" in fact, and I find I have Bionic 18.04 repositories in /etc/apt/sources.list   Please can anyone point me to a list of the Ubuntu repositories I should have there.  .. Main Focal I guess is one.04:49
lotuspsychje!sources | ahc04:50
ubottuahc: 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.04:50
ahcYes I have Main Universe Restricted Multiverse all ticked in the box, strange I don't see them in /sources.list04:52
ahchttps://pastebin.com/6TaVAQED  < --   apt update output is here. I don't know what the frequent mention of "InRelease" is about. What is InRelease? Just the current packages I guess.04:58
lotuspsychjeyour paste was not found ahc05:02
lotuspsychje!uptodate | ahc try also this05:03
ubottuahc try also this: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`.05:03
ahcOK. Thanks folks.05:04
ahcWhat is !uptodate ? I don't understand that lotuspsychje05:07
rfmahc, I would go through /etc/apt/sources.list and /etc/apt/sources.list.d and get rid of anything that says bionic, plus those bizarre cine1erra-gg-org things (where did *they* come from, then do the update/full-upgrade dance.05:08
arraybolt3[m]ahc: He used a bot command.05:08
arraybolt3[m]The ubottu user said what he wanted you to see. !uptodate was the command to get the bot to say it.05:08
ahcOnly installed cinelerraGG yesterday, it seems to work fine, I'll check its repository sources.   sudo apt update && sudo apt upgrade returns just the same.05:11
=== diskin_ is now known as diskin
riverhey07:17
riveris there a good program to look inside a tar file without unzipping it?07:17
lunafile-roller07:18
riverty!07:18
lunanp07:18
matsamanriver: tar -tvf foo.tar07:33
kraiskilI installed the ARM cross compiler (arm-none-eabi-gcc) on jaunty, but I can't find the cross gdb. Am I missing something, or is it just not packaged?07:37
kraiskils/jaunty/jammy :)07:37
kraiskil(maybe that switch would improve my googling luck too...)07:38
=== javaJake_ is now known as javaJake
fn31ln3Hi, I just installed Ubuntu20.04 LTS on a machine and for `sudo systemctl status NetworkManager.service` I get `Unit NetworkManager.service could not be found.`. Is this normal?08:23
fn31ln3I did nothing special but apt update && upgrade08:23
mjtI notice the Ubuntu 22.04 installer didn't encrypt /boot with LUKS - only the 'main' partition. Is there any reason to jump through hoops to encrypt "/boot"?08:36
mjtI saw some guides online, and it seems complicated and I can't see any apparent benefit, in a context where I only really want encryption to stop someone who steals my laptop extracing information - don't care about tampeering.08:37
mjttampering*08:37
ducassethen no, i wouldn't worry about it08:38
catphishi didn't know grub could decrypt /boot - never seen it done08:39
ducasseit can if it has the module for it08:39
mjtThat's exactly what the complicated guides do - configure grub to decrypt /boot.08:39
catphishthat's cool, but only necessary if you're worried about tampering with your boot settings, i'd say it matters much less now with secure boot / signed kernels08:40
catphishin terms of protecting your files when you lose your device, not necessary08:40
lissyxhello08:41
mjtIndeed, and, well, insert XKCD comic about hitting someone with a hammer for their password.08:41
lissyxI've failed to find accurate docs on how one should build/rebuild a snap08:41
lissyxI'd need to do that on a fier08:41
lissyxfirefox08:41
catphishi've been using mint for the leat 10 years, but going to use the lag between ubuntu 22.04 release and the mint release to try some other options, i can't stand the default ubuntu layout with the left oriented bar, so going to try kde first :)08:42
mjtI don't mind the left-oriented bar, but it drives me insane that clicking the very bottom-left corner of the screen doesn't open up "Show applications".08:43
mjtIt seems like a bug, can't find anything filed for it.08:43
mjtAs in - if your cursor is in the corner, it misses activaitng the button.08:44
computerwormhi catphish, if you want to use KDE on Ubuntu, your best bet is Kubuntu - https://kubuntu.org/08:44
catphishcomputerworm: that's exactly what i'm about to install :)08:44
computerwormOh okay, I thought you were asking for advice. I'm glad you've got it under control :)08:45
catphishcomputerworm: thanks, i didn't ask any question yet :) but i do have a question - is the default desktop environment in ubuntu "stock" gnome 3? can it be customized to be more like the MSwindows/mate/kde that i'm used to?08:46
ogracatphish, it is one click in the apperance settings to move the panel to the right or bottom ...08:47
ogra(and yes, it uses GNOME (4))08:47
computerwormcatphish, the default DE in Ubuntu is a customized GNOME 40, not stock GNOME nor GNOME 308:47
computerwormAnd I think there's an app available called gnome-tweak that lets you change additional settings, catphish08:48
computerwormIt's not installed by default, you have to install it yourself08:48
catphishthanks both, can't hurt to install it and play with those settings then to see if i can bend it to my liking08:48
catphishi like trying out different things every few years :)08:49
computerwormNo problem catphish. I understand completely, except for me it's not every few years, it's every few months. :)08:54
catphisha long time ago i used to be more like that, i ran gentoo and played with all kinds of things, back when beryl/compiz were new, the world was exciting, and i didn't really have anything better to do08:55
catphishbut then somehow i settled into Mint/Mate and got stuck there because for serious work purposes it "just worked"08:56
computerwormI've been using Linux for 2 years, tried over 2 dozen distros, and counting. Mint was first and is my current08:59
computerwormMint, MX, and Artix are the best distros so far IMO09:00
lotuspsychjelets keep it support related please09:00
catphishthat's unfortunate, just installed kubuntu and after a reboot my system just sits with its firmware splash logo on the screen, no visible sign of linux running :(09:06
catphishthe firmware finds the ubuntu UEFI in its boot menu, when selecting it my usb peripherals seem to be reset, but then nothing further09:08
catphishany pointers how to get some debug output?09:08
arraybolt3catphish: Sounds like a kernel panic. To get debug output:09:09
arraybolt3First, turn the system all the way off, then turn it on. During early boot, just after the screen changes (or goes totally black), hit Esc.09:09
arraybolt3This should get you into the GRUB boot menu. You might have to try this a few times until you find the sweet spot for when to hit Esc.09:10
catphishthat works09:10
arraybolt3Once you get into the menu, hit "E".09:11
arraybolt3Change the line that says "linux" in it to just "linux /boot/vmlinuz".09:11
arraybolt3Actually, hold on, I had a better idea.09:12
catphishok09:12
arraybolt3Change the line that says "linux" in it by removing "quiet" and "splash" from the command line.09:12
arraybolt3This will allow debug output to show on the screen.09:12
arraybolt3Now press Ctrl+X.09:12
catphishyeah i was about to say, i can just remove splash quiet and see what happens first09:12
catphishgrub is VERY slow on my 4k display09:13
arraybolt3If you see it stop scrolling lines of gobbldygook, and the last bit says something like "Kernel panic - not syncing", that's your problem.09:13
=== dd3my is now known as Guest9968
catphishthat worked, seems like it's actually booted just fine, so likely a problem with X11/nvidia, maybe i'll try a different HDMI port09:15
arraybolt3During install, did you check the box for installing proprietary drivers?09:16
arraybolt3That should give you better nVidia performance.09:16
catphishyes i did09:16
arraybolt3(And might kick your system into working if you didn't do that already.)09:16
arraybolt3Crud. Then... blah. Well, your HDMI port idea was good.09:17
arraybolt3catphish: Another thing you might try is, when you boot Linux, try hitting "Ctrl+Alt+F3" to see if you can get to a terminal. That will let you run commands to try to troubleshoot and fix the issue.09:18
catphishi can log into a shell at least, oddly i don't see any nvidia or nouveau kernel modules, but it's been a long time since i looked at this09:18
arraybolt3Nice.09:19
catphisharraybolt3: yep, just did exactly that :)09:19
arraybolt3What nVidia card are you using?09:19
arraybolt3And what version of Kubuntu?09:19
catphishRTX2080 Ti, and whatever's current (22.04)09:20
catphishwow, startx is still a thing, and it gives me a working desktop :|09:21
catphishi'll update everything and try again09:22
arraybolt3Hmph. That sounds like an SDDM problem.09:22
catphishthanks for the pointers09:22
arraybolt3Yeah, sure. Hey, can you try restarting the system, logging into a terminal, and then doing "sudo systemctl restart sddm"?09:23
catphishdesktop performance was garbage, it can't have been running proper GPU drivers, just did an update, rebooted, now it's working, it's loaded the nvidia kernel module, started the DE at boot, and performance is good09:26
arraybolt3catphish: Awesome. Glad it's working now!09:27
catphishso clean install, no "nvidia" or "nouveau" kernel modules, no desktop, but after installing updates now have nvidia module, and all is good, just an early release teething problem i guess09:28
catphishthanks again for getting me started :)09:28
=== DD3my_ is now known as DD3my
=== dd3my is now known as Guest3094
arraybolt3catphish: 👍09:37
mirotalkHello :)09:41
arraybolt3Ubuntu uses SHA256 hashes for ISO file verification, and I just learned such hashes are vulnerable to length extension attacks. https://en.wikipedia.org/wiki/Length_extension_attack Is this a potential security risk? Would it allow someone to tamper with an Ubuntu ISO file without flunking SHA256 and GPG validation?09:44
arraybolt3(I highly suspect this isn't the case, since this attack has been known about for years, and Canonical continues to use SHA256 sums to this day, so they probably know what they're doing.)09:46
catphisharraybolt3: this doesn't allow anyone to tamper with a file without changing the hash, no09:52
arraybolt3catphish: That's what it looked like to me. And really, just the fact that Canonical uses SHA256 should be enough to tell me that's it's secure enough for what they're doing. Thank you for confirming what I was looking at!09:53
catphisha lot of things use SHA2, and to the best of my knowledge, it's still considered the best available option, this vulnerability is only a problem in a very specific case where part of the message being hashed is a secret09:56
=== DD3my_ is now known as DD3my
vanessadpkg-deb: error: paste subprocess was killed by signal (Broken pipe)10:34
vanessa^anybody know what that means?10:34
oerheksvanessa, we need more info?10:50
oerhekswhat is the full command used? on what ubuntu version, and such10:51
vanessathis is Ubuntu Focal. I am trying to install bat and ripgrep at the same time. `apt update && apt install --yes bat ripgrep`10:51
oerhekstry with -y ?10:53
oerheksnot sure why you run apt update without apt upgrade, but you can10:53
vanessaI cannot install bat and ripgrep at the same time.10:54
rockosockoMaybe try installing them separately? First bat and then ripgrep?10:54
vanessaif I install `bat` it goes without any problem. if I install `ripgrep` it finishes without any problem. but it throws this error when I install them together or when I install one after the other one is already installed10:55
rockosockobtw vanessa, there is a bug report on your very specific issue. https://bugs.launchpad.net/ubuntu/+source/rust-ripgrep/+bug/195683710:55
ubottuLaunchpad bug 1956837 in rust-ripgrep (Ubuntu) "conflicting files in bat and ripgrep" [Undecided, Confirmed]10:55
oerheksoh, nice find rockosocko10:56
oerheksadd yourself to that bugreport, vanessa10:56
rockosockovanessa, here's a bit of a duct-tape solution. Download the deb for one of them and extract it into a directory in your home dir, set path for it, and install the other one globally. It won't conflict that way.10:58
vanessaoerheks, let it be. I am not a Ubuntu user and I don't have a launchpad account.11:00
oerheksnot an ubuntu user, great11:00
oerheksbye!11:00
vanessaoerheks, Ubuntu is not my daily driver is what I meant.11:02
catphishoerheks: it's normal to run apt update to update the database before both installs and upgrades, so ensure you're installing the latest packages11:07
BluesKajHi all11:36
strkenv | grep LANG # LANGUAGE=en  and LANG=en_US.UTF-8 # then why `ls -l` speaks to me in a different language ?12:34
strkenv | grep LOC # no hits12:34
=== esv_ is now known as esv
transhumanistanyone ever install varnish as a cache for ubuntu desktop? I want to run it, but it doesnt seem to actually cache wget downloads that are made in the terminal13:38
leftyfbtranshumanist: are you trying to install a varnish caching server on the desktop where downloads will be cached?13:40
transhumanistyes to accelerate my cross compiling and test builds and stuff13:41
transhumanistI will eventually get a raspberry  pi rip off with more power for the task13:41
transhumanistsorry , meeting time, bb later13:42
voyelleshi all - I'm having trouble disabling middle mouse button paste on Jammy. The setting is missing from GNOME settings. I tried both the gsettings cli command to disable it and gnome-tweaks, but paste is still enabled. How can I disable it?14:28
cardcarryHi running 20.04.4 LTS server I have 16 kernels installed - autoremove does nothing. 16 seems excessive - I can remove them manually but was hoping there is another way.14:30
mjthttps://help.ubuntu.com/community/RemoveOldKernels14:31
mjtA little dated, some more recent suggestions here: https://askubuntu.com/questions/1325387/why-is-apt-get-autoremove-failing-to-remove-my-old-kernels14:32
catphishooo nvidia 515 drivers hit the PPA an hour ago, these are (mildly) interesting because the kernel code is free14:33
catphish(or so is my understanding)14:34
QuestionMarkhi, i have install texmake and the path /usr/share/textmaker its under root ownership, can i change the owner to ther actual user without a problem (i cant see the help html file)14:40
QuestionMark*textmaker14:41
catphishnormally when installing something, you would leave it owned by root, but ensure that other users have read access (and execute access) as needed14:46
QuestionMarkthanks catphish14:47
jhutchinsQuestionMark: You might also look for man pages.  They are more common than HTML files, although /usr/share/doc/<program> often has README and other text files.14:58
QuestionMarkexit15:08
cardcarrymjt - thanks for your suggestions. apparently this is over my head.15:09
cardcarrymjt I feel silly - I only have two or three kernels on my Ubuntu 20.04 lts server - the rest are configuration files i.e. marked "rc". I found a site which tells how to remove the rc files - I have quite a few old ones (more than 20). But, I don't want to mess with something that isn't broken. Here are the commands and the url of the source site: https://pastebin.com/dA6d21AQ15:40
cardcarrythe commands are to remove old configuration files15:41
mjtI'm not sure, I'd suggest backing up your system before attempting, or at least know how you can recover files from your home directory.15:42
mjtIn the event the system doesn't boot.15:42
cardcarryyeah - it runs fine. i think i will just leave it be.15:43
cardcarrythank you for your time.15:43
=== jesopo is now known as jess
=== vxwarlock is now known as vx_numberone
jhutchinsActually, the thing to have if the system doesn't boot is a rescue device (CD/DVD/USB).16:50
jhutchinsest I could find for the current rescue project was a Debian 8 live.16:51
tacomasterI have a question about snaps. I have found online that snaps are immutable but is there any protection to the rest of the machine? The reason I ask is I am trying to run a server service on ubuntu server and trying to see if it would be better to use a container or a snap for security reasons?17:31
leftyfbtacomaster: you might be better asking in #snappy , #lxc or #ubuntu-server17:32
tacomasterOk I will do that17:33
tacomasterOne last question. If I am a complete noob with apparmor where would be the best place to start on how to start writing the apparmor profiles?17:35
tacomasterI have found this https://ubuntu.com/tutorials/beginning-apparmor-profile-development#2-introduction-to-apparmor-profiles but making sure if there is a better document17:36
sarnoldtacomaster: aa-easyprof isn't the most usual way to write policy, aa-genprof might be the more common starting point; but it otherwise seems like a reasonable guide17:38
tacomaster@sarnold Thank you!17:39
tacomastersarnold, I just noticed you set banner for apparmor. You develop on the application or just support it?17:43
sarnoldtacomaster: well.. lately I do a lot less apparmor work than i would like to; I've been working on apparmor for ~23 years, though :)17:45
tacomastersarnold, since you probably have more knowledge than anyone I know on this topic, which do you prefer SEL or apparmor17:47
tacomasterI didn't know if you used apparmor because you used ubuntu or if it was because you really though it was the better product17:47
sarnoldtacomaster: selinux has more comprehensive coverage; eg I'd expect them to have better support for posix message queues, to pick an example; but I think apparmor policy is a better fit for the way most people think about their security problems17:48
sarnoldtacomaster: I joined canonical in part because ubuntu adopted apparmor ~fifteen years ago17:48
tacomasterI started using ubuntu around 2008 but nothing to deep. It wasn't until this last year that I fully made the switch and really digging into the os.17:50
voyelleshi all - I'm having trouble disabling middle mouse button paste on Jammy. The setting is missing from GNOME settings. I tried both the gsettings cli command to disable it and gnome-tweaks, but paste is still enabled. How can I disable it?18:02
sarnoldvoyelles: probably xinput(1) --set-button-map can do it18:04
tacomastersarnold, I was looking at https://stackoverflow.com/questions/63524316/does-snap-packages-run-similar-to-containers-docker-rkt-etc-or-use-different and where it 1 answer from Swiss it says that snaps come with an apparmor profile. Does this mean that every snap already has one? If so my question my be answered by using the snap instead18:14
sarnoldtacomaster: yes, the snaps do come with apparmor profiles already, but there's not a ton of space to *customize* them; eg the firefox snap probably gets read/write access to all files and directories in your home directory that aren't dotfiles18:15
tacomastersarnold, ok so they have them but they are not always the most secure?18:16
sarnoldtacomaster: snaps also come with some seccomp rules by default, which apparmor won't do -- but you can get something very similar if you write systemd service files for your application18:16
sarnoldtacomaster: yeah; they're useful and good but I prefer tighter rules on most of my software18:17
tacomastersarnold basically I am trying to setup a plex media server but with any internet facing service I want it to be locked down as much as possible18:17
voyellessarnold: thanks, ill try that!18:18
HashI was ldownloading a diablo immortal game inside windows 10 inside vbox inside ubuntu 202219:00
ubottuLaunchpad bug 2022 in iso-codes (Ubuntu) "iso-codes is not available for breezy" [Medium, Invalid] https://launchpad.net/bugs/202219:00
Hashand now it's crashed frozen19:00
leftyfbHash: define "it"19:01
xMopxi have two systems with the same kernel, modules, and version of libvirt. Both have a bridge interface for libvirt. One works fine but on the newer one the virt guests can't get a dhcp lease. I can see the request & reply on my router but it doesn't seem to reach the VM20:02
xMopxif i run the guest in a NATed config it works fine so i know it's not a problem with the guest20:03
xMopxi can't find anything different vs the working host. Routes and iptables are identical. How can I troubleshoot this?20:03
oerheksidentical hostname?20:04
xMopxthe guest's mac address and hostname are unique20:06
xMopxand i can copy the guest's xml config to the older host and it works fine20:06
xMopxi plugged in a spare usb-based nic and created a new bridge. With the guest on this second bridge nic it works fine!21:09
brkhello good people, there is something i cant figure out. In .bash_aliases I have assigned one alias for one command: alias <name>='command' . I cant figure out how to add more alias commands. Am I supposed to add another alias <name>='command' on the next line?22:01
hggdhbrk: yes22:02
brkso each line can start with alias <name>='command' .. like 30 coomands on 30 lines?22:03
sarnoldyeah22:04
hggdhyes; you set aliases with alias name='commands', and you unset them with unalias name22:04
brkmhm, great, thank you22:06
=== Apple][ is now known as Telvana
pi0ok cool23:17
MinusSevenI have a question that I have no idea what the exact answer is, if anyone wants to hear it.23:54
Bashing-om!ask | MinusSeven23:55
ubottuMinusSeven: 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 !patience23:55
AnimortisHey guys, can't get NetworkManager to activate. Doing a 'systemctl enable NetworkManager' but no symlinks are created and I'm not sure how to proceed. I think it's keeping me from running flatpaks.23:55
enigma9o7[m]I hope minusseven's question is easier, cuz yours sounds odd.23:56
Animortislol23:56
MinusSevenIf you're using FTP, and you send a file, you have to choose whether it's ASCII or Binary. But, when you transfer a file, doesn't it read and write the file the same way regardless of whether it's a text file or not? Just byte by byte, or whatever size it uses.23:56
MinusSevenmaybe not easier23:56
sarnoldMinusSeven: ascii mode will mangle line endings when sending and receiving; I don't know if it queries the remote system to find out what the default line endings are, or what23:57
enigma9o7[m]if affects newline23:57
sarnoldMinusSeven: it's best to just always use binary mode, and then use dos2unix or unix2dos or tell your tools to use the appropriate line endings when modifying the files, etcv23:58
enigma9o7[m]it does the unix 2 dos conversion if you are in ascii mode23:58
tomreynnext question will be about active vs passive. ;)23:59
sarnoldancient protocols, so much easier than complicated desktop environment things :D23:59

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