[00:31] <brkroot> I have a large configuration file, that I wish to create a bash script for it and run it on each new OS install i do. Can someone please just have a quick look and let me know whether I should spent weeks into figuring it out, or should I not waste my time! I can do a paste bin and share it in prv msg ...anyone please?
[00:32] <murmel> pastebin as always
[00:32] <ednash> yeah
[00:32] <brkroot> cool
[00:32] <brkroot> how can i nc it from the terminal?
[00:32] <brkroot> actually
[00:32] <ednash> or you can do cat script.sh | curl -F 'f:1=<-' ix.io
[00:32] <arraybolt3> brkroot: Perhaps a better question is why you don't have it already.
[00:36] <sarnold> another choice is nc termbin.com 9999 < ./whatever
[00:37] <brkroot> arraybolt3, because I have zero knowledge on writing bash scripts. But if my config file is doable, I don't mind spending time trying it. I just need someone to let me know if it is actually doable.
[00:38] <brkroot> and obviously I will be removing the majority of it.
[00:38] <arraybolt3> brkroot: No I meant why you don't have `nc` already installed.
[00:39] <arraybolt3> brkroot: You can install it with "sudo apt install netcat-openbsd", but the fact that you don't have it by default is somewhat disturbing.
[00:40] <brkroot> done, Ive sent it to three of you
[00:40] <murmel> would help more if you put it here brkroot https://pastebin.com/raw/FRkVZXPJ
[00:40] <brkroot> ok
[00:41] <brkroot> arraybolt3, I will install it, thanks
[00:43] <murmel> hm, apt-transport-https is not needed anymore, removing snapd removes all snaps, so no need to remove them beforehand.
[00:43] <brkroot> just the configuration settings, explanations and additional info i dont need it in a script obviuosly
[00:43] <brkroot> murmel, mhm, ok
[00:44] <murmel> brkroot: server or desktop? I assume server? if yes, why macchanger as networkd can set macs
[00:44] <murmel> ahh desktop, then networkmanager can set it ;)
[00:44] <sarnold> there's a lot of different types of configs in here; some of it is stuff that'd make sense to run as root on first boot; some make sense to be in a 'dotfiles' git repository that gets cloned to your home directory on every new machine..
[00:45] <brkroot> murmel, yeah desktop, but some of the settings that are for servers I guess are still useful for desktops
[00:45] <sarnold> there's a bunch of different ways to do this; cloud-init is popular if you're deploying VMs on a cloud -- you supply a userdata blob of json and it installs packages for you, configures users, adds files, whatever you need
[00:45] <murmel> i also don't get why configuring apport and then purging the config oO
[00:45] <sarnold> but it's probably less useful if you don't have a cloud thing going already
[00:46] <brkroot> sarnold, im not deployng on cloud. just VMs on harddisk
[00:46] <brkroot> murmel, its just an option, when I write out the script I will choosing to purge or just configure
[00:47] <murmel> ahh kk
[00:48] <brkroot> same apply for all the rest options (like what services do disable etc) I will be writing a few
[00:48] <sarnold> brkroot: maybe ansible would be a better fit for that case? I've never done ansible from scratch, but the existing systems where I've stepped into helping to maintain a thing worked okay
[00:49] <murmel> yeah as it's all thrown into one huge paste, there is no definite way to say if something is wrong or right.
[00:49] <brkroot> sarnold, ansible would take me ages to learn
[00:49] <murmel> sarnold: really depends on how many machines we are talking about here, as for a couple I wouldn't make the effort
[00:50] <brkroot> murmel, its all right, I am just curious is it doable in a script
[00:50] <brkroot> murmel, 6 machines
[00:50] <murmel> definitely, as there is nothing special like user input or so, it's very straight forward
[00:51] <brkroot> what about the app installs and its configurations with the text editors?
[00:52] <murmel> brkroot: as before, with echo, or you can go sed (which is find and replace)
[00:52] <brkroot> like is it possible to put in a script rkhunter to be installed and then configured (as i am currently configure it manually)
[00:52] <brkroot> mhm ok
[00:53] <brkroot> ok guys, as long as you are saying its possible ..I am on it. Thank you
[00:53] <murmel> brkroot: honestly with how many hours you put into already, it really sounds like you want to learn ansible
[00:54] <murmel> learning the basics is like n hour or 2
[00:54] <sarnold> murmel: yeah, I've wondered how many machines it'd take to make it useful. with *this* many config items to choose from, I think I'd really like it for the time that six turns to seven :)
[00:55] <sarnold> murmel: I've gone without at home (which made *some* sense, since I've got a variety of ubuntu versions on a variety of hardware platforms) and I'm often frustrated that I'm re-fixing things from time to time
[00:56] <murmel> I quite like ansible, as it's very readable (damn yaml) and because it's modular, you can select certain modules for certain servers, but yes, most of the time it's quite overkill
[00:56] <brkroot> ok, you might be actually right. If it make more sense to automate all this with ansible I will give it a try. murmel
[00:58] <murmel> brkroot: if you do, you can get some basic configs from geerlingguy (look on ansible galaxy)
[00:58] <brkroot> I don't have experience in both scripting and ansible, so if ansible is more suitable for my case .. thats it
[00:59] <murmel> brkroot: I mean best case you would learn both ;)
[01:00] <murmel>  /quit
[01:00] <brkroot> cool! tnx
[01:09] <brkroot> arraybolt3, don't have netcat because this is a fresh install, see that;s why I need a script to install all I need in one go :)
[01:09] <tomreyn> brkroot: the netcat command is "nc", is it not available, yet?
[01:10] <brkroot> no I don't have it
[01:13] <murmel> brkroot: nc is installed by default, so your install seems to be borked
[01:14] <murmel> at least on ubuntu proper
[01:17] <brkroot> I might have done something to remove it while trying some stuff from whatever weird online websites
[01:17] <brkroot> although its a fairly fresh install
[01:18] <arraybolt3> tomreyn: FWIW VMGuy23 wasn't trying to cause problems. Me and him were both in #linux and forgot that our nick changing would affect other channels. Sorry about that.
[01:18] <arraybolt3> (We've both stopped.)
[01:26] <brkroot> I hope this guy is going to get me into the basics ... https://www.youtube.com/watch?v=-Q4T9wLsvOQ&list=PLT98CRl2KxKEUHie1m24-wkyHpEsa4Y70&index=2
[01:27] <murmel> brkroot: https://invidio.xamh.de/playlist?list=PL2_OBreMn7FqZkvMYt6ATmgC0KAGGJNAN
[01:27] <tomreyn> arraybolt3: see my PM (please move to #ubuntu-ops for any questions regarding channel management), thanks.
[01:28] <brkroot> oh so this guy gerrlings has a tutorials as well, ok thak you!
[01:28] <murmel> brkroot: yes, and it's way better
[01:33] <brkroot> yep ... me like it a lot! you are awesome. Thanks
[02:21] <brkroot> how to passthrough an encrypted usb to a VM?
[02:21] <murmel> brkroot: just like a normal usb
[02:22] <brkroot> not really murmel. Because I the VM doesnt load.
[02:22] <murmel> brkroot: virt-manager?
[02:23] <brkroot> virtualbox
[02:23] <murmel> hm, no idea then sorry.
[02:23] <sarnold> https://bugs.launchpad.net/ubuntu/+source/usbredir/+bug/1126513
[02:23] -ubottu:#ubuntu- Launchpad bug 1126513 in usbredir (Ubuntu) "[MIR] usbredir-0.6-1" [Undecided, Fix Released]
[02:23] <sarnold> this might have something useful to follow
[02:23] <brkroot> it make sense actually to be a problem for other virtual managers too.
[02:24] <brkroot> sarnold, tnx
[02:24] <murmel> why? I mean you pass the whole device through, it shouldn't matter if it's encrypted or not
[02:26] <brkroot> murmel, perhaps because before the load, the encrypted usb needs authorisation passphrase, since the VM is automatically loading it on start up
[02:26] <brkroot> i dont know
[02:26] <murmel> not really
[02:28] <tomreyn> brkroot: how is it encrypted?
[02:28] <brkroot> tomreyn, I don't know, how do I check that?
[02:29] <tomreyn> brkroot: the device specifications if it's hardware/firmware based encryption (such as OPAL), or tell us which utilities you used when you did software encryption
[02:31] <brkroot> most probably I have format it and encrypted it with disks
[02:32] <murmel> so luks
[02:32] <tomreyn> brkroot: then passing it through to a VM which runs an operating system which supports LUKS encryption should be fine.
[02:32] <brkroot> ah that what you asking
[02:32] <brkroot> yes
[02:33] <brkroot> ok
[02:35] <brkroot> does this mean that the os on the vm had to be installed with luks encryption?
[02:36] <murmel> no, but it should have the necessary packages
[02:37] <brkroot> that i can install without encrypting the os?
[02:38] <murmel> yes
[02:38] <murmel> but normally every install should have them by default
[02:40] <tomreyn> brkroot: as a reminder, this channel is for ubuntu support. if you have questions on other linux distributions, there maybe be specific channels for those, or #linux
[02:41] <brkroot> tomreyn, ok I am sorry will ask elsewhere. So this is not a ubuntu question, but just general linux question?
[02:42] <murmel> depends on which OS we are talking about?
[02:42] <brkroot> ubuntu
[02:42] <brkroot> host and guest
[02:42] <tomreyn> oh, then you're in the right spot :)
[02:42] <brkroot> :)))
[02:45] <murmel> brkroot: as I said before, redirection should work with no care about encryption. did you verify that vb doesn't have a bug?
[02:45] <brkroot> anyways, i will have to leave that problem for another time, because google is giving me only topics on "how to encrypt" and can't find anything about needed packages etc/
[02:45] <brkroot> murmel, it doesnt h ave a bug, because all my other usb are passing through ok
[02:46] <murmel> brkroot: I mean I pass an encrypted usb stick all the time through (using virt-manager) so can't say anything about vb
[02:46] <brkroot> even the encrypted usb is the same make and model as another one unencrypted (just different size)
[02:47] <murmel> so try to explain again what the guest sees or not
[02:47] <brkroot> maybe journalctl -b | grep "soemthing" will give us a clue?
[02:48] <brkroot> well guest sees any USB drive that I add to see. But only one encrypted USB - the guest os doesnt even load.
[02:48] <murmel> load as in?
[02:48] <murmel> boot?
[02:48] <brkroot> *doesn't boot
[02:50] <murmel> brkroot: what happens if you pass through after booting?
[02:50] <brkroot> in virtual box in order to access usb that is mounted on the host, I have to add it as a USB Device Filter.
[02:51] <brkroot> murmel let me see
[02:51] <brkroot> but its not going to read it.
[02:51] <murmel> see if lsusb spits something out
[02:52] <brkroot> it doesn't
[02:53] <brkroot> but also didn't find the other usb that is not encrypted.
[02:54] <murmel> still sounds to me that there is a bug
[02:54] <murmel> which version of vb are you using? the one from ubuntu or vb.org?
[02:54] <brkroot> the latest
[02:54] <brkroot> 6.1
[02:54] <murmel> kk so upstream
[02:54] <brkroot> 6.1.38
[02:56] <brkroot> with VB there is no way for a guest to read USB drives if before starting the OS give it passthrough , as adding it as a filter
[02:57] <murmel> how come?
[02:57] <brkroot> thats how all usb devices are accessible from the guest, but if I add only this encrypted usb ... then the guest os doesnt even boot
[02:57] <brkroot> let me show you, one moment
[02:58] <murmel> hm, is there maybe a partition on it with a boot flag?
[02:59] <brkroot> https://ibb.co/188XWMy
[03:00] <brkroot> one partition is lucks and the other is ext4
[03:00] <murmel> no
[03:00] <brkroot> but there is no flags
[03:01] <murmel> one partition is a luks container which has a ext4 fs, but ext4 has no partition
[03:01] <murmel> do you know if it's mbr or gpt formated?
[03:02] <brkroot> gpt
[03:02] <brkroot> i never format in mbr
[03:04] <tomreyn> how did yo install ubuntu on this usb stick? does your main computer boot off it?
[03:04] <brkroot> yes I checked is gpt
[03:05] <brkroot> tomreyn, oh no, you didnt get me. Ubuntu is not installed on the usb.
[03:05] <tomreyn> so how do you boot the guest?
[03:05] <brkroot> its just a usb with two partitions, one is encrypted. I cant access it from a vm guest
[03:06] <brkroot> VM
[03:06] <tomreyn> so the guest does actually boot, didn't you say it doesn't boot?
[03:06] <brkroot> it does boot with any usb  unencrypted usb, but not with one that is encrypted
[03:07] <tomreyn> well if the usb storage you pass through is not bootable then it certainly won't boot off it
[03:08] <goppo> anyone know if systemd daemon setup on ubuntu is similar to that on centos?
[03:08] <brkroot> I can use the encrypted usb fine on the host
[03:08] <goppo> same, rather?
[03:08] <murmel> goppo: and what do you try to figure out?
[03:09] <brkroot> tomreyn, mabe thats a question for vbox channel.
[03:09] <brkroot> *maybe
[03:09] <tomreyn> brkroot: maybe, yes
[03:09] <tomreyn> goppo: it's probably a different version and may use different modules, but originally the same source, most likely with different patches applied
[03:10] <brkroot> let me try with boxes if it works
[03:10] <goppo> are these the recommended paths for the daemon files though? https://dpaste.org/MmzX0
[03:11] <goppo> putting the daemon in /local/bin seems a bit strange
[03:13] <goppo> does centos use /local/bin rather than /usr/local/bin ?
[03:14] <murmel> goppo: it's definitely /usr/local/bin for both distros
[03:14] <murmel> but the service file imo is def. wrong
[03:14] <goppo> i got the instructions here https://github.com/thc2cat/go-policyd
[03:15] <goppo>  /local/etc seems like an unconventional path
[03:15] <murmel> goppo: that's more of a centos question, but that screams it's wrong. especially since selinux should throw errors on centos
[03:18] <brkroot> tomreyn, a quest from Boxes reads the encrypted usb seamlessly. Its VB issue. thanks
[03:18] <murmel> brkroot: told you ;)
[03:19] <brkroot> :))
[03:20] <goppo> and i think ubuntu has services under /etc/systemd/system
[03:21] <murmel> goppo: it's one of the default paths
[03:22] <goppo> murmel is it a good idea to put user services under that path?
[03:22] <murmel> goppo: yes, this is where you put your own service units
[03:23] <murmel>  /etc/systemd/system is for local configuration, /run/systemd/system runtime config, /usr/lib/systemd/system is from installed packages
[03:24] <goppo> thanks
[05:17] <morgan-laptop> my computer boots to black, 22.04. anyone interested in exploring why? I tried all of the options, even recovery fails. I have a flash drive installation media I have backed up the /home.   After this exploration I intend to reformat and reinstall so I have no worries.
[05:17] <morgan-laptop> I am on a different computer, pretty obviously.
[05:18] <murmel> morgan-laptop: did you upgrade right now? nvidia?
[05:21] <tomreyn> !bootlog | morgan-laptop
[05:21] <morgan-laptop> I cannot get to the recovery menu to do that
[05:22] <alkisg> That's the grub menu, not the recovery menu
[05:22] <alkisg> What happens when you select the recovery option from grub? Can you upload a photo of the last messages you see?
[05:22] <morgan-laptop> If I choose recovery it tried and I see the menu for an instant than it gets overwritten by text that says things including  failed
[05:23] <alkisg> A photo of these things would help
[05:23] <morgan-laptop> OK I will take a photo.
[05:24] <tomreyn> also, you could boot from a live/installer system, mount the installed ubuntu's file system which contains /var/log/journal and use journalctl -D /path/to/where/you/mounted/that/var/log/journal
[05:24] <alkisg> Video is fine too if it's easier for you (it helps when the correct moment for a photo is under a second)
[05:33] <morgan-laptop> working to get it from the tablet to this computer. (discord does not work on this laptop)
[05:35] <alkisg> Discord? Aren't you on IRC?
[05:38] <morgan-laptop> I want to send the image from an android device to this laptop. That isnt trivial
[05:39] <morgan-laptop> obviously THIS is IRC   SMH
[05:39] <morgan-laptop> now I have to find a place to put it on the web. android devides will not "copy" a picture and pastebin wotrks on a paste. gee why must I explain this.
[05:40] <morgan-laptop> oh right chromium wont do messenger.
[05:40] <morgan-laptop> you must have apple devices. oh well I dont.
[05:44] <alkisg> I'm using element/matrix to connect to IRC, it supports getting a photo from the phone and uploading it to a server and pasting the link to IRC
[05:45] <alkisg> (I mean, all with one button, not manual)
[05:45] <alkisg> !photo
[05:46] <holo> nigger
[05:47] <morgan-laptop> the screenshot utility has changed and it SAYS the image went to the clipboard but nope. The 20.04 version was fine.  tomreyn  --- askisg I will see about thatirc client. I sent it here with messenger but I dont think anyone can see a messenger link, can you?   This process of moving things from one device to another is awful.
[05:48] <samy1028> yeah, he was just kicked from #linux for the same thing.
[05:48] <alkisg> morgan-laptop: no, I haven't seen a link. I think !screenshot suggests imgur, let's see:
[05:48] <alkisg> !screenshot
[05:50] <morgan-laptop> alkisg TO be clear. Your irc client is called element matrix
[05:51] <alkisg> morgan-laptop: no. Matrix is a different protocol, like discord. It has a client called Element. Then using a bridge it supports connecting to IRC channels as well as Matrix channels.
[05:51] <morgan-laptop> imgur isnt so easy any more. they changed things. but maybe I can do that from the laptop instead of the tablet.
[05:52] <alkisg> Some people (like me) are using it as it brings some modern-era features in IRC, e.g. email notifications, popus on the phone, following the conversations from multiple devices etc
[05:52] <morgan-laptop> the tablet wanted me to install an app etc, starting another process.
[05:52] <murmel> that or use imgbb.com
[05:54] <morgan-laptop> ok --- this laptop is horrible since 22.04. I think I need to back it up and redo it all too.
[05:57] <morgan-laptop> another thing is the camera in the laptop is not working -- since 22.04? dunno
[05:59] <morgan-laptop> is there a set of keystrokes for PRTSCN  I dont see it on the keyboard
[05:59] <morgan-laptop> I cannot decode the cute symbols on the fn keys
[06:01] <alkisg> Upload a photo of the keys so that we tell you which one is the print screen (:P - that's joking of course)
[06:03] <morgan-laptop> ok I am tired, I didnt think of save image as....
[06:09] <morgan-laptop> Whhttps://ibb.co/MSFgr5xeeee.
[06:09] <morgan-laptop> wheee
[06:09] <morgan-laptop> https://ibb.co/MSFgr5x
[06:10] <morgan-laptop> it is cut off but so?  Now I m going to try the movie
[06:14]  * alkisg uploaded an image: (11KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/tqoEiKxchmnlarvJqmJyaypT/VirtualBox_jammy-mate_07_10_2022_09_13_44.png >
[06:14] <alkisg> morgan-laptop: in the grub menu, press e to edit its options, navigate to the "linux" line, and at its end, add: systemd.mask=apport
[06:14] <alkisg> (see screenshot above). Then press f10 to continue booting
[06:16] <morgan-laptop> all the grub menu shows me is / ubuntu version kernel number/ same folloed by )recovery mode) and then another pair for an earlier kernel   ------- you alkisg are talking about the recovery menu
[06:16] <alkisg> morgan-laptop: the recovery menu is blue, the grub menu is black
[06:16] <morgan-laptop> sorry the results of certain chices in the recovery meny
[06:17] <alkisg> At the "ubuntu kernel version number" press e and you'll see something similar to my screenshot above
[06:17] <alkisg> The grub menu says GNU GRUB at the top
[06:18]  * alkisg uploaded an image: (6KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/CpGzkjPUoePvnnmOCKHmMQEL/VirtualBox_jammy-mate_07_10_2022_09_17_57.png >
[06:18] <alkisg> At that ^ point press e
[06:18] <morgan-laptop> can imgbb handle a 4 second video file
[06:20] <morgan-laptop> I get something. lots of vlocks all starting with menuentry
[06:20] <morgan-laptop> blocks
[06:21] <morgan-laptop> I PRESSED control-C and got a grub prompt
[06:22] <morgan-laptop> TAB listed allowed commands.
[06:25] <morgan-laptop> ok I pressed e for the first one (had done it on the recovery and got the menublock stuff) NOW I have  alist of commans
[06:26] <morgan-laptop> alkisg
[06:26] <alkisg> morgan-laptop: if you didn't understand some part of my instructions, please tell me which part you didn't understand
[06:29] <morgan-laptop> ok I have appended systemd.mask=apport    ((may I remive the quiet and splash ?))  --- more
[06:30] <morgan-laptop> at the bottom it says !X or f10 to book, ctrl-n ir f2 fir a cinnabd kuje ir esc ti duscard eduts,,,
[06:31] <morgan-laptop> oops... f=or F2 for a command-line
[06:32] <morgan-laptop> alkisg there you have it. .. now it waits for the command
[06:33] <alkisg> morgan-laptop: at which point did I mention F2? I said F10, not F2...
[06:33] <alkisg> I say "e" you press "ctrl+c", I say "F10" you press "F2", these variations make things hard :)
[06:34] <morgan-laptop> I was typing what it says on the screen. I put the ...apport text on and have done nothin else.
[06:34] <alkisg> Copying my instructions once more:
[06:34] <alkisg> morgan-laptop: in the grub menu, press e to edit its options, navigate to the "linux" line, and at its end, add: systemd.mask=apport
[06:34] <alkisg> (see screenshot above). Then press f10 to continue booting
[06:34] <morgan-laptop> so lets say I know nothing from here.. OK so I now press f10
[06:36] <morgan-laptop> it is booting. all that stuff was me trying to tell you what I didnt understand. Clumsy I am sure.
[06:37] <morgan-laptop> I sit with bated breath, will it go black or will somehing different happen?? --- it went black.
[06:37] <morgan-laptop> there is a blinking line in the wpper left.
[06:38] <morgan-laptop> striking a letter key apparently does nothing.
[06:39] <alkisg> In the screenshot you pasted, the last line was a message about the apport service entering the failed state.
[06:39] <alkisg> By masking it (if done correctly), we avoid that issue; but it's quite possible that it's not the primary issue but just a side effect.
[06:39] <alkisg> Personally I don't have more time currently though, please wait for someone else to help you more.
[06:40] <morgan-laptop> sure. I appreciate your time. This was just to figure out how the zoom installer, under my inept direction, munched the system.  Another weird situation. Thanks alkisg
[06:42] <morgan-laptop> tomreyn if you are around Would this quest interest you?  If this is not an interestign situation then I will reformat sooner rather than later.
[07:12] <morgan-laptop> nn
[08:55] <JoeLlama> thought I would share: https://youtu.be/tDacjrSCeq4
[08:56] <JoeLlama> now I understand why racks for servers are so tight
[08:58] <amcsi> hey
[08:59] <JoeLlama> heye amcsi https://youtu.be/tDacjrSCeq4
[08:59] <JoeLlama> I'm sharing computer weirdness
[08:59] <amcsi> did I only imagine this, or do I remember correctly that there's a thing where all browsers support you installing a custom "pem" certificate (containing a private key too) that allows you to authenticate with it? so just by having that certificate installed, certain websites would know what user you are
[09:00] <amcsi> I think I remember startssl.com making me authenticate myself that way ages ago before LetsEncrypt was a thing
[09:25] <manwhowouldbekin> Hi all! I have been using a VPN called Lantern for a few weeks on Ubuntu 22.04. After the most recent updates, it has begun giving me trouble in the form of the following error "Failed to set Lantern as system proxy". What could be the cause of this and how can I troubleshoot?
[09:41] <ikonia> manwhowouldbekin: sounds like it has some sort of script that tries to set your proxy config to be the vpn node, need to troubleshoot why that's not wokring
[09:55] <manwhowouldbekin> ikonia, Are there any logs for that?
[09:56] <ikonia> don't know your app
[10:49] <ubuntu-budgie> hi everyone.. i need help, i need to create a "bios partition" i need to recover grub and i got a lot of problems to boot, now i got this error
[10:49] <ubuntu-budgie>  grub-install --boot-directory=/boot/ --recheck /dev/nvme0n1
[10:49] <ubuntu-budgie> Instalando para plataforma i386-pc.
[10:49] <ubuntu-budgie> grub-install: aviso: esta etiqueta de partición GPT no contiene ninguna Partición de Arranque BIOS; el embebido no será posible.
[10:49] <ubuntu-budgie> grub-install: aviso: El embebido no es posible.  GRUB podrá ser instalado con esta configuración únicamente usando listas de bloques.  No obstante, las listas de bloques son INSEGURAS y su uso está desaconsejado..
[10:49] <ubuntu-budgie> grub-install: error: no se procederá con las listas de bloques.
[10:50] <ubuntu-budgie> can anyone help me please ? =)
[10:52] <SteelRose> ubuntu-budgie: it seems like your disk is missing some boot partition
[10:54] <ogra> SteelRose, the line right before you joined asked for exactly that 🙂 ("how do i create a bios partition" 🙂 )
[10:55] <ubuntu-budgie> yep i mean, my disk is ssd is working but in desesperation becouse anything work to repair boot i delete the partition of bios efi but i dont work with efi so.. i dont know
[10:55] <SteelRose> ogra: ah OK . was that question answered?
[10:55] <ogra> nope
[10:55] <ogra> was the only line you missed
[10:55] <SteelRose> ubuntu-budgie: use parted and set the partition label to whatever you need
[10:55] <SteelRose> ogra: thanks
[10:56] <ubuntu-budgie> SteelRose: thanks i going to try it
[10:56] <SteelRose> ubuntu-budgie: google how to do it if you don't know
[10:56] <ubuntu-budgie> thnx
[10:57] <SteelRose> ubuntu-budgie: also check if you have a bootable partition already
[11:41] <hyper_dave> Hello everyone!
[11:42] <hyper_dave> Trying to rescue an ubuntu machine which has kernel panic.
[11:52] <esv> can you stop the machine at the grub prompt and kick a different kernel?
[11:52] <hyper_dave> I am having issues with chroot. I keep on getting /bin/bash not a file or a directory.
[11:52] <hyper_dave> esv: Yes. Didn't work
[11:53] <esv> are you booting of a usb stick?
[11:53] <hyper_dave> The root is in lvm just fyi
[11:53] <hyper_dave> esv: yes
[11:54] <esv> can you create a pastebin of lsblk -f ?
[11:57] <hyper_dave> Give me a sec. The PC I'm using IRC on is not on the same network as the server
[11:58] <hyper_dave> esv: Will Imgur work?
[11:58] <esv> sure
[12:01] <hyper_dave> esv: https://imgur.com/a/n9PIFM4
[12:02] <hyper_dave> Ignore the symbols at the beginings of the lines.
[12:04] <esv> and do you get the /bin/bash not found when run: chroot /mnt ?
[12:05] <hyper_dave> esv: Yes /bin/bash not a directory
[12:05] <esv> and does /mnt/bin/bash exist?
[12:05] <hyper_dave> yes
[12:06] <esv> and does it have rx access to the owner, group and others? or at least execute ?
[12:07] <esv> mine has rwxr-xr-x
[12:08] <hyper_dave> Same
[12:09] <hyper_dave> esv: Never faced this problem before
[12:10] <EriC^^> what's "ls -l /mnt/bin/bash" give?
[12:10] <esv> you didn't mount /mnt with noexec, right?
[12:11] <hyper_dave> -rwxr-xr-x 1 root root ...
[12:11] <EriC^^> hyper_dave: it seems weird abit there are other /mnt/... relating to the live usb and squash, try to mount the rootfs and /boot in /cdrom
[12:11] <hyper_dave> Yes I didn't mount it with noexec
[12:12] <EriC^^> run 'sudo mount /dev/....-root /cdrom'
[12:12] <EriC^^> then type 'sudo chroot /cdrom' after that 'mount /boot' inside the chroot
[12:12] <hyper_dave> Okay let me try.
[12:12] <EriC^^> actually, before sudo chroot run this command
[12:13] <hyper_dave> I mounted /sys, /run and /dev btw
[12:13] <EriC^^> 'for i in /dev /proc /sys; do sudo mount -R $i /cdrom$i; done'
[12:13] <hyper_dave> could those be what is in lsblk?
[12:13] <hyper_dave> and proc
[12:13] <hyper_dave> Should I leave /ru?n
[12:14] <hyper_dave> */run
[12:14] <EriC^^> leave it out for now
[12:15] <hyper_dave> Getting target is busy when unmounting. Trying to reboot.
[12:16] <hyper_dave> It takes about 3 minutes to reboot.
[12:16] <EriC^^> ok
[12:20] <esv> I used to use --bind, -R is shorter
[12:20] <hyper_dave> Should I use -t sysfs for /sys and --rbind for /dev and /proc?
[12:20] <EriC^^> not just shorter, it's also recursive, so you dont need to bind /dev/pts
[12:20] <EriC^^> esv: ^
[12:20] <hyper_dave> Oklay
[12:20] <hyper_dave> *Okay
[12:21] <EriC^^> and potentially /dev/shm
[12:21] <EriC^^> hyper_dave: nah, no need
[12:23] <hyper_dave> I mounted them before mounting root. Arghh
[12:23] <EriC^^> you can't there's no empty dirs for them to mount
[12:24] <hyper_dave> They are scattered everywhere in /cdrom
[12:24] <EriC^^> or shouldnt be anyways
[12:24] <hyper_dave> And I can't unmount them with umount -R /cdrom
[12:25] <EriC^^> what's the output of "df /cdrom" under mountpoint?
[12:25] <hyper_dave> rebooted again
[12:26] <hyper_dave> Damn I hate to reboot this thing. It takes forever
[12:28] <hyper_dave> Okay going for it again.
[12:28] <EriC^^> ok
[12:32] <hyper_dave> Okay I am getting the same thing
[12:33] <hyper_dave> "/bin/bash" not a directory
[12:34] <EriC^^> hyper_dave: try 'sudo chroot /cdrom /bin/sh'
[12:35] <hyper_dave> Same thing
[12:35] <EriC^^> could you paste the exact error, maybe it can show any insight
[12:35] <hyper_dave> And why is it not saying "not a file or a directory" but "not a directory"?
[12:35] <EriC^^> exactly my thought
[12:36] <EriC^^> odd
[12:37] <hyper_dave> chroot: failed to run command <ascii square block>/bin/sh<ascii square block>: not a directory
[12:41] <EriC^^> hyper_dave: maybe try to unmount a little and run fsck on the root fs
[12:42] <EriC^^> found a guy online who had a similar error, he ended up fsck'ing not sure if its relevant but it might help
[12:42] <EriC^^> https://www.debian-fr.org/t/resolu-grub-error-unknown-filesystem/60408/13
[12:43] <hyper_dave> EriC^^: unmount /dev /sys and /run?
[12:44] <EriC^^> hyper_dave: actually try 'sudo chroot /cdrom /usr/bin/bash' just a throw in the dark
[12:44] <BluesKaj> Hi all
[12:44] <EriC^^> hyper_dave: if that doesn't work then yes run sudo umount -R /cdrom hopefully it'll unmount them all for you
[12:46] <hyper_dave> EriC^^: tried /usr/bin/bash [dash,sh] same thing
[12:47] <hyper_dave> It is not unmounting
[12:47] <hyper_dave> umount: /cdrom/sys/fs/cgroup: target is busy
[12:50] <EriC^^> hyper_dave: reboot time?
[12:50] <imi> hello
[12:50] <EriC^^> btw in the kernel panic does it give any errors before?
[12:50] <imi> my complete machine went haywires
[12:50] <hyper_dave> umount -l worked.
[12:51] <hyper_dave> Yeah but I can't scroll it so I can only look at the last lines of the stack trace
[12:51] <imi> firefox doesn't start up saying: /user.slice/user-1000.slice/session-3.scope is not a snap cgroup
[12:52] <hyper_dave> EriC^^: Should I proceed with the fsck or look at the kernel panic?
[12:55] <hyper_dave> Run fsck. It is clean. mounted it again and chroot is still not happy
[12:57] <EriC^^> hyper_dave: ok, try mount to mount root again, then 'strace -o /tmp/chrootlog chroot /cdrom' and then upload the log "cat /tmp/chrootlog | nc termbin.com 9999"
[12:58] <EriC^^> also look in /cdrom/var/log/syslog for any errors related to the kernel panic if they're there, maybe grep -Ei "panic|error" /cdrom/var/log/syslog
[12:59] <pasha> ok
[13:01] <hyper_dave> In the meantime here is the panic https://imgur.com/a/SoR4DVt
[13:03] <hyper_dave> EriC^^: Oh might it be that the root disk is full?
[13:06] <EriC^^> hyper_dave: yeah that could be it for sure
[13:11] <EriC^^> hyper_dave: try du -sh /cdrom/* | sort -h   to see where the big files are
[13:11] <EriC^^> or if you can install 'ncdu' it's very nice to finding out what to remove
[13:11] <EriC^^> *for
[13:13] <hyper_dave> Just moved 1.5G worth of files and reboot time...
[13:17] <hyper_dave> kernel still not happpy
[13:17] <gedeon> hi
[13:24] <EriC^^> hyper_dave: did you try an older kernel from the advanced menu in grub?
[14:03] <webchat40> wow so many here
[14:09] <ogra> yup, it's a cuddly place
[14:09] <ogra> (and we also always have fresh drinks for everyone)
[14:26] <hyper_dave> EriC^^ Sorry I joined another network and got a banned ip address
[14:45] <EriC^^> hyper_dave: no worries
[14:45] <EriC^^> hyper_dave: did you try an older kernel from the advanced menu in grub?
[14:48] <hyper_dave> Yes
[14:48] <hyper_dave> Did you mention strace?
[14:59] <hyper_dave> EriC^^: I have the logs for the chroot strace
[15:00] <hyper_dave> How do I post it to pastebin?
[15:00] <EriC^^> hyper_dave: cat /path/to/log | nc termbin.com 9999
[15:01] <EriC^^> hyper_dave: i'd give the older kernel a chance too it might help
[15:01] <hyper_dave> Tried it. It didn't work
[15:02] <EriC^^> ah
[15:02] <hyper_dave> https://termbin.com/bfew4
[15:06] <hyper_dave> EriC^^: Anything?
[15:06] <hyper_dave> I couldn't get the sense out of it.
[15:09] <EriC^^> same here, brb
[15:10] <EriC^^> hyper_dave: why do you want to chroot btw?
[15:11] <hyper_dave> to generate a new initramfs
[15:12] <EriC^^> i see
[15:12] <hyper_dave> If that is the issue
[15:12] <hyper_dave> I don't know how I can debug the kernel panic
[15:13] <EriC^^> do you remember changing anything at all before it happened?
[15:14] <EriC^^> i got something about selinux online, but not sure ubuntu even uses that
[15:14] <hyper_dave> I was not the admin of the server. I am here only to fix the panic.
[15:15] <hyper_dave> But they said they didn't touch it.
[15:15] <hyper_dave> That is why I suspected maybe it is a file corruption and wanted to reinstall the bootloader and generate new ramfs
[15:16] <EriC^^> are you using an ubuntu iso for the live usb? maybe that might help
[15:16] <EriC^^> aha
[15:16] <hyper_dave> I am switching between arch and debian
[15:16] <hyper_dave> to be on both extremes.
[15:16] <hyper_dave> :)
[15:16] <EriC^^> :D
[15:17] <hyper_dave> I might have to go out now though. I shall continue tomorrow.
[15:17] <EriC^^> alright
[15:17] <alkisg> hyper_dave: dpkg -V --root=/path/to/your-root
[15:18] <alkisg> hyper_dave: this will check for corrupted files
[15:18] <hyper_dave> Thanks I will check it. On live arch now though.
[15:19] <alkisg> OK, yeh needs to be run from a debian based live cd
[15:19] <alkisg> Unless you can install dpkg in live arch, https://archlinux.org/packages/community/x86_64/dpkg/
[15:19] <hyper_dave> I am going to try this and go home.
[15:21] <hyper_dave> alkisg: Apparently you can do that.
[15:21] <hyper_dave> Running it . Lots and lots of mussing packages.
[15:21] <hyper_dave> *missing
[15:22] <alkisg> Files, not packages, right?
[15:22] <hyper_dave> Oh yeah files.
[15:22] <hyper_dave> my bad
[15:22] <jhutchins> Something's killed the audio for Chrome.  FFox works fine.  Mixer has a panel for chrome, but none of the controls are active.
[15:23] <alkisg> hyper_dave: try to restore the bad files, at least the important ones about libraries and shells etc, then chroot might work
[15:23] <alkisg> Then inside the chroot you can apt reinstall the bad packages
[15:23] <hyper_dave> How do I restore them?
[15:24] <alkisg> The easiest way would be from a similar installation / backup etc, otherwise you'd need to fetch the deb, decompress it and copy the file. It can be scripted.
[15:24] <other_rick> Hi, I install xfce4-desktop using apt, but when I try to suspend the session, the system doesn't request me the password. What security approach can sugest me?
[15:25] <EriC^^> hyper_dave: you could get the list of bad files, make a one liner to get the package names using dpkg -S, and then do apt-get install --reinstall
[15:25] <alkisg> EriC^^: after he gets inside the chroot
[15:25] <EriC^^> ah right
[15:25] <EriC^^> :D
[15:26] <hyper_dave> https://termbin.com/xjav
[15:27] <EriC^^> fwiw from the strace log the man page for execve says ENOTDIR A component of the path prefix of pathname or a  script  or  ELF  interpreter is not a directory
[15:27] <alkisg> hyper_dave: eh, what's the output of this command? ls -ld YOURROOT/lib YOURROOT/lib/x86_64-linux-gnu
[15:27] <alkisg> hyper_dave: I'm guessing one of them is a file instead of a directory...
[15:29] <hyper_dave> alkisg: https://termbin.com/qrh0
[15:30] <alkisg> hyper_dave: right, disk corruption has converted the x86_64-linux-gnu directory into a file
[15:30] <alkisg> Start by restoring that directory, then probably chroot will work
[15:30] <hyper_dave> How do I restore it?
[15:31] <alkisg> Is there any backup?
[15:31] <hyper_dave> They didn't take backups.
[15:31] <alkisg> Which distro/version/environment is that?
[15:32] <alkisg> cat /cdrom/etc/os-release, ls /cdrom/usr/share/xsessions
[15:33] <hyper_dave> ubuntu 16.04.7
[15:33] <alkisg> Also check if this exists and is a directory: ls -ld /cdrom/usr/lib/x86_64-linux-gnu
[15:34] <hyper_dave> It doesn't exist
[15:35] <alkisg> And the plan is to revive such a broken installation, or to save the data, install a 22.04 one, and migrate the data there?
[15:35] <hyper_dave> Sorry it does exist
[15:35] <hyper_dave> Checked the actual root by accident
[15:37] <alkisg> hyper_dave: cd /cdrom; ls . lib usr usr/lib | nc termbin.com 9999
[15:37] <hyper_dave> alkisg: there is a program on it that they can not find the source for and don't know where it is installed. It will be much more easier if it can be revived
[15:38] <hyper_dave> https://termbin.com/2n5c
[15:39] <alkisg> hyper_dave: sorry, please re-do and use ls -l instead
[15:40] <EriC^^> should be easy to find where it's installed using "find", maybe then find the source from its docs or google
[15:41] <hyper_dave> EriC^^: Not a single program but a setup. And it is built by a guy they couldn't find anymore.
[15:41] <hyper_dave> https://termbin.com/u6rx
[15:45] <alkisg> hyper_dave: try this yolo thing: sudo mv /cdrom/lib/x86_64-linux-gnu /cdrom/lib/x86_64-linux-gnu.bad; sudo cp -a /cdrom/usr/lib/x86_64-linux-gnu /cdrom/lib/
[15:45] <alkisg> This will use your /usr/lib/x86_64-linux-gnu copy as the /lib/x86_64-linux-gnu copy. If you can chroot after that, you can then use dpkg -S and apt reinstall to fix things a bit
[15:46] <alkisg> If not, boot from an Ubuntu 16.04.7 live cd and copy that tree instead
[15:49] <hyper_dave> Same thing. I will get back to it tomorrow.
[15:49] <hyper_dave> Thanks everyone.
[15:50] <alkisg> It says not a directory even though it's a directory now after the copy?
[15:50] <alkisg> Cheers, tomorrow :)
[15:54] <lolek> hi, I know that this may not be the best channel to ask for this but not sure where to go so maybe someone will have some ideas. So I'm checking the possibilities to use dropbear as a solution to allow me to unlock my server after reboot. There are some tutorials on the network but I can't find any information about how to properly configure networking for this. The thing is that I need to have vlan tag on it
[15:54] <lolek> any ideas how to solve this?
[15:57] <arraybolt3> lolek: This is a great channel for this if you're using Ubuntu or an official flavor of Ubuntu. You might also find help in #ubuntu-server, they may be more skilled with these things.
[15:57] <lolek> arraybolt3 ok thanks, I'll try on the -server then!
[16:14] <Macwinner> Hi, if I have a standard package sasl2-bin, and I want to build it almost exactly as the packagers built it except with a small tweak in flags, (and I want it to be installed in the same locations as the standard package), what would be the recommended way of doing this?
[16:22] <lucascastro> macwinner: apt build-dep <package-name>
[16:22] <lucascastro> apt source <package-name>
[16:23] <lucascastro> edit the package as needed and rebuild
[16:40] <Neo517> ng
[16:42] <arraybolt3> OK, silly question. I'm trying to set LD_LIBRARY_PATH in my ~/.profile so that I can force my Lubuntu VM to use a self-compiled installation of Qt. However, it doesn't seem to have "stuck". I put "export LD_LIBRARY_PATH=/usr/local/Qt-5.15.5/lib" in ~/.profile, yet running "echo $LD_LIBRARY_PATH" tells me nothing.
[16:42] <arraybolt3> (Also, yes, I know this looks like a terrible horrible no good very bad idea in so many different ways, but I'm doing it in a VM so I have no fear of breaking things.)
[16:44] <alkisg> arraybolt3: for global variables in xorg sessions, personally I'm using "export VAR=VALUE" in /etc/X11/Xsession.d/50local
[16:45] <arraybolt3> alkisg: The strange thing is I also did "export PATH=/usr/local/Qt-5.15.5/bin:$PATH" in ~/.profile and that did work, so I'm thinking LD_LIBRARY_PATH must work different. Still, I'll try that trick.
[16:46] <alkisg> I'm guessing that some qt things will be loaded before your profile is loaded, if you put things inside /home/username
[16:47] <alkisg> E.g. if you open a terminal and launch bash, it will source ~/.profile, but I don't think xorg => session => lxpanel will source it
[16:47] <arraybolt3> Hmm, makes sense, will try.
[16:48] <alkisg> For other examples: grep -rw export /etc/X11/Xsession.d
[16:48] <arraybolt3> alkisg: Hmm, even putting the lines in there didn't help. I saw someone suggest the use of ldconfig, maybe that will help.
[16:50] <arraybolt3> I think something must be wiping LD_LIBRARY_PATH for security reasons, since other variables don't behave the same way.
[16:51] <arraybolt3> (I guess I could just try to merge /usr/local/Qt-5.15.5 with /usr, but that could break everything, so...)
[16:51] <alkisg> So if you put `export HELLO=there` in 50local you can then see it in any shell, but you cannot see LD_LIBRARY_PATH?
[16:52] <arraybolt3> alkisg: Sorta.
[16:52] <arraybolt3> alkisg: I'm also doing `export PATH=/usr/local/Qt-5.15.5/bin:$PATH` and the changes stick.
[16:52] <arraybolt3> Though I'm realizing I have that in more than one file, one moment while I fix that...
[16:53] <arraybolt3> alkisg: OK, yes. I can set PATH in /etc/X11/Xsession.d/50local, and it sticks. But the changes to LD_LIBRARY_PATH in the same file don't stick.
[16:54] <alkisg> Try with HELLO=there; PATH might be whitelisted
[16:55] <arraybolt3[m]> OK, trying...
[16:56] <alkisg> Testing on Ubuntu MATE 22.04, both the HELLO and the LD_LIBRARY_PATH variables made it to the terminal/bash
[16:56] <arraybolt3[m]> alkisg: HELLO made it.
[16:57] <alkisg> arraybolt3: what's the output of this?   grep -r LD_LIBRARY_PATH /etc/X11
[16:57] <arraybolt3[m]> alkisg: Nothing.
[16:57] <alkisg> Eh, then you didn't put it in 50local :D
[16:58] <CarlFK> does this modprobe too?     manual_add_modules  adds  a  module (...) to the initramfs image. https://manpages.ubuntu.com/manpages/bionic/man8/initramfs-tools.8.html
[16:58] <arraybolt3[m]> alkisg: I removed it intentionally when setting HELLO.
[16:59] <arraybolt3[m]> I was trying to see if maybe it was having two export commands one after the other that was causing a problem with the first one somehow. Apparently not.
[16:59] <Macwinner> lucascastro: thank you!
[16:59] <alkisg> arraybolt3: what's the distro/de, lubuntu 22.04?
[17:00] <arraybolt3[m]> alkisg: Correct.
[17:00] <arraybolt3[m]> ER, no, hold on.
[17:00] <arraybolt3[m]> Lubuntu 22.10 Daily, LXQt, Qt 5.15.6, trying to install 5.15.5.
[17:00] <arraybolt3[m]> And now I'm realizing I'm in the wrong room. /me goes to #ubuntu-next:libera.chat
[17:01] <alkisg> Details... :D
[17:02] <arraybolt3[m]> alkisg: Details are in the -next channel.
[17:03] <alkisg> No I wasn't asking you to provide details, I thought it wasn't a big deal that you are in the "wrong channel" since the export VAR=VALUE stuff would probably affect any recent lubuntu version
[17:03] <alkisg> I'm testing on a lubuntu 22.04.1 live cd that I had around
[17:04] <arraybolt3[m]> Ah, I get it.
[17:05] <alkisg> And indeed something in lubuntu overrides that environment variable
[17:06] <arraybolt3[m]> Crummy.
[17:06]  * arraybolt3[m] just did `grep -r LD_LIBRARY_PATH /`
[17:07] <arraybolt3[m]> Let's see if that turns up the grumpy component.
[17:08] <alkisg> Even replacing /usr/share/xsessions/Lubuntu.desktop => Exec=/usr/bin/startlxqt with a plain qterminal reproduces the issue
[17:08] <alkisg> So it's probably something in PAM
[17:08] <arraybolt3[m]> Bah, lovely, now my laptop just crashed in the middle of all of this. :(
[17:10] <arraybolt3[m]> Ideally Qt would let me just install directly into /usr and then I wouldn't have this problem.
[17:11] <arraybolt3[m]> Actually, looks like I found directions to do that.
[17:17] <fweht> hello, i want to update my node installation the 18, i found some snippet on the internet `curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -` giving me the error described here https://www.digitalocean.com/community/questions/cannot-get-updates-ubuntu-20-04 is whats the best solution for this?  (my ubuntu lives on digitalocean btw)
[17:17] <fweht> should i just run `wget -qO- https://repos-droplet.digitalocean.com/install.sh | sudo bash`?  or install in a different way?
[17:19] <NorrinRadd> I'm seeing something very strange right now.  i just apt removed apache2.  i have nginx running on port 80.  when i cannot to it, the default page I'm getting is an ubuntu apache page
[17:19] <NorrinRadd> and no logs are showing up in the log file
[17:19] <NorrinRadd> but all the script kiddie attempts do show in the log file
[17:20] <gordonjcp> NorrinRadd: nginx doesn't log by default, for whatever reason, and you probably have leftover apache webroot files kicking around in /usr/share/html/whatever/idiocy/they/put/it/in
[17:22] <alkisg> arraybolt3: ssh-agent is the one that eliminates LD_LIBRARY_PATH, you can work around that by renaming 50local to 98local and appending this to it: STARTUP=/usr/bin/startlxqt
[17:22] <alkisg> Normally, STARTUP="/usr/bin/ssh-agent /usr/bin/startlxqt", by omitting ssh-agent there you avoid the issue
[17:24] <NorrinRadd> gordonjcp good idea
[17:24] <arraybolt3> alkisg: Oh cool, thanks! Sadly I just fiddled around with installing Qt from source system-wide and may have wreaked general havoc on my VM so I just nuked it and am reinstalling from scratch...
[17:24] <eddu> :(
[18:20] <xcjxurath> Hi, What I need todo for enable the multiple workspace on the ubuntu desktop?
[18:34] <buzel> for multiple workspaces, click the activities button in the top left corner, then drag open applications to the next workspace at the right edge of the screen. Settings -> multitasking will let you change some options such as having a fixed number. There are some keyboard shortcuts for quickly switching between workspaces as well.
[18:38] <PeGaSuS> hello guys. I must have done something (which I don't remember what) but whenever I login to my account, two terminal windows open automatically. ideas/tips? TIA
[18:43] <PeGaSuS> I'm getting crazy because I actually don't remember what I might have done to have this behaviour on my laptop..
[18:47] <NorrinRadd> gordonjcp i was so confused lol. maybe never would have thought nginx would have been serving up a static apache file
[18:48] <NorrinRadd> my root commands weren't in the right place in nginx.conf
[18:49] <arraybolt3> PeGaSuS: Odd. Maybe check your ~/.profile file, and see if you have commands to autostart terminals in there? I don't know if putting terminal start commands in there would even work, but that's where I'd check first.
[19:00] <PeGaSuS> arraybolt3: my `~/.profile` only has this: https://0bin.xyz/view/57297c5b
[19:01] <murmel> PeGaSuS: anything in ~/.config/autostart?
[19:09] <PeGaSuS> murmel: I have redshift-gtk.desktop with this content: https://0bin.xyz/view/raw/634a7f30
[19:09] <murmel> yeah that's not it
[19:11] <PeGaSuS> I'm really puzzled because I have no idea of what might be triggering this, unless its a keyboard malfunction, which I highly doubt
[19:14] <murmel> PeGaSuS: maybe going through your .bash_history could give you a hint, what could have happened? because right now it's basically stabbing in the dark
[19:20] <PeGaSuS> honestly I don't see anything special. I think I've checked any file I can remember
[19:28] <rob0> I think the GUI way to fix something like that is to close the windows you do not want, open windows that you DO want opened at login, and then logout. Your desktop environment should save your session.
[19:31] <PeGaSuS> I think that it was that the problem. I've ticked "Save session for future logins" and it kept reopening those two terminal windows. after removing any `*.state` file form .cache/sessions, the windows stopped reopening
[19:32] <PeGaSuS> *note to self: never save sessions*
[19:49] <oxphi> I'm not sure the correct terms, but I have applications show up when I begin searching (keyboard windows key) and I want them uninstalled but can't find what their name or installation directory is... how can I find what applications show up in search?
[19:52] <oerheks> those .desktop files are stored in  applications – /usr/share/applications/
[19:53] <oerheks> one better installs synaptic, detailed softwarecenter. oh, and all other apps are snaps.
[20:14] <tomreyn> oxphi: also in $HOME/.local/share/applications
[20:29] <yasser> hi
[20:31] <yasser> am downloading linux lite but am wondering if it support opengl 3,2 on intel hd 3000
[20:31] <yasser> i wanna play minecraft on it and windows dosent support it
[20:31] <yasser> or maybe mesa 3d drivers
[20:31] <yasser> ??
[20:34] <tomreyn> yasser: we wouldn't know, we only support ubuntu here. maybe try that?
[20:34] <yasser> its a ubuntu based distro
[20:34] <yasser> thought u guys give support for ubuntu based distros
[20:34] <murmel> so? we don't know what they changed in their distro, at least they have a forum try there https://www.linuxliteos.com/forums/search/
[20:34] <tomreyn> that may be, but we don't support "based on ubuntu" here, just ubuntu and its official flavours
[20:34] <yasser> sorry my bad
[20:35] <tomreyn> you could also try #linux
[20:35] <yasser> thanks
[20:46] <gordonjcp> NorrinRadd: it'll serve up any file you put in the documentroot
[20:46] <gordonjcp> NorrinRadd: it'll serve up a standard IIS welcome page if you let it
[20:49] <gordonjcp> right
[20:50] <gordonjcp> why, if I've added myself to a group, do I not show up as being in that group, even after logging out and logging back in?
[20:50] <murmel> gordonjcp: did you wait long enough? sometimes things linger, so the session is not closed completely
[20:51] <gordonjcp> murmel: what "lingers", and why?
[20:51] <gordonjcp> murmel: when you log out, all your processes are finished...
[20:52] <murmel> gordonjcp: depends on if you enable linger (which means processes can run even when the user is not logged in)
[20:52] <murmel> this is managed by logind
[20:52] <gordonjcp> murmel: yeah that doesn't sound like something I want, that needs gone
[20:53] <murmel> and not all processes get killed the instant you log out
[20:53] <gordonjcp> murmel: ah, more systemd brokenness
[20:53] <murmel> why brokenness? you have to enable it so they can run, not the other way around
[20:54] <ash_worksi> is there a way for me to find out why `add-apt-repository` might be hanging?
[20:55] <ash_worksi> I tried it on a container using `jammy` and it worked with the PPA so...
[20:55] <murmel> ash_worksi: --debug
[20:55] <ash_worksi> thanks
[20:55] <gordonjcp> murmel: seems to be fixed after a reboot, even leaving it logged out for over 60 seconds didn't help
[20:56] <murmel> gordonjcp: yes, because something in your session holds it up to be ended
[20:56] <gordonjcp> murmel: good to see that Linux is finally achieving feature parity with Windows 98, I guess, "reboot to fi
[20:56] <gordonjcp> "reboot to fix"
[20:56] <gordonjcp> as soon as you log out of your session everything you haven't explicitly left backgrounded should be gone
[20:56] <gordonjcp> this is broken behaviour
[20:57] <murmel> idk, what you are doing, and honestly I don't add myself too often to new grps and if I use newgrp, or sg
[20:57] <murmel> gordonjcp: wow, so you just want to kill everything in comparison to ask to quit?
[20:57] <murmel> nice
[20:57] <sarnold> gordonjcp: loginctl terminate-user  https://askubuntu.com/a/1113417/33812
[20:57] <gordonjcp> murmel: well, why should anything be left hanging around?
[20:58] <murmel> gordonjcp: to save and safely quit?
[20:58] <murmel> idk, or don't you care about your data?
[20:58] <gordonjcp> murmel: if I care about it, I've already saved it
[21:00] <ash_worksi> murmel: add-apt-repository: error: no such option: --debug
[21:00] <murmel> gordonjcp: are you sure about the internal database of program X?
[21:00] <murmel> ash_worksi: what about -d?
[21:01] <ash_worksi> murmel: add-apt-repository: error: no such option: -d
[21:01] <murmel> hm, interesting, seems like the manpages are wrong then
[21:01] <ash_worksi> oh there -m
[21:01] <ash_worksi> -m, --massive-debug Print a lot of debug information to the command line
[21:02] <ash_worksi> still hangs... no output
[21:02] <murmel> oO wow, that's not even in the manpage
[21:02] <gordonjcp> murmel: why would I care?
[21:03] <ash_worksi> murmel: I got it from the man page
[21:03] <murmel> ash_worksi: which ubuntu release are you running?
[21:03] <gordonjcp> murmel: if it's so broken that it can't keep track of its own state, why is it my problem to cope with it?
[21:03] <murmel> gordonjcp: ahh, so you want to provoke bugs/errors/or whatever, hf then I guess
[21:03] <ash_worksi> murmel: PRETTY_NAME="Ubuntu 20.04.5 LTS"
[21:04] <murmel> gordonjcp: I assume you are also just plugging the power cable out, when turning off the PC
[21:04] <murmel> ash_worksi: ahh, makes sense then, I am on 22.04, so seems like they changed it then
[21:04] <ash_worksi> maybe I'll see if it works in a container
[21:05] <johnny_linux> Ubuntu is killer.
[21:07] <johnny_linux> kernel 6.o may be killer. I stifle.
[21:09] <gordonjcp> murmel: no, that's an idiotic thing to assume
[21:09] <murmel> gordonjcp: no it's not, it's just on a different layer
[21:10] <gordonjcp> murmel: idiotic assumptions are why the usability of linux has dropped so much recently
[21:10] <johnny_linux> ^
[21:10] <gordonjcp> murmel: over say the past 15 years or so, there have been so many bone-headed assumptions about what people are doing
[21:10] <murmel> lol, sure, if you believe that. I really wonder when you go back to windows, as you seem to hate about everything what linux does
[21:10] <gordonjcp> murmel: I've never used Windows
[21:10] <gordonjcp> murmel: I looked at it, but it appears to be some MSDOS shell
[21:11] <gordonjcp> hardly seemed worth the effort
[21:11] <johnny_linux> kidie scriptors ruin everything
[21:14] <johnny_linux> Im logging out.. but, my ;ast word is this.. stop with the redditt style sites that are filled with garbage.. Ubuntu help knows the deal. have a good day.. and .. to the helpers.. lets put arch out of busines. thanks.
[21:18] <ash_worksi> I need to proxy everything... how I can I route all external connections through a proxy?
[21:19] <ash_worksi> on ubuntu-server?
[21:19] <murmel> ash_worksi: depends on what you want to proxy?
[21:22] <tomreyn> Use a Wireguard VPN, or the TAILS Linux distribution, or review their approach / techniques (to ensure *all* traffic is passed through a tunnel / Tor) and apply them to Ubuntu server.
[21:22] <ash_worksi> murmel: basically everything; curl/docker/apt/wget...
[21:23] <murmel> tomreyn: how would that help with proxying?
[21:24] <murmel> ash_worksi: I wonder if that is even worthwile, as most stuff is on https anyway, and apt is quite easy to do
[21:24] <tomreyn> murmel: i'm interpreting the term more as in "tunneling" in this context.
[21:25] <murmel> ohhh yeah, could also be tunneling, depending on what he wants
[21:27] <ash_worksi> oh? perhaps that will work, I just don't want to have to set a proxy for every curl call, every wget, set it everywhere anything needs to connect to something..
[21:28] <tomreyn> there's the http_proxy environment variable if that's what you want.
[21:29] <ash_worksi> but, sans, that hassle, I added `Acquire::http::Proxy ...` to /etc/apt/apt.conf.d/proxy.conf and `apt` works but not `add-apt-repository`
[21:29] <ash_worksi> tomreyn: where is that?
[21:29] <ash_worksi> erm you mean just set `declare -x HTTP_PROXY=`
[21:29] <ash_worksi> ?
[21:29] <tomreyn> i think it's usually places in /etc/environment
[21:30] <ash_worksi> well, declaring it will tell me if it works, right?
[21:31] <ash_worksi> tomreyn: declaring it didn't work
[21:32] <tomreyn> ash_worksi: did you logout and login?
[21:34] <tomreyn> https://wiki.archlinux.org/title/Proxy_server#Environment_variables recommends placing an executable file in /etc/profile.d/ instead
[21:36] <tomreyn> for web browsers, java, maybe snaps, maybe wget, you will probably need to configure the proxy seperately.
[22:25] <ash_worksi> tomreyn: `http_proxy=... sudo add-apt-repository ...` still hangs
[22:25] <ash_worksi> how do I add a repo manually?
[22:28] <oerheks> you need to set the standard http_proxy/https_proxy variables, and use “sudo -E” to preserve the environment if using sudo. >> https://fabianlee.org/2020/11/16/ubuntu-using-add-apt-repository-with-a-proxy/
[22:29] <oerheks> same as this 2012 answer https://askubuntu.com/questions/53146/how-do-i-get-add-apt-repository-to-work-through-a-proxy
[22:31] <ash_worksi> oerheks: okay, I'll try it
[23:20] <caroline_> is it possible to enter a terminal session from another pc on a given local network?
[23:20] <sarnold> 14 seconds.. oof
[23:20] <sarnold> just how fast can caroline_ type?
[23:21] <caroline_> is it possible to enter a terminal session from another pc on a given local network?
[23:21] <toddc> ssh
[23:23] <sarnold> toddc: dude good job
[23:23] <toddc> caroline_: ssh allows you to use a terminal on a local network
[23:23] <sarnold> Fri 07 23:23:34 < toddc> caroline_: ssh allows you to use a terminal on a local network
[23:24] <sarnold> caroline_: apt install openssh-server
[23:24] <caroline_> apologies if it sent 3 times also. connection issues
[23:28] <caroline_> thanks sarnold, toddc
[23:44] <Macwinner> what's the "correct" way to build a package from source locally on ubuntu that overrides a system package.. I want to avoid messing around ldd library paths
[23:47] <cbreak> Macwinner: I recommend installing custom stuff outside normal /usr, maybe into /usr/local, or some dir in ~
[23:47] <cbreak> you can use rpath / runpath to avoid having to manually specify LD_LIBRARY_PATH
[23:48] <Macwinner> interesting.. haven't heard of rpath/runpath.. will look that up!
[23:48] <Macwinner> thanks
[23:49] <cbreak> cmake will allow you to add them when building. And of course you can do it manually
[23:49] <sarnold> https://github.com/NixOS/patchelf
[23:49] <cbreak> exactly
[23:50] <sarnold> Macwinner: quite a lot of people like to do builds in ppas, and just smack -sarnold1  onto the versions
[23:50] <sarnold> I'm not quite sure how folks handle the updates from the distro later :/
[23:51] <cbreak> sarnold: do they handle them? :) or just suffer from not
[23:51] <sarnold> cbreak: good question; maybe they use aptly to decide when packages get added? I've never actually understood package pinning well enough to know if that actualy helps or not. I think it would.
[23:54] <Macwinner> possibly just exclude those packages from apt config
[23:56] <cbreak> or change the name
[23:56] <cbreak> and use update-alternatives to select it