--- Log opened Wed Apr 11 00:00:40 2018 00:10 < bratchley> Is there a particular way to get either gedit or atom to open on a particular monitor? Trying to setup startup scripts and I have two monitors 00:11 < Klaus_Dieter> bratchley: that would depend on your window manager 00:11 < bratchley> budgie in this case 00:11 < bratchley> Klaus_Dieter: ^^ 00:13 < danieldg> never heard of that; try its channel, if it has one? 00:13 < Hanumaan> is gpart good tool to recover GPT? and can I run on non Live system as the HDD is not the main HDD(it is not under use now) 00:13 < tleydxdy> Hi guys, I'm having some trouble setting up file associations, okular seems been associated with everything 00:14 < Klaus_Dieter> Hanumaan: you can run on non live system 00:15 < Klaus_Dieter> never heard about budgie :) 00:15 < bratchley> :\ yeah it's the main DE for Solus but there's also an Ubuntu spin on it 00:15 < Hanumaan> Klaus_Dieter: as of now with Testdisk under Analyse step I received this. Should I try to recover parition table with gpart or should I try to recover partitions with Testdisk? 00:16 < Hanumaan> https://paste.ubuntu.com/p/qCj3WgpJRy/ 00:20 < Klaus_Dieter> Hanumaan: do you have a backup? 00:21 < Klaus_Dieter> before altering anything (a ro-mount alters stuff), create one. 00:21 < Hanumaan> Klaus_Dieter: No I don't have backup 00:22 < Psi-Jack> No backup? Data wasn't important enough to keep then. 00:22 < Klaus_Dieter> well.. you know what do do then... :) create one using dd, then start playing with testdisk et al 00:22 < twainwek> live on the edge a little. don't back up 00:23 < Klaus_Dieter> come on. it is difficult to be in this position already. there is no need to rub it in now. 00:23 < Hanumaan> Klaus_Dieter: Thanks .. I will try to backup first with dd 00:24 < Klaus_Dieter> Hanumaan: if you don't have the space, think about streaming and zipping the data. 00:24 < Klaus_Dieter> Hanumaan: do you know why the gpt is damaged in the first place? 00:24 < Hanumaan> Psi-Jack: it is important, actually I started that drive as a backup disk slowly with time ended as a data HDD 00:24 < Psi-Jack> If it's not backed up, its not important. 00:25 < djph> ^ 00:25 < djph> if it's only backed up in one place, it's not backed up 00:25 < Hanumaan> Klaus_Dieter: No I don't why it got damaged. damaged HDD is 3TB. Now I have new 4TB HDD so I think I backup ... hope so 00:25 < Klaus_Dieter> good luck. 00:26 < Hanumaan> Psi-Jack: Yes, have to accept hard reality. Lesson learnt 00:27 < Hanumaan> Klaus_Dieter: I mean it was always connected as External USB drive and suddenly got damaged. Not sure is there any other way to know actual reason why it got damaged? 00:28 < genericUser1234> Hi All, I'm trying to install fedora 27 as dualboot with Win10 - It mentions I need a /boot/uefi partition. I specify that and it still complains. Any advice? 00:28 < ayecee> complains how 00:28 < Klaus_Dieter> Hanumaan: sometimes this happens by pilot error, sometims this is broken hardware 00:29 < genericUser1234> ayecee: says I need one despite specifying one :/ 00:29 < Klaus_Dieter> Hanumaan: in your case it is difficult to know. but usually when it is pilot error you do know :) 00:29 < tleydxdy> boot/uefi doesn't seem correct anyways 00:29 < ayecee> genericUser1234: what is the message 00:29 < bratchley> Klaus_Dieter: fwiw it looks like xdotool does what I need and is DE agnostic 00:30 < bratchley> although obviously X11 dependent 00:30 < Klaus_Dieter> Hanumaan: also, if it really is a hardware issue, there is a chance that your backup now will be broken 00:30 < Klaus_Dieter> bratchley: isn'T budgie for wayand? 00:30 < Klaus_Dieter> l 00:30 < bratchley> no it's actually Xorg 00:30 < bratchley> I don't think they've implemented a Wayland compositor yet 00:31 < Hanumaan> Klaus_Dieter: is this good command to backup with dd, dd if=/dev/sdX of=/dev/sdY bs=64K conv=noerror,sync status=progress 00:32 < genericUser1234> No valid bootloader target device found. See below for details. For a UEFI installation, you must include an EFI System Partition on a GPT-formatted disk, mounted at /boot/efi. I've tried specifying that too... 00:32 < Hanumaan> Klaus_Dieter: disk has GPT and btrfs paritions 00:32 < ayecee> no. don't use conv=noerror,sync 00:32 < Dagmar> Why are you adding "noerror"? 00:32 < genericUser1234> tried changing things around, doesn't help. Tried automatic partitioning, but it doesn't seem to work. It doesn't utilize the space I have on the hd? 00:33 < Hanumaan> ayecee: dd if=/dev/sdX of=/dev/sdY bs=64K status=progress --- is this fine? 00:33 < Dagmar> You *must* boot via UEFI 00:33 < Dagmar> If your boot media is booting via "Legacy Mode" then the facilities won't be available to do a UEFI-based installation 00:33 < Klaus_Dieter> Hanumaan: seems ok, just make sure you get source and destination right. also for of I would use a file instead of a partition. 00:33 < ayecee> sure 00:33 < Klaus_Dieter> and noeerror and sync I would not use 00:34 < geheimnisse> anyone else living that fabulous tier 1 life getting screamed at by people who dont understand what theyre doing? can i get a WHATWHAT 00:35 < Psi-Jack> geheimnisse: Never been tier 1. Too technically knowledgable since childhood. :) 00:35 < Hanumaan> Klaus_Dieter: file? how to use that? so I have to create a partition in destination HDD and write of to a file? 00:35 < genericUser1234> Dagmar - cheers. I'll try giving that a try. Would booting in legacy mode explain why it autopartitioning doesn't let me detect the free space? 00:35 < Dagmar> Probably not 00:35 < Klaus_Dieter> Hanumaan: you don't have to but it may may be easier to use in the future 00:35 < geheimnisse> Psi-Jack I grew up in the ghetto, i have to start from the bottom because it's the only way i was given a chance 00:36 < genericUser1234> I've tried in windows disk manager formatting a block of space with the intent to destroy it - 'freeing' it as per the option doesn't help. Was unallocated beforehand 00:36 < Psi-Jack> That's not true. 00:36 < Dagmar> geheimnisse: You can just thank your lucky stars you don't have *me* on the phone then 00:36 < Psi-Jack> Dagmar: Still got 'em? 00:36 < Dagmar> I make Tier 1 reps who think they're cue cards are helping cry tears of suffering 00:37 < Dagmar> Psi-Jack: No, apparnetly there's a hard limit of one hour on their calls, but someone new was threatening to sue when I last checked 00:37 < geheimnisse> We dont have cue cards or a script or anything. 00:38 < geheimnisse> Its go out, figure out how to fix it and if you sink you sink 00:38 < geheimnisse> so me and all my coworkers are rather experienced with linux at the minim 00:39 < geheimnisse> the people who need scripts and cue shit end up quitting 00:42 < Psi-Jack> It's extremely rare to have "tier 1" admins. 00:43 < bratchley> bold strategy cotton 00:43 < bratchley> giving tier 1 people root 00:44 < geheimnisse> Yeah well like i said it's not cue cards and scripts, we have to prove ourselves initially and have quite a bit of experience with Linux to be able to work. 00:45 < geheimnisse> yeah we're given root access for most things that need to be done. 00:45 < Psi-Jack> Yeah, that's not tier 1. You're underpaid, too. :) 00:45 < bratchley> it must be tier 1 in some way that's different than other places 00:46 < geheimnisse> im getting the impression that im not functionally tier 1 compared to most places 00:46 < bratchley> tier 1 is usually "My outlook won't work" 00:47 < geheimnisse> We occasionally get that shit but it's usually like, why tf is apache throwing a 500 00:47 < kurahaupo> Tier 1: have you tried turning it off and on again? Tier two: Let's reset your password. 00:47 < geheimnisse> Oh ok lemme check that out 00:48 < royal_screwup21> I'm trying to wrap my head around environment variables and I tried something like this: export VAR = "foo". My question is, how do I retrieve this variable and is this variable recorded somewhere (in .bashrc or something)? 00:48 < geheimnisse> sounds like at most placea we would be higher than tier 1 because i dont do that stuff 00:48 < jml2> royal_screwup21, nope 00:48 < geheimnisse> echo $VAR 00:48 < royal_screwup21> thanks guys 00:48 < bratchley> geheimnisse: yeah it sounds like you're somewhere between Tier II and an actual admin 00:48 < bratchley> are there people you escalate to? 00:48 < jml2> royal_screwup21, you can do a tab completion with ctl-x and that can print variables as well 00:49 < Hanumaan> Klaus_Dieter: Looks like there is hardware error got this error message now "dd: error reading '/dev/sdb': Input/output error" 00:49 < kurahaupo> royal_screwup21: do you actually need it exported? 00:49 < jml2> royal_screwup21, typing "set" alone also prints out vars 00:49 < geheimnisse> yeah but its only because our access is still somewhat restricted. usually when i escalate its like hey bro do this because i dont have the permissions 00:50 < royal_screwup21> kurahaupo: the API I'm using requires my client id and stuff. I thought I'd set my credentials as environment variables so I don't have to expose them a script 00:50 < Psi-Jack> Yeah, definitely not tier 1. 00:50 < jml2> royal_screwup21, https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/c1195.htm 00:50 < bratchley> geheimnisse: that sounds like something right around "tier II" most places 00:50 < bratchley> that's still more than a lot of tier II do but it sounds like you're not quite at "admin" level 00:51 < kurahaupo> jml2: argh, tldp, Bugs Central 00:51 < geheimnisse> makes sense from what you guys are telling me. im definitely not running at a sysadmin level but im not a chimp. 00:51 < oneplane> ur a chimp 00:51 < oneplane> ook ook 00:52 < geheimnisse> i mean technically im a primate 00:52 < geheimnisse> just a relatively hairless one closely related to the bonobo 00:52 < geheimnisse> ook ook ah ah 00:53 < kurahaupo> royal_screwup21: no spaces allowed around the = 00:53 < royal_screwup21> ah yes, thanks for pointing out 00:54 < kurahaupo> geheimnisse: neotic and talkative 00:55 < jml2> geheimnisse, you're not a chimp? maybe you're a baboon! 00:55 < Psi-Jack> geheimnisse: What is virtual memory in Linux? 00:55 < geheimnisse> my ass isnt red 00:55 < kurahaupo> geheimnisse: how would you know? 00:55 < jml2> geheimnisse, you can't see your ass how do ya know!! 00:55 < jml2> kurahaupo, lol 00:56 < geheimnisse> some other chimp invented mirrors 00:56 < geheimnisse> psijack basically swap why 00:57 < Psi-Jack> geheimnisse: Hmmm.. No, that is not correct. 00:57 < Psi-Jack> geheimnisse: What contributes to system load? 00:57 < geheimnisse> "basically" also i just worked for 9 hours im not using my brain anymore today 00:58 < geheimnisse> and i already started drinking 00:59 < Psi-Jack> geheimnisse: Just a simple knowledge test. Most people get the first question wrong. :) 00:59 < geheimnisse> if it's not essentially swap then how would you succinctly describe it 00:59 < Psi-Jack> What contributes to system load? ;) 01:00 < geheimnisse> everything god dammit 01:00 < klotz> well the answer to all of life's questions is moar alcohol 01:00 < geheimnisse> yes more alcohol 01:00 < geheimnisse> after work irc is for shit talking 01:01 < Psi-Jack> No, no it is not. And kindly mind your language. 01:01 < kurahaupo> Psi-Jack: insufficient cpu cores to run all the ready-to-run threads 01:01 < geheimnisse> you did not say how you would succinctly describe virt mem 01:02 < geheimnisse> other than "basically swap" 01:02 < Psi-Jack> geheimnisse: virtual memory is the total combined memory of both physical RAM and swap paging. 01:02 < geheimnisse> ugh 01:02 < geheimnisse> yes, basically swap 01:02 < Psi-Jack> No. 01:03 < geheimnisse> were sayung it differently. also ive been drinking. and im on a phone so typing a lots a pain 01:03 < Psi-Jack> No. I'm saying it exactly, you're cutting corners and claiming it's correct, when it's not. :) 01:03 < geheimnisse> ok 01:04 < kurahaupo> Iirc Swap plus mmapped files equals total vmem, where resident is a subset of swap 01:04 < kurahaupo> Oh, plus pinned 01:05 < Psi-Jack> Maybe you need to stop IRC, because drinking and IRC and considering IRC to be the place to crap talk to everyone, is definitely not the general consensus people here are interested in. I was personally just curiously testing your knowledge level to get a basic idea of your linux knowledge, see where along the potential tiers of your career you actually might be. :) 01:05 < geheimnisse> i wasnt "crap talking" anyone here, you wanted to pop quiz 01:06 < ntd> is raid metadata "standardized". can i use mdadm to query verbose info for a macos raid? 01:06 < jml2> macos raid sux 01:06 < ntd> mhm 01:06 < Psi-Jack> Just going off your earlier statement claiming that IRC is for sh&% talking after work. :) 01:07 < Psi-Jack> ntd: No. 01:07 < Psi-Jack> And No. 01:07 < ntd> and their raid utility is about as useful for getting this info as instagram 01:07 < jml2> ntd, it's not real raid last time i checked.. you can pretty much mount any of the raid members but do so in read-only 01:08 < ntd> it's a raid5, meaning that the data is striped but with one chunk of parity data on two of the drives and a third drive with ony par data 01:08 < Psi-Jack> Still, the answer to both questions asked are the same. 01:09 < ntd> so i can't use a raid0 data recovery sw and i'll need this info to do any meaningful data recovery with third party tools 01:09 < ntd> any way to force-mount it read-only? 01:09 < Psi-Jack> Again. No. 01:10 < Psi-Jack> If you're asking for macOS help, this is not the channel. 01:12 < kurahaupo> ntd: that's a description of RAID 4 rather than RAID 5 01:12 < ntd> Psi-Jack, i'm not saying #mac is #windows as in "if we don't know the answer your question isn't valid" 01:12 < ntd> but they apparently don't know 01:13 < jml2> ntd, mdadm doesnt support macos raid no no no 01:13 < jml2> lol 01:13 < Hanumaan> Got to know that I was using one of the very bad model HDD : https://en.wikipedia.org/wiki/ST3000DM001 . Is there a solution to recover data? dd copy to another HDD failed. Any solutions? 01:13 < ntd> not as in use it, just query metadata 01:14 < Klaus_Dieter> Hanumaan: you can try dd_rhelp 01:14 < ntd> kurahaupo, how so? 01:16 < forgotten> does anyone know how to turn off "aide" ? 01:16 < kurahaupo> ntd: in RAID 4 one device only holds parity. In RAID 5 which device holds parity depends on the block number 01:16 < ntd> three-drive raid5 01:17 < kurahaupo> ntd: each would be ⅔ data and ⅓ parity 01:17 < mawk> can I poll cgroups files ? 01:19 < geheimnisse> Psi-Jack should i start taking jello shots or stick to beer? my neighborhood bar doesnt charge me for them. 01:19 < geheimnisse> jello that is. 01:19 < kurahaupo> Aq JB 01:21 < Klaus_Dieter> Hanumaan: if possible, you can use it on single partitions 01:22 < Hanumaan> Klaus_Dieter: partitions are not shown when look with gparted. they are getting shown only via Testdisk but did not used it yet. Want to first back as you suggested. 01:26 < Klaus_Dieter> let's assume the drive is failing. that means you need 3TB for your backup and then whatever storage you have used on your partitions to copy off your data. 01:26 < Klaus_Dieter> do you have enough room? 01:26 < Klaus_Dieter> if the drive is failing dd_rhelp can help you for your backup 01:27 < Klaus_Dieter> unfortunately already we know that you will not be able to recover _everything_ 01:30 < Hanumaan> Klaus_Dieter: yes I have enough room, with dd_rhelp I did not completely understood 01:30 < Hanumaan> is it a command? or 01:31 < Hanumaan> Klaus_Dieter: It looks like there is real problem on this Model, and there were several legal cases on this was trying from Seagate if they have any recovery option but it is extremly high cost also they don't say for linux data 01:32 < Klaus_Dieter> it is a script that wraps dd to read hopefully most of your data 01:33 < Klaus_Dieter> it starts dd until it fails, then jumps to a random offset on the drive, starts reading there until it fails. when it reaches the end of the drive, it jumps to a random offset within your unread space to read until it hits known data 01:33 < Klaus_Dieter> and it keeps jumping until either a) all your data is read or b) your drive is dead 01:33 < Klaus_Dieter> or c) you exit 01:34 < Hanumaan> Klaus_Dieter: ok would like to try that .. 01:34 < RayTracer> or dd_rescue 01:34 < Klaus_Dieter> http://www.kalysto.org/utilities/dd_rhelp/index.en.html 01:35 < Klaus_Dieter> RayTracer: dd_rhelp is actually a wrapper to dd_rescue not dd 01:35 < RayTracer> ah 01:40 < Hanumaan> Klaus_Dieter: for dd_rhelp I need to install dd_rescue but this(sudo apt install dd_rescue) did not worked. 01:40 < forgotten> does anyone know how to turn off "aide" on redhat? 01:45 < Hanumaan> is dd_rescue and ddrescue same or different? installing gddrescue got ddrescue but not dd_rescue 01:46 < RayTracer> they do similar stuff afaik, some prefer one over the other but I forgot which one is deemed "better" 01:49 < solidfox> if I'm using kdm, and choosing i3wm when loggin in, where should I put my xsetroot or feh call to set my background? 01:49 < solidfox> I put it in xsession but I think that wont work 01:53 < solidfox> wow konversation is really bright. think i may use xrssi 01:55 < solidfox> er irssi 01:58 < kodeeo> Hello everyone 02:00 < kodeeo> Hi? 02:03 < drhelskt> Goodbye? 02:03 < significance> Hey all! Anyone know if there's a way to avoid routing chosen/stdout-path in a device tree file? 02:06 < saul> is there a neater way to check if something is running than piping ps to grep? I'm writing a backup script and i want to make sure it doesnt run if a process already exists 02:07 < saul> it looks like some programs create a .pid in /var/run but i'm not sure 02:08 < mawk> you can use a lock file saul 02:08 < mawk> there's a cool idiom for this 02:08 < saul> ah yeah 02:09 < saul> good call mawk 02:09 < mawk> ( flock -n 9 || exit 1; ...yourcode... ) 9>yourlockfile 02:09 < jimm> kodeeo, hi 02:09 < saul> i was just reading about flock after i posed the question, it looks lke it should work for me 02:10 < kodeeo> Can anyone help me with an issue? Im stuck on installing Nvidia drivers 02:10 < saul> mawk: yourcode can be a call to a script ? 02:10 < mawk> it could be anything 02:10 < mawk> you can put newlines in it 02:10 < saul> or should i do the flock call inside the script and wrap everything in there 02:10 < mawk> just write regular bash code 02:10 < mawk> yes, that 02:10 < saul> SCM-73 - Valididar lost focus modificacion de precios SCM 02:10 < saul> oops sorry 02:10 < mawk> you write your all script inside the ( ) 02:10 < mawk> after the flock -n 9 || exit 1 02:10 < saul> flock -n /var/run/your.lockfile -c /your/script 02:10 < saul> ^- internet said this 02:11 < saul> hmm 02:11 < saul> flock removes the lockfile 02:11 < mawk> that is a once time 02:11 < mawk> just use my stuff 02:11 < mawk> it's for a script with a lockfile 02:11 < mawk> exactly what you need 02:11 < saul> ok mawk 02:12 < kodeeo> Can anyone help me with a problem on kali? I got stuck after installing Nvidia gpu drivers 02:12 < saul> hey mawk, what does that last 9 before the > mean 02:12 < saul> i know > redirects output to the lockfile 02:12 < saul> is that a parameter to flock ? 02:12 < saul> doesnt seem so because it's outside the parentheses 02:13 < mawk> saul: http://paste.suut.in/Ua4PteE0.sh 02:13 < mawk> the 9 means uses file descriptor number 9 for the redirection 02:13 < mawk> file descriptor number nine is set to be the file "lockfile" inside the parenthesis 02:13 < mawk> that's what ( ... ) 9> file means 02:13 < mawk> ( ... ) >file redirects the standard output to "file" inside the parenthesis 02:14 < saul> OK 02:14 < saul> it's a fd type then 02:14 < mawk> a fd 02:14 < mawk> a fd is a number 02:15 < jimm> and ( ... ) is a subshell, and the ... are commands run in that subshell 02:17 < saul> mawk: nailed i think 02:17 < saul> mawk: https://pastebin.ca/4013715 02:18 < saul> err nailed it 02:18 < mawk> yeah 02:18 < saul> thanks mawk jimm 02:18 < saul> now i will schedule this nightly instead of weekly without worry 02:19 < mawk> to be extra clean you can remove the lock file saul 02:19 < mawk> but it doesn't matter 02:19 < saul> but if i dont remove it, wont it fail to run the next time 02:19 < mawk> if the file already exists but your program isn't running, it won't fail 02:19 < saul> when it tests for its existence 02:19 < mawk> no 02:19 < mawk> it doesn't test for existence at all 02:19 < mawk> it tests for the lock 02:19 < saul> O_o 02:19 < saul> ahhh 02:19 < mawk> the lock is held until the program is closed 02:20 < mawk> when the program is closed, the lock is removed 02:20 < mawk> even though the file still exists 02:20 < saul> ok 02:20 < mawk> that's the beauty of this 02:20 < saul> yeah 02:20 < miyalys> Hi! Trying to write a wget shellscript where I store the headers in an array, loop through them and output them in the syntax the wget command should expect. But it doesn't work. At the bottom of the script I write the results and expected output: https://pastebin.com/AVKUgf2m There's probably multiple things wrong with it. 02:20 < jimm> kodeeo, I happened to be on #debian when you asked, you say after you reboot with the nvidia drivers installed, you get a black screen 02:20 < saul> this is way more sophisticated than what i've seen before 02:20 < saul> i've had scripts that just do something like if [ -e lockfile ]; then 02:20 < mawk> it's the best approach I think 02:21 < miyalys> regarding ps and piping to grep there's also pgrep btw. 02:21 < mawk> these scripts will fail if they crash leaving the file in place 02:21 < saul> mawk: how do you manually check for a lock? with flock? 02:21 < saul> like if something went wrong 02:21 < mawk> yes 02:22 < kodeeo> @jimm yes. I just installed Nvidia drivers, following step-by-step instructions on the kali site. I rebooted, and after I did that the OS cant boot, and it gets stuck on a black screen. 02:22 < kodeeo> Jimm 02:22 < infinisil> pgrep . | tac | xargs kill -9 02:22 < mawk> flock is checking for the lock on fd 9 saul 02:24 < o|0o^|> kodeeo: if all else fails you could always contact the driver author for suport :> 02:24 < kodeeo> How do you tag me in replies? I'm new to irc 02:25 < mawk> just say the nickname 02:25 < o|0o^|> i'm a wizard 02:25 < mawk> without @ or anything 02:25 < o|0o^|> thanks for ruining the mystery mawk 02:25 < kodeeo> Oh thank you 02:25 < mawk> lol 02:25 < kodeeo> Can I send links here? 02:25 < mawk> probably 02:26 < mawk> you can do a lot of forbidden things if you want 02:26 < mawk> it's easier to ask for forgiveness than permission 02:26 < kodeeo> Is it allowed to send links in here? ;) 02:26 < suttin> Hey. I'm trying to find the column diff still but I can't remember the name. It shows differences on the outside and the same lines in the middle, and you can choose what columns to display easily 02:26 < mawk> yeah probably 02:26 < mawk> just send the link 02:27 < suttin> S/Still/util 02:27 < miyalys> sometimes one should definitely ask for permission however 02:28 < miyalys> regarding kill -9 maybe try sigint and sigterm first, gives the process a chance to try to clean up after itself 02:28 < saul> mawk: lol i found your idiom in the manpage 02:29 < saul> line 94 :D 02:29 < kodeeo> https://forums.kali.org/showthread.php?39196-Kali-Freezing-After-Boot-Sequence 02:29 < mawk> yeah it's a common thing 02:29 < mawk> file descriptor 9 is always what we pick 02:29 < kodeeo> This guy has my identical problem 02:29 < mawk> because bash could do anything with the fd > 9 02:29 < mawk> so we start from 9 and go downwards 02:30 < pity> It seems https://paste.linux.community/lists/1900 has been spammed, most recent pastes are four letters. 02:30 < kodeeo> No sorry link was wrong lol 02:31 < mawk> you should tell Psi-Jack 02:31 < kodeeo> https://forums.kali.org/showthread.php?39928-Kali-Not-Booting-after-Nvdia-driver-install&highlight=Nvidia 02:31 < kodeeo> Ok. I have this exact issue. What can I do? 02:32 < suttin> Looking for comm. Found it 02:32 < occupant> stop trying to game on linux? 02:32 < o|0o^|> call nvidia tech support 02:33 < kodeeo> I don't need the gpu to game, occupant 02:33 < occupant> ah, it was usually trying to install the "good" 3d drivers that broke everything for me. 02:40 < cmj> use termbin 02:40 < cmj> ah nevermind 02:40 < cmj> /backlog 02:44 < tpanarch1st> morning, i'm trying to work out how the goodness to send a mysql dump file to a remote server 02:45 < djph> scp 02:45 < ksk> tpanarch1st: you have ssh-access? scp is your tool. 02:45 < tpanarch1st> as far as I can see step 1 is so step 1 dragonheart ssh -L /tmp/remote.socket:localhost:3306 192.168.1.176; then step 2: (issue locally) mysql -S /tmp/remote.socket -u c8f3ljsef1ce -p'Tp3hjkFSjcs7!' c8f3ljsef1ce < home/beanie/Downloads/financedatabase.sql (password of course changed) 02:45 < tpanarch1st> then then step 2: (issue locally) mysql -S /tmp/remote.socket -u c8f3ljsef1ce -p'Tp3hjkFSjcs7!' c8f3ljsef1ce < home/beanie/Downloads/financedatabase.sql 02:46 < ksk> tpanarch1st: you just pasted your mysql user and passowrd, please change them! 02:46 < tpanarch1st> ksk: noooo i changed the password and the user details :) 02:46 < tpanarch1st> thanks though!! 02:46 < tpanarch1st> i deliberately left the ! in the password to point out it was there in case it stuffs anything up! 02:47 < ksk> tpanarch1st: dont setup a tunnel to copy a file. use scp: "scp file user@host:/path" 02:47 < tpanarch1st> that's cool, so step 1 scp it over 02:47 < tpanarch1st> then step two? 02:48 < tpanarch1st> i'd much rather get phpmyadmin playing ball but no such luck 02:48 < ksk> ssh to the mysql-server. invoke mysql locally 02:50 < tpanarch1st> how do i go about the invoking it locally please :) 02:50 < tpanarch1st> royally confused 02:50 < ksk> locally = on the machine you are working on. so if you ssh mysql-server - commands that you issue now are "locally" 02:50 < saltystew> does anyone use dunst 02:51 < tpanarch1st> ksk: sure ksk i'm just having a bit of trouble working out the local command itself :) 02:51 < ksk> so, you invoke mysql, eg: "mysql -u usr -p pw DataBaseName < dump.sql" 02:52 < meyou_> don't think the pw goes in the line like that does it? 02:53 < ksk> eh might totally be, just add -p and answer the prompt with the password 02:53 < ksk> also, you might consider being the Database Admin for "financedatabase.sql" with your linux-expertise ;) 02:55 < tpanarch1st> so ksk - scp /home/beanie/Downloads/financedatabase.sql root@192.168.1.176:/tmp/dbdumps/. i presume /tmp/ is an ok place to shove it 02:55 < tpanarch1st> that's the first bit? 02:56 < meyou_> yeah that'll shoot the file over 02:56 < tpanarch1st> sweet that's a great start :) 02:56 < meyou_> if you wanna get fancy you can netcat it right into mysql 02:56 < tpanarch1st> oooh let's not complicate things please! 02:56 < meyou_> but then it'd be mysql -u c8f3l... -p < /path/to/dumpfile.sql 02:57 < meyou_> you may also need to specify the database depending on what the top of the dumpfile looks like 02:57 < meyou_> usually there's some logic that creates the db if it doesn't exist, and uses the db then drops all tables if it does 02:57 < tpanarch1st> oh so not "mysql -u usr -p pw DataBaseName < dump.sql" ? 02:57 < meyou_> i think you can feed it the password inline with -p'password' like your original example 02:57 < tpanarch1st> ok but would what ksk says work i.e. "mysql -u usr -p pw DataBaseName < dump.sql" 02:58 < meyou_> and yeah you can give it the db name, if the sql dump already has it that won't break it 02:58 < tpanarch1st> issue that from the /tmp/ directory on the mysql server 02:58 < meyou_> but if the sql dump doesn't have it, you'll need it 02:58 < tpanarch1st> oh shoot 02:58 < tpanarch1st> it's come from elsewhere 02:58 < meyou_> yeah or just use the fully qualified path 02:58 < tpanarch1st> oh i'm soooo confused 02:58 < meyou_> head dump.sql 02:58 < tpanarch1st> i'm so annoyed at phpmyadmin not doing a simple upload of a large db file 02:59 < tpanarch1st> head dump.sql?? 02:59 < meyou_> php's upload capability is limited by the config 02:59 < tpanarch1st> meyou_: absolute fair comment, i changed all that but no joy 02:59 < tpanarch1st> even after a server restart 03:00 < meyou_> i'm confusing the issue with all this head business 03:00 < tpanarch1st> so many people told me "do it over shell" but as ksk so observantly pointed out, i'm no sysadmin! 03:00 < meyou_> mysql -u username -p'password' databasename < /path/to/dump.sql 03:00 < meyou_> that should work in all cases 03:00 < tpanarch1st> sweet so part two that you've just said, do that from the tmp directory on the mysql server itself 03:00 < tpanarch1st> once scp'd 03:01 < tpanarch1st> good Lord, you seriously need to know your stuff with this don't you :) 03:01 < meyou_> you can do it from wherever if you use the full /path/to/dump.sql 03:01 < meyou_> or you can cd into the path and just use dump.sql 03:01 < tpanarch1st> but crucially, part 2 on the server once sent over :) 03:01 < meyou_> are you planning on scripting this 03:02 < noway42> Exception Value: could not translate host name "postgres" to address: Temporary failure in name resolution. Any suggestions? 03:02 < meyou_> or just doing it one-off 03:02 < tpanarch1st> me you - no, a notepad job for further reference!!!! 03:02 < meyou_> noway42, sounds like you have a syntax error and it's looking for a machine named "postgres" in DNS 03:02 < meyou_> or...it's no error and you just need to fix your DNS so that 'postgres' resolves properly 03:02 < tpanarch1st> right i think iv'e got this now, so i'll just put it together and pop it back to you for a final check please :) 03:03 < noway42> I'm been messing with my /etc/hosts 03:03 < noway42> just adding a redirection that's all. So I should add 127.0.0.1 postgres to /etc/hosts? 03:04 < meyou_> erm, maybe, although not sure what the point would be instead of just using 'localhost' in your command 03:04 < meyou_> what command are you running that gives that error 03:05 < meyou_> @tpanarchist just be warned that while you're importing, anyone on that machine can read your mysql password 03:05 < meyou_> by looking at ps 03:05 < meyou_> if there's nobody you wouldn't trust with that password who can ssh in it's not a huge problem 03:08 < tpanarch1st> meyou_: 03:08 < tpanarch1st> ----Step 1 - From Where the Database is i.e. Laptop (Essentially not the MySQL Server) ------ 03:08 < tpanarch1st> scp /home/beanie/Downloads/financedatabase.sql root@192.168.1.176:/tmp/dbdumps/. 03:08 < tpanarch1st> ------Step 2 - From The MySQL Server once scp'd over-------------- 03:08 < tpanarch1st> mysql -u username -p'password' databasename < /path/to/dump.sql 03:11 < noway42> meyou_ thanks 03:16 < tpanarch1st> ah anybody else, is that right as above please 03:19 < Slyver> tpanarch1st, I just use HeidiSQL to import databases from my Windows dev machine 03:20 < tpanarch1st> Slyver: im running linux 03:20 < tpanarch1st> ah balls to this 03:20 < tpanarch1st> it doesn't work 03:20 < tpanarch1st> this is not meant to work 03:21 < tpanarch1st> just got locked out of the damn server 03:21 < Slyver> tpanarch1st, https://stackoverflow.com/questions/4546778/how-can-i-import-a-database-with-mysql-from-terminal 03:21 < tpanarch1st> noway do i use stackoverflow - have you seen how hard they make it 03:21 < tpanarch1st> :) 03:21 < tpanarch1st> thanks though 03:22 < tpanarch1st> waste of bloody time 03:22 < tpanarch1st> i'll pursue fixing phpmyadmin 03:22 < tpanarch1st> it's took like 2 hours - nobodies fault accept whoever didn't make it straight forward from a development point of view! 03:23 < tpanarch1st> except* 03:24 < Slyver> phpmyadmin is not that great 03:24 < tpanarch1st> Slyver: what's the alternative? 03:25 < tpanarch1st> thanks for your attempts people though 03:25 < tpanarch1st> but the need for it's use is simple, the requirement to use it is top end expert 03:25 < Slyver> Again if you have a local Windows machine, there is https://www.heidisql.com/ 03:25 < MrPockets> Man, do I dare run this NAS' firmware updater .exe in wine? 03:25 < tpanarch1st> Slyver: i don't use windows :) 03:26 < Slyver> there is wine https://askubuntu.com/questions/459074/how-to-install-heidisql-on-ubuntu 03:27 < Slyver> tpanarch1st, I have not tried any of these https://alternativeto.net/software/heidisql/?platform=linux 03:28 < tpanarch1st> thanks Slyver wine comes with a million different issues, there used to be a way of scping via a folder in a GUI 03:28 < tpanarch1st> i just can't remember what it was that did it 03:28 < tpanarch1st> "drag and drop"! 03:28 < tpanarch1st> the folder did the scp for you 03:29 < Peetz0r> Hey! I am running linux on my 486 with 12 MB ram (2.4.37.11 - yes, I know how old this is). When I do 'free -k' is shows only 9808 KB of my 12 MB of ram. Why is that? 03:30 < Peetz0r> (or: "Why was that?") 03:30 < Slyver> Peetz0r, what distro and version are you using? 03:31 < Peetz0r> Delicate Linux 0.1 alpha 5 03:31 < dczheng> 12MB ?? 03:31 < Peetz0r> (one of the few linuxes that actually runs on this old machine) 03:32 < blackflag_bfp> DSL might work well on that sys 03:32 < Peetz0r> nah, recent DSL requires at least 32 MB I think 03:32 < ksk> lol. 03:32 < blackflag_bfp> hiya CodeBug Buddy! 03:33 < Peetz0r> I don't remember the exact requirement, but I checked DSL and TinyCore and a few others, and most "well known lightweight" linuxes aren't light enough :p 03:33 < Peetz0r> the only actual recent thing that runs on it is NetBSD :p 03:33 < CodeBug> How would i lighten Ubuntu 03:33 < blackflag_bfp> no your right I did not properly understand the full scope of your precursor machine :P 03:33 < CodeBug> I know that 1804lts will have a minimal install capability 03:34 < Peetz0r> blackflag_bfp: here's some background info: https://revspace.nl/Compaq_LTE_Elite_4/50E 03:34 < blackflag_bfp> CodeBug: use debian 03:34 < blackflag_bfp> CodeBug: its what I had to do when running an old machine, ubuntu these dayd wants multi cores and ton of resources 03:34 < CodeBug> I have an 8 core system 03:35 < blackflag_bfp> CodeBug: so ny "lighten" you mean HD usage? 03:37 < cmj> "wants multicores"? 03:37 < CodeBug> nah just package and dependencies wise 03:37 < CodeBug> I don't want the extra crap that comes with it. 03:38 < Peetz0r> you could try installing the server version instead of the desktop 03:38 < blackflag_bfp> CodeBug: not an expert but I had to just list all the pkgs and then apt-get remove enything that was spam to me 03:39 < CodeBug> ahh i might do that what cli did you use to achieve that 03:39 < blackflag_bfp> CodeBug: I use Eterm but on here I have found that many don't even know what that term is 03:40 < blackflag_bfp> CodeBug: any term should be fine 03:40 < blackflag_bfp> CodeBug: if you really want to cheat you can use the ubunutu software suite to uninstall stuff 03:41 < CodeBug> true 03:41 < CodeBug> doing that now lol 03:47 < Peetz0r> Why do two different (both old) linuxes show me a different amount of ram? https://imgur.com/a/oeGbI 03:47 < lunaphyte> hi. i'm trying to understand a behavior with getent: 03:47 < lunaphyte> https://paste.linux.community/view/raw/8ef4fe0b 03:48 < Psi-Jack> lunaphyte: Hmmm, perhaps I can for once help you then. heh heh 03:48 < lunaphyte> i'd be thrilled :) 03:48 < lunaphyte> i always thought if the answer was in /etc/hosts [as it is], then that should be the answer returned by getent 03:48 < Psi-Jack> getent looks up the various nss databases, as you already seem to know. But, what's confusing? 03:49 < lunaphyte> but it seems that if dns is included in the nsswitch hosts spec, the answer always comes from dns, even when not listed first 03:49 < Psi-Jack> Hmmm 03:50 < lunaphyte> "files" is listed first, and has the answer, as is evidenced in "#example with files only", yet it does not win when dns is present 03:51 < Psi-Jack> OKay, yeah, THAT is odd. Very odd. 03:51 < Psi-Jack> glibc, right? heh 03:52 < lunaphyte> ubuntu 17.10 - glibc 2.54.1 03:52 < Psi-Jack> When I do the very same test as you just demonstrated, I get the result in files before the result in dns, unless dns is first in the priority. 03:52 < lunaphyte> ah 03:52 < lunaphyte> ok, well that to me is s good sign 03:52 < lunaphyte> *is a 03:53 < Psi-Jack> That's how it is supposed to be, for sure. :) 03:53 < lunaphyte> it probably means that i broke it. i just have to figure out how 03:53 < lunaphyte> you have an aaaa record for localhost in dns? 03:53 < Psi-Jack> Course my default hosts nsswitch is: hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns (from Arch linux0 03:54 < Psi-Jack> I did not check against IPv6, I will add a AAAA for my host entry I was using to test against (my case, wiki.home.ld, a private domain name) 03:54 < Psi-Jack> Just gotta remember how to add a aaaa record in dnsmasq. ;) 03:55 < lunaphyte> another thing that is interesting, i poked at it briefly with strace, and did not see any af_inet6 references, so the aaaa lookup was also a bit odd 03:55 < lunaphyte> i'm not practiced with strace though, so my method may be flawed 03:56 < tpanarch1st> would iptables -A INPUT -i 192.168.1/24 -j ACCEPT whitelist my LAN please? 03:56 < tpanarch1st> or is it iptables -A INPUT -i 192.168.1.0 -j ACCEPT 03:56 < tpanarch1st> or is it iptables -A INPUT -i 192.168.1.0/24 -j ACCEPT * 03:58 < descriptor9> 192.168.1.0/24 is better, although 192.168.1.1/24 probably works, but is a little weird. 03:58 < Hanumaan> how to mount btrfs partition from the HDD image(have multiple paritions) which is recovered with ddrescue command? 03:59 < Psi-Jack> Yeah, even for IPv6, files takes precedence over dns in my tests. 03:59 < tpanarch1st> descriptor9: Warning: weird character in interface `192.168.1.0/24' ('/' and ' ' are not allowed by the kernel). 03:59 < descriptor9> use -s instead of -i 03:59 < descriptor9> -i is for the interface name, like eth0 04:00 < Psi-Jack> lunaphyte: That is definitely.... Unusual. 04:00 < lunaphyte> odd 04:01 < lunaphyte> gai.conf came to mind as well, but initial fiddling doesn't seem to produce anything 04:01 < Psi-Jack> lunaphyte: do you have an nscd running? 04:01 < lunaphyte> no 04:02 < Psi-Jack> Hmm. Though getent does show the ipv6 over ipv4 when presented. 04:02 < Psi-Jack> I'm wondering if by chance it's doing ipv6 before ipv4 04:03 < lunaphyte> i think it is 04:03 < Psi-Jack> And falling through the priorities for each stack. 04:03 < lunaphyte> but that still wouldn't explain dns before files 04:04 < lunaphyte> i'll watch the traffic and see what it actually does 04:04 < Psi-Jack> So if you have localhost aaaa in dns it would find that first 04:04 < Psi-Jack> Even if not in files first 04:04 < lunaphyte> yeah but it should only perform any dns query for localhost if not found in files, right? 04:04 < lunaphyte> oh, no? 04:05 < Psi-Jack> For example. Ipv6 phase. Files then dns. Found in dns. 04:06 < Psi-Jack> First match stops the search of it sounds ipv6 first in the files then dns. 04:06 < mikeymop> hello, is there a trivial way to determine the permissions of files _before_ an init system changes them ? 04:06 < mikeymop> I am trying to fix an android init script(s) 04:06 < lunaphyte> Psi-Jack: i think you lost me a little bit 04:07 < ShadeS> hey 04:08 < Psi-Jack> lunaphyte: One sec, I am creating another quick test. 04:08 < ShadeS> scp -r home/ myuser@173.239.69.186:/home/linenode/ tells me scp: /home/linenode//home: Permission denied 04:08 < tpanarch1st> thanks descriptor9 so scp -o PubkeyAuthentication=no /home/beanie/Downloads/financedatabase.sql root@192.168.1.176:/tmp/dbdumps/. 04:08 < ShadeS> what's the deal 04:08 < tpanarch1st> then i get the lovely "permission denied" 04:08 < Psi-Jack> Yep. 04:09 < Psi-Jack> lunaphyte: So, what it's doing, it's looking up, ipv6: files dns; then when no answer was provided, is continues to ipv5: files dns, stopping at the first match it finds. 04:09 < Psi-Jack> ipv4* 04:09 < lunaphyte> ah - i think i see what you're saying 04:10 < Psi-Jack> So, if in /etc/hosts, you don't have ::1 defined, it'll still find it in dns if dns has a result for localhost AAAA 04:10 < lunaphyte> so there are two rounds of precedence/ordering 04:10 < Psi-Jack> Seems like it, yes. :) 04:10 < lunaphyte> the first level round is: first ipv6, and then ipv4 04:10 < Psi-Jack> Which seems reasonable, in order to make ipv6 take precedence over IPv4 when possible. 04:10 < lunaphyte> then in each of those rounds, a "sub" round - as per nsswitch - files, then dns 04:10 < ShadeS> can someone please clarify this permission issue? 04:11 < lunaphyte> yeah, that would explain it 04:11 < Psi-Jack> luncYep. 04:11 < ShadeS> who needs to own what for me to scp this directory over? 04:11 < Psi-Jack> lunaphyte: Yep yep. 04:11 * tpanarch1st is stuck 04:11 < lunaphyte> Psi-Jack: ok, let's see if i can proof that out here 04:11 < Psi-Jack> ShadeS: Too little iinnnnput. 04:11 < ShadeS> Psi-Jack: what do you need to know 04:12 < ShadeS> i am logged into the linenode host via glish via root via web browser, shows root@linnenode, the host in his garage is myusername@ip 04:12 < Psi-Jack> flish? 04:12 < Psi-Jack> glish? 04:12 < ShadeS> i don't have the root password but i have sudo on the host in his garage, i can get the root pw if needed but he's driving and i don't want to bother him with athat 04:12 < ShadeS> Psi-Jack: yeah some web browser encapsulation for ssh 04:12 < ShadeS> it's linenode bs 04:13 < Psi-Jack> linode you mean? 04:13 < ShadeS> yes this 04:13 < Psi-Jack> OKay. Well, what I'll say is this then. Contact your HSP for support. 04:13 < blackflag_bfp> Hiya Psi-Jack 04:13 < ShadeS> HSP? 04:13 < ShadeS> there is no HSP 04:14 < ShadeS> that's me 8 | 04:14 < Psi-Jack> Linode is an HSP. 04:14 < ShadeS> oh i thought you mean helpdesk/support 04:14 < Psi-Jack> Hosting Service Provider 04:14 < ShadeS> I can SSH to both machines 04:14 < ShadeS> I can't seem to scp from one to the other due to permissions issues 04:14 < ShadeS> I'm thinkin it's because a directory is chowned by someone it's not expecting it to be 04:14 < ayecee> what happens when you try 04:14 < ShadeS> from either the sending host or the receiving host 04:15 < Psi-Jack> Where are you trying to scp from and to? 04:15 < xamithan> Well fix the permissions 04:15 < xamithan> If you know the directory and user it should be easy 04:15 < ShadeS> I am trying to copy from root to a non root account 04:15 < ShadeS> local root to remote non root 04:15 < Psi-Jack> OKay. 04:15 < Psi-Jack> From where to where? 04:15 < ShadeS> linode to his local box in his garage 04:16 < Psi-Jack> OKay, ssh to myuser@garage, ls -la to paste site (not pastebin.com 04:16 < ShadeS> it's owned by myuser:myuser 04:16 < Psi-Jack> Maybe more specifically, ls -l /home/linenode, since that's the example you provided. 04:16 < ShadeS> i just changed it to root:root to see if that'll work 04:17 < Psi-Jack> ... 04:17 < Psi-Jack> Stop doing that. 04:17 < ShadeS> doing what?? 04:17 < Psi-Jack> CHanging ownership of files you shouldn't. :p 04:17 < ShadeS> oh 04:17 < ShadeS> i had dealt withs omething like this before but if orgot what i did to fix it 04:18 < ShadeS> i remember it as an ownership problem 04:18 < Psi-Jack> Usually is, but changing myuser:myuser's home directory ownership will be bad. 04:18 < ShadeS> the question that's more specific I guess is, the host I am copying from, needs to be the SAME ownership as the host I am copying to? 04:19 < xamithan> No 04:19 < Psi-Jack> No. 04:19 < ShadeS> oh 04:19 < xamithan> You just need permissions where you put it 04:19 < Psi-Jack> Notice I'm only concerned with the TARGET? 04:19 < Psi-Jack> As root, you have permission to the ORIGIN. :) 04:19 < ShadeS> Psi-Jack: right 04:20 < ShadeS> on the remote it's drwxr-xr-x myuser:myuser 04:20 < Psi-Jack> So, again. ssh myuser@garage ls -la 04:20 < Psi-Jack> Is myuser's home directory where you want to put files, or is it somewhere else? 04:21 < ShadeS> Psi-Jack: that doesn't particularly matter, it can be moved around more easily on the remote from the remote 04:21 < xamithan> If it was home dir I'm assuming it would work, lol 04:21 < ShadeS> I am just trying to stuff it in either /home or /home/myuser 04:21 < ShadeS> ok I got it 04:21 < Psi-Jack> So, from Linode, ssh myuser@garage mkdir in; scp sourcefiles myuser@garage:in 04:21 < ShadeS> I was trying to copy it to /home/linenode instead of /home/myuser 04:22 < Psi-Jack> Uh huh. 04:22 < Psi-Jack> Despite the fact you mispelled linode many times. :) 04:22 < ShadeS> and linenode was owned by root:root whie myuser was owned by myuser:myuser 04:22 < ShadeS> yeah that's how it's spelled on the machine, so it's me typing whatwever it was set as by someone who mispelled it 8 | 04:22 < Psi-Jack> Correct 04:22 < Psi-Jack> lunaphyte: Gotten the results? ;) 04:30 < Spawndemonic> I did lspci -vnn to check my wireless card and under capabilites it says . How can I resolve this 04:30 < ShadeS> jfc 04:30 < ShadeS> this acccess.log took like, 5 minutes to copy 04:30 < ShadeS> it musta been ridiculously huge 04:30 < ShadeS> there's a few of them, damn, 24 mb of text 04:33 < Psi-Jack> I've seen log files gigabytes in size. :) 04:34 < cmj> yeah when new packages don't set logrotates 04:34 < cmj> it's the worst 04:35 < cmj> /var/ stuffs up 04:35 < Psi-Jack> Worse, when gigabytes of logs happens in just hours in a single day. :) 04:35 < AndroidKitKat> Does zsh use the same “formatting” like 04:35 < cmj> ratchet down that debug switch‼ 04:35 < AndroidKitKat> A bash theme? Like stored on PS1 04:36 < Psi-Jack> cmj: It was worse WITH debugging turned on. LOL 04:36 < descriptor9> hmmm, catalina.out 04:36 < Psi-Jack> AndroidKitKat: That, and more. 04:36 < cmj> i think that's what i meant, sorry 04:36 < AndroidKitKat> But if I have a bash theme perfect 04:36 < AndroidKitKat> I can just export my bash ps1 04:36 < AndroidKitKat> And use zsh 04:37 < cmj> both have their own rc 04:37 < jimm> Spawndemonic, what problems are you having with your wireless? 04:37 < cmj> copy over your PS1 to the other rc to be sourced 04:39 < cmj> AndroidKitKat: do you need to use zsh? 04:39 < AndroidKitKat> I’d like to 04:39 < cmj> ok 04:39 < AndroidKitKat> For better tab autocomplete 04:40 < cmj> autocomplete is not a shell thing. bash_completion works and is mostly dependent on devs 04:40 < cmj> err 04:41 < Psi-Jack> No, really, zsh tab completion far surpasses bash's capabilities, and not just in files, but program aruguments as well. 04:41 < cmj> bash does the same 04:41 < Psi-Jack> No, no it doesn't :) 04:42 < cmj> ok 04:42 < cmj> $ ssh - 04:42 < cmj> -4 -a -b -C -e -f 04:42 < Psi-Jack> Yes, and? 04:43 < cmj> AndroidKitKat: fish is fun too 04:44 < Psi-Jack> https://paste.linux-help.org/view/3af5fdb4 04:44 < Psi-Jack> That's gotten directly from the ssh-help, and each argument can be interactively selected with a selection bar as desired. ;) 04:44 < Psi-Jack> And completed by typing more and isolating the selection down. 04:44 < cmj> Psi-Jack: i spent a week on zsh and clearly know nothing about it. i see no reason to go beyond bash. 04:45 < Psi-Jack> Like I said. Far surpasses bash's. :) 04:45 < cmj> i'm also stubborn 04:45 < cmj> don't do this to me 04:45 < cmj> i might end up with weechat 04:45 < Psi-Jack> I once tried zsh for a week. Went back to bash. 04:45 < cmj> ;p 04:45 < Psi-Jack> Then some time later, went all the way zsh. :) 04:45 < cmj> sigh 04:45 < cmj> ok i will not ignore 04:46 < cmj> most my options are out of old habit 04:46 < Psi-Jack> I find that personally odd. :) 04:46 < Psi-Jack> I've been using Linux ~24 years or so, and I adapt. :) 04:47 < cmj> what year is this? 04:47 < cmj> 22 years 04:48 < cmj> i will not, not learn zsh. i'm just so used to bash 04:48 < cmj> shell scipting is life 04:48 < mawk> with fish you don't have to learn or code or customize anything to have a great shell 04:49 < cmj> someone told me about fiSH and i almost lost my leaves in 6mins 04:49 < mawk> the little downside is the lame language 04:49 < cmj> it's like a readline massacre 04:50 < AndroidKitKat> cmj im trying to change my shell 04:50 < AndroidKitKat> and its saying bin/bash is an invalid shell 04:50 < Psi-Jack> Well, bin/bash would be invalid. 04:51 < Psi-Jack> However /bin/bash would be valid. 04:51 < AndroidKitKat> im running `chsh -s $(which bash_ 04:51 < AndroidKitKat> except its a close paren 04:51 < ShadeS> you know, 10 years ago I met some sysadmins/engineers who were absoultely livid with life and so angry and constantly upset with a permanent stick up their *** and couldn't understand why; today I realize how naieve that viewpoint was 04:51 < LissajousPattern> hello all 04:52 < ShadeS> tar -zxvf is supposed to open aup a *.tar.gz right? 04:52 < Psi-Jack> OPen? No. 04:52 < ShadeS> *extarct 04:52 < Psi-Jack> Untar, yes. 04:52 < ShadeS> *extract 04:52 < ShadeS> well I'm confused then 04:53 < ShadeS> gzip: stdin: not in gzip format; tar: Child returned status 1; ar: Error is not recoverable: exiting now 04:53 < ShadeS> the file name is 2.3.0.2.tar.gz 04:53 < ShadeS> are all the etra periods creating this failure? 04:53 < Psi-Jack> Seems to not be gzipped. 04:53 < Psi-Jack> Try removing the z option. 04:53 < ShadeS> https://github.com/opencart/opencart/archive/2.3.0.2.tar.gz is the file in question 04:55 < cmj> Psi-Jack: what made you choose zsh over bash? 04:56 < cmj> most my old pals use zsh, still need that one thing to make me convert 04:56 < ShadeS> Psi-Jack: removing z does not help 04:56 < ShadeS> same error 04:56 < Psi-Jack> cmj: powerful auto-complete. Work computer was a MacBook Pro, and macOS only had bash3 natively, so I wanted something better, more powerful. ENded up using it there first, then took it home and used it. 04:57 < FRWB_> so i'm installing python packages with pip on arch but i'm not able to run commands, but i can import the packages when i go to the interpreter 04:57 < nai> does anyone know what program $XDG_VTNR is set by? 04:57 < FRWB_> any ideas as to wtf is going on? 04:58 < ShadeS> oh I see what's going on 04:58 < ShadeS> when I curl -O the file, it only copied 126 bytes of the file, instead of the whole file 04:58 < ShadeS> I wonder why that is 04:58 < nai> FRWB_: pip's binary folder is probably not in your $PATH 04:58 < ShadeS> uuuuuuurrrrrrgggggghhhhhhhhhh it's not a download link it's some redirect garbage, that's why 04:59 < ShadeS> can anyone hit this file? 04:59 < cmj> i'm just content with the bash-builtins, its auto-complete seems solid enough for my usage 04:59 < iflema> FRWB_: 2 or 3 04:59 < cmj> :/ 04:59 < AndroidKitKat> I broke something 04:59 < AndroidKitKat> i broke something back 04:59 < AndroidKitKat> band 05:00 < FRWB_> iflema, 3 05:00 < FRWB_> nai, sounds like thats probably right 05:00 < iflema> FRWB_: im fresh out of ides 05:00 < ShadeS> git is so handy, it'd be great for having some quick rol back for issuing commands on a host, especially routers, other than having a reboot w/o save to memory issued to it 05:01 < vfbsilva> guys anyone got lucky setting up a prime enabled video card in manjaro? my hdmi port refuses to work 05:01 < Psi-Jack> vfbsilva: Tried #Manjaro? 05:01 < vfbsilva> Psi-Jack: yes 05:02 < Psi-Jack> Not much good for the community is it? 05:02 < vfbsilva> Psi-Jack: tl;dr; version setup is tricky and more a linux thing than a manjaro thing 05:03 < vfbsilva> I had it working once and somehow broke it 05:03 < cstk421> how does one create a full system image of a Debian 9 OS ? 05:03 < ShadeS> Psi-Jack: any idea why curl -O isn't downloading the whole file from gitub? it only copys 123 bytes for the .zip and 126 bytes for the tar.gz 05:03 < ShadeS> I had to download it to my local host and scp it over for it to successfully to copy over 05:03 < ShadeS> curl did the same behavior with or withtout the -O 05:03 < vfbsilva> cstk421: dd 05:04 < iflema> cstk421: full system "image"? 05:04 < iflema> cstk421: forinstall of backup or relocation or.. 05:04 < cstk421> yes a full clone copy i can relocate 05:04 < cstk421> well not relocate more of creating a duplicate 05:05 < cstk421> then ill setup rsync to maintain the data 05:05 < iflema> copy it... 05:05 < iflema> compression? 05:05 < iflema> compress it 05:05 < iflema> :D 05:05 < iflema> you want to boot it... edit fstab 05:06 < FRWB_> hm added it to the path but still doesn't work weird 05:06 < CodeBug> I have a question. What exactly is Arch linux 05:06 < Sveta_> a linux distribution 05:07 < iflema> CodeBug: a way to view whats new and corrupt shit 05:07 < cstk421> iflema: so DD will allow me to create the image move it to another vm and boot it ? 05:07 < Sveta_> watch your language 05:07 < FRWB_> do i need to add the site-packages dir to my path? 05:07 < CodeBug> lol 05:08 < Sveta_> what are you amused with today? 05:08 < FRWB_> still getting a command not found for installed python packages 05:08 < FRWB_> but can import them no prob 05:08 < Sveta_> pastebin your PATH variable 05:09 < The_Machine> is having vnc open to my linux computer safe (assuming encryption)? Not sure whether it's commonly compromised 05:09 < mrrmx> I'm looking for help.. 05:09 < FRWB_> Sveta_, https://paste.pound-python.org/show/UTvqMW7LaJxLowGlJZCH/ 05:09 < Sveta_> mrrmx: ask 05:09 < Psi-Jack> FRWB_: Do the python packages actually have commands, or just python libraries intended for programs to include? 05:09 < ShadeS> The_Machine: any opening is a potential attack vector 05:09 < The_Machine> is it very uncommon and dangerous to have ssh server available through a router with NAT? 05:09 < The_Machine> well yeah, but "common" is what i'm looking for 05:10 < FRWB_> Psi-Jack, as a test i tried using wsstat, which should work from shell 05:10 < The_Machine> like is it generally trusted in most communities? 05:10 < Sveta_> The_Machine: you could also use x2go. check your linux distribution and your vnc server bug trackers for critical security issues 05:10 < FRWB_> and does so fine on other distros i use 05:10 < Psi-Jack> FRWB_: Just freshly installed? 05:10 < ShadeS> it's becoming more common as more and more people have to deal with getting an appartment wher tehe landlord pays for everyones internet and throws the cost into their rent 05:10 < ShadeS> you'd be lucky to have the password htough 05:10 < mrrmx> Sveta_: I have Linux Mint installed and transferring several gigabytes of data between to drives and it will randomly disconnect the one I'm writing to 05:10 < The_Machine> x2g0, i'll check that out. Does it work like teamviewer or something? 05:10 < FRWB_> Psi-Jack, yeah figured i'd take a whack at learnin some arch while i'm doin my project 05:10 < Sveta_> mrrmx: what are you using for the transfer? 05:10 < Psi-Jack> FRWB_: hash -r, to reload the path cache. 05:11 < Psi-Jack> Then try again. :) 05:11 < CodeBug> was looking to use Debian I think 05:11 < FRWB_> is that the same as sourcing? 05:11 < Psi-Jack> No. 05:11 < CodeBug> stable and I can customize as much as i want right? 05:11 < FRWB_> tried to no avail, still unrecognized 05:11 < Sveta_> FRWB_: does "~/.local/lib/python3.6/site-packages/" contain the binary for the command that you want to run? 05:11 < ShadeS> The_Machine: look up into setting up a DMZ 05:11 < CodeBug> Psi-Jack,? 05:11 < ShadeS> where your host isn't accessible from the inside, but is accessible from the outside 05:11 < mrrmx> Sveta_: I've tried 2 things: 1: Between internal HDD to external 2: Between 2 external drives 05:12 < ShadeS> if the host has a screen and keyboard attached it's no big deal for you on the inside of the physical apartment/house/dwelling 05:12 < Sveta_> mrrmx: what does dmesg say? 05:12 < The_Machine> ShadeS it's the only linux computer I have (1 windows too) but i'm playing with it to potentially destroy it 05:12 < ShadeS> oh well 05:12 < FRWB_> Sveta_, it's this, https://github.com/Fitblip/wsstat , there is no binary afaik, unless i'm misunderstanding 05:12 < ShadeS> make sure you keep your wallet in cold storage then, is all i can say 05:12 < Sveta_> CodeBug: Psi-Jack was responding to FRWB_, not to you 05:12 < The_Machine> but i guess it's a matter of access 05:12 < mrrmx> Sveta_: where can I find dmesg 05:12 < Sveta_> mrrmx: it is a command name 05:13 < mrrmx> Sveta_: is it logs? 05:13 < Sveta_> FRWB_: `find ~ -name wsstat` 05:13 < The_Machine> what's the best game you have played on linux? 05:13 < Sveta_> mrrmx: yes 05:13 < Sveta_> The_Machine: chess 05:13 < The_Machine> :) 05:13 < mrrmx> Sveta_: where is it stored? 05:14 < mrrmx> I've never had this issue before.. sorry 05:14 < ShadeS> The_Machine: the best game? would have to be, root all themachiens and mine all the crypto 05:14 < ShadeS> ;) 05:14 < ShadeS> "achievement unlocked" 05:14 < FRWB_> Sveta_, yep two dirs, one is the site-packages dir, other is /.local/bin/wsstat 05:14 < FRWB_> er files i guess, not dirs 05:15 < mrrmx> Sveta_: what the location/command? 05:15 < FRWB_> i'm modifying the path via .bash_profile 05:15 < Sveta_> FRWB_: add ~/.local/lib/python3.6/site-packages/ to PATH, this time using an absolute path, not a relative one 05:15 < FRWB_> but i doubt that makes a difference 05:15 < Sveta_> FRWB_: without the tilde 05:15 < oxide-dev> The_Machine: Starbound was pretty good 05:15 < ShadeS> For Linux/Unix make sure the following folders and files are writeable. -> chmod 0755 or 0777 system/storage/cache/ ; there is no system root directory, there's a sys and it doesn't contain a storage directory 05:15 < ShadeS> what's up? 05:15 < FRWB_> Sveta_, yea thats what i tried first, i'll try again in case i had a typo the first time 05:16 < Sveta_> The_Machine: chess is also the best game I've ever played on any OS, so my response is more characteristic of me as a person than the OS itself 05:16 < Sveta_> FRWB_: since the file is in that folder, the command needs to be recognised 05:16 < Sveta_> FRWB_: adding ~/.local/bin/ to path is another attractive option 05:16 < mrrmx> Sveta_: are you with me lol? 05:16 < ShadeS> oh NM they were talking about withint he upload directory I just untarred 05:16 < Sveta_> mrrmx: I don't recall where dmesg is stored, perhaps /var/log/dmesg; a common way to read it is via the 'dmesg' command 05:17 < CodeBug> I need to know if i install Debian WITHOUT a gui, will it be all text and CLI? 05:17 < hexa-> yes it will 05:17 < oxide-dev> yes 05:18 < FRWB_> Sveta_, hm adding the ~/.local/bin/ dir did it, thanks 05:18 < FRWB_> interesting that it wouldn't take the site packages folder 05:18 < lunaphyte> Psi-Jack: thanks for the troubleshooting. corroborated here now as well [unsurprisingly, of course] 05:18 < Sveta_> CodeBug: debian installer asks you to choose which tasks to install; youtube it beforehand (a list is provided at https://www.debian.org/releases/stable/amd64/apds02.html.en for example) 05:19 < The_Machine> Sveta_, i figured that out 05:19 < mrrmx> Sveta_: No Caching mode page found 05:19 < Sveta_> CodeBug: if you don't select a gui, it won't be present 05:19 < Sveta_> mrrmx: you may wish to pastebin the whole lot 05:19 < lunaphyte> Psi-Jack: i also happened across this: https://sourceware.org/bugzilla/show_bug.cgi?id=14799 05:19 < Psi-Jack> heh 05:20 < redrapscallion> so I have this script that takes in a file name and runs "python3 USER_INPUT_HERE". If I limit the user's input to **just** a-z, A-Z, 0-9, is there any possible way that someone could still exploit this to run additional commands? 05:20 < mrrmx> Sveta_: will you be able to help me if I post? 05:20 < Sveta_> FRWB_: cool, reading pip documentation and finding out whether it was meant to do it for you may be a next step 05:20 < Sveta_> mrrmx: someone would be able to help you if you post dmesg - better than if you don't 05:20 < mrrmx> Sveta_: who can help me? 05:21 < Sveta_> this channel 05:21 < Sveta_> it does depend on specifically what does dmesg say 05:21 < Sveta_> and if you have two external drives, swapping their cables and usb ports to see whether they have any effect on their likelyhood of disappearing may be an attractive activity 05:22 < FRWB_> you'd make a good DM Sveta_ :P 05:22 < mrrmx> Sveta_: I tried between internal and external 05:23 < mrrmx> Sveta_: https://pastebin.com/Mj0TZ5ij 05:23 < ShadeS> ^a takes me to the start of a line, what was the ^? to go to the end of the line 05:23 < Sveta_> FRWB_: perhaps if I fix my email, I've been meaning to do that for several years but I keep being confused by how people read and sort their mail; using newsgroups has improved that significantly 05:25 < Sveta_> mrrmx: it would be interesting to somehow relate the timestamps to the time when the disk 'dies', for example there is one line which says the USB disconnected at [ 464.100483] so if this is when it failed then it is highly relevant 05:25 < CodeBug> I know that part but do you think GUI is overrated 05:25 < Sveta_> mrrmx: I'd suggest to check dmesg immediately after the failure, and also try another usb port in the computer as well as try another usb cable for the external hdd 05:25 < Sveta_> CodeBug: not mixing different guis is important though most distributions do it 05:26 < CodeBug> im thinking going headless no gui 05:26 < c-c> CodeBug: wm 05:27 < CodeBug> wm? 05:27 < Sveta_> mrrmx: would like to confirm: when you're writing from external to internal does it also disconnect the internal one? 05:27 < Sveta_> CodeBug: if you don't rely on visuals in your work, that'd work ok 05:27 < mrrmx> Sveta_: the opposite 05:27 < Sveta_> CodeBug: wm is a window manager, it provides no desktop environment but provides a mousey or tiling windows environment to position your windows 05:27 < iflema> CodeBug: if you drop your login manager you have the option to start the gui if you want 05:27 < mrrmx> only when copying externally 05:28 < CodeBug> yeah i'm using wm 05:28 < Sveta_> mrrmx: it's probably a problem with the manner in which the external media works (the usb port or the cable or the disk itself) and as the logs say 'usb disconnect' I suspect it's either the cable or the usb port 05:28 < Sveta_> mrrmx: i'd suggest trying to correlate it with that, and use rsync to resume your file transfers after they have been interrupted 05:29 < mrrmx> Sveta_: I had to d/c because it would stop copying data and leaving the external hard drive hanging.. 05:29 < Sveta_> mrrmx: if you use rsync for the file transfer, it is able to gracefully resume file transfers that were interrupted in the middle - maybe you want to use that 05:30 < mrrmx> ah cool 05:30 < CodeBug> Sveta_, learning linux so yeah no visuals needed 05:30 < Sveta_> mrrmx: in the long term, finding out what's wrong with the usb or the cable would be a nicer option 05:31 < mrrmx> Sveta_: could it be the "microcode" drivers for AMD? 05:31 < Sveta_> CodeBug: only if you read a lot in your life in the past (a lot of visual orientation comes from having watched cartoons and videos in childhood) 05:31 < mrrmx> Sveta_: also, is there a Frontend for RSync? 05:31 < Sveta_> mrrmx: haven't heard of amd causing 'usb disconnected' issues, although there could be a complicated relationship of some sort that does that 05:32 < CodeBug> Sveta i did that alot as a kid and I read alot of books as a kid too 05:32 < mrrmx> Sveta_: I just installed the "microcode" drivers a few minutes ago 05:32 < Sveta_> mrrmx: consider gadmin-rsync or grsync 05:33 < Sveta_> mrrmx: did that install coincide with when the issue began? if yes, you can simply uninstall them and check for the issue again 05:33 < mrrmx> Sveta_: no, I just thought it may be the issue 05:34 < learningc> How can I cat a file from end to beginning instead of beginning to end? 05:34 < s10gopal> point the cursor to end and read it 05:35 < c-c> learningc: characterwise or linewise? 05:35 < mrrmx> Sveta_: how does rsync work? can it resume if disconnected? 05:35 < iflema> learningc: tac 05:36 < iflema> dah 05:36 < Sveta_> mrrmx: it maintains a list of files which have already been transferred which makes it possible for it to start transferring a next file when resuming, and 05:36 < mrrmx> Sveta_: very cool 05:36 < mrrmx> thanks 05:36 < mrrmx> I will use that now 05:36 < Sveta_> mrrmx: it also supports transferring a file half-way and resuming from the middle if you pass the right flags to it (useful if you have large files) 05:36 < o|0o^|> tac | rev 05:37 < mrrmx> Sveta_: thanks 05:37 < Sveta_> mrrmx: you're welcome; please let me know if you find out what's wrong with your usb (in the long term, having problems with the usb port itself is more challenging than with a cable) 05:38 < mrrmx> Sveta_: my PC also had issues d/c from the network with the built-in NIC 05:39 < mrrmx> Sveta_: maybe power issues? 05:40 < Sveta_> mrrmx: if it has a battery then it should not be a problem (and if it does not, then it wouldn't be able to log a new dmesg messaeg about usb being disconnected) 05:40 < mrrmx> Sveta_: it's a Desktop 05:40 < mrrmx> ok thanks 05:41 < Sveta_> mrrmx: if its power fails without a battery, the operating system shuts down, I think you would be able to notice that and include it in your description when asking the question 05:41 < mrrmx> ok 05:41 < [R]> https://linux.slashdot.org/story/18/04/10/1626202/linux-computer-maker-system76-to-move-manufacturing-to-the-us 05:41 < [R]> taking chinese crap out of a box and slapping their logo on it is called "manufacturing"? 05:41 < Sveta_> thank you, [R] :-) 05:42 < Sveta_> they're writing they'd move the factory itself, so at the very least they'd start to assemble it in the new country 05:42 < c-c> [R]: Hey, if the US populus voted Trump for prez, they will buy literally any 2 cent bs 05:42 < learningc> c-c, characterwise 05:42 * iflema go trump 05:42 < c-c> learningc: that should be tac. $ man tac 05:43 < [R]> taking chinese crap out of a box and slapping their logo on it called "assembly"? 05:43 < c-c> learningc: oops. thats rev 05:43 < learningc> c-c I see thanks 05:43 < Sveta_> [R], https://opensource.com/article/18/4/system76-us-manufacturing-plant suggests they'd move manufacturing out of China too 05:43 < [R]> right... but they're not making anything 05:44 < [R]> they buy cheap crap from 3rd parties 05:44 < c-c> learningc: echo "foo bar" | rev 05:44 < Sveta_> [R]: they want to start making things themselves, like they're saying on the page 05:44 < Sveta_> c-c: thank you :-) 05:45 < [R]> i dindt get that when i read it 05:46 < Sveta_> "Not yet. Getting machinery in and setup, moving from plastic prototypes to metal, testing metal finish techniques, assembly line setup, inventory, etc. All the work on the march toward production." 05:46 < [R]> we'll see 05:46 < Sveta_> Yes we will... 05:48 < c-c> The will make the cases... tronics manufacturing anywhere but asia is too expensive 05:48 < c-c> *they 05:50 < learningc> c-c, It works. Thanks! 05:51 < cmj> do people use jffs2 for solid state? 05:51 < learningc> Also thanks to o|0o^| 05:51 < [R]> cmj: no 05:51 < [R]> cmj: its not designed for that 05:52 < mrrmx> Sveta_: does linux ever put hard disks to sleep? 05:53 < Psi-Jack> It can. 05:53 < mrrmx> where, and when? 05:53 < Psi-Jack> hdparm, pm-utils, tlp 05:54 < cmj> smart utils 05:54 < Psi-Jack> Basically, when told manually, (hdparm), or configured to (pm-utils or tlp) 05:54 < Psi-Jack> SMART has nothing to do with power management. :) 05:54 < mrrmx> Psi-Jack: this issue I'm having started when leaving PC unattended 05:56 < mrrmx> I disabled the screensaver 05:56 < Psi-Jack> What's the issue, specifically? 05:58 < mrrmx> Psi-Jack: when transferring 400GB of data and leaving computer unattended it stops copying files and leaves the external hard drive hanging (forcing me to d/c) 05:58 < nyaomi> is it safe to briefly unmount the filesystem on which my luks devices' keyfile are located while those luks devices are open? 05:58 < Psi-Jack> nyaomi: Yes 05:59 < [R]> mrrmx: sounds like crappy hardware 05:59 < cmj> powertop 05:59 < nyaomi> thanks 05:59 < Psi-Jack> mrrmx: External? Those are generally designed to power themselves down. heh 06:00 < mrrmx> Psi-Jack: what settings in linux would determine the power down? 06:02 < Psi-Jack> Wouldn;'t even be Linux itself, but the external drive. 06:02 < mrrmx> I just disabled the screensaver 06:02 < cmj> are you tacking about what is left in ram? 06:02 < cmj> fingers-- 06:03 < [R]> screensaver doestn do antyhing but put pretty pictures on the screen 06:03 < cmj> get jwz on the horn 06:04 < notmike> I'm leaving 06:04 < ayecee> about time 06:05 < cmj> https://www.jwz.org/blog/2018/04/looks-like-todays-the-day-that-centos-users-lose-their-god-damned-minds/ 06:05 < [R]> didnt this warning pop up on debian recently? 06:05 < cmj> yup 06:05 < cmj> shitstorm ensued 06:05 < [R]> https://www.jwz.org/blog/2016/04/i-would-like-debian-to-stop-shipping-xscreensaver/ 06:05 < [R]> ffs 06:06 < [R]> 2 years ago 06:06 < [R]> i have no concept of time 06:06 < cmj> i feel for the guy, but… 06:06 < cmj> meh 06:10 < mrrmx> Sveta_: you there? 06:10 < mrrmx> it just happened again, this time I have the dmesg 06:11 < mrrmx> Psi-Jack: https://pastebin.com/Ze8BSjr5 06:11 < mrrmx> Sveta_: https://pastebin.com/Ze8BSjr5 06:11 < Psi-Jack> pastebin.com == bad 06:12 < [R]> looks like your drive is a piece of crap or your usb controller is a piece of crap 06:13 < mrrmx> [R]: how so? 06:14 < ayecee> because of the way it is 06:14 < mrrmx> ok 06:14 < mrrmx> just curious 06:14 < mrrmx> it's a cheap Desktop 06:15 < mrrmx> just wanted to know why 06:15 < Sveta_> mrrmx, here now. at the right top there is a 'raw' link which leads to https://pastebin.com/raw/Ze8BSjr5 which is slightly better 06:16 < mrrmx> Sveta_: what's your opinion? 06:16 < Sveta_> mrrmx, the bit about "RROR Transfer event for disabled endpoint or incorrect stream ring" looks relevant, do you have a chance to try the same drive with similar amount of data on another computer? 06:16 < [R]> how so what 06:16 < ayecee> how so sir! 06:16 < mrrmx> Sveta_: not sure (I'll trying getting a more expensive PC next time) 06:16 < Psi-Jack> Jump! 06:17 < [R]> the cost of the pc is irreelevent 06:17 < ayecee> mrrmx: pretty sure he means malfunctioning, not cheap 06:17 < mrrmx> ah 06:17 < Sveta_> mrrmx: you could ask a neighbour or go to a local library to test it with another computer - if it is still failing, then buying a new computer is not necessary 06:17 < ayecee> though it was ambiguously worded 06:18 < mrrmx> ok thanks 06:18 < Sveta_> Psi-Jack: that pastebin.com 'bad' description needed a bit more infos there (it is rather easy to see that the person does not know context for such assessment) 06:19 < Sveta_> Psi-Jack: which I already provided, partly, and will elaborate a bit more: 06:19 < Sveta_> mrrmx: the pastebin in topic is ad-free and friendly, a lot of the people here use it 06:19 < mrrmx> Sveta_: what is AMD-Vi? 06:19 < mrrmx> virtualization? 06:19 < Sveta_> mrrmx: a part of the computer processor or something similar 06:20 < Sveta_> mrrmx: possibly not really related to the problem that you are having 06:20 < Psi-Jack> Pastbin.com has been known to be banned from many places for multitudes of reasons. Advertising that also has been malvertising. Destroying formatting of pastes even in raw form. And adblock blocking. 06:21 < ayecee> not known to me 06:21 < Sveta_> that's how it goes, you enter irc and you learn something new 06:22 < Psi-Jack> The adblock blocking was even done in "raw" pastes. 06:24 < Psi-Jack> Yay.. My own paste site has finally stopped collecting spammers succeeding in pasting crap. :) 06:26 < Psi-Jack> Heh, looks like WildPikachu's is collecting lots of spam though. 06:28 < Psi-Jack> Hmm, in fact, that looks like botnet/C&C activity. 06:36 < garylabronz> hey all i want to send multiple commands with ssh but when doing this i get restart warnings as if im logging in directly to the machine. bad explanation so here is a pastebin of what i mean: https://pastebin.com/TivcqLCe 06:36 < garylabronz> how do i just get the output of the command/why is it happening? 06:37 < jimm> for now, why not just ssh in and run the commands from its prompt? 06:37 < [R]> tahts your motd 06:38 < [R]> and/or issue 06:38 < garylabronz> its not a one off thing, nor does that solve my issue. im not trying to just run the commands 06:38 < Sveta_> garylabronz: is this text in /etc/motd or not? 06:38 < garylabronz> if i put the "ls" on the first line i dont get motd, same if i just do 'ssh user@host ls -1 /tmp' 06:38 < garylabronz> le tme check 06:39 < garylabronz> i dont even have /etc/motd 06:39 < Sveta_> ok. you could add "DebianBanner no" to /etc/ssh/sshd_conf 06:39 < garylabronz> i dont want to set the ssh config on the server, id rather do it client side 06:39 < garylabronz> and i also dont want to awk/grep/etc. more why does it even happen 06:39 < Sveta_> you could use ssh -q, but it may suppress display of other important messages 06:40 < Sveta_> it happens because it is a login banner which is not disabled in the ssh server 06:40 < garylabronz> why does it not show if i put the command on the same line tho? 06:40 < Sveta_> these banners occasionally contain important messages about how to use this machine or what has been changed recently, and the ssh daemon developers are not suppressing the display of the banner by default 06:40 < Sveta_> actually I missed that nuance, it is an interesting observation 06:42 < [R]> it has to do with ssh accepting input on stdin vs the command line 06:42 < [R]> and it going into a differnet mode 06:43 < kurahaupo> garylabronz: interactive is a login session by default; batch is not 06:43 < garylabronz> how would i make multiline commands as batch? 06:44 < garylabronz> oh like -oBatchMode 06:44 < [R]> https://serverfault.com/questions/66986/suppressing-ssh-banner-from-openssh-client 06:45 < kurahaupo> ssh -T should suffice - don't allocate a tty 06:45 < garylabronz> -T doesnt resolve the output issue 06:46 < kurahaupo> That also has the benefit of maintaining stdout & stderr separately through the ssh connection 06:47 < kurahaupo> You should be able to force settings on the server based on the private key 06:48 < kurahaupo> Rd 06:49 < notmike> I Neva freeze 06:49 < garylabronz> i dont want to manage the server 06:51 < kurahaupo> garylabronz: you don't need to "manage" it; it's just a matter of some extra details when you update authorized_keys 06:52 < garylabronz> i dont one time update files, if im doing that i am using configuration management. so yeah i would then start managing the server 06:53 < garylabronz> but i appreciate the ideas, i have more than before asking in here 07:01 < tcpdump> hey everyone 07:02 < jim> hi 07:02 < tcpdump> Does this look right? if [ $gradlew_return_code = "0" ]; then or do I need to double quote like this: if [ "$gradlew_return_code" = "0" ]; then 07:02 < ayecee> it should be in quotes 07:02 < tcpdump> how are ya jim ? 07:02 < ayecee> otherwise if the variable is empty, it throws a syntax error 07:03 < tcpdump> ok, cool. thx 07:03 < [R]> ayecee: you're a syntax error 07:03 < tcpdump> ill give it a whirl 07:03 < ayecee> should probably use -eq rather than = though 07:03 < tcpdump> jus takes a while to build, so wanted to ask first. 07:03 < tcpdump> ayecee: yea? whats the big difference? 07:03 < [R]> tcpdump: because you an't write a test script? 07:04 < ayecee> not much in this case, but it does a numeric compare rather than a string compare 07:04 < tcpdump> ah, interesting. Thats good to know for the future. 07:04 < ayecee> i guess it could help if the variable for some reason had two zeros 07:04 < VjdfMQ> What's more famous ? KDE Neon or Manjaro ? 07:05 < ayecee> i don't even 07:05 < [R]> what does "more famous" even mean 07:06 < ayecee> deep thoughts 07:06 < [R]> and those are 2 totally different things... 07:06 < ayecee> with [R] 07:06 < VjdfMQ> [R]: More help, more ideas 07:07 < [R]> VjdfMQ: what? 07:07 < ayecee> which is more purple? a cucumber, or a ford explorer? 07:07 < [R]> ayecee: haha 07:08 < VjdfMQ> ... if distribution is more famous, it has more people around it. More people has more time to help with it, more ideas are going around and you could get it if you're in trouble with it. 07:08 < VjdfMQ> Isn't it ? 07:08 < VjdfMQ> This's simple question. 07:08 < ayecee> kde neon isn't a distribution 07:09 < VjdfMQ> what ? 07:09 < [R]> and manjaro is just crap... 07:09 < VjdfMQ> ayecee: neon.kde.com 07:09 < ayecee> huh. i stand corrected. 07:09 < tcpdump> ayecee: that did it, thanks. 07:09 < tcpdump> so whats the -eq vs eq? 07:10 < tcpdump> the - make it compare? 07:10 < VjdfMQ> tcpdump: #bash 07:10 < ayecee> tcpdump: bare eq, where'd that come from? 07:10 < ayecee> also, described in man test 07:11 < tcpdump> ayecee: you said "should probably use -eq rather than = though" earlier. 07:11 < notmike> So I added amdgpu.dc=0 to the kernel parameters and it fixed my problem. So now I'm pretty convinced that's what's wrong. But why though? 07:11 < [R]> ayecee: bare equalities? 07:11 < tcpdump> sorry for the confusion. 07:11 < [R]> ayecee: you know... like bare necessities... 07:11 < ayecee> tcpdump: described in man test. -eq does integer compare, = does string compare 07:11 < VjdfMQ> ayecee: So, what do they mean, your words "is not a distribution" ? 07:12 < ayecee> VjdfMQ: literally that. i didn't know it was a distribution. 07:12 < ayecee> i thought it was a version of the kde DE. 07:13 < VjdfMQ> uh 07:15 < ayecee> i guess that's a datapoint for you, eh? i've at least heard of manjaro as a distribution. 07:26 < kalinite> what is the command to assign an alias to a seperate cmd in kali? 07:26 < [R]> alias... 07:28 < kalinite> so 07:29 < kalinite> if i have $curl wttr.in/moon 07:29 < kalinite> and i want to run that when i type moon 07:29 < kalinite> what do 07:29 < moniker-> anyone tried lutris? 07:29 < ayecee> kalinite: the alias command is described in the bash manpage 07:29 < kalinite> ty 07:31 < kalinite> i feel retarded 07:31 < iflema> alias moon="your command and args" 07:31 < kalinite> how tf did i miss that 07:31 < kalinite> yeah lol 07:31 < iflema> kalinite: what about reboot 07:31 < kalinite> lol 07:32 < kalinite> virtual machine tho 07:32 < kalinite> because im a scrub 07:33 < [R]> scrub is a guy that can't get no love from me... 07:33 < iflema> just using that command is not persistent 07:35 < kalinite> [R], do i get any love 07:35 < kalinite> i have trouble with this 07:35 < kalinite> is there a command that will output love 07:35 < kalinite> aside echo love 07:36 < sseeley> some of us have to pay 07:36 < ayecee> no, no love 07:36 < ayecee> TLC did a documentary on this 07:36 < kalinite> :c 07:36 < Hooloovo0> make: *** No rule to make target 'love'. Stop. 07:37 < jim> Hooloovo0 :P 07:37 < kalinite> lol 07:37 < sseeley> try 'find love' mabe 07:37 < sseeley> maybe 07:37 < sseeley> is finger still around? 07:37 < kalinite> what is the install shit cmd 07:37 < Hooloovo0> apt-get moo? 07:38 < ayecee> whatis love 07:38 < [R]> ayecee: baby don't hurt me 07:38 < kalinite> moo is love 07:38 < sseeley> which love 07:39 < kalinite> the love i dont have 07:39 < kalinite> apt-get love 07:39 < sseeley> Server: 127.0.1.1 07:39 < sseeley> Address: 127.0.1.1#53 07:39 < sseeley> Non-authoritative answer: 07:39 < sseeley> *** Can't find love: No answer 07:39 < kalinite> invalid operation love 07:39 < kalinite> :c 07:39 < sseeley> (nslookup love) 07:40 < sauvin> kalinite, why are you using a pentesting distro if you don't know what you're doing with it? 07:40 < kalinite> sauvin, I have a book 07:41 < hexnewbie> csh% If I got a ( every time someone made one of those jokes, what would I have? 07:41 < SlimmyJimmy> I'm running on Linux Mint 18.2. Is there a native application in this default install that tells me the running speed of my installed memory? 07:41 < [R]> vs the walking speed? 07:42 < well_laid_lawn> you can see if lshw is installed 07:42 < hexnewbie> SlimmyJimmy: dmidecode, perhaps? 07:42 < hexnewbie> Not sure if that returns running speed, or max supported speed. 07:42 < SlimmyJimmy> I just came across that in a Google search. I guess I gotta drop down to a shell prompt. It doesn't like idea as far as easy but I may try it. 07:42 < iflema> dmidecode --type 17 07:43 < kalinite> i was previously using ubuntu-64 on a rpi 07:43 < kalinite> i had a small webserver set up 07:43 < kalinite> but it was stolen 07:44 < kalinite> and so I have installed the appropriate distro to have my revenge 07:44 < kalinite> if you must know 07:44 < kalinite> :) 07:44 < SlimmyJimmy> Mostly "unknowns". I think I need a newer Linux since it's running on a new AMD 2200G. 07:45 < sseeley> someone stole your pi? 07:45 < [R]> "revenge" 07:45 < [R]> rofl 07:46 < hexnewbie> Isn't stealing a Pi mercy? 07:47 < SlimmyJimmy> Oh, it did work. I didn't realize it was printing information for 4 slots. :) 07:47 < SlimmyJimmy> I had to scroll up the screen. 07:47 < SlimmyJimmy> iflema thanks 07:47 < SlimmyJimmy> 2934MHz, sweet 07:49 < kalinite> I am very annoyed that I do not have my rpi any more 07:50 < sseeley> I think have about 7 or 8 of them kicking around 07:50 < kalinite> fuck 07:50 < sauvin> Mind the language. 07:50 < [R]> sauvin: is tthat like mind the gap? 07:51 < hexnewbie> You don't hit your head and dislocate your foot 07:52 < kalinite> I appologise 07:53 < kalinite> but I dont see how one would dislocate their foot from a head impact 07:53 < sauvin> You've never heard of the dreaded "foot in mouth syndrome"? 07:54 < fofalee> I have a gpu beside nvidia too 07:54 < hexnewbie> kalinite: Correlation is not causation. Both will happen at the same time when your foot finds itself in the gap. 07:54 < fofalee> the one beside the intel chip 07:54 < fofalee> how do I find it's name , and it's features 07:55 < kalinite> lol 07:55 < kalinite> okay 07:55 < kalinite> fair enough 07:55 < kalinite> so I trip over and snap my ankle off 07:56 < kalinite> and whack my stupid face on the floor 07:56 < kalinite> serves me right for running kali and not knowing wtf im doing 07:56 < Bashing-om> fofalee: Try as ' sudo lshw -C display ' . 07:57 < fofalee> apart from lshw there was some other native cmd too, I don't have lshw installed 07:58 < fofalee> url: https://ptpb.pw/hsVp 07:58 < Bashing-om> fofalee: lspci -nnk | grep -iA3 vga . 07:58 < fofalee> look there is none , but there was one gpu, beside the nvidia, it's close to the intel cpu, I think an intel gpu 07:58 < fofalee> I have hp pro core i5 07:59 < notmike> Anybody trying to buy some Cisco 2500 switches? 07:59 < fofalee> lspci shows 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2) 07:59 < fofalee> but I have two gpus in my pc 08:00 < [R]> you sure one isn't disabled? 08:00 < notmike> [R]: come on chill dawg 08:00 < kalinite> can i chill? 08:01 < notmike> Yes 08:01 < kalinite> nice 08:01 * kalinite sparks up an old project file 08:01 * kalinite passes to notmike 08:02 < fofalee> someone said me that in pc hardware we have two gpus 08:02 * notmike puff puffs and passes the dutchie you there left-hand side 08:02 < fofalee> one nvidia and the other one beside the intel chip 08:02 < fofalee> ... 08:02 < sseeley> fofalee: pretty common on laptops... 08:03 < fofalee> but I didn't find the second gpu on laptop as well 08:03 < fofalee> something is wrong 08:03 * kalinite boots up a phat 128Gb thumb drive to install all the distros 08:04 < [R]> fofalee: it might be disabled 08:04 < [R]> and if it doesnt show up in lspci 08:04 < [R]> then it IS disaabled 08:05 < kalinite> what is the best SDK on linux for c++? 08:06 < kalinite> coming from winderp 08:06 < [R]> "sdk"? 08:06 < fofalee> [R]: why would it be disabled 08:06 < [R]> fofalee: how should we know... its your computer 08:06 < fofalee> it's a standard computer, hp pro, like any other computer not third hand crap 08:07 < [R]> lol 08:07 < fofalee> HP is the leading company for computers 08:07 < [R]> wtf is a "standard computer" 08:07 < fofalee> HP 08:07 < fofalee> wtf is a standard chip- "intel", standard gpu- "nvidia" 08:07 < fofalee> there you go [R] I answered it rightly 08:07 < [R]> lol 08:07 < fofalee> It's a popular brand, HP is *everywhere* 08:08 * kalinite steps into hole and smacks head 08:09 < kalinite> what i meant was IDE 08:09 < kalinite> [R] 08:09 < kalinite> i am saying words 08:10 < kalinite> and trying not to look as stupid as I actually am 08:10 < [R]> kalinite: well there is no "best"... but im sure you can find a list on wikipedia and try a few 08:10 < kalinite> ok 08:10 < fofalee> but do I have one or two gpus ? 08:10 < [R]> fofalee: well if lspci shows one... then you have one active 08:11 < Sitri> kalinite: code::blocks or eclipse. But really, most people just use vim or emacs 08:11 < kalinite> eeeeeeeemacs! 08:11 < kalinite> thanks Sitri 08:12 < Sitri> IDEs are a Windows thing mostly. Every other system generally actually has a mature toolchain 08:12 < kalinite> thats hot 08:13 < kalinite> what is the dumbest thing someone has said in this channel? 08:13 < sseeley> emacs. 08:13 < kalinite> and did it end up on bash.org 08:13 < kalinite> "emacs". 08:13 < kalinite> lol 08:13 < sseeley> ;) 08:13 < kalinite> wtf is this place 08:13 < kalinite> its hilarious 08:14 < kalinite> phew 08:14 < kalinite> hes gone 08:14 < kalinite> everyone post pics of bacon pizza 08:14 < kalinite> no dont 08:14 < kalinite> i dont wanna be klined again 08:14 < sseeley> ... I havn't been klined in 20 years 08:14 < kalinite> nice work sseeley 08:15 < Sveta_> if you don't want to be klined, get a larger screen for irc 08:15 < Sveta_> then you won't spam 08:15 < kalinite> what res do you recommend? 08:15 < kalinite> and should I go portrait? 08:15 < jelly> is 14" large enough? 08:15 < kalinite> i hope so 08:15 < Sveta_> I've got 14'' portrait 08:15 < kalinite> hot 08:16 < kalinite> if i rotate my laptop by pi/2 rad will i bypass a k-line? 08:16 < kalinite> thank you for considerations 08:16 < Sveta_> maybe you qualify to join ##maths and help others 08:16 < sseeley> I'de say 14" is just right 08:16 < kalinite> maybe 08:16 < Sveta_> i'de is presumably a resule of reading 'IDE' a few times :) 08:17 < jelly> kalinite, vscode is actually nice for an editor 08:17 < kalinite> is it like sublime text? 08:17 < Sveta_> Either way, code::blocks is okay, kalinite. What are you programming? 08:17 < kalinite> I am trying to port over some shit i did in java 08:17 < kalinite> its a 2d vector graphics shooter thingy 08:17 < Sveta_> code::blocks would probably manage. 08:18 < kalinite> sseeley, ;) 08:18 < jelly> or eclipse since you're already dealing with java 08:18 < sseeley> netbeans 08:18 < kalinite> OH GOD NO 08:18 < kalinite> NOT THAT 08:18 < kalinite> NETBEANIO IS VERY NOT LOVELY 08:18 < Sveta_> Try several and choose something that suits you better. Please no shouting. 08:19 < sseeley> well, you seemed to like emacs... 08:19 < Sveta_> Most GNU/Linux distributions have adequate package management that allows you to remove packages, kalinite. 08:19 < kalinite> sorry i was just a bit scared i had a flash back of the devil whale that taught me comp sci in college 08:19 < sseeley> so, I just kind of assumed.. lol 08:19 < kalinite> we had to use netbeans 08:19 * kalinite shivers 08:19 < Sveta_> When did you finish college? 08:21 < kalinite> im in the uk so its basically just highschool [im presuming alot of americans here] 08:21 < kalinite> this was 3 years ago 08:21 < sseeley> I'm in Canada 08:21 < kalinite> eclipse is ok tho 08:24 < borsin> netbeans isnt so bad, take a look at visual studio - barf! 08:25 < sseeley> I use visual studio.... there isn't really anything nicer 08:26 < sseeley> if you want to vomit, check out xcode 08:26 < kalinite> I once created a GUI interface in visual basic 08:26 < borsin> vi and gdb works great! 08:26 < kalinite> and i just molested an acronym 08:27 < borsin> visual studio literally barfs left and right. 08:27 < jelly> there's no visual studio for linux 08:27 < notmike> Please help me 08:27 < jelly> just vscode 08:28 < jelly> and it's quite nice for a code editor 08:28 < borsin> right, i was pointing out there could be worse than netbeans. 08:29 < borsin> s/could be/is 08:29 < sseeley> yeah, dev environments exist on other platforms... they're worth 'looking' at for comparison, thats all I was getting at. 08:30 < notmike> Do I need to set kernel parameters everytime I change display now? 08:30 < jelly> notmike, is there a context for that question? 08:31 < notmike> jelly: AMD DC/Dal patch has been giving me hell 08:33 < sseeley> good night everyone, bed time for me 08:33 < Aph3x-WL> vim or emacs work great for an editor 08:33 * iflema winblows 08:34 < kalinite> eeeeemacs 08:35 * iflema that too 08:35 < borsin> has short fingers, no! 08:36 < jelly> notmike, ok, but you seemed to have a question about kernel parameters 08:36 < jelly> how does that relate 08:41 < iflema> is ecraps GUI only? 08:41 < iflema> ill google 08:42 < notmike> jelly: I was running display off of my on-board graphics. After login at the display manager I would get a desktop background and nothing else. Disconnecting the display from on-board and plugging it into the GPU afterwards didn't really fix it. In fact, I was losing display and network. It was all bad. Adding kernel parameters amdgpu.dc=0 fixed the issue with onboard graphics (although gpu then didn't run display). I tried 08:42 < notmike> just plugging into the GPU and starting with the latest kernel, idk, it seems to be working how I've wanted. 08:43 < notmike> It's been a huge pita. 08:49 < notmike> Know what I mean jelly? 08:51 < V7> Hey all 08:52 < V7> Does any one know how to check how many colors are being used in weechat ? 08:52 < V7> For nicks 08:58 < hans_> does TCP_NODELAY only affect sending? or does it affect reciving/reading too? 08:59 < mohabaks> hello folks anyone know good resources for administering cloud infrastructure 09:02 < rrman> https://paste.linux.community/view/raw/74702717 09:02 < rrman> killall says no process found, but it's running, why? 09:03 < rrman> (even though I own the process) 09:13 < fofalee> is linux a real time OS 09:13 < fofalee> can you give some example which is the most popular and the best real time OS 09:15 < Hanumaan> I got this text https://paste.ubuntu.com/p/87Tb4KD7r8/ from this page: https://help.ubuntu.com/community/DataRecovery want to know all three commands have to be executed consecutively on the same imagefile? 09:19 < kalinite> https://www.youtube.com/watch?v=FkblA_CxHgU 09:26 < fofalee> hey ubuntu is used inside tesla, but that is not a hard real time OS?? 09:27 < fofalee> so which real time OS is used in self driving tesla ? 09:31 < notmike> No one uses Teslas 09:31 < iflema> fofalee: one that has RT aware applications 09:33 < iflema> and the ability to sort throughboth 09:33 < iflema> or something new 09:37 < fofalee> iflema: so tesla is not a real time thing? really? It is the very *definition* of a real time tasksa 09:37 < fofalee> lol you are crazy 09:37 < fofalee> if that is not real time, I don't know what is 09:37 < Mo> Hi, using mbuffer -q -m 5% for a while now that means using 5% of available memory, but today I got mbuffer: warning: allocating more than half of available memory 09:38 < Dagmar> That's not what the -m option means 09:39 < Dagmar> -m : memory of buffer in b,k,M,G,% 09:39 < Dagmar> The word "available" is not present in the description of that option. 09:40 < Lope> I've got `echo 'SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="maineth"' > /etc/udev/rules.d/70-mainnet-setup-link.rules` So my ethernet adapter gets renamed to maineth. Then maineth is part of a bridge. It works 99% of the time. But I just booted up and for some reason br0 would not come up. And I had another ethernet adapter called "rename3" that had the same MAC address as the one that is renamed to maineth. I 09:40 < Lope> just rebooted. There's no more weird "rename3" adapter, and the bridge works as it does 99% of the time. Any ideas? 09:44 < Dagmar> That actually should have worked fine 09:45 < yuung> this isn't necessary "linux" but I figure someone here might know: I have a site running on www.example.dev. this domain has an entry in my /etc/hosts file to route to my Vagrant VM machine's IP address. I would like to test the site on an iPhone 5 device. how can i set up a connection from my device to my vm? 09:45 < Dagmar> Lope: It's *probably* a race condition, but you might find something in https://unix.stackexchange.com/questions/91085/udev-renaming-my-network-interface illuminating 09:45 < yuung> i'm not too familiar with networking, so that's where i fall short in this scenario. any help is appreciated. thanks! 09:46 < Dagmar> yuung: Im not saying it's *easy* but if you run your own nameserver on your own wireless network, you can make it hand out whatever the heck IP addresses you want for internal clients 09:47 < yuung> Dagmar, it's for my company so unfortunately that's not possible xD 09:47 < Dagmar> Then just use port forwarding from the vm host 09:47 < yuung> forward the port from vm => iphone device? 09:47 < yuung> or vm => local machine => iphone device? 09:47 < Dagmar> You're SOL then if you can't control the nameservice the phone sees 09:48 < yuung> oh wait 09:48 < Dagmar> Whatever name the browser on the phone used _will_ be passed to the webserver as a Host: parameter in the query 09:48 < yuung> are you saying something like ngrok? 09:49 < Dagmar> I am assuming you have a VM running on some machine and the VM is *not* directly attached to the "live" network in any way, and all of the traffic the VM has/gets is being masqueraded by the VM host 09:50 < Dagmar> So you'd need the have the query at _least_ reach the VM host and assuming the VM host is running Linux, you'd set a port-forward directive (simple netfilter/iptables stuff) so that inbound connections to 80/443 get masqueraded to the VM 09:50 < Dagmar> ...or just set up the VM with a bridged connection and let it get an IP address from the same DHCP server your VM host does 09:52 < yuung> Dagmar, VM host is running Mac. could you explain traffic masquerading? 09:52 < yuung> or rather, let me google it and get back to you 09:52 < Dagmar> Well, you'll need to use a bridged configuration then 09:52 < Dagmar> Mac's are based on NeXt/BSD, not Linux, so they'll be using ipf. 09:52 < Dagmar> I've _no_ idea about how to do NAT/DNAT with ipf 09:54 < Dagmar> Frankly I'd see if there's a virtualization-capable machine sitting around in the office's "boneyard" and just slap CentOS onto it 09:57 < Lope> dagmar, thanks, okay I'm trying a different way. Using something like /etc/systemd/network/10-dmz.link from the manpage systemd.link 09:57 < Lope> rebooting 10:00 < aaa_> hi 10:01 < aaa_> this is possible to launch a library at startup ? (on windows this is possible with rundll.exe) 10:01 < aaa_> .so 10:05 < Ben64> aaa_: can you explain what you're trying to accomplish 10:12 < promach_> for https://stackoverflow.com/a/31402071/6422632 , why "(EXP_BITS + MANTISSA_BITS + 7) / 8" ? I understand that +7 is possibly for integer round-down purpose. 10:12 < promach_> Since for floating point formatting, we have x == EXP_BITS + MANTISSA_BITS and x >= 2 , why (x+6)/8 instead of (x+7)/8 ? 10:15 < aaa_> this is possible or no 10:25 < Triffid_Hunter> aaa_: "launch a library" ? that makes no sense, you can only launch things that have a main() or call functions in a library 10:26 < gebbione> is there a way to source in Make? 10:27 < fofalee> how is rtlinux dfferenet 10:27 < Triffid_Hunter> gebbione: include directive 10:27 < fofalee> it says that it does not use virtual memory...so what is virtual memory and does linux use it ? 10:27 < fofalee> hey guys virtual memory seems a myth 10:27 < E02B7> yuung maybe use google chrome browser and test via developer tools + user agent? 10:28 < yuung> E02B7 the bug i'm fixing is specifically on mobile iOS :| 10:29 < E02B7> yuung is it more like a UX / design bug or application side? 10:29 < E02B7> *site 10:30 < aaa_> i mean a bullt in tool or something 10:30 < aaa_> built in* 10:31 < yuung> E02BY UX bug 10:31 < yuung> but it doesn't appear in an emulator 10:32 < yuung> which is why i need to use a real device 10:35 < jim> fofalee, rtlinux... virtual memory... the latter, which is called swap, is where linux pretends a disk partition is ram 10:36 < Triffid_Hunter> Jim: there's way more to it than that actually.. it's also how you can have multiple programs running at once 10:36 < E02B7> yuung Hm ok. I don't have any more advice here, but I'll write you if I get something in my mind 10:39 < jim> Triffid_Hunter, ok... so if fofalee asks for a deeper explanation, maybe you could explain the ins and outs? 10:41 < jim> fofalee, rtlinux is a linux that has what's called real-time scheduling, which means that applications can arrange to start doing things when a specific time passes, at least at millisecond granularity 10:43 < sauvin> More accurately, that given events are guaranteed to be addressed within a set span of time. 10:44 < sauvin> Triffid_Hunter, I'm interested in what you're claiming makes it possible to have multiple processes running simultaneously. 10:47 < yuung> E02B7 preciate it :) 10:47 < jim> is virtual memory necessarily backed by disk blocks? 10:48 < sauvin> I suspect any random access read/write byte- or page-addressable medium would work. 10:48 < yuung> jim where else could it be? (not being condescending, srs question) 10:49 < sauvin> yuung, back in the bad old DOS days, "virtual memory" was anything above the 1 megabyte mark. "Extended" or "expanded" memory was accessible only by playing tricks with registers or ports or something. 10:50 < diogenese> there was a segment reserved for expanded and you switched pages in and out 10:51 < tvm> yeah, good old EMS/XMS 10:51 < tvm> + upper conventional or whatever it was called 10:51 < sauvin> Upper conventional memory was just regular old-fashioned memory. 10:52 < BCMM> jim: "virtual memory" also refers to stuff that's in RAM, but not necessarily where you think it is 10:53 < BCMM> the kernel and MMU maintain the illusion of a contiguous memory space for each process 10:53 < yuung> sauvin, thx 10:53 < BCMM> even if that memory space is actually scattered across fragments all over the physical ram 10:53 < yuung> sauvin so it faked virtual memory by shifting memory around in existing registers? 10:54 < sauvin> yuung, more like registers controlling the memory controller circuitry. 10:56 < rrman> https://paste.linux.community/view/raw/74702717 10:56 < rrman> killall says no process found, but it's running, why? 10:56 < rrman> (even though I own the process) / Still curious to know... 10:57 < E02B7> kill -9 5553 ? 10:59 < jim> rrman, killall is generally by name... so maybe it couldn't find anything by that name 11:03 < rrman> jim, `pidof tor` returns 5553 11:04 < jim> hmm, so killall uses pidof? 11:05 < jim> that actually wouldn't make sense, since killall says it can't find any 11:05 < jim> killall must use something else to find thme 11:07 < maboc> @rrman does killall gives a return code? 11:07 < rrman> Strange, I did `sudo killall tor` and it worked 11:10 < rrman> maboc, didn't check, probably 1 11:11 < maboc> Guess so...man pages tell me : killall returns a zero return code if at least one process has been killed for each listed command, or no commands were listed and at least one process matched the -u and -Z search criteria. killall returns non-zero otherwise. 11:16 < rrman> I checked now, it returned 1 11:17 < rrman> `pgrep` fails to find it as well 11:18 < rrman> Only ps -e works, or if I run pgrep as root. 11:39 < ssarah> I have a bunch a dir with a unch of files, they are like a_1 a_1.1 a_1.2 b_5 b_5.1 b_6.1 and so on, I want to keep the 3 most recent files of each different prefix 11:39 < ssarah> know of a simple way of doing this? 11:41 < jim> might involve find 11:42 < c-c> since the version format is not simple, its going to take a script probably 11:42 < V7> https://linustechtips.com/main/applications/core/interface/imageproxy/imageproxy.php?img=http://i.imgur.com/HM7D8wH.jpg&key=97907a3f9bb47e7abedebcbf0601f343884b1d418f8ab62acf3c84bd24e6a54c 11:42 < c-c> ssarah: I suggest you ask in #ruby-lang 11:42 < jim> how do you know that one file is more recent than another? 11:42 < V7> https://lh6.googleusercontent.com/2NBtcDWajDWGJvcDvkV-3WcfcVX_cHQOV_Eh5gUK6Bbh4WBX6ftXDg1vViZFhTang9wFtwCb=w1280-h705-rw 11:42 < V7> Why these are different ? 11:43 < ssarah> I think just keeping the most recent 3 ones by date of each name would be enough. 11:43 < ssarah> so keep 3 most recents of alfa, keep 3 most recents of beta 11:43 < ssarah> and so on 11:44 < c-c> find can probably list by date and reduce the number of returned files 11:49 < ssarah> but the tricky part is keeping 3 of the most recent ones for each prefix. Not sure find can do that. 12:09 < maboc> @ssarah create a script : 1) determine all different names (without extensions) 2) list all files per name order derd by date 3) delete all but the latest 3 12:10 < ssarah> maboc, yeh, I'll do it in python. Just was wondering if there was something i could do with find plus something else. 12:10 < Dagmar> Or use git branching if you'd like it to be a *total* clusterf**k 12:10 < ssarah> ty 12:19 < boxrick> I have a folder with default read write execute ACL for a group 12:20 < boxrick> any files I create in that folder get created with the correct permissions 12:20 < balittad> How you do that? 12:20 < boxrick> if I create a file then symlink the permissions don't work properly 12:21 < boxrick> Any reason symlinks don't seem to work with linux acls? 12:22 < jhodrien> boxrick: That doesn't make sense. 12:22 < jhodrien> A symlink doesn't have permissions. 12:22 < boxrick> Let me show a working example then it will make more sense 12:22 < jhodrien> Yep. 12:22 < boxrick> You are correct 12:24 < BluesKaj> Hi folks 12:25 < boxrick> https://pastebin.com/KeL405Qc <-- 12:26 < jhodrien> No. 12:27 < jhodrien> Can you run getfacl on /tmp/blob/file 12:27 < jhodrien> Ditto /tmp/blob 12:27 < jhodrien> What you end up with there depends on your umask for a start. 12:27 < boxrick> Sure 1 sec 12:28 < jhodrien> If your umask was 0077, you'd not expect to be able to read either of those files. 12:30 < boxrick> Hmm there is something more wrong here.. this is wrong. What umask should I use on /tmp/blob ideally if I want to do as I need ? 12:30 < jhodrien> What are you actually trying to do? 12:31 < boxrick> Basically everything in /customfolder ( this may be different ) to have read / write access for a group under all circumstances 12:31 < boxrick> Regardless of who creates the file or if its a symlink or directory 12:32 < jhodrien> Right. The main thing is you set an ACL on a directory *after* you created the files. That obviously then doesn't apply to those files. 12:32 < jhodrien> Either you want to recursively apply ACLs to existing files, or setup the permissions before adding files. 12:32 < jhodrien> Either way, an owner of files can set permissions or remove ACLs. 12:33 < boxrick> Well in this case, the setfacl default has been set before anything is created 12:33 < boxrick> So technically the above example I am doing it right ? 12:33 < jhodrien> No, the thing you pastebinned had a touch and symlink before you set ACLs. 12:34 < boxrick> Ohh, that was just a pasting error. Actually I had that set first. 12:34 < balittad> Yeah right... 12:34 < boxrick> Well it was a typed example. my folder structure is different 12:34 < djph> of course it is ... 12:35 < boxrick> https://pastebin.com/cG7y1jf7 <-- looks more like that. But same idea. 12:35 < boxrick> Obviously this isn't an Ansible problem. 12:35 < jhodrien> Broadly speaking, umask 0007. 12:36 < jhodrien> Say the directory was root:root 12:36 < jhodrien> And you had the order right. 12:36 < jhodrien> That'd work. 12:36 < boxrick> I wonder if the folder I am working with has the wrong umask here then. 12:37 < jhodrien> The *user* has a umask. 12:37 < jhodrien> Run getfacl on the blob directory, and post. 12:38 < boxrick> My example was too simple and worked. Let me dig a bit more at the actual use case and see what is going on. I will paste the getfacl of that 12:50 < boxrick> Right, this seems to be related to when I copy files into the directory. 12:50 < boxrick> And the umask getfacl shows is wrong since I imagine something happens before they are copied in 12:51 < boxrick> https://pastebin.com/fcSYicez <-- So this is the difference between the files ( the broken one was rsynced from another machine ) 12:52 < boxrick> No write mask... So what is the best way around this? Just set a recursive set after copying everything? Or is there a better way to make it work without needing to change it for files copied in externally 12:52 < boxrick> Maybe an rsync flag 12:58 < blaztek> boxrick: rsync does have a —chmod option...maybe that one 12:59 < boxrick> Just looked through the man page now, cheers. 13:03 < boxrick> Thanks for the help jhodrien and everyone else 13:08 < phre4k> hey y'all, I'd like to continue Bryan Lunduke's work and do a talk on why Linux still sucks in 2018; if you have any valid reasons why Linux sucks, I'd be happy if you told me :) 13:09 < NGC3982> hi guys. 13:10 < velix> I've mounted a windows share in linux. The network is pretty slow (1 MB/s). When copying files using rsync or pv (pv > /share/file), the process bar jumps to 100% and it takes to transfer then. Can I modify samba somehow to show more realistic values? I think it uses some kind of buffer. 13:11 < Pentode> are you from ngc3982? i always wanted to meet a space alien 13:11 < phre4k> velix: try mounting with sshfs on slow connections 13:12 < velix> phre4k: I'm connecting to a windows network ;) 13:14 < phre4k> velix: oh. with samba you could set "socket options = TCP_NODELAY SO_RCVBUF=0 SO_SNDBUF=0", idk how this would be done in Windows 13:15 < phre4k> velix: In the directory /proc/fs/cifs are various configuration files and pseudo files which can display debug information. There are additional startup options such as maximum buffer size and number of buffers which only may be set when the kernel cifs vfs (cifs.ko module) is loaded. 13:15 < phre4k> (from man 8 mount.cifs) 13:16 < velix> Yeah, I think I'm using cifs ;) 13:16 < velix> phre4k: thanks, I'll google for morei nfo on TCP_NODELAY 13:16 < velix> phre4k: I'm actually on Linux, so I can't change anything to the windows server at all ;) 13:16 < phre4k> velix: try also the cifs.ko thingy, maybe you can set/get buffers in /proc/fs/cifs 13:17 < velix> phre4k: I mean, it's only cosmetic stuff. The file is transfering, but I can't get a working progress bar... 13:17 < velix> phre4k: I'll keep googling. Thanks. 13:17 < velix> :) 13:17 < phre4k> velix: also maybe try /etc/modprobe.d/cifs.conf: options cifs enable_oplocks=0 13:18 < velix> let's try 13:18 < phre4k> mount.cifs apparently also accepts cache=none 13:18 < velix> phre4k: https://www.cyberciti.biz/tips/disable-caching-on-the-cifs-nfs-client.html 13:19 < velix> forcedirectio 13:19 < velix> phre4k: cache=none vs. forcedirectio? 13:19 < phre4k> velix: try it out ;) 13:19 < velix> there's also Oplocks = No 13:22 < velix> phre4k: cache=none seems to be a winner: "This option is will be deprecated in 3.7. Users should use cache=none instead on more recent kernels." 13:27 < interrobangd> what would you do if your linux freeze and no logs are written? even netconsole dont send anything and i dont have a usb-rs232 adapter 13:28 < interrobangd> the needle in a haystack :) 13:31 < maboc> @interrobangd system has frozen completely? Push the white (or black) button. In Other Words...reboot. (Well after a while....don't reboot to soon) 13:31 < interrobangd> frozen completely yes, even sysrq will not work 13:31 < blaztek> interrobangd: no ssh too? 13:32 < interrobangd> even ping will dont response yes 13:32 < blaztek> Wowzers 13:33 < blaztek> Maybe a memcheck 13:33 < interrobangd> already did 13:33 < interrobangd> everything ok 13:35 < interrobangd> 95% of this freezes can prevented by disabling RC6 on module i915 - but not all 13:36 < interrobangd> but setting i915.enable_rc6=0 is in kernel >=4.16 is deprecated 13:36 < interrobangd> so i have a problem. 13:37 < maboc> so not completly hung. I understand you still have a termina;/console or so which gives some output. 13:37 < maboc> How busy is the system? what tells w you? 13:41 < interrobangd> maboc, can crash every time and has no much to du 13:41 < interrobangd> *do 13:41 < interrobangd> load 0.0x 13:43 < maboc> @interrobangd , well that strange. I can not say I know anything about it (i915.enable_rc6). Sorry that I can not be more of an asistance. At least diable the module to have a relativly stable machine. 13:43 < interrobangd> haha 13:44 < interrobangd> but without i915 i dont have any graphics 13:44 < interrobangd> i guess ;) 13:44 < maboc> Just use a terminal. You only need tty 13:45 < interrobangd> i need a desktop i.e. for libreoffice 13:47 < blaztek> interrobangd: just curious, how old is this machine? I mean could it be a hardware issue? 13:47 < blaztek> No memory of course 14:01 < testman> Hello. I have few computers lying around my home. Is there any way I could easily connect them into a cluster that I could then use to spin up some VMs? 14:01 < maboc> @testman Xenhypervisor? You can try it on 1 machine and later add more machines/hypervisors to the mix 14:02 < testman> can hypervisors be networked? 14:03 < testman> as in, can they be connected into a system where some VM can run on one physical machine but also use resources from another physical machine if neded? 14:03 < maboc> What do you exactly mean by networked? They can work together as a cluster : move a instance from 1 piece of iron to another. 14:04 < maboc> well...not sure... 14:07 < Forsythe> Hi... I recently downloaded UUI (Universal USB Installer) from pendrivelinux.com. 14:08 < Forsythe> Silly question, TO BE SURE, however... there're so, so freaking many distros to choose from, and I'm terrible even with restaurant menus. 14:08 < Forsythe> All I want to do is delete my damn Windows 10 slave drive Windows folder. 14:09 < Forsythe> TrustedInstaller, thou art my bane, I shall draw and quarter thee, then eat thine entrails. 14:09 < Forsythe> "Taking ownership" seems to do f**k-all, which is fairly maddening. 14:10 < Forsythe> Why even have the option if it doesn't work? 14:11 < Forsythe> Would deleting that slave directory from vanilla Ubuntu do the trick? 14:24 < ruied> Hello. Can the global variables in extensions.conf be used in queues.conf? 14:39 < JimBuntu> maboc, it sound like what you want is a cluster being used for distributed computing. You *can* do this, it's not always the most efficient way to gain compute power though. 14:39 < dka> How can I with sed or awk or a tool present in fresh debian 9 install, do the following text appending `sed '/"start":/a "start:prod": "hello",' package.json` . Currently my string starting spaces are trimmed 14:39 < maboc> @JimBuntu I think you are talking to @testman :-) 14:40 < shirafuno> Er... so I deleted /bin/mysql, How would I redownload it? I tried pacman -S mysql which downloads everything but the bineries. any advice? 14:40 < JimBuntu> maboc, yup, I apologize for the unnecessary ping. testman please see my last post. 14:42 < maboc> @JimBuntu No problem at all 14:50 < Langley> Super dummy question.... For ssh I open a terminal and go 'ssh server.company.com', but the window title is still 'langley@desktop' ... is there a way to ssh that changes the title? 14:51 < jim> you could make an alias that does it 14:51 < jim> or a script 14:53 < Langley> So it becomes some kind of command that changes the title && ssh ? 14:53 < jim> yeah, something like that 14:53 < jim> there are probably about 3 or 4 ways to do it 14:56 < jim> do you want to compose it yourself (maybe with a bit of help)? 14:57 < Langley> Seems like this is what I need https://forums.opensuse.org/showthread.php/427019-gnome-terminal-title-change-on-ssh-login 15:00 < Langley> And it works, cool 15:03 < GreyHatNET> Hello 15:04 < GreyHatNET> sudo -s 15:05 < GreyHatNET> Is there any good cheap VPS Hosting in Romania, Ukraine, Russia, Poland? 15:07 < blizzkid> Hi all. We have a bridge (ovirtmgmt) containing dummy_10 and vnet0. Iptables configured as https://0bin.net/paste/GdV-4hGacTaUhu9G#ZCOS8gtzdFDJrf-YxWDOCneZpwOpQT66Pe6/gm1UT4J. ipv4 forwarding is enabled. We can't get our engine (at 172.16.2.1) to ping/curl google (eg) over wlp2s0. What are we missing? (we also tried with ovirtmgmt instead of vnet0) 15:08 < slidinghorn> GreyHatNET: any particular reason you're looking at those specific countries? 15:12 < GreyHatNET> slidinghorn: I just want this countries, because they are good for private browsing. 15:12 < djph> private browsing ... in the eastern bloc ... errr 15:13 < bramgn> /quit 15:13 < GreyHatNET> Why? 15:13 < GreyHatNET> :D 15:13 < GreyHatNET> Do you still have experience in the eastern bloc? 15:14 < GreyHatNET> Or do you know a better bloc? 15:15 < Psi-Jack> GreyHatNET: Do you have a Linux question? 15:15 < GreyHatNET> Psi-Jack: I asked my question already. 15:15 < Psi-Jack> That was not a Linux question. 15:16 < GreyHatNET> Psi-Jack: Of course it was. 15:16 < GreyHatNET> Psi-Jack: The server will run on Linux then. :P 15:16 < Psi-Jack> No, no it was not. That was a VPS hosting question which, if you check the channel rules page in the link provided in the topic, is clearly off-topic. 15:17 < GreyHatNET> You think Hosting is not certainly associated with Linux? 15:17 < Psi-Jack> It's not. 15:18 < GreyHatNET> Then we probably have a disagreement. 15:18 < Psi-Jack> So, again, Linux question? 15:19 < phre4k> GreyHatNET: hosting is not a Linux question. Linux is a software, not a service. You might be able to find help in ##networking 15:20 < GreyHatNET> phre4k: Thanks for this tip, I will take care of that. 15:20 < solidfox> GreyHatNET, do NOT trust VPS 15:20 < solidfox> GreyHatNET, you can make your own with shadowsocksr 15:21 < phre4k> solidfox: ?!? 15:21 < solidfox> nvm thats vpn 15:21 < solidfox> similar to it anyway 15:21 < solidfox> got that mixed up with vps 15:21 < solidfox> still, do NOT trust VPS 15:21 < slidinghorn> what? 15:21 < phre4k> solidfox: VPS = virtual private server, basically a virtual server 15:21 < Psi-Jack> solidfox: "nevermind" not "nvm" for future self corrections. 15:21 < phre4k> idk why you shouldn't trust virtualisation 15:21 < solidfox> Psi-Jack, nvm is a common acronym 15:21 < solidfox> Psi-Jack, I will continue to use it 15:22 < solidfox> this is IRC lol 15:22 < han-solo> hello guys 15:22 < unboiled> phre4k: spectre mean anything to you? 15:22 < solidfox> what next you want me to write "hahaha" instead of LOL 15:22 < han-solo> would there be any problem, if i disable rc-local.service ? 15:22 < hehehe> solidfox: 15:22 < phre4k> unboiled: no, to you? 15:22 < solidfox> phre4k, if somebody else is hosting your data, that is typically bad 15:23 < unboiled> yes 15:23 < phre4k> solidfox: thanks for the info, I'll build my own data centre now 15:23 < Psi-Jack> solidfox: Per channel rules, not acceptable to use sms-speak (shtspk), so if you want to continue, and be removed for it, that's a choice you can make. :) 15:23 < GreyHatNET> I have to agree solidfox's opinion 15:23 < phre4k> unboiled: ok 15:23 < solidfox> Psi-Jack, I think common acronyms should be excluded from that. 15:23 < azarus> How does xfs stack up to ext4? (Given, 4 disk raid6 managed via mdadm) 15:23 < solidfox> Psi-Jack, even "ok" is an acronym 15:23 < phre4k> GreyHatNET: the opinion of two users doesn't contradict that there are channel rules in place 15:23 < Psi-Jack> solidfox: That would include "u" and "ur" 15:23 < Psi-Jack> :p 15:24 < slidinghorn> solidfox: you're allowed that opinion, but it's still against the rules regardless 15:24 < solidfox> u and ur should be sidallowed 15:24 < Psi-Jack> heh 15:24 < JimBuntu> phre4k, The point is that unpatched virtualization can allow one entity to gain access to memory you (your software) is using, so long as they are both using the same metal 15:24 < GreyHatNET> Guys come down. :D 15:24 < phre4k> Psi-Jack: that said, https://en.oxforddictionaries.com/definition/nvm 15:24 < Psi-Jack> solidfox: And if you don't agree with the rules, you don't have to participate here. :) 15:25 < solidfox> Psi-Jack, slidinghorn neither of you are ops 15:25 < tookieP4ji> hey guys, how to hardcode VERMAGIC for the module? 15:25 < solidfox> I think it should be against the rules to engage with someone you think is breaking the rules, unless you are an op 15:25 < slidinghorn> solidfox: I don't see how that's relevant. 15:25 < solidfox> just like in ##programming a high quality channel 15:26 < hehehe> i agree 15:26 < Psi-Jack> jim: Still around? :) 15:26 < slidinghorn> solidfox: what you think the rules should be and what the rules ARE are entirely different 15:26 < hehehe> Psi-Jack: did you hear what have been said to you? 15:26 < hehehe> :) 15:26 < solidfox> slidinghorn, nice. thanks for telling me how long your dick is. 15:26 < solidfox> slidinghorn, I will no longer break any rules. 15:26 < solidfox> lmao 15:26 < Psi-Jack> hehehe: Nope. Immaterial. 15:26 < hehehe> blah 15:27 < Psi-Jack> !ops solidfox shtspk and attitude. 15:27 < Psi-Jack> I'll leave it to the ops. I gave a denizen's fair warning. :) 15:28 < solidfox> you should just mind your business and leave moderation to the ops unless you're being trolled. 15:28 < GreyHatNET> If you have a dedicated Server colocated in a data centre it's better because you have full control to it. But a VPS is good to because the Hosting cant do anything with it if it's not wrote in the ToS. 15:29 < GreyHatNET> So before you buy a server at a Hosting first check out the ToS. 15:32 < Psi-Jack> Heh, Trustico, CA Reseller for Symantec, severely violated the CAB by holding onto 24k+ private keys, and negligently sent them all to Digicert, getting themselves blacklisted. 15:32 * Psi-Jack shakes his head. 15:32 < hehehe> tsk tsk 15:32 < hehehe> that is a lot of keys 15:33 < alanhuang> oh, did they actually get sanctioned 15:33 < GreyHatNET> Psi-Jack: Where do you read it? 15:34 < Psi-Jack> hosified: zzz? Is that an away nick? 15:34 < solidfox> the rules for this channel sure are long. 15:34 < hosified> Psi-Jack: issue? 15:35 < Psi-Jack> hosified: Yes. Neither ##linux nor #centos allow the use of "away" nicks. 15:35 < hosified> Psi-Jack: understood 15:35 < Psi-Jack> Thank you for your understanding. :) 15:35 < solidfox> wow 15:35 < hosified> Psi-Jack: np. 15:35 < GreyHatNET> Sheriff Psi-Jack in the hood. 15:35 < solidfox> unacceptable!!! 15:36 < GreyHatNET> :) 15:40 < Psi-Jack> Hmmm... That memcached issue is, wow.. Why in the world would people expose their memcached to the world? heh 15:41 < slidinghorn> Psi-Jack: Which memcached issue is this? 15:41 < hehehe> people are overworked dude 15:41 < hehehe> and hence mistakes 15:41 < Psi-Jack> slidinghorn: Using memcached as a DDoS resource, with what was literally the record-breaking amount reaching up to ELE levels. 15:45 < Psi-Jack> Nicknamed MemCrashed. heh 15:46 < hehehe> where could I find a website soon to be open html template (works on mobile too) 15:46 < hehehe> I used to have one 15:47 < Psi-Jack> Google? 15:49 < hehehe> yes 15:49 < hehehe> btw Psi-Jack where do you work nowadays? 15:49 < Psi-Jack> Sheash... 51,200 times amplification. 15 bytes in, 750 kB out. Yikes. 15:49 < Psi-Jack> I never tell people on IRC where I work. :p 15:49 < LissajousPattern> If you use linux you can use unix 15:50 < hehehe> Psi-Jack: I think I used to have your linkedin :) 15:50 < hehehe> I am too lazy to check my logs 15:51 < solidfox> LissajousPattern, true. but I find that, even though I can adapt to freebsd, it is still like "why am I doing this" 15:52 < solidfox> LissajousPattern, I'd rather use something familiar like gentoo 15:52 < hehehe> solidfox: do you do backend coding? 15:53 < solidfox> hehehe, I code at every level. 15:53 < solidfox> hehehe, small company 15:53 < LissajousPattern> cause why not 15:53 < hehehe> UK based? 15:53 < watmm> Hey, i'm getting CRC errors trying to unzip a large zip file and i was wondering what other tools support unzipping so i can test if the problem is the download or unzip 15:53 < solidfox> LissajousPattern, "why not" is why I tried it. but I can't continue without a purpose 15:53 < solidfox> LissajousPattern, my will to suffer is not strong enough 15:53 < solidfox> hehehe, are you trying to dox me? 15:53 < LissajousPattern> so what can I do with an old sim card? 15:54 < LissajousPattern> well not too old actually 15:54 < hehehe> solidfox: why dox you, don't you want extra clients? lol 15:54 < Psi-Jack> LissajousPattern: Got a Linux question? 15:54 < solidfox> hehehe, no we have enough. 15:54 < solidfox> Psi-Jack, trying to silence freebsd discussion is against the rules. 15:55 < hehehe> well people who do want an extra 10 to 30 K gbp and can do backend pm :) 15:55 < watmm> anyone? it's quite important, could be looking at a bricked phone :/ 15:57 < solidfox> LissajousPattern, you could throw it away. 15:58 < LissajousPattern> well besides that...? 15:58 < slidinghorn> watmm: what are you currently using to unzip? 15:58 < hehehe> watmm: what do u want to do? 15:58 < hehehe> simply use new sim card 16:01 < Psi-Jack> hehehe: "you" not "u" 16:02 < hehehe> http://www.dictionary.com/browse/robot 16:03 < JimBuntu> watmm, if you come back, I suggest p7zip as an alternative. 16:04 < hehehe> i am making a simple website 16:06 < watmm> grr, sorry, did anyone reply above? my browser crashed 16:07 < JimBuntu> watmm, I suggested trying p7zip 16:07 < slidinghorn> watmm: I asked what kind of archive you're trying to unzip 16:07 < slidinghorn> watmm: and what tool you're using 16:08 < JimBuntu> If you are using 'zip', you could also try `zip -FF input.zip --out output.zip` and see if it can work around the CRC issues 16:09 < watmm> slidinghorn: It's the latest stock Android, just a large zip file, and i'm using unzip 16:10 < JimBuntu> watmm, Can you transfer the zipped file off the Android device so you can try other programs/options easier? 16:11 < watmm> Hrm, CRC errors with p7zip too 16:11 < luxifer> Hi there... Anyone too having issues with systemd user units generating no journal on ubuntu 18.04? 16:11 < watmm> The poblem i happenin on my computer 16:12 < luxifer> watmm: then maybe the file is corrupt? 16:13 < slidinghorn> luxifer: Only recently installed it, but I haven't noticed that behavior. Might be worth checking the +1 channel though, since it's in beta, and reporting issues could be helpful 16:13 < luxifer> slidinghorn: what do you mean by "the +1 channel"? oO 16:14 < slidinghorn> luxifer: #ubuntu+1 it's the channel for the beta 16:14 < viran> Hey folks, Im running a flask web server on a centos machine. when setting it to run 16 processes, the server pretty much hangs, im guessing there's a thread/process limit some where.. any clue? 16:14 < watmm> luxifer: looks like it, ive tried downloading several times. Going to try on a different partition in case this is symptomatic of a larger problem 16:14 < luxifer> watmm: have you tried from another machine? 16:15 < luxifer> slidinghorn: ah thanks :) 16:16 < watmm> Only have the one available :/ 16:17 < paddy|> install virtualbox, that would make 2 out of 1 computer 16:19 < luxifer> paddy|: that would be no use if his issue might be a corrupt hard drive or ram or nic on the host 16:19 < watmm> paddy|: Good thinking 16:20 < JimBuntu> watmm, does the zip file have a posted MD5 or other hash that you can compare a locally generated one to? 16:20 < JimBuntu> `man unzip`shows that you can use -t to test the archive and -v for diag info... i.e. unzip -vt zipfile.zip 16:21 < watmm> JimBuntu: ah yes, it's different alright 16:22 < paddy|> incomplete download or something similar? 16:23 < JimBuntu> watmm, by any chance, did you download this from dropbox? 16:24 < watmm> JimBuntu: Nope, official google android images. They've got to have mirrors somewhere... 16:27 < Psi-Jack> Hmmm.. tcpkill is a very handy tool. I just wish it didn't come with a whole bunch of other tools that aren't needed (or desired, on a production server)./ 16:28 < JimBuntu> Psi-Jack, https://github.com/chartbeat/tcpkill 16:28 < Psi-Jack> Heh 16:28 < watmm> the md5 is different every time i download it :( 16:28 < Psi-Jack> Yeah,. but that's 6 years old, and not in a debian package. :) 16:29 < ayecee> picky picky 16:29 < LjL> pfft md5 is unreliable anyway! 16:29 < azarus> watmm: get on a more reliable conncetion 16:29 < azarus> connection* 16:30 < inf8> hi to evrybody... 16:30 < inf8> i'm in pain with choosing a right and lighter version of linux... possibly without the gui interface system 16:30 < lseactuary> i have this code: gawk -F"\t" 'BEGIN{OFS=","}$4>"2017-12-31"{sub("T"," ",$4);$1=$1;print $0, FILENAME}' to basically filter out anything before 1 Jan 2015 and clean up the file. i am wondering if there is a clever way to only select (from the 2nd column) lines starting with new_to_something 16:31 < inf8> where can i get it? can have i a web link to download a opensource distribution? what it's better for developing with audio intefacing library? 16:31 < slidinghorn> inf8: just about any distro offers a server/minimal install - Choose what works for you 16:33 < Psi-Jack> ^ 16:34 < inf8> ok, but whitout trying eachone... can i get raccomandation for specific development with audio drivers interfacing? 16:35 < inf8> i think debian... but's it's still 2gb... i wanna no more than 25 to 50 mb 16:35 < Psi-Jack> ... 16:35 < azarus> inf8: alpine linux 16:36 < ayecee> while technically possible, i think that's an unreasonable expectation 16:36 < Psi-Jack> That is an unreasonable expectation. 16:36 < inf8> where can i find it for downloading? can i get a direct link? 16:36 < slidinghorn> inf8: that's the thing - Any one of them is likely to have this capability. In terms of your size limit, that's not going to happen 16:36 < azarus> inf8: google 16:37 < azarus> base image is 8mb 16:37 < GreyHatNET> Do you guys have an idear setting up 2 TeamSpeak3-Server with Docker, with 2 different IP's on the same VPS? 16:37 < azarus> (without kernel, bootloader, what have you) 16:37 < inf8> ok, i'm trying to get some information... if i must arrange me i didn't connect here... :) 16:38 < Psi-Jack> inf8: Keep in mind that alpine linux is not generally GNU/Linux. They use a very watered down minimal libc, muscl, which may not be to expectations. 16:39 < slidinghorn> inf8: In addition to Psi-Jack's statement, You could also look into making a Linux From Scratch setup which may be a better way to cater to your exact needs 16:40 < Psi-Jack> Yeah, depending on what the actual real needs actually are. 16:41 < azarus> Linux from scratch is pretty bloated (with their suggestions) 16:41 < azarus> coreutils and glibc weigh it down 16:41 < azarus> it's the same base as most distros nowadays 16:41 < Psi-Jack> As it should be. 16:41 < JimBuntu> Fine, then buildroot 16:42 < azarus> muscl is actually wrong 16:42 < azarus> it's musl 16:42 < azarus> and it does everything a libc should 16:42 < azarus> but let's not get into an argument 16:42 < hendrix> inf8: tiny core linux is one option. haven't tried it myself 16:43 < ayecee> i'm going to say something argumentative, but let's not get into an argument 16:43 < azarus> ayecee: exactly 16:43 < ayecee> this way i get the last word and win by default 16:43 < azarus> flawless methodolgy 16:43 < slidinghorn> inf8: the whole point is: It's difficult for us to really recommend anything based on what little information about your needs you've provided 16:44 < ayecee> no it isn't. we do it all the time. 16:44 < slidinghorn> ayecee: fine: "recommend anything *meaningfully*" better? 16:45 < ayecee> still comes across as trite and empty 16:45 < Psi-Jack> I disagree. 16:45 < ayecee> of course you would 16:45 < acresearch> people are there different types of terminals? xterm? xfce-term? etc...? is there a list, or a type most prefered by the community? 16:46 < slidinghorn> acresearch: there are a buch - https://wiki.archlinux.org/index.php/List_of_applications/Utilities#Terminal_emulators 16:46 < slidinghorn> s/buch/bunch 16:46 < Psi-Jack> Firstly, how is such a thing "trite"? Interesting choice word there. 16:46 < Psi-Jack> acresearch: Those are all X-Terminal Emulators. 16:47 < ayecee> in every way 16:47 < Psi-Jack> Different software, but doing the same basic thing, emulating a terminal. 16:47 < azarus> st is worthy of praise in my book 16:47 < acresearch> slidinghorn: Psi-Jack oh i see, nice 16:47 < LissajousPattern> real ones 16:47 < JimBuntu> acresearch, also, you can search/google "Top 10 terminal emulator" or such and get what some dude(tte) though the top ones were at different points in time. Also, don't forget to check out multiplexing ones such as TMUX or screen 16:47 < azarus> tmux is not a terminal emulator 16:47 < azarus> screen either 16:47 < mawk> you're puting the feminity into parenthesis JimBuntu 16:47 < azarus> neither* 16:48 < mawk> you sexit pig 16:48 < JimBuntu> azarus, I was listing those under the multiplexers. 16:48 < acresearch> JimBuntu: nice thanks :-) 16:48 < mawk> you should write dude.tte 16:48 < JimBuntu> mawk, lel, that's a good one 16:48 < azarus> JimBuntu: multiplexing ones = multiplexing terminal emulators is how i interpreted it 16:48 < mawk> it looks like I'm drunk with all the letters I forgot 16:48 < mawk> in France it's a real debate JimBuntu 16:48 < azarus> "terminal multiplexers" would be clearer 16:48 < mawk> and a real argument 16:48 < JimBuntu> I concede to azarus 16:49 < azarus> sorry for being pedantic ;) 16:49 < Psi-Jack> azarus: What? NEVER apologize for being overly accurate. :) 16:49 < mawk> lol 16:49 < shirafuno> Hi, I've deleted /bin/mysql. What steps wouldI go down to get it back. I tried downloading mysql through my package manager but the bin wasn't replaced. 16:50 < shirafuno> What steps would I go down to get it back? *** 16:50 < ayecee> shirafuno: format and reinstall 16:50 < shirafuno> the OS? 16:50 < ayecee> sure 16:50 < djph> ayecee: I like it. 16:50 < ayecee> it has a simple elegance 16:50 < Psi-Jack> shirafuno: What distro? 16:50 < azarus> top advice served freshly here in ##linux 16:50 < mawk> lol 16:50 < shirafuno> are you serious? Theres no other way? 16:50 < shirafuno> looool 16:50 < JimBuntu> shirafuno, one way... download the package, instead of using the install command... extract the bin. 16:50 < mawk> reinstall it shirafuno 16:50 < shirafuno> Psi-Jack: Arch 16:51 < djph> odd that reinstalling mysql-server via package manager wouldn't reinstall the binary though (unless it stuck it in /usr or something) 16:51 < mawk> then we can't help you 16:51 < mawk> get a real distro 16:51 < Psi-Jack> shirafuno: Uninstall, reinstall. 16:51 < shirafuno> looool ok 16:51 < mawk> it happens with config files normally djph , not binaries 16:51 < mawk> so the best explanation is that shirafuno did it wrong 16:51 < slidinghorn> this channel is unbearable sometimes... *sighs* 16:51 < JimBuntu> Psi-Jack, I think that's not a heavy handed enough approach, scrapping the computer and buying a new one may be more fit. 16:51 < shirafuno> well... thanks? 16:51 < djph> mawk: "it" being ...? 16:51 < mawk> files not getting overwritten on reinstall 16:52 < mawk> or replaced 16:52 < Psi-Jack> Okay. I'm going to say this once. STOP RECOMMENDING PEOPLE FORMAT AND REINSTALL just to repair ONE package. 16:52 < Psi-Jack> ayecee: Shame on you for that! 16:52 < hehehe> slidinghorn: well just ignore petulant dynos 16:52 < ayecee> needs moar caps 16:52 < shirafuno> loool 16:52 < hehehe> or get along 16:52 < shirafuno> I wouldn't had reinstalled anyway 16:53 < hehehe> ayecee: you can be a caps advisor 16:53 < hehehe> so capital so many 16:53 < Psi-Jack> shirafuno: Yeah, but still. :) 16:53 < ayecee> shirafuno: that's good, sanity check passed! 16:54 < djph> mawk: hm, I've never run into that (it usually has something like "file /etc/whatever/somefile exists and is different from what's in the package ... what do you want to do?" 16:54 < shirafuno> Psi-Jack: I like to troll newcomers on my home channel so i like to see it dished out to me haha 16:55 < slidinghorn> shirafuno: the problem with that is that this is a support channel, and trolling noobs into formatting their disks is simply a dick move. 16:56 < ayecee> white knight in da house 16:56 < shirafuno> good point. I'm from #anime, the worst we do is convince somebody to waste their time on a shit cartoon 16:56 < hehehe> ayecee: mate do you know some html site to be open soon template 16:56 < hehehe> that is mobile as well 16:56 < ayecee> nope 16:57 < Psi-Jack> shirafuno: Trolling is just not cool in any fashion. 16:57 < ayecee> how about sarcasm or facetiousness 16:58 < mawk> ayecee likes black knights 16:58 < Psi-Jack> To someone just asking for help? I think you know the answer. 16:58 < ayecee> oh wait, it's the same thing 16:58 < testtesttestyyty> hi i have a program ive installed that i need to save the output of, ive tryed "> file" and "| tee "file" but they both crash the program 16:59 < shirafuno> *sarcasm* Who is the mod here, I'd like to speak to the manager */sarcasm* 16:59 < ayecee> once you go black, you never go back 16:59 < mawk> does the program do something with terminal output testtesttestyyty ? 16:59 < mawk> lol 16:59 < lseactuary> anyone knows? 16:59 < slidinghorn> testtesttestyyty: instead of just piping to tee, try command 2>&1 | tee outputfile 16:59 < ayecee> lseactuary: nope. worse than that, no one remembers your question. 17:00 < lseactuary> ah 17:00 < lseactuary> i have this piece of code to filter/cleanup a file: gawk -F"\t" 'BEGIN{OFS=","}$4>"2014-12-31"{sub("T"," ",$4);$1=$1;print $0, FILENAME}' 17:00 < testtesttestyyty> Traceback (most recent call last): File "/usr/local/bin/bleah", line 4, in __import__('pkg_resources').run_script('bleah==1.0.0', 'bleah') File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 739, in run_script self.require(requires)[0].run_script(script_name, ns) 17:00 < lseactuary> i also want to further filter the data so column 2 only includes new_to_% 17:00 < lseactuary> is it possible? 17:00 < mawk> paste the full error somewhere testtesttestyyty 17:00 < ayecee> i guess nobody knows 17:00 < mawk> and tell your dev to use python 3 17:00 < mawk> testtesttestyyty: https://paste.linux.community 17:01 < testtesttestyyty> https://paste.linux.community/view/f4108116 17:01 < mawk> ok it's a bug in the program testtesttestyyty 17:01 < mawk> let me see 17:01 < testtesttestyyty> it works fine untill i try save the output then i get that 17:02 < mawk> set PYTHONIOENCODING=utf8 17:02 < mawk> as an exported env variable 17:02 < shirafuno> okay, got the bin back but not the shared liberies are missing. doesn't like that it can't find/ doesn't have libncurces.so.5. I have ncurses-6.1. is that not good enough? Dx 17:02 < ayecee> nope, different major version 17:02 < ayecee> what happened to your system that all these files went missing? 17:03 < mawk> I somewhat did the same once ayecee 17:03 < mawk> some unhappy find command that would send every file to shred, inside a container 17:03 < ayecee> i believe you XD 17:03 < mawk> and dunno what happened but when I came back it had already written some gigabytes to /dev/null 17:03 < mawk> and random files in /bin on the host had size zero 17:04 < mawk> I don't like that smiley 17:05 < mawk> you're quietly trying to mock me I'm sure 17:05 < JimBuntu> ayecee is mawk'ing you 17:05 < ayecee> only a little 17:05 < shirafuno> ayecee I tried to manually eradicate mysql from my machine so I could reinstall. I'm currently having trouble with jdbc driver as it won't let me connect to my application. I then tried to change privileges and ended up locking myself out of the database. So I tried to eradicate mysql so I could start again 17:05 < mawk> :( 17:06 < ayecee> i see 17:06 < mawk> you can start mysql in some mode where you can login without password 17:06 < mawk> and recover from here 17:06 < shirafuno> skip grant tables 17:06 < mawk> instead of making a disaster 17:06 < shirafuno> I tried that but wasn't working for me 17:07 < testtesttestyyty> thanks mawk that wrks great! 17:07 < mawk> open a bug ticket for that program testtesttestyyty 17:07 < mawk> tell the dev to take care about output encoding 17:08 < mawk> especially when outputting emojis or something like that 17:09 < testtesttestyyty> ill let them know thx, they were planning on implamenting a output to file into it eventualy but then the project got put on hold so been looking to get this work around untill then, ill let them know ty! 17:12 < bratchley> What can I check if I can run "nmcli con up VPN" as the user I'm logged in as and get a graphical prompt but sudo'ing to root and then back to my regular user apparently wants the secrets stored in config? I'm basically trying to get cron to pop up a VPN login box if a script determines I'm not on the local network anymore 17:12 < mawk> you're writing like someone talking all their breath into one sentence 17:12 < mawk> without punctuation or anything 17:12 < mawk> let me reread this 17:15 < mawk> you want cron to check every minute if the vpn is still up bratchley ? 17:15 < bratchley> yeah 17:15 < mawk> so for a full minute you could be without vpn 17:15 < mawk> at the mercy of evil hackers 17:15 < mawk> you should rather ask why would your VPN go down 17:16 < bratchley> because VPN's often have an auto-logout ? 17:16 < mawk> mine doesn't 17:16 < bratchley> cool story 17:16 < mawk> find a better way than a script every minute 17:16 < mawk> like, I don't know, firewall rules 17:16 < bratchley> heh 17:17 < mawk> or even better, getting a VPN software that won't disconnect you behind your back 17:17 < bratchley> it's not the software it's the gateway 17:17 < ayecee> look at this guy with his ideas and solutions 17:17 < bratchley> people were leaving themselves on VPN all the time so they just started logging people off after 24 hours 17:17 < bratchley> yeah I should reconnect to my VPN with my firewall 17:17 < bratchley> I haven't tried that before 17:18 < mawk> your question was very unclear 17:18 < Psi-Jack> Company VPN, or 4th party? 17:18 < bratchley> company 17:19 < mawk> leaving out details isn't very helpful 17:19 < mawk> go with your cron solution now that we know why you use your vpn 17:19 < bratchley> I think I'm coming out of my "desktop" session or something and NetworkManager or dbus or something doesn't see me as being on the desktop session anymore 17:19 < Psi-Jack> Heh, perhaps the 24-hour connection dropping is to keep people from being connected 24/7. Afterall, if you're connecting from home, and you get broken into, the attacker then has easy access to the company assets as well. 17:20 < hubot> i have problem with starting X server on debian sid 17:20 < hubot> i have got installed bumblebee-nvidia primus-libs primus-libs:i386 17:20 < bratchley> Psi-Jack: yeah I'm not complaining about being disconnected I'm just trying to get a graphical pop-up if my VPN connection drops out 17:20 < hubot> screen gets stuck on black when X starts 17:21 < mawk> what happens exactly when it disconnects bratchley ? 17:21 < Psi-Jack> bratchley: You would have to write your own that checks for the tunnel, and uses something like zenity or something to provide said popup. 17:21 < benzrf> yo 17:21 < hubot> how can i fix it? 17:21 < ssarah> for f in $(ls | cut -d- -f1,2 | sort | uniq); do ls $f* -tr | head -n -3 | xargs -r rm;done <- i did it like this 17:21 < ssarah> the files had a - separator that's what i used. 17:21 < ssarah> :) 17:21 < bratchley> Psi-Jack: I'm trying to get it to work with "nmcli" if at all possible since then I can go straight to just entering my login creds 17:21 < Psi-Jack> hubot: Well, for starters. Sid. Everything breaks in Sid. 17:21 < slidinghorn> hubot: You might get help here, but more specific help on Sid is available in #debian-next on OFTC, as well 17:21 < JimBuntu> bratchley, if you have notify-send available to you... that can easily be used to cause a graphical message 17:22 < slidinghorn> hubot: I'll start by asking why you're running the experimental version, though 17:22 < Psi-Jack> bratchley: So, do that when writing your script. 17:23 < mawk> there should be a better way of getting the notification of the connection being down that cron every minute 17:23 < mawk> NetworkManager should have support for that 17:23 < bratchley> Psi-Jack: yeah my original question was about why "nmcli con up VPN" returns "Error: Connection activation failed: Not authorized to control networking." when ran via cron but not when I run it directly from the shell 17:24 < bratchley> and I can reproduce that message by sudo'ing to root and back to my desktop user 17:24 < mawk> the dbus environment variables are lacking 17:24 < mawk> or something in that vein 17:25 < Psi-Jack> So, don't use cron. Use systemd timers. 17:26 < mawk> he could maybe drop his script into /etc/NetworkManager/dispatcher.d/pre-down.d/ 17:37 < Psi-Jack> mawk: Still not run within the user session level. 17:37 < sembiance> Psi-Jack: systemd. BLEH 17:37 < mawk> no but it will at least run when intended 17:38 < mawk> at the exact moment the connection goes down 17:38 < mawk> instead of checking every minute 17:38 < sembiance> Steps to fix any linux issue. Step 1: Ensure you are not runnign Systemd. Switch to Gentoo or some other non-systemd variant if you are. Step 2. There is no step 2. 17:39 < Psi-Jack> Ignorant trolls. 17:39 < wiq> Hi. I am running kubuntu and on HP Pavilion G6 1004tx laptop which have AMD Radeon HD 6470M. I wanted to switch to AMD graphic card permanently. So, I added DRI_PRIME=1 to /etc/environment but after restarting I saw a error "kwin crashed" I switched use XRender backend instead. And restarted again. Everything is working fine BUT when I am scrolling webpages the text is flickering 17:43 < slidinghorn> wiq: I just responded in #ubuntu 17:50 < the_drow> I need some advice. I have two scripts which run in parallel that invoke "firejail --net=lxcbr0 --ip=10.0.3.3 -- nc -z 10.0.3.54". One of them succeeds while the other one fails because the IP address is already taken. I cannot pick a different IP address or not run the scripts in parallel. What do I do? 17:53 < mawk> nc -z the_drow ? 17:53 < mawk> that one just checks for listening sockets no ? 17:53 < the_drow> mawk, yup 17:54 < the_drow> I'm running a test that SSH is available from a specific IP address but not from others 17:55 < lseactuary> no one knows about gawk please? 17:56 < the_drow> The only thing I know about awk is that if I need it I'm in trouble :P 17:56 < the_drow> and how to print a column 17:57 < the_drow> mawk, So any advice? 17:57 < the_drow> flock? :( 17:57 < mawk> let me try your thing 17:58 < the_drow> "firejail --net=lxcbr0 --ip=10.0.3.3 -- nc -z 10.0.3.54 22" is the right command actually 17:58 < mawk> ok yeah you can't take the same ip 17:58 < mawk> but why are you doing this ? 17:59 < mawk> it's an ip for the jailed process 17:59 < mawk> you can take the one you want inside the range 17:59 < mawk> where did you see that you can use this trick to detect SSH being available ? 18:00 < the_drow> mawk, The output "Connection to 10.0.3.54 22 port [tcp/ssh] succeeded!" 18:01 < mawk> why are you running this in a firejail ? 18:01 < mawk> you can indeed check if ssh is listening on the lxcbr0 bridge that way 18:02 < mawk> but I don't see the point of firejail here 18:02 < mawk> you're using a separate network namespace for the jailed process indeed, but firejail checks the availability of the IP you chose using ARP 18:02 < mawk> so if it's already taken on lxcbr0 it will fail 18:02 < the_drow> Because that's the easiest way to pretend I'm another LXC container in the network without actually creating one 18:03 < mawk> another LXC container in the network would have a different IP that it's co-containers 18:03 < mawk> same for your jail 18:03 < mawk> you can use the ip you want for the test 18:03 < the_drow> Yes I know 18:03 < mawk> or let the container pick one using DHCP maybe 18:03 < the_drow> but packer runs the test suite in parallel for both of my builds 18:04 < the_drow> I have two containers that have different SSH configurations but accept connections only from the same two IP addresses 18:04 < mawk> I see 18:04 < mawk> but nc -z isn't actually contacting the ssh server 18:04 < the_drow> Right now as a workaround I'm running packer build -parallel=false template.json but that sucks since it obviously doubles the build time 18:04 < mawk> or maybe it is, but it doesn't send data 18:05 < the_drow> mawk, Nope. The next test actually uses the ssh cli with the certificates and all 18:05 < mawk> oh ok 18:05 < the_drow> I have a quick test and a longer test 18:05 < mawk> then yeah you can't use the same IP for both processes 18:05 < mawk> that would be very confusing 18:05 < mawk> they each have a different MAC address 18:05 < the_drow> I'd rather have firejail --wait-for-ip 18:06 < the_drow> I tried --join-or-start but that joins on the same namespace and not the same jail 18:06 < mawk> yes 18:06 < mawk> and it's not what you want ? 18:06 < mawk> it will share the interface 18:06 < mawk> it's a good solution 18:07 < the_drow> mawk, but not the same IP 18:07 < mawk> what ? why 18:07 < mawk> the IP is bound to the network namespace 18:07 < mawk> it should be the same IP 18:07 < the_drow> but firejail refuses 18:07 < the_drow> try it yourself 18:07 < mawk> you could bypass the firejail setting up the ip 18:08 < mawk> tell --ip=none and setting it up yourself using ip 18:08 < the_drow> I know and I was down that path before 18:08 < the_drow> I want something simple :( 18:08 < mawk> lol 18:08 < the_drow> Or not simple but abstracted in such a way that someone else already did the complex work for me 18:08 < mawk> yeah 18:09 < mawk> you could have a first script creating the jail and letting it live 18:09 < mawk> then run your parallel tests each with --ip=none --join-network 18:09 < mawk> and they will automatically use the ip set up before 18:10 < the_drow> mawk, I'll give it a shot tomorrow (or next week because I have a workaround) 18:10 < the_drow> thanks 18:10 < Thedarkb> I just got a kernel oops 18:10 < Thedarkb> Kernel NULL pointer dereference. 18:11 < mawk> is TAINTED written somewhere near that log Thedarkb ? 18:11 < Thedarkb> mawk, I'm just looking at the apport 18:12 < dgarstang> Is is possible to clear/wipe a kernel sysctl setting? 18:13 < mawk> reset it to default ? 18:13 < lastaid> hey, hey, how do i add libftdi1 to my pkg-config search path? 18:14 < lastaid> also, it is looking for libftdi1.pc, when i do a locate (after i did the updatedb) i can't even find it 18:15 < dgarstang> Is is possible to clear/wipe a kernel sysctl setting? 18:16 < Thedarkb> mawk, Where's the log? 18:16 < mawk> in dmesg ? 18:16 < mawk> where did you read that Oops 18:17 < Thedarkb> mawk, The little dialog apport pops up 18:18 < isutoshi> Hi! I have 2 drives in a raid1, which is then encrypted with cryptsetup. Apparently mdadm has added another "ARRAY /dev/md/0 ..." line to mdadm.conf, which makes me unable to open the md0_crypt (/) container. I've tried extracting the initrd.img, editing the mdadm.conf file, and rebuilding the initrd.img, but it ended up in a bad format or something. I also tried booting from a live image and 18:18 < isutoshi> mounting my /boot instead of the existing, and running update-initramfs, which didn't work either. 18:18 < mawk> oh ok 18:18 < isutoshi> Does anyone have any pointers where I could go next? 18:18 < Thedarkb> mawk, I did dmesg --kernel | grep oops but nothing came up. 18:18 < mawk> try grep -i 18:18 < Thedarkb> nope 18:25 < rypervenche> isutoshi: You should chroot into your machine and fix the mdadm.conf and then rebuild your initramfs. 18:25 < isutoshi> That makes sense. 18:25 < rypervenche> isutoshi: It will be easier to let your system rebuild the initramfs the way it normally does instead of your trying to rebuild it after you edit the file. 18:26 < isutoshi> So... how do I manually assemble the raid, just mdadm --assemble? 18:27 < Tipping_Fedora> hey rypervenche it's been a while 18:27 < M3mphiZ> How do I change the DNS server on ubuntu 18.04 if /etc/resolv.conf gets reset to 127.0.0.53 after restarting? 18:27 < Evidlo> anyone know if the rst spec allows for arbitrary custom directives, like '.. foobar:: foo' ? 18:27 < noway42> I need help with an initramfs script. What does ls /run/media do? 18:28 < dgarstang> Is is possible to clear/wipe a kernel sysctl setting? 18:28 < mawk> it's the third time you ask dgarstang 18:28 < mawk> and I've asked you a question 18:28 < mawk> you mean reset to the default value ? 18:28 < dgarstang> mawk: Sorry I missed your question 18:28 < dgarstang> mawk: No, clear it. It's a string, specifically kernel.hostname, so there is no default value 18:31 < mawk> during my tests I set the hostname to \n dgarstang 18:31 < dgarstang> mawk: Setting it to an empty value via sysctl throws an error. Setting it to an empty value in /proc/sys/kernel/hostname results in an empty hostname when php/python make a library call 18:31 < mawk> and now sudo is segfaulting 18:31 < mawk> thank you dgarstang lol 18:32 < noway42> I guess my question is what does /run/media mean? 18:32 < dgarstang> mawk: Jeez, sorry 18:32 < mawk> isn't the default something like (nohost) ? 18:32 < mawk> I vaguely remember something like that 18:32 < dgarstang> mawk: That setting isn't applied at all by default 18:32 < mawk> I see 18:32 < dgarstang> mawk: When not set, php/python return the fqdn, when set they return what's in that setting 18:33 < dgarstang> mawk: and if that setting is empty, they barf 18:33 < Tipping_Fedora> can I get a cloak please? 18:33 < Tipping_Fedora> wrong place... my bad 18:33 < dgarstang> actually if it's empty, hostname barfs 18:33 < revel> Tipping_Fedora: You've already got one. 18:33 < dgarstang> but ... there's no way to set it to nothing. You must set it to something since you can't clear it 18:35 < dgarstang> mawk: So, now we have to reboot ALL our servers. This is nuts 18:35 < rypervenche> dgarstang: Mine is set to my actual hostname without the domain attached. 18:35 < dgarstang> rypervenche: What does python -c 'import socket ; print socket.gethostname()' return? 18:35 < rypervenche> dgarstang: The same thing as in that file. 18:36 < dgarstang> rypervenche: The short name, right? 18:36 < mawk> let me try something dgarstang 18:37 < rypervenche> dgarstang: Yes. 18:37 < mawk> pervenche is a bird in french 18:37 < mawk> also means cop 18:37 < mawk> traffic cop, especially 18:37 < mawk> the one giving you parking tickets 18:37 < rypervenche> mawk: pervenche is a flower and color (periwinkle) in French, as well as that. 18:38 < mawk> didn't know about the flower 18:38 < rypervenche> mawk: It's my first name in verlan + pervenche, mixed into a portmanteau. 18:38 < mawk> lol 18:38 < mawk> I see 18:39 < rypervenche> If you know French and what verlan is, then you will understand the overall meaning and what my nickname in English is that translates quite well into French this way. :P 18:39 < mawk> ok dgarstang 18:40 < rypervenche> Anyways. 18:40 < mawk> if you call sethostname(NULL, 0); it should clear the value 18:40 < mawk> I just tried in a new UTS namespace 18:40 < bratchley> Psi-Jack: alright so the timers thing worked 18:40 < bratchley> I didn't know anything about timers so that's why it took me so long 18:40 < bratchley> thanks 18:40 < mawk> but it produces the same effect as writing an empty value into /proc/sys/kernel/hostname it seems 18:40 < dgarstang> mawk: sethostname.... in C? 18:41 < mawk> yeah 18:41 < mawk> I tried from python 18:42 < mawk> import ctypes, ctypes.util; libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c')); libc.sethostname(0, 0) 18:42 < mawk> this dirty way of calling works in 64 bits for some reasons, but you should be more careful in 32 bits 18:42 < mawk> defining a constructor for the function 18:44 < mawk> sethostname = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_char_p, ctypes.c_size_t, use_errno=True)(('sethostname', libc)) 18:48 < pankaj> I want to change source code of some of the programs in linux to use as per my needs and to remove some functionality. How to get started with it? 18:49 < Dagmar> Start by learning to use Google to find things 18:49 < dgurney> 0) know the correct programming language, 1) figure out where the code you want to change is, 2) change it, 3) recompile and test 18:50 < pankaj> Dagmar: Can you name some commonly used directories which are important or mostly common for change in source code. 18:51 < rypervenche> And possibly: 4) create patch and apply to your distribution, if possible. 18:51 < dgurney> it depends on the program 18:51 < JimBuntu> 5) observe any license requirements. 18:51 < Kremator> guys, i do have extracted the Oracle's jdk in /opt and i want to make it the default jdk used by the system but the command : "sudo update-alternatives --config java" doesnt see it, how can i add that jdk to the $PATH ? 18:52 < dgurney> well for personal use only observing those isn't strictly necessary, but if you redistribute, absolutely 18:52 < Kremator> the distro is debian 8 if it does matters 18:54 < CodeBug> hey room 18:54 < CodeBug> :) 18:56 < lseactuary> anyone here good with gawk commands? 18:56 < Kremator> forget it, i already fixed it by adding it to the path with "export PATH=/opt/jdk1.8.0_161/bin:$PATH" 18:56 < ananke> CodeBug: if you're going to use pretend nomenclature, at least use the one that fits a given medium: 'channel' is what IRC uses 18:56 < ananke> lseactuary: lots of people in #awk 18:56 < lseactuary> kk 18:59 < pankaj> I can view images on tty with image viewer known as 'fbi'. Is it possible that browser like elinks or any other text based browser show images so that I do not have to use any GUI Desktop Environment for it. 19:00 < hexnewbie> pankaj: links2 will, you won't like it 19:00 < freitag772> Hi, in order for flock to be used in cron, the path to the cron.lock file must be unique for each cron job? 19:00 < mawk> yes 19:00 < mawk> unless you want jobs to run in serial 19:00 < hexnewbie> Is there actually a risk of deadlock? 19:01 < hexnewbie> Hm, there shouldn't be 19:01 < freitag772> so then I need to specify for each cron a new .lock file, completely unique 19:01 < mawk> unique per job yes 19:02 < mawk> unless the job aren't independant 19:03 < zer0G> What's the appropriate channel to complain about dead git projects? the project's actual freenode channel is dead. 19:05 < nobrain> wat 19:05 < o|0o^|> zer0G: : #git ??? 19:05 < pankaj> hexnewbie: I did not understand 19:06 < hexnewbie> pankaj: Don't expect for modern web sites to be usable in it, or to ever be happy without X. 19:06 < wiq> Is there a way to check that which gpu a app/process is using? 19:06 < pankaj> hexnewbie: OK 19:07 < kalipso> hey guys, when sendin a mail from my server with sendmail " sendmail -v foo@bar.org < test.mail" i get the mail delivered to my mailbox. but when i send to that server, having an alias in /etc/mail/aliases "foo: foo@bar.org" it doesnt get send towards the given address 19:08 < kalipso> how can i troubleshot that ? 19:08 < o|0o^|> wiq: maybe, lsof | grep '/dev/dri' and work backwards from there until you figure out what the "app" is connected to that is talking to dri subsystem 19:10 < wiq> o|0o^|, the process names mentioned in the output of that command are using which gpu? i have intel integrated and amd 19:11 < o|0o^|> what file do they have open? 19:11 < wiq> o|0o^|, some have /dev/dri/renderD129 and some have /dev/dri/card0 19:12 < Psi-Jack> bratchley: Good stuff. 19:12 < Psi-Jack> bratchley: SystemD FTW! :D 19:12 < o|0o^|> how many cards in /dev/dri 19:12 < wiq> o|0o^|, card0 card1 renderD128 renderD129 19:15 < wiq> o|0o^|, i have figured that out. renderD129 is amd and card0 is intel 19:19 < FRWB_> if i tunnel via ssh to browse then run a program with the same session i created the tunnel with, would that slow down the browser? 19:19 < FRWB_> as in would it slow down browsing in any way 19:20 < wiq> o|0o^|, can you tell me how can make my system (kubuntu) start my desktop environment (plasma) with env DRI_PRIME=1? 19:20 < o|0o^|> wiq: i don't know you can probably piece together which card is which from /sys/class/drm/card0/device and card1, but they just report ID's not names. :( 19:20 < o|0o^|> i don't know how any of that works, does it have to be a kernel boot param or just an environment variable? 19:21 < rypervenche> FRWB_: It won't really affect it, unless you're somehow transferring a ton of data from your machine to the SSH server or vice versa via that terminal, which you wouldn't be for just an SSH command. 19:21 < o|0o^|> if it's a boot command add it to your boot loader, if envirnoment add it to your init/login/whatever sets env for your user 19:22 < FRWB_> rypervenche, the browser is opening a websocket and so is the program i run from the same session 19:22 < wiq> o|0o^|, i don't know if thats boot or enviornment. i just want to edit the command which my system executes to start my desktop environment (plasma) 19:23 < FRWB_> rypervenche, so they're both transferring tons of data but they shouldn't affect each other right because they're separate sockets? 19:24 < rypervenche> FRWB_: Yes, I understand that. But if you're running a program in that same terminal, just stdin and stdout will be going between the servers, encrypted of course. 19:24 < FRWB_> hm 19:27 < wiq> o|0o^|, can you tell me which file in ubuntu contains the commands that start desktop environment at the startup? 19:27 < o|0o^|> wiq: no idea how ubuntu does anything 19:28 < o|0o^|> i set env vars in PID 1 19:28 < hubot> i haven't god idea how to repair this error 19:28 < o|0o^|> well, an immediate fork from pid 1 19:28 < hubot> i reinstalled nvidia drivers and i have the same problem 19:32 < Netham46> Is there any way to turn off a single display without reconfiguring the visible desktop on the system? I want something that I can use to turn off my secondary monitors while watching a movie without it jacking with my window positions/taking so long to resize my desktop. 19:32 < rory> long stick 19:33 < nobrain> that's what she said 19:33 < well_laid_lawn> the secondary monitor should hae a power button 19:33 < Netham46> well_laid_lawn: you'd think. 19:35 < hubot> i haven't god idea how to repair this error i reinstalled nvidia drivers and i have the same problem 19:35 < Netham46> but, that's the exact behavior I want, well_laid_lawn. 19:37 < Netham46> Hrm, maybe I'll just make an outlet I can control and hook the screens up to that. 19:48 < Psi-Jack> Hmmm. 19:48 < Psi-Jack> I think I need to adjust the timers on my smartyfilters. I didn't see hubot leave. 19:51 < hehehe> whats the typical corporate emails format 19:52 < hehehe> a.joe@gg.com 19:52 < hehehe> or alex.jones@gg.com 19:54 < sauvin> Psi-Jack, what are "smartyfilters"? 19:54 < o|0o^|> alex.jones@cia.gov 19:55 < hexnewbie> hehehe: ajerk@accorhotel.com 19:56 < sauvin> I've seen some pretty unfortunate email addresses that way, guys like "Dick Smith" wind up being "dicks@hardware.com". 19:56 < Psi-Jack> sauvin: Lua script for HexChat to handle smarter join/part filtering. So I can filter them out, but not if they've reasonably reasonly said something. 19:56 < Psi-Jack> recently* 19:56 < sauvin> Got that. I'm considering writing something similar to shut joins and parts to another window. 19:58 < Psi-Jack> Yeah. The smarty filters script is extremely good, and despite being Lua, is easy to work with even when getting into the code of it. :) 19:58 < kavity> You can do that by default with irssi. 19:59 * Psi-Jack yawns. 19:59 < TingPing> sauvin, here is a starting point for that: https://github.com/TingPing/plugins/blob/master/HexChat/highlight.lua 19:59 < TingPing> sauvin, just hook join/part instead of highlights 19:59 < Psi-Jack> Ahh, smartparts.lua, not smarty. :) 20:00 < sauvin> TingPing, unfortunately, I've never learned lua. That's exactly what I was thinking, though, hooking join/part print hooks. 20:00 < Psi-Jack> Heh. Oh, TingPing is here. :) 20:00 < TingPing> lua is pretty clean and simple 20:01 < sauvin> Also, I don't seem to have a lua plugin. :D 20:01 < Psi-Jack> Ahh, default smartparts was 5 minutes. :_) 20:01 < TingPing> you were on debian right? its in hexchat-lua 20:02 < Psi-Jack> sauvin: He even knows you.. Too well. ;) 20:02 < sauvin> Ubuntu 16.04. 20:02 < TingPing> same name should apply 20:02 < Psi-Jack> Oh.. Snap. :) 20:02 < sauvin> I seriously doubt TingPing is very fond of me, either. :D 20:03 < TingPing> sauvin, last we spoke we discussed the flatpak right? well i did end up packaging the perl plugin there 20:03 < sauvin> Not finding hexchat-lua in repos. Hrm. 20:03 < sauvin> I don't remember flatpak but I do remember your complaining perl didn't build cleanly. That's perl5, right? Any chance of a perl 6 plugin? 20:04 < Dagmar> Perl6 can probably parse IRC directly 20:04 < sauvin> For that matter, so can perl 5. 20:04 < TingPing> well perl 6 is a totally different language so.. if somebody feels like making a new plugin 20:04 < sauvin> Yeah. Lots changed between 5 and 6. 20:04 < Dagmar> I was making a different kind of joke there, since perl 6 can (under some circumstances) bloody run uncompiled C code 20:05 < TingPing> every language that can open a network connection can do irc ofc 20:06 < sauvin> Some better than others, though. I wouldn't want to try to write any kind of client in Basic, for example, although a simple bot might be doable. 20:06 < Psi-Jack> oftc? *scratches head* 20:08 < TingPing> Psi-Jack, ofc == of course, if that was directed at me 20:08 < Psi-Jack> Yes it was. And no, of course == of course. :) 20:08 < sauvin> If I ever succeed in making hexchat listen to another TCP/IP port in a nonblocking way, it'll no longer matter WHAT language you want to write your hexchat scripts in. :D 20:09 < TingPing> sauvin, just have to pull in glib 20:09 < Psi-Jack> sauvin: Hmmm.. Why tcp? named pipes would suffice well too. ;) 20:09 < sauvin> Pipes are too fragile and not nearly flexible enough. 20:10 < Dagmar> wait, what? 20:10 < Dagmar> How is non-blocking socket calls hard? 20:10 < TingPing> Dagmar, not hard, just needs to integrate into the mainloop 20:10 < sauvin> Dagmar, I've not succeeded in doing that under hexchat. By itself, perl has zero trouble with it. 20:10 < Dagmar> Ahhh 20:11 * sauvin makes note: investigate glib 20:11 < _UsUrPeR_> Hey all. I have three USB coin miners operating off the same USB hub. I am trying to figure out why one of the USB miners is consistently capable of performing more work than the other two. The USB miner which consistently performs more work is typically the first USB miner detected. 20:11 < Dagmar> It's probably going back and getting stuck on hexchat's select loop 20:11 < TingPing> sauvin, perl certainly has bindings 20:11 < _UsUrPeR_> I am trying to figure out if this is a USB hub bandwidth issue, or something else 20:11 < sauvin> So I see. 20:11 < _UsUrPeR_> independently tested, each of these USB miners is capable of performing at the same speed 20:12 < Psi-Jack> heh 20:12 < TingPing> sauvin, you can either use glibs socket api itself which hides the threading details, or you can do your own work in the a thread and just use glib to sync back up with the main thread 20:12 < _UsUrPeR_> but when they are all operating at once, one takes the lead, and the other two consistently perform at 1/3rd of the frontrunner 20:13 < Psi-Jack> _UsUrPeR_: ##hardware 20:13 < sauvin> I've never tried any threading under hexchat. 20:13 < _UsUrPeR_> Psi-Jack, okay, thanks. :) 20:13 < Psi-Jack> _UsUrPeR_: Obviously I imagine you know, not likely a hoard of bitcoin miner lovers. So tread carefully. 20:13 < sauvin> Maybe this weekend I'll fool with it. If threading doesn't interfer with hexchat itself, then I can do pretty much whatever the hell I want. 20:13 < sauvin> interfere, even. 20:14 < Dagmar> Thei threading might be an issue 20:14 < TingPing> sauvin, yea your threads can do anything *except* interact with the hexchat API 20:14 < _UsUrPeR_> Psi-Jack, this is something that's more of a puzzle for me. Regardless of what the USB device is, I am more looking for a solution. If this is a bandwidth thing, or a driver issue 20:14 < sauvin> Not a problem. Have the thread shove input onto a thread-safe queue and poll it every 500ms or so. 20:14 < hexnewbie> _UsUrPeR_: There's usbmon, but it's not included in Debian. I can only see in Arch's AUR. There might be some other tool based on usbmon that can help tell if you this is bandwidth. Can be the software operating those miners (have no clue how those operate) as well 20:14 < Dagmar> Unless they've really rewritten that from the core, remember i wrote the first docs for x-chat's perl api by _reading the source code_ 20:15 < TingPing> sauvin, yup that would totally work 20:15 < hexnewbie> _UsUrPeR_: Er, there's *usbtop*, usbmon is just the kernel module usbtop uses. Sorry. 20:15 < pqangel> Hi :) 20:15 < pqangel> I have a question about traps and process states. Can a process in user mode provoke a change in the state of a process directly? such as going from ready -> run or ready -> end 20:15 < TingPing> Dagmar, it has changed very little 20:15 < Dagmar> hexchat calls the perl code, but there's not really a way to have perl come back and tell hexchat something independently 20:16 < sauvin> That's what I'm running into. It doesn't have an input pipe the same way weechat has. 20:16 < TingPing> you can call into hexchat whenever, it just has to be on the main thread 20:16 < hexnewbie> Can't you launch a mainloop in a thread and make it talk back to hexchat on some common event you can bind on? 20:17 < TingPing> hexchat already has a mainloop, and you can use glib.idle_add() to call into it from another thread 20:17 < _UsUrPeR_> hexnewbie, thanks! I'll check it out 20:17 < sauvin> I'll be looking into that, I think, but I'm not even a fraction as smart as I might sometimes seem. 20:18 < sauvin> The only "event loop" I'm familiar with is POE. 20:18 < hexnewbie> TingPing: Ah, yeah. glib would be accessible. I forgot that would be the case. Then it makes no sense to do what I suggested :) 20:18 < Exagone313> Hi, on Linux, what mode is required to connect to a unix domain socket? In man 7 unix "Pathname socket ownership and permissions" it talks about the write permission but it is not clear. Thanks. 20:19 < sauvin> Exagone313, connect to a unix domain socket with what? 20:19 < Exagone313> with connect, in C 20:19 < o|0o^|> Exagone313: rw and x on the directory i think, or maybe it needs x on the file 20:20 < Exagone313> I guess I'll have to tias then.. 20:20 < Psi-Jack> No sockets don't need x 20:20 < hexnewbie> My money is on rw, but I don't actually know the answer 20:20 < o|0o^|> how sure are you Psi-Jack 20:20 < Psi-Jack> 100% 20:20 < Exagone313> I'd say rw too, but I don't know what happens without r, maybe you can't use read? lol 20:21 < Dagmar> There should be a new error symbol of ESRSLYNO for when you even try to apply x to that 20:21 < sauvin> :D 20:21 < o|0o^|> the directory needs +x, Psi-Jack 20:21 < Psi-Jack> Nope 20:21 < o|0o^|> yeap 20:22 < Exagone313> I wasn't thinking of the directory itself 20:22 < Psi-Jack> Just r 20:22 < Exagone313> just the unix domain socket file 20:22 < hexnewbie> Ah, that smartparts.lua is really something. So quiet, yet unconfusing. 20:22 < Psi-Jack> Well the directory needs x but not r 20:22 < Dagmar> "ESRSLYNO - This means that an error has occurred because the operation performed is impossible and/or insane. Upon recieving this error, a programmer should really sit down and evaluate their life choices." 20:23 < Dagmar> There's all *kinds* of problems that could be eliminated if we had an error symbol like that 20:25 < Psi-Jack> Dagmar: I'm a fan of the idea. That and EURFIRED 20:25 < hexnewbie> That would reduce the length of rope *nix gives ya, though 20:25 < Dagmar> No it would add granularity to the sharp drop at the end 20:25 < Dagmar> s/drop/stop/ 20:26 < Dagmar> I scribbled up a patch to MythWeb so that it would actually handle multi-part range requests, and I caught a bit of flack because there were 32 different variations of the freetext reported back with the _one_ numeric error 20:26 < Psi-Jack> hexnewbie: Nice eh? TingPing does good work. :) 20:27 < hexnewbie> chmod -R 777 (or anything matching & 0111) should probably trigger some kind of alarm, though, similar to --preserve-root. And require to at least pass --allow-stupid 20:27 < hubot> linux only boots with acpi=off on grub 20:27 < Dagmar> Several of those could have been made much more explanatory if there were simply a response code indicating the request was barkingly mad 20:28 < Dagmar> >64 ranges in one request? Good lord no. 20:28 < pqangel> anyone can help me out about how traps and process states work? 20:28 < hexnewbie> Psi-Jack: Yeah :) 20:28 < Dagmar> Overlapping, inverse ranges? Oh gods no 20:28 < Dagmar> pqangel: Traps are easy. Just call them "signal handlers" 20:28 < Psi-Jack> pqangel: Ask better questions. not ask to ask. 20:28 < pqangel> I have a question about traps and process states. Can a process in user mode provoke a change in the state of a process directly? such as going from ready -> run or ready -> end 20:29 < sy> Hi 20:30 < sy> When using wpa_supplicant, the CPu usage spikes to 20% every now and again, causing videos to lag and video games to momentarily freeze. 20:30 < sy> Any ideas what could be causing this? 20:31 < Psi-Jack> Is the videos being streamed over wireless, and game? 20:31 < royal_screwup21> so I can run ./adb kill-server and ./adb start-sever inside a specific directory (~/Android/Sdk/platform-tools). I want to be able to run these commands globally. How do I do that? 20:31 < Psi-Jack> royal_screwup21: Create an alias 20:32 < JimBuntu> royal_screwup21, You can use an alias, or you can also put that directory in your path 20:32 < Psi-Jack> I recommend aliases for something so specific. 20:32 < JimBuntu> royal_screwup21, what shell are you using? 20:32 < JimBuntu> Psi-Jack, he may also need fastboot, so many 2 alias lines 20:32 < hexnewbie> sy: Do you happen to know if the game is dying due to insufficient CPU resources (e.g. you're using 100% of all CPUs), or network delay? I'd monitor the traffic in both instances, and consider going medieval and connecting a cable 20:32 < Psi-Jack> JimBuntu: *waits for shellz.org answers* 20:33 < Psi-Jack> :) 20:33 < royal_screwup21> JimBuntu: erm, just the vanilla one that comes with ubunut 16.04 :) 20:33 < royal_screwup21> ubuntu* 20:33 < JimBuntu> Psi-Jack, I was going to make a recommendation of where to place the alias ;-) 20:33 < kalipso> hey, my mailman membership list stays empty and i cant do anything about it. does someone know how mailman handles membership lists? 20:33 < royal_screwup21> off to figuring out how to add a directory to a path 20:33 < sy> Psi-Jack: no, local video files and both single and multi player games 20:33 < Psi-Jack> kalipso: Depends on how it's configured. 20:34 < JimBuntu> royal_screwup21, alias adb='~/Android/Sdk/platform-tools/adb' <-- within ~/.bashrc 20:34 < sy> hexnewbie: unlikely, ^ 20:34 < Psi-Jack> sy: What WNIC make/model? 20:34 < sy> a TL-WDN3200 20:35 < Psi-Jack> Ahh, TP-Link. 20:35 < hexnewbie> sy: Have you shut down your email client? 20:35 < royal_screwup21> JimBuntu: cool thanks! Just wondering, by doing this, I haven't added "~/Android/Sdk/platform-tools/adb" to PATH though, right? 20:35 < sy> hexnewbie: yep 20:35 < sy> only things open are mosh and mpv 20:35 < pqangel> Psi-Jack: Can a user mode trap change the state of a process directly? such as going from ready to run or from blocked to ready 20:35 < pqangel> say I make a program that waits for user input 20:35 < Psi-Jack> Ahh, ralinkcrap. 20:35 < Psi-Jack> There's your problem. :) 20:35 < sy> I'll try without wpa supplicant 20:36 < sy> but it does spike 20:36 < JimBuntu> royal_screwup21, if you are using other tools that also need access, you may still wind up wanting to add... export PATH=$PATH:~/Android/Sdk/platform-tools 20:36 < pqangel> the process will go from run to blocked 20:36 < JimBuntu> royal_screwup21, an alias doesn't effect your path, simply lets you make a command name that the shell (BASH in this case) understand. 20:37 < pqangel> but who is making the call?? I'm I making it directly? or is the OS catching the excepction and changing the state of the process? 20:37 < royal_screwup21> awesome, thank you! so this - export PATH=$PATH:~/Android/Sdk/platform-tools - essentially says add Android/Sdk/platform-tools to my existing PATH, right? 20:38 < Dagmar> royal_screwup21: Yeah 20:38 < Dagmar> ...although Android Studio should be handling anything like that that it needs all on it's own if you launch it with the included shell script 20:38 < JimBuntu> royal_screwup21, yes, that is correct. 20:38 < Penguin> Dagmar: "its" 20:38 < Dagmar> IIRC there's a studio.sh sitting around in the bin/ subdirectory 20:39 < mawk> your sole life purpose is to correct Dagmar, Penguin ? 20:39 < Penguin> I wouldn't go that far. 20:39 < Psi-Jack> mawk: He used to always correct me. ;) 20:39 < Dagmar> It's amazing how effective one line of ircLL script can be 20:39 < Penguin> People sometimes need help. 20:39 < Dagmar> er ircII 20:41 < Psi-Jack> You know. There should be an IRC client called BitchX. Oh... Wait.. There is one already. :/ 20:42 < Dagmar> I'm not big on pedantry 20:42 < Psi-Jack> I know. Your accuracy sometimes fails you. :) 20:43 < royal_screwup21> so I exported my new PATH like so: https://thepasteb.in/p/r0hwjgMy92kcK and I tried running the adb commands. It said :bash: ./adb: No such file or directory" -- I double checked the directory name and it's all correct. What am I doing wrong? 20:44 < royal_screwup21> oh, and I also sourced the ~./bashrc 20:44 < Dagmar> royal_screwup21: Do not type the ./ part 20:44 < Psi-Jack> royal_screwup21: If it's in the PATH, ./ isn't used. . means, in the current / directory run adb. 20:44 < Dagmar> Once you've added that directory to your path, adb will be accessible by simply running it as "adb" 20:45 < royal_screwup21> ah I see! thanks folks! 20:45 < Dagmar> If this is from a shell script that has ./abd hard-coded into it, _clearly_ it was meant to be run _from_ that directory 20:45 < Psi-Jack> I still strongly recommend an alias. :) 20:45 < Psi-Jack> But oh well. hehe 20:45 < Dagmar> Psi-Jack: Well, there's probably a better than 85% chance this is an X-Y problem since this dude installed AS like, two days ago 20:46 < Psi-Jack> Yep. 20:46 < Dagmar> ...and there's a freakin' window within AS for running those tools that drops you right into the directory 20:46 < Dagmar> I just dont' want to dig deeper to find the bottom of this particular vein of crazy right now 20:46 < Dagmar> He's learning stuff. That's good enough. 20:48 < Dagmar> Actually, that it's not running on my desktop right now is kind of rare 20:48 < Dagmar> I've had to spend *way* too much time with Android Studio lately. It's making me feel irritable with vim 20:49 < azarus> Is it normal for a 'resync' of a 4x2TB RAID6 to take 16 hours? :S 20:49 < JimBuntu> Dagmar, idk about you, but I ude ADB/fastboot quit a bit from the CLI. 20:49 < JimBuntu> s/ude/use 20:49 < Dagmar> azarus: It could be faster but if it's still _in use_ just be happy if there's measurable progress forward 20:50 < Psi-Jack> azarus: You asked this yesterday, didn't you? 20:50 < azarus> Psi-Jack: nope 20:50 < azarus> never asked anything related to RAID here 20:50 < Psi-Jack> azarus: Still doing this over USB3? 20:50 < Dagmar> JimBuntu: Well, this is why I know about the little window within AS 20:50 < Psi-Jack> Hmmm 20:50 < azarus> Psi-Jack: absolutely not 20:50 < hexnewbie> azarus: See sync_speed_min and sync_speed_max in /sys/block/mdX/md (where mdX is the MD device such as md1, md2) 20:50 < azarus> you must be mistaken 20:50 < Dagmar> JimBuntu: Especially considering that I just finished breaking the spirit of an SM-G930P 20:50 < Psi-Jack> I guess so. 20:50 < azarus> hexnewbie: I tried fiddling with those sysctls, doesn't make it faster :/ 20:51 < hexnewbie> azarus: What's your current min speed? 20:51 < JimBuntu> Dagmar, what a coincidence, I am using adb to talk to a G930 right now 20:51 < azarus> hexnewbie: default 20:51 < Dagmar> All ya typically have to do is click to that window and start banging out `adb shell pm uninstall com.sprint.craptacular.app` commands 20:51 < azarus> also, is creating a write-intent bitmap okay? 20:51 < azarus> it's doing it by default 20:52 < JimBuntu> Dagmar, a lot of what I do doesn't involve me starting AS, don't use it for writing or compiling. 20:52 < hexnewbie> azarus: So you didn't actually play with those files? 20:52 < azarus> hexnewbie: I played mostly with the sysctls 20:52 < azarus> should have the same effect 20:52 < Dagmar> JimBuntu: I'm still on the fence about whether or not I want to look into getting a Moto or try and connect the relevant Lineage developer with the relevant person at Samsung who'll get something done about unlocking the bootloader on this Sprint model to keep it in line with their recent upcycling program 20:53 < Dagmar> JimBuntu: I have a few different Android projects, some simple, and some ridiculously complex 20:53 < hexnewbie> azarus: Maybe, but if your min speed is still the default and you don't know what it is, maybe they didn't 20:53 < azarus> OK then. 20:53 < azarus> Will try with the files in sysfs 20:53 < JimBuntu> Dagmar, at rish of being offtopic shamed (last one), I suggest you do whole-heartedly, especially since it's Sprint we are talking about 20:54 < azarus> hexnewbie: what sort of speed is reasonable for sync_speed_min/max? 20:55 < hexnewbie> azarus: I don't usually touch max, and increase min as much as I can without interfering with the use of the RAID, or with as much deterioration to actual use I can stomach if no interference gives me abysmal speed 20:56 < azarus> hexnewbie: I just created the array, nothing's using it. 20:57 < hexnewbie> azarus: So average speed of 34 MB on disks that aren't used by anything else? Is this SATA or SAS, or some other bus? 20:58 < azarus> hexnewbie: SATA. 20:58 < hexnewbie> 34 MB / 16 hour may be OK as a compromise to not degrade live performance, but it's too low on otherwise unused disks (and shouldn't be affected by min speed at all) 20:58 < azarus> that min setting has brought that estimate way down 20:59 < azarus> it guesses 7 hours now 20:59 < hexnewbie> azarus: Do you have something other than this RAID on those disks? The kernel shouldn't be shy in resyncing if not 20:59 < Psi-Jack> SATA 1, 2, or 3? 20:59 < azarus> SATA 3 20:59 < azarus> hexnewbie: nothing 20:59 < Psi-Jack> Spinning or SSD? 20:59 < azarus> Spinning 21:00 < Psi-Jack> Good. :) 21:00 < azarus> Why? 21:00 < azarus> SSDs are also good. 21:00 < Psi-Jack> SSD's die faster in RAID. 21:00 < azarus> Sources on that, or should I go digging myself? 21:01 < boblamont> I just want to be sure before duplicating this for 24/7 in crontab, 0 23 * * 0 /home/script/07-sun-2300.sh will run the 07-sun-2300.sh script every Sunday at 23:00 (aka 11pm) and 0 0 * * 1 /home/script/01-mon-0000.sh will follow at midnight, right? 21:02 < Dagmar> Should be 21:02 < bswork> Any mailman expertise online? I need to find out if the is a command to list all users apart of a list that have unmoderated access. 21:02 < azarus> Now It's telling me 6 hours, yay :P 21:03 < Dagmar> It depends on if someone decides to rewrite crond and feed it to systemd, and that it's somehow ethniocentric to assume the week starts on Sunday 21:03 < Psi-Jack> boblamont: Using a distro with systemd? 21:03 < Dagmar> You might find it more useful to see if the imeplmentation supports using three-letter day abbreviations 21:03 < bswork> I can list all members of a list with list_members which shows me only the email address with no permissions 21:05 < hexnewbie> azarus: I don't know what Psi-Jack means by die faster in RAID, but the mere act of building RAID on SSDs without over-provisioning with MD causes Linux to write zeroes to the entire SSDs. Unless the firmware is clever to treat zeros as discard, that would mark the whole SSD as used and cause worse wear-levelling. Couple with bad TRIM/discard passing across layers (don't know if RAID levels other than 1 do TRIM yet, some SAS controllers 21:05 < hexnewbie> won't expose TRIM), and the SSDs are to be exterminated quickly :) 21:06 < umairbalani> if I would like to take complete backup of physical server (excluding proc and sys directories) and preserve directory sturcture, whats best possible option is? 21:06 < azarus> hexnewbie: thanks for the info 21:07 < boblamont> Systemd is installed. Ideally I want it as portable as possible... I'm doing it for someone else on a machine I don't think they'll really find powerful enough for very long. 21:07 < azarus> hexnewbie: estimated time has skyrocketed again, now saying it'd take 23 hours 21:07 < hexnewbie> azarus: But that should be preventable with sane hardware and knowing what you're doing :) 21:08 < hexnewbie> azarus: Run iostat -mxz 10 on the RAID members. See if one of the four disks stands out as significantly more loaded (%util close to 100%, with others close to 0-20%) 21:11 < umairbalani> any suggestions guys? 21:12 < Dagmar> checking dmesg occasionally to make sure none of the drives is throwing a fit isn't a bad idea 21:12 < hexnewbie> Oh, and one thing about SSDs, RAID bitmaps may increase writes a lot. 21:12 < Psilocyber> Is anyone administering linux based SAN? Wonder other peoples preference for kernel updates in production. Do you update only when needed or do you keep it up-to-date via a schedule (ie check monthly or something) or ? 21:13 < Dagmar> ...and if one of the four *consistently* behaves differently from the rest, either you made bad purchasing decisions, or you might want to stop the sync and start asking that drive some very pointed questions with smartctl 21:13 < Dagmar> It could actually be failing 21:13 < hexnewbie> azarus: Yeah, like Dagmar suggests, a dying drive is a potential cause for this 21:13 < Dagmar> The timing would be awful, but ignoring it would be worse 21:13 < Dagmar> One pass with the extended/long test would rule out a lot of causes 21:18 < azarus> Hmm. Most of the drives are brand new. 21:19 < azarus> (well, utilised for like a month with no problems) 21:20 < azarus> The iostat looks okay to me. 21:20 < Dagmar> It's still possible one of them suffers from SIDS 21:20 < azarus> What would be suspicious? 21:21 < Dagmar> azarus: Seeing one repeatedly drop well below the maximum IO throughput for the drive 21:21 < azarus> They're all about the same. 21:21 < Dagmar> It would generally indicate the drive has _stopped_ responding for a moment while it figures out what to do about a sector mis-read 21:21 < Dagmar> (it's super fun when they do that) 21:22 < solidfox> Dagmar, hey dude 21:22 < solidfox> long time no see. 21:22 < Dagmar> You should be able to rule hardware issues out by querying each of the drives with smartctl --all while it's doing this. It won't slow them down 21:22 < solidfox> I mean 21:22 < Dagmar> ANything showing some pending uncorrected sectors could be cause for alarm 21:22 < solidfox> long time no chat 21:22 < Dagmar> sup 21:23 < Dagmar> Note that *some* vendors have their own rather "special" ideas about what values should be reported for some metrics, so if you see sixteen bajillion sector read errors being reported _don't panic_ 21:23 < SpeakerToMeat> Hello 21:23 < SpeakerToMeat> Is there any way to change bash's sort order to natural sort? 21:24 < Dagmar> If the number isn't changing, it was probably some idiot engineer's idea to stick in an additional value and << 32 the thing 21:24 < Dagmar> This happens _often_ 21:24 < azarus> Hmm. All SMART values look OK to me. 21:24 < Dagmar> That's good 21:24 < azarus> Should I paste them somewhere for all to see? 21:24 < Dagmar> The issue was probably just the rebuild happening slowly to keep from interfering 21:25 < Dagmar> Sure feel free to pastebin one 21:25 < azarus> (they're two different drive types) 21:25 < Dagmar> I've got some mirrored disks and a 5 here. So long as all the housekeeping is done "before Tuesday" I'm fine with it being slow 21:26 < Dagmar> azarus: you know that's generalyl not recommended, right? 21:26 < Dagmar> Like, it's not going to be fatal, but they'll likely not perform in lockstep with one another and could affect throughput a bit at weird times 21:26 < azarus> I know. 21:26 < Dagmar> Okay, just makin' sure 21:26 < azarus> But I'm not exactly overflowing with $$$ 21:27 < Dagmar> Same here 21:27 < Dagmar> Well, actually, I'm a cheap-ass 21:27 < azarus> sda: https://ptpb.pw/0kkt sdb: https://ptpb.pw/Vb8I sdc: https://ptpb.pw/1ond sdd: https://ptpb.pw/H9FY 21:27 < Dagmar> ...but I figure with a few thousand dollars in hardware around for _just me_ maybe I shouldn't just spew money in every direction 21:28 < Dagmar> Oh lol. Raw_Read_Error_Rate is exactly one of those insane values I was talking about 21:29 < azarus> Dagmar: in which one? 21:29 < Dagmar> On the first, second, and fourth 21:29 < Dagmar> For drives this "young" those high values would be insane and increasing at a _breathtaking_ pace 21:30 < Dagmar> They're probably not changing at all 21:30 < azarus> I just bought those like a month ago 21:30 < Dagmar> Vendors can be real tossers about coming up with their own ways to report values 21:30 < Psilocyber> standards? we dont need no stinkin' standards! 21:31 < Dagmar> Current_Pending_Sector <-- this is one that should always involve scrutiny 21:31 < SpeakerToMeat> I would like natural sort for all of bash... it would be painful to make aliases for stuff like ls, but that wouldn't even work for autocomplete 21:31 < Dagmar> It's a count of sectors the drive definitely _could not_ read properly, and will now be *refusing* to access until you attempt to write to them 21:31 < Dagmar> If it's ever non-zero its' time to start running SMART tests 21:32 < azarus> here's /proc/mdstat: https://ptpb.pw/w-Zf 21:33 < noway42> I want to simulate drives of different transport protocols (ATA, IDE, SCSI) and different sizes (2GB,4GB so on). What tool can I use to do this? I know there's a way to do this using virtual machines but I'm having trouble on my Ubuntu spinning one up. 21:33 < azarus> it actually went down again: https://ptpb.pw/YEQo 21:38 < Trel> Is there anything similar to directory symlinks but that essentially redirects you like a shortcut? So for example, if I did 'cd /shortcuts/thing_im_asking_about' it would work and pwd would return '/path/to/actual/directory'? 21:42 < lopid> no but "realpath ." would 21:45 < geirha> Trel: cd -P 21:46 < geirha> or cd, and then pwd -P 21:46 < azarus> Dagmar: I've noticed with iostat that either they're all either all doing stuff for a while or doing nothing for a while. is that normal? 21:51 < Styil> Hello there, am trying to reset my password on the rpi 21:52 < Styil> Added init=/bin/ah to the proper boot file 21:52 < Styil> Now I am getting some error, not actually sure what it is, but the full boot process isn’t completing 21:52 < BCMM> Styil: is that meant to say /bin/sh, /bin/ash, or something else? 21:53 < Styil> bin/sh 21:53 < Styil> Sorry, on a phone, autocorrect 21:53 < Styil> Anyways, I try to change the password, I get a token authentication error 21:53 < BCMM> Styil: also (and in general) the actual error message matters - perhaps take a photo, if you don't want to type it all out 21:53 < Styil> So I hear the issue is that the file system is in read only mode 21:54 < BCMM> also, if you boot with init=/bin/sh, "the full boot process isn’t completing" is expected behaviour 21:54 < BCMM> Styil: yes. init is the command that the kernel executes after it finishes early boot stuff. it is responsible for starting everything else on the system. if you boot with init=/bin/sh, you just get a shell instead - you're then responsible for, well, everything 21:55 < Styil> I try to remount /, problem is that it apparently can’t find its uuid 21:55 < Styil> Or something 21:55 < BCMM> Styil: try `mount -o remount,rw /` 21:55 < noway42> How good is Xen for virtual machines? I'm using ubuntu and I want different virtual hard drives of different sizes and different transport protocols 21:55 < Styil> mount: can’t find part uuid 21:55 < Styil> Hence my problem 21:56 < ksk> Styil: use eg fdisk, to find out which partition should contain your "/" - then "mkdir /mnt/foo; mount /dev/sdXY /mmnt/foo; 21:56 < azarus> Is "mdadm --create /dev/md0 --assume-clean * 21:56 < Styil> fdisk: cannot open /proc/partitions: no such file or directory ksk 21:57 < Styil> after running fdisk -l 21:57 < ksk> the errormessage might come in handy now ;) 21:58 < Styil> The issue is that I look through the boot process and don’t see anything particularly wrong 21:58 < BCMM> Styil: do you have a linux desktop/laptop around (with an SD card reader)? 21:58 < TJ-> Styil: if you booted to /bin/bash whatever, then you've not let the init system do the mounts 21:58 < Styil> BCMM: yes 21:58 < ksk> noway42: its much good. you might however take a look at new, fancy ways to do things. 21:59 < BCMM> hang on, just remembered the pi is an arm and you can't really just chroot it... 21:59 < noway42> ksk what you mean? 21:59 < mrrmx> Sveta_: you there 21:59 < Sveta_> sup 21:59 < ksk> like, do you need a VM, or is a container enough? Xen also is not too easy to configure (like a docker pull $image or how you use docker would be easier) 21:59 < BCMM> is there an easy way to just run passwd on a different passwd file? 21:59 < Styil> https://imgur.com/a/SuzDT 21:59 < TJ-> Styil: "mount -o remount-rw /; mount -t proc proc /proc -o rw,nosuid,nodev,noexec,relatime" 21:59 < Styil> This is the boot menu 21:59 < Styil> Boot log I mean 21:59 < ksk> BCMM: maybe bind-mounting it? 22:00 * ksk hides 22:00 < mrrmx> Sveta_: I went out today and bought a high quality pci-e to usb type 3.1/c and I can't find drivers for it.. 22:00 < azarus> mrrmx: maybe first search for drivers, then buy the hardware? 22:01 < azarus> research OS support first, then buy 22:01 < BCMM> huh, turns out there's a passwd --root option 22:01 < mrrmx> I know 22:01 < TJ-> mrrmx: existing xhci drivers ought to handle something like that. What does "lspci -nnk" report for that device? 22:02 < Styil> TJ-: getting can’t find his and can’t find proc/proc 22:02 < Styil> can’t find uuid 22:02 < BCMM> Styil: well, i'm going AFK now, but this is my suggestion: put the pi SD card in your linux computer, mount it at /mnt/whatever (being sure to mount your root filesystem, not just the boot partition), and use passwd --root /mnt/whatever to change the root password 22:03 < BCMM> (or passwd --root /mnt/whatever username if you want to change a user password) 22:03 < Styil> Alright, I’ll try it, need to go as well 22:03 < mrrmx> TJ-: I don't see the device 22:03 < jml2> pi's a pie 22:03 < mrrmx> TJ-: can I post 22:03 < mrrmx> ? 22:04 < TJ-> mrrmx: use a pastebin 22:04 < mrrmx> https://pastebin.com/CRNsLNPQ 22:04 < TJ-> mrrmx: if you really don't see the device then it isn't there as far as the hardware is concerned. Did you connect it correctly? 22:04 < mrrmx> it's uses asm1142 chipset 22:05 < mrrmx> TJ, yes 22:05 < TJ-> mrrmx: even a device without a driver is reported by lspci, which is showing the PCI hardware config space 22:05 < mrrmx> do you see the device there? 22:05 < mrrmx> TJ-: do you see the device? 22:06 < mrrmx> it's a pci-e to usb3.1/c 22:06 < mrrmx> I can't tell the devices apart... 22:06 < Trel> geirha: I'm talking about actually making a shortcut, so no commands to navigate are needed. Is that possible? 22:06 < Trel> (no modified commands to navigate I mean) 22:07 < mrrmx> TJ-: dude are you there 22:07 < TJ-> mrrmx: no, I don't see it 22:07 < TJ-> mrrmx: is this device plugged into a desktop motherboard or a laptop via ExpressCard or internal? 22:07 < mrrmx> deskto 22:07 < mrrmx> desktop 22:08 < TJ-> mrrmx: So you powered off, plugged this device into a PCIe slot, and powered on? 22:08 < mrrmx> it's a pcie, yes 22:08 < mrrmx> it's in a X16 pcie slot 22:08 < TJ-> mrrmx: first thing to do is re-check it is correctly plugged in and firmly down in the slot. 22:08 < TJ-> mrrmx: 2nd is to try it in other available slots, or swap it with other devices in slots you know work 22:09 < mrrmx> I'll try 22:09 < mrrmx> ok bbs 22:09 < TJ-> mrrmx: process of elimination 22:09 < nascentmind> Hi. Does an extended partition have a corresponding /dev/ file? 22:09 < JacobsLadd3r> Does anyone happen to know if you can disable sar from sysstat from parsing /etc/mtab and doing a statfs on every autofs mount in /net when just doing a simple load query of [sar -q 1 10]? Trying to reduce unnecessary NFS connections. 22:09 < TJ-> nascentmind: no 22:10 < jml2> nascentmind, nope 22:10 < jml2> nascentmind, it shouldnt 22:12 < nascentmind> TJ-, I have created 7 partitions. In it 2 are primary partitions and the remaining are logical partitions. When I check my dmesg I see this --> p1 p2 p3 < p5 p6 p7 > 22:13 < mrrmx> the card is connect properly 22:13 < mrrmx> *connected 22:13 < mrrmx> TJ-: any other ideas? 22:13 * jml2 is connected too 22:13 < nascentmind> It does not show my remaining partitions. 22:15 < jml2> nascentmind, you should be using command tools like fdisk, gdisk to list partitions 22:15 < geirha> Trel: Well I don't know what you consider as "shortcut". Maybe CDPATH will do? or you could override cd to do a look up in an associative array before falling back to regular cd 22:15 < nascentmind> jml2, I am listing the partitions using fdisk. I don't see the corresponding /dev file created. 22:16 < jml2> nascentmind, do you know the difference between an "extended" partition and a logical partition ? -- these are terms only for MBR-style partition tables 22:16 < Trel> basically my goal is: a directory called /shortcuts with what looks like folders, for example one called "webroot", if I then do 'cd webroot' I'd end up at '/www/80/pub' and NOT '/shortcuts/webroot' 22:16 < jml2> alias webroot='cd /path/to/webroot' 22:17 < Trel> jml2: that only helps me 22:17 < Trel> I'm talking about on the filesystem 22:17 < geirha> CDPATH=.:/shortcuts; cd -P webroot 22:17 < nascentmind> jml2, Yes I do. Are the naming convention of the /dev/ files different from what is shown in fdisk? 22:18 < Trel> geirha: isn't that also user specific? 22:18 < TJ-> nascentmind: right so the invisible p4 is the extended partition, and it you ahve 3 primaries and 3 logicals by the look of that 22:18 < geirha> Trel: what do you mean by user specific? 22:19 < jml2> nascentmind, when you are root and you do things outside the specs, the partitions won't show up. it's possible to add archaic partition tables anywhere... 22:19 < phogg> why would extended permissions not be devices in /dev/? You need a block device or you can't use it. 22:19 < Trel> geirha: I'm asking how to do this on the filesystem, not with aliases, or something else that goes into a profile. 22:19 < jml2> phogg, they never do. logical partitions show up in /dev.. 22:20 < jml2> phogg, extended partition = "EBR" 22:20 < phogg> jml2: Then an extended partition is useless and can't ever be mounted. What would be the point? 22:20 < nascentmind> TJ-, I have 7 partitions. 2 physical and 5 logical. 22:20 < jml2> phogg, https://en.wikipedia.org/wiki/Extended_boot_record 22:20 < ibttis> hello any suggestions on packages for a debian based system to harden it? 22:20 < geirha> Trel: ah, then it's "not possible", since for bash at least, it would require modifying at least one shell option 22:21 < phogg> jml2: I know what an extended partition is. 22:21 < jml2> nascentmind, you said it originally, correctly, 2 primary, and the remaining logical 22:21 < jml2> phogg, no you don't. 22:21 < TJ-> nascentmind: not according to the dmesg you showed 22:21 < jml2> an extended partition contains the logical partitions. 22:21 < phogg> jml2: I know what they are and how they work. 22:22 < phogg> jml2: Yes, yes I know. The on disk layout is one thing, the logical presentation is something else. 22:22 < Trel> geirha: if it was a shell specific thing then it's not what I'm trying to do anyhow. It looks like there may not be a way at all. Right now I am just using symlinks and I put a file called 00_use_the_P_switch_with_cd_00 in the /shortcuts directory. 22:22 < jml2> and its ugly, you can have multiple extended partitions embedded. 22:22 < jml2> multiple EBRs... 22:23 < phogg> jml2: yes, you can make it quite complicated. Unimportant. Eventually you *must* have a block device file. 22:25 < nascentmind> jml2, sorry. s/Physical/primary 22:26 < jml2> nascentmind, mbr is limitted to 4 partitions, so thats why it uses a workaround extended/logical thing... 22:26 < jml2> nascentmind, if you didnt update your partition table properly, then changes won't get reflected.. 22:27 < jml2> nascentmind, if you dont see device nodes, then use a poke in something in /proc, or try to use kpartx 22:27 < nascentmind> jml2, I am in a constrained environment and I don't have access to kartx 22:27 < jml2> nascentmind, ./limitted to "4 entries" per MBR table/ 22:28 < geirha> Trel: well, when you do cd to that symlink, you do end up in the physical directory, it's just that bash has this idea of a "logical" directory structure that it has enabled by default. If you disable it, it will work as you want 22:28 < jml2> nascentmind, echo 1 > /sys/block/[sd_]/device/rescan 22:29 < geirha> set -o physical or set -Å 22:29 < geirha> *or set -P 22:30 < k12buntu> hi 22:31 < crestfallen> hi do vagrant and hashicorp products play a key role in openStack and the way it seems to be going as an industry standard? 22:32 < nascentmind> jml2, I have partx. I did a partx /dev/mmcblk0 -a and it gives errors saying cannot add partition 1-3 , 5-9. It shows partitions just fine using partx -s 22:33 < geirha> Trel: in other words, the filesystem behaves like you want, but the shell overlays a more "intuitive" approach by default 22:34 < Brainspackle> crestfallen: no, they are totally unrelated projects 22:34 < Brainspackle> crestfallen: i've been in many openstack design meetings and have never heard a single reference to vagrant/hashicorp 22:35 < Brainspackle> seems like an odd question to me :P 22:35 < crestfallen> << noob , thanks Brainspackle: 22:35 < crestfallen> nice moniker by the way 22:36 < Brainspackle> thanks 22:36 < crestfallen> yeah I did a bit of fiddling with vagrant a couple years ago; my main question is should I take the openstack cert training 22:36 < crestfallen> Brainspackle 22:37 < Brainspackle> vagrant tends to be used for local dev environments and such 22:37 < Brainspackle> whereas, openstack is a suite of cloud services consumable via apis 22:37 < crestfallen> worth the training you figure? 22:37 < Brainspackle> if that is the sort of thing you'd be interested in working on professionally, they are pretty good to have 22:37 < jml2> crestfallen, i'd say so 22:37 < jml2> crestfallen, it's a strong force in the clouds 22:37 < crestfallen> excellent thanks ALL 22:38 < jml2> yw! 22:38 < Brainspackle> i never got them just because i was able to get enough experience with it before certs ever existed 22:38 < Brainspackle> or even before it was a public thing 22:38 < crestfallen> I am learning haskell, which is very cool. I'm not much of a programmer though. familiar with a bit of linux, git, just basics. 22:39 < Brainspackle> but if i was going that direction now, i would definitely look into them 22:39 < crestfallen> so should I take a more general linux admin cert first? 22:39 < Brainspackle> yeah, probably... the openstack certs aren't really designed at linux beginners, it assumes some knowledge already 22:40 < crestfallen> thanks good call.. 22:40 < Brainspackle> even if its not a cert, there are some decent online courses 22:40 < crestfallen> kindly name one or two? 22:41 < jml2> crestfallen, openstack came out like in 2010.. 22:41 < jml2> and its continuously improving 22:42 < jml2> rh offers an openstack cert, but you need to get like 1 or 2 certs prior it 22:42 < crestfallen> I have a debian stretch system 22:43 < crestfallen> what about decent free courses out there for basic admin? 22:43 < jml2> there's udemy, and it has low cost courses.. but a lot of it is plain amateur 22:44 < jml2> it might be helpful though for beginners 22:44 < crestfallen> could you suggest another? I'm not a flat beginner 22:44 < k12buntu> Just curious, I like retro distros or DEs and I was wondering if there were any distros that looked like windows 3.0 22:46 < k12buntu> hi 22:46 < jml2> k12buntu, makululinux focuses on windows themes, and it has a theme going way back for it. 22:47 < jml2> k12buntu, it's author uses youtube to showcase new themes.. 22:47 < jml2> k12buntu, not a big fan though 22:49 < Trel> geirha: I thought symlinks were essentially invisible unless something actively checked? 22:50 < jml2> Trel, ? symlinks are a filesystem feature 22:50 < LjL> invisible? 22:51 < infinisil> Trel: You're probably thinking af hardlinks 22:51 < infinisil> of* 22:51 < lupine> invisible to stat, visible to lstat 22:51 < geirha> Trel: yes. So let's say you have /shortcuts/webroot -> /var/www/webroot if you do cd /shortcuts/webroot, bash will pretend you're in a dir named /shortcuts/webroot, but you're actually in /var/www/webroot. You can see this with ''ls ..'' which will list the content of /var/www and not /shortcuts 22:52 < geirha> but doing cd .. will send you to /shortcuts, because bash thinks that's more intuitive for you 22:52 < geirha> set -o physical or cd -P disables that behavior 22:53 < jml2> here I use cd'less to paths.. shopt -s autocd 22:54 < jml2> so I can just type /path/ and hit enter ... 22:56 < geirha> err, I meant s/cd -P/set -P/ 22:56 < geirha> cd -P overrides the illusion for individual dirs, while set -P disables the illusion entirely 23:04 < jml2> the problem with that is you need to keep updating the symlinks when you move things around 23:08 < CodeBug> hey room 23:08 < Pentode> howdy 23:08 < Smilex> Are there any developers using linux here, who know how to make valgrind ignore memory issues from the GPU driver? 23:10 < CodeBug> hey Pentode 23:16 < Raxz> What did the patent office say to the guy who invented the seatbelt? ... "Fastenating." 23:23 < Trel> I like how symlinks work, I was hoping there was something that functioned more similarly to windows shortcuts in addition, not changing anything make existing function differently. However, second option is to just make a directory full of shell scripts which have the cd command for the appropriate directory 23:23 < Trel> That may be best anyway since it's more easily updated if somethign moves 23:26 < phogg> Trel: A windows shortcut is resolved by the shell not the VFS. This means that the closest analog is a .desktop file. 23:27 < Trel> I just meant in function where using the shortcut redirects you. I know they don't function the same way. 23:27 < phogg> Trel: A shortcut doesn't redirect you, though. I don't know what you're talking about. 23:28 < phogg> a .lnk file is opened by the shell e.g. explorer, read, and then its instructions followed. A .desktop file is exactly like that except that it's not typically used for things that are not executables so file dialogs don't normally handle them. 23:29 < Trel> Does the instructions in the .lnk file not point to another folder which explorer then opens? 23:30 < phogg> Trel: It depends on what the .lnk points to and what the program does with it depends on the program. 23:30 < Trel> In this case, a shortcut to a directory. 23:30 < phogg> and also to some extent what the .lnk instructions are. A windows .url file is just the .lnk format with some additional instructions, for example. 23:31 < phogg> Trel: In that case explorer would take you to the directory, yes. 23:31 < Trel> Which is what I was hoping to achieve, but it looks like I can't in a way that uses the 'cd' command directly unless I missed something. Which is fine, I'll have to use a workaround. 23:31 < phogg> Trel: you can achieve the same thing with a .desktop file if you know how to write one, but again .desktop files are not often used for shortcut-type purposes so most programs won't expect that 23:32 < phogg> Trel: I don't know what you mean. How can cd help you? 23:32 < Trel> phogg: a .desktop file can't be used how I wanted. 23:33 < phogg> Trel: It can be if the program reading it knows to do what you want. 23:34 < phogg> most programs don't interpret .desktop files, unlike on Windows where shell-integrated file dialogs resolve .lnk files without the application calling the dialogs being aware 23:34 < Trel> phogg: for the sake of this, assume command line and assume something like dash, so as few bells and whistles as possible. My goal was to have a directory like 'webroot' under '/shortcuts' and if you did 'cd webroot' instead of ending up at '/shortcuts/webroot' you'd end up at say '/www/80/pub' 23:34 < phogg> but if you were e.g. in nautilus and double clicked a carefully crafted .desktop file you could mimic the behavior found with a .lnk exactly 23:34 < phogg> Trel: trivial if you write your own cd command 23:35 < Trel> Super trivial, since I'd just use a symlink and alias cd -P to it. But that's not solving my problem since it wouldn't work for people who don't have said alias. 23:35 < phogg> Trel: it would just canonicalize and then cd, e.g. cd () { command cd "$(readlink -f "$@")" ; } 23:36 < phogg> Trel: a function like that would work in bash; I'm not sure if dash supports the 'command' builtin otherwise it works there too. 23:36 < Trel> Unless I'm missing something, I can't do what I wanted to do system wide without shell intervention. 23:36 < Trel> phogg: if I did what you're suggesting, symlinks wouldn't work anywhere. 23:37 < phogg> Trel: you have to have a program which understand what you want. In your case symlink+canonicalization works the way you want, but each program traversing your symlinks must know this. Here I wrote a tiny one which does. 23:37 < phogg> Trel: you could make a less trivial cd wrapper which only canonicalizes links passing through /shortcuts, it's just less tiny 23:38 < Trel> phogg: that's the one I'd have to do, but that's still use specific, no? 23:38 < Trel> *user 23:38 < Trel> as in it goes in my .profile or .bashrc 23:38 < phogg> Trel: you can put it in a file and modify all user shells to source it, same way setting PS1 and such works 23:40 < phogg> Trel: the only way to truly make it work inescapably system-wide is to modify the kernel, or at least libc. Programs on Linux don't ask another userspace process to do path resolution. 23:41 < Trel> Yes, but that's a user-specific option still, I just am modifying user's environments (possibly without their permission). It's not a solution I can use in this case. And if it's just for me, I'm good would just making an alias for 'cd -P' to something like 'ccd' 23:41 < kurahaupo> phogg: what exactly do you want that « cd /symlink/path » doesn't provide? 23:41 < Trel> (I'm resigned to it not being possible though) 23:41 < Trel> kurahaupo: I'm the one asking, not him. 23:41 < phogg> kurahaupo: I don't want anything, Trel wants cd /symlink/dir to land in the target as if not having followed a symlink 23:42 < Trel> I was hoping there was a third type of link that would function in that way, not to modify how simlinks worked 23:42 < phogg> there is and it's a .desktop file but support isn't widespread 23:42 < Brainspackle> are you just looking for some place to hide your porn? 23:43 < phogg> Trel: the real question is why you care what the path looks like after you follow the link 23:43 < kurahaupo> The whole "keeping PWD as if the v symlink were actually a directory" is Bash faking it; as far as the kernel or any other program is concerned, the current directory is the inode of the target at the time you did the cd 23:43 < Trel> Because I was trying to make it quicker for users to get to some long paths from a central starting point, without obfuscating the actual location they're going to. 23:44 < phogg> Trel: users won't care where they are and if they need to find out they can readlink -f . 23:44 < kurahaupo> So « set -P » for Bash gives a complete solution for all programs 23:44 < Trel> kurahaupo: at the expense of symlinks I WANT to stay that way 23:45 < Trel> phogg: if they didn't care, I wouldn't have been asked to do this ;) 23:45 < kurahaupo> Trel: the consider using bind-mounts instead 23:45 < Trel> Someone with a three letter title cares enough to make my life miserable. 23:46 < Trel> kurahaupo: does that mask the true path? 23:47 < Trel> If I were in /shortcuts and did 'cd subdirectory && pwd' what would print? 23:47 < kurahaupo> Trel: it provides an independent true path. They're both "true" after the mount. 23:47 < phogg> Trel: is it just the dir displayed in PS1 that's bothering this three-letter dickhead? 23:47 < Trel> It's the output of pwd 23:48 < kurahaupo> So make an function for pwd instead 23:48 < phogg> kurahaupo: he objects to trying to get a function into each user's environment 23:49 < phogg> seems simple to me: each time someone complains add a line to his .bashrc 23:49 < Trel> if it doesn't show something like '/www/80/pub' vs '/shortcuts/webroot' then it doesn't meet what he wants. And if making that happen makes it so '/NOTshortcuts/symlink' doesn't show '/NOTshortcuts/symlink' then it's also not an option. 23:49 < Trel> (It not being possible is an acceptable answer) 23:49 < phogg> or if you want to do them all add a file to /etc/ and modify all .bashrc files mechanically 23:49 < Trel> phogg: he wants me to do it in a way that affects all users, and doesn't touch their .profile or .bashrc, or anything else that's "theirs" 23:50 < phogg> Trel: It's not normally possible. You can always hack *something* 23:50 < SmashingX> is there any way to download a website with images and everything? 23:50 < phogg> Trel: compile a new version of bash that changes the behavior of the pwd builtin 23:50 < SmashingX> I tried curl www.website.com > file 23:50 < SmashingX> but I don’t see the images 23:50 < Trel> Right now I'm thinking 'userdel' might be my best option for this guy. 23:50 < phogg> kurahaupo: can a bash module override an existing builtin? 23:50 < Brainspackle> Trel: how did you manage to get this job? :p 23:50 < phogg> SmashingX: wget has a --mirror, man wget 23:51 < SmashingX> I don’t have wget :/ 23:51 < vfbsilva> guys my external monitor does not accept the resolution of my laptop scren how can I make them equal? 23:51 < SmashingX> just curl 23:51 < phogg> SmashingX: it's sufficient to say that it's *not easy* 23:51 < phogg> SmashingX: then you can't do it without writing elaborate amounts of code. Get wget. 23:51 < Trel> Brainspackle: not even my usual thing. Just someone with too much power conscripting me. My linux use is personal, other than this :\ 23:51 < phogg> vfbsilva: in general xrandr 23:52 < kurahaupo> Trel: use set +P ; pwd() { [[ $PWD = /shortcuts/* ]] && realpath "$PWD" || echo "$PWD; } 23:52 < phogg> with another " after the last PWD 23:52 < vfbsilva> phogg: I have a setup where I want to mirror tje laptop screen into an external monitor but this external monitor uses a lowerr resolution so thing sget skewed 23:52 < Trel> kurahaupo: that looks like it goes in a .profile or .bashrc though, which I cannot do. 23:52 < SmashingX> phogg: my end result is to convert a website to a PDF 23:53 < Trel> I'm telling him it's not possible unless he wants to modify and compile the shell himself. 23:53 < phogg> vfbsilva: and you've told xrandr to change the resolution used for that output? 23:53 < kurahaupo> Trel: in that case, just forward it to $idiot so they can do it for themselves 23:53 < SmashingX> phogg: the problem that I have is that I would like to share an internal website that I have with a colleague, (I can’t share the whole website ot make it public), so I was trying to see if this is a solution 23:53 < phogg> SmashingX: With comedy stylings like that you should go on tour. 23:53 < SmashingX> phogg: what? 23:54 < Trel> kurahaupo (for the record, my original solution for him was a shell script for each shortcut which just has the cd command to the right location) which he rejected... -_- 23:54 < kurahaupo> Or put it in /etc/bash.bashrc 23:54 < vfbsilva> phogg: yes and it reports not supported 23:54 < phogg> SmashingX: You must be joking. Every other option is unthinkable. 23:54 < vfbsilva> but I know it is :P 23:54 < SmashingX> why are you saying that? 23:54 < phogg> vfbsilva: your driver does not agree 23:55 < kurahaupo> Trel: why? Is this a boss trying to pull rank to improve his own deficient esteem? 23:55 < vfbsilva> panning did the trick 23:56 < kurahaupo> Trel: otherwise you need a bind mount in place of each symlink you want to hide. 23:56 < ksk> Trel: you could set them up via pam-mount on user login 23:57 < kurahaupo> Trel: mount --bind /dev/urandom ~idiot/.bashrc 23:58 < saderror256> what are some good lightweight web browsers for Linux? 23:58 < saderror256> Im on a raspberry pi 23:59 < kurahaupo> saderror256: lynx, links, elinks, wget, curl --- Log closed Thu Apr 12 00:00:39 2018