[00:23] <manjeets> Hi guys I'm having issues with modprobe, when i modprobe a new driver it returns error module: version magic '4.15.0.55-generic SMP mod_unload' should be '4.15.0-58-generic SMP mod_unload'
[00:24] <manjeets> idea how do i fix it ?
[00:24] <sarnold> manjeets: that means your module was intended for a different kernel
[00:24] <sarnold> how to fix it depends upon how you got to this point :)
[00:25] <manjeets> sarnold, my machine has kenrl 58 version
[00:26] <manjeets> is there a way I can explicitly point modprobe to specific version ?
[00:26] <sarnold> manjeets: insmod can take a specific path
[00:26] <sarnold> manjeets: that way you can give the path to the version of the module compiled against the 58 headers
[00:28] <ausjke> isc-dhcp-server, how to define the dhcp-server's own IP?
[00:29] <entry_lvl_dev> so i have an AWS Ubuntu Server... on there im running MySQL database.  How can i create an ssh tunnel so that my local web application can communicate with the MySQL DB
[00:29] <ausjke> all tutorials are greatly explain everything except that, how to get an IP address for itself!
[00:32] <manjeets> sarnold,  sudo insmod pathto_ko returns same thing
[00:33] <sarnold> manjeets: do you need to recompile your module? how did you build it?
[00:34] <sarnold> ausjke: you just give the server one with eg netplan or /etc/network/interfaces, depending upon what release you're using
[00:34] <sarnold> ausjke: make sure you don't configure the dhcpd to hand out the address it's already using :D
[00:35] <manjeets> its basically a ethernet driver followed instructions from documentation untar the i40e driver and make install
[00:36] <sarnold> entry_lvl_dev: something like ssh -L 3306:awshostip:3306
[00:36] <manjeets> sarnold, networking on my machine is screwed up (with i40 update) its not even detecting nic cards
[00:37] <manjeets> sarnold, recompiled the driver and insmod just worked
[00:37] <manjeets> thanks appreciate it :)
[00:37] <sarnold> manjeets: woot :)
[00:38] <manjeets> does insmod persists reboot ?
[00:38] <sarnold> no
[00:38] <sarnold> /etc/modules-load.d/ is probably the best answer if it doesn't autoload for whatever reason
[00:40] <entry_lvl_dev> sarnold and then i would just need tell my local enviornment to connect to localhost 3306 and it should work fine right?
[00:40] <sarnold> entry_lvl_dev: yeah
[00:41] <entry_lvl_dev> thanks sarnold
[00:42] <sarnold> you're welcome entry_lvl_dev, have fun :)
[00:45] <ausjke> sarnold: it works, thanks!
[00:45] <sarnold> ausjke: nice :)
[01:06] <CoJaBo> Does LD_LIBRARY_PATH not apply to stuff in /lib64 or something?
[01:09] <sarnold> I have one thing in that directory and it's not a useful executable
[01:09] <sarnold> what are you trying to do?
[01:12] <genii> I'm pretty sure lib64 is deprecated
[01:14] <CoJaBo> Yeh, it's /lib64/ld-linux-x86-64.so.2
[01:15] <CoJaBo> genii: I'm trying to install p7zip so I can read zip files from PHP on a system with no root access. Stupid, I know.
[01:17] <genii> That file should actually be a symlink to  /lib/x86_64-linux-gnu/ld-2.27.so
[01:18] <CoJaBo> Yeh, I even corrected the symlink to point to the right place. Still nothing
[01:19] <CoJaBo> I've created a test environment; I can move everything to home as long as I symlink /home/username/lib64 to /lib64. It works perfectly if I do that and set LD_LIBRARY_PATH. But it can't find /lib64/ld-linux-x86-64.so.2 if I don't create the symlink, and I can't cuz I'm not root.
[01:21] <sarnold> CoJaBo: so.. why doesn't apt install p7zip work?
[01:21] <CoJaBo> sarnold: Because it needs root
[01:22] <sarnold> ahh
[01:22] <CoJaBo> I've installed p7zip to a folder, but I can't actually get it to run from that folder, because the /lib64 path seems to be permanently hardcoded somehow
[01:24] <sarnold> so, how'd you do that? apt download, then ar x, then tar xf ?
[01:25] <CoJaBo> sarnold: Copied it from my own system, which has it installed
[01:25] <guiverc> CoJaBo, `ldconfig -p` will print cache of dirs & candidate libs currently available..
[01:27] <sarnold> CoJaBo: is your local system identical to the one where you don't have root?
[01:28] <CoJaBo> sarnold: Not completely, so I may hit other problems down the road; I'm first trying to get it to work on my system
[01:29] <deltab> CoJaBo: does the system have python installed?
[01:29] <OerHeks> so you have access to the php zipfiles you want to read?
[01:30] <CoJaBo> No Python, but it works if I hexedit the path in the binary
[01:30] <ausjke> i have a static-ip isc-dhcp-server running on ubuntu18.04 supplying IP to raspberry pi, all is well, rpi grabs first IP from 192.168.1.100-200 pool which is 192.168.1.100, somehow after a few minutes, my dhcp-server itself discards 192.168.1.1 and assign itself a 192.168.1.101 ip addr, what gives?
[01:31] <CoJaBo> Not really sure why I didn't think of that sooner
[01:31] <CoJaBo> That was the only problem, it also works just fine now in the production server
[01:32] <CoJaBo> Things I've tried that failed: ZipArchive (not installed), unzip (same issue as 7zip), and busybox unzip (I hit a bug in it I can't work around)
[01:41] <OerHeks> peazip portable, perhaps? https://www.peazip.org/peazip-portable.html
[01:41] <OerHeks> oh wait, windows..
[01:47] <CoJaBo> Yeh, has to run under Linux
[01:47] <CoJaBo> 7z even HAS a portable version. It just doesn't work, cuz it's not actually a static build.
[02:24] <areth> Need help! Trying to dual-boot ubuntu with windows 10 already installed, and the ubuntu installer won't detect my hard drive. Here is the output of fdisk -l : https://pastebin.com/pvv5BP8r
[02:25] <areth> It appears its only detecting the live-usb
[02:29] <Bashing-om> areth: Thoughts: Secure boot and fast boot disabled; booting the installer in EFI mode ?
[02:31] <areth> Thanks, actually yes I should have said, have disabled fast boot / secure boot
[02:31] <areth> Does booting the installer in EFI mode mean selecting the EFI option when creating the usb in rufus?
[02:31] <areth> Because that's what I did
[02:32] <Bashing-om> areth: I an not that EFI experienced - but in your firmware make sure to select an appropriate EFI boot selection.
[02:35] <areth> I'm not sure what means, firmware I assume means selecting EFI boot in the bios?
[02:35] <areth> Hmmm... reading this guide (because you should always read guides after you've wiped the computer), would suggest I should change SATA to AHCI in the BIOS: https://www.debugpoint.com/2019/01/complete-guide-how-dual-boot-ubuntu-windows/
[02:36] <areth> I'll restart and try that now, appreciate the help Bashing-om :)
[03:00] <fairuz> Good day people
[03:07] <chieta> What's the meaning the *depend with/out the | char on this output?
[03:08] <chieta> https://bpaste.net/show/3OIP
[03:08] <chieta> sorry for the delay
[03:27] <deltab> chieta: my guess is that they indicate alternative groups: ghostscript + libgs-dev, or ghostscript-dbg + ghostscript + libgs-dev, or ...
[03:29] <chieta> noted delta
[05:28] <Wulf> Good Morning
[05:29] <Wulf> What is this regression in dovecot (see USN-4110-3)? Where can I get the sourcecode / diff of both releases?
[05:30] <Wulf> oh, never mind.
[06:11] <abclove> i m dancer now, so i don’t know i must do dancing or learning computer
[06:11] <abclove> :(
[06:13] <abclove> this is me : https://www.youtube.com/watch?v=vhWzEuSZsac
[07:18] <rva> Hello
[07:18] <rva> I am trying to understand the Ubuntu Software center
[07:19] <rva> It often tells me about updates, and I can just click "Update all", without knowing what is being updated. It is probably flatpaks and snaps
[07:19] <rva> but is it on purpose the updates are not listed, or is it just my system?
[07:35] <lotuspsychje> rva: think software centre updates software from software centre, full system updates are via apt or your update manager, and snaps are getting auto updated from the background too
[07:37] <lotuspsychje> rva: to see whats going on exactly, you could launch gnome software from a terminal and a new terminal journalctl -f and see whats all happening in the background
[07:54] <mia> Hey all - I'm using vscode to edit my project files that are in a mounted remote sftp folder. If I weant to use the "terminal" window, I believe, vscode tries to run a remote terminal and fails. Is there any way to use the local terminal insted, in vscode?
[08:03] <rva> lotuspsychje: thanks, I will try the journalctl next time
[08:08] <ubone> https://bpaste.net/show/OGO_ any help with network namespaces?
[08:20] <cluelessperson> Hi there.   I have a new laptop, a Lenovo Thinkpad X1 Yoga, 4th Gen
[08:21] <cluelessperson> It's a gorgeous machine, but I'm finding that somethings don't work out of the box with ubuntu
[08:22] <cluelessperson> So far, it's just.   1. Microphone input.    2. Speakers are configured weird.    3. The stylus buttons aren't configured.
[08:22] <cluelessperson> I believe I might be able to fix them
[08:22] <cluelessperson> Does anyone know how to balance/configure the audio channels for the audio card?
[08:22] <cluelessperson> It seems there's a subwoofer, center, and tweeters.  maybe a 3.1 or 4.1 system?
[08:24] <guiverc> cluelessperson, I'd try `pavucontrol` (Pulse Audio Volume Control); I've only used stereo  but it lets me control left vs right; maybe for you (output devices; click unlock)
[08:26] <cluelessperson> guiverc  nice, yeah, I already have that installed, but good example.  Yes, the speaker channels are all screwed up in mapping
[08:27] <cluelessperson> rear left is actually front right
[08:27] <cluelessperson> and if I mute everything, if I enable rear slider at all, it sounds 100%, even at 1%
[08:27] <cluelessperson> so something is definitely going on
[08:33] <cluelessperson> reading up on lenovo specifications, it seems to have "quad speakers"
[08:33] <cluelessperson> probably tweaters and then bass
[08:33] <cluelessperson> okay, so it is stereo
[08:37] <guiverc> cluelessperson, sorry I can't help, if patient someone else maybe able to help more
[08:38] <cluelessperson> guiverc  well that's on the right track. :)    I'm able to select the right audio "mode"  4.0 (quad speakers), but now it's a matter of balancing audio
[08:39] <cluelessperson> guiverc  and, I happen to have some experience calibrating audio. ;)
[08:39] <cluelessperson> I can play pink noise, and use a high quality microphone + spectrum analyzer to relatively calibrate the audio curve
[08:39] <cluelessperson> however, that leaves the problem of subwoofer sticking at 100% if it's on at all
[08:50] <Antoine-> Hello, I am installing RJ45 mural plugs in my house. I'd like to test if they work properly. I do not have a router, but I have two Ubuntu laptops. If I connect one at each end of my mural plug, can I test them out?
[08:52] <cluelessperson> Antoine-  Google "RJ45" Pinout,  pick either A or B to use across the board.
[08:53] <Triffid_Hunter> Antoine-: if at least one machine has an auto-MDIX 100MBit port or a gigabit port, yes. You can check with mii-tool
[08:53] <cluelessperson> and it's A on both ends, or B on both ends, not A-B
[08:53] <Triffid_Hunter> Antoine-: if you have two non-MDIX 100Mbit ports, you'll need a crossover cable
[08:53] <cluelessperson> Antoine-   Your laptops should autonegotiate a 1G link.
[08:53] <cluelessperson> modern equipment supports without crossover.
[08:54] <cluelessperson> Antoine-   On each laptop, just do  `tail /var/log/syslog` and connect the link.
[08:54] <cluelessperson> you should see 1G negotiated
[08:55] <cluelessperson> doesn't matter if there's an ip or not
[08:55] <Triffid_Hunter> tail -F is helpful for stuff like that ;)
[08:55] <cluelessperson> yeah, sorry, I meant tail -f  ;)
[08:59] <Antoine-> I haven't looked up RJ45 A or B yet. I do not know what auto-MDIX mean. I just connected my two laptops with an Ethernet cable to see what it does when the cable works (I assume its not crossover). In syslog, I get "Link is up - 1Gbps/Full - flow control rx/tx" then some lines, and a lot of DHCPDISCOVER stuff
[09:01] <cluelessperson> Antoine-  did the RJ45 outlet thingies have color codes on them, and did you wire them up with those color codes?
[09:02] <cluelessperson> Antoine-   RJ45 "A" or "B", is basically the color/wiring scheme you're generally supposed to use, but as long as you see that 1Gbps  text, it's fine.
[09:02] <Antoine-> cluelesaperson: I haven't started yet. I just wanted to know how to try them out when I'm done
[09:02] <cluelessperson> that 1Gbps thing is all you need to see.
[09:03] <Antoine-> So I guess when I'm done I can plug a laptop at each end and I'm supposed to see what I told you in syslog, right?
[09:03] <cluelessperson> yeah.
[09:03] <cluelessperson> Antoine-   Basically your adapter should automatically test the various lines and autonegotiate 1M, 10M, 100M, or 1000M(1G)
[09:04] <Antoine-> Great :). Then about layout A and B, can I chose whichever I prefer? Wonder why there are two different layout. Do they work the same? Can my laptop use both then?
[09:07] <cluelessperson> Antoine- Just use A.   I don't know the exact history.
[09:07] <cluelessperson> https://acuitysupport.zendesk.com/hc/en-us/articles/210113548-What-is-the-difference-between-T568A-T568B-
[09:08] <cluelessperson> Antoine-  I think A-B is used to make "crossover cables" from when old equipment didn't support automatically connecting two devices directly to each other.
[09:09] <Mad_Dud> hi guys Ubuntu 18.04.3 LTS - When I plugin Platronics USB headphones, the keyboard layout changes to US. Does anyone know how can i debug it?
[09:10] <cluelessperson> Antoine-    EACH computer has  IN/OUT    IN/OUT    and you had to match them up to let them talk to each other.
[09:10] <cluelessperson> OUT -> IN
[09:10] <cluelessperson> IN <- OUT
[09:11] <cluelessperson> Mad_Dud  tail -f /var/log/syslog    observe usb changes occuring and why.
[09:11] <cluelessperson> presumably your headphones are misread as some sort of keyboard input, causing a input change
[09:12] <cluelessperson> or the power change causes your usb system to reset, causing an input change
[09:12] <cluelessperson> Mad_Dud   lastly, does your keyboard layout default to US?   and do you manually change it to something else?
[09:15] <Mad_Dud> cluelessperson: thanks for suggestion. by default i use us dvorak. i configured it with "dpkg-reconfigure keyboard-configuration" and restarted OS. when i plugin the headphones, the layout canges from dvorak to us. when us is setup and i plug headphones in, it doesn't change to anything else
[09:15] <Mad_Dud> the syslog shows some messages "unhandled action 'bind' on ..."
[09:16] <Mad_Dud> and there is this line: "usb 1-4.4.2: Warning! Unlikely big volume range (=8192), cval->res is probably wrong."
[09:16] <Mad_Dud> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1708495
[09:17] <Mad_Dud> ubottu++
[09:18] <Mad_Dud> heh. automatic ticket. closed without resolution. related to autio.
[09:19] <cluelessperson> Mad_Dud  can you provide a paste link containing the last 100 lines or so?   tail -n 200 /var/log/syslog    when you plugin the usb device?
[09:19] <Mad_Dud> this platronics has got volume up/down etc buttons... it might be acting as a keyboart too
[09:19] <cluelessperson> Mad_Dud  my thinking is your usb system is resetting maybe, and resetting the keyboard input
[09:19] <cluelessperson> or something
[09:19] <Mad_Dud> cluelessperson: where would you like me to upload it?
[09:19] <cluelessperson> Mad_Dud  ah, yeah, that sounds like that's probably it.
[09:20] <cluelessperson> Mad_Dud  you might configure ubuntu to ignore the new keyboard connected, or something
[09:20] <cluelessperson> or at least not change input when a new keyboard is connected
[09:21] <Mad_Dud> ok. i will try to figure it out "not change input"
[09:21] <Antoine-> cluelessperson: Ok, thanks for your help :)
[10:43] <jacks_> Hi I have a headless server, I was hoping someone might know of a distro that has openssh server enabled by default or how to enable it on the ubuntu live usb drives
[10:44] <cluelessperson> jacks_  for what purpose?
[10:45] <jacks_> lots of purposes
[10:45] <jacks_> recovery / building lfs
[10:47] <cluelessperson> back
[10:47] <cluelessperson> who was I responding to?
[10:47] <jacks_> me
[10:47] <bqq> jacks_: you can enable it yourself and make it a distro
[10:48] <cluelessperson> jacks_  open a terminal,   apt-get update && apt-get install openssh-server
[10:48] <cluelessperson> might have to configure a user
[10:48] <cluelessperson> jacks_  what are you actually trying to do though?
[10:49] <jacks_> well it doesn't have a monitor, it has no keyboard
[10:49] <cluelessperson> Ubuntu crashed when I hit   Ctrl+Shift+F1
[10:49] <jacks_> i just wanted something i can plug in, eg. usb flash drive, it boots and starts ssh server
[10:50] <cluelessperson> jacks_ multiple ways to do that, could install to USB drive entirely and just install ssh server there.
[10:50] <jacks_> bqq: i didn't want to reinvent the wheel. must be some distro someone knows of that has ssh enabled by default as a live usb bootable distro
[10:51] <jacks_> hmm good point
[10:51] <cluelessperson> jacks_  it's kinda a security issue.
[10:51] <jacks_> i might try that
[10:51] <jacks_> I dunno i'm not really bothered by it
[10:52] <jacks_> I'll try installing on to a dest usb drive
[10:52] <jacks_> thanks dunno why I didn't think of that myself
[10:52] <cluelessperson> jacks_   Do this.  Install alpine linux onto a usb drive, and add an ssh server.  It's super minimal, like 5-10MB total
[10:53] <jacks_> size doesn't bother me so much, would be good if it was ubuntu tho because of build tools
[10:53] <cluelessperson> jacks_  alpine has build tools. :P
[10:53] <jacks_> i got plenty of flash drives so ill give it a shot
[10:53] <cluelessperson> https://github.com/alpinelinux/alpine-chroot-install
[10:53] <jacks_> cool
[10:53] <jacks_> i'll check it out
[10:54] <cluelessperson> I'm thinking it might be as easy as.   chroot-install alpine on usb,  chroot install grub bootloader on usb, chroot apk add ssh-server, chroot enable openrc service ssh server on boot
[10:55] <cluelessperson> see if that boots.  You wind up with a minimal imzge.
[10:55] <cluelessperson> image
[10:55] <jacks_> cool
[10:55] <cluelessperson> if you prefer debian/apt, you can use  debootstrap
[10:56] <jacks_> thanks
[10:57] <bqq> cluelessperson: 5m-10m is that small? standand alpine >117M
[10:58] <cluelessperson> bqq  I could be incorrect, I thought it was much smaller.
[10:58] <cluelessperson> Anyway, great for creating nice ram based boots
[11:00] <bqq> cluelessperson: grub2 itself 8M
[11:02] <BluesKaj> Hey folks
[11:02] <cluelessperson> sup
[11:03] <bqq> cluelessperson:  but alpine is still perhaps the smallest decent distro over there
[11:03] <cluelessperson> dunno where I got the number from
[11:03] <cluelessperson> I'll have to look up and compare them
[11:04] <bqq> dsl 50m, puppy over 100m
[11:05] <cluelessperson> bqq  I strip them down to minimal packages.
[11:06] <cluelessperson> I thought dsl was 5M
[11:09] <bqq> there are some distro <5m but barely decent useful
[12:31] <friendlyGoat> helloo i need help with something small and weird, i want to fix an error in my log i keep getting that just says eno1: DHCP lease expired and it wont seem to go away no matter what i try elsewhere.
[12:31] <friendlyGoat> i can use the internet fine but that just wont go away
[12:37] <bnason> How do I get an 18.04 server to completely forget about a dhcp IP? I've cloned this VM and it keeps trying to take the original VMs IP...
[12:46] <algid> anyone familiar with update-manager getting stuck on a brave browswer update
[12:47] <algid> i uninstalled brave but it still keeps trying to download an update from there and it never finishes and slows down my whole computer
[12:47] <algid> i'd much rather see ads than this nonsense
[12:47] <guiverc> bnason, maybe helpful - https://help.ubuntu.com/lts/serverguide/network-configuration.html  (has dynamic & static addressing info)
[13:17] <bnason> guiverc: thanks, i added dhcp-identifier: mac to my /etc/netplan/50-cloud-init.yaml and ran netplan apply and that seems to have worked
[13:17] <guiverc> :)
[13:20] <newhorn> I accidentally used the command line tool pastebinit tool to paste a doc with sensitive info. How do I get it removed from the server at http://paste.ubuntu.com
[13:21] <pragmaticenigma> newhorn: You can't
[13:21] <newhorn> :O
[13:22] <newhorn> Please what can I do? Wouldn't this be publicly viewable?
[13:23] <guiverc> newhorn, anything on paste.ubuntu.com is publically viewable, that's what it's for
[13:24] <guiverc> newhorn, in time it'll disappear  (it's not long term storage; see https://paste.ubuntu.com/ for details)
[13:24] <pragmaticenigma> newhorn: You might be able to get assistnace via e-mailing "rt@ubuntu.com" ... there are no guarantees there. This channel is run by volunteers, no one here has any control over Canonical's web properties, including paste.ubuntu.com
[13:25] <pragmaticenigma> newhorn: If it is any consolation, the page is flagged to not be indexed by any web bots that respect the robots.txt. If you have passwords in that file, I suggest you start changing those right away.
[13:26] <newhorn> guiverc, pragmaticenigma: Many thanks.
[13:29] <Diplomat> Hey! I have a little problem here with date. For some reason my VM's clock is staying behind all the time. When I run ntpdate -u pool.ntp.org it updates back to real time.. but after few hours it's about 20 min behind again. Any idea what might be wrong? I can't see anything in syslog that would look like ntp error something.
[13:29] <coz_> battery??
[13:29] <Diplomat> When I run timedatectl then this is the output: https://paste.ubuntu.com/p/V76tDC9WMx/
[13:30] <Diplomat> It says "NTP synchronized: no" not sure why
[13:30] <pragmaticenigma> Diplomat: That would be a question to register with the developer of the Virtual Machine software
[13:30] <Ool> Diplomat: your host have the right time ?
[13:31] <Diplomat> Not sure really.. It's just a VPS that I bought some time ago
[13:31] <Diplomat> But I can ask from the host
[13:31] <coz_> Too early for me, I didnt read the post properly from Diplomat
[14:00] <Snowy_> Hello, I've just installed Ubuntu 18.04.2 on a cheap laptop, it won't detect the built-in wifi adapter and the laptop has no wired network card, how can I go about finding the right drivers and getting them installed on the machine?
[14:00] <Habbie> Snowy_, can you 'lsusb' or 'lspci' or 'lshw'?
[14:03] <Snowy_> yes I just ran all 3 commands, I cannot find anything that looks like a wireless card ( how do I mention someone in a message? )
[14:03] <Habbie> Snowy_, like i do here - your nick, plus a comma (or a colon : )
[14:03] <kettlecooked> I'm trying to understand an SSH issue, can someone tell me if this is normal? I have a Ubuntu server with a user 'deployer'. That users home dir has a .ssh folder, and an "authorized_keys" file. That file contains a single public key (not know which key this is). My colleague, who connects with his own personal key (which looks totally DIFFERENT from the one in authorized_keys) can connect successfully. How does this make sense?
[14:04] <Habbie> Snowy_, can you show the output of all 3? we understand that you cannot copy/paste from the machine so maybe a photo?
[14:04] <kettlecooked> And by different, I mean we are comparing his public key to the public key stored in authorized_keys (we're not confusing it with the private key)
[14:04] <Habbie> kettlecooked, i don't suppose you want to show us the two public keys?
[14:06] <kettlecooked> you know what.. I think asking for that might've solved it. It's all concatenated on a single line, vs our other servers where it's all newline delimited. Did not spot until now
[14:06] <Habbie> kettlecooked, happy to be your rubber duck :)
[14:09] <Snowy_> Habbie, here: https://pastebin.com/uBDQ4VDq
[14:11] <Habbie> Snowy_, line 4 is interesting
[14:12] <Snowy_> Bus 001 Device 007: ID 6080:8061  ?
[14:12] <Habbie> Snowy_, i cannot find any references to vendor 6080 online anywhere
[14:12] <Habbie> yes
[14:12] <Habbie> oh, https://github.com/linuxhw/LsUSB/blob/master/Tablet/README.md says it's a keyboard
[14:13] <Habbie> Snowy_, how did you get this data from the laptop to the pastebin?
[14:14] <Snowy_> Habbie, saved on a text file and copyed between machines with a thumbdrive
[14:14] <Habbie> Snowy_, that is much appreciated from this side :)
[14:14] <Habbie> Snowy_, is it possible that the wireless is disabled by some hardware switch? Fn-someFunctionKey perhaps? do you have 'rfkill' installed?
[14:16] <Snowy_> Habbie, there is no hardware switch or fn-key combination to disable the wifi afaik, I don't know how to check for rfkill
[14:16] <Habbie> Snowy_, 'apt show rfkill' or 'dpkg -l rfkill' or just try 'which rfkill' at a root prompt
[14:17] <Snowy_> Habbie, it seems to be installed
[14:18] <Habbie> Snowy_, i haven't used it; so now you get to figure out if it can enable your wifi somehow
[14:18] <Habbie> Snowy_, i have no idea if this will help
[14:19] <coz_> Snowy_, when you run rfkill, does it show anything?
[14:21] <Snowy_> coz_, I've tryed "rfkill list" and it gives no output at all
[14:22] <Snowy_> Habbie, one important bit of information, upon installation I've been asked if I wanted to enable 3rd party drivers, and was asked to provide a password to do so, which will be asked for at next boot, but I haven't noticed any prompt for it, did I miss something there?
[14:26] <jeremy31> Snowy_: try ubuntuforums.org or askubuntu.com if it isn't fixed here
[14:29] <Snowy_> jeremy31, noted, thanks
[14:43] <Habbie> Snowy_, i'm out of ideas, sorry.. good luck
[14:54] <Snowy_> Habbie, no problem, I've found a bigger problem right now, the battery seems to be swelling, I defnetly want to get that checked, thanks for your time!
[14:54] <crised> To understand the load average given in `top` I understand that the number of CPU the system has. How many single CPU does this system appear to have? ->   Processors | physical = 1, cores = 2, virtual = 2, hyperthreading = no
[14:54] <crised> 2, right?
[14:55] <lordcirth_> crised, that sounds like 1 physical CPU socket, with 2 cores.
[14:55] <crised> lordcirth_: correct, but top would count this as 2, right?
[14:55] <lordcirth_> Yes.
[15:55] <sudoISS>  @tomreyn: Back to the "pull DHCP at boot" question... I'm not entirely sure how to "edit the network configuration", but I found this: https://help.ubuntu.com/lts/serverguide/network-configuration.html <-- is that what you're talking about?
[16:05] <tomreyn> sudoISS: if you run the latest Ubuntu Server LTS release, 18.04, that's a yes.
[16:07] <tomreyn> sudoISS: you really should read some documentation if you're running a server, especially if it's on the internet.
[16:07] <sudoISS> It's a VM on my local machine which I use to generate certs. :|
[16:09] <sudoISS> I'm just trying to learn a lot of this stuff, but the behavior of being connected to a network and NOT requesting a DHCP lease is... uh, different, and I was wondering how to fix it post-install. I just used the standard ISO to install it into the Hyper-V instance.
[16:10] <tomreyn> static network configurations are actually pretty common in a server environment.
[16:10] <B|ack0p> hi
[16:11] <sudoISS> @tomreyn: I'm aware
[16:11] <tomreyn> and probably more common than dynamic ones overall. still, changing your configuration to do DHCP shouldn't be difficult, really.
[16:11] <sudoISS> @tomreyn: We're actually using them, for the most part, here
[16:11] <tomreyn> i see
[16:12] <tomreyn> see how far you can get, and if there are any issues, ask in #ubuntu-server, i'd say.
[16:13] <tomreyn> (btw. there's no need for @ in front of nicknames on IRC)
[17:14] <rcp> anyone know of any decent linux support companies? trying to get a quote for some server management.
[17:15] <lordcirth_> rcp, try #ubuntu-discuss
[17:19] <de-facto> where is Xorg.0.log on 18.04?
[17:20] <de-facto> is it ~/.local/share/xorg/Xorg.0.log ?
[17:20] <de-facto> weird location for that
[17:20] <lordcirth_> de-facto, /var/log/Xorg.0.log for me
[17:21] <lordcirth_> But I think it depends, because different login managers start it as root or as your user? Not sure.
[17:22] <de-facto> something like that, i searched for /var/log/Xorg.0.log and was a bit surprised that it is not present
[17:23] <de-facto> I am trying to find the cause of gnome3 freezes starting with later updates (not sure which package exactly)
[17:24] <de-facto> dmesg and Xorg.0.log are clear afaik
[17:25] <de-facto> the /var/log/gdm3/ is empty...?
[17:26] <de-facto> dang whats going on with logfiles?!
[17:37] <diskin> de-facto, I run locate Xorg.0.log and found it in ~/.local/share/xorg/Xorg.0.log
[17:44] <de-facto> diskin, yeah that seems to be the new location for some reason
[17:45] <banisterfiend> how do i get the actual path of a process from its pid, without resorting to /proc? cos /proc apperas to give me junk sometimes (i.e clearly not a valid path...or not a path that actually exists on the system)
[17:45] <Habbie> banisterfiend, why do you want this?
[17:45] <Habbie> banisterfiend, and, what part of /proc is disappointing you in this regard?
[17:45] <banisterfiend> Habbie /proc/PID/exe is disappointing me
[17:46] <banisterfiend> i just want the actual path a process was started from
[17:46] <banisterfiend> in macos you can just do: proc_pidpath()
[17:46] <banisterfiend> but it seems much more tricky in linux?
[17:46] <Habbie> i mean, surely you have a reason for wanting this, and perhaps that reason has other solutions as well
[17:46] <banisterfiend> Habbie ah, i want to be able to route traffic for certain applications differently, based on their path
[17:47] <Habbie> hmm, can't you execute into some cgroup for that?
[17:47] <banisterfiend> i hook the process creation, check the path based on pid, and then add that pid to the cgroup, if it's a path i care about
[17:47] <Habbie> but, also, how is /exe failing for you?
[17:47] <Habbie> ok
[17:47] <Habbie> so we're pretty much aligned on the methods
[17:47] <banisterfiend> Habbie well i can't use cgexec, cos the apps might be already running
[17:47] <banisterfiend> Habbie it's for customers/end users
[17:47] <banisterfiend> if it was just me i'd just use cgexec :)
[17:47] <Habbie> understood :)
[17:47] <Habbie> so how is /exe failing?
[17:48] <banisterfiend> Habbie it gives me nosense sometimes, sometimes the paths don't exist on the sytem or the paths include junk, let me give you ane xample
[17:48] <banisterfiend> i can get results like this: "exec: process path=/bin/dashdevice for \(.*\): usb:.*=\(TAG.*\)$/\1 \2/p"
[17:48] <banisterfiend> or "/bin/dashhexchatlinux-gnu/glib-2.0/gio-launch-desktop"
[17:49] <Habbie> are you sure that's /exe and not /cmdline ?
[17:49] <banisterfiend> which isn't a path that even exists on my system!
[17:49] <banisterfiend> yes 100% sure that's /exe
[17:49] <sarnold> o_O
[17:49] <sarnold> how do we replicate this?
[17:49] <banisterfiend> cmdline just gives me "hexchat"
[17:49] <banisterfiend> but the path gives me "/bin/dashhexchatlinux-gnu/glib-2.0/gio-launch-desktop"
[17:49] <Habbie> that surprises me
[17:49] <Habbie> how about /proc/self/maps?
[17:51] <Habbie> or /proc/X/comm
[17:51] <banisterfiend> never heard of those
[17:51] <banisterfiend> sorry i'm new to linux from macos, where i implemented the same using proc_pidpath
[17:51] <banisterfiend> i just want the equivalent
[17:52] <Habbie> doesn't matter you haven't heard of them, you can try them :)
[17:52] <sarnold> $ man -k proc_pidpath
[17:52] <sarnold> proc_pidpath: nothing appropriate.
[17:52] <Habbie> but i'm still confused that /exe does not work for you
[17:52] <sarnold> where'd you get this proc_pidpath?
[17:52] <banisterfiend> Habbie here's the code i'm using: https://gist.github.com/banister/63bf69ae3717bff0f01f8fbebc1f6c33
[17:53] <banisterfiend> sarnold it's hidden API on macos, but it exists
[17:53] <banisterfiend> and it's public
[17:53] <Habbie> banisterfiend, when this code fails for you, does ls -al /proc/PID/exe also give garbage?
[17:54] <banisterfiend> Habbie let me try ,good point indeed
[17:54] <sarnold> banisterfiend: there we go! :D
[17:54] <sarnold> banisterfiend: found your bug, you forgot to nul-terminate the buffer
[17:55] <sarnold>        readlink() places the contents of the symbolic link pathname
[17:55] <sarnold>        in the buffer buf, which has size bufsiz.  readlink() does
[17:55] <sarnold>        not append a null byte to buf.
[17:55] <Habbie> ah!
[17:55] <Habbie> i was just scanning for something like that
[17:55] <sarnold> banisterfiend: probably char buf[256] = {0}; will do what you want
[17:55] <Habbie> no stop
[17:56]  * sarnold stops
[17:56] <Habbie> not 256 but the return value of readlink
[17:56] <Habbie> or zero the whole thing before, of course
[17:56] <banisterfiend> i thought sprintf null terminated itself?
[17:56] <sarnold> Habbie: ah, yes, that's the zero-the-whole-thing approach
[17:56] <Habbie> banisterfiend, your path is not coming out of sprintf, it's coming out of readlink
[17:56] <Habbie> sarnold, oh, sorry, i misread you, yes, you do my second suggestion and that works
[17:56] <psilly0> thanks
[17:56] <sarnold> Habbie: I can see how what i said could be misread. It's scary. I'm glad you said something :D
[17:57] <Habbie> i misread it as buf[256]=0
[17:57] <sarnold> which is indeed a NO SARNOLD STOP moment
[17:57] <Habbie> then when i thought 'no wait that is beyond the allocated buffer' i reread
[17:57] <Habbie> banisterfiend, sorry for me and sarnold confusing eachother - did you get something from this?
[17:57] <banisterfiend> ah you guys are right
[17:57] <banisterfiend> in teh man page
[17:57] <banisterfiend> "readlink does not null terminate teh buffer"
[17:57] <banisterfiend> i just assumed it would
[17:57] <Habbie> yes
[17:57] <banisterfiend> let me check now :)
[17:58] <Habbie> i also assumed that but your failure really smelled like this
[17:58] <Habbie> so i was just reading that when sarnold reported it
[17:59] <banisterfiend> that's looking muich better now!
[17:59] <Habbie> yay
[17:59] <sarnold> yay!
[17:59] <Habbie> good - it would really surprise me if /exe was garbage
[17:59] <sarnold> same
[17:59] <sarnold> and if it had what looked to me like a missing NUL terminator garbage .. potentially very scary :)
[17:59] <banisterfiend> thanks, i should have read the docs for readlink first
[18:00] <banisterfiend> i just assumed it null terminated
[18:00] <banisterfiend> thanks again guys, looking good now :)
[18:00] <banisterfiend> btw is tehre any other C API for doing this other than reading from /proc ?
[18:00] <banisterfiend> or is /proc the official way?
[18:00] <banisterfiend> jsut want: pid -> path
[18:01] <Habbie> banisterfiend, /proc is the best interface linux has for these things
[18:01] <Habbie> banisterfiend, there are libs out there that support many OSes
[18:01] <Habbie> banisterfiend, and on linux, they use /proc
[18:01] <banisterfiend> wonderful, thanks
[18:01] <ikanobori> Does linux have a kinfo_proc synonym?
[18:02] <sarnold> ikanobori: what's that do? :)
[18:02] <ikanobori> https://www.freebsd.org/cgi/man.cgi?query=kinfo_getproc&sektion=3&apropos=0&manpath=FreeBSD%2010.0-RELEASE
[18:02] <banisterfiend> Habbie do you think this approach is likely to be fast enough btw? i mean...will adding the pid to the cgroup happen before chrome starts creating sockets do you think?
[18:02] <ikanobori> It does what procfs does on Linux :)
[18:02] <sarnold> unfortunately I only really know the APIs linux expose -- higher level apis that devbelopers would find enjoyable to use are almost entirely foreign to me
[18:03] <banisterfiend> seems linux loves VFS for so many things, the entire cgroup API appears to be exposed through VFS too
[18:04] <Habbie> banisterfiend, your question about a race condition is a very good question but i don't have an answer
[18:04] <Habbie> banisterfiend, there's a reason i, with many words, said 'use cgexec' (i did not know it was called cgexec)
[18:04] <Habbie> banisterfiend, i wonder if any of this can be done with file attributes or something like that
[18:24] <mandude> I just install mariadb-server, and I did not get the blue screen in terminal where you enter the root password etc.
[18:24] <mandude> What is the default root password for mariadb in 18.04 ubuntu
[18:24] <mandude> I need to get in so I can make user accounts and such
[18:25] <Habbie> mandude, can you just try 'mysql -u root'?
[18:25] <mandude> yes, I tried no password as well
[18:25] <mandude> mysql -u root -p
[18:25] <mandude> $  mysql -u root
[18:25] <mandude> ERROR 1698 (28000): Access denied for user 'root'@'localhost'
[18:26] <mandude> I just installed it. Usually anytime I have installed mysql/mariadb in the past in Ubuntu, it always gives me a blue screen asking me to specify a root password.
[18:26] <mandude> I have done apt-get --purge remove mariadb* and then I have reinstalled it, wiped all the tables/db from the system
[18:26] <Habbie> the mysql/mariadb docs have a generic password reset howto
[18:27] <mandude> Upon reinstalling it fresh without any config files or db, it still does not give me the screen where I can specify root pass upon installation
[18:27] <mandude> But this is quite goofy. To let people install mariadb-server in ubuntu and then require them to go through the hassle of resetting a password.
[18:27] <Habbie> well i'm sure it's not supposed to be like that
[18:28] <Habbie> so perhaps there's a reason you are not getting that prompt
[18:28] <Habbie> what ubuntu version?
[18:28] <mandude> 18.04 LTS
[18:28] <Habbie> what's your apt-get install command?
[18:28] <mandude> It's a fresh system, I just installed it.
[18:28] <mandude> apt install mariadb-server
[18:29] <Habbie> can you do the purge again, and then pastebin the full output of apt install mariadb-server?
[18:29] <mandude> sure
[18:32] <imapi> did you run the mysql_secure_installation?
[18:32] <imapi> script
[18:32] <mandude> Nope. Just whatever came with ubuntu
[18:32] <imapi> I havn't dont it for a long time but
[18:33] <imapi> in that case root can log in without password for localhost?
[18:33] <imapi> and this script will set the password for root
[18:33] <mandude> https://stackoverflow.com/questions/43379892/mariadb-cannot-login-as-root
[18:33] <mandude> Look at the last reply
[18:34] <Habbie> Unlike native MariaDB packages (those provided by MariaDB itself), packages generated by Ubuntu by default have unix_socket authentication for the local root.
[18:34] <Habbie> ah!
[18:34] <mandude> What does this mean?
[18:34] <Habbie> it means 'sudo mysql' from the question might be helpful
[18:34] <mandude> That's just stupid!
[18:34] <mandude> Wow.
[18:34] <mandude> That's universally stupid.
[18:34] <Habbie> it really isn't
[18:34] <Habbie> no
[18:34] <mandude> It really is.
[18:34] <Habbie> good luck.
[18:35] <mandude> This is not a reaction. It's a well thought out developer quirk. No one likes that nonsense.
[18:35] <leftyfb> mandude: it means, authentication is done just by logging into mysql as root from the local machine. No remote access or passwords
[18:35] <mandude> Ubuntu should leave things alone.
[18:35] <mandude> *sigh*
[18:35] <mandude> That's the problem with every distro. No QA. Everyone thinks they have the best way to implement something.
[18:35] <mandude> Should move back to BSD.
[18:36] <leftyfb> mandude: if you have root on the machine, authentication to databases means nothing regardless
[18:36] <lotus|i5> mandude: this isnt the complaints channel
[18:36] <leftyfb> mandude: also, it has nothing to do with ubuntu https://mariadb.com/kb/en/library/authentication-plugin-unix-socket/
[18:37] <mandude> Certainly. Habbie thank you for checking that out for me. Great help. :)
[18:37] <leftyfb> Habbie: according to the mariadb docs, unix_socket is default in MariaDB 10.4.3 and newer
[18:38] <leftyfb> Debian has enabled it since 9 and Ubuntu since 15.10
[18:38] <Habbie> leftyfb, cool, i like that a lot
[18:38] <Habbie> leftyfb, (but i had no idea until just now)
[18:39] <Habbie> mandude, you're welcome!
[18:40] <mandude> Now I'm acquiring the packages from here, so I won't have to ask you for support
[18:40] <mandude> https://downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro_release=bionic--ubuntu_bionic&mirror=nus&version=10.4
[18:40] <leftyfb> mandude: you know that won't get you what you want right?
[18:41] <leftyfb> mandude: as I pointed out, MariaDB enabled unix_socket by default
[18:42] <Habbie> the answer on that stackoverflow page is about ubuntu doing this by default on 10.0, and the person installing upstream 10.2 to avoid the default
[18:42] <Habbie> but as leftyfb indeed pointed out, the 10.4 you linked should also have this behaviour
[18:43] <mandude> The reason I used ubuntu was so I don't have to setup everything manually.
[18:43] <mandude> It's a nice workstation distro for work
[18:43] <leftyfb> mandude: again, this has nothing to do with ubuntu
[18:44] <mandude> But then, when distros do things for you, sometimes they also do things you don't want or originally wanted done differently.
[18:44] <mandude> Even then, I can't stand the horridness of gui things.
[18:45] <mandude> I use Xmonad, Kubuntu (only the kde panel for task switching), Firefox/Netbeans and urxvt. Everything cli unless I need dev tools.
[18:45] <mandude> Buntu works for my needs but certains things I wish were different.
[18:45] <leftyfb> mandude: take it elsewhere. This is a support channel
[18:46] <leftyfb> mandude: https://www.linuxbabe.com/mariadb/plugin-unix_socket-is-not-loaded-2   this is what you want. Start on line "Another authentication plugin is mysql_native_password. MariaDB uses this plugin to authenticate a user who is created with this command:"
[18:47] <mandude> Actually it's the same behavior in non ubuntu packages.
[18:48]  * leftyfb is shocked
[18:56] <banisterfiend> Habbie you still here?
[18:57] <Habbie> banisterfiend, i am, but if you have a question, just ask it, there's lot of clever people in here that know way more than i do
[18:57] <banisterfiend> Habbie ah, i was just going to ask how i can atomically update the net_cls /tasks file
[18:57] <banisterfiend> if i want to remove/add other pids
[18:57] <Habbie> i don't know what that is, sorry :)
[18:58] <banisterfiend> for cgroups
[18:58] <banisterfiend> routing processes differently based on pid
[18:58] <Habbie> ah that
[18:58] <Habbie> i don't know
[18:58] <banisterfiend> i add the pid of the procsses to sys/fs/cgroup/net_cls/foo/tsks
[18:58] <banisterfiend> but i need to be able to add/remove pids atomically
[18:58] <banisterfiend> i.e not just adding them one by one
[18:58] <Habbie> how do you add them?
[18:59] <banisterfiend> literally by: echo $PID > /sys/fs/cgroup/net_cls/foo/tasks 😂
[18:59] <Habbie> so why does it need to be atomic?
[18:59] <banisterfiend> because i may want to remove one
[18:59] <banisterfiend> but i can't see a way to actually remove them
[18:59] <banisterfiend> i think i just have to add them all again
[18:59] <Habbie> ah
[19:00] <Habbie> sorry, i don't know
[19:00] <banisterfiend> but if i add them 1 by 1, then there's an issue
[19:04] <kifaro> When I scp I get a version type mismatch, I did a apt-get upgrade on both machines... google didn't help, thanks!
[19:05] <Habbie> kifaro, please show the error
[19:05] <kifaro> lol just tried to run as sudo for the heck of it and it worked
[19:05] <kifaro> #ubuntu magic :)
[19:06] <Habbie> ehh
[19:21] <orbiter> hi, adding a bridge with brctl addbr - why is it GONE after Reboot??? that never happened before
[19:22] <Habbie> brctl addbr does not store anything anywhere
[19:22] <Daemoen> is there a rebuild anywhere of pip/pip3 for ubuntu 18?  unfortunately 9.0.1 that comes by default with u18 is legit broken between pip and requests issues
[19:28] <orbiter> Habbie so I'll just add the interfaces to network/interfaces or netplan?
[19:28] <orbiter> depending on what I use
[19:28] <mithrison> what's the deal with GS* packages on raspbian? https://uploads.kiwiirc.com/files/c2aac2d313741e64f1e5653238560e53/pasted.txt can't find it when I try apt install
[19:29] <Habbie> orbiter, probably
[19:30] <Habbie> mithrison, this is #ubuntu
[19:30] <Habbie> mithrison, try #raspberrypi or #raspbian
[19:33] <orbiter> I forgot setting bridge_ports in network/interfaces... thanks
[19:43] <cyberyl> hello
[19:44] <Matviy> I'm trying to kexec into an ubuntu live CD. I was able to extract the squashfs file system from the ISO and put it on /dev/sda and then put the kernel and initrd on another drive
[19:44] <cyberyl> does anybody know, I have an old radeon graphics card, and youtube video are really laggy
[19:44] <Matviy> Then I kexec -l /mnt/flash/ubuntu/casper/vmlinuz --initrd="/mnt/flash/ubuntu/casper/initrd" --ramdisk="/mnt/flash/ubuntu/casper/initrd" --append="console=tty0 console=ttyS0 rw root=/dev/sda"
[19:45] <cyberyl> so i'm wondering if i can install anything to improve the performance
[19:45] <Matviy> It seems to boot up fine, but I'm getting a [FAILED] Failed to start Load Kernel Modules.
[20:39] <tomreyn> cyberyl: which graphics card is it, which ubuntu version are you running?
[20:39] <tomreyn> lspci -knn | grep -A3 VGA | nc termbin.com 9999
[20:39] <tomreyn> nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL)
[20:45] <cluelessperson> sup
[20:46] <cyberyl> tomreyn ATI Mobility Radeon X300 (64MB GDDR SDRAM)
[20:47] <cyberyl> I already figured out that it doesn't support VA-API out of the box
[20:47] <cyberyl> but you can do it through a translation layer: https://wiki.archlinux.org/index.php/Hardware_video_acceleration#Translation_layers
[20:47] <cyberyl> but i can't figure out how to do it in ubuntu
[20:47] <cyberyl> ie what package i need
[20:48] <cyberyl> do it: add VA-API support
[20:48] <tomreyn> cyberyl: doh, that's really old hardware. have you considered replacing it? even a current intel GPU should be faster now, and AMD GPU certainly is.
[20:49] <cyberyl> it's an older machine i kinda want to play with, so i haven't really considered replacing it :)
[20:50] <tomreyn> whle you're limited to this hardware, try using youtibe-dl or similar to download the videos and play them back in a video player (which is not also a web browser)
[20:54] <cyberyl> well maybe it can't handle youtube, but i'd like to try and configure this translation layer, to see if it does anything
[20:57] <tomreyn> personally i'm not interested on trying to get better performance out of 15 yo hardware. maybe others will be happy to spend time. good luck!
[20:59] <cyberyl> ok, no problem, thanks for trying anyway :)
[21:07] <rumbler31> trying to set up a local package repo.  after adding entries in sources.list to point to my local copy and removing the ones that reference the publicly hosted ones, apt update seems to succeed.  But when I go to try to upgrade an installed package, I am told that I have the latest version when in fact a newer version is present in the Packages fil
[21:07] <rumbler31> e and the newer release is in the mirror
[21:08] <rumbler31> how do I debug this?
[21:19] <mystic> how to turn on on-screen keyboard ?
[21:21] <mystic> done it myself
[21:22] <cluelessperson> is anyone familiar with creating custom speaker configurations?
[21:24] <notgnu> I was wondering how to remove a matching string from all files in a directory. like I have pithos-fly which records pandora songs... but it puts "(loved)" at the end of songs I have liked. how could I remove that in one go?
[21:24] <cluelessperson> notgnu    sed
[21:26] <notgnu> {wanders off to read more on sed}
[21:26] <notgnu> thanks
[21:26] <deltab> notgnu: the filename?
[21:27] <notgnu> its a bunch of songs. like 311 - Amber (loved).mp3 Jack Johnson - Broken (loved).mp3 etc......
[21:28] <cluelessperson> I have a TON of these messages
[21:28] <cluelessperson> Window manager warning: Overwriting existing binding of keysym A with keysym B (keycode C)
[21:29] <cluelessperson> what are these and how do I make it stop?
[21:30] <deltab> notgnu: apt install rename; rename -n -e 's/ \(loved\)//' *loved*
[21:31] <deltab> the -n means it won't actually rename, just tell you what it'll do so that you can check
[21:31] <deltab> if it all looks right, remove the -n
[21:32] <Betal> if I install Ubuntu, make any change, recreate the iso from that installation, can it still be "Ubuntu"? or "only for personal use"? (if made public should remove all Ubuntu reference)
[21:33] <Betal> I didn't found related info on the wiki
[21:36] <deltab> notgnu: to prevent it happening in future, edit pithos.py, find the line "if self.current_song.rating == RATE_LOVE:", and change it to "if false:"
[21:37] <deltab> (or delete the line and the next two, and shift the following line left)
[21:37] <notgnu> ^^ oh shit didn't even think of that! you rock!! :D  :D
[21:39] <rumbler31> anyone know why apt can't find the latest version of a package from my local repo?
[21:40] <rumbler31> I see the updated package version in the packages file, and the deb exists in the repo
[21:40] <rumbler31> update gets the right package file from my repo, but the package appears to be the latest version according to apt, which is false
[21:42] <OerHeks> rumbler31, what ubuntu version, what package and what 'local repo' ?
[21:42] <rumbler31> 16.04 lts
[21:42] <rumbler31> the latest perl package
[21:42] <rumbler31> and a local repo mirror I made
[21:43] <rumbler31> the currently installed version of the perl package is one release behind the latest, my repo has the latest
[21:43] <OerHeks> we nbeed more details, version nr?
[21:43] <OerHeks> so vague, what wouyld you answer?
[21:44] <rumbler31> installed
[21:44] <rumbler31> 5.22.1-9ubuntu0.5
[21:44] <rumbler31> available in my repo and matches the currently distributed version
[21:44] <rumbler31> 5.22.1-9ubuntu0.6
[21:44] <OerHeks> 06 is in 16.04 updates https://launchpad.net/ubuntu/+source/perl
[21:45] <rumbler31> yup, and I have that in my mirror, or at least I think I do
[21:45] <deltab> Betal: if you're distributing your changed version, it can't use the Ubuntu trademarks (unless you get permission). https://ubuntu.com/legal/intellectual-property-policy
[21:45] <rumbler31> I know I have the package list with the latest version and the binary for it in the file tree
[21:46] <rumbler31> Ign:4 http://192.168.0.169:8080/ubuntu xenial/main amd64 Packageswhich is the package file where this package is listed
[21:47] <rumbler31> so that is being fetched correctly
[21:47] <OerHeks> when was the last time you ran 'apt-get dist-upgrade' ?
[21:47] <rumbler31> not sure
[21:47] <rumbler31> what does that do
[21:47] <rumbler31> in this context
[21:47] <OerHeks> !dist-upgrade
[21:47] <OerHeks> it might give a fresh kernel and other core elements
[21:47] <OerHeks> that would explain kept back perl
[21:47] <rumbler31> in this case I do not want this, unless it is blocking me from upgrading this package
[21:47] <rumbler31> er
[21:48] <OerHeks> you can run it, and hit 'n' to cancel
[21:48] <rumbler31> ok let me see
[21:48] <OerHeks> or the -d dryrun option
[21:49] <rumbler31> it says there is no work to do
[21:50] <OerHeks> oh, no clue then, perl -05 installed,..
[21:50] <rumbler31> ?
[21:52] <Betal> deltab: got it, thanks, so only allowed for personal use, not allowed even to give for friends a custom iso (was just trying to find out the point of some iso creators over there)
[21:53] <deltab> Betal: I think you can create an installation script that sets which packages are included and some config
[21:54] <OerHeks> Betal, you can respin the iso with cubic, but we are not happy to support such install, unless you add just ubuntu packages.
[21:54] <OerHeks> https://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image
[21:55] <OerHeks> rumbler31, disable your local repo, and reinstall perl again?
[21:56] <rumbler31> I am testing a workflow to update systems in the field with no internet access, so I need the local repo workflow to work
[21:57] <n-iCe> hi
[21:58] <OerHeks> rumbler31, interesting, so why does those offline systems not find perl with apt?
[21:58] <rumbler31> you tell me lol
[21:58] <Betal> deltab, OerHeks: so using cubic Iam allowed to create a new iso using some apt purge and apt install, and later make it public or the "can't use Ubuntu trademarks" still valid
[21:59] <OerHeks> Betal, yes, that does not infringe trademark. you might even add a ppa, like drivers-ppa or others. 3rd party repo's are the problem.
[22:03] <cluelessperson> When I modify /etc/pam.d/sudo   nothing happens
[22:03] <cluelessperson> I can't seem to get other pam modules to work
[22:57] <^amra> hello. I have one ext IP on my ubuntu server and want to forward incoming connections from myserver.con:27960 to subdomain.myserver.com:27961 this is possible?
[22:59] <sarnold> ^amra: think in terms of ip addresses, not dns names, and you'll probably have an easier time of setting it up; iptables can do that
[22:59] <^amra> Hm
[23:00] <^amra> but if i have only on ip address
[23:00] <^amra> And I need to sort incoming connections by domain names
[23:00] <^amra> Is it possible?
[23:01] <^amra> For example if incoming request searches for subdomain.myserver.com:27960 -> redirect to *:27961
[23:01] <^amra> Protocol is UDP
[23:02] <sarnold> oh, hmm, maybe I completely misunderstood what you're trying to do; can you describe more of it?
[23:02] <saor> Sounds like a job for an apache/nginx redirect but need more info
[23:05] <sarnold> but udp is a real surprising twist
[23:05] <xtacie> Question.. fresh install of 18.04 server ed and latest mariadb. I cannot get the service to start.. keeps timeing out. I added some rules to apparmor and most the errors went away except for one and still cannot start it
[23:05] <^amra> sarnold, I have only one extIP and can create several subdomains on it. On the server I have several quake3 game-servers on misc different ports. Server is Ubuntu 18.04.3... I try to understand how can I forward incoming connections by UDP protocol and distribute all incoming connections to differnet ports where is each port is for some name used for incoming connection. not ip
[23:05] <xtacie> apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13
[23:05] <sarnold> xtacie: maria disables the apparmor parser entirely; did you switch from mysql?
[23:05] <xtacie> sorry, just seen paste comment in topic
[23:06] <xtacie> fresh install of barebone 18.04 and i believe i left out mysql
[23:06] <xtacie> i was getting dozens of DENIED msgs.. and then added the default apparmor rules of mysql and restarted and still nothing
[23:09] <xtacie> sarnold: https://paste.ubuntu.com/p/bQbFqHqZGd/
[23:10] <sarnold> xtacie: I ask about the mysql because *this* is what mariadb ships for an apparmor profile: http://paste.ubuntu.com/p/pps7RMjRxp/
[23:11] <xtacie> hmm, so how.. erase the rules i set.. and how do i make apparmor ignore mariadb
[23:13] <sarnold> apparmor_parser --remove /etc/apparmor.d/usr.sbin.mysqld ;  followed by an apt purge <all the mariadb packages> ; followed by apt install <the mariadb packages>  --- perhaps just an apt install --reinstall ... but i've not tried that..
[23:13] <sarnold> just be sure to save aside the configs you want before you purge them
[23:20] <xtacie> it was a little scary to do but......  sudo apt-get --purge remove "mysql*"
[23:21] <kinghat> you guys have a simple way to run a speed test via cli? basically my ubuntu server vps. wanna see what the host caps it at.
[23:21] <xtacie> wget lets u know the speed of a file you retrieve..
[23:22] <xtacie> wget http://ipv4.download.thinkbroadband.com/1GB.zip
[23:23] <xtacie> for disk performance (might get u in trouble if you run alot) u can try....
[23:23] <xtacie> dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
[23:25] <kinghat> what about upload?
[23:25] <kinghat> there is a speedtest-cli
[23:25] <xtacie> google packages... speedtest and
[23:25] <xtacie> fast
[23:25] <kinghat> speedof.me is nice
[23:29] <nshire> trying to use speedof.me on MS edge and its not loading correctly
[23:30] <OerHeks> nshire, file a bugreport ... wait
[23:31] <nshire> I can't even download chrome, it's so slow aaahhhh
[23:31] <OerHeks> !ot
[23:31] <nshire> oops
[23:31] <nshire> where am I
[23:31] <OerHeks> 'buntu
[23:32] <nshire> I'm looking at 3 computers and a phone right now, I got lost lol sorry
[23:41] <henninb> hi, i am trying to see glyphs from zsh on the console, where can I download the correct font to install with setfont
[23:44] <sarnold> henninb: try fonts-noto, I think it's got a lot of glypohs
[23:44] <henninb> thanks sarnold, i will check it out.
[23:45] <deltab> indeed it does, which is how it got its name
[23:46] <deltab> some font renderers display missing glyphs as white squares, nicknamed 'tofu'
[23:46] <deltab> 'Noto' is from 'no tofu'
[23:50] <deltab> for use on the console though, do you need psf fonts?
[23:52] <FurretUber> Is there a way to hide a user from pkexec?
[23:53] <henninb> not sure if i absolutely need it, but I would like my console to show the gliphs from zsh
[23:54] <sarnold> deltab: hah, cool :D I hadn't heard that before
[23:56] <deltab> henninb: which characters do you need? I think there's a low limit on how many the console can show
[23:56] <henninb> the ones for git
[23:56] <sarnold> oh hmnm, at the console, yeah, I wouldn't expect that to go over well. it's got pretty limited capabilities.
[23:57] <henninb> i am using oh my zsh
[23:57] <deltab> is it an actual text mode, or is it text drawn on a graphical mode?
[23:58] <henninb> i am not sure I understand the question deltab. it is all text from my point of view.