/srv/irclogs.ubuntu.com/2019/08/29/#ubuntu.txt

manjeetsHi 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:23
manjeetsidea how do i fix it ?00:24
sarnoldmanjeets: that means your module was intended for a different kernel00:24
sarnoldhow to fix it depends upon how you got to this point :)00:24
manjeetssarnold, my machine has kenrl 58 version00:25
manjeetsis there a way I can explicitly point modprobe to specific version ?00:26
sarnoldmanjeets: insmod can take a specific path00:26
sarnoldmanjeets: that way you can give the path to the version of the module compiled against the 58 headers00:26
ausjkeisc-dhcp-server, how to define the dhcp-server's own IP?00:28
entry_lvl_devso 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 DB00:29
ausjkeall tutorials are greatly explain everything except that, how to get an IP address for itself!00:29
manjeetssarnold,  sudo insmod pathto_ko returns same thing00:32
sarnoldmanjeets: do you need to recompile your module? how did you build it?00:33
sarnoldausjke: you just give the server one with eg netplan or /etc/network/interfaces, depending upon what release you're using00:34
sarnoldausjke: make sure you don't configure the dhcpd to hand out the address it's already using :D00:34
manjeetsits basically a ethernet driver followed instructions from documentation untar the i40e driver and make install00:35
sarnoldentry_lvl_dev: something like ssh -L 3306:awshostip:330600:36
manjeetssarnold, networking on my machine is screwed up (with i40 update) its not even detecting nic cards00:36
manjeetssarnold, recompiled the driver and insmod just worked00:37
manjeetsthanks appreciate it :)00:37
sarnoldmanjeets: woot :)00:37
manjeetsdoes insmod persists reboot ?00:38
sarnoldno00:38
sarnold/etc/modules-load.d/ is probably the best answer if it doesn't autoload for whatever reason00:38
entry_lvl_devsarnold and then i would just need tell my local enviornment to connect to localhost 3306 and it should work fine right?00:40
sarnoldentry_lvl_dev: yeah00:40
entry_lvl_devthanks sarnold00:41
sarnoldyou're welcome entry_lvl_dev, have fun :)00:42
ausjkesarnold: it works, thanks!00:45
sarnoldausjke: nice :)00:45
CoJaBoDoes LD_LIBRARY_PATH not apply to stuff in /lib64 or something?01:06
sarnoldI have one thing in that directory and it's not a useful executable01:09
sarnoldwhat are you trying to do?01:09
geniiI'm pretty sure lib64 is deprecated01:12
CoJaBoYeh, it's /lib64/ld-linux-x86-64.so.201:14
CoJaBogenii: 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:15
=== zbenjamin is now known as Guest50711
=== zbenjamin_ is now known as zbenjamin
geniiThat file should actually be a symlink to  /lib/x86_64-linux-gnu/ld-2.27.so01:17
CoJaBoYeh, I even corrected the symlink to point to the right place. Still nothing01:18
CoJaBoI'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:19
sarnoldCoJaBo: so.. why doesn't apt install p7zip work?01:21
CoJaBosarnold: Because it needs root01:21
sarnoldahh01:22
CoJaBoI'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 somehow01:22
sarnoldso, how'd you do that? apt download, then ar x, then tar xf ?01:24
CoJaBosarnold: Copied it from my own system, which has it installed01:25
guivercCoJaBo, `ldconfig -p` will print cache of dirs & candidate libs currently available..01:25
sarnoldCoJaBo: is your local system identical to the one where you don't have root?01:27
CoJaBosarnold: Not completely, so I may hit other problems down the road; I'm first trying to get it to work on my system01:28
deltabCoJaBo: does the system have python installed?01:29
OerHeksso you have access to the php zipfiles you want to read?01:29
CoJaBoNo Python, but it works if I hexedit the path in the binary01:30
ausjkei 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:30
CoJaBoNot really sure why I didn't think of that sooner01:31
CoJaBoThat was the only problem, it also works just fine now in the production server01:31
CoJaBoThings 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:32
OerHekspeazip portable, perhaps? https://www.peazip.org/peazip-portable.html01:41
OerHeksoh wait, windows..01:41
CoJaBoYeh, has to run under Linux01:47
CoJaBo7z even HAS a portable version. It just doesn't work, cuz it's not actually a static build.01:47
arethNeed 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/pvv5BP8r02:24
arethIt appears its only detecting the live-usb02:25
Bashing-omareth: Thoughts: Secure boot and fast boot disabled; booting the installer in EFI mode ?02:29
arethThanks, actually yes I should have said, have disabled fast boot / secure boot02:31
arethDoes booting the installer in EFI mode mean selecting the EFI option when creating the usb in rufus?02:31
arethBecause that's what I did02:31
Bashing-omareth: I an not that EFI experienced - but in your firmware make sure to select an appropriate EFI boot selection.02:32
arethI'm not sure what means, firmware I assume means selecting EFI boot in the bios?02:35
arethHmmm... 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:35
arethI'll restart and try that now, appreciate the help Bashing-om :)02:36
fairuzGood day people03:00
chietaWhat's the meaning the *depend with/out the | char on this output?03:07
chietahttps://bpaste.net/show/3OIP03:08
chietasorry for the delay03:08
deltabchieta: my guess is that they indicate alternative groups: ghostscript + libgs-dev, or ghostscript-dbg + ghostscript + libgs-dev, or ...03:27
chietanoted delta03:29
WulfGood Morning05:28
WulfWhat is this regression in dovecot (see USN-4110-3)? Where can I get the sourcecode / diff of both releases?05:29
Wulfoh, never mind.05:30
=== SuperL4g is now known as SuperLag
abclovei m dancer now, so i don’t know i must do dancing or learning computer06:11
abclove:(06:11
abclovethis is me : https://www.youtube.com/watch?v=vhWzEuSZsac06:13
rvaHello07:18
rvaI am trying to understand the Ubuntu Software center07:18
rvaIt often tells me about updates, and I can just click "Update all", without knowing what is being updated. It is probably flatpaks and snaps07:19
rvabut is it on purpose the updates are not listed, or is it just my system?07:19
=== export_ is now known as export
lotuspsychjerva: 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 too07:35
lotuspsychjerva: 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 background07:37
miaHey 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?07:54
rvalotuspsychje: thanks, I will try the journalctl next time08:03
ubonehttps://bpaste.net/show/OGO_ any help with network namespaces?08:08
cluelesspersonHi there.   I have a new laptop, a Lenovo Thinkpad X1 Yoga, 4th Gen08:20
cluelesspersonIt's a gorgeous machine, but I'm finding that somethings don't work out of the box with ubuntu08:21
cluelesspersonSo far, it's just.   1. Microphone input.    2. Speakers are configured weird.    3. The stylus buttons aren't configured.08:22
cluelesspersonI believe I might be able to fix them08:22
cluelesspersonDoes anyone know how to balance/configure the audio channels for the audio card?08:22
cluelesspersonIt seems there's a subwoofer, center, and tweeters.  maybe a 3.1 or 4.1 system?08:22
guiverccluelessperson, 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:24
cluelesspersonguiverc  nice, yeah, I already have that installed, but good example.  Yes, the speaker channels are all screwed up in mapping08:26
cluelesspersonrear left is actually front right08:27
cluelesspersonand if I mute everything, if I enable rear slider at all, it sounds 100%, even at 1%08:27
cluelesspersonso something is definitely going on08:27
cluelesspersonreading up on lenovo specifications, it seems to have "quad speakers"08:33
cluelesspersonprobably tweaters and then bass08:33
cluelesspersonokay, so it is stereo08:33
guiverccluelessperson, sorry I can't help, if patient someone else maybe able to help more08:37
cluelesspersonguiverc  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 audio08:38
cluelesspersonguiverc  and, I happen to have some experience calibrating audio. ;)08:39
cluelesspersonI can play pink noise, and use a high quality microphone + spectrum analyzer to relatively calibrate the audio curve08:39
cluelesspersonhowever, that leaves the problem of subwoofer sticking at 100% if it's on at all08:39
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:50
cluelesspersonAntoine-  Google "RJ45" Pinout,  pick either A or B to use across the board.08:52
Triffid_HunterAntoine-: if at least one machine has an auto-MDIX 100MBit port or a gigabit port, yes. You can check with mii-tool08:53
cluelesspersonand it's A on both ends, or B on both ends, not A-B08:53
Triffid_HunterAntoine-: if you have two non-MDIX 100Mbit ports, you'll need a crossover cable08:53
cluelesspersonAntoine-   Your laptops should autonegotiate a 1G link.08:53
cluelesspersonmodern equipment supports without crossover.08:53
cluelesspersonAntoine-   On each laptop, just do  `tail /var/log/syslog` and connect the link.08:54
cluelesspersonyou should see 1G negotiated08:54
cluelesspersondoesn't matter if there's an ip or not08:55
Triffid_Huntertail -F is helpful for stuff like that ;)08:55
cluelesspersonyeah, sorry, I meant tail -f  ;)08:55
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 stuff08:59
cluelesspersonAntoine-  did the RJ45 outlet thingies have color codes on them, and did you wire them up with those color codes?09:01
cluelesspersonAntoine-   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 done09:02
cluelesspersonthat 1Gbps thing is all you need to see.09:02
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
cluelesspersonyeah.09:03
cluelesspersonAntoine-   Basically your adapter should automatically test the various lines and autonegotiate 1M, 10M, 100M, or 1000M(1G)09:03
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:04
cluelesspersonAntoine- Just use A.   I don't know the exact history.09:07
cluelesspersonhttps://acuitysupport.zendesk.com/hc/en-us/articles/210113548-What-is-the-difference-between-T568A-T568B-09:07
cluelesspersonAntoine-  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:08
Mad_Dudhi 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:09
cluelesspersonAntoine-    EACH computer has  IN/OUT    IN/OUT    and you had to match them up to let them talk to each other.09:10
cluelesspersonOUT -> IN09:10
cluelesspersonIN <- OUT09:10
cluelesspersonMad_Dud  tail -f /var/log/syslog    observe usb changes occuring and why.09:11
cluelesspersonpresumably your headphones are misread as some sort of keyboard input, causing a input change09:11
cluelesspersonor the power change causes your usb system to reset, causing an input change09:12
cluelesspersonMad_Dud   lastly, does your keyboard layout default to US?   and do you manually change it to something else?09:12
Mad_Dudcluelessperson: 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 else09:15
Mad_Dudthe syslog shows some messages "unhandled action 'bind' on ..."09:15
Mad_Dudand there is this line: "usb 1-4.4.2: Warning! Unlikely big volume range (=8192), cval->res is probably wrong."09:16
Mad_Dudhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/170849509:16
ubottuLaunchpad bug 1708495 in linux (Ubuntu) "usb 3-1: Warning! Unlikely big volume range (=10361), cval->res is probably wrong." [Low,Expired]09:16
Mad_Dudubottu++09:17
Mad_Dudheh. automatic ticket. closed without resolution. related to autio.09:18
cluelesspersonMad_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_Dudthis platronics has got volume up/down etc buttons... it might be acting as a keyboart too09:19
cluelesspersonMad_Dud  my thinking is your usb system is resetting maybe, and resetting the keyboard input09:19
cluelesspersonor something09:19
Mad_Dudcluelessperson: where would you like me to upload it?09:19
cluelesspersonMad_Dud  ah, yeah, that sounds like that's probably it.09:19
cluelesspersonMad_Dud  you might configure ubuntu to ignore the new keyboard connected, or something09:20
cluelesspersonor at least not change input when a new keyboard is connected09:20
Mad_Dudok. i will try to figure it out "not change input"09:21
Antoine-cluelessperson: Ok, thanks for your help :)09:21
=== jmcgnh_ is now known as jmcgnh
=== jmcgnh is now known as jmcgnh_
=== jmcgnh_ is now known as jmcgnh
=== xeon is now known as bqq
=== abbiya_ is now known as abbiya
=== abbiya_ is now known as abbiya
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 drives10:43
cluelesspersonjacks_  for what purpose?10:44
jacks_lots of purposes10:45
jacks_recovery / building lfs10:45
cluelesspersonback10:47
cluelesspersonwho was I responding to?10:47
jacks_me10:47
bqqjacks_: you can enable it yourself and make it a distro10:47
cluelesspersonjacks_  open a terminal,   apt-get update && apt-get install openssh-server10:48
cluelesspersonmight have to configure a user10:48
cluelesspersonjacks_  what are you actually trying to do though?10:48
jacks_well it doesn't have a monitor, it has no keyboard10:49
cluelesspersonUbuntu crashed when I hit   Ctrl+Shift+F110:49
jacks_i just wanted something i can plug in, eg. usb flash drive, it boots and starts ssh server10:49
cluelesspersonjacks_ 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 distro10:50
jacks_hmm good point10:51
cluelesspersonjacks_  it's kinda a security issue.10:51
jacks_i might try that10:51
jacks_I dunno i'm not really bothered by it10:51
jacks_I'll try installing on to a dest usb drive10:52
jacks_thanks dunno why I didn't think of that myself10:52
cluelesspersonjacks_   Do this.  Install alpine linux onto a usb drive, and add an ssh server.  It's super minimal, like 5-10MB total10:52
jacks_size doesn't bother me so much, would be good if it was ubuntu tho because of build tools10:53
cluelesspersonjacks_  alpine has build tools. :P10:53
jacks_i got plenty of flash drives so ill give it a shot10:53
cluelesspersonhttps://github.com/alpinelinux/alpine-chroot-install10:53
jacks_cool10:53
jacks_i'll check it out10:53
cluelesspersonI'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 boot10:54
cluelesspersonsee if that boots.  You wind up with a minimal imzge.10:55
cluelesspersonimage10:55
jacks_cool10:55
cluelesspersonif you prefer debian/apt, you can use  debootstrap10:55
jacks_thanks10:56
bqqcluelessperson: 5m-10m is that small? standand alpine >117M10:57
cluelesspersonbqq  I could be incorrect, I thought it was much smaller.10:58
cluelesspersonAnyway, great for creating nice ram based boots10:58
bqqcluelessperson: grub2 itself 8M11:00
BluesKajHey folks11:02
cluelesspersonsup11:02
bqqcluelessperson:  but alpine is still perhaps the smallest decent distro over there11:03
cluelesspersondunno where I got the number from11:03
cluelesspersonI'll have to look up and compare them11:03
bqqdsl 50m, puppy over 100m11:04
cluelesspersonbqq  I strip them down to minimal packages.11:05
cluelesspersonI thought dsl was 5M11:06
bqqthere are some distro <5m but barely decent useful11:09
=== subopt is now known as _subopt_in_repos
=== GWM-Deus is now known as GWM
friendlyGoathelloo 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
friendlyGoati can use the internet fine but that just wont go away12:31
bnasonHow 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:37
algidanyone familiar with update-manager getting stuck on a brave browswer update12:46
algidi uninstalled brave but it still keeps trying to download an update from there and it never finishes and slows down my whole computer12:47
algidi'd much rather see ads than this nonsense12:47
guivercbnason, maybe helpful - https://help.ubuntu.com/lts/serverguide/network-configuration.html  (has dynamic & static addressing info)12:47
bnasonguiverc: thanks, i added dhcp-identifier: mac to my /etc/netplan/50-cloud-init.yaml and ran netplan apply and that seems to have worked13:17
guiverc:)13:17
newhornI 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.com13:20
pragmaticenigmanewhorn: You can't13:21
newhorn:O13:21
newhornPlease what can I do? Wouldn't this be publicly viewable?13:22
guivercnewhorn, anything on paste.ubuntu.com is publically viewable, that's what it's for13:23
guivercnewhorn, in time it'll disappear  (it's not long term storage; see https://paste.ubuntu.com/ for details)13:24
pragmaticenigmanewhorn: 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.com13:24
pragmaticenigmanewhorn: 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:25
newhornguiverc, pragmaticenigma: Many thanks.13:26
DiplomatHey! 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
DiplomatWhen I run timedatectl then this is the output: https://paste.ubuntu.com/p/V76tDC9WMx/13:29
DiplomatIt says "NTP synchronized: no" not sure why13:30
pragmaticenigmaDiplomat: That would be a question to register with the developer of the Virtual Machine software13:30
OolDiplomat: your host have the right time ?13:30
DiplomatNot sure really.. It's just a VPS that I bought some time ago13:31
DiplomatBut I can ask from the host13:31
coz_Too early for me, I didnt read the post properly from Diplomat13:31
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
HabbieSnowy_, can you 'lsusb' or 'lspci' or 'lshw'?14:00
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
HabbieSnowy_, like i do here - your nick, plus a comma (or a colon : )14:03
kettlecookedI'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:03
HabbieSnowy_, can you show the output of all 3? we understand that you cannot copy/paste from the machine so maybe a photo?14:04
kettlecookedAnd 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
Habbiekettlecooked, i don't suppose you want to show us the two public keys?14:04
kettlecookedyou 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 now14:06
Habbiekettlecooked, happy to be your rubber duck :)14:06
Snowy_Habbie, here: https://pastebin.com/uBDQ4VDq14:09
HabbieSnowy_, line 4 is interesting14:11
Snowy_Bus 001 Device 007: ID 6080:8061  ?14:12
HabbieSnowy_, i cannot find any references to vendor 6080 online anywhere14:12
Habbieyes14:12
Habbieoh, https://github.com/linuxhw/LsUSB/blob/master/Tablet/README.md says it's a keyboard14:12
HabbieSnowy_, how did you get this data from the laptop to the pastebin?14:13
Snowy_Habbie, saved on a text file and copyed between machines with a thumbdrive14:14
HabbieSnowy_, that is much appreciated from this side :)14:14
HabbieSnowy_, is it possible that the wireless is disabled by some hardware switch? Fn-someFunctionKey perhaps? do you have 'rfkill' installed?14:14
Snowy_Habbie, there is no hardware switch or fn-key combination to disable the wifi afaik, I don't know how to check for rfkill14:16
HabbieSnowy_, 'apt show rfkill' or 'dpkg -l rfkill' or just try 'which rfkill' at a root prompt14:16
Snowy_Habbie, it seems to be installed14:17
HabbieSnowy_, i haven't used it; so now you get to figure out if it can enable your wifi somehow14:18
HabbieSnowy_, i have no idea if this will help14:18
coz_Snowy_, when you run rfkill, does it show anything?14:19
Snowy_coz_, I've tryed "rfkill list" and it gives no output at all14:21
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:22
jeremy31Snowy_: try ubuntuforums.org or askubuntu.com if it isn't fixed here14:26
Snowy_jeremy31, noted, thanks14:29
=== Wryhder is now known as Lucas_Gray
HabbieSnowy_, i'm out of ideas, sorry.. good luck14:43
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
crisedTo 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 = no14:54
crised2, right?14:54
lordcirth_crised, that sounds like 1 physical CPU socket, with 2 cores.14:55
crisedlordcirth_: correct, but top would count this as 2, right?14:55
lordcirth_Yes.14: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?15:55
tomreynsudoISS: if you run the latest Ubuntu Server LTS release, 18.04, that's a yes.16:05
tomreynsudoISS: you really should read some documentation if you're running a server, especially if it's on the internet.16:07
sudoISSIt's a VM on my local machine which I use to generate certs. :|16:07
sudoISSI'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:09
tomreynstatic network configurations are actually pretty common in a server environment.16:10
B|ack0phi16:10
sudoISS@tomreyn: I'm aware16:11
tomreynand 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, here16:11
tomreyni see16:11
tomreynsee how far you can get, and if there are any issues, ask in #ubuntu-server, i'd say.16:12
tomreyn(btw. there's no need for @ in front of nicknames on IRC)16:13
rcpanyone know of any decent linux support companies? trying to get a quote for some server management.17:14
lordcirth_rcp, try #ubuntu-discuss17:15
de-factowhere is Xorg.0.log on 18.04?17:19
de-factois it ~/.local/share/xorg/Xorg.0.log ?17:20
de-factoweird location for that17:20
lordcirth_de-facto, /var/log/Xorg.0.log for me17:20
lordcirth_But I think it depends, because different login managers start it as root or as your user? Not sure.17:21
de-factosomething like that, i searched for /var/log/Xorg.0.log and was a bit surprised that it is not present17:22
de-factoI am trying to find the cause of gnome3 freezes starting with later updates (not sure which package exactly)17:23
de-factodmesg and Xorg.0.log are clear afaik17:24
de-factothe /var/log/gdm3/ is empty...?17:25
de-factodang whats going on with logfiles?!17:26
diskinde-facto, I run locate Xorg.0.log and found it in ~/.local/share/xorg/Xorg.0.log17:37
de-factodiskin, yeah that seems to be the new location for some reason17:44
banisterfiendhow 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
Habbiebanisterfiend, why do you want this?17:45
Habbiebanisterfiend, and, what part of /proc is disappointing you in this regard?17:45
banisterfiendHabbie /proc/PID/exe is disappointing me17:45
banisterfiendi just want the actual path a process was started from17:46
banisterfiendin macos you can just do: proc_pidpath()17:46
banisterfiendbut it seems much more tricky in linux?17:46
Habbiei mean, surely you have a reason for wanting this, and perhaps that reason has other solutions as well17:46
banisterfiendHabbie ah, i want to be able to route traffic for certain applications differently, based on their path17:46
Habbiehmm, can't you execute into some cgroup for that?17:47
banisterfiendi 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 about17:47
Habbiebut, also, how is /exe failing for you?17:47
Habbieok17:47
Habbieso we're pretty much aligned on the methods17:47
banisterfiendHabbie well i can't use cgexec, cos the apps might be already running17:47
banisterfiendHabbie it's for customers/end users17:47
banisterfiendif it was just me i'd just use cgexec :)17:47
Habbieunderstood :)17:47
Habbieso how is /exe failing?17:47
banisterfiendHabbie it gives me nosense sometimes, sometimes the paths don't exist on the sytem or the paths include junk, let me give you ane xample17:48
banisterfiendi can get results like this: "exec: process path=/bin/dashdevice for \(.*\): usb:.*=\(TAG.*\)$/\1 \2/p"17:48
banisterfiendor "/bin/dashhexchatlinux-gnu/glib-2.0/gio-launch-desktop"17:48
Habbieare you sure that's /exe and not /cmdline ?17:49
banisterfiendwhich isn't a path that even exists on my system!17:49
banisterfiendyes 100% sure that's /exe17:49
sarnoldo_O17:49
sarnoldhow do we replicate this?17:49
banisterfiendcmdline just gives me "hexchat"17:49
banisterfiendbut the path gives me "/bin/dashhexchatlinux-gnu/glib-2.0/gio-launch-desktop"17:49
Habbiethat surprises me17:49
Habbiehow about /proc/self/maps?17:49
Habbieor /proc/X/comm17:51
banisterfiendnever heard of those17:51
banisterfiendsorry i'm new to linux from macos, where i implemented the same using proc_pidpath17:51
banisterfiendi just want the equivalent17:51
Habbiedoesn't matter you haven't heard of them, you can try them :)17:52
sarnold$ man -k proc_pidpath17:52
sarnoldproc_pidpath: nothing appropriate.17:52
Habbiebut i'm still confused that /exe does not work for you17:52
=== juboxi is now known as jubo2
sarnoldwhere'd you get this proc_pidpath?17:52
banisterfiendHabbie here's the code i'm using: https://gist.github.com/banister/63bf69ae3717bff0f01f8fbebc1f6c3317:52
banisterfiendsarnold it's hidden API on macos, but it exists17:53
banisterfiendand it's public17:53
Habbiebanisterfiend, when this code fails for you, does ls -al /proc/PID/exe also give garbage?17:53
banisterfiendHabbie let me try ,good point indeed17:54
sarnoldbanisterfiend: there we go! :D17:54
sarnoldbanisterfiend: found your bug, you forgot to nul-terminate the buffer17:54
sarnold       readlink() places the contents of the symbolic link pathname17:55
sarnold       in the buffer buf, which has size bufsiz.  readlink() does17:55
sarnold       not append a null byte to buf.17:55
Habbieah!17:55
Habbiei was just scanning for something like that17:55
sarnoldbanisterfiend: probably char buf[256] = {0}; will do what you want17:55
Habbieno stop17:55
* sarnold stops17:56
Habbienot 256 but the return value of readlink17:56
Habbieor zero the whole thing before, of course17:56
banisterfiendi thought sprintf null terminated itself?17:56
sarnoldHabbie: ah, yes, that's the zero-the-whole-thing approach17:56
Habbiebanisterfiend, your path is not coming out of sprintf, it's coming out of readlink17:56
Habbiesarnold, oh, sorry, i misread you, yes, you do my second suggestion and that works17:56
psilly0thanks17:56
sarnoldHabbie: I can see how what i said could be misread. It's scary. I'm glad you said something :D17:56
Habbiei misread it as buf[256]=017:57
sarnoldwhich is indeed a NO SARNOLD STOP moment17:57
Habbiethen when i thought 'no wait that is beyond the allocated buffer' i reread17:57
Habbiebanisterfiend, sorry for me and sarnold confusing eachother - did you get something from this?17:57
banisterfiendah you guys are right17:57
banisterfiendin teh man page17:57
banisterfiend"readlink does not null terminate teh buffer"17:57
banisterfiendi just assumed it would17:57
Habbieyes17:57
banisterfiendlet me check now :)17:57
Habbiei also assumed that but your failure really smelled like this17:58
Habbieso i was just reading that when sarnold reported it17:58
banisterfiendthat's looking muich better now!17:59
Habbieyay17:59
sarnoldyay!17:59
Habbiegood - it would really surprise me if /exe was garbage17:59
sarnoldsame17:59
sarnoldand if it had what looked to me like a missing NUL terminator garbage .. potentially very scary :)17:59
banisterfiendthanks, i should have read the docs for readlink first17:59
banisterfiendi just assumed it null terminated18:00
banisterfiendthanks again guys, looking good now :)18:00
banisterfiendbtw is tehre any other C API for doing this other than reading from /proc ?18:00
banisterfiendor is /proc the official way?18:00
banisterfiendjsut want: pid -> path18:00
Habbiebanisterfiend, /proc is the best interface linux has for these things18:01
Habbiebanisterfiend, there are libs out there that support many OSes18:01
Habbiebanisterfiend, and on linux, they use /proc18:01
banisterfiendwonderful, thanks18:01
ikanoboriDoes linux have a kinfo_proc synonym?18:01
sarnoldikanobori: what's that do? :)18:02
ikanoborihttps://www.freebsd.org/cgi/man.cgi?query=kinfo_getproc&sektion=3&apropos=0&manpath=FreeBSD%2010.0-RELEASE18:02
banisterfiendHabbie 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
ikanoboriIt does what procfs does on Linux :)18:02
sarnoldunfortunately I only really know the APIs linux expose -- higher level apis that devbelopers would find enjoyable to use are almost entirely foreign to me18:02
banisterfiendseems linux loves VFS for so many things, the entire cgroup API appears to be exposed through VFS too18:03
Habbiebanisterfiend, your question about a race condition is a very good question but i don't have an answer18:04
Habbiebanisterfiend, there's a reason i, with many words, said 'use cgexec' (i did not know it was called cgexec)18:04
Habbiebanisterfiend, i wonder if any of this can be done with file attributes or something like that18:04
=== nullbyte_ is now known as sunzero
mandudeI just install mariadb-server, and I did not get the blue screen in terminal where you enter the root password etc.18:24
mandudeWhat is the default root password for mariadb in 18.04 ubuntu18:24
mandudeI need to get in so I can make user accounts and such18:24
Habbiemandude, can you just try 'mysql -u root'?18:25
mandudeyes, I tried no password as well18:25
mandudemysql -u root -p18:25
mandude$  mysql -u root18:25
mandudeERROR 1698 (28000): Access denied for user 'root'@'localhost'18:25
mandudeI 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
mandudeI have done apt-get --purge remove mariadb* and then I have reinstalled it, wiped all the tables/db from the system18:26
Habbiethe mysql/mariadb docs have a generic password reset howto18:26
mandudeUpon reinstalling it fresh without any config files or db, it still does not give me the screen where I can specify root pass upon installation18:27
mandudeBut 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
Habbiewell i'm sure it's not supposed to be like that18:27
Habbieso perhaps there's a reason you are not getting that prompt18:28
Habbiewhat ubuntu version?18:28
mandude18.04 LTS18:28
Habbiewhat's your apt-get install command?18:28
mandudeIt's a fresh system, I just installed it.18:28
mandudeapt install mariadb-server18:28
Habbiecan you do the purge again, and then pastebin the full output of apt install mariadb-server?18:29
mandudesure18:29
imapidid you run the mysql_secure_installation?18:32
imapiscript18:32
mandudeNope. Just whatever came with ubuntu18:32
imapiI havn't dont it for a long time but18:32
imapiin that case root can log in without password for localhost?18:33
imapiand this script will set the password for root18:33
mandudehttps://stackoverflow.com/questions/43379892/mariadb-cannot-login-as-root18:33
mandudeLook at the last reply18:33
HabbieUnlike native MariaDB packages (those provided by MariaDB itself), packages generated by Ubuntu by default have unix_socket authentication for the local root.18:34
Habbieah!18:34
mandudeWhat does this mean?18:34
Habbieit means 'sudo mysql' from the question might be helpful18:34
mandudeThat's just stupid!18:34
mandudeWow.18:34
mandudeThat's universally stupid.18:34
Habbieit really isn't18:34
Habbieno18:34
mandudeIt really is.18:34
Habbiegood luck.18:34
mandudeThis is not a reaction. It's a well thought out developer quirk. No one likes that nonsense.18:35
leftyfbmandude: it means, authentication is done just by logging into mysql as root from the local machine. No remote access or passwords18:35
mandudeUbuntu should leave things alone.18:35
mandude*sigh*18:35
mandudeThat's the problem with every distro. No QA. Everyone thinks they have the best way to implement something.18:35
mandudeShould move back to BSD.18:35
leftyfbmandude: if you have root on the machine, authentication to databases means nothing regardless18:36
lotus|i5mandude: this isnt the complaints channel18:36
leftyfbmandude: also, it has nothing to do with ubuntu https://mariadb.com/kb/en/library/authentication-plugin-unix-socket/18:36
mandudeCertainly. Habbie thank you for checking that out for me. Great help. :)18:37
leftyfbHabbie: according to the mariadb docs, unix_socket is default in MariaDB 10.4.3 and newer18:37
leftyfbDebian has enabled it since 9 and Ubuntu since 15.1018:38
Habbieleftyfb, cool, i like that a lot18:38
Habbieleftyfb, (but i had no idea until just now)18:38
Habbiemandude, you're welcome!18:39
mandudeNow I'm acquiring the packages from here, so I won't have to ask you for support18:40
mandudehttps://downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro_release=bionic--ubuntu_bionic&mirror=nus&version=10.418:40
leftyfbmandude: you know that won't get you what you want right?18:40
leftyfbmandude: as I pointed out, MariaDB enabled unix_socket by default18:41
Habbiethe 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 default18:42
Habbiebut as leftyfb indeed pointed out, the 10.4 you linked should also have this behaviour18:42
mandudeThe reason I used ubuntu was so I don't have to setup everything manually.18:43
mandudeIt's a nice workstation distro for work18:43
leftyfbmandude: again, this has nothing to do with ubuntu18:43
mandudeBut then, when distros do things for you, sometimes they also do things you don't want or originally wanted done differently.18:44
mandudeEven then, I can't stand the horridness of gui things.18:44
mandudeI use Xmonad, Kubuntu (only the kde panel for task switching), Firefox/Netbeans and urxvt. Everything cli unless I need dev tools.18:45
mandudeBuntu works for my needs but certains things I wish were different.18:45
leftyfbmandude: take it elsewhere. This is a support channel18:45
leftyfbmandude: 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:46
mandudeActually it's the same behavior in non ubuntu packages.18:47
* leftyfb is shocked18:48
banisterfiendHabbie you still here?18:56
Habbiebanisterfiend, 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 do18:57
banisterfiendHabbie ah, i was just going to ask how i can atomically update the net_cls /tasks file18:57
banisterfiendif i want to remove/add other pids18:57
Habbiei don't know what that is, sorry :)18:57
banisterfiendfor cgroups18:58
banisterfiendrouting processes differently based on pid18:58
Habbieah that18:58
Habbiei don't know18:58
banisterfiendi add the pid of the procsses to sys/fs/cgroup/net_cls/foo/tsks18:58
banisterfiendbut i need to be able to add/remove pids atomically18:58
banisterfiendi.e not just adding them one by one18:58
Habbiehow do you add them?18:58
banisterfiendliterally by: echo $PID > /sys/fs/cgroup/net_cls/foo/tasks 😂18:59
Habbieso why does it need to be atomic?18:59
banisterfiendbecause i may want to remove one18:59
banisterfiendbut i can't see a way to actually remove them18:59
banisterfiendi think i just have to add them all again18:59
Habbieah18:59
Habbiesorry, i don't know19:00
banisterfiendbut if i add them 1 by 1, then there's an issue19:00
kifaroWhen I scp I get a version type mismatch, I did a apt-get upgrade on both machines... google didn't help, thanks!19:04
Habbiekifaro, please show the error19:05
kifarolol just tried to run as sudo for the heck of it and it worked19:05
kifaro#ubuntu magic :)19:05
Habbieehh19:06
orbiterhi, adding a bridge with brctl addbr - why is it GONE after Reboot??? that never happened before19:21
Habbiebrctl addbr does not store anything anywhere19:22
Daemoenis 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 issues19:22
orbiterHabbie so I'll just add the interfaces to network/interfaces or netplan?19:28
orbiterdepending on what I use19:28
mithrisonwhat's the deal with GS* packages on raspbian? https://uploads.kiwiirc.com/files/c2aac2d313741e64f1e5653238560e53/pasted.txt can't find it when I try apt install19:28
Habbieorbiter, probably19:29
Habbiemithrison, this is #ubuntu19:30
Habbiemithrison, try #raspberrypi or #raspbian19:30
orbiterI forgot setting bridge_ports in network/interfaces... thanks19:33
cyberylhello19:43
MatviyI'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 drive19:44
cyberyldoes anybody know, I have an old radeon graphics card, and youtube video are really laggy19:44
MatviyThen 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:44
cyberylso i'm wondering if i can install anything to improve the performance19:45
MatviyIt seems to boot up fine, but I'm getting a [FAILED] Failed to start Load Kernel Modules.19:45
tomreyncyberyl: which graphics card is it, which ubuntu version are you running?20:39
tomreynlspci -knn | grep -A3 VGA | nc termbin.com 999920:39
tomreynnc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL)20:39
cluelesspersonsup20:45
cyberyltomreyn ATI Mobility Radeon X300 (64MB GDDR SDRAM)20:46
cyberylI already figured out that it doesn't support VA-API out of the box20:47
cyberylbut you can do it through a translation layer: https://wiki.archlinux.org/index.php/Hardware_video_acceleration#Translation_layers20:47
cyberylbut i can't figure out how to do it in ubuntu20:47
cyberylie what package i need20:47
cyberyldo it: add VA-API support20:48
tomreyncyberyl: 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:48
cyberylit's an older machine i kinda want to play with, so i haven't really considered replacing it :)20:49
tomreynwhle 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:50
cyberylwell maybe it can't handle youtube, but i'd like to try and configure this translation layer, to see if it does anything20:54
tomreynpersonally 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:57
cyberylok, no problem, thanks for trying anyway :)20:59
=== herb6 is now known as herb
rumbler31trying 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 fil21:07
rumbler31e and the newer release is in the mirror21:07
rumbler31how do I debug this?21:08
=== fginther is now known as fginther`
mystichow to turn on on-screen keyboard ?21:19
mysticdone it myself21:21
cluelesspersonis anyone familiar with creating custom speaker configurations?21:22
notgnuI 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
cluelesspersonnotgnu    sed21:24
notgnu{wanders off to read more on sed}21:26
notgnuthanks21:26
deltabnotgnu: the filename?21:26
notgnuits a bunch of songs. like 311 - Amber (loved).mp3 Jack Johnson - Broken (loved).mp3 etc......21:27
cluelesspersonI have a TON of these messages21:28
cluelesspersonWindow manager warning: Overwriting existing binding of keysym A with keysym B (keycode C)21:28
cluelesspersonwhat are these and how do I make it stop?21:29
deltabnotgnu: apt install rename; rename -n -e 's/ \(loved\)//' *loved*21:30
deltabthe -n means it won't actually rename, just tell you what it'll do so that you can check21:31
deltabif it all looks right, remove the -n21:31
Betalif 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:32
BetalI didn't found related info on the wiki21:33
deltabnotgnu: 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:36
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  :D21:37
rumbler31anyone know why apt can't find the latest version of a package from my local repo?21:39
rumbler31I see the updated package version in the packages file, and the deb exists in the repo21:40
rumbler31update gets the right package file from my repo, but the package appears to be the latest version according to apt, which is false21:40
OerHeksrumbler31, what ubuntu version, what package and what 'local repo' ?21:42
rumbler3116.04 lts21:42
rumbler31the latest perl package21:42
rumbler31and a local repo mirror I made21:42
rumbler31the currently installed version of the perl package is one release behind the latest, my repo has the latest21:43
OerHekswe nbeed more details, version nr?21:43
OerHeksso vague, what wouyld you answer?21:43
rumbler31installed21:44
rumbler315.22.1-9ubuntu0.521:44
rumbler31available in my repo and matches the currently distributed version21:44
rumbler315.22.1-9ubuntu0.621:44
OerHeks06 is in 16.04 updates https://launchpad.net/ubuntu/+source/perl21:44
rumbler31yup, and I have that in my mirror, or at least I think I do21:45
deltabBetal: if you're distributing your changed version, it can't use the Ubuntu trademarks (unless you get permission). https://ubuntu.com/legal/intellectual-property-policy21:45
rumbler31I know I have the package list with the latest version and the binary for it in the file tree21:45
rumbler31Ign:4 http://192.168.0.169:8080/ubuntu xenial/main amd64 Packageswhich is the package file where this package is listed21:46
rumbler31so that is being fetched correctly21:47
OerHekswhen was the last time you ran 'apt-get dist-upgrade' ?21:47
rumbler31not sure21:47
rumbler31what does that do21:47
rumbler31in this context21:47
OerHeks!dist-upgrade21:47
ubottuA dist-upgrade will install new dependencies for packages already installed and may remove packages if they are no longer needed. This will not bring you to a new release of Ubuntu, see !upgrade if that is your intention.21:47
OerHeksit might give a fresh kernel and other core elements21:47
OerHeksthat would explain kept back perl21:47
rumbler31in this case I do not want this, unless it is blocking me from upgrading this package21:47
rumbler31er21:47
OerHeksyou can run it, and hit 'n' to cancel21:48
rumbler31ok let me see21:48
OerHeksor the -d dryrun option21:48
rumbler31it says there is no work to do21:49
OerHeksoh, no clue then, perl -05 installed,..21:50
rumbler31?21:50
Betaldeltab: 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:52
deltabBetal: I think you can create an installation script that sets which packages are included and some config21:53
OerHeksBetal, you can respin the iso with cubic, but we are not happy to support such install, unless you add just ubuntu packages.21:54
OerHekshttps://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image21:54
OerHeksrumbler31, disable your local repo, and reinstall perl again?21:55
rumbler31I am testing a workflow to update systems in the field with no internet access, so I need the local repo workflow to work21:56
n-iCehi21:57
OerHeksrumbler31, interesting, so why does those offline systems not find perl with apt?21:58
rumbler31you tell me lol21:58
Betaldeltab, 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 valid21:58
OerHeksBetal, yes, that does not infringe trademark. you might even add a ppa, like drivers-ppa or others. 3rd party repo's are the problem.21:59
cluelesspersonWhen I modify /etc/pam.d/sudo   nothing happens22:03
cluelesspersonI can't seem to get other pam modules to work22:03
^amrahello. 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:57
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 that22:59
^amraHm22:59
^amrabut if i have only on ip address23:00
^amraAnd I need to sort incoming connections by domain names23:00
=== Videonauth_ is now known as Videonauth
^amraIs it possible?23:00
^amraFor example if incoming request searches for subdomain.myserver.com:27960 -> redirect to *:2796123:01
^amraProtocol is UDP23:01
sarnoldoh, hmm, maybe I completely misunderstood what you're trying to do; can you describe more of it?23:02
saorSounds like a job for an apache/nginx redirect but need more info23:02
sarnoldbut udp is a real surprising twist23:05
xtacieQuestion.. 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 it23:05
^amrasarnold, 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 ip23:05
xtacieapparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-1323:05
sarnoldxtacie: maria disables the apparmor parser entirely; did you switch from mysql?23:05
xtaciesorry, just seen paste comment in topic23:05
xtaciefresh install of barebone 18.04 and i believe i left out mysql23:06
xtaciei was getting dozens of DENIED msgs.. and then added the default apparmor rules of mysql and restarted and still nothing23:06
xtaciesarnold: https://paste.ubuntu.com/p/bQbFqHqZGd/23:09
sarnoldxtacie: I ask about the mysql because *this* is what mariadb ships for an apparmor profile: http://paste.ubuntu.com/p/pps7RMjRxp/23:10
xtaciehmm, so how.. erase the rules i set.. and how do i make apparmor ignore mariadb23:11
sarnoldapparmor_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
sarnoldjust be sure to save aside the configs you want before you purge them23:13
xtacieit was a little scary to do but......  sudo apt-get --purge remove "mysql*"23:20
kinghatyou 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
xtaciewget lets u know the speed of a file you retrieve..23:21
xtaciewget http://ipv4.download.thinkbroadband.com/1GB.zip23:22
xtaciefor disk performance (might get u in trouble if you run alot) u can try....23:23
xtaciedd if=/dev/zero of=test bs=64k count=16k conv=fdatasync23:23
kinghatwhat about upload?23:25
kinghatthere is a speedtest-cli23:25
xtaciegoogle packages... speedtest and23:25
xtaciefast23:25
kinghatspeedof.me is nice23:25
nshiretrying to use speedof.me on MS edge and its not loading correctly23:29
OerHeksnshire, file a bugreport ... wait23:30
nshireI can't even download chrome, it's so slow aaahhhh23:31
OerHeks!ot23:31
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!23:31
nshireoops23:31
nshirewhere am I23:31
OerHeks'buntu23:31
nshireI'm looking at 3 computers and a phone right now, I got lost lol sorry23:32
henninbhi, i am trying to see glyphs from zsh on the console, where can I download the correct font to install with setfont23:41
sarnoldhenninb: try fonts-noto, I think it's got a lot of glypohs23:44
henninbthanks sarnold, i will check it out.23:44
deltabindeed it does, which is how it got its name23:45
deltabsome font renderers display missing glyphs as white squares, nicknamed 'tofu'23:46
deltab'Noto' is from 'no tofu'23:46
deltabfor use on the console though, do you need psf fonts?23:50
FurretUberIs there a way to hide a user from pkexec?23:52
henninbnot sure if i absolutely need it, but I would like my console to show the gliphs from zsh23:53
sarnolddeltab: hah, cool :D I hadn't heard that before23:54
deltabhenninb: which characters do you need? I think there's a low limit on how many the console can show23:56
henninbthe ones for git23:56
sarnoldoh hmnm, at the console, yeah, I wouldn't expect that to go over well. it's got pretty limited capabilities.23:56
henninbi am using oh my zsh23:57
deltabis it an actual text mode, or is it text drawn on a graphical mode?23:57
henninbi am not sure I understand the question deltab. it is all text from my point of view.23:58

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