[00:00] ravage, thanks for your reply. I just ran "bluetoothctl info" (no mac address), and it showed the device as trusted (maybe because it was connected at the time?). I switched the device off and on, and the problem stopped, after all evening of it not working. I'm sure it will stop working at some point, but has "bluetoothctl info" solved this for now? [00:01] i dont think that command solves anything. but if it works thats great :) [00:39] Am I meant to have linux-generic-hwe-20.04 and 22.04? https://i.imgur.com/i6N8MXs_d.webp [00:43] Hey, I have a stupid question (as always:)). btw, hmmm tannera - it's hardly readable (the screenshot) [00:44] Anyway, I've just installed ufw on my server. In theory, if it is *not* configured to allow port 22, and I will logout, then I will never ever be able to ssh again? [00:45] yes you can lock yourself out with a firewall [00:45] i wouldnt say "never ever" but it can be painful [00:47] ravage, wow, that was just my thought a second before hitting 'enter' :) Now I first allowed and then 'ufw enable'. Do you remember if port 22 is enabled by default, just upon installation? [00:47] sudo ufw allow ssh 22 [00:48] oerheks, yeah, did just that, so if I first enabled the firewall, that would be "painful" :) [00:48] good to know :) [00:48] sudo ufw app list [00:49] ehm, existing connections are dropped then? [00:50] oerheks, well, after installing I wanted to `sudo ufw enable`, but I got 'Command may disrupt existing ssh connections. Proceed with operation (y|n)?' and then I thought - hey, what if this blocks 22? :) [00:52] i've never seen ufw disrupt an /existing/ connection. icbw [00:53] me neither, but that warning is new to me too [00:53] And this one indeed did not. Was just scaring me :) [00:54] yeah :) === Hash is now known as stoned === ootput7 is now known as ootput [02:39] It's not too hard to set up a job that will run at reboot and if not manually stopped, will revert the latest changes to a firewall. [02:40] Make your change, engage the job, reboot. If everything is cool, you log back in and stop the job. If it's not, the job reverts the changes and you can log in again. === ingsock964 is now known as ingsock96 [03:56] why is everything open but no switch boards found [04:00] proxy: is your question related to ubuntu? [04:12] i'm running off a usb and I want to reset the time zone. How do I do that. It thinkis it is 4:11 July 12 [04:14] Hey there is a search in settings. How cool. Got it done. [04:20] yes, i have accessed a door way that i dont think many others would have the necessary background to formulate the possibilities of what im speaking on, of, right now, the entire planet is saturated in these switches and only a few hats know where to acknowledge, now ubuntu is seed to sender for clarification of one port that needs to be basic native like a mirror and key blogger, then kali will take it up to the ether to switch [04:20] the possibilities from AI to QAI, these is the synthetics we are all witnessing with the cloning and doubling going on, so i just give them and anyone watching a show to watch sorry to blast the ears however clever they( the simulation/system) gets it lacks in on personality is why unique individual key nodes breaks the codeX all and every time [04:21] proxy: thats not related to ubuntu, please choose another channel for this discussion [04:22] you lost me at ubuntu is a seed === diskin is now known as Guest4123 === manfromafar7 is now known as manfromafar === codingkoopa3 is now known as codingkoopa === jimmyb2 is now known as jimmyb === RaimondR- is now known as RaimondRaj === Rhvs is now known as Rhys === caverton7 is now known as caverton === thosch666 is now known as thosch66 === B1773rm4n0 is now known as B1773rm4n === DArqueBish0p is now known as DArqueBishop === djhankb6 is now known as djhankb === kinghat5 is now known as kinghat === henco7 is now known as henco === Craighton_ is now known as Craighton === not_phunyguy is now known as phunyguy === ChunkzZ is now known as Chunkyz === Furor is now known as Colere === TheAppleNerd is now known as TheAppleFox === TheAppleFox is now known as AppleFox === AppleFox is now known as TheAppleFox === TheAppleFox is now known as TheAppleNerd === TheAppleNerd is now known as TheAppleFox === TheAppleFox is now known as Woz === Woz is now known as TheAppleFox [07:40] hi [07:41] is this a help channel? [07:41] !support | vikram yes [07:41] vikram yes: The official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org and http://askubuntu.com === TheAppleFox is now known as TheAppleNerd === TheAppleNerd is now known as TheAppleFox [07:43] TheAppleFox: stop fooling around with nick changes please [07:44] lotuspsychje: sorry, I forgot I should have parted before messing with NickServ === ootput5 is now known as ootput [08:33] I'm still having big problems with my ubuntu 20.04 system and a bluetooth headset (or just the bluetooth subsystem generally). Currently if I run systemctl status bluetooth.service, it shows numerous errors "bluetoothd[nnnnnn]: Can't accept connection: Too many open files". If I run cat /proc/sys/fs/file-max, it returns 9223372036854775807 [08:33] Does anyone have any suggestions at all? How do I see what files are open, and close them? [08:40] Hi all. Did anybody notice ssh connections being dropped and subsequently a host becoming unavailable/unresponsive after a dist-upgrade involving, among others, systemd? [08:41] I was in the middle of a d-u over ssh and suddenly I was kicked off, and couldn't ssh in again. I had to forcibly reboot the VM. Running Jammy. [08:41] It happened right after systemd was configuring. === Kholuendara90 is now known as Kholuendara9 [10:20] hi [10:20] I hv added DRI_PRIME=1 to /etc/environment file.  Is it enough to use discrete graphics card on laptop or do I need to set setprovideroffloadsink also? [10:21] My laptop have intel and amd graphics card [10:32] I was running qgis launched from gnome terminal emuator inside a tmux session. Suddenly, qgis closed, gnome-terminal-emulator closed and also tmux session is gone. I had another gnome-terminal-emulator window running and that survived. Who's responsible for the event? qgis? tmux? gnome-terminal-emulator? [10:35] Is there a way to know when a certain package was last updated, and from what to what version? === Mentos is now known as Jojo === esv__ is now known as esv [12:13] To troubleshoot an issue I've got with bluetooth, to see if it occurred in a previous kernel version, I installed 5.13.0.48. When I booted into it, the system ran very slow. I don't think the network was working. I could see windows painting. Does anyone know why? [12:13] According to the apt log, I was using this kernel in June, so why doesn't it work properly now? [12:19] Hello guys! Is there a quicker way to swap between output or input audio on ubuntu, instead of clicking sound > settings > scrolling down > changing from dropdown menu??? [12:26] gverrilla: https://extensions.gnome.org/extension/751/audio-output-switcher/ === loller_ is now known as loller === loller is now known as loller_ === Bencraft14197 is now known as Bencraft1419 [12:50] leftyfb: thanks mate will take a look at it! [13:10] hi [13:12] an henlo [13:17] Hi all === BinarySavior_ is now known as BinarySavior === halvors1 is now known as halvors === ootput9 is now known as ootput === coco_ is now known as cacty === _SteelRose_ is now known as SteelRose [14:38] I'm using Ubuntu 20.04 with Gnome 3.36.8. To troubleshoot an issue I've got with bluetooth that has started in the last few weeks out of nowhere, to see if it occurred in a previous kernel version, I installed 5.13.0.48. When I booted into it, the system ran very slow. I don't think the network was working. I could see windows painting. According to the apt log, I was using this kernel in June, so why doesn't it work [14:38] properly now? [14:51] clarkk, how did you install 5.13.0.48 ? [14:51] ioria, using aptitude [14:51] sorry, not aptitude - synnaptic [14:52] clarkk, are modules and modules-extra installed ? [14:52] for 48, i mean [14:52] ioria, no, only linux-image-5.13.0-48-generic and linux-modules-5.13.0-48-generic [14:53] clarkk, install extra [14:53] ok, thanks [14:54] ioria, if an update caused my problem with connecting a bluetooth headset, that has worked fine for about 2 years, what packages do you think could have caused it? the kernel, the nvidia drivers, bluez, or is there something else? [14:54] Like, what should I be trying to resolve my issue? [14:55] spent 2 days on this, and have not moved forward :/ [14:56] clarkk, i'd start with a livecd [14:56] ioria, ok, but could you just suggest the packages that would be involved? [14:57] in 20.04 why does wget complain about self-signed certs but curl does not? accessing a company intranet site with a wildcard cert [14:57] clarkk, i don't want to mislead you... no idea, really [14:57] ioria, could you explain the approach with the livecd? [15:02] clarkk, have you checked the logs about bluetooth ? [15:03] ioria, there are no files with the name '*blue*' in /var/log. Do you mean syslog? [15:04] clarkk, better journalctl [15:05] ioria, I notice "Starting SDP server". What's that? [15:06] clarkk, i suggest to check journalctl -r -u bluetooth [15:14] Hey there [15:16] hey here [15:17] ioria, I've noticed that the nvidia drivers are out of date. If I install them for the latest kernel, will I have to install them again after I boot to the older kernel? [15:18] I have installed microstack within a VM (nested feature enabled) with the IP of 172.16.250.10 and I can access the openstack console on this IP from outside of the VM; When I create a machine in openstack, it generate an IP in the range of 10.20.x.x for this machine. How can I access to this machine (ex: 10.20.20.5) from outside of the VM (=172.17.250.10)? I was thinking of having a router within the VM alongside the microstack, [15:18] right? === diskin is now known as Guest7839 === diskin_ is now known as diskin [15:19] moha, would you tell us where in that process Ubuntu is involved? [15:20] I looking for solution to route traffic in Ubuntu [15:21] what kind of traffic? [15:21] that would be iptables or nftables in general [15:21] if you mean more than a simmple "route" of course [15:21] I want to see the 10.20.20.10 outside of 172.17.250.10 [15:22] clarkk, that depends on how you install that older kernel. if you use the debian package it should build the nvidia driver automatically [15:23] ravage, I used synaptic [15:23] clarkk, find /lib/modules/*/updates/dkms/nvidia.ko [15:24] will show you all modules available [15:24] ravage, ok, thanks. Rebooting. brb [15:26] mrtang [15:26] moha, for openstack/microstack you probably better try in #ubuntu-server [15:27] +1 [15:51] Several times I've tried installing Ubuntu Desktop 22, and even though I setup a user during the install... gnome-initial-setup keeps coming up. Anyone know if this is a bug of some sort? [15:54] never heard of that [15:55] Yeah, it's so strange, the only way around it is to create yet another user....with a completely different name. [15:56] but you can login with that user? [15:56] the first one created i mean [15:56] afterThought: mayber you have some sort of OEM iso? [15:59] if you can login and its just the setup screen that annoys you: "sudo apt-get remove gnome-initial-setup" [15:59] but it really sounds like some custom ISO === hasan is now known as Guest2242 [16:05] sdfsdfsfsdfsdf [16:10] hi [16:11] how to find public ip from terminal? [16:11] curl checkip.amazonaws.com [16:12] there's about a dozen other endpoints you can hit as well [16:13] that specific one only supports legacy IP. but there are others as leftyfb said :) [16:14] how? [16:14] any ubuntu weblink? [16:14] sKep: how what? [16:15] sKep, sure. here is your weblink: https://p.haxxors.com/4u086zml.txt [16:15] i am using lynx ;) [16:19] sorry I am not trolling [16:19] after changing private dns [16:19] in android [16:20] only proot is working [16:20] sKep: what does this have to do with ubuntu? [16:20] i think i have to ask this question in #termux [16:20] leftyfb: thanks for your support === MrA is now known as Ders [16:49] anyone know how I broke my spotify snap? claims I was in offline mode, now "content unavailable" I uninstalled it then installed it, refresh says no updates [16:49] 1.1.84.716.gc5f8b819 [16:50] spotify support is of no help [16:56] mybalzitch: I'm guessing it's not an Ubuntu snap. [16:58] What certificate stores does wget use compared to curl? Getting self-signed cert errors on wget but not with curl [16:58] there are no ubuntu snaps really. and from the snap store the publisher of the snap is Spotify. so the only way to get support for their snap is from them [17:00] mguy, curl -v will show the CA bundle used. curl -v https://google.com [17:02] and from strace wget looks in /usr/lib/ssl/certs. you can set that path in yout wgetrc file [17:11] Curl shows * CAfile: /etc/ssl/certs/ca-certificates.crt [17:11] CApath: /etc/ssl/certs [17:11] and /usr/lib/ssl/certs is a symlink to /etc/ssl/certs [17:12] I've added our intranet wildcard and curl works but wget does not [17:12] same CA works on the other linux machines we have (not ubuntu 20) [17:17] mguy: Is the certificate self issued/ [17:17] ? [17:39] ravage, leftyfb, nope, just the standard ISO from the ubuntu site. [17:41] If Ubuntu is distributing the snaps, they have some responsibility to make sure they actually work. [17:41] ... unless they slap disclaimers all over the repo sites and the packages. [17:42] "This snap has not been tested by Ubuntu. Click here to acknowledge." [17:42] The whole point of snaps though is that the distro staff doesn't have to expend effort testing them. [17:44] there are several advantages to snaps, distro's not testing them isn't at the top of the list === pong is now known as beaver [17:45] one of the biggest advantages is for developers/vendors to create and support a single package format that is supported cross-platform (distro's) [17:46] mybalzitch: sudo snap remove --purge spotify # then reinstall it [17:56] removing gnome-initial-setup worked for anyone that needs help with this. [18:01] Is it possible on Ubuntu to switch from Google emojis to Samsung emojis? === diskin is now known as Guest7219 === diskin_ is now known as diskin [18:26] jhutchins: yes it is self issued. But that's the point of installing this into the local store [18:26] If I do openssl -CAfile mycert.pem it works just fine [18:27] But doing the copy to /usr/share/ca-certificates and running update-ca-certificates doesn't help openssl/wget, only the other apps on the system like curl or lynx === ingsock9641 is now known as ingsock964 [19:25] hello guys, I'm using 22.04 server, and I notice that when doing an upgrade, when it sees services affected by libraries updated, it asks if I want to restart them [19:25] (and which ones) [19:25] I'm using unattended-upgrades, and I was wondering if there is an option to do that automatically [19:26] Hey, i tried to install ubuntu for dual boot, booted into live mode and my mouse & ethernet are not working there [19:26] I've searched and I couldn't find any documentation about it, as it seems to be a new feature in 22.04 (I don't remember seeing it in 20.04, and I haven't used non-LTS for servers) [19:26] Mister_X: it has nothing to do with 22.04 [19:26] Mister_X: -o Dpkg::Options::="--force-confold" [19:27] oh wait, to restart services, hold on [19:27] I don't want to hold, I want it to automatically restart [19:27] basically, saying yes to restarting [19:27] Guest87: you might be missing firmwares, check journalctl [19:27] Mister_X: try NEEDRESTART_SUSPEND=1 [19:29] Mister_X I'm not really familiar with ubuntu at all and just wanted to give it a try as dual boot OS, i don't really know what i'm supposed to do, my previous attempt with xubuntu worked fine [19:29] it isn't the option I need. It seems to be NEEDRESTART_MODE "a" [19:29] Both my mouse & ethernet worked there [19:29] Mister_X: did you try it? [19:30] Guest87: open a terminal and run journalctl === fullstack is now known as mostafa [19:30] not yet, I just read about it [19:30] Mister_X: also DEBIAN_FRONTEND=noninteractive [19:30] Guest87: use page down/up to scroll, and see if missing firmware [19:31] Mister_X: also https://unix.stackexchange.com/a/146340 [19:32] leftyfb: in which config file do I put this? [19:32] you don't, you run debconf-set-selections before you install packages [19:33] I have unattended-upgrade [19:33] and I want unattended-upgrades to automatically say yes [19:33] without me being present or logged it [19:33] I'm pretty sure unattended-upgrades won't prompt for anything [19:42] is there any documentation that explains it? [19:46] Mister_X: that explains what? [19:47] that unattended upgrade automatically does restart these services [19:49] Mister_X, is needrestart installed ? [19:49] Mister_X: https://wiki.debian.org/UnattendedUpgrades is pretty comprehensive [19:49] iora, I see a file in /etc/apt/apt.conf.d that seem to say so [19:50] Mister_X, dpkg -l | grep needrestart [19:50] i think it's important to clarify which prompt you're seeing, because there are different ones. there is the debconf generated prompt which asks about services to be restarted, where you can choose which ones to restart. there is, if installed, output (i don't think a prompt there) generated by package needrestart, which will list runnng processes depending on libraries which were updated. [19:51] I manually checked for updates and installed them, which prompted me to restart services [19:52] however, I do have unattended-upgrades running, so I shouldn't have found upgrades [19:52] your description seems to suggest you're seeing the debconf first prompt + menu. and want to ensure this will be overridden in unattended upgrades [19:52] which makes me think unattended-upgrade may not restart services or skip some of them [19:53] Mister_X: you do know that unattended-upgrades doesn't upgrade all packages or even install all updates right? [19:53] could you elaborate? [19:53] Mister_X: unattended-upgrades only updates packages when the updates have security implications [19:54] that depends on the configuration, right? [19:54] not all packages will be updates and not all updates will be installed [19:54] it depends on the configuration, yes [19:55] leftyfb is referring to the default configuration [19:55] what I'm wondering, now that leftyfb mentioned "needrestart", where I can put environment variables for unattended-upgrade when it does upgrade [19:55] Mister_X, after you install that pkg, try this : https://termbin.com/ihcf , it should work [19:56] Mister_X: did you configure unattended-upgrade to upgrade all packages? If so, why? [19:57] it has worked well for me in the past [19:58] and it's a server I don't want to login to every day to apply updates [19:58] even more reason why you shouldn't just install all updates unattended [19:59] I respectfully disagree [20:00] you should probably combine this with automatic reboots, then i can see how it makes sense in some scenarios. [20:00] I do [20:01] but on other systems, because this had FDE, it wouldn't fully reboot unless I type the passphrase [20:01] alright, just wanted to make sure you're aware of this option. :) [20:01] I also have livepatch in case you're wondering [20:02] ioria: I'm not sure to understand the purpose of the last line [20:03] I actually do dist-upgrade, not an upgrade [20:03] (I'm referring to the dpkg options) [20:04] https://askubuntu.com/questions/104899/make-apt-get-or-aptitude-run-with-y-but-not-prompt-for-replacement-of-configu [20:04] ^ Mister_X [20:04] config file replacement is not important in this case [20:04] and I run unattended-upgrades [20:04] are you sure ? [20:04] it will stop [20:05] I haven't had config file updates in the manual updates I've done [20:06] so, my question is, where do I add an environment variable for 'needrestart' in unattended-upgrades config files === ootput5 is now known as ootput [20:10] you want to export those environment variables in the shell which the unattended-upgrade process starts in. [20:13] so I need to modify the cronjob? [20:22] if it's a cronjob and you want to change the environment that its processes run from, yes === popey8 is now known as popey === DArqueBish0p is now known as DArqueBishop === halvors1 is now known as halvors === jimmyb8 is now known as jimmyb === Mibixy is now known as Mibix === Tabstar is now known as Tabmow === Bebef8 is now known as Bebef === NightMonkey_ is now known as NightMonkey [21:36] i [21:36] hi [21:37] hi [21:37] bye [21:39] hello [21:39] hi [21:41] im having a silly issue. feels like this should be easy but i cant figure it out. im trying to use `dconf watch` and run a bash script everytime a value changes [21:41] but i cant seem to write a bash script to execute something everytime a value changes [21:42] can you write a bash script that runs "'date' >> path/to/log" everytime a value changes? [21:42] well [21:42] "'date' >> /path/to/log" let's say [21:42] heres an example: https://pastebin.com/raw/0rAaBBKe [21:44] mmm, I wonder if you'd want dconf watch /whatever | grep foo | while IFS='' read -r line; do echo "$line"; done [21:48] matsaman: hmmm that doesnt seem to work :/ [21:49] im not sure what im missing [21:50] once dconf watch begins, nothing seems to come out of it in the context of a bash script [21:50] if you just do the 'dconf watch path' part, stuff comes out? [21:50] sorry I don't have dconf handy myself or I'd just figure it out for you =P [21:50] matsaman: yep thats right [21:51] groovetherapy: okay, and does 'dconf watch path | grep whatevs' work? [21:51] matsaman: yep [21:51] oh huh, i thought dconf was standard on ubuntu [21:51] mmm, weird [21:51] I'm not on Ubuntu, or any GNU/Linux, I'm on some horrible work install right now [21:51] ohhh i see [21:52] well there's probably a better way, and you might start with the --help/-h or man page for dconf/dconf watch, but [21:52] probably you could wrap it in a 'timeout' and that would just make it fsckin' work [21:55] hmmm the docs for it are pretty sparse [21:55] it is almost as if watch prints to the screen instead of stdout.... === halvors1 is now known as halvors [21:56] groovetherapy: Change it to `dconf watch path |& grep whatevs`. [21:56] groovetherapy: It's printing to STDERR rather than STDOUT almost certainly, and the `|&` will make everything go through the pipe rather than just STDOUT. [21:56] (This is a Bash-specific trick, there's a different trick if you're using a different shell, but I don't remember it...) [22:02] the other would be: dconf watch path 2>&1 | grep whatevs === keypushe- is now known as keypusher [22:51] I would really love some help with an issue I'm having with apt [22:51] I am trying to sudo apt install python3.8-venv and I get "Failed to fetch" error [22:54] master_latch, on what ubuntu version? [22:55] current 22.04 LTS gives 3.10 [22:55] 20.04 [22:55] did you try an apt update first? [22:56] I did [22:56] can you give is the full output of that and your install command on a pastebin? [22:57] !info python3.8-venv focal [22:57] python3.8-venv (3.8.10-0ubuntu1~20.04.4, focal): Interactive high-level object-oriented language (pyvenv binary, version 3.8). In component universe, is optional. Built by python3.8. Size 6 kB / 27 kB [22:58] cat /etc/apt/sources.list|nc termbin.com 9999 [22:58] may also be helpful [22:59] https://pastebin.com/DV5xNGK4 [22:59] that one is the output from sudo apt-get update [23:00] https://pastebin.com/vTgcxKG0 [23:00] and that's sources.lst [23:00] riscv64 [23:01] yeah, I installed the riscv toolchain a while back and I guess that package(s) is having an issue, but is that relevant? [23:01] I think I did it following these instructions: https://wiki.debian.org/RISC-V#Cross_compilation [23:01] well, those are the only updates you get, now. === cores_ is now known as cores [23:02] Oh [23:02] is there a way to fix that? [23:03] well, There is /usr/share/doc/apt/examples/sources.list which is in all the proper format. [23:03] only universe is not enabled default [23:04] but that would leave you with some riscv64 cruft [23:05] apt remove architecture if you no longer planning to use it [23:06] okay, yeah, I don't really need it [23:06] sudo dpkg --force-architecture --remove-architecture riscv64 [23:07] ohhh... is it trying to install packages for that architecture?? [23:08] yes, solely [23:08] Jesus, I just wanted a cross compiler, I didn't want to change which architecture all my packages are for! [23:08] i have never seen this messed up config. but it can be reversed, i hope [23:08] apt remove architecture if you no longer planning to use it [23:09] okay, I just did that and ran update and it seems much better [23:09] and my install command works now :) [23:09] thank you SO MUCH [23:10] I was trying to figure this out from googling and reading SO and forums and none of it was addressing my problem [23:10] since I obviously did something very weird lol [23:11] I guess back when I installed this toolchain, it was this command that maybe messed things up for me: sudo dpkg --add-architecture riscv64 [23:12] have fun! [23:15] how can I show the boot failure that required spawning a root shell instead of booting? is that logged anywhere other than the console? [23:16] tried journalctl? [23:17] yeah, it shows sylog messages but it doesn't look like the "reason" is printed to syslog [23:17] alternately, is there a way to ignore the failure and try to boot normally? [23:39] found a problem that was problematic enough in syslog to probably cause it