[00:36] <Lutin> ah no need to know :D
[01:37] <kill-animals> hey I was testing my app and it accidentally rm -r 'd my home directory. I'm on a live usb right now trying to recover the data
[01:37] <kill-animals> extundelete finds nothing on it though when I run
[01:38] <kill-animals> Uploaded file: https://uploads.kiwiirc.com/files/79fa269c20d32c1694b8092cbb365c09/pasted.txt
[02:25] <Nitrousoxide> TJ-: It happened again lol
[02:25] <Nitrousoxide> Oh wait nevermind thats the same person
[02:38] <kill-animals> it tis
[03:51] <brombomb> Hey all, I'm having an issue with fstab that I've been running for years.  I suddenly get `cannot access 'data': Transport endpoint is not connected`
[03:51] <brombomb> fstab looks like...
[03:51] <brombomb> ```#boot WD External 10TB
[03:51] <brombomb> UUID=966071E36071CB0F /home/brombomb/data auto defaults 0 0```
[03:51] <brombomb> and blkid looks like...
[03:51] <brombomb> ```#/dev/sdb1: LABEL="easystore" UUID="966071E36071CB0F" TYPE="ntfs" PTTYPE="atari" PARTLABEL="easystore" PARTUUID="dc5bd410-f09c-43db-af47-b46943c20b25"```
[03:52] <brombomb> I don't know what to do next to try and solve it.  I have unmounted and remounted
[03:55] <guiverc> brombomb, you've provided no OS & release details (ie. a clue to your software stack)
[03:55] <brombomb> Ubuntu 20.04.2
[03:57] <guiverc> have you tried using a /mnt/ (instead of /home/) ?
[03:57] <brombomb> I have not
[03:57]  * guiverc didn't mean specifically /mnt/ ; but directory inside there;  I'd try it
[03:58]  * guiverc suggestion only; I don't know that it will help
[03:58] <brombomb> Nope :(
[03:59] <brombomb> same Transport error
[03:59] <guiverc> https://askubuntu.com/questions/1090715/fuse-bad-mount-point-mnt-transport-endpoint-is-not-connected  maybe (good chance you've seen it though)
[03:59] <brombomb> I'm not using sshfs, since it's a usb mount
[04:00] <brombomb> I'm open to migrating to fuse or something newer
[04:02] <guiverc> yeah it looked that way from what you pasted; it was all I saw & i don't use NTFS
[04:08] <brombomb> okay so a few days ago I was trying to clean up some old HDD, and I installed the ubuntu package usbmount to help auto mount USB devices
[04:08] <brombomb> well after a reboot that was conflicting with my fstab
[04:08] <brombomb> I unsinstall usbmount, rebooted and It's fixed
[04:09] <guiverc> :)
[04:17] <brombomb> Thanks for rubber ducking for me guiverc
[05:20] <Anastasius> Would anyone here like to shave my back?
[05:20] <lotuspsychje> not here Anastasius
[05:20] <lotuspsychje> this is ubuntu support
[05:23] <Anastasius> Okay, I'm on Ubuntu 21.04. Are you willing to support me, lotus?
[05:29] <lotuspsychje> ask a question to the channel Anastasius
[05:40] <Croran> Anastasius: shaving your back actually sounds reasonably entertaining. Count me in.
[06:46] <Anastasius> Croran: You shave my back and I shave your front. Deal?
[06:46] <lotuspsychje> Anastasius Croran ok please stop that stuff
[06:47] <Anastasius> Or what?
[06:48] <Anastasius> Nobody said anything for hours, so get of your horse, chief.
[06:49] <lotuspsychje> Anastasius: this is an ubuntu support channel, so please no other topics here
[06:49] <Anastasius> off, too.
[06:49] <lotuspsychje> !guidelines
[06:49] <Anastasius> Oh please, stand down.
[06:49] <waterytart> he just wants a little support to get his back shaved.
[06:50] <Anastasius> I know the rules and the guidelines,
[06:50] <Anastasius> Yeah, mostly that. Shave my back, dude.
[06:51] <lotuspsychje> !ops | Anastasius waterytart Croran offtopic rant
[06:51] <waterytart> this is hardly an emergency.
[06:52] <Anastasius> Oh no, they called the cops again.
[06:52] <Anastasius> Oh dearie me.
[06:52] <waterytart> scatter
[06:53] <waterytart> https://c.tenor.com/y9zbADwEuzwAAAAS/cheese-it-bender.gif
[06:53] <ThinkT510> there are offtopic channels you can use if you are bored. you don't need to use an official support channel for this nonsense
[06:54] <Anastasius> Yeah. Been there, done that. I'd rather be here thanks.
[06:54] <Anastasius> At least for now.
[06:57] <Anastasius> Mark Shittleworth is my brother in law, I'll have you know.
[06:59] <Anastasius> Yeah, I'm with you. I don't like him either.
[07:03] <sima2> even I added resolution fo 1920x1080 in xorg.conf, for Intel HD4600 VGA output, is is still limited to 1024X768 instead of selected 1920X1080.
[07:04] <sima2> For some reason 915 driver can't recognize VGA-1 connected monitor's available resolutions
[07:29] <jeffmr> do vnc servers work with wayland in ubuntu?
[07:31] <matsaman> https://wayland.freedesktop.org/faq.html#heading_toc_j_8
[07:32] <jeffmr> I saw that.  Just wondered if there was any workaround.
[08:27] <bertptrs> are there any docs describing the difference between separate origins, ${distro_codename}, -security, -updates, -backports, and -proposed? I can't seem to find an official source, most things I find are hearsay or based on the names of the origins
[08:27] <bertptrs> I'm seeing some oddities with unattended upgrades and I'd like to know which origins I can safely enable
[08:28] <bertptrs> (and be able to convince my colleagues that I've done my homework about it)
[08:31] <lotuspsychje> !sources | bertptrs
[08:31] <lotuspsychje> !backports | bertptrs
[08:32] <bertptrs> !packaging
[08:34] <bertptrs> thanks, that clarifies -backports and -prososed, although I'm still not entirely clear on the distinction between the others
[08:37] <lotuspsychje> !updates
[08:37] <lotuspsychje> !security
[09:27] <ducasse> bertptrs: the only distinction is in the name, security are updates from the security team, -updates are everything else
[13:06] <BluesKaj> Hi all
[13:14] <Lutin> hi guys, will the wireguard kernel module come to 20.04 ?
[13:15] <rbasak> Lutin: I thought it was already there?
[13:16] <Lutin> rbasak I needed to upgrade to 21.04 to have it..
[13:16] <ogra> it is definitely there in the hwe kernel
[13:16] <cbreak> https://packages.ubuntu.com/focal/wireguard, there seems to be a dkms for it
[13:16] <ogra> ... but i also see it in the regular 20.04 5.4 kernel here
[13:17] <ogra> /lib/modules/5.4.0-80-generic/kernel/wireguard/wireguard.ko
[13:17] <ogra> as well as
[13:17] <ogra> /lib/modules/5.8.0-63-generic/kernel/drivers/net/wireguard/wireguard.ko
[13:18] <Lutin> mhh
[13:18] <Lutin> okay because with docker I wasn't able to use it about 3-4 weeks ago
[13:18] <Lutin> so i upgraded
[13:19] <Lutin> cbreak yeah installed that... issues or bugs, don't know anymore
[13:19] <rbasak> Sounds like you need help to get it working in your particular environment, rather than there being missing support in Ubuntu.
[13:21] <cbreak> I have an lxc that runs wireguard in 20.04
[13:21] <cbreak> (but my outer OS is 21.04 so... maybe it just uses that
[13:36] <arh> Hello people. A friend of mine wants to install Ubuntu GNU+Linux for the first time (first time installing GNU OS) to try it out and he was wondering if he could be able to add another HDD to his laptop and install Ubuntu there. Is it possible?
[13:37] <arh> Instead of installing two operating systems on one HDD, he wants to install two operating systems on separate HDDs but on single laptop.
[13:44] <coconut> arh, is possible from grub from the first hdd(or ssd if that is the case), as long as the laptop can have another hdd.
[13:46] <arh> coconut, so it won't make any problem? Another question. Is it possible to install Windows after installing Ubuntu? It's for myself though. My hard disk is encrypted and I don't want to lose my installation. I got my laptop with Ubuntu pre-installed.
[13:56] <Lutin> cbreak it uses your 21.04 host one
[13:59] <coconut> arh, if you install windows after ubuntu? Then your bootloader will be the windows version again, so you would need to re-install grub again to make boot option for ubuntu too. Probably duckduckgo.com just finds it well.
[14:03] <mikrosis> hi
[14:03] <mikrosis> so I want to list all packages `apt` got from a repository on my system
[14:03] <mikrosis> I can see that repository during `apt update`
[14:03] <mikrosis> but I want to find out what packages `apt` actually sees from that reposittory
[14:03] <mikrosis> any ways? :)
[14:04] <ogra> apt policy <packagename>
[14:08] <leftyfb> mikrosis: grep ^Package /var/lib/apt/lists/repository-name*_Packages | awk '{print $2}' | sort -u   # replacing repository-name with the repo
[14:10] <ogra> oops, indeed ... my command above only shows where a package was installed from, leftyfb is correct to look at the list file
[14:11] <mikrosis> leftyfb: thanks
[14:11] <mikrosis> leftyfb: OK, I ran that command for a particular PPA repo and nothing is listed
[14:11] <mikrosis> so this means the repo is empty or something went wrong, right?
[14:12] <leftyfb> mikrosis: look in /var/lib/apt/lists/ for the repo you're looking for and make sure it has a filename that ends in _Packages
[14:13] <ogra> and make sure to have called apt update to make sure the list file is actually up to date
[14:13] <mikrosis> ls /var/lib/apt/lists | grep ppa
[14:13] <mikrosis> ppa.launchpad.net_ondrej_php_ubuntu_dists_groovy_InRelease
[14:13] <mikrosis> apt update indeed lists that repo
[14:13] <mikrosis> but when I run that grep to list all packages of that repo - it comes back empty
[14:14] <leftyfb> mikrosis: ppa.launchpad.net_ondrej_php_ubuntu_dists_groovy_InRelease does not end in _Packages
[14:14] <leftyfb> mikeliuk84: which release of ubuntu are you running?
[14:15] <mikrosis> leftyfb: ohhh
[14:15] <mikrosis> leftyfb: but why doesn't it? something went wrong during apt update?
[14:15] <arh> coconut, thank you.
[14:15] <ogra> what ubuntu release is your machine running
[14:16] <mikrosis> me? Ubuntu 20.10
[14:16] <leftyfb> mikrosis: time to upgrade
[14:16] <mikrosis> leftyfb: hmm
[14:16] <leftyfb> mikrosis: especially if it's a server
[14:17] <ogra> launchpad.net/~ondrej/+archive/ubuntu/php only supports bionic, focal and hirsute
[14:17] <mikrosis> yes
[14:17] <mikrosis> oh
[14:17] <mikrosis> that explains it
[14:18] <leftyfb> mikrosis: typically when a release of ubuntu goes EOL, you start to lose support for it. 20.10 went EOL a little over 3 weeks ago
[14:21] <mikrosis> leftyfb: how dangerous is a dist upgrade from my version to the latest LTS?
[14:22] <mikrosis> leftyfb: I took a backup and snapshot
[14:22] <mikrosis> but I want to avoid downtime. sure, I could spin up a 2nd instance but this is also a cost factor
[14:23] <mikrosis> leftyfb: hmm, 20.04 seems to be the LTS, not the latest
[14:24] <ogra> if you have a public server you should always stick to the LTS
[14:24] <leftyfb> mikrosis: unless you are upgrading every 6-9 months, I would not suggest using non-LTS releases. Especially for a server and even more-so for a production environment
[14:35] <mikrosis> leftyfb: thanks, this was helpful
[14:45] <mikrosis> Doesn't Ubuntu offer minimal/server ISOs anymore?
[14:45] <mikrosis> At least I read "legacy"
[14:46] <leftyfb> mikrosis: https://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04.1/release/   first result on google for "ubuntu 20.04 server legacy"
[14:48] <mikrosis> leftyfb: right, but they call it "legacy" now :/
[14:52] <mikrosis> Hm, how can I find out whether my Ubuntu is an Ubuntu server or not?
[14:52] <mikrosis> lsb_release -a only shows that it is Ubuntu
[14:52] <leftyfb> mikrosis: did you install a desktop environment?
[14:52] <mikrosis> Or is Ubuntu server just Ubuntu without the GUI (headless)? Are there any indications?
[14:52] <mikrosis> no desktop, no
[14:53] <mikrosis> I don't want any GUI, minimal
[14:53] <leftyfb> then it's a server
[14:53] <mikrosis> OK, so there is no other thing than that
[14:53] <leftyfb> correct
[15:09] <metallic> hello everyone I have a question which I don't know what channel it fits best, so I am asking it here. I have an application installed (latest version in repos) on my Ubuntu 20.04 and I am currently working on the translation of that application's upstream version (newer than the one I have installed). Before submitting my translation I want to compile and run the app to see everything is ok.
[15:09] <metallic> My question is, is there a "safe" way to compile, install and run this upstream version without recurring to a virtual machine or uninstall the currently installed version of the app?
[15:11] <metallic> by safe I mean avoiding any possible conflict arising from having two different versions of the same app on the OS at the very same time
[15:12] <BluesKaj> metallic, by upstream version do you mean from a ppa?
[15:13] <metallic> BluesKaj: no, the latest version available in its github repo
[15:13] <metallic> well, I thought upstream version meant "latest developed version", sort of ^^', sorry if I got it wrong
[15:14] <BluesKaj> metallic,  then what reason do you have for not using the default version for your OS
[15:14] <BluesKaj> newest isn't always the best
[15:16] <metallic> because the translation I am doing is for the latest version in the repo, which differs slighty from the latest in the Ubuntu repos
[15:16] <metallic> sorry, the translation is for the latest version in the github repo (latest developed version), not for the latest available in Ubuntu's
[15:17] <metallic> to test the translation in action I should compile, install and run the app, but I am unsure if that may cause any trouble knowing I have already installed an older version :/
[15:18] <BluesKaj> then you should ask in #ubuntu-devel
[15:19] <metallic> I thought of it, but it's channel description clearly states "ubuntu devel (not support)" ^^', so I guess my question is not in order there :(
[15:19] <leftyfb> metallic: is this a GUI application?
[15:20] <metallic> yes, it does have a GUI
[15:20] <leftyfb> metallic: then I would pick something to go into a VM
[15:21] <metallic> I wanted to avoid either that or uninstalling the currently installed version hahaha, but I guess there is no way out
[15:23] <metallic> well, I think I will take the VM road. If anyone comes up with another alternative, please let me know :)
[15:23] <metallic> thanks for your time, BluesKaj, leftyfb
[15:24] <BluesKaj> good luck metallic :-)
[15:29] <punkgeek> anyone can help me what is the problem of configuring the bridge on the VM which has a static IP? https://paste.ubuntu.com/p/z3F8xVsmWG/
[15:31] <punkgeek> when I remove the bridge part, VM connect to the internet, But when I add the bridge part to the config file, VM won't have internet
[15:44] <de-facto> where do i specify what app opens a filetype?
[15:44] <de-facto> right click does not allow this for desktop files and in nautilus it prepends a wrong path hence fails
[15:45] <de-facto> for some reason gnome gets less usable with every update
[15:46] <de-facto> i want to 1) provide an application path 2) tell gnome to use the path of a file without any modification
[15:49] <mikrosis> There is no default app/protocol settings page as in Windows? Then they should really add this
[15:50] <oerheks> there is, in gnome systemsettings, default applications
[15:50] <oerheks> but the 'path' thing i don't understand
[15:51] <mikrosis> oerheks: gnome systemsettings, default applications
[15:51] <mikrosis> eh
[15:51] <mikrosis> https://askubuntu.com/questions/90214/how-do-i-set-the-default-program
[15:58] <de-facto> huh? where can i define the app and the launch signature (e.g. labview -launch /path/to/file.vi) in there?
[15:59] <de-facto> no possibility to even choose anything related to that in the gnome default applications menu
[16:00] <de-facto> look i have files ending with .vi and i want to tell gnome to use the program "labview" in the PATH and invoke it like labvies -launch /path/to/clicked.vi
[16:03] <de-facto> is that possible somehow?
[16:04] <metallic> de-facto: I am using LXQt right now and I can do what you ask by right-click > Properties > Open with > Customize > Custom command
[16:04] <de-facto> yeah i wish gnome had something like that
[16:04] <de-facto> they delete everything from their interface
[16:04] <leftyfb> de-facto: try mimeopen -d file.vi
[16:05] <leftyfb> de-facto: also, I'm curious what you mean by "in nautilus it prepends a wrong path hence fails"
[16:06] <leftyfb> de-facto: if you have multiple labview binaries, that might be the issue you want to look into. Using $PATH in something like this isn't recommended. It should be an absolute path
[16:06] <de-facto> leftyfb it prepends a prefix to the file path that makes labview fail to find it then
[16:07] <de-facto> mimeopen presents me a choice 1) labview 2) other and 1) works
[16:07] <de-facto> so how to tell gnome to do it like mimeopen?
[16:08] <de-facto> the open with dialogue is pretty useless as it does not allow any modification
[16:08] <leftyfb> de-facto: so running /path/to/labview -launch /path/to/file.vi fails?
[16:08] <de-facto> nope that works i think
[16:08] <de-facto> let me check
[16:09] <leftyfb> "it prepends a prefix to the file path that makes labview fail to find it then"
[16:09] <de-facto> jup that works
[16:09] <de-facto> yes gnome prefixes the file path
[16:11] <de-facto> labview says the file /usr/local/natinst/LabView-2020-64/*/home/user/Desktop/file.vi could not be opened. no application was found to open that type of file
[16:11] <de-facto> so the way gnome launches it it fails, but mimeopen and manually opening it from terminal works
[16:12] <de-facto> hence my question: how can i modify the way gnome opens files? they removed the option to modify that (i remember it was in the open with dialogue before
[16:12] <oerheks> missing a space? /usr/local/natinst/LabView-2020-64/*/home/user/Desktop/file.vi
[16:13] <oerheks> anyway, put labview properly in your %path%
[16:14] <de-facto> it is in the PATH
[16:14] <de-facto> the way gnome launches it is broken
[16:14] <de-facto> i need to fix that, hence where can i influence that?
[16:17] <mikrosis> hm, put it in quotes or backticks maybe?
[16:17] <de-facto> how do i tell gnome to put it in quotes?
[16:18] <de-facto> i can easily launch it from terminal
[16:18] <oerheks> but that line is missing a space too..
[16:18] <de-facto> i cant even see a way to fix things in gnome, where is that setting supposed to be made?
[16:18] <AmR> Any one Where is config file for Resolution list ?
[16:20] <oerheks> AmR, there is no resolution list./xorg.conf, it is generated automatic
[16:20] <Lutin> is there some simple crontab manager on cli ?
[16:25] <de-facto> is there any way in gnome to fix broken file associations?
[16:27] <mikrosis> de-facto: overwrite the broken config file with a working one?
[16:27] <de-facto> which config file?
[16:27] <leftyfb> Lutin: crontab -e # though you should really be moving over to systemd timers
[16:28] <de-facto> mikrosis if you tell me which file is responsible for defining that i can try to fix it, but i dont know which file is that for gnome
[16:30] <mikrosis> de-facto: Different distro, but this could be the same: https://bbs.archlinux.org/viewtopic.php?pid=638881#p638881
[16:31] <oerheks> normally one clicks open with; select application( if in the path) and be done with it.
[16:31] <oerheks> there is no file with custom associations, AFAIK. not human readable
[16:31] <mikrosis> oerheks: and in this case it doesn't work?
[16:31] <mikrosis> oerheks: also *nix also uses magic numbers for binary files
[16:32] <metallic> de-facto: as your question is specifically on GNOME's behaviour, you could try to ask it on #gnome .
[16:32] <oerheks> well, he made an error with a space in that line he gave us
[16:32] <oerheks> and with a * at the end, not a good idea
[16:33] <ash_worksi> can I check that I changed my password successfully without logging out?
[16:33] <ash_worksi> possibly using the `login` command
[16:33] <leftyfb> ash_worksi: yes, login using a different window/terminal
[16:33] <leftyfb> (via ssh)
[16:33] <leftyfb> or use sudo
[16:34] <ash_worksi> will sudo use the new password?
[16:34] <leftyfb> yes
[16:42] <de-facto> hmm by trial an error: cp /usr/share/applications/labview64-2020.desktop ~/.local/share/applications/labview64-2020.desktop  ... and then nano /.local/share/applications/labview64-2020.desktop to modify the Exec line to Exec=labview -launch '%F'
[16:42] <de-facto> using double quotes there seems to make gnome prepend that broken prefix
[16:42] <de-facto> e.g. Exec=labview -launch '%F' works while Exec=labview -launch "%F" is broken
[16:46] <Lutin> leftyfb OK... going to read about them... sounds better.never liked crontab :)
[17:42] <tomreyn> !repos | bertptrs: i think this describes all "pockets"
[20:13] <mort> well, I figured out that ubuntu consistently fails to suspend if I have no monitors connected to my GPU, or if the connected monitors don't have power
[20:17] <oerheks> interesting
[20:17] <TJ-> mort: which GPU make?
[20:17] <mort> nvidia
[20:18] <TJ-> mort: does the nvidia driver report problems in the kernel log?
[20:19] <mort> TJ-: I don't know how I can check really? From what I've read suspend problems are really hard to debug specifically because non-volatile storage gets disconnected
[20:19] <mort> I can't get it back on without a hard reboot through holding down the power button or cutting the power in other ways
[20:20] <mort> I know for sure that the GPU is at fault though, I did the pm_trace stuff in the suspend debugging guide on the ubuntu wiki and at the next boot, the only "hash matches" line in the dmesg log was regarding the GPU PCI device
[21:20] <ash_worksi> so I have a connection script that uses expect; I have a reset option which resets the password (given a default)
[21:21] <mneil-qc> Hi, I'm wondering if any Thinkpad users can verify this trackpoint issue that I've run into on my new P14s: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-libinput/+bug/1936008
[21:23] <ash_worksi> I'd like to be able to check that the password has been set successfully before moving on... how can I do that?
[21:23] <sarnold> ash_worksi: usually it's enough to check the exit status of the command you execute
[21:24] <ash_worksi> sarnold: you wouldn't know how to do that in tcl/expect /
[21:24] <ash_worksi> ?*
[21:24] <leftyfb> ash_worksi: use expect/sshpass to ssh to yourself or auth with sudo
[21:24] <ash_worksi> leftyfb: I can do that, but I was hoping to automate it
[21:25] <cbreak> hmm... are there any packages to get the dev headers for libzfs.so.4?
[21:25] <leftyfb> ash_worksi: hence expect
[21:25] <cbreak> which package does libzfs.so.4 even come from?
[21:26] <ash_worksi> leftyfb: maybe I don't understand
[21:26] <TJ-> !info libzfs-dev
[21:26] <leftyfb> cbreak: looks like it's only available in the libzfs4linux in 21.04
[21:26] <oerheks> find libzfs
[21:26] <sarnold> ash_worksi: check $? perhaps?
[21:26] <sarnold> ash_worksi: (bash variable)
[21:27] <sarnold> ash_worksi: if expect executes the thing directly itself, then it should have a way to get the exit status
[21:27] <leftyfb> ash_worksi: use expect in your script that checks if you can ssh with askpass or use sudo
[21:27] <TJ-> !info libzfs2linux-dev | cbreak
[21:27] <TJ-> !info libzfslinux-dev | cbreak
[21:27] <cbreak> leftyfb: thanks, that's for the library
[21:28] <leftyfb> cbreak: yeah, you asked what package the file came from, that's the package it comes from
[21:28] <sarnold> cbreak: try installing libzfslinux-dev ?
[21:28] <cbreak> indeed
[21:28] <cbreak> I wonder why dpkg-query -S didn't find that
[21:28] <cbreak> since I did have it installed
[21:28] <ash_worksi> sarnold: yes, but issuing a command and then reading the output to a variable to get n-bytes to check it is a bit convoluted. I was hoping there was a better way
[21:28] <cbreak> sarnold: yeah, promissing indeed, thanks
[21:29] <sarnold> ash_worksi: the downside of course is that checking the return value assumes the passwd ocmmand will return the right result. it *should*, but you know how that goes..
[21:29] <coconut> mneil-qc, i am reading it(i have an x1), but i do not understand what "trackpoint" is.
[21:30] <sarnold> coconut: bright little red thing in the keyboard
[21:30] <mneil-qc> coconut, the trackpoint is the red pointing stick on the keyboard
[21:30] <ash_worksi> leftyfb: what i mean is, I update my local password manager after running `sudo su -\r ***********\r passwd -u $user\r **********\r ***********\r`
[21:30] <ash_worksi> where '*'s are passwords
[21:30] <coryc257> Does anyone know if a driver for these headphones exists or can point me in the right direction?: Bus 001 Device 010: ID 9886:0042 Astro Gaming Astro A20
[21:31] <coconut> oh, never used it but just worked one second ago i guess
[21:31] <mneil-qc> coconut, mine works but it's not smooth while there is anything in contact with the trackpad
[21:31] <ash_worksi> I just don't want to update the password manager unless I am sure that the `passwd` operation was successful (it's not right now for some reason, but it could be asking me to retype twice because of some arbitrary crap password rules that sudo overrides)
[21:31] <mneil-qc> it becomes erratic and "laggy" if my palm is near the trackpad, even if I've disabled the trackpad
[21:32] <TJ-> ash_worksi: why not just use chpasswd ?
[21:32] <coconut> mneil-qc, no i have no issue here on x1 extreme gen2(uefi 1.36 i believe)
[21:32] <mneil-qc> weird, thanks for checking
[21:33] <coconut> yeah, all i can do
[21:33] <mneil-qc> can you see if it's an Elan or Synaptics one?
[21:33] <mneil-qc> it should tell you if you use "xinput list" command
[21:33] <ash_worksi> TJ-: I had problems with that before.... I could probably get that working, but now that I understand how to use `exp_continue` I just loop across `[Cc]urrent password` and `[Nn]ew password` to insert them
[21:34] <ash_worksi> can't I check this with `login` somehow?
[21:34] <ash_worksi> I keep forgetting how to use `login`
[21:35] <tomreyn> mneil-qc: have you tried to   xinput --disable 11
[21:35] <coconut> mneil-qc, "Synaptics TM3512-010"
[21:36] <tomreyn> mneil-qc: just one dash, sorry
[21:36] <mneil-qc> tomreyn, I have, but it doesn't do anything apart from disable my trackpad
[21:36] <mneil-qc> even with the trackpad disabled it still interferes
[21:36] <tomreyn> oh i assumed that's what you wanted
[21:36] <mneil-qc> Ideally it is, but there's still interference
[21:37] <mneil-qc> coconut, thanks. My older thinkpad's trackpoint uses synaptic and it works fine too. This one uses Elan
[21:37] <tomreyn> okay, i didnt get that
[21:37] <TJ-> ash_worksi: with chpasswd, if you do one user at a time, it'll return a non-zero exit code if there's a failure. E.g.  echo "me:mypassword" | chpasswd -R /mychroot && echo "Success"
[21:38] <cbreak> hmm... it seems /lib is a symlink to /usr/lib
[21:38] <coconut> bad for thinkpads reputation
[21:38] <TJ-> mneil-qc: is there something in the kernel log suggesting to use an alternative driver?
[21:38] <mneil-qc> tomreyn, the reason I think it's interference is because I ran "libinput debug-events" and it still registers trackpad touches even when it's disabled
[21:38] <ash_worksi> TJ-: well I did go through the effort of setting the current user to a variable (using whoami) and sudo'ing to root
[21:38] <ash_worksi> so I guess I should be able to do that
[21:38] <mneil-qc> TJ-, no
[21:38] <cbreak> and libzfs4linux installs to /lib
[21:39] <ash_worksi> eg `echo "$user:$newpass" | chpasswd`
[21:39] <ash_worksi> what is -R?
[21:39] <cbreak> so dpkg-query -S didn't find the /usr/lib true location variant
[21:39] <TJ-> ash_worksi: "man chpasswd"
[21:40] <TJ-> cbreak: that's part of the fallout of the usrmerge process. with -S only search for the last part of the path, e.g. bin/myexec or lib/libmylib
[21:40] <tomreyn> mneil-qc: :-/ i'm wondering whether that's more of a firmware or driver issue
[21:40] <cbreak> TJ-: interesting, thanks
[21:40] <ash_worksi> TJ-: Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. --- I don't really get what that menas
[21:40] <ash_worksi> means*
[21:40] <cbreak> never heard of that process.
[21:41] <TJ-> ash_worksi: it means you can test it on a chroot instead of the live system, until it works perfectly
[21:41] <TJ-> mneil-qc: my thinkpad (E495) report an Elan device. How do I do your test?
[21:41] <ash_worksi> which is... like a virtual env?
[21:42] <TJ-> ash_worksi: yes, usually created by debootstrap
[21:42] <mneil-qc> TJ-, make sure nothing is touching/near your trackpad. Move the trackpoint around and see if the movement is fluid
[21:42] <ash_worksi> okay, so what determines /mychroot in your example?
[21:43] <mneil-qc> TJ-, if my palm is on the trackpad, or if I click the trackpoint buttons and the trackpad detects my fingers, the trackpoint becomes erratic/laggy
[21:43] <TJ-> mneil-qc: so, to be clear, we have 2 devices, SynPS/2 Synaptics Touchpad and TPPS/2 Elan Trackpoint
[21:43] <mneil-qc> TJ-, that's right
[21:43] <mneil-qc> Same for me
[21:43] <TJ-> mneil-qc: and which one do you disalbe?
[21:44] <mneil-qc> I disable the touchpad (synaptics)
[21:44] <TJ-> mneil-qc: mine's disabled.... never  noticed this before, but it works!!
[21:44] <mneil-qc> no choppiness/skipping with the pointing stick?
[21:45] <TJ-> mneil-qc: you have it totally disabled, or just the "Disable touchpad whilst typing" ?
[21:45] <mneil-qc> it's definitely off
[21:45] <mneil-qc> I tried in the BIOS as well, but it seems the BIOS is a windows-only switch on new thinkpads
[21:46] <TJ-> mneil-qc: enable/disable and now touchpad isn't working... resting thumb on touchpad whilst moving trackpoint, smooth
[21:46] <mneil-qc> TJ-, really strange for me then
[21:46] <TJ-> mneil-qc: I'm using kernel 5.13
[21:46] <mneil-qc> I've tried using a new kernel too just in case
[21:46] <mneil-qc> 5.11
[21:47] <mneil-qc> I've also tried on fedora with a live usb session and it's there too
[21:47] <TJ-> more likely to be Xorg drivers though, presumably you're using Xorg not a Wayland compositor?
[21:47] <mneil-qc> I've already tried that
[21:48] <mneil-qc> I'm thinking the issue is libinput still
[21:48] <ash_worksi> TJ-: like does `/mychroot` have to exist?
[21:48] <TJ-> ash_worksi: well yes :)
[21:49] <TJ-> mneil-qc: I'm on 20.04, Xubuntu
[21:49] <ash_worksi> TJ-: can/should I just make it my home dir?
[21:49] <mneil-qc> TJ-, when I run "sudo libinput debug-events" I can see the trackpad registering things, even if it's disabled and not moving the cursor
[21:49] <mneil-qc> I've tried on i3wm too, so it's not a gnome thing
[21:49] <TJ-> ash_worksi: you can make it anywhere, that will have under it ./etc/passwd and ./etc/shadow I think
[21:50] <TJ-> mneil-qc: I'll try that here
[21:50] <ash_worksi> TJ-: is it intended to be ephermeral? (after the command executes, does it go away? Should I get rid of it?)
[21:50] <mneil-qc> TJ-, thanks. Basically, the issue makes it so that moving the trackpoint always feels like there's another mouse/pointer trying to move in another direction
[21:51] <TJ-> ash_worksi: it's purely a way to test your processes without messing up the system's real /etc/shadow
[21:51] <TJ-> mneil-qc: is it possible the scroll region is stuck down?
[21:51] <mneil-qc> TJ-, definitely not
[21:52] <TJ-> mneil-qc: which package has libinput ?
[21:52] <mneil-qc> TJ-,  xserver-xorg-input-libinput
[21:52] <TJ-> found it ! libinput-tools
[21:52] <mneil-qc> ah, right
[21:53] <ash_worksi> TJ-: I mean, I am just kind of confused; I use `docker` and I think that isolates in a similar manner, but that's completely ephemeral
[21:54] <TJ-> mneil-qc: I see events from touchpad when it is disabled but they are ignored. They do not affect the pointer being controlled by trackpoint
[21:55] <mneil-qc> TJ-, that's the same for me, except the lag happens whenever the events show up
[21:55] <TJ-> ash_worksi: -R simply tells chpasswd to operate on files other than the system files, so it can be tested, or used to configure real chroots as created by debootstrap
[21:57] <ash_worksi> TJ-: so, something like `... | chpasswd -R ... && echo "success"; expect "success": pass insert -ef "$newpass"`
[21:59] <TJ-> ash_worksi: no, that would do the pass insert regardless of exit code. You want: if echo "$user:$newpass" | chpasswd -R /my/test/root ; then pass insert -ef "$newpass"; else echo "Error: password change failed"; fi
[21:59] <TJ-> ash_worksi: obviously, you'd remove the -R /my/test/root for real changes
[22:00] <ash_worksi> TJ-: `-R` confuses me tremendously, is it affecting the system or not? I *only* want to update the manager if password is *actually* changed
[22:00] <ash_worksi> otherwise I won't be able to login
[22:02] <TJ-> ash_worksi: as the man page says, "Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory"
[22:04] <ash_worksi> TJ-: I don't know if I'm hopeless or not, but I just don't know what the implication is of that statemetn
[22:04] <ash_worksi> statement*
[22:05] <coryc257> ash_worksi, to put it another way it means it will alter a file /my/test/root/etc/shadow given a CHROOT_DIR of /my/test/root
[22:06] <ash_worksi> coryc257: that sounds like if I do that, and say `if ... | chpasswd -R ...; then pass insert ...; fi` then I'll update the manager and not actually update my password (outside of chroot)
[22:08] <TJ-> ash_worksi: example: https://paste.ubuntu.com/p/S35NjSP9PS/
[22:09] <TJ-> ash_worksi: precisely! I said, use -R to /TEST/ your scripts do update shadow correctly first, THEN remove the -R path
[22:09] <LadyCailin> Is writing programs for ubuntu on topic, or is there a better channel for that?
[22:11] <ash_worksi> TJ- so `if ... | chpasswd -R ...; then ... | chpasswd; fi` ?
[22:11] <TJ-> LadyCailin: 'for Ubuntu' is kind-of limited - usually it'd be "for GNU/Linux" - Ubuntu is a distribution. Unless you mean packaging a program for Debian/Ubuntu
[22:11] <ash_worksi> also, I just realized I can't do `then pass ...` anyway because I need to run that locally from the script
[22:12] <TJ-> ash_worksi: but surely you'd put the if...then...else...fi inside your script ?
[22:13] <LadyCailin> No. I guess it is Linux programming, but I'm specifically testing on Ubuntu. But at the stage I'm at, I doubt there will be any specifically Ubuntu things, though maybe, I'm writing very low level code. In any case, if there's a more specific channel, I can go there, otherwise I can just ask here.
[22:13] <ash_worksi> TJ-: well, `chpasswd` needs be run as `send "chpasswd"` where as `pass` needs to be run `exec pass ...`
[22:14] <TJ-> ash_worksi: you're embedding this in an expect script?
[22:15] <ash_worksi> TJ-: yes
[22:15] <ash_worksi> TJ-: I mean, it parses flags in bash and then calls expect
[22:15] <TJ-> ash_worksi: I think I'm lost as to why this is wrapped with expect
[22:15] <TJ-> LadyCailin: well ask away, but you won't mind many programmer/developer types here most of the time
[22:15] <ash_worksi> TJ-: because I am bound by archaic insanity that is requiring both sshkeys AND a password to log into servers
[22:16] <tomreyn> LadyCailin: there's #linux for more than user support centric linux (here: ubuntu) support, and there's probably a channel for your programming language of choice.
[22:16] <ash_worksi> TJ-: and I am going to great lengths to circumvent this pointless endeavor
[22:16] <TJ-> ash_worksi: hmmmm. nasty
[22:16] <LadyCailin> I'll try #linux then, thanks
[22:16] <tomreyn> LadyCailin: there's also #ubuntu-offtopic
[22:17] <TJ-> LadyCailin: if Ubuntu is possibly impacting your program then this is the appropriate place to ask
[22:17] <ash_worksi> TJ-: I started using expect to just login through a jump server (thank you `ssh -J`), but I ended up needing a number of options
[22:17] <ash_worksi> TJ-: such as --screen
[22:17] <ash_worksi> which starts me in a screen session
[22:17] <ash_worksi> or --user john
[22:17] <ash_worksi> which sudo's to user John
[22:18] <ash_worksi> I basically want to interact with my password manager as least as possible
[22:18] <ash_worksi> anyway, the most complicated one is --reset
[22:18] <ash_worksi> which _can_ take a password but has a default (that another admin sets when I lock myself out)
[22:19] <ash_worksi> so the idea is to be able to run `conn some_server -r` and that should connect, run sudo, chpasswd and quit (I seemed to have problems getting back to `interact` from that point)
[22:20] <LadyCailin> Well, basically, I'm writing a "hello world" level program in LLVM IR, which I'm then compiling to an executable, which segfaults. There isn't really "source code", so gdb isn't particularly useful here, and indeed, the program is only one line anyways, objdump -d shows that the whole program is "exor %eax,%eax/retq", yet it still segfaults. I'm a bit at a loss as to how to proceed with...
[22:20] <LadyCailin> ...debugging this, I imagine that there's something more substantially wrong here, such as using the wrong linker options or something like that, but I'm not sure what to check or where to start.
[22:20] <TJ-> LadyCailin: sounds like you're not linking in the stdlib entry/exit functions
[22:21] <LadyCailin> I've overridden the entry point, so that got rid of one of the linking errors, so I suppose that works. But I'm not exiting, I'm returning 0, but maybe that still needs the stdlib as if it were calling exit()?
[22:23] <LadyCailin> The linker options are simple right now, it's `ld.lld-12 -o main --entry=main main.o`
[22:29] <LadyCailin> I can see the linker options clang is using with `clang -v` though, so maybe I just have a look through each of these and figure out what each flag does, and try to apply relevant looking flags until it works.
[22:34] <TJ-> LadyCailin: you might find help in ##programming for something this detailed
[22:36] <LadyCailin> Heh, yeah, ok. I just tried all the options that clang -v shows, and it still segfaults, so there may be something wrong at a previous stage or something. So, maybe I need to go to #llvm or something. Anyways, thanks for the pointers.
[22:48] <LadyCailin> https://xkcd.com/371/
[22:49] <sarnold> LadyCailin: haha :)
[22:49] <sarnold> LadyCailin: did you find it?
[22:50] <LadyCailin> Not yet. I've asked in #llvm, I think this might be a problem earlier in the toolchain, despite the lack of errors.
[22:50] <sarnold> aw rats, heh
[22:51] <stevessss> 174 of the channel members are still on freenode
[22:51] <cbreak> LadyCailin: does your program have an entry point? like _start or what ever it is on linux?
[22:52] <LadyCailin> It does, yes. I've overwritten it though, to be main, using --entry=main
[22:52] <stevessss> so.. when I asked freenode ubuntu whether anyone was there... no one answered of the 174 people in channel
[22:52] <sarnold> stevessss: I understand most of the connections on 'old freenode' are just zombie clients these days
[22:52] <coryc257> stevessss, freenode died due to shenanigans
[22:53] <cbreak> stevessss: freenode deleted all accounts and channels
[22:58] <LadyCailin> Ok, figured it out. Apparently _start does some necessary stuff, so you need to link in crt1.o (or one of the other .o files clang seems to link in by default) and then don't override the entry point.
[22:58] <sarnold> woot
[22:59] <LadyCailin> I'm going to try to figure out what _start does that's so important, because it's strange that it's a linker option if there's no case where doing it results in a working program.
[23:00] <TJ-> LadyCailin: well yes; the stack has to be set up in a particular way, as well as registers
[23:00] <coryc257> LadyCailin, Book "Introduction to 64 Bit Assembly Programming for Linux and OS X: For Linux and OS X" mentions that and might be useful as a reference if you are building your own compiler?
[23:00] <TJ-> LadyCailin: check out the ELF format
[23:01] <LadyCailin> Yes, I am, I'll add that to my reading list, thanks for the suggestion!
[23:01] <sarnold> LadyCailin: seen these things yet? :) https://www.muppetlabs.com/~breadbox/software/elfkickers.html http://www.muppetlabs.com/~breadbox/software/tiny/ -- seems like things you'd like
[23:03] <LadyCailin> Interesting. Yes, I may end up using the defaults that crt0 has, but I would definitely like to understand everything that's going in to the program, so I want to start with "what's the smallest possible program" and work up from there.
[23:06] <Genius> Hello
[23:07] <Genius> I am having trouble with Makefile
[23:07] <Genius> its annoying
[23:08] <sarnold> sounds like a Makefile alright :)
[23:10] <Genius> make: *** [Makefile:24: all] Error 1
[23:10] <Genius> trying to compile UnrealIRCd
[23:10] <sarnold> look higher up, that's the end of the problems
[23:11] <Genius> What should i do to fix the problem please sarnold ?
[23:11] <coryc257> put the full compiler output in a pastebin
[23:11] <Genius> 1 moment
[23:12] <Genius> https://pastebin.com/CGkdiWqE
[23:14] <sarnold> Genius: what TLS library do you want it to use?
[23:14] <coryc257> missing an ssl dev library
[23:15] <Genius> i just have to install ssl dev library ?
[23:15] <Genius> can be done with apt-get ?
[23:15] <sarnold> and then tell ./configure which one to use, yes
[23:16] <coryc257> Genius, sudo apt install libssl-dev
[23:16] <coryc257> will likely get you where you want to be
[23:16] <Genius> done
[23:16] <Genius> let me check
[23:16] <Genius> recompiling
[23:17] <hggdh> Genius: you should probably re-run ./configure
[23:17] <Genius> I already did
[23:17] <Genius> waiting
[23:18] <coryc257> Genius, did it get past the first stop?
[23:18] <Genius> its still working
[23:18] <Genius> no errors yet
[23:19] <coryc257> fyi, if you do make -j<put number of cpu cores *2> it may significantly speed up compile times
[23:19] <coryc257> in the future
[23:19] <Genius> thanks, noted :)
[23:20] <sarnold> you can't speed up ./configure though :(
[23:20] <sarnold> it's just slow all the time
[23:20] <coryc257> Genius, I once tried compiling the kernel on a rhel8 box wi
[23:20] <coryc257> th one core, it took me hours
[23:20] <Genius> but its only unrealircd now :)
[23:20] <Genius> compiling done :D
[23:20] <Genius> i love you <3
[23:20] <Genius> now doing make
[23:21] <coryc257> sarnold, just imagine trying to figure out the concurrency of multithreaded ./configure
[23:21] <coryc257> I'd just turn the pc off and go outside lol
[23:21] <sarnold> coryc257: if only there were a tool that knew how to sort dependencies and execute things concurrently... :)
[23:22] <sarnold> seriously though it'd probably hav eto be pretty difficult otherwise someone would have done it by now
[23:28] <coryc257> Genius, it make it all the way to the end?
[23:30] <Genius> yes i really appreciate guys :D
[23:31] <coryc257> awesome, I'd recommend you contain it in a vm, with with selinux/apparmor if you plan to run it on your machine and open it up to the internet just in case if you have anything sensitive on your machine
[23:33] <coryc257> https://www.unrealircd.org/docs/Using_AppArmor_with_UnrealIRCd
[23:34] <Genius> no im running it on a vps
[23:38] <LadyCailin> This article is hilariously written, but it's contains a ton of useful info, this was a great link. http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
[23:39] <LadyCailin> > Of course, half of the values in this file violate some part of the ELF standard, and it's a wonder that Linux will even consent to sneeze on it, much less give it a process ID.
[23:39] <LadyCailin> Anyways, thanks for the link :D
[23:40] <sarnold> LadyCailin: I *really* enjoyed those things when I was working on an ELF project ages ago
[23:41] <Genius> how to open ports with ssh ?>
[23:43] <leftyfb> Genius: ubuntu does not have a firewall enabled by default. If you are having trouble accessing services, you need to contact your VPS provider for support
[23:43] <Genius> the unrealircd is running but im unable to connect
[23:44] <leftyfb> Genius: I might add though, given your current level of expertise, I strongly recommend against proceeding further with setting up an IRCd in a public manner until you are a bit more established when it comes to linux and security
[23:44] <Genius> its just the opening ports thing because the linux is fresh its amazon aws
[23:45] <leftyfb> Genius: ok, then you need to look into your EC2 security groups
[23:45] <Genius> it's lightsale bro
[23:46] <Genius> the firewall is inactive
[23:46] <Genius> i did ufw status verbose
[23:46] <leftyfb> Genius: your firewall is out of band. There is no firewall enabled on ubuntu by default
[23:46] <Genius> but bro how can i open 6667 port
[23:47] <Genius> it should be enabled udp or tcp ?
[23:48] <leftyfb> Genius: first, stop with the "bro". Second, you read up on the VPS service you are using on how to manage it properly. Thirst, read the documentation for UnrealIRCd and it's requirements
[23:48] <Genius> lol why so serious
[23:49] <leftyfb> Genius: because you are not qualified to be spinning up a server which is going to be owned in a matter of minutes and you won't even know. Then the rest of us have to deal with the garbage that will be spewing from it
[23:50] <leftyfb> Genius: you have shown zero interest in properly researching and understanding what is involved and should be required in building something like this
[23:52] <Genius> Im trying to research myself too, and no need to be that aggressive, im not offending anyone or anything
[23:52] <Genius> so calm down mate
[23:52] <biscuitbutter[m]> Hi, I have a problem. Ethernet works during the live session, but after installation, ethernet no longer works. I'm running 20.04.2. These are my specs: https://www.cnet.com/products/dell-latitude-3150-11-6-pentium-n3540-4-gb-ram-500-gb-hdd/ My ethernet is Realtek PCIe GbE Family Controller. I booted from USB, and I used rufus with the .iso. Someone suggested that the kernel upgrade during installation may be my issue. Also, now that
[23:52] <biscuitbutter[m]> it's installed, when I turn on my computer there is the error "Invalid partition table!" Then I press enter and then it boots. A kind fellow suggested that I try using the GA kernel option, and explore the partition table from live media. Not entirely sure how to follow those two suggestions, but I know the first step is reinstalling from the usb.
[23:52] <leftyfb> you asked
[23:54] <cbreak> Genius: ssh can open ports with -L. See man page for details
[23:55] <leftyfb> cbreak: I assume you're referring to a local ssh tunnel, which isn't what Genius is referring to
[23:56] <cbreak> he didn't say what he'd want to open the port for
[23:56] <leftyfb> cbreak: he's trying to spin up an IRC server in AWS
[23:56] <cbreak> and since he said ssh and not sshd, this is my closest guess
[23:57] <cbreak> that makes no sense.
[23:57] <leftyfb> cbreak: by "with ssh" he means from command line
[23:57] <cbreak> he'd want ircd to open a port for that, not ssh
[23:57] <cbreak> hmm :/
[23:57] <leftyfb> cbreak: he's very green and doesn't know what he's doing
[23:57] <cbreak> seems like it, yes
[23:58] <Genius> yeah honestly i dont know how to do it
[23:58] <leftyfb> which is why he shouldn't be doing this. Not in a publicly accessible way anyway
[23:58] <leftyfb> Genius: I HIGHLY recommend playing with this in a VM or even an lxd container on a linux machine on your local network. Get it working and get a feel for how to set it up and lock it down properly
[23:59] <Genius> one question, when i allow a port i should choose udp or tcp
[23:59]  * leftyfb sigh