/srv/irclogs.ubuntu.com/2019/07/10/#ubuntu.txt

jeremy31sneakyimp1: The default should be fine as long as there is some unused space00:00
sneakyimp1jeremy31: what's with all these /dev/loopN things?00:04
sarnoldprobably snapd00:05
sarnoldtry 'mount', it will probably show a few squashfs images00:05
Bashing-omsneakyimp1: :d .. To see the disk space usage ' df -h ' .00:10
sneakyimp1Bashing-om: all kinds of /dev/loopN cluttering up the output....what is that?00:12
Bashing-omsneakyimp1: Mist like "snap" containers.00:13
sneakyimp1Bashing-om: but whyyyyy is it mucking up my drive listing?00:23
sneakyimp1when generating an ssh key pair, is 4096 bits still good? I.e., ssh-keygen -b 409600:24
Bashing-omsneakyimp1: pastenin the outputs, we know exactly what you are seeing, please.00:24
Bashing-ompastebin*00:24
sarnoldsneakyimp1: yeah, 4096 is still believed to be safe for rsa00:25
pragmaticenigmaor use ed2551900:25
sarnoldsneakyimp1: you could also use -t ed25519 to use newer ecc crypto00:25
sarnoldsneakyimp1: but that requires servers to be new enough to support it00:26
sneakyimp1sarnold: thx for detail00:35
sneakyimp1Bashing-om: checkit...so many loopN thingamajigs https://paste.ubuntu.com/p/msjyCPttFk/00:37
Bashing-omsneakyimp1: looking.00:37
Bashing-omsneakyimp1: Yup - snaps . Did you install them ?00:39
sneakyimp1Bashing-om: they must have come with the OS00:40
sneakyimp1Bashing-om: no idea what snaps are00:40
Bashing-omsneakyimp1: I do not do snaps - as of yet. They are the new packaging format to support IoT. I can boot up a default 18.04 ubuntu if I must to compare.00:43
sneakyimp1Bashing-om: I *just* installed Ubuntu 18.04 and these came with. I'm guessing I have no need for them? Should I remove?00:44
Bashing-om!snap | sneakyimp100:45
ubottusneakyimp1: Snaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io00:45
Bashing-omsneakyimp1: Not enough experience here to guide on removing snaps. Though I know it can be done.00:46
sneakyimp1Bashing-om: what a nuisance00:47
Bashing-omsneakyimp1: Lemme reboot into ubuntu 18.04 and see what I have there to compare.00:47
sneakyimp1Bashing-om: word to the wise -- choose 'minimal install' option when installing U18.0400:47
sneakyimp1Bashing-om: I appreciate that. I have installed exactly one app since the ubuntu 18.04 install finished -- pidgin (program I'm using to chat here)00:48
sneakyimp1Bashing-om: I'm guessing it might be some of the 'useful apps' that you get when you opt to have RhythmBox and that kinda stuff00:48
Bashing-omsneakyimp1: My daily driver is a "roll my own" from a core install :)00:48
Bashing-omsneakyimp1: "inquiring minds want to know" . I re-boot and we compare :) Will mot take that long to back out of here and into ubuntu.00:52
tomreyni think you can safely remove all snaps but the core* and gnome-3-* ones00:53
tomreynor all of them if you don't run the default gnome desktop00:54
sneakyimp1tomreyn: I am in fact running whatever GUI comes with Ubuntu Desktop 18.04.0200:55
Bashing-omsneakyimp1: Yup ! Them "snap" containers are also on my 18.04 ubuntu install: https://termbin.com/zgii .00:58
sneakyimp1Bashing-om: ARGGG. barf-o01:00
Bashing-omsneakyimp1: Uh Huh - Reminds me why I now prefer a minimal install - and only install what I actually want :P01:02
=== cyp3d_ is now known as cyp3d
sneakyimp1Bashing-om: yep i'll probably go minimal install next time01:03
sneakyimp1sooooo if i want to copy files over my ethernet from one ubuntu machine to another, is SSH the way to go? Assuming I don't have a drive big enough?01:04
deltabyes, using either scp or rsync01:05
deltabrsync -Paviz some-files me@othermachine:targetdir01:06
deltableave off -z if the files are compressed01:08
deltabthe other options: keep partial files and show progress, set file attributes, verbose, itemize files01:10
deltabrsync checks the existing files at the target and only transfers the data that's missing01:11
sneakyimp1deltab: thanks for detail.01:11
=== zbenjamin is now known as Guest65790
=== zbenjamin_ is now known as zbenjamin
k_szeThe Kubuntu installer seems to have overwritten my EFI to search for /boot on a newly created partition on my secondary SSD (because I chose to install on my secondary SSD when I launched the Kubuntu installer). My old /boot on my primary SSD still seems intact. What's the safe and correct way to fix EFI so it looks for my old /boot on my primary SSD again?01:33
k_szeThis is what I see in my /boot/efi/EFI/ubuntu/grub.cfg: https://bpaste.net/show/LURj01:34
k_szeThe UUID is the new /boot particition on my secondary SSD.01:34
sarnoldk_sze: hmm, did you run into this? https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/139637901:35
ubottuLaunchpad bug 1396379 in ubiquity (Ubuntu) "installer uses first EFI system partition found even when directed otherwise" [Medium,Confirmed]01:35
k_szesarnold, I think so.01:37
k_szeWhen I launched the Kubuntu installer, I specifically told it to wipe and use my secondary SSD, in the hopes that it would not touch whatever is on my primary SSD.01:38
sarnold:(01:40
simian93I finally got my hands on the touchscreen I wanted and now Ubuntu on-screen keyboard doesn't appear at all.  I enabled it and followed the instructions but can't figure out why it doesn't work01:40
k_szeMy primary SSD has my Ubuntu 18.04 root partition in LUKS.01:40
k_szeAnd my secondary SSH has this new Kubuntu 19.04 root partition in LUKS.01:40
simian93no there it works in the only place ubuntu tracks your typing for amazon.  WHat a bucket of loser broke useless functionality01:45
k_szeshit.. so that's a 4+ year bug that's still not fixed. :(01:45
simian93bout time I switched off ubuntu anyway01:46
simian93useless01:46
tomreynthis may be bug 139637901:49
ubottubug 1396379 in ubiquity (Ubuntu) "installer uses first EFI system partition found even when directed otherwise" [Medium,Confirmed] https://launchpad.net/bugs/139637901:49
tomreynoh this was previously posted, ok01:51
sarnolda second opinion is always nice though :)01:52
tomreynSince it seems so well known, maybe it could just be listed in the release notes as a known bug, so it doesn't need to be fixed before the new new installer comes.01:57
k_szethankfully there are fixes and workarounds posted on that thread.01:57
sarnoldtomreyn: good idea01:57
k_szeEspecially the bottom half of this: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379/comments/801:57
ubottuLaunchpad bug 1396379 in ubiquity (Ubuntu) "installer uses first EFI system partition found even when directed otherwise" [Medium,Confirmed]01:57
k_szeSo I can restore EFI to the previous state and at least get back my completely working Ubuntu 18.04.01:58
k_sze(I don't have time to customise and soup up my new Kubuntu install just now.)01:59
k_szeneed to get work done.01:59
=== sauvin_ is now known as Sauvin
=== [b0b] is now known as b0b
lotuspsychjegood morning to all03:30
littleDJHi, I'm using Ubuntu 19.04 and for some reason the .minecraft directory is empty. This is weird because I have successfully ran the latest version of Minecraft so it should have files in it. Please help, thanks. :)05:14
lotuspsychjelittleDJ: compare with this: https://linuxconfig.org/how-to-install-minecraft-on-ubuntu-18-04-bionic-beaver-linux05:19
littleDJThanks, I'll check it out!05:19
lotuspsychjelittleDJ: see also snap find minecraft05:19
littleDJSnap doesn't seem to be able to find Minecraft.05:20
lotuspsychjelittleDJ: mc-installer               4.1                      kz6fittycent     -      Minecraft Downloader and Installer looks useful05:20
littleDJI'm using mc-installer already.05:21
lotuspsychjeah05:21
littleDJI can't figure out why there is nothing in the .minecraft directory.05:22
lotuspsychjelittleDJ: maybe check the snaps maintainer? snap info mc-installer (contact area)05:23
littleDJk, one sec05:23
littleDJI went ahead and asked the people of Reddit to see if they could help.05:27
CatPasswdjust use multimc05:43
hortielI have a question.05:55
lotuspsychjeyou can ask it hortiel05:55
hortielsudo ufw enable; sudo iptables -S ; still shows no rules of ufw, as if iptables is isolated and is not affected by ufw ?? earlier in 2016 it was different , ufw changed iptables ??05:56
hortieldoes ufw act independently of iptables?05:57
hortiel systemctl is-enabled iptables.service05:58
hortieldisabled05:58
EriC^^hortiel: try adding a rule using ufw?06:00
hortielufw enable is what I do best06:00
hortielwhat about your pc ; i want to know how does your iptables react to ufw enable?06:00
EriC^^i dont think that does much if anything06:00
EriC^^it adds a bunch of stuff06:01
EriC^^iptables -L https://termbin.com/sayp06:01
EriC^^ubuntu 16.04 here06:02
hortielwhat does systemctl is-enable iptables.service say?06:03
=== morphis2 is now known as morphis
hortiel*is-enabled06:03
blackflowhortiel: iptables.service does not belong to ufw. ufw.service does. And ufw is a wrapper to iptables.06:11
hortielok06:11
blackflowinfact, I don't think iptables.service belongs to any package, that must be something custom you have there06:11
EriC^^hortiel: Failed to get unit file state for iptables.service: No such file or directory06:16
hortielEriC^^: also I had old unbuntu16.x and didn't want to download ubuntu19.x and I saw internet wifi option was missing , so I had this question of connecting wifi using 16.x ? how06:18
hortielin particular without using wpa_supplicant or other harder cmds.06:18
EriC^^no gui?06:19
hortielyes gui06:19
hortielno gui there is no option to connect enable wifi button, but the difficult one that say edit connection,etc06:19
hortielthere is gui, but don't know how to interpret it to enable wifi, as no direct way06:20
hortielI tried and failed, feel stupid06:20
blackflowwhat on earth are they talking about....06:40
=== imsurit_ofc is now known as imsurit
=== b1anc is now known as Heinem
nils_Hi, is there a preferred way to store or persist netfilter / nftables rules?07:40
blackflownils_: isn't there a service that does that?07:43
nils_blackflow, I'm looking at netfilter-persistent, I'm not sure that it does anything.07:45
blackflownils_: no, that package is weird. you have to write hooks for nftables, for netfilter-persistent, while there's already a hook for iptables-persistent. for nftables, there should be a service for it, but I forgot which package provides it.07:46
nils_documentation says it executes the plugins from /usr/share/netfilter-persistent/plugins.d but there are no plugins, maybe they are provided by something else.07:46
blackflowwell duh! nftables.service from nftables package07:46
blackflow!info nftables07:46
ubottunftables (source: nftables): Program to control packet filtering rules by Netfilter project. In component universe, is extra. Version 0.8.2-1 (bionic), package size 188 kB, installed size 593 kB (Only available for linux-any)07:46
blackflownils_: no, you have to write your own if you wanna use netfilter-persistent07:47
=== imsurit_ofc is now known as imsurit
blackflowis a mess alright.07:47
nils_blackflow, thanks, I didn't realize it comes with a systemd unit, I can work with that.07:48
nils_blackflow, seems to me everyone is still on iptables these days or going straight to BPF.07:52
blackflownils_: yeah. I use iptables, don't see a need to switch to nftables. There's talk about EBPF-based firewall in the (near?) future replacing nftables... so...07:55
TriesteHey, I'm having trouble with Evince, it just doesn't print - the printer acts for a moment as if it's receiving data, then does nothing. I'd be troubleshooting CUPS and/or the printer if it weren't for the fact that Okular works perfectly fine on the same machine. Is there something about Evince that I might be forgetting to run? Some GNOME-specific print service? (I'm on i3)08:09
blackflowTrieste: you should still check CUPS for any error log entries first. Could be malformed PS packet from Evince, or something like that.08:11
Triesteblackflow, nothing in CUPS error log, the http interface simply shows the job as "Completed"08:22
TriesteFirefox, which calls up the same GTK print dialog, also works...08:33
=== imsurit_ofc is now known as imsurit
lapionHow do I lock multi screen settings in such a way that the system doesn't have to reset everything each time the system wakes up from screen power-saving ?09:02
=== popgreen is now known as panorain
=== mouses- is now known as mouses
berphi__Hello, I'm new to packaging my own software for ubuntu. after packaging and installing the package (contains a little hello-world python script) I try to execute it. It says "command not found". What am I doing wrong??09:27
jeremy31berphi__: did you use chmod +x on the file to make it executable?09:29
berphi__yes, I did09:29
CountryfiedLinuxhowdy09:30
jeremy31berphi, using ./command09:30
CountryfiedLinuxMy Xbox One controller seems to work in Steam configuration, but in Saints Row 4 it doesn't work at all. Any suggestions? The game supposedly has full controller support.09:31
CountryfiedLinuxI have another game installing while I troubleshoot this issue.09:31
sitsHi there, has anyone been seeing trouble after the latest docker update in Xenial/Bionic?09:34
sitsI tried searching the mailing lists and launchpad yesterday but didn't find anyone else seeing an issue09:35
Jubeigood day. I created an LVM volume, copied my entire root filesystem there and now I'm trying to boot from it. I have configured an entry in grub but despite the entry being /dev/volume_group0/logical_volume0 when booting completes the root volume is still mounted in /dev/sdbX09:39
CountryfiedLinuxIt's the game. An Xbox One controller not working with a game that has full controller support.09:39
CountryfiedLinuxPerhaps I should just use my Xbox One controller for Game Pass and forget Steam.09:40
sitsJubei: you may need to run update-grub and also update your /etc/fstab (be careful though)09:40
=== TheMesquito_ is now known as TheMesquito
jeremy31CountryfiedLinux: You might want to ask Steam support09:42
berphi__jeremy31: I created the python file, so that I can execute with ./my_script.. after that I use "bzr dh-make" to get the debian folder with all the meta data. after that I use "bzr builddeb -- -us -uc" to package it and "sudo gdebi -n <package>.deb to install it09:42
geirhadpkg -L <package>   to see what files it installed09:43
berphi__however, I didn't create a Makefile or anything like that.. I just have the "debian-folder" and my python-script.. is something missing? I can't see, WHERE it is installed after using "gdebi"09:43
jeremy31berphi__: you can try the find or locate commands09:44
berphi__geirha: ahh, ok. it says /usr/share..09:44
geirhaYou probably need to create a setup.py that specifies that python script is supposed to be installed as a command09:45
berphi__geirha: yes, I think you are right, I'll take a look at how to create a proper setup.py!09:46
berphi__jeremy31: locate works as well, thank you09:46
NakatoI'm tring to file a bug at https://bugs.launchpad.net/ubuntu/+source/linux-snap and I'm getting an "Oops!" "Sorry, something just went wrong in Launchpad." 500.   Is launchpad having issues, or should I be submitting it elsewhere?09:47
Jubeisits thank you I'll try that09:53
=== jug0 is now known as sotelio
jeremy31Nakato: Server might be busy, try again later09:55
=== imsurit_ofc is now known as imsurit
NakatoIt's failed multiple times, and it fails instantly, so I don't know.  I'm pretty frustrated and about to just mail security instead of dealing with LP.10:00
NakatoIs there an IRC channel for LP, I didn't see it on the list.10:00
jeremy31#launchpad10:00
cyberpolicehow dangerous is it to extract a very large gzip (256gb) on ubuntu?10:01
cyberpolicewill it freeze/hang10:01
NakatoThanks10:02
cyberpoliceam asking because i tried to extract this gz file in windows and it completely froze after some time and i had to hard power off10:03
lotuspsychjeNakato: did you use ubuntu-bug packagename for creating the bug?10:31
lotuspsychjehey cfhowlett ; )10:34
rorycyberpolice: it shouldn't hang the whole system. But you may need lots of free disk space. you should use "tar" application on cli.10:34
cfhowlettyowza ^3 lotuspsychje10:34
sitscyberpolice: I'm afraid the answer is it depends. The machine and where the archive is being packed to are the significant factors10:35
rorycyberpolice: it will probably hammer your disk too10:35
sitscyberpolice: e.g. over where I am we unpack 100s of gigabytes of data but the machines have lots of RAM and fast disks10:36
sitsrory: depends on where its unpacked to right?10:36
lotuspsychje256GB packed file(s) is just insane in my opinion10:37
sitslotuspsychje: I think that depends entirely on the context10:38
rorysits: yeah if you're extracting it to the same disk it's stored on, it will be laggier. and if it contains very many small files, it would be slower than fewer large files, probably10:38
sitsrory: I'm in total agreement10:38
lotuspsychjesits: feel free to share in #ubuntu-discuss what you guys pack 100gb for?10:39
sitslotuspsychje: machine learning workloads10:39
Nakatolotuspsychje: I'm not sure what the package name would be.  It's in the build tooling for https://snapcraft.io/pc-kernel10:44
NakatoI've ended up submitted it to 'snap-core18'.  The LP channel helped me figure out what the oops was, which was the package name.10:45
lotuspsychjeNakato: for snaps, you cant use launchpad i think, see snap info pc-kernel for the contact10:46
lotuspsychjeNakato: in this its canonical, but still i dont think they use launchpad for this project10:47
lotuspsychje*case10:47
NakatoIs there a place I can get that without running `snap`?  I can't hit the snapcraft api where I have snap installed.10:52
lotuspsychjeNakato: do you mean you cant trigger snap info?10:53
NakatoI cannot.  I'm firewalled off, and I found the bug when attempting to reproduce the build.10:57
BluesKajnHi folks10:57
lotuspsychjeNakato: https://paste.ubuntu.com/p/DRMdrtD699/10:59
Nakatolotuspsychje: Thanks for that!  I'll use that if the launchpad bug does not pan out.11:00
cyberpolicesits: actually its a 91 gb gz file that contains a dd image of 256gb ssd11:08
cyberpolicesits: i used dd if=/dev/sda | gz -c file.img.gz, or something close to that11:09
roryjust uncompress it with gzip then11:09
roryit will not lag your system too much, as it's a single-threaded operation.11:09
cyberpoliceyes i tried, and it died in windows, and had to hard shut off (causing who knows what damage the disk that it was on, and being extracted to). and afraid same thing will happen on ubuntu11:10
cyberpolicewas it a bad idea to gzip the image11:10
sitscyberpolice: Yeah - ideally you wouldn't have compressed it11:10
sitscyberpolice: hindsight etc.11:11
cyberpolicei dont know why archwiki suggests it11:11
lotuspsychjethis is ubuntu support11:11
sitscyberpolice: runs of zeros often compress well11:11
absencehow do i disable the touchpad while typing?11:12
lotuspsychjeabsence: there's an option in systemsettings & gnome-tweak-tool11:12
sitsbounded11:13
absencelotuspsychje: is systemsettings the thing called "Settings"? nothing there under mouse & touchpad11:14
=== imsurit_ofc is now known as imsurit
lotuspsychjeabsence: yeah my bad, only in gnome-tweak-tools11:14
sitscyberpolice: my comment was eaten. You should be OK if your system has enough resources etc.11:15
sitscyberpolice: but I'd avoid using a GUI tool and be careful about where you unpack it to11:15
lotuspsychjeabsence: and also in dconf-editor11:16
absencelotuspsychje: thanks, found it. but odd, it's already on11:16
cyberpolicesits: ok, thanks! ill try it11:18
lotuspsychjeabsence: maybe its something else you need? why did you need to disable it, anything happen?11:18
absencelotuspsychje: i accidentally do stuff with the touchpad while typing, because i unconsciously rest my hands on it11:20
absenceor near it, and brush against it with my fingers11:20
absenceor something11:20
absencerandom stuff happens :)11:20
lotuspsychjeyeah my gf has the same issue, i disabled touchpad totaly there, working with a wireless mouse now11:20
BluesKajisn't there an option to disable the touchpad during keystrokes?11:32
rapidwaveWhat is the name of Qt dev package on Ubuntu?12:01
rapidwaveI need the include directory for CodeBlocks12:01
tcpdumpI am running vsftpd on ubuntu. Ive configured it for anonymous upload but when I try to access it via ftp it prompts for credentials. Anyone have any idea what to adjust? https://paste.ubuntu.com/p/MT8r5KssM7/ - config12:10
dnegreiratcpdump: ftp always prompts for credentials you can insert anonymous - anonymous and should log you in12:18
tcpdumpdnegreira: yes sir, Ive tried that, too.  :/12:20
tomreynlines 46-65 repeat in lines 78-97 - copy paste issues?12:20
tomreynanon_upload_enable is unset, i expect it to default to NO12:21
tomreynwrite_enable is unset, i expect it to default to NO12:22
tcpdumptomreyn: let me review12:22
tcpdumpprobably... if there's one thing I love about Fedora its fpaste. :D12:22
tomreynlook for vsftpd documentation on how to configure anyonymous uploads, adjust your configuration, try again.12:22
tomreynfedora?12:23
tomreynoh, we have !pastebinit on ubuntu12:23
tomreyn!pastebinit12:23
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit12:23
tcpdumpthanks12:25
tcpdumpDo I need to open port 20 as well?  based on this - connect_from_port_20=YES12:25
tomreynthis would mean the ftp server would itself initiatie connections from (fixed) port 20 towards the 'client' in active mode12:28
tomreynare you familiar with why ftp is often considered a terrible protocol whose use should be prevented or restricted to a minimum then?12:29
tomreynhad you considered alternatives such as sftp, https?12:29
tcpdumptomreyn: Im making an intentionally compromised server for a CTF event.12:31
tcpdumpSo this is perfect! :D12:31
JimBuntuanonymous FTP still asks for username/password, tcpdump , are you saying that anonymous isn't working? Have you restarted the service after making config changes?12:31
tcpdumpJimBuntu: thats all correct. Having said that, tomreyn pointed out I may have my config messed up. Im reviewing it now.12:32
tomreyni see, now ftp makes a lot more sense.12:32
JimBuntutcpdump, if making a CTF device, please don't forget telnet :-)12:32
siodorhello everyone, I've just updated my Ubuntu VM and now where the login screen should be there's a purple screen, after several reboots sometimes it has the Ubuntu logo in the bottom middle12:36
rapidwaveWhat is the Cross GCC path?12:37
siodorI've booted into recovery mode assuming that there's some graphics problem, some guides recommend to reinstall ubuntu-desktop and unity but I can't even get there because DNS resolution in console doesn't work12:37
siodorGoogle didn't gave me any good advise12:38
siodorBy the way pinging something in the Internet like 8.8.8.8 works, I've added to /etc/systemd/resolved.conf the public Google DNS 8.8.8.8 but that doesn't help at all12:39
siodorthe file /etc/resolv.conf doesn't have any nameserver entries, also not the systemd-resolve which should be 127.0.0.53, it's just mentioned in a descriptive text in the file12:41
tomreynsiodor: i need to leave for now, but you should discuss the virtualization type / software (and host OS) you're using (adding version numbers wont hurt), and the ubuntu version (and variant, architecture), whether you host OS and virtualization are fully updated.12:41
tomreynand whether they are known to support this guest OS.12:42
siodorMy Ubuntu VM worked perfectly before I've ran the suggested updates12:42
siodorIt's Ubuntu 18.04 on VMWare Workstation 15.1.0 running on Windows 10 180912:43
tcpdumplater tomreyn thanks!12:43
tcpdumpAlright, here's my vsftpd.conf file - still cant get anonymous ftp to work...  Anyone else see anything Im missing?  https://paste.ubuntu.com/p/ZbB6YPZZPR/12:47
CatPasswdsiodor: check /etc/nsswitch.conf for the hosts: line12:55
CatPasswdI had to change mine the other day. Couldn't connect to anything, anywhere, by name. Just like you12:55
CatPasswdThe old line is like this: #hosts:          files [NOTFOUND=return] dns myhostname mdns4_minimal12:56
CatPasswdI changed it to this: hosts:files mdns4_minimal [NOTFOUND=return] dns myhostname12:56
CatPasswdAnd it worked12:56
kdbNLhello everyone, could someone help me out with determining if my SSD is broken12:56
kdbNLGparted shows /dev/sda 238 GB gnome disk shows 256GB12:56
CatPasswdkdbNL: https://www.techrepublic.com/article/how-to-check-ssd-health-in-linux/12:57
kdbNLits LVM by ubuntu base install12:57
kdbNLthanks ill check it out12:57
kdbNLbut i think its partitioned wrong, i know its old already12:57
kdbNLi dont understand why gparted would report a different size12:57
kdbNLthanks for the smartctl information, i did the scan, it shows my ssd as the correct size and in the database. it passed self-health check.13:03
kdbNLis gparted just unable to deal with lvm? is it normal for ubuntu base install to just do 1 giant /root VG and a 1GB /swap_1 ?13:04
tibykemoin13:06
tibykeany idea on network-manager vs openvpn lz4 compresion?13:06
siodorCatPasswd, I've just added a nameserver 8.8.8.8 entry into the /etc/resolv.conf file to temporarely having apt-get function properly13:12
siodorAs for the purple frozen login screen, this fixed it for me https://askubuntu.com/questions/1149957/unable-to-login-to-account-in-ubuntu-18-04-vmware-workstation-15-after-update13:12
cgiSeems like python 3.7.4 compilation on ubuntu 18.04 needs manual ssl compilation. Are there any workarounds for this - Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().13:14
macroprep_how do i install java13:16
macroprep_E: Unable to locate package java13:16
tibykeapt-cache search openjdk13:19
macroprep_ok13:22
sqirt-ChanServ!ChanServ@services.- NOTICE sqirt :[#ubuntu] Welcome to #ubuntu! Please read the channel topic. This channel is logged at irclogs.ubuntu.com. Use of this channel implies acceptance of terms at https://wiki.ubuntu.com/IRC/TermsOfService13:53
sqirt-ChanServ!ChanServ@services.- NOTICE sqirt :[#ubuntu] Welcome to #ubuntu! Please read the channel topic. This channel is logged at irclogs.ubuntu.com. Use of this channel implies acceptance of terms at https://wiki.ubuntu.com/IRC/TermsOfService13:59
OerHekssqirt, no need to post that14:00
parak0vskyjust upgraded my cpu to i7 in a laptop any idea what i can use this horsepower for?14:35
parak0vskyexcept to put 32gb of the memory lol14:35
lotuspsychjeparak0vsky: only ubuntu questions here please14:37
NixNixDicPixDoes anyone know how I would use find to display all unmodified files from the last 30 days14:42
NixNixDicPixwithout showing directory?14:42
=== wagle_ is now known as wagle
leftyfbNixNixDicPix: man find is your best help. Look into -f and -mtime14:45
OerHeksfind /path/to/files -mtime n #where  +n     for greater than n, -n     for less than n, n      for exactly n.14:47
edgyHi, I got a server with firewall confiugred as in https://bpaste.net/show/VUxK , It's not mentioned that port 8983 is open in the firewall but I can access it via the browser and also verified using nmap! what's wrong here? the server is using firewalld I guess14:47
zanshin`find -type f -newermt "2019-06-10 00:00:00" \! -newermt "2019-07-10 00:00:00"` - still shows the directory tho14:48
edgyhttps://bpaste.net/show/Ffr314:48
NixNixDicPixzanshin is there not flag to drop showing directories14:50
NixNixDicPixbecause that otherwise would be a perfect command14:50
edgyNixNixDicPix: I am not sure what's your question but -type f would drop directories14:52
adrian_1908edgy: Can you share the output of `iptables -S`?14:53
edgyadrian_1908: sure: https://bpaste.net/show/uBHk14:54
NixNixDicPixGive me a single command that will find all files not modified in the last 30 days under `/tmp/etl_landingzone/`  Note: The output should only include files not directories.14:55
NixNixDicPixthis was the actual question14:55
adrian_1908edgy: do you use some intermediate tool, or what's the reason for there being so many iptables chains?14:55
tarzeauNixNixDicPix: -type f is part of the answer for the find command14:56
NixNixDicPixyeah that drops the directories14:57
NixNixDicPixIm reading14:57
MathisenNixNixDicPix, https://stackoverflow.com/questions/23070245/get-all-files-modified-in-last-30-days-in-a-directory14:57
tarzeauthe rest depends on if you have mtime on your filesystem14:57
edgyadrian_1908: yes, this is virtualmin control panel defaults14:57
edgyadrian_1908: I also know that firewalld comes with all these default zones14:57
NixNixDicPixthats wrong that shows modified14:58
NixNixDicPixI been there14:58
edgyadrian_1908: I am not familiar with firewalld but is there any thing fishy in that output like missing a reject rule for the remaining ports?14:59
adrian_1908edgy: It's a bit difficult to reason about the firewall with all those chains. I could imagine one of them being responsible for the port being open. Have you tried listening to another random port to see if the problem applies in general?15:00
edgyadrian_1908: in my case where I am asking only about an incoming port should I only care about the IN_public_allow15:01
MathisenNixNixDicPix, then just change the line.... and use - instead of + on the time/date you want15:02
Mathisenusing that example on the page would be -30 instead of +3015:03
adrian_1908edgy: yes, that alone would suffice. But I doubt you're able to remove the other chains, are you?15:03
edgyadrian_1908: I don't want to mess with the defaults. I just want to understand the issue15:05
adrian_1908edgy: or can you instruct virtualmin to leave the firewall rules to you? For most use cases, these should be simple enough.15:05
edgyadrian_1908: virtualmin by default figured out most of the open ports on the server and added it automatically to the firewalld, I can't understand what you meant by instruct virtualmin to leave rules for me15:06
adrian_1908edgy: I mean, tell virtualmin to stop setting firewall rules and do it yourself. Personally, I would much rather start with very simple rules and add what I need, instead of trying to decipher a complex ruleset someone else came up with.15:07
OerHeksor just use UFW on you *buntu15:09
edgyadrian_1908: yes, definitely I can do that but I want to get familiar gradually with firewalld since it has integration with fail2ban and other advanced features. It's more of learning than a problem that I need to solve15:09
adrian_1908edgy: I see. I would look in the documentation then, or see if you can find a community dedicated to that tool/framework.15:11
adrian_1908edgy: `-A IN_public_allow -p tcp -m tcp --dport 1025:65535 -m conntrack --ctstate NEW -j ACCEPT` your probably your culprit, so try to remove whatever sets that rule.15:12
edgyadrian_1908: excellent spot!15:12
edgyadrian_1908: I guess those are added for passive ftp15:13
edgyadrian_1908: yes! that fixed it. I am feeling stupid now :( Thanks a lot15:15
adrian_1908you're welcome :)15:16
aestheI am having trouble with the ubuntu package xl2tpd_1.3.6+dfsg-4_amd64. I have noticed that it was last updated in 2015 and I would like to replace it with the version from Xelerance which last updated in April as shown here: https://github.com/xelerance/xl2tpd/releases Are there any issues that I should be aware of???15:20
ash_worksiI have a command `yq` ... not exactly sure how I installed it, but I would like to be able to do this: https://mikefarah.github.io/yq/merge/ ... how can I find out if what I have is the same application (if it is, I would think I need to update it because it doesn't seem to work)15:22
lordcirthash_worksi, 'which yq'?15:23
ash_worksilordcirth: /home/ash-m/.local/bin/yq15:24
lordcirthash_worksi, sounds like you might have used pip15:24
sneakyimpCan anyone tell me what php7.2-dba provides?15:25
ash_worksilordcirth: oh you're probably right15:25
OerHeks 1.3.6+dfsg-4ubuntu0.16.04.2 last updates (universe)2018-07-3015:25
OerHeksnot 101515:25
lordcirthash_worksi, 'pip list | grep yq'15:25
sneakyimpthe description is pretty uninformative: "This package provides the DBA module(s) for PHP."15:25
ash_worksiDEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.15:25
ash_worksiand it's there15:26
lordcirthash_worksi, so, 'pip install --upgrade yq'15:27
lordcirthperhaps with --user?15:27
ash_worksilordcirth: well, this seems to have apt instructions... is there a way to tell if they're one and the same?15:27
ash_worksioh no, this is a go package... should I uninstall yq through pip before attempting to install mikefarah/yq ?15:29
lordcirththat would be much less confusing, yes15:30
ash_worksilordcirth: after `pip uninstall yq; ... apt install yq -y` I get: `bash: /home/ash-m/.local/bin/yq: No such file or directory15:32
ash_worksiI guess I need to logout?15:32
lordcirthash_worksi, just get a new shell, eg by running 'bash'15:33
becoolwhat's the better method for securely transferring files these days, SFTP or FTPS?15:33
ash_worksineat15:34
ash_worksithanks15:34
lordcirthbecool, neither? Don't use FTP15:34
becoolwhat should i use then?15:34
lordcirthbecool, depends, what's the use case?15:34
becooltransferring files from a client over the internet15:35
lordcirthscp or rsync are easy to set up15:35
lordcirthsecurity is handled for you by ssh15:35
becoolhow will a user authenticate and stay locked to their home directory?15:36
lordcirthbecool, you need various untrusted users to log in and access only their home directories?15:37
becooli need users to be able to send/receive files they upload to us. i need them to be able to list their files and directories15:38
becoolcan't do that with scp or rsync15:38
becooland i need it to be encrypted. so it's either sftp or ftps15:38
adrian_1908becool: SFTP15:38
becooladrian_1908: thanks15:38
ash_worksiI guess it depends on the audience but I feel like that should be more of just a web form/listing.15:39
lordcirthYeah, "users" and "needing to know what SFTP is" may not mix well.15:40
ash_worksijust have some simple auth on a web application with an upload form and an index for listing files.15:41
lordcirthOr Nextcloud15:42
becoolhow will i be able to lock each user account to a separate home directory with sftp? will it default to the home dir for their account? will it still work if i disable shell access for users ('chsh -s /usr/sbin/nologin')?15:42
OerHeksbecool, besides FTP, owncloud is an other solution15:43
becooli think ftps is the best balance between users being able to connect and keeping things secure15:43
becoolOerHeks: i'll check it out15:43
lordcirthOerHeks, becool Nextcloud replaces Owncloud15:44
ash_worksiI know this isn't really the channel for it, but if anyone has any pointers to improve this script, I'd appreciate it: https://gist.github.com/ash-m/1199927a13ebf4818401a24f92b2098e15:44
ash_worksiit interactively changes passwords in the passwd file dovecot uses (since dovecot is apparently set up that way here)15:45
ash_worksithe concept is that you run the command like `dovechpass ash.m lordcirth@irc.com ...`; the major loop iterates over each argument, the first inner loop collects accounts from the passwd file, the second inner loop collects a password from the user and the third inner loops iterates over each username collected in the first loop to just gawk-replace lines in the passwd file15:48
ash_worksithe idea is that if you enter a partial account, it collects everything matching at the beginning; so if i just did `dovechpass ash` it would collect names like `ash.m@me.com ash.worksi@me.com ash.mobile@me.com` and give me a single prompt to change the password for all those accounts15:51
ash_worksiif I did `dovechpass ash.m@me.com ash.mobile@me.com`, I'd get two prompts15:52
ash_worksias-is, a possibly unexpected behaviour might be if you ran `dovechpass ash.mobile@me.com ash` which would set the password for ash.mobile@me.com to the first one provided and then reset it the second one provided.15:54
ash_worksialthough it would tell you it's doing so.15:54
ash_worksiI guess I could have another array which keeps track of accounts that were set and just continue out if it's found.15:56
ash_worksithank you for helping me rubber duck that15:56
ash_worksithat's an easy fix15:56
lordcirthlol, glad to be of service16:00
blackflowbest support ever!16:01
lordcirthThough my main suggestion would be to consider running a web frontend for this rather than a bash script that handles passwords.16:01
lordcirth(as in, a web frontend maintained by other people)16:01
ash_worksilordcirth: it's sort of just a utility to change passwords in /etc/dovecot/passwd16:04
ash_worksilordcirth: it got bigger and bigger as the requirements kept changing16:04
ash_worksiinitially it was just the gawk statement using '{ if(index($0, acct)){ sub(/:.*/,pass); }; print }'16:06
ash_worksibut the problem with that was that `doveadm pw` uses the username in hashing the password16:07
ash_worksiso if you did `dovechpass ash` then it would set passwords for ash.m ash.worksi and ash.mobile all using the same password with user "ash" which would fail16:08
blackflowash_worksi: seems overly too complex. you can always use SQLite and make it much, much simpler.16:08
ash_worksi"overly too complex" is a very ironic statement16:08
ash_worksi:P16:09
blackflowwell, it's also a bit offtopic for #ubuntu :)16:09
ash_worksithat's true16:09
ash_worksibut I was more looking for pointers in terms of sharpening my bash skills anyway16:10
ash_worksiand I've about hit the limit asking in #bash16:10
ash_worksiactually, come to think of it, now the reverse of my problem is not intuitive16:15
ash_worksilike `dovechpass ash ash.m@me.com` _SHOULD_ override16:16
ash_worksiI'll check if it's being reset by a mass-override as well I guess16:20
parak0vskyhttps://help.ubuntu.com/community/VirtualBox/Installation this installation method did not work16:40
parak0vskyterminal output https://0bin.net/paste/ZtL3j6hszybFhBJf#NZcDAMSI6OYfnX-K1dAUA1eDUTWltmW7VzPPL7bXUe916:41
parak0vskyoops wrong command lol16:41
parak0vskyhere's the correct one https://0bin.net/paste/dJy8isEVWpZliNpT#hnrktQexbhO+dvh8tkAm7lHPgz-xDt0zQceKOhi/hqt16:42
pennTellerHi guys, is it true that Canonical does not have the best interest for Free Software as a priority and we should all be changing platforms to Pop OS or even pure Debian?16:44
lordcirthpennTeller, #ubuntu-discuss16:45
lordcirthparak0vsky, why install from the external repo? Do you need a newer version?16:45
pennTellerlordcirth, thank you16:45
swillscan someone tell me when CVE-2019-9948 and CVE-2019-9740 will be fixed?17:00
blackflowswills: could ask in #debian-hardened17:03
blackflowoops. #ubuntu-hardened17:03
swillsok...17:03
tomreynswills: i guess nobody can perfectly predict this, but you can watch https;//usb.ubuntu.com (security.ubuntu.com redirects there) and use https://people.canonical.com/~ubuntu-security/cve/17:03
blackflowswills: btw, they seem fixed for cosmic17:04
blackflowah, no, just -9948 is17:05
mr_louWhy is newfs_udf for BSD seemingly much cooler than newfs_udf for Ubuntu?17:14
mr_louMan page contains a ton more options than Ubuntu's version does.17:14
mr_louhttp://www.manpagez.com/man/8/newfs_udf/17:14
mr_louOld version for Ubuntu?17:14
mr_louIt looks weird. Some parameters, like -t have totally different functions on each platform.17:15
rivynWhat could be the cause of a ~30 second delay when logging in to an Ubuntu Server node, or using `su -`, that is *not* present when running `sudo bash -l`?17:15
rivynWhat is done before the shell is started that could be responsible?17:15
lordcirthrivyn, local or ssh?17:21
rivynlordcirth any.17:21
lordcirthrivyn, check /var/log/auth.log17:22
rivynlordcirth:  I'm using SSH right now, but even after logged in, `su -` takes a long time, while `sudo bash -l` is instant17:22
rivyn`sudo su -` I mean17:22
lordcirthrivyn, what about 'sudo -s' and 'sudo -i'?17:23
tomreynmr_lou: because ufs is, in essence, a bsd file system17:23
rivynlordcirth:  both are instant17:23
swillshe was referring to udf not ufs17:23
tomreynoops, thanks swills17:23
rivynlordcirth:  in auth.log, I see dbus[3207]: [system] Failed to activate service 'org.freedesktop.login1': timed out17:24
swills(and don't get me started on Linux's poor support for UFS...)17:24
rivynalso sshd[23244]: pam_systemd(sshd:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out17:24
mr_loutomreyn, Didn't know that.17:26
john_doe_jrHow do you load a system service from a non-standard location?17:27
lordcirthjohn_doe_jr, symlink to it from /etc/systemd/service?17:28
john_doe_jrlordcirth: where are the services on ubuntu usually stored?17:30
lordcirthjohn_doe_jr, the ones from packages are in /lib/systemd/system/; user-configured ones should be in /etc17:30
lordcirthyou can see where a given service was loaded from in 'systemctl status ssh'17:31
sneakyimpSo it would appear that the phpmyadmin package simply does not work with MySQL 8.0.1617:31
sneakyimpconfiguration fails every time17:32
OerHeks from a non-standard location .. interesting, john_doe_jr17:38
john_doe_jrOerHeks: apparently you are supposed to be able to run services from ~/.config: ~/.config/systemd/user/dropbox.service17:41
OerHeksthat would be a standard user location17:42
koala_manwhat's the android-sdk package for? I thought it would be the android sdk, but it's missing tools like sdkmanager17:42
OerHeksor await, i do not have that folder for my dropbox17:42
nanozalternative to bc for fast calculator17:42
john_doe_jrOerHeks: yup, it's just an example17:43
OerHeksstandard would be /home/$USER/.dropbox17:43
blackflowjohn_doe_jr: yea, google up "systemd user units" for more info.17:44
john_doe_jrOerHeks: so could I put a service file at ~/.config/systemd/myservice.service and it load the service?17:45
OerHekshow do you tell dropbox to look for that folder?17:45
OerHeksno17:45
john_doe_jrOerHeks: with systemctl --user daemon-reload17:45
blackflowyou don't tell dropbox, you tell systemd, and that's should be the default path for user units17:45
blackflowhttps://www.freedesktop.org/software/systemd/man/systemd.unit.html17:45
john_doe_jrOerHeks: well, I'm doing something similar to the concept found at the following link: http://lpan.io/one-liner-dropbox-client/17:45
=== zaki is now known as z4ki
=== z4ki is now known as zaki
=== im0nde- is now known as im0nde
fuzzybear3965How do you spawn a BASH process and view its process tree at the same time?18:36
fuzzybear3965I would use `pstree` with the PID, but how do I get that if the command only runs for ~1 second.18:36
fuzzybear3965Imagine I wanted a `pstree` of an `ls` command or similar.18:37
sarnoldfuzzybear3965: bash -c 'pstree -h'18:39
fuzzybear3965@sarnold I want to see the tree associated with `./somecommand`.18:41
fuzzybear3965That doesn't seem like it will do what I want.18:42
sarnoldfuzzybear3965: what problem are you trying to solve?18:42
fuzzybear3965sarnold I have a subprocess generating output that I want to capture, but I need to see how deep the subprocess call list goes in order to capture the child's output and send it up to the parent process.18:42
sarnoldfuzzybear3965: aha!18:43
sarnoldfuzzybear3965: I suggest installing bpfcc-tools and give execsnoop-bpfcc a try18:44
sarnoldfuzzybear3965: you can get a quick idea of what it does with the examples on https://github.com/iovisor/bcc#tools18:44
fuzzybear3965@sarnold Thanks for the tip. I'm actually on macOS.18:45
sarnoldfuzzybear3965: haha :) alrighty..18:46
sarnoldfuzzybear3965: how about this then? :) http://dtrace.org/blogs/about/18:46
sarnoldfuzzybear3965: those smart dudes even put the exact thing I was looking for right on the first google result for dtrace :) hah18:47
Sven_vBwhat's an easy way to get all local IPv4 addresses currently assigned to network devices whose MAC is a certain known value?18:52
Sven_vBusing xenial18:53
Sven_vBdo I have to do cast advanced sed magic on the output of "ip addr"? ;)18:54
sarnoldSven_vB: good luck. that's the best I can think of and that's pretty brutal18:54
Sven_vBoh maybe I can use the -n18:54
adol-christinHello i need help18:54
adol-christinhttps://www.ubuntu18.com/install-vnc-server-ubuntu-18/18:55
adol-christinhow do i set this up18:55
ioriaadol-christin, what's the problem ?18:57
fuzzybear3965sarnold Sorry, my boss came into the room. That should work beautifully! Thanksz119:03
fuzzybear3965s/sz1/s!19:04
Sven_vBargh. why won't ip addr show the MACs when using -oneline. could have made my sed magic so much simpler.19:04
adol-christinim trying to setup vnc19:05
adol-christinbut this command wont work19:05
sarnoldfuzzybear3965: no worries :) that's just how irc goes, hehe19:05
adol-christinroot@Ubuntu-1904-disco-64-minimal ~ # ~/.vnc/xstartup                           xrdb: Can't open display ''19:05
sarnoldSven_vB: well.... addr is for addresses. they may not even have macs, that's specific to the link .. (you probably know this, but just in case.. :)19:05
adol-christinam i missing something19:06
Sven_vBadol-christin, are you running an interactive X session and want to share it, or do you want to offer (a shared? or individual?) X sessions to remote VNC users?19:07
ioriaadol-christin, 1) why are you root ?  2) that's not a cmd , but a file path19:07
Sven_vBioria, if it produces that error messages, the file is probably executable19:07
Sven_vB(the path to an executable is a valid command in usual shells.)19:08
ioriaSven_vB, you don'r run that file manually, it's run by the vnc afaik19:08
adol-christinbecause its a server19:09
adol-christinso how do i fix it19:09
OerHeksa manual that wants you to install a desktop for a vnc service..?19:09
adol-christini am noob19:09
adol-christini need vnc its easier to work with a server that way19:09
adol-christinits a dedi server19:09
cstk421having an issue with 18.04 remote desktop sharing.  its headless so i only have ssh access.  doing a status on gdm3 i see a message "gkr-pam: no password is available for user"19:10
cstk421autologin is enabled and required for remote desktop.  using vnc viewer on mac19:10
cstk421getting blank screen when i remote into it via vnc viewer19:10
ioriaadol-christin, sy, i don't understand why you are manually running that bash script ?19:10
Sven_vBadol-christin, no worries, this is a support channel. we'll try to help solve your problem. it would be nice though if you could pack your messages into less messages. take your time to write each message, we're not that much in a hurry.19:11
Sven_vBerr, your text in less messages.19:11
adol-christinOk so what im trying to do is install vnc so i can run vnc from my comp from my server19:12
adol-christinso server to comp19:12
Sven_vBthere are at least three modes of how that can work, see my question above.19:12
Sven_vBok actually I can guess you probably don't have an interactive X session over KVM or you wouldn't need VNC. :)19:13
Sven_vBare you sure you need VNC actually? you can run X programs via SSH.19:14
lotus|NUCadol-christin: stay away from vnc, you will get hammered 24/719:14
adol-christinthat makes no sense19:14
adol-christini know it takes a tol on my comp19:14
adol-christinknow another program?19:14
adol-christinthen thats not so taxing?19:14
Sven_vBlotus|NUC, I assume you meant to not expose VNC via some publicly accessible port? indeed that would invite attackers.19:16
ioriaadol-christin, if you did what the guide says, and the vnc server is running .... what happens if you try to connect from a client ?19:16
adol-christinso sven know any other programs19:16
adol-christini need to edit the config not sure how19:16
ioriaadol-christin, what config ?19:16
adol-christinThen, open ~/.vnc/xstartup and make sure it is similar to following configuration:19:17
adol-christinhow to open this19:17
Sven_vBadol-christin, yeah I know lots of programs. still waiting for your info though. if editing some server config is the problem, why not just use a text based editor?19:17
ioriaadol-christin, how to open ?19:17
adol-christinim using putty19:17
adol-christinto connect to the server19:17
adol-christinSSH19:17
ioriaadol-christin, nano ~/.vnc/xstartup19:18
adol-christinok that worked thankyou19:23
adol-christinill let u know if another issue happens19:23
ioriaok19:23
adol-christinnew question apparently this dedi has 2 hard drives but one is only showing up19:29
adol-christinhow do i get the second one too show?19:29
ioriaadol-christin,  show where ?19:30
ioriaadol-christin,  and paste    ' sudo parted -l | nc termbin.com 9999 '19:30
adol-christinidk on my server19:32
adol-christinits only showing only 1 hard drive19:32
adol-christinwell solid state drive19:32
Sven_vBin case anyone is interested in my sed magic to find IPs by MAC: ip addr show up | sed -re 's~\s+~ ~g;s~^\S~\r&~;$s~$~\r~' | tr '\r\n' '\n\t' | grep -Fe $'\t link/ether '"$MAC " | tr '\t' '\n' | sed -nre 's~^ inet6? (\S+)(\s.*|)$~\1~p' # works for me19:32
adol-christinis there a command to see what devices are connected19:33
adol-christinand installed hard ware wise?19:33
jharttechSven: thanks19:34
Sven_vBadol-christin, man lshw19:34
ioriaadol-christin,  can you read what i wrote ?19:34
adol-christini did read what u wrote19:35
ioriaand?19:35
adol-christini want to know how many hard drives i have it says 1 but there is 2 according to the company i got my dedi from19:35
adol-christinand i want it to show on cnv19:35
adol-christin*VNC19:35
ioriaadol-christin,  paste    ' sudo parted -l | nc termbin.com 9999 '19:36
swift110sup19:36
adol-christinpaste: ' sudo parted -l | nc termbin.com 9999 ': No such file or directory19:37
OerHekstry without '19:38
adol-christinpaste: invalid option -- 'l'Try 'paste --help' for more information.19:39
CheetahPixieTried a more complete termbin url?19:39
majest1cI'm on the 5.0.0-17-generic kernel and I need the CP210x driver to work. When I try to connect a device that require that driver it does not get recognized. So I went to SiLabs and followed their instructions on how to add that driver for ubuntu, but it turns out it is already there, what should I do?19:40
CheetahPixiemajest1c Tried modprobing it?19:40
majest1cCheetahPixie I don't know how to do that19:40
adol-christini dont know anything19:40
adol-christincan u help19:40
CheetahPixieDo you know the module name?19:40
adol-christini was supposed to paste bin something but now im confused :(19:40
majest1cCheetahPixie I just downloaded a bunch of files and followed instructions19:41
jharttechadol run the command with out the paste part, only what is between the quote marks in the command that ioria mentioned19:41
sarnoldadol-christin: note that paste(1) is an old-school unix utility; you probably want pastebinit(1) instead19:41
majest1cI was supposed to copy the cp210x.ko to a certain path, but when I made "Insmod" it said the file already exists19:41
ioriaadol-christin,   sudo parted -l |  nc termbin.com 999919:42
CheetahPixieSo the module name is cp210x.19:42
majest1cYeah I guess so then19:42
CheetahPixieDo lsmod | grep -ai cp210x19:42
adol-christinhttps://termbin.com/zt2q19:42
adol-christinhere19:42
ioriagood19:42
majest1cYeah I got some results from that CheetahPixie19:42
CheetahPixieShow me.19:42
majest1cCheetahPixie https://paste.ubuntu.com/p/Fdcq8G4rCJ/19:43
OerHeksadol-christin, you *do* have 2 disks, nvme .. but they are both in raid19:44
OerHeksso, together 1 disk, have fun!19:44
adol-christinhow do i fix it?19:44
royal_screwup21I'm trying to kill the most power hungry process with top. I ran `top`. I hit `m`. Now, how do I select which process to kill? Moving the up or down array doesn't highlight any process...19:44
OerHeksthere is no fix?19:44
adol-christinso what should i reinstall the operating system?'19:44
royal_screwup21arrow*19:45
CheetahPixieroyal_screwup21 I would suggest htop; it has much more granularity, and can be used with a mouse.19:45
ioriaadol-christin,  raid stuff, not my cup of tea, sy19:45
adol-christinwhats raid?19:45
CheetahPixieadol-christin If that RAID array is your /, then reinstalling is your only option to dismantle it.19:45
CheetahPixiehttps://en.wikipedia.org/wiki/RAID19:46
OerHeksif this is a rental server, leave it like this19:46
adol-christinwhy leave it like this?19:46
majest1cCheetahPixie How do I proceed?19:46
psilly0 _______19:47
psilly0< hello >19:47
psilly0 -------19:47
psilly0        \   ^__^19:47
psilly0         \  (oo)\_______19:47
psilly0            (__)\       )\/\19:47
CheetahPixieLong story short: RAID is a method to combine multiple drives into a single volume. RAID 1 duplicates, RAID 0 stripes, and then there are other RAID "levels" doing a certain mix of those two, to fill different goals of a certain set; such as reliability/redundancy and speed.19:49
CheetahPixieHowever, considering that you have RAID 1, you may be able to safely dismantle the array and still have a bootable system, but I have too little experience to tell safety for sure.19:49
royal_screwup21does anyoe know docker works? I'm trying t o kill all running docker processes - I tried  `docker stop $(docker ps -aq)`....it's showing what are presumablt containers ids....but when I docker ps, it doesn't show anything. What's going on? Shouldn't it be showing processes that are running but haven't been killed yet?19:49
CheetahPixiemajest1c What does dmesg -w show when you plug the device in?19:49
royal_screwup21presumably*19:49
CheetahPixieroyal_screwup21Tried pkill docker*19:49
CheetahPixie?19:50
CheetahPixieWait.19:52
CheetahPixieIs this an USB serial device? majest1c19:52
CheetahPixieIf so, what are you expecting to happen once plugged in? What made you conclude it was not detected?19:53
CheetahPixieBecause in your modprobe, I can definitely see a serial device.19:53
CheetahPixieTry: ls /dev/ttyUSB*19:53
CheetahPixieIf there are results there, then you definitely have an USB serial device.19:53
leftyfbroyal_screwup21: maybe try #docker ?19:53
=== volume is now known as psilly0
cyberpolicehow can i run chck disk on a ntfs drive but in read only20:03
cyberpoliceis it possible to do it20:04
catbadgerhi all!20:11
catbadgerI'm copying a file from an ssd in a usb3 enclosure, cp and dd both report that the file is too large. the drive is formatted ntfs.20:12
catbadgerthe fiel is really big (5.1gb)20:12
lordcirthcatbadger, from an SSD that is formatted NTFS? Or from an SSD to a partition that is NTFS?20:13
OerHeksso you have no space enough on the target; free some space then?20:23
psilly0what does ^^ mean after a variable?20:24
lordcirthOerHeks, I think he means EFBIG / File too large, not ENOSPC20:25
catbadgerlordcirth from ntfs ssd to ext4 internal20:25
lordcirthcatbadger, can you please pastebin the exact command and output?20:25
lordcirthpsilly0, in what context? a bash file?20:26
psilly0lordcirth, yes20:27
catbadgerwell first i tried cp x y20:27
lordcirthcatbadger, also, the output of 'df -h' and 'lsblk -f'20:27
EriC^^psilly0: type "man bash" then type "/\^\^"20:27
catbadgerthen i tried tar cf - bigfile.iso | (cd /storage/foo; tar xvf -)20:27
catbadgerthe disk is NOT full20:28
catbadgeracording to df it's 63% used20:28
lordcirthcatbadger, 'df -h' and 'lsblk -f' please?20:28
lordcirthNot just for usage; I want to know what the devices are20:28
catbadgerlordcirth https://pastebin.com/utu3vd5f20:30
psilly0lordcirth, thanks dude!20:31
hortielhi20:32
hortielon askubuntu20:32
hortiel..you see the list of folders you can cd to under /usr/. Which function is executed? greping the complete function (as above) tells us it's the funtction _cd in /etc/bash_completion.20:32
hortielso I don't know what the exact way is to list the file location of bash_completion or whatever complete uses?20:32
hortielhttps://askubuntu.com/questions/443186/whats-the-use-of-complete-command20:32
OerHekstype the first 3 unique letters, and tab, nifty shortcut20:38
tomreyncyberpolice: ntfsfix --help  lists 5 options, try picking the most mathing one20:39
tomreyn*matChing20:40
OerHeksi think it uses /urs/share/bash_completion/bash_completion20:40
lordcirthcatbadger, probably not your problem, but in future, don't format drives directly (superfloppy) make a partition20:43
lordcirthcatbadger, you are copying to /media/catbadger/storage ? That's vfat.20:44
lordcirthvfat has a max file size of 4GiB.20:45
cyberpoliceok got it20:45
cyberpolicethank you20:45
lordcirthcatbadger, since you've only got 21GB in there, you might want to move it off and reformat it20:45
OerHekstar it in 3.9 gb chuncks20:46
hortielin gpg , can I generate or regenerate the same key,salt, iv parameters, does gpg accept deterministic algorithms...20:47
lordcirthsplitting it is also a valid option, if you don't need to use it directly20:48
catbadger...20:49
catbadgerthank you lordcirth20:50
=== mwsb4 is now known as mwsb
sptzanyone here know how to do filetansfers over usb-c? I have a mac with usb-c and backup laptop with usb-c but no ethernet on any of them. Doing an initial restic backup is painfully slow over  n wifi network. so im looking into option to leverage the 10Gbps speed of the 3.1 connection. But im really stumbling in the dark here. Anyone done something similar?21:29
sptzit seems like this was introduced to the mainline kernel in 4.15 im on ubuntus 4.1821:33
royal_screwup21I did htop and I found a user "whoopsie" running the command whoopsie -f21:35
royal_screwup21I did `whoopsie -f` and I got: [22:35:31] Could not get crash database location.21:35
royal_screwup21I have no idea what's happening - has someone hacked into my computer>21:35
catbadgerhi all21:36
royal_screwup21oh ok it's an ubunut thing https://askubuntu.com/questions/135540/what-is-the-whoopsie-process-and-how-can-i-remove-it21:36
catbadgercan't change permissions on mounted internal hd21:37
catbadgerany idea why?21:37
catbadgersudo chown has no effect21:37
tarzeauwhat filesystem?21:38
catbadgerext421:39
catbadgerfuck it's fat21:39
tarzeauLOL21:39
tarzeauexfat hopefully?21:39
catbadgerno21:39
catbadgeromfg21:39
tarzeauthey dun' have rwx21:39
catbadgercries21:39
catbadgerbrb need to snivel21:40
tarzeaui wrote a perms script to save owner/permissions and restore it later21:40
tarzeauwhen on a proper filesystem :) if you want it21:40
catbadgeri was fighting with another drive earlier.21:44
catbadgerit was this one21:45
catbadgerthe whole tiem21:45
catbadgerthanks man, sometimes you just gotta lob one eh>?21:45
sptzoh looks like the stupid lenovo ideapad have usb3.1 but not thunderbolt support21:46
=== yo_CAPTCHA_THIS is now known as Samizdat
z8zHello, i have a 3rd party app running on my ubuntu server but the strange thing is that after some time it doesnt accept connections from outside anymore on his specific port. Is there any security daemon specific to ubuntu that is active by default that can cause such thing?23:12
sarnoldwhat errors do you get?23:14
OerHekswhat app and what ubuntu version?23:14
OerHeksdoes it provide logs?23:14
Thr0rIs Orage the only usable calendar in Linux/ubuntu flavours when it comes to popup notifications of events and setting recurring events (i.e every 2nd week) Korganizer does not send notifications nor does it give a popup reminder..23:17

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