--- Log opened Thu Apr 05 00:00:09 2018 --- Day changed Thu Apr 05 2018 00:00 < Psi-Jack> Or a real Linux VM with USB passthrough. :) 00:00 < cliff1245> i tried the linux vm with pass through, but i can't seem to find it. 00:00 < cliff1245> i think it might be an issue with it being usb 3.0 00:00 < sbef> Ehyyyy guyssss 00:00 < sbef> Today Is a great day for me 00:00 < Psi-Jack> cliff1245: Welp. Good luck. 00:00 < jim> do hi 00:01 < jim> err just hi 00:01 < Psi-Jack> jim: hi! 00:01 < cliff1245> i get thanks. 00:01 < sauvin> Say hey hey hey! 00:01 < sbef> I finally got a stackoverflow and a github account :D 00:01 < Psi-Jack> sauvin: Hey hey hey! 00:01 < jim> love to play tackle... 00:01 < sauvin> Say "I'll behave now!" 00:01 < diogenese> you mean lie? 00:01 < Psi-Jack> I'll destroy you ALL now. :) 00:02 < sauvin> Eh, destruction is overrated. 00:02 < jim> annnd the truth comes out :) 00:02 < sbef> But I was wondering, how does github earn money? 00:02 < Psi-Jack> hehe 00:02 < mawk> paid accounts sbef 00:02 < sbef> How is it possibile I get infinite repos for free??? 00:02 < Psi-Jack> sbef: Run your own stuff. 00:02 < morf> nobody uses infinite number of repos 00:02 < diogenese> not yet 00:03 < mawk> not private repos sbef 00:03 < bls> sbef: we're not github tech support, so not really a topic for here 00:03 < mawk> you need to pay for private repos 00:03 < morf> dud you literally can't use infinite number of repos 00:03 < jim> sbef, but, there is a #github here 00:03 < sbef> I know mawk: but it's so great that as long as I let my code public I can actually use as much space as I want 00:03 < Psi-Jack> sbef: See, https://git.linux-help.org/ I have my own infinite repos, for free, that I run, myself. 00:03 < sbef> jim: I did not.know 00:04 < mawk> me too 00:04 < sbef> Psi-Jack: I will, thank you 00:04 < mawk> I use the gas factory gitlab 00:04 < Psi-Jack> sbef: Aka: Run your own Gogs server, or GitLab, or pay for GitHub enterprise, run it yourself, etc. 00:05 < bls> or just run git over ssh and skip the web frontend 00:05 < jim> I guess you could set up your own gitlab, but you don['t necessarily need all that... just make bare repos and serve em up by ssh 00:05 < Psi-Jack> Or that. 00:05 < diogenese> there's gitweb 00:05 < Psi-Jack> gogs is just so convenient, and you can run it easily on 256MB RAM. :) 00:05 < Sonolin> yes, I'd imagine something like gitlab to be mostly useful for the issue tracking 00:05 < sbef> I'm so over excited about this eheheh 00:06 < sbef> Thanks for all your advice as usual 00:06 < Psi-Jack> Heh, I like how updating my Gavatar picture updated everywhere that uses Gravatar. Impressive. :) 00:07 < jim> sbef, you don't even need to have it be remote, it can be on your home machine, and if you have more than one, you could push to it 00:08 < Sonolin> yea as long as SSH is enabled & open you can connect into your repo from anybody on your LAN 00:08 < sbef> As soon as I'll be done setting up my server I will run on it, and try gogs as suggested by Psi-Jack: 00:09 < jim> sbef, you can always get a big drive to put on your home machine, put bare repos on it, and then clone/push to the repo you're working with at the time 00:37 < codebam> I compiled 4.16 and it boots fine, but compared to my distro kernel and distro .config build of 4.15.14 I can't see network speeds in my system tray 00:37 < mawk> kernel version doesn't control that normally 00:37 < codebam> is there a config option I need to enable for support for querying network speeds? 00:37 < Psi-Jack> jim: Gogs just makes things super easy. Which is a good thing, IMHO. :) 00:38 < mawk> I think it's relevant to the driver codebam 00:38 < mawk> so enabled by default 00:38 < mawk> these statistics are fetched using the netlink socket 00:38 < AnAverageHuman> I'm debugging a segmentation fault in gdb. Here's the backtrace from the core file: https://ptpb.pw/AF5CS5xeiHY62c961xvJG900Ijag Where should I go from here? 00:39 < codebam> hmm weird. I think I'll the default config with this one and see what it has that this one doesn't 00:39 < codebam> *I'll compare 00:40 < dreamscape> Is it wise to use a 32 bit distro on a old Intel Atom 230 even though it is 64 bit capable? 00:41 < codebam> would it be CONFIG_IWLWIFI_DEVICE_TRACING ? 00:41 < codebam> because I have that disabled and it was enabled in my distro kernel configuration 00:42 < mawk> I don't think so 00:42 < mawk> but you could try 00:42 < codebam> or actually my bad, it's the other way around 00:42 < codebam> I have it enabled and it was disabled 00:42 < mawk> getting interface statistics is using the netlink socket, you get a struct rtnl_link_stats 00:42 < robin> I'm using upstart and I wonder if I can set the kill signal when stopping a process with upstart? 00:42 < mawk> it's kinda a low level operation 00:43 < mawk> which program is crashing AnAverageHuman ? 00:43 < mawk> looks like the bug is in the dynamic linker itself 00:43 < amagi> Hello everybody 00:43 < AnAverageHuman> mawk: gdb, along with a few others. 00:44 < amagi> I have a question based in the opinion of the members of this group 00:44 < mawk> the backtrace is for ld 00:44 < AnAverageHuman> mawk: I have a working version of gdb that I've extracted elsewhere for debugging purposes. 00:44 < mawk> and the crash is in the time() syscall call 00:44 < mawk> go the the frame number 2 00:44 < mawk> and examine the pointer passed to time() 00:44 < mawk> is it valid memory ? 00:44 < amagi> to build a corporate webserver do you recommend freebsd over linux? 00:45 < ananke> amagi: you're in ##linux. don't expect recommendations for freebsd 00:45 < AnAverageHuman> mawk: How do I examine that pointer? 00:45 < mawk> gdb should print it 00:45 < mawk> when you go into the frame 00:46 < codebam> so I was googling around and I found another issue, iwconfig says 00:46 < codebam> "no wireless extentions" 00:46 < AnAverageHuman> mawk: This is all I get when I run "frame 2": #2 0x00007fe0dd635747 in time () from /usr/lib64/libc.so.6 00:46 < codebam> for all of my cards 00:46 < mawk> I thought time took an argument AnAverageHuman 00:46 < codebam> not sure if any of you might know how to fix that, if it's something I missed in the kernel or what 00:47 < mawk> gdb can show you the details about the segfault AnAverageHuman no ? 00:47 < AnAverageHuman> mawk: I'm not too familiar with gdb. But from the man pages, it seems like time() should take an argument. 00:48 < mawk> indeed 00:49 < mawk> the kernel sends some info in the sigsegv signal handler, like the processor exception number, the faulty address, the nature of the violation 00:49 < mawk> gdb should be able to tell you that I hope 00:49 < AnAverageHuman> Do you know the command? 00:49 < mawk> no, I don't know gdb that much 00:49 < AnAverageHuman> Hmm, I'll try in #gdb. 00:50 < codebam> I think it's probably cfg80211 wireless extensions compatibility 00:50 < mawk> if gdb doesn't have that feature you can write a quick .so to preload inside the debugged gdb in which you install the special signal handler 00:50 < codebam> because I bet the software uses legacy software to get wireless info 00:50 < mawk> from some __attribute__ ((__constructor__)) function 00:50 < AnAverageHuman> That will take a bit of looking into. I'm only familiar with basic C. 00:51 < codebam> and that's one difference between my kernel and the stock kernel 00:51 < codebam> so it would make sense 00:51 < mawk> actually it would be something very quick 00:51 < mawk> a .so with litterally two functions: the sigsegv signal handler, and a function that will be executed when the preloaded program starts 00:51 < mawk> in the second function you install the first as SIGSEGV handler, and you watch what happens 00:56 < AnAverageHuman> The odd part is that when I run gdb without the core file, I only get three lines of backtrace that look like symbols are being stripped. 00:57 < albrecht> Where might I look to find a comparison of different package management systems? I'm toying with the idea of doing an LFS on an old machine as a playtime project 00:59 < jim> AnAverageHuman, well without the core file, you'd have to run it till it crashes I guess 00:59 < AnAverageHuman> jim: It doesn't start is the issue. 01:00 < jim> ok... 01:01 < jim> and there's no indication of why not? 01:01 < AnAverageHuman> It seems to be an issue with ld/glibc. 01:02 < jim> ok, do you have source for it? (btw, what is "it"?) 01:02 < stanford_AI> do you know how to stream webrtc from /dev/video0 ? 01:03 < mawk> run a ldd on the broken gdb AnAverageHuman 01:03 < mawk> it looks like the bug is during the dynamic linking 01:03 < jim> wait, you can't start gdb?! 01:04 < AnAverageHuman> mawk: https://ptpb.pw/AEQxUgQc-KlvfQpks9L0U2osAKJZ 01:04 < AnAverageHuman> jim: This problem occurs in a few binaries, like gdb, wish, julia, lua. But only those for some odd reason. 01:05 < mawk> if you want the .so to preload that will display tons of info on sigsegv AnAverageHuman : https://serveur.io/sigsegv.tar.gz 01:05 < mawk> compile it then you launch programs with the LD_PRELOAD environment variable set to the path to sigsegv.so 01:06 < mawk> x86/x86_64 only 01:06 < stanford_AI> do you know how to stream webrtc from /dev/video0 ? 01:07 < AnAverageHuman> mawk: So like "LD_PRELOAD=./sigsegv.so gdb"? 01:08 < mawk> yes 01:09 < mawk> it's just some code I quickly reused for that, but I'm sure gdb can do that itself 01:09 < spammcoin> stanford_AI: why webrtc? 01:09 < kurahaupo> I'm pretty sure LD_PRELOAD does not do path searching, so ./ is pointless 01:10 < AnAverageHuman> mawk: Where is the information dumped on segfault? 01:10 < mawk> on stderr 01:11 < mawk> for SIGILL SIGBUS and SIGSEGV it shows the faulty address, the x86 exception number 01:11 < mawk> but there is also a ton of info I don't show, it could be improved 01:11 < AnAverageHuman> I'm not seeing anything, unless I'm loading it incorrectly. 01:11 < mawk> then the error takes place before the .so is loaded 01:11 < mawk> that is, in ld.so itself 01:12 < mawk> as I established before 01:12 < AnAverageHuman> If I remove the ./ from LD_PRELOAD I get "ERROR: ld.so: object 'sigsegv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored." 01:12 < mawk> hm 01:12 < mawk> so it is indeed loaded 01:13 < stanford_AI> spammcoin, webRTC is the standard for web i think 01:13 < AnAverageHuman> mawk: Actually, I realized that I was compiling glibc with debug symbols, not binutils. I'll recompile binutils and see if that shows me more in the backtrace. 01:13 < kurahaupo> AnAverageHuman: I attend corrected 01:13 < VjdfMQ> Hey all 01:13 < VjdfMQ> The mouse just sopped working 01:13 < kurahaupo> *stand 01:14 < VjdfMQ> Logs give: psmouse serio1: Failed to enable mouse on isa0060/serio1 01:14 < kurahaupo> VjdfMQ: unplug replug 01:14 < VjdfMQ> Might be after updates 01:14 < VjdfMQ> kurahaupo: Already 01:14 < VjdfMQ> Rebooted 01:14 < VjdfMQ> twice 01:14 < VjdfMQ> The same 01:14 < kurahaupo> VjdfMQ: do you really have a serial PS2 mouse 01:14 < VjdfMQ> I don't know. This is a laptop. 01:15 < spammcoin> stanford_AI: oh it's for the web eh? can your web browser not open the video device? 01:15 < kurahaupo> VjdfMQ: is it disabled in the BIOS? 01:15 < VjdfMQ> Also, when I'n connecting laptop's touchpad dmesg says: new usb has been found 01:15 < VjdfMQ> kurahaupo: No. It was wokrking and just stopped. 01:15 < VjdfMQ> When I was surfing 01:16 < VjdfMQ> The Ineternet 01:16 < kurahaupo> VjdfMQ: so it's not a PS2 mouse 01:16 < VjdfMQ> So. What could this mean ? 01:16 < VjdfMQ> It was working fine in months 01:16 < VjdfMQ> And just stopped 01:16 < kurahaupo> VjdfMQ: sounds like maybe a loose connection 01:17 < VjdfMQ> kurahaupo: Already told you. Reconnected touchpad. Unmounted the laptops parts and mounted again. 01:17 < VjdfMQ> Rebooted twice. 01:17 < VjdfMQ> The same. 01:18 < kurahaupo> Oh, you're doing hardware surgery; most people here aren't that advanced 01:18 < VjdfMQ> This could be something from software. 01:18 < VjdfMQ> Migt after updates or something like that. 01:18 < VjdfMQ> Is it possible to check which driver is used to communicate wit mouse ? 01:19 < VjdfMQ> Also. THe thing why it's software is that there're two mouse on laptop. 01:20 < kurahaupo> lsusb will tell you if there's a USB mouse connected. lspci will do the same for busmouse 01:20 < kurahaupo> Two mice 01:21 < VjdfMQ> TrackBall and TouchPad. They are connected separately. Track ball is connected through keyboards bus and toucpad is connected serately. 01:21 < VjdfMQ> So this is not the contacts. 01:21 < VjdfMQ> Both of them don't work. 01:22 < Psi-Jack> Enter... Enter... Enter... Enter. Can we focus more please? Grins 01:23 < amrx> Does anyone know where the darwin distro stores system configs and settings ? 01:27 < amrx> Never mind. 01:27 < tp43_> The compiler(gcc) came before linux? 01:28 < VjdfMQ> Anyone ? 01:28 < VjdfMQ> I've googled and there're a bunch of people with the same problem 01:28 < Psi-Jack> cc was the original UNIX C Compiler 01:28 < koala_man> tp43_: yes, GNU started in 1984 and was pretty big by the time Linux came around in 1991 01:29 < albrecht> VjdfMQ: ...and what was their solution(s)? I highly doubt that if there are "a bunch" that no one's resolved it 01:29 < VjdfMQ> albrecht: The solution to lleave it like that. 01:29 < VjdfMQ> They say just tell modprobe to disable synaptics driver 01:29 < Psi-Jack> amrx: Darwin is off-topic anyway. :P 01:30 < tp43_> koala_man, like Richard Stallman got the gcc compiler from some aristocrat name Tenanbaum. That happen before Linus started working on Minics. Or he worked on Minuxs using a commercial C compiler, and then later came gcc, and that went into linux distros. 01:30 < amrx> Psi-Jack: I was just trying to make some noise. :) 01:30 * stevendale is using XP 01:30 < kurahaupo> Psi-Jack: followed by convert-and-copy, spelt "dd" 01:30 < VjdfMQ> I've just restarted via modprobe -r psmouse; modprobe psmouse and it worked 01:30 < VjdfMQ> So. This is software. 01:30 < Psi-Jack> kurahaupo: Yep. 01:30 < stevendale> Just use Visual Studio 2010 01:31 < Psi-Jack> stevendale: Troll elsewhere. 01:31 < stevendale> Psi-Jack Mate, if I was trolling, I'd be long gone by now from lack of attention 01:32 < Psi-Jack> stevendale: You are trolling, and it's random and sparse, yet it is still trolling. 01:32 < Psi-Jack> So, stop it. 01:33 < stevendale> If you've got a problem with me go to the ops channel and make a complaint there instead of causing drama in here 01:33 < pankaj_> What is relation between GPG and PGP? 01:33 < Psi-Jack> pankaj_: None 01:34 < Psi-Jack> They do the same thing, but one's commercial, propriatery, one's open source and free software. 01:34 < pankaj_> Psi-Jack: So, how they are related? 01:34 < Psi-Jack> pankaj_: They're not. 01:34 < tp43_> !ops stevendale 01:35 < Psi-Jack> tp43_: Need a $reason too. :) 01:35 < koala_man> pankaj_: GPG is a cleanroom GNU implementation of PGP 01:35 < pankaj_> Psi-Jack: OK 01:35 < tp43_> Psi-Jack, he same "Visual Studio" that should be enough? 01:36 < pankaj_> Psi-Jack: Just one. What is OpenPGP and GnuPG? 01:36 < stevendale> Have you got a problem with Visual Studio? 01:36 < Psi-Jack> pankaj_: OpenPGP is OpenPGP, GnuPG is GnuPG 01:36 < tp43_> stevendale, wrong channel dude 01:37 < Sveta> stevendale, visual studio has two problems. One, it runs only on dos (wine can resolve that). Two, it is proprietary (reverse engineering can solve that, but at a very high cost). Three, it is not the easiest way to solve the current problem at hand. 01:38 < jimm> 1, you can get visual studio for linux, 2, there are a LOT of other things you can get 01:38 < Sveta> stevendale, I am sure you can limit the discussion of proprietary (windows or mac included) topics to a minimum, so that people are aware of the associated risks, but are not dragged into such discussions unnecessarily when the context does not require. 01:38 < Sveta> tp43_, greetings. Good time of day to you too. 01:38 < jimm> I dunno what its status is now 01:39 < koala_man> pankaj_: GnuPG is GPG, OpenPGP is a standard dervied from PGP that GPG (and PGP) implement 01:39 < tp43_> Sveta, greetings 01:39 < jimm> and, my second point still holds.. and most of them are free software 01:40 < pankaj_> koala_man: Was PGP given to IETF for creating an open version of it so that anybody can create packages like that is gnuPG? 01:41 < koala_man> pankaj_: no, there's no software called OpenPGP, it's just a standard 01:42 < Psi-Jack> pankaj_: Playing 50 questions? Got an end goal here? ;) 01:44 < pankaj_> Psi-Jack: Did not understand? 01:45 < supernovah> Hey is it possible in the command line to react to a file being deleted? 01:45 < Psi-Jack> pankaj_: What's with the 50 questions that you could've researched yourself with google? Where are you going with all these questions? 01:45 < Psi-Jack> supernovah: What are you trying to do? 01:45 < tp43_> pankaj_, what are you upto with php btw? 01:45 < SlidingHorn> pankaj_, He's asking you to get to the point. What are you trying to do that requires the questions you're asking? 01:46 < supernovah> Psi-Jack: monitor a large directory structure for when a file with a specific name shows up, tail all of its contents to an external log file and continue to look for it again once it gets deleted 01:46 < tp43_> supernovah, yes, I'm not sure the systems way, but I recall in some programming language, you can call a function to watch a directory. There must be similar in Linux api too. 01:46 < pankaj_> SlidingHorn: I think that My concerns are cleared by Koala_man. 01:46 < pankaj_> koala_man: Thanks 01:46 < koala_man> np 01:47 < supernovah> but is there a system tool that does it already without polling? 01:47 < supernovah> I'm assuming i'm going to have to strace it? 01:47 < koala_man> supernovah: this is handled by inotify 01:47 < Psi-Jack> supernovah: a specific file? 01:48 < supernovah> Psi-Jack: no, an inspecific file with a specific name but whos location will change 01:48 < Psi-Jack> supernovah: Fix the broken software. :) 01:48 < supernovah> That broken software is automake 01:49 < supernovah> it places logs in folders named after the package being built, deletes them after 01:49 < tp43_> supernovah, watch 01:49 < stevendale> Say, if I wanted to use Linux, but almost all of my apps are Windows-only, what distro would be best for running Wine on? 01:49 < Psi-Jack> supernovah: Okay. What are you REALLY trying to do? What's your real end goal? 01:50 < tp43_> supernovah, inotify!!!! 01:50 < stevendale> Note, I'm capable of installing almost any distro 01:50 < tp43_> stevendale, name your fav's 01:51 < supernovah> tp43_: yeah im on it, thx koala_man 01:51 < tp43_> I have installed debian, ubuntu, suse, redhat, and couple more. But mostly debian 01:51 < supernovah> Psi-Jack: figure out when/if cross-compiler is inccorectly invoked/is receiving the wrong CXXFLAGS 01:52 < stevendale> tp43_: Arch with Gnome 3, Debian LXDE, Lubuntu & Puppy Linux 01:52 < tp43_> stevendale, busybox? 01:52 < stevendale> Only Puppy uses BusyBox 01:52 < morf> only? i don't think so 01:53 < jimm> I think debian does too, but I don't know what for 01:53 < jimm> or if not, it used to 01:53 < stevendale> I'm looking for what would be best to use Wine on 01:54 < Psi-Jack> stevendale: Any distro will be just fine. There is no "best" 01:54 < SlidingHorn> any one of them is perfectly fine for WINE stevendale 01:54 < morf> jimm: debian installer 01:55 < jimm> oh ok 01:55 < morf> https://busybox.net/products.html 01:55 < morf> also alpine linux etc etc 01:58 < Psi-Jack> supernovah: That's a matter of fixing the build process itself. :) 01:59 < Psi-Jack> Not trying to write bandaids around it. 02:05 < spammcoin> stevendale: red star is the distro for you 02:06 < supernovah> Psi-Jack: yes but I don't lnow what is going wrong, this is debugging 02:06 < supernovah> Using inotifywait, am I going to run into asynchronous problems when I get a close event, and try to read the file that was closed only to see its already been deleted by the time I try? 02:06 < Psi-Jack> That's not debugging. That's not knowing how to use automake properly. :) 02:06 < Xionaba> hi im an idiot! i installed an NES emulator "sudo apt-get install fceux", but no idea how to run it 02:07 < Psi-Jack> Xionaba: Good luck with that. 02:07 < supernovah> Psi-Jack: This wasn't my code, this was a mjor linux distro from 2000's 02:08 < Psi-Jack> supernovah: Why something so ancient? 02:12 < sssilver> hey guys, how can you tell if computer is on or off? 02:12 < CoJaBo> ping it? 02:12 < phil42> press any key 02:13 < spkd> look for a green light on the front 02:13 < sssilver> I can't ping it, but I can't tell if it's because of network or the computer is off 02:14 < Psi-Jack> sssilver: Look at it 02:14 < spammcoin> touch the CPU 02:14 < phil42> are the fans turning? 02:14 < sssilver> I can't, it's on a different continent 02:15 < Psi-Jack> sssilver: And why is that? 02:15 < phil42> can you ping it's default router ? 02:15 < phil42> if so, assume it's off 02:17 < sssilver> mmm the ping came back 02:17 < TJ-> supernovah: I think your problem can be solved using LD_PRELOAD and libtrash, see http://pages.stern.nyu.edu/~marriaga/software/libtrash/ 02:17 < sssilver> phew 02:17 < CoJaBo> O man, I once rebooted a server in Isreal 02:17 < CoJaBo> It never came back D= 02:18 < CoJaBo> No serial, no PDU :/ 02:18 < sssilver> CoJaBo: and then what happened? 02:19 < CoJaBo> sssilver: Someone had to book a flight at 3am on a saturday 02:19 < sssilver> ahahah holy moly 02:19 < AnAverageHuman> mawk: No dice with extra symbols for binutils. 02:19 < TJ-> supernovah: good overview on how to configure libtrash https://www.techrepublic.com/article/safely-delete-linux-files-with-libtrash/ 02:19 < CoJaBo> Because a PDU was too expensive. 02:21 < toothe> Is there any way to escalate a kernel bug? 02:25 < spammcoin> like some kind of a bug elevator? 02:25 < bls> toothe: ask on the LKML, or pay someone with commit access to fix it 02:26 < toothe> LKML? 02:26 < toothe> Linux kernel mailing list. 02:26 < bls> yes, that's where the devs discuss kernel business 02:27 < jim> toothe, ask Linus... in one case, a bug that had existed for more than 10 years was fixed because some related code was added that made the bug more visible, and he could finally get it 02:27 < devinmcelheran> Anyone have any idea why after creating a bcache backing device and a caching device why I wouldn't have a bcache0 in /sys/block? 02:27 < toothe> I see...darn. 02:27 < toothe> Its a virtualization bug. 02:27 < toothe> In short, PCI passthrough kills HDMI audio. 02:28 < toothe> which is a major no-no. 02:29 < spammcoin> must not be that big of a no-no if kernel continues to do it 02:29 < bls> yeah, that's a pretty fringe issue 02:29 < toothe> yeah. 02:30 < toothe> https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#No_HDMI_audio_output_on_host_when_intel_iommu_is_enabled 02:30 < toothe> This is a known issue. 02:30 < bls> does arch not have someone involved with kernel development? 02:31 < CoJaBo> iommu is hella buggy :/ 02:31 < spammcoin> i wonder what causes it 02:47 < devinmcelheran> Does anyone know what the name of the bcache module is? I've been told I might not have it loaded, but 'modprobe bcache' indicates no such module exists. 02:50 < tomty89> devinmcelheran: maybe it's because you haven't rebooted after kernel update (assuming Arch) 02:51 < devinmcelheran> tomty89, I'll give that a try. Thank you. I figured the kernel models would be there from before I updated. Good note. Giving it a go now. 02:53 < SlidingHorn> what's with everyone's idle stopping at once, lol 02:53 < devinmcelheran> tomty89, that was it, thank you. It also appears that the bcache module is automatically loaded (I was told it wasn't). 02:55 < tomty89> devinmcelheran: only if you instructed it with e.g. a file in /etc/modules-load.d 02:55 < Sonolin> maybe Redhat got off early? ;) 02:55 < tomty89> or some other way that triggers it 02:56 < devinmcelheran> tomty89, Yeah, I don't have anything in the /etc/modules-load.d/ folder, but it's still displaying the bcache0 device in /sys/block/. 02:58 < tomty89> devinmcelheran: well make-bcache triggers it, and there's a bcache initcpio hook that you may be using 02:59 < tomty89> and/or the MODULES array 02:59 < devinmcelheran> Probably that initcpio hook, because I've yet to run make-bcache since I booted. Thanks again for the help. 03:05 < BenderRodriguez> CoJaBo: i didn't know you were into linux too 03:05 < BenderRodriguez> this is crazy 03:05 < wr> to edit network card interface on CentosOS should i use nmtui? or other? 03:05 < BenderRodriguez> anyhow, Psi-Jack I need your help 03:05 < BenderRodriguez> i upgraded the kernel on my centos box now it won't boot 03:05 < BenderRodriguez> but I can boot on an older version of the kernel 03:05 < BenderRodriguez> so the question is, how do I remover the newer versino that won't boot and downgrade back 03:05 < BenderRodriguez> or at least, uninstall the newer kernel, remove the entry from grub, then set the previous one as default 03:06 < wr> BenderRodriguez, https://access.redhat.com/solutions/186763 03:06 < Psi-Jack> yum remove kernel-exact-version, rpm -ql | grep kernel for that. 03:06 < Psi-Jack> It is, however, odd that the newer kernel won't boot. 03:15 < alexey-nemovff> Zzz 03:15 < Psi-Jack> alexey-nemovff: Sleepy? 03:17 < alexey-nemovff> Psi-Jack: currently in the croup yes lol 03:17 < alexey-nemovff> group* 03:17 < Psi-Jack> Group 03:17 < Psi-Jack> ? 03:19 < alexey-nemovff> channel 03:19 < angerctl> AA group meeting - Archers Anonymous 03:19 < alexey-nemovff> xD 03:19 < me7zg3r> Greetings! I have some trouble on setting up my debian, could you help? 03:20 < me7zg3r> I've tried the #debian channel to almost no avail 03:20 < LjL> unheard of 03:20 * Psi-Jack executes angerctl 03:21 < SlidingHorn> me7zg3r, you didn't provide any relevant information in the debian channel, hence, no assistance. 03:22 < me7zg3r> I'm pretty sure I've tried my best to do so, anyway: I'm trying to set clonezilla iso and also a debian install iso in the grub menu, I've read on grub-imageboot and grml-rescueboot, haven't been able to get it to work. I'm using a machine with a single HDD (SSD if that has any relevance) 03:23 < Psi-Jack> Ahh loop iso booting ISO images. 03:23 < me7zg3r> Side note, for some reason debian installer could only use legacy boot and didn't allow me to EFI this time 03:23 * angerctl beeps and explodes 03:23 < Psi-Jack> me7zg3r: That is not a problem with Debian, likely. 03:24 < me7zg3r> I'm pretty sure about that, agree 03:24 < me7zg3r> I'm not blaming the other channel by any means, just stated i've been asking before, sorry if I bm 03:25 < Psi-Jack> me7zg3r: https://wiki.archlinux.org/index.php?title=Multiboot_USB_drive&oldid=479923 Look for the header for ZloneZilla 03:25 < Psi-Jack> CLone* 03:25 < Psi-Jack> me7zg3r: ... All I see is you blaming #other channel by all means. 03:26 < me7zg3r> Sorry if it looks like that, did not mean it 03:39 < erro_r73> hello 03:39 < me7zg3r> hi 03:40 < erro_r73> do you use wine-staging ? 03:40 < me7zg3r> I've used it couple of times, worked well 03:40 < erro_r73> i wonder if now with wine 3.0 it's possible to drop windows 03:41 < me7zg3r> it was always possible :) 03:41 < jim> could be, it's possible to drop windows and all programs that run in that env... but, that's up to you 03:42 < me7zg3r> guys, I know this sounds silly, yet could somebody help-guide me through a complex grub/lilo setup on my machine? 03:43 < jim> sure... are you sure you need lilo? 03:44 < erro_r73> me7zg3r: you use windows ? :D 03:44 < me7zg3r> not at all, I just start feeling grub doesn't want me to torture him anymore :D 03:44 < me7zg3r> erro_r73, I would rather have a gay marriag 03:44 < jim> lilo predates grub, probably was available at the start... it uses blocklists, which are not reliable 03:44 < erro_r73> jim: it will be not easy 03:44 < jim> oh ok 03:45 < me7zg3r> alright, it sounds like grub is the right direction 03:45 < me7zg3r> afaik gdisk shall be used in conjunction with grub 03:45 < jim> it's that grub can locate files by name 03:46 < erro_r73> me7zg3r: i see , windows haters 03:46 < me7zg3r> aight, understood;; is it a problem I can only use 1 physical HDD at this point? I can also switch it for a different one 03:46 < me7zg3r> erro_r73, nah, I'm okay with every housekeeper having a computer, I just don't want to go to policy editor to turn off winupdate windefense winmaintenance etc 03:46 < me7zg3r> if win7 was a neck collar, this is a chain 03:48 < erro_r73> i understand 03:49 < me7zg3r> thank you, my man 03:49 < me7zg3r> my human* 03:50 < me7zg3r> jim, is it a valid strategy to attempt the multiboot USB strategy from the ArchWiki? 03:56 < jim> can you install something called os-prober? 03:57 < me7zg3r> sure 03:57 < me7zg3r> is this topic appropriate for the channel? 03:58 < me7zg3r> got os-prober 03:59 < jim> did you also have os-prober before? 04:00 < me7zg3r> yes 04:00 < me7zg3r> debian stretch freshly installed 04:00 < jim> so that wouldn't change anything 04:00 < me7zg3r> I have couple of HDD's handy if it is needed, however I can only connect 1 to the machine at a time 04:01 < jim> what kind of machine are we talking about? 04:01 < strive> me7zg3r: get yourself an expansion card. 04:02 < me7zg3r> it's a notebook, I should get an ext-hdd case for usb connection 04:02 < strive> Ah. 04:03 < strive> me7zg3r: What other ports do you have on the laptop? 04:04 < me7zg3r> SDHC, VGA, Docking and something strange along with that 04:04 < me7zg3r> long story short Lenovo X240 i5-4xxxu 04:04 < me7zg3r> 8gb ram 04:05 < eraserpencil> which channel should i go to ask about LF and CR 04:05 < jim> line feed and carriage return 04:05 < eraserpencil> aye could I ask here? 04:06 < jim> I don't see why not... also, there is a bot, alis, that can assist you in looking for channels on the Freenode irc net. To start, /msg alis help 04:06 < eraserpencil> I tried that, couldnt think of a keyword to search for 04:06 < jim> ok, ask away 04:07 < stevendale_> Hi 04:07 < jim> me7zg3r, also could you describe your situation? it seems the guy who is using lilo with grub is a different person? 04:08 < sauvin> eraserpencil, what's your question? 04:09 < stevendale_> My SSD is SATA III... is there any way to tell what version of SATA my machine is running, there's no way it's SATA III on the machine 04:10 < jim> lspci -nn | grep -i sata 04:10 < jim> maybe 04:10 < ananke> stevendale_: dmesg | grep -i sata 04:11 < jim> that too 04:11 < eraserpencil> I dont know the length of data i'm looking for, so I thought of searching for \r, \n or \r\n . I read that different \r is to return to beginning of line, \n returns one line below without returning to beginning of line. Different OS uses different formats, is searching for "\r\n" the best method since it encompasses everything? 04:11 < me7zg3r> jim, thank you for your interest; i'm totally okay with only grub it's just that it hasn't been too nice to me and it got me to think of better alternatives. My situation is the following: I wish to _both_ use my HDD to multiboot on any machine (say live env, clonezilla, various installers and debuggers) and also use it generally as / root 04:11 < me7zg3r> it's a fast usb 3.0 ssd and I'm working as an IT guy occasionally 04:12 < stevendale_> ananke, jim: SATA max UDMA/133? 04:12 < me7zg3r> sorry I'm dumb it's a fast SATAIII ssd* 04:13 < stevendale_> cmd 0xf1f0 ctl 0x3f6 bmdma 0xf000 irq 14 04:13 < me7zg3r> stevendale_, if it's a desktop MoBo you can have it marked physically, mine have that like SATAII_1 etc. 04:13 < stevendale_> Ah 04:14 < stevendale_> It's SATA II 04:14 < stevendale_> Thanks me7zg3r 04:14 < me7zg3r> :3 04:15 < sauvin> eraserpencil, it's often helpful to know what OS the file you're searching through comes from. Can't remember who all uses what, some use \r for an End Of Line (EOL), others use \n alone, and DOS/Windows uses both together. 04:15 < eraserpencil> but if it's a machine, it's likely linux? 04:17 < jim> me7zg3r, debian does some interesting stuff when a kernel package is installed... it looks at your disks to see how / is mounted, and builds an initrd image and puts in it the device and filesystem drivers necessary to mount / 04:18 < eraserpencil> and erm, does anyone know the differences between cutecom, minicom and gtkterm? I get very different responses with the same command between the three 04:19 < me7zg3r> jim, otherwise speaking, an OS installation has the driver being dispatched to the disk at installtime via kernel watch, resulting in initrd? 04:20 < me7zg3r> how do you make an actual live~ linux installation? I've heard of those, never seen, I recall having mint with such a distro live iso 04:20 < jim> me7zg3r, later, when that system is booted, it loads the initrd image into ram, and runs a script which has also beem placed in the image, which loads the drivers... once that's done, / can be mounted, and usually it has all the other drivers, so if the other partitions need other drivers, they'd be there 04:21 < jim> me7zg3r, well the entire os install, does the same thing, when it gets to installing the kernel package 04:21 < puff`> Dammit, my disk is filing up again. And this time it's not ~/.cache/upstart/startxfce4.log 04:22 < me7zg3r> can you have all of those kernel-hookups active on a regular-basis-use machine for the event of plugging same HDD into a random machine? 04:24 < jim> I don't know, what I do know is there is a configuration parameter that specifies how many drivers to load (just what's needed to mount /, or most of the drvers, or all of the drivers) 04:24 < me7zg3r> yeah, I remember that 04:24 < me7zg3r> however, I'm pretty sure a live environment would be preferred over using the root 04:24 < me7zg3r> just as a menuentry option at boot time 04:25 < jim> you could ask on #debian how they get linux to boot a live image 04:26 < me7zg3r> oh, I'm only familiar with the netinst, you are correct! 04:26 < me7zg3r> my vision of this is as follows: adding countless .iso images to the grub-imageboot/grml-rescueboot folder and making a nice menuentry for each and every one of those, sidepoint: making sure that grub will be detectable by both x86 and x64, GPT or MBR 04:27 < me7zg3r> I'm very afraid of touching my current grub 'cause of countless reinstalls lately :( 04:28 < dannylee> ... 04:31 < KuroiKiri> fair people of #linux... does anyone have any experience with OpenELEC? Their chat is dead, and their forum is stale.. 04:34 < puff> Is there any easy way to figure out what files have grown a lot recently? 04:35 < LjL> KuroiKiri, why not just use LibreELEC? seems reasonably active to me 04:35 < KuroiKiri> yea, after non one responded here i started looking at it. 04:36 < KuroiKiri> thank you though. 04:36 < LjL> if your concept of "no one responded" involves 4 entire minutes, though, then i'm not sure LibreELEC will satisfy you either 04:38 < KuroiKiri> fair. i worded it wrong. i just meant i hit enter and continued looking elsewhere 04:41 < tremblerz> How do I forward port from interface "x" and port 8000 to loopback ip with port 8000? Right now with iptables setting it gets dropped as martian packet 04:43 < jim> puff, you can start with du -s /* 04:43 < jim> it 04:44 < gnulligan> hey so 04:44 < gnulligan> I'm not sure which distro to use... 04:44 < gnulligan> I want a secure system on a libreboot laptop 04:44 < xz> try gentoo 04:44 < gnulligan> ^ 04:45 < jim> err it will take awhile, then you can compare with previous values to see which dir grew 04:45 < gnulligan> I thought so xz until I found alpine 04:45 < gnulligan> I was going to make hardened gentoo with musl 04:45 < gnulligan> but, that's just re-making alpine 04:45 < xz> alpine uses busybox, I hate buxybox 04:45 < gnulligan> except alpine is super streamlined and so secure that docker is based on it 04:46 < gnulligan> well 04:46 < gnulligan> IDK yet about busybox 04:46 < gnulligan> I played around with alpine, and most everything is still doable with busybox versions 04:46 < xz> it's like instead of having 20 separate utils like ls / cat / others you have symlinks that run buxybox behind the scenes 04:46 < gnulligan> of coreutils 04:46 < Kremator> gnulligan, alpine is nto only very secure, it is so minimal it barely exist!!! 04:47 < gnulligan> Kremator: yes, but unironically 04:47 < gnulligan> I just want zsh and links2 on here lol 04:47 < xz> I hope it has some normal package manager 04:47 < xz> not opkg or other madness 04:47 < gnulligan> not much else is going to be on it 04:47 < Kremator> xz, yeah and it uses the same format as packages in adroid : .apk 04:47 < gnulligan> xz: that's the one thing I dont like 04:48 < gnulligan> its not .apk lol 04:48 < gnulligan> but the package manager happens to be called apk 04:48 < gnulligan> for no good reason 04:48 < gnulligan> and its binary-only 04:48 < Kremator> gnulligan, because they want to be mainstream 04:48 < Kremator> gnulligan, well, for the purpose alpine is used, it must be binary only 04:48 < gnulligan> and it doesn't let you filter by license like portage 04:49 < gnulligan> so those are points against alpine 04:49 < Kremator> gnulligan, are there people that really filters packages by license? 04:49 < gnulligan> Kremator: the same people who have libreboot laptops I think xD 04:50 < gnulligan> So anyway, the package manager and blobs make me dislike alpine 04:50 < Kremator> gnulligan, at that point i think would be easier to njust install a fucking BSD and be done with it 04:50 < gnulligan> Kremator: I thought about openbsd 04:50 < triceratux> gnulligan: theres always trisquel & parabola 04:50 < gnulligan> but, its security model sucks 04:50 < gnulligan> and I want a secure musl system, not just an arch rebrand 04:50 < Kremator> gnulligan, net BSD then? 04:51 < triceratux> voidlinux is musl 04:51 < gnulligan> well, IDK 04:51 < Kremator> dude, if you really want a secure system, buy second hand a mini ITX motherboard without an onboard netword adapter 04:51 < Kremator> then denstroy the PCI port with a screwdriver 04:51 < gnulligan> is NetBSD similar in security to open? 04:51 < Kremator> then put the whole unit inside a case with no usb ports 04:51 < suttin> Kremator: then install templeos 04:51 < Kremator> and then put that box inside a closet, with an armed guard 04:51 < Kremator> and there you go, ultimate security 04:52 < suttin> dont forget the fairaday cage 04:52 < gnulligan> Kremator: lol well half the reason why I'm doing this is to learn about security and hardening 04:52 < Kremator> suttin, exactly, good to see terry though about that and made it bootable from cd/dvd 04:52 < gnulligan> so being ridiculously secure is kind of the main point 04:52 < Kremator> gnulligan, 101 how to harden a *nix system : install a firewall (or a front end for iptables) and deny all incoming connections 04:53 < Kremator> and you are gucci 04:53 < suttin> and use hosts.deny 04:53 < gnulligan> like, musl lets me do toolchain hardening really well 04:53 < Kremator> and disable ssh auth by password, use only RSA keys 04:53 < gnulligan> Kremator: but the NSA mannn 04:53 < Kremator> or even better, dont ssh at all 04:53 < gnulligan> Now, here's another thing... I'm confused about grsec 04:53 < Kremator> gnulligan, NSA is an entity of the goverment, if they want to shut you down, they could do it legally in many other ways 04:54 < gnulligan> like, everybody is dropping grsec patches because they're unmaintained 04:54 < [R]> gnulligan: do you like hard things? 04:54 * albrecht runs before this gets bad ( [R] ) lol 04:54 < Kremator> gnulligan, grsec is a bunch of "enhacenment" to base install soft so they arent vulnerable to common vulnerabilities in programs made in C language : overflow attacks 04:54 < suttin> in all seriousness, you could find a hardening guide and read through that, something like https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/pdf/security_guide/Red_Hat_Enterprise_Linux-6-Security_Guide-en-US.pdf 04:54 < gnulligan> but meltdown was stopped by a year-old grsec ASLR add-on 04:55 < Kremator> [R], dont advice cocaine pls 04:55 < CompanionCube> for some more security (assuming you're firmware isn't compromised) build all the things into a signed EFISTUB kernel image with mandatory secure boot. 04:55 < gnulligan> CompanionCube: I already did with hyperbola linux 04:55 < gnulligan> but I want something more secure than arch 04:55 < albrecht> gnulligan: Build an LFS setup 04:56 < suttin> lol from that pdf "Do not attempt to exploit vulnerabilities on production systems. Doing so can have adverse effects on productivity and efficiency of your systems and network." 04:56 < gnulligan> oh god... not that crazy lol 04:56 < Kremator> gnulligan, dude, there so much you can do to secure a system, but at the end of the day the biggest weak pint in the chain is the same : the human behind that machine 04:56 < Kremator> you can put anal settings of SELinux, have the strict-est firewall rules, put that box behind 3phisical routers and stuff 04:56 < Kremator> but if the user is moron enough to execute any javascript from russian websites 04:56 < Kremator> you are screwed 04:57 < CompanionCube> they're using links2 04:57 < suttin> and thats why security is done in layers, you should have a proxy or firewall that prevents you from getting to the russian website, and something that prevents people from running java 04:57 < CompanionCube> i don't think they'll have that specific problem 04:57 < Kremator> CompanionCube, so? if they know how to use links, they know how to use wget, and you can use wget (wrongly) to download some virus 04:58 < gnulligan> Kremator: yeah, I'm aware of the user issue, but it's just me ricing my old thinkpad 04:58 < Kremator> suttin, if only modern consumer router do have a QoS that specifically filter "any stuff that not even google wants to index" out of your net 04:59 < gnulligan> I have three options I'm looking into right now... openbsd, hardened gentoo + musl, and alpine + linux-libre scripts 04:59 < CompanionCube> has anyone riced qubes yet 04:59 < Kremator> gnulligan, a thinkpad!? EVEN BETTER! it really appeal and mix with the aesthetics of the faraday's cage you should be buildinhg right NAO 05:00 < bls> so you're doing security by checklist and gut feeling? good stuff 05:00 < suttin> Kremator: my pi-hole might be decent enough to prevent me from getting owned by the kremlin 05:00 < gnulligan> openbsd is blob-free and secure, but I hate their "lets make stuff secure through being bug-free and if you install anything then RIP" 05:00 < gnulligan> Kremator: xD 05:00 < Kremator> bls, is there any other way of doing it? a couple of ppl i know in SEC branch half their stuff they do are because they "feel" it would be needed/necesary 05:01 < gnulligan> Gentoo can be made blob-free, hardened and musl-ified, but hardened-gentoo is up in the air right now 05:01 < suttin> I had a request to install AIDE on all of our servers at work to check to see if anything gets changed without a change record, from my security team 05:01 < gnulligan> because of grsec 05:01 < suttin> I asked if they had payroll to hire 10 people to go through the torrent of logs they were about to generate 05:01 < gnulligan> same with hardened alpine 05:02 < gnulligan> which is basically what I want ootb 05:02 < gnulligan> but has blobs 05:02 < gnulligan> maybe I could choose between openbsd and hardened gentoo + musl 05:02 < bls> Kremator: you evaluate threats and take steps to mitigate them. I rumors could float around that putting black tape over your camera will keep you safe, but that doesn't mean it's actually going to accomplish anything other than make you feel better 05:02 < gnulligan> but openbsd's FS is hell 05:03 < Kremator> dude really, its pretty nice you want to learn about SEC and stuff but, if you really want to protect from Govt and NSA, just buy a secondary box (cvould be something as small as a Pi) and stash all your dangerous stuff therer, and offcourse, phisically keep that unit offline 05:04 < bls> yes, openbsd's FS induces multiple levels of pain an suffering :| 05:04 < suttin> and get your own random number generator and make your own keys that 05:04 < Kremator> bls, yeah specially when phisically disconecting your camera is even better 05:04 < gnulligan> Kremator: yeah... I like the compartmentalization approach 05:04 < suttin> i wonder how mad our asset guys would get if I disconnected the webcam from my work laptop 05:04 < gnulligan> like, qubes OS sounds like they know what they're doing 05:04 < bls> Kremator: or even better, shut down the vectors that'd allow someone remote access to the camera in the first place 05:05 < Kremator> suttin, enough to send a email to your boss which therefore would send you a memo im sure 05:05 < suttin> bls: what about intel management engine? i bet that could take over the webcam 05:06 < suttin> and you can't turn that off 05:06 < Kremator> bls, i agree with oyur point but, for people that fears NSA and all the backdoor that are well established in any modern HW these days, you "could" think in a way of : "even i f i "patch" everything up they could still use theircheeky breaky backsdoor to get me!!" 05:06 < Kremator> bls, see? thinking like suttin is exactly was i meant of 05:07 < Kremator> what i meant for* 05:07 < bls> suttin: so you either throw your hands up in the air and act like getting owned is inevitable, or you don't buy HW with an IME in it 05:07 < suttin> oh, and if you are going with the pi thats not connected to the internet, you should remove the bluetooth tx 05:07 < [R]> + 05:07 < suttin> bls, is there anything that doesn't have IEM now adays? im pretty sure AMD has the same thing. ARM is probably safe for now 05:08 < Kremator> bls, AMD has their own equivalent (just way less researched since people thee days just says "lol AyyMD" ), ARM has propietary parts aswell (and you never know what chinesse companies put inside eletronics these days) and our last hope is RISC V 05:08 * albrecht waves to his FBI agent...gives them the finger 05:08 < suttin> also, I'm not that worried about getting owned. I don't read the source for all of the programs I install, and thats way easier to attack 05:08 < Kremator> suttin, im pretty sure ARM is as backdores as x86 and amd64 is 05:08 < gnulligan> suttin: put the ultrasparc t2 on a FPGA 05:08 < gnulligan> :^) 05:09 < bls> what's the point of crippling your system if you neither know why or continue to browse the web and run software you're not audinting 05:09 < gnulligan> (I unironically really wish someone sold ultrasparc fpga laptops though) 05:09 < Kremator> bls, that's like saying "what's the point of doing match and calculation if i do not know/understand all the very basic principles of it established and researched by mathematicians 200 years before me?" 05:10 < suttin> bls: I don't cripple my systems. I'm aware that security is a balance between usability and restriction 05:10 < Kremator> gnulligan, what you should wish is that somebody start mass selling nice RISC V based computers (even if only desktops) 05:10 < suttin> if I followed our harding docs at work to the T, I would have bricks for servers 05:10 < suttin> that would have networking disabled 05:11 < Kremator> suttin, bricks can be fun, imagine putting your bosse inside a dark room and putting only brick in the middle 05:11 < Kremator> bosses* 05:11 < suttin> I like my bosses :( 05:11 < Kremator> good 05:11 < suttin> other peoples bosses though, yes 05:11 < Kremator> because im my own boss, and i hate myself because of that 05:11 < gnulligan> Kremator: but, how do you really *know* that your shiny riscV desktop wasn't compromised at the uArch level? 05:11 < suttin> lopl 05:11 < gnulligan> you can't, without a microscope 05:12 < bls> suttin: right, you manage the risk and make compromises. you'd don't just do random things that might help because they've got something something security in their description 05:12 < gnulligan> and a loooooooot of free time 05:12 < gnulligan> with FPGAs you know what it's executing 05:12 < suttin> bls: I think we are on the same page 05:12 < Kremator> gnulligan, in theory, RISC is a completely open architecture, and im pretty awar ethere will be lots of more knowledgeable people than me thaty would find bitchy stuff 05:13 < Kremator> (notable exception to that logic of mine : systemD) 05:13 < suttin> The only way you could be sure your hardware isn't compromised is to fabricate your own silicon 05:13 < aaa_> D 05:13 < Kremator> big enough that not even knowledgeable people wants to audit it completely 05:13 < aaa_> D... 05:13 < aaa_> a big D 05:13 < Kremator> aaa_, the bigD 05:13 < [R]> gnulligan: what about fpgas with hard cores in them? 05:13 < suttin> i like systemd 05:13 < aaa_> a big systemd for you bro 05:13 < suttin> do I need to leave? 05:14 < aaa_> if under 18 05:14 < aaa_> yes 05:14 < suttin> ok im good 05:14 < Kremator> suttin, no, you are in your very right to smash back any people here that bash on systemd 05:14 < aaa_> lol 05:14 < Kremator> this is nto 2018 high schools, we are allowed to fight back 05:14 < suttin> init sucks, there i said it 05:14 < aaa_> you like systemD? 05:14 < suttin> and powershell 05:14 < Kremator> suttin, what about openC? 05:14 < suttin> so shoot me 05:14 < albrecht> oh lord. here we go again 05:14 < aaa_> lol 05:15 < aaa_> powers.. 05:15 < aaa_> powerS and systemD 05:16 < suttin> I'm looking into installing powercli on our script box at work 05:16 < aaa_> <3 05:16 < gnulligan> Kremator: my point was, if someone gives you an (((open))) riscV chip and their """verilog github""" 05:16 < gnulligan> how do you know the chip is really implementing *only* that verilog 05:16 < aaa_> this guy put his password as username 05:17 < suttin> I was going to change the default shell at work for apirl fools from bash to pwsh 05:17 < gnulligan> and not, say, open riscV core + ME 2.0 05:18 < aaa_> how can you do that 05:18 < aaa_> and what is your job? 05:18 < aaa_> me 2.0? 05:18 < gnulligan> how can you do that? 05:18 < suttin> do what? 05:18 < suttin> install powershell on linux? 05:18 < gnulligan> just tell the foundry to add a few extra transistors aaa_ 05:19 < aaa_> lol 05:19 < gnulligan> suttin: add a ME to riscV without the end user knowing 05:19 < aaa_> yes suttin 05:19 < aaa_> a ME? 05:19 < suttin> aaa_: https://github.com/PowerShell/PowerShell 05:19 < suttin> they even have packages for most distros 05:20 < aaa_> you clone from github and after 05:20 < aaa_> ah ok 05:20 < suttin> there are install instructions 05:20 < suttin> yeah you see em 05:20 < aaa_> how do you change the shell on linux 05:20 < ananke> aaa_: chsh 05:20 < suttin> either sssd default shell or /etc/passwd with chsh 05:21 < suttin> sssd.conf > override_shell = /bin/pwsh 05:21 < aaa_> lol ! 05:22 < aaa_> i got it now thank you 05:22 < suttin> the best part of pwsh it still sources PATH, so you can run non powershell commands 05:22 < aaa_> lol! 05:22 < suttin> it "just works" 05:22 < aaa_> higly productive worker everywhere 05:22 < aaa_> lol 05:23 < suttin> the upside is you should be able to install powershell commandlets like powercli 05:23 < Kremator> aaa_, you see, in countries outside 3rd world, if you are not productive, you get kicked after the first month 05:23 < suttin> and get sweet command line access that some devs havent given to linux for whatever reason 05:24 < wadadli> How do I unrar a rar that's in multiple files? 05:24 < suttin> and you don't have to write god awful python scripts to do it 05:24 < Kremator> aaa_, so you gotta keep being productive to the money keeps rolling 05:24 < ananke> wadadli: man unrar 05:24 < suttin> wadadli: so you have file.rar that contains subfile.rar? 05:24 < Kremator> wadadli, in ubuntu it is enough with only extracting the first part, unrar make the rest 05:24 < suttin> derp 05:25 < suttin> split rar 05:25 < aaa_> you cant be productive 3rd country because no education 05:25 < suttin> disregard me 05:25 < aaa_> i mean higly productive 05:25 < wadadli> more like this 05:25 < wadadli> https://paste.fedoraproject.org/paste/cmpqFQ4fn8bjgG47fnt~TA 05:25 < gnulligan> wait a second... SELinux doesn't work on musl??? 05:25 < gnulligan> is this true? 05:25 < Kremator> aaa_, no, well yes, but it is aswell that in 3rd world countries, those stupid goverment put stupid laws that makes almost impossible (or very expensive potherwise) to fire somebody 05:26 < Kremator> that's why public entities and state owned companies goes to chip in 3rd world, because it get filled with mediocre workers doing nothing or almost nothing 05:26 < Kremator> but anyways, politics is offtopic here so... what do you think guys hte nwest kernel version :) 05:26 < aaa_> kremator you are the guy who pm the last day ? i don't remember 05:26 < [R]> gnulligan: well selinux is a kernel thing so... 05:26 < Kremator> aaa_, yes 05:26 < ananke> Kremator: sensless ranting is offtopic in many places 05:27 < aaa_> ah ok ^^ 05:27 < wadadli> I tried to extract it but... 05:27 < wadadli> [michael@rendezvous Ex.Libris.The.New.York.Public.Library.2017.LiMiTED.DVDRip.x264-LPD]$ bsdtar -xf ex.libris-lpd.rar 05:27 < wadadli> ex.libris.the.new.york.public.library.limited.2017.dvdrip.x264-lpd.mkv: Truncated RAR file data 05:27 < wadadli> bsdtar: Error exit delayed from previous errors. 05:27 < suttin> wadadli: you should just unrar the first part 05:27 < Kremator> [R], SELinux was made by NSA... 05:27 < [R]> Kremator: OH nO! 05:27 < [R]> Kremator: NOT THE NSA 05:27 < aaa_> lol 05:27 < Kremator> xD 05:27 < aaa_> oh the NBA everywhere 05:27 < aaa_> nonono 05:27 < [R]> wadadli: oh no! sounds like your piracy is corrupt 05:27 < Kremator> ananke, what can i say, i have a soft tongue :) 05:27 < ananke> wadadli: 'bsdtar'? 05:27 < suttin> wadadli: unrar x .rar 05:28 < aaa_> NDA 05:28 < ananke> no need to help with warez 05:28 < aaa_> ND...A 05:28 < Kremator> NDA = the evil twin brother of NSA! 05:28 < aaa_> lol 05:28 < albrecht> > implying the NSA isn't evil 05:28 < ananke> ffs, take your stupid talk elsewhere 05:28 < aaa_> lol 05:28 < Kremator> albrecht, yeah, but since NDA is evil for them, that means NDA are cool :D 05:29 < albrecht> Kremator: is this like a double-negative? 05:29 < Kremator> ananke, we would do it, if there were a better topic atm 05:29 < wadadli> hrm, no unrar in my repos. 05:29 < ananke> Kremator: idiotic excuse. 05:29 < Kremator> albrecht, exactly, the negative (NDA) of the negative (NSA) is positive 05:29 < aaa_> +1 05:29 < Kremator> wadadli, which distro? 05:30 < aaa_> open.. 05:30 < Kremator> ananke, which xcuse is not idiotic? 05:30 < wadadli> feodra. 05:30 < ananke> Kremator: plenty. just not yours. 05:30 < Kremator> ananke, too bad 05:31 < Kremator> wadadli, rip, i dont anything about feodra 05:31 < ananke> no surprise there 05:31 < Kremator> dont know* 05:31 < Kremator> ananke, oh, so you know lot of feodra then? 05:32 < wadadli> unar did the trick 05:32 < wadadli> I wonder why bsdtar wasn't able to 05:32 < Kremator> it's pretty clear in it's name : BSDtar 05:33 < [R]> wadadli: because your piracy upsets it 05:33 < Kremator> and you are on linux 05:33 < ananke> gee, would it it be because it's name is 'bsdtar', and you were told to use 'unrar'? 05:33 < sauvin> Rar files are not necessarily pirated. 05:33 < ananke> s/it's/its 05:33 < [R]> sauvin: he showed us the filename... 05:33 < ananke> sauvin: this one clearly is 05:33 < suttin> no but Ex.Libris.The.New.York.Public.Library.2017.LiMiTED.DVDRip.x264-LPD probably is 05:34 < aaa_> https://i.imgflip.com/27rk6n.jpg 05:34 < Kremator> [R], ananke, sauvin, free software must work as good as in a hospital as in a school... as in my HDD full of warez 05:34 < wadadli> ananke: bsdtar can handle rar files. 05:34 < Kremator> becuase free software is free of endeavors 05:34 < dannylee> fdora 27 workstation let me open any thing...fedora might really be god??? 05:34 < aaa_> suttin what is your job 05:34 < ananke> wadadli: sure it can. tell us how that's working out for you 05:34 < sauvin> Kinda depends. "From the library of the New York Public Library" might have been something the NYPL might have packed up for this guy from one of its servers. Who knows? 05:34 < suttin> aaa_: linux admin 05:34 < [R]> sauvin: lol 05:34 < aaa_> sort of sysadmin? 05:35 < [R]> sauvin: yes... they did a limited dvd rip just for him... 05:35 < suttin> aaa_: yes 05:35 < aaa_> so cool 05:35 < sauvin> Depends on what the DVD is. Point is: don't assume rar files are *necessarily* pirated. 05:35 < ananke> ffs, now we have dannylee. this channel is reaching its boiling point of stupid 05:35 < suttin> http://www.imdb.com/title/tt6209282/ 05:35 < Kremator> [R], even better, it's has a very specific DRM use case that doesnt let it be extracted with bsdtar but only with unrar 05:35 < [R]> sauvin: no one assumed an rar was pirated... 05:35 < aaa_> where do you hang out except this irc 05:36 < Kremator> aaa_, i like to tihnk someday i would hang out of a piece of parachute cord in my roof, but i guess that's ot what you aske 05:36 < wadadli> ananke: the problem is that bsdtar does not seem to handle multi-volume archives in any format. 05:36 < aaa_> lol 05:37 < Kremator> wadadli, maybe is just a feature not implemented (because maybe the devs behind it didint think about it) 05:37 < ananke> if it wasn't pirated, you wouldn't have this problem 05:37 < learningc> Does DRM use fbdev to display on monitor? 05:37 < Kremator> ananke, again, fre software muts be "free of endeavors" 05:38 < Kremator> free*, must** 05:38 < ananke> Kremator: this has nothing to do with 'fre software' 05:39 < wadadli> ananke: well that's a silly thing to say 05:40 < ananke> yet here you are, asking how to unpack pirated media 05:40 < wadadli> I asked how to unpack a multi-volume archive. 05:41 < ananke> which just happened to be pirated media 05:41 * [R] gets some eye patches for everyone 05:41 < [R]> RRRRRRRRRRRR 05:42 < wadadli> ananke: ya? so, what is your point? I don't get it. 05:42 < ananke> said problem of 'unpacking multi-volume archive' wouldn't exist if it wasn't for this particular piece of data 05:42 < ananke> wadadli: point being, if you're going to pirate media, don't ask for support on ##linux 05:43 < wadadli> So multi-format archives were invented to archive pirated media, according to ananke 05:43 < wadadli> lol, what a pleb. 05:43 < ananke> wadadli: I like your strawman argument 05:44 < ananke> ragequit ftw 05:44 < [R]> haha 05:44 * [R] does voodoo on the strawman 05:44 < moog> :) 05:46 < Kremator> somebody got banned or somebody got unbanned? 05:46 < suttin> isnt +q mute? 05:46 < ananke> suttin: it is 05:49 < Kremator> suttin, idk, i just saw lots of rnadom (unparsed) characters on my client 05:50 < suttin> -qo means unmuted and unopped 05:50 < suttin> dont know what the $a means 05:52 < SlidingHorn> $a = by account name 05:52 < suttin> ah 05:59 < HebusLeTroll> Hello. I'm trying to define shell (zsh) hotkeys that use ctrl+arrow (and others). Bu I use urxvt and it uses different codes from xterm for ctrl+arrow (which is a problem within tmux sessions since tmux uses xterm key values). Is it possible to solve that issue ? 06:01 < HebusLeTroll> like an interface between the shell and the terminal emulator, so it can convert key identifier to correct key value. AFAIK terminfo is supposed to be that interface but it doesn't seemto define values for ctrl+arrow anyway 06:04 < suttin> looks like you can code your own hotkeys in .zshrc. https://stackoverflow.com/questions/836572/to-make-a-keyboard-shortcut-for-info-in-zsh 06:05 < suttin> don't know if that helps, I don't know a lot about zsh 06:06 < suttin> also #zsh seems to be a large channel on freenode HebusLeTroll 06:07 < HebusLeTroll> suttin, i'd have the same issue using sh , bash dash, etc 06:07 < suttin> oh I see, the problem is tmux 06:07 < HebusLeTroll> I mentionned zsh just in cas it implemented a special feature/extension to solve this issue 06:08 < pottsy> just joined channel, what issue are you having with tmux suttin? 06:09 < HebusLeTroll> suttin, or the lake of a standard for key values, every terminal emulator can use something different. 06:09 < suttin> HebusLeTroll is having an issue 06:10 < avis> hello 06:10 < HebusLeTroll> pottsy, I'd like to define shortcuts using ctrl+arrow key. They work in a normal rxvt terminal, but within tmux it doesn't (seems to be because tmux uses key value that differ from rxvt's) 06:12 < suttin> HebusLeTroll: I'm just throwing random stuff into google, maybe this? https://superuser.com/questions/360832/how-can-i-make-ctrlleft-right-keys-to-move-by-whole-word-in-tmux 06:12 < suttin> I don't know much about tmux 06:15 < noodlepie> Linux 4.16.0 stable here. Running Gentoo! 06:15 < spammcoin> woooooohoooooooo! 06:15 < noodlepie> use screen. screen is beter 06:15 < noodlepie> and emacs 06:15 < [R]> noodlepie: EXTREME 06:16 < HebusLeTroll> suttin, the issue is rxvt and tmux uses different key value : ctrl+right is ^[Oc in rxvt, and ^[[1;5c in tmux 06:16 < noodlepie> use screen! screen is better! (: 06:17 < HebusLeTroll> i need either an interface between shell and terminal emulator to standardize the value ; a way to force rxvtto use xterm value ; or a way to force tmux use rxvt's (or define every hotkeys using both values but that seems *stupid) 06:17 < noodlepie> 'Sup kiddies? 06:18 < storge> HebusLeTroll: more likely you set tmux.conf to a setting and you make a similar setting for rxvt in your .Xresources 06:18 < HebusLeTroll> noodlepie, yea screen works, but wanted to try tmux 06:18 < Evidlo> whats the most killer filesystem? 06:18 < Psi-Jack> Evidlo: ReiserFS 06:18 * storge applauds 06:18 < Evidlo> correct 06:19 < HebusLeTroll> storge, a setting ? you mean a keybinding ? 06:19 < storge> basically yes 06:19 < HebusLeTroll> storge, sry i dont understand 06:20 < storge> it's been a long time, i'm trying to remember the actual settings 06:21 < HebusLeTroll> storge, u mean define a each binding with both values ? That's what i'd like to avoid. I can't be the first one to encounter that issue. 06:21 < suttin> maybe the other settings on this page? https://wiki.archlinux.org/index.php/tmux#xterm-keys 06:21 < Evidlo> what do you guys think of these jeopardy questions? http://l.termbin.com/4azyo 06:22 < littlepython> this is the curl command I am going to use 06:22 < littlepython> curl http://www.gtlib.gatech.edu/pub/apache/zookeeper/zookeeper-3.4.10/zookeeper-3.4.10.tar.gz -o zookeeper-3.4.10.tar.gz 06:22 < Evidlo> My LUG is playing Jeopardy tomorrow 06:22 < Psi-Jack> HebusLeTroll: For future corrections, it's "you", not "u". And "sorry", not "sry" 06:22 < littlepython> how can I make sure that this is downloaded in /opt 06:22 < analogist> HebusLeTroll: what is your $TERM when you use tmux, is it the same as when you use rxvt 06:22 < Umeaboy> Hi! 06:22 < [R]> littlepython: give the fulll path to where you want to put it in the -o 06:22 < spammcoin> hiiiiI!! 06:22 < littlepython> sure [R] 06:23 < Umeaboy> Anybody hat knows how to tell wget to download a segmented video and merge it to one file? 06:23 < Umeaboy> I found the link to the video window, but it ends with .mpd. 06:23 < Psi-Jack> Umeaboy: wget doesn't do that. 06:23 < HebusLeTroll> analogist it's 'xtem' within rxvt and 'screen' within tmux. I also tryed to set it to rxvt (instead of xterm) before starting tmux, but it didn't change anything 06:23 < Umeaboy> Downloading it and renaming it to .mp4 doesn't do the trick. 06:24 < Umeaboy> There's a video on a website for nudists that I'd like to download and see. 06:24 < pottsy> You might have to rebind all in tmux.conf, I think tmux always interprets escapes with ANSI/ISO. Are you married to rxvt? 06:25 < Umeaboy> Psi-Jack: You have an idea? 06:25 < pottsy> what is your default-terminal/terminal overrides in tmux.conf? 06:25 < Psi-Jack> Umeaboy: Does youtube-dl not work with it? 06:26 < pottsy> :q! 06:26 < pottsy> ugh 06:27 < Umeaboy> Psi-Jack: Can we PM? 06:27 < HebusLeTroll> pottsy, i dont have any tmux.conf 06:28 < pottsy> .tmux.conf ? 06:32 < HebusLeTroll> pottsy, nope. Is there a way to read current value within tmux ? (i saw a 'set' command, but 'get'/'print' doesn't exist) 06:33 < jim> HebusLeTroll, https://tmuxcheatsheet.com/ (config https://github.com/tony/tmux-config/blob/master/.tmux.conf) <-- maybe this would be of some interest 06:33 < HebusLeTroll> in the meantime i ll create the file 06:35 < HebusLeTroll> not sure what to set it to tho: set -g default-terminal = .... 'rxvt' ? 06:36 < Umeaboy> Big thanks to Psi-Jack for the tip. That worked. 06:37 < Umeaboy> They should rename that program into something more universal. 06:37 < Umeaboy> uni-dl. 06:38 < pottsy> HebusLeTroll, I would have thought screen.rxvt-unicode-256color, but Ive tried a few things and no luck with ctrl-arrow binds 06:38 < HebusLeTroll> pottsy, tryed to set it to "screen" then "tmux" with no difference 06:38 < pottsy> had a crack sorry no dice 06:39 < HebusLeTroll> thanks for trying anyway 06:39 < pottsy> nps I've always used xterm 06:39 < HebusLeTroll> I think ill put the tmux experiment asside for now and go back with screen 06:40 < storge> i think i made it work a while back with tmux and terminator 06:42 < storge> i ended up running screen in rxvt-unicode-256 and running tmux in terminator 06:44 < luxio> Anyone know of programs that will attempt to read corrupt PNG files? 06:44 < luxio> or corrupt WMV files? 06:45 < Psi-Jack> Umeaboy: youtube-dl did it? 06:45 < Psi-Jack> heh 06:48 < Umeaboy> Psi-Jack: Yeah. It did. 06:49 < Umeaboy> Gotta go. 06:49 < Umeaboy> Take care. 06:50 < littlepython> how can I run this process in background 06:50 < littlepython> java `cat conf-quickstart/druid/historical/jvm.config | xargs` -cp "conf-quickstart/druid/_common:conf-quickstart/druid/historical:lib/*" io.druid.cli.Main server historical 06:50 < littlepython> can I just put & towards the end 06:51 < HebusLeTroll> storge, I think the issue is because I defined the hotkey within zshrc on the remote machine. I probably should define them in the Xressouce of every client machines 06:52 < [R]> littlepython: try it and see 06:53 < HebusLeTroll> (But I like to have my hotkey working whatever the machine i'm using so i'll probably wont) 06:53 < analogist> HebusLeTroll: https://unix.stackexchange.com/questions/57827/tmux-terminfo-problem-with-zsh-key-bindings 06:53 < analogist> HebusLeTroll: and https://unix.stackexchange.com/questions/139082/zsh-set-term-screen-256color-in-tmux-but-xterm-256color-without-tmux#139092 06:57 < CoJaBo> BenderRodriguez: wat 07:01 < HebusLeTroll> analogist, thanks. I probably won't redefine all my hotkeys just to use tmux however. I was expecting it to have an option to use other key value sets, or to depend on another tool for it. IMAO if 30 years all screen handle that issue without issue, and tmux dont, then tmux is flawed 07:02 < HebusLeTroll> again thanks for the links tho 07:04 < comet23> hello trolls 07:12 < aBound> Yella. :P 07:29 < draget> As Intel announced today, they will not release firmware updates for some c2d and c2q CPUs (e.g. Yorkfield). This is only about spectre variant 2 (branch target injection), correct? Variant 1 and meltdown are fixed/fixable via the kernel, correct? Or does the kernel also protect against spectre variant 2 on those older CPUs? 08:35 < Helpem> Hi 08:36 < Helpem> Am I identified ! 08:36 < Helpem> ? 08:36 < sauvin> Looks like it to me. 08:36 < SlidingHorn> I wouldn't know how to check 08:37 < sauvin> If you can speak in this channel, you're identified. 08:37 < SlidingHorn> oh..well then, I guess that works lol 08:40 < Jasparon> Hey 08:40 < Jasparon> What's a good YouTube Linux series for someone who has *some* programming knowledge? 08:41 < [R]> Jasparon: what? 08:42 < alexey-nemovff> [R]: hi 08:42 < albrecht> alexey-nemovff: wb systemd hater. 08:43 < Jasparon> [R]: A video series on YouTube for Linux of course? 08:43 < alexey-nemovff> i dislike systemd 08:43 < Helpem> I have got some issue 08:43 < [R]> Jasparon: what? 08:43 < sauvin> I always thought printed matter had far greater informational density than YouTube crap. 08:43 < Jasparon> [R]: Lo, what what? 08:44 < [R]> Jasparon: you ca't just ramble incoherently and expect people to know what you want 08:44 < sauvin> Frankly, if you can't *read*, you can't *code*. 08:44 < Jasparon> You can't just repeat a question with exactly the same syntax and expect me to know what you mean... :) 08:44 < Helpem> My root partition is around 7 gb consumed while the usage shown is 43 gb out of 50gb 08:44 < sauvin> Then let me rephrase what [R] said: "huh?" 08:45 < Jasparon> I really don't know how asking: "What's a good YouTube series on linux?" is 'rambling incoherently'? 08:45 < Jasparon> LMFAO 08:45 < [R]> Helpem: "consumed"? 08:45 < Jasparon> LOL That's a perfectly clear question. 08:45 < [R]> Jasparon: "on linux"? 08:45 < [R]> and what does a youtube series "on linux" have to do with programming? 08:45 < Jasparon> That's what you read! 08:45 < Helpem> Actual contents shown 08:45 < [R]> Helpem: meaning? 08:46 < edge_hay> Hi 08:46 < sauvin> My error. I thought you were after some coding because you'd mentioned having some programming background. 08:46 < genewitc1> if i had two linux compatible usb headsets, is there a command line way to route the mic spekaer combos between the two? 08:46 < Jasparon> [R]: LOL @ programming and scripting with C/C++ in Linux. 08:46 < Jasparon> Did you forget? 08:46 < genewitc1> so you could use them like pilots 08:46 < edge_hay> Is there a version of windows 10 that uses as little resources as xp? 08:46 < Jasparon> Apparently asking for a YouTube series yields no real beneficial answer? 08:46 < [R]> Jasparon: you want to script with C 08:46 < [R]> ? 08:46 < edge_hay> And yeah it hurts me to ask 08:46 < genewitc1> edge_hay: relatively speaking, yes 08:47 < sauvin> Jasparon, not from me, no, because I can't use YouTube for such things, being deaf and all. 08:47 < edge_hay> what do you mean relatively speaking? 08:47 < [R]> sauvin: atleast you're not deaf, dumb, and blind... 08:47 < Jasparon> sauvin: Are you really? 08:47 < [R]> sauvin: do you atleast play a mean pinball? 08:47 < genewitch> edge_hay: 1MB in 2003 vs the equivalent memory now 08:47 < Ben64> edge_hay: should be asking in ##windows 08:47 < genewitch> if you want xp resource usage, install XP 08:47 < edge_hay> I did Ben64 08:47 < Jasparon> So the point is no one has a YouTube playlist to offer. Is that correct? 08:47 < sauvin> o/~ got to be a trick o/~ 08:47 < Ben64> well, there you go 08:47 < Jasparon> People use YT all the time. 08:47 < edge_hay> this is why I hate windows genewitch 08:48 < Ben64> Jasparon: should maybe be more specific 08:48 < genewitch> edge_hay: i use gentoo, so i hate linux too 08:48 < sauvin> I think you'll find Windows knowledge in this channel a bit thin. 08:48 < genewitch> sauvin: well i can metaphorize 08:48 < edge_hay> Is the a version of arch linux that is as resource efficient as any linux distro from 2007? 08:48 < energizer> in gnome i have multiple monitors but they are all showing the same thing 08:48 < genewitch> edge_hay: yes 08:48 < Jasparon> Ben64: I can't get anymore specific, sorry. I'm obviously very new if I want a YouTube playlist on Linux... right? 08:48 < edge_hay> The latest? 08:49 < genewitch> edge_hay: all my stock gentoo installs use ~31MB of ram after boot 08:49 < Ben64> Jasparon: i try not to make assumptions 08:49 < energizer> i want them to show different stuff, extended display, instead of all mirroring. 08:49 < sauvin> Jasparon, in what area of "Linux" do you want playlists? 08:49 < energizer> how do i do this? 08:49 < genewitch> edge_hay: which may have been 2 or 3 MB less in 2007 08:49 < edge_hay> Oh 08:49 < edge_hay> What a huge difference 08:49 < genewitch> so 28 instead of 31 MB 08:49 < Jasparon> sauvin: I've heard good things about Ubuntu and CentOS. 08:49 < edge_hay> lmao I love linux 08:49 < Jasparon> Let's start there? 08:49 < genewitch> edge_hay: 10% tho 08:49 < sauvin> Those are distros, but doesn't give us any idea what you're looking for. 08:49 < edge_hay> genewitch better than 1000% 08:50 < Ben64> Jasparon: but what are you trying to do/learn 08:50 < genewitch> edge_hay: well, i expect windows to grow linearly in resource usage 08:50 < genewitch> i don't expect gentoo to 08:50 < Triffid_Hunter> Jasparon: perhaps because linux is a kernel, and as such doesn't translate to video very well 08:50 < sauvin> Linux is also a class of operating system. I get SO fried out at people who insist that "Linux" refers only to the kernel. 08:50 < genewitch> edge_hay: i also expect ubuntu to run like a pig on 2007 resource limitations. or 2003 limitations 08:50 < Triffid_Hunter> Jasparon: if you're after insight into various parts of the greater linux ecosystem, perhaps we could suggest something if you tell us what interests you 08:51 < Jasparon> Triffid_Hunter: I'm tired of making shitty apps that print text to the screen for college. I heard systems programming is not only fun, but I get to use formal logic. Please guide me further. :) 08:51 < Jasparon> I also love formal logic. :) 08:52 < sauvin> What kind of "systems programming" are you looking for, and what makes you think it doesn't involve just white text on a black background? 08:52 < Helpem> Df shows 43 gb usage while du shows 7gb of usage 08:53 < genewitch> Jasparon: functional programming? 08:53 < sauvin> Helpem, there's a difference between file size and the space a file actually occupies. 08:53 < Disconsented> Jasparon> Systems programming is very vague 08:53 < genewitch> yeah but not 60* 08:53 < Disconsented> Do you want to write a kernal and drivers? 08:53 < genewitch> 6* 08:53 < Disconsented> Or do you want to write components closers to grep? 08:53 < [R]> Helpem: reboot 08:53 < Jasparon> sauvin: I really don't know. One that involves fun analysis of logic, truth tables, shit like that. I think looking at white text would be way more fun that dicking around with a shitty professor who says my code "doesn't exact follow his rubric 100%"... you know, the nitpicky teachers :P 08:53 < genewitch> or sudo sync 08:54 < Jasparon> I want to move into a different type of programming. 08:54 < Helpem> Ok 08:54 < Jasparon> genewitch: Oh, I use C++ and Java for now. 08:54 < Disconsented> Being able to follow spec 100% is critical to any serious job 08:54 < Jasparon> Ok, I will remember that 08:55 < Triffid_Hunter> Jasparon: sounds like you want an arduino 08:55 < sauvin> Then you'll be pleased to note that Ubuntu has craploads of higher level languages. 08:55 < Jasparon> Triffid_Hunter: Hmm.. I will look into that. :) 08:55 < littlepython> how can we use tar -xzvf /tmp/file1.tar.gz to put the contents in /app directory? 08:55 < sauvin> Craploads of math-oriented languages, too. 08:55 < Helpem> Still same result 08:56 < Jasparon> sauvin: Ubuntu uses C++ for programming and OS tweaking right? 08:56 < [R]> littlepython: tar has a - 08:56 < [R]> -C option 08:56 < bls> Jasparon: more likely C and python 08:56 < littlepython> ok 08:56 < Jasparon> Ok right 08:56 < genewitch> Jasparon: http://prog21.dadgum.com/archives.html 08:56 < Helpem> Can mapper file create an issue as such 08:56 < genewitch> Jasparon: programmer blogging about programming, specifically functional programming 08:56 < Jasparon> Thanks genewitch 08:56 < Helpem> For root 08:57 < genewitch> Jasparon: it's super interesting 08:57 < sauvin> Jasparon, Ubuntu even out of the box uses a pile of different languages. 08:57 < Jasparon> genewitch: Is functional programming 'bad' considering all the OOP nuts? 08:57 < Jasparon> Oh intersting sauvin 08:57 < genewitch> Jasparon: C adherents think OOP nuts are weird 08:57 < bls> Jasparon: are dogs bad considering cats? 08:57 < Jasparon> Oh ok makes sense 08:57 < genewitch> assembly programmers think everyone is weird 08:58 < sauvin> Functional programming doesn't exclude OOP programming. 08:58 < Disconsented> We should rewrite C in Rust 08:58 < genewitch> Disconsented: you give me the LLVM to do it and i don't care 08:58 < sauvin> I've heard Rust's popularity is sinking, though. 08:58 < Helpem> Is there a way for accurate analysis 08:58 < Jasparon> Lol. So if I want to program Ubuntu in some way, I need to learn my pointers pretty well, right? 08:58 < Disconsented> sauvin> Thats a new one 08:58 < genewitch> Jasparon: no 08:58 < Jasparon> Oh. 08:59 < Triffid_Hunter> Jasparon: "program ubuntu" - what does that even mean? 08:59 < genewitch> only if you want to work on the kernel or drivers, or need something that works with realtime kernels 08:59 < genewitch> which literally no one has 08:59 < sauvin> Jasparon, if you want to write kernel-level code, you probably need to learn both C and assembly. Otherwise, you're free to use any of hundreds of different languages, probably. 08:59 < Jasparon> Triffid_Hunter: Uhh... I heard ubuntu-people change the OS to fit their needs? 08:59 < genewitch> i mean i've gotten RTOS to work 2 times 08:59 < Triffid_Hunter> Jasparon: if you want to write programs that run in linux, there's a zillion frameworks in almost any language you can think of that'll work just fine 08:59 < Helpem> I want to know where is the space being consumed? 08:59 < Jasparon> Oh that's neat 08:59 < genewitch> if you just want to fiddle with ubuntu settings that's not requiring programming skills 09:00 < genewitch> basic text editing 09:00 < Triffid_Hunter> Jasparon: nah ubuntu is quite resistant to that, better off with gentoo or maybe arch if you want supreme customisability 09:00 < Helpem> Some unknown file type ? 09:00 < Jasparon> genewitch: Oh :) 09:00 < sauvin> Jasparon, in what languages do you already have some background? 09:00 < Jasparon> sauvin: Sadly just Windows 09:00 < sauvin> That's not a language. 09:00 < Triffid_Hunter> Jasparon: that's not a language. that's an operating system 09:00 < genewitch> Jasparon: yeah, at most just editing some configuration file 09:00 < Jasparon> I misread :) 09:00 < genewitch> on the desktop 09:00 < Jasparon> I have some C++ and some Java. 09:01 < sauvin> Got you covered about a bazillion ways from Sunday just with that much alone. 09:01 < genewitch> Jasparon: won't need either to just make ubuntu look and feel like you want 09:01 < Triffid_Hunter> Jasparon: you can write apps in either of those that'll run on linux.. the QT toolkit uses C++ 09:01 < Jasparon> Oh that's pretty neat 09:01 < Jasparon> Also Ubuntu's way of downloading files is cool right from the terminal :) 09:02 < genewitch> apt search chromium 09:02 < genewitch> apt install chromium -y 09:02 < sauvin> Jasparon, install Ubuntu if your choices are between Ubuntu and Centos. Ubuntu's repos are far larger, and you'll have immediate prepackaged access to bargeloads of different languages. 09:02 < [R]> sauvin: you like large things? 09:02 < sauvin> Install Ubuntu, install a few interesting languages, and start playing with them. 09:02 < genewitch> ubuntu server is great 09:02 < genewitch> like 16.04.03 09:02 < genewitch> that's the one to get 09:03 < sauvin> It is until 18.04.02 comes out. :D 09:03 < genewitch> there should be a new LTS this month 09:03 < genewitch> right but who knows 09:03 < Jasparon> sauvin: Oh that is neat. :) If I want to delve into tweaking let's say *some* version of Linux... what version should I you know... 'use C and assembly' to tweak? 09:03 < genewitch> their server stuff has been good since 08.04 09:04 < genewitch> Jasparon: gentoo and arch use source files 09:04 < Triffid_Hunter> Jasparon: "ubuntu's way of downloading files" - again, no idea what you mean by that.. "ubuntu" doesn't download files, individual programs do. some are terminal, some are graphical.. 09:04 < genewitch> there's other ones that use source files but gentoo and arch have the best support on IRC 09:04 < sauvin> Any. Advice: install Ubuntu, and then install VirtualBox, and then install Ubuntu into VirtualBox. Reason: "tweaking" in C can be dangerous, and if you lose a VirtualBox VM, you won't cry, especially if you made copies of your VM before you trashed it. :> 09:04 < energizer> I have multiple monitors and I was using extended display, so I can drag windows from one monitor to the next. 09:04 < energizer> I accidentally pressed some keyboard shortcut and now I have mirrored displays. I want to go back to extended. 09:04 < energizer> How can I fix this? gnome, ubuntu 17.10 09:05 < [R]> energizer: you pressed "some key"... 09:05 < Triffid_Hunter> energizer: there's probably some graphical gnome thing that'll do the job, but at worst you could use xrandr on a console 09:05 < Jasparon> Triffid_Hunter: Misconception, sorry. i thought Ubuntu itself did, but programs within Ubuntu do? Like you mean "Download Manager #1"? lol 09:05 < genewitch> energizer: probably faster to ask in ubuntu as it's probably a gnome specific key combo 09:05 < energizer> [R]: that's correct 09:05 < genewitch> it wouldn't apply in the general case 09:05 < Jasparon> Ok thanks friends :) 09:05 < [R]> energizer: well if you dont know what you did... how do you epxect anyone to know what to do to undo it? 09:05 < Jasparon> I gotta get my terminology down 09:05 < Triffid_Hunter> Jasparon: no..? if you download something from firefox, firefox handles it. if you ask apt-get to install stuff, apt-get handles it. if you use synaptics, synaptics handles it... 09:05 < genewitch> [R]: maybe someone knows the magic keystrokes to unmirror? 09:06 < genewitch> offhand 09:06 < Jasparon> Oh good info :) 09:06 < [R]> genewitch: well that would dependo nw hat you did to break it 09:06 < genewitch> like windows D closes all windows in Windows© 09:06 < Triffid_Hunter> genewitch: closes? nah, just minimizes 09:06 < genewitch> my point 09:06 < Jasparon> Triffid_Hunter: When my friends used apt-get, I always assumed "It must be the OS itself downloading shit" :P 09:06 < energizer> [R]: im guessing you can answer that if you put your mind to it. i sure would appreciate a more welcoming response tho :) 09:07 < [R]> energizer: well i mean, we cna just randomly start guessing... 09:07 < [R]> energizer: try hitting ctrl a 09:07 < [R]> energizer: doesnt work?... ok, what about ctrl b? 09:07 < Jasparon> :) 09:07 < Jasparon> Thanks friends 09:07 < energizer> [R]: oh get off it. 09:07 < genewitch> Jasparon: apt-get is a wrapper for apititude/synaptic which is the package manager 09:07 < Jasparon> You are all helpful 09:07 < Jasparon> Oh, gotcha 09:07 < genewitch> Jasparon: it's like the app store, ther eis no analog on windows 09:07 < Jasparon> Oh good 09:07 < [R]> genewitch: no... on SOOOOO many levels 09:07 < Jasparon> :( 09:07 < Jasparon> And thus the argument begins :P 09:08 < [R]> genewitch: lets start with apt-get has nothing to d owith aptitude and synaptic... 09:08 < genewitch> trolls 09:08 < [R]> and we'll end with aptitude and synaptic have nothing to do wit heing "The package manager" 09:08 < genewitch> [R]: whatever. apt does what synaptic and aptitude does 09:08 < [R]> lol 09:08 < genewitch> FROM A USERS PERSPECTIVE 09:09 < [R]> please dont say ridiuclosuly stupid things as fact when you have no clue what you are talking about... 09:09 < [R]> it conuses people who dont know 09:09 < [R]> confuses* 09:10 < genewitch> also [R] https://distrowatch.com/dwres.php?resource=package-management shows apt as package management for ubuntu 09:10 < genewitch> so uh 09:10 < genewitch> i mean, take it up with them 09:10 < [R]> apt is a frontend to dpkg 09:11 < [R]> and that is not what you said at all... 09:11 < genewitch> [R]: so apt has nothing to do with package management? 09:11 < genewitch> my bad 09:11 < [R]> when did i ever say that? 09:12 < genewitch> when did i ever say anything you put in my mouth 09:12 < [R]> i just quoted exatly wht you said... 09:12 < genewitch> The kid was asking the wrong questions 09:12 < [R]> you said apt-get was a wrapper for aptitude 09:12 < [R]> you said aptitude was "the package manager" 09:12 < genewitch> and 09:13 < [R]> then you quoted an article that said somethign comeptleyl different 09:13 < [R]> and acted liek that is what you said 09:13 < genewitch> you're putting it in quotes like you understood what i meant, but you're trying to call me out for the semantics 09:13 < genewitch> that's ridiculous. 09:13 < [R]> lol 09:13 < genewitch> [R]: from my cite: Package Management Cheatsheet 09:13 < sadbox> what the heck did I walk in on 09:13 < genewitch> The first table lists package management tasks in the four most popular distribution groups - Debian (including Ubuntu, 09:14 < nothos> sadbox Thinking the same thing... 09:14 < hexnewbie> genewitch: It's kind of difficult to understand what you mean when what you said in the first place is nonsensical :) 09:14 < genewitch> Managing software <90% apt commands> 09:14 < tuckr> Good morning! 09:14 < genewitch> hexnewbie: did you see what he was asking? 09:14 < genewitch> he was wondering why he should use linux 09:14 < [R]> he should use linux because apt-get is a wrapper for aptitude? 09:15 < tuckr> Or afternoon, or night, depending on your location. 09:15 < genewitch> he only heard random news sources talking about it and a few snippets about what linux was and how it worked 09:15 < TJ-> tuckr: morning, please let it only be morning! 09:15 < genewitch> [R]: he said he assumed apt-get was "the OS downloading shit" 09:16 < genewitch> [R]: i said that apt get was akin to the app store, there is no analog on windows 09:16 < [R]> it seems like you're changing your story every time you say something... lo 09:16 < [R]> l 09:16 < genewitch> scroll up 09:16 < nothos> Let's all hug and make up? :D 09:16 < genewitch> troll 09:16 < hexnewbie> genewitch: Since apt-get is arguably part of the OS, that would be a correct assumption 09:16 < genewitch> hexnewbie: and that is what i was explaining 09:16 < nothos> https://drieskewrites.files.wordpress.com/2014/03/140320.png 09:16 < genewitch> other people in here were liek "lol no the OS doesn't download anything lmao" 09:17 < genewitch> or however they put it in uber nerd speak 09:17 < genewitch> the average joe plumber doesn't know an OS from the SS 09:17 < junka> no discrimination against plumbers pls 09:18 < nothos> genewitch Linux isn't an OS, it's a kernel. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. 09:18 < genewitch> cryptic answers to noob questions, as high and mighty as they make us feel, doesn't really garner any good will 09:18 < junka> nothos; horrible copy paste 09:18 < genewitch> nothos: I'm not fighting that battle 09:18 < hexnewbie> genewitch: Providing opinion is one thing, but straight out misinformation (apt-get being a frontend to aptitude/synaptic) is quite another. 09:18 < genewitch> nothos: you should join #gnu/linux 09:19 < genewitch> hexnewbie: i respectfully disagree 09:19 < sauvin> nothos, this channel is about GNU/Linux, colloquially known as "Linux". You're not going to get much traction arguing that linux is just a kernel here. 09:19 < genewitch> you can type some of those words into a terminal and get output 09:19 < nothos> sauvin Don't worry I'm not secretly rms :D 09:19 < [R]> sauvin: i like to pop kernels 09:19 < genewitch> a bunch of which, mainly, does the same thing 09:19 < genewitch> install packages 09:19 < sauvin> Doesn't matter. I'll get testy if you confuse the n00bs. 09:20 < genewitch> linux blows as much as any other OS 09:20 < junka> nothos; keep your delusions to yourself 09:20 < genewitch> it just blows on many more systems 09:21 < sadbox> genewitch: You really don't see how telling people incorrect things, especially early in their path to understanding linux, could be harmful? 09:21 < hexnewbie> genewitch: Which has nothing to do with the misinformation you provided 09:21 < genewitch> sadbox: apt-get, aptitude and synaptic all interaface with the package manager. 09:21 < genewitch> I was speaking to a specific question 09:22 < genewitch> which wasn't answerable in semantics like dpkg and .deb files 09:22 < junka> your answers are horrible 09:22 < genewitch> What distro do you use 09:23 < genewitch> is it a handmade source based distro 09:23 < genewitch> i bet you say it is 09:23 < genewitch> I'll stage 1 tarball all over this channel 09:23 < junka> I use JustinBieberOS 09:24 < sadbox> genewitch: You can always opt for like, not saying things that you don't know 09:24 < genewitch> is that based on zappaOS 09:24 < sadbox> or talk about package managment in general 09:24 < sadbox> randomly making up a fact doesn't really make the person any more informed 09:24 < sadbox> nor does it answer their question 09:24 < genewitch> sadbox: you could stop trying to denigrate me for literally 10 times longer than the original interaction 09:24 < sadbox> genewitch: Just trying to make the world a little bit of a better place 09:25 < genewitch> i know, make a website on IIS that has a blink tag that says "genewitch is a poopyhead" 09:25 < genewitch> and tag me on facebook 09:25 < junka> someone cal 911, this kid got lost 09:25 < sauvin> Can it. 09:25 < genewitch> he was asking if he could edit ubuntu in java 09:26 < genewitch> so 09:26 < genewitch> i thought i had some leeway 09:26 < genewitch> you can't fix that by saying "oh you mean dpkg? dpkg isn't the OS, it's ..." 09:27 < sadbox> genewitch: I would hope that when someone asks you questions and they are obviously new you wouldn't take advantage of the situation to... 09:27 < sadbox> sound smart? 09:27 < sadbox> make shit up? 09:27 < sadbox> I don't really know 09:27 < genewitch> sadbox: it's apparent 09:27 < junka> use very much technical words like 'dpkg' ? 09:27 < genewitch> i didn't, and that's my point 09:28 < genewitch> he said "OS" and "apt-get" 09:28 < sauvin> genewitch, sadbox, can it or move it to another channel. If you don't, I'll help with the transition. 09:28 < genewitch> aye 09:28 < junka> yay 09:28 < sadbox> okie dokie artichokie 09:29 < genewitch> if i have two identical USB headsets, is there a command line to make them talk to eachother 09:30 < genewitch> we work in super noisy rooms and i have two logitech USB things that work with linux. i want to use them like pilots do 09:30 < sadbox> genewitch: both attacked to the same computer? 09:31 < sadbox> attached** 09:31 < genewitch> sadbox: yeah like an rpi 09:31 < genewitch> there's probably a way to do it with a named pipe 09:31 < sadbox> It has been a loooot of years since I messed around w/ linux audio but I used to do similar setups using jack 09:31 < genewitch> but i figured this is a solved problem 09:31 < sadbox> maybe worth digging in to the linux audio / daw side of stuff 09:31 < SlidingHorn> genewitch, which distro do y'all run? 09:32 < genewitch> SlidingHorn: lots. whatever distro does what i need done at the time 09:32 < genewitch> redhat ubuntu debian gentoo centos 09:32 < SlidingHorn> genewitch, might be overkill, but you could set up a mumble server or something 09:32 < SlidingHorn> runs on any of those 09:32 < genewitch> SlidingHorn: on the same host? 09:33 < genewitch> it'd be two clients, that's weird 09:33 < genewitch> it might work 09:33 < genewitch> i figured since the mic data is probably a /dev thing, you could pipe it to the /dev of the other headphones 09:33 < genewitch> and vica verca 09:34 * sadbox shills for plan9 09:34 < SlidingHorn> genewitch, that'd be beyond my capacity of understanding lol 09:34 < genewitch> does plan9 do that? 09:35 < genewitch> i have a plan9 iso 09:35 < nickb> I'm trying to reroute http requests to a remote server to local one using ip tables, I add a rule but when I run iptables -S I don't see the rule present.. What can be the problem? 09:35 < genewitch> i don't know why 09:35 < genewitch> isn't there a flush or refresh command with iptables? 09:35 < genewitch> like service iptables reload 09:36 < nickb> thats a good question 09:36 < genewitch> i mean iptables restart should drop everything and bring all new rules back up 09:36 < genewitch> assuming the rules are good 09:36 < sadbox> genewitch: yeah, more or less, /dev/audio is your audio device 09:36 < nothos> nickb Are you just writing them to the iptables file? 09:37 < nothos> Or on the fly? 09:37 < sadbox> playing a mp3 is more or less "your_mp3_player file.mp3 > /dev/audio" 09:37 < nickb> no, I run iptables -t nat -I PREROUTING ... 09:37 < nothos> Well that's a bit of a sod 09:38 < nothos> nickb Just be sure to do an iptables save before restarting service. We've all been there :D 09:39 < genewitch> nothos: does iptables immediately apply rules? 09:39 < genewitch> i can't remember i thought you had to do rules rules rules then commit 09:39 < sadbox> genewitch: http://man2.aiju.de/1/audio 09:39 < sadbox> v wonderful 09:39 < genewitch> but i never liked per machine iptables 09:40 < sadbox> genewitch: iptables-the-command will apply immediately, you have to have some layer of persistance tho if you want them to stick around 09:40 < nothos> genewitch It does if you do the rules via CLI 09:40 < nothos> But not if you just pop them into the file 09:40 < nothos> Hitting enter a bit too soon and locking yourself on 22 09:40 < nickb> well I added them with CLI and they do not work nor can I see them 09:41 < nothos> Sad memories 09:41 < sadbox> genewitch: Depends on how the specific distro manages it, some of them will "save" the current state, some of them will have you write to a file, then you "apply" that file 09:41 < genewitch> yeah 09:41 < genewitch> his thing should list with his command but it isn't 09:41 < nothos> Apply immediately is the rhel behaviour at least 09:42 < kurahaupo> nickb: what does iptables-save report? 09:42 < genewitch> i think all EL 09:42 < nickb> kurahaupo: nothing 09:42 < nickb> oh wait it does 09:42 < kurahaupo> nickb: sudo iptables-save ? 09:42 < nickb> kurahaupo: yeah that was the case. It reported the rule I've added 09:43 < kurahaupo> It either works or errors; there's no middle option 09:43 < nickb> so.. after save I have to reload still? 09:44 < kurahaupo> iptables-save just dumps the kernel tables to stdout; redirect into a file of you want to save 09:45 < kurahaupo> Anything in the output of iptables-save is already active 09:46 < kurahaupo> In short no, you don't need to reload 09:46 < nickb> well it doesn't work or my rules are garbage then :) Will keep digging I guess 09:47 < kurahaupo> Care to iptables-save | netcat termbin.com 9999 # paste the resulting URL here 09:48 < kurahaupo> nickb: remember that chains are sequences of condition+action; 09:48 < kurahaupo> The order matters (a lot) 09:50 < nickb> I hope dpaste is ok https://dpaste.de/RgNP 09:55 < Zajt> Hi! I am installing one thing and get this error when I run make: https://pastebin.com/PXKYcC1X - don't know how to solve it though. Anyone here have any thought? 09:56 < nothos> Zajt you're missing libraries 09:57 < Zajt> I did: sudo apt-get install gcc-multilib and sudo apt-get install ia32-libs-dev 09:57 < Zajt> but still same problem 09:57 < Zajt> tried the one here https://stackoverflow.com/questions/16927885/usr-bin-ld-skipping-incompatible-foo-so-when-searching-for-foo 09:57 < nothos> Zajt I assume the machine you're building on is 64 bit? 09:58 < Zajt> yes 64 bit VM nothos 09:58 < nothos> I'm also assuming there isn't a 64 bit version so you can avoid all sorts of multiarch headaches? :D 09:59 < Zajt> nope I don't have any 32 bit VM as well :/ 10:00 < nothos> Wait, libstand 10:01 < nothos> Zajt What is it you're trying to build? 10:01 < Zajt> Following this guide: http://www.engr.uconn.edu/~tehrani/teaching/tcs/lab01.pdf to try to make a bootable USB 10:02 < Zajt> I fail on the last make there after changing to usb folder 10:02 < Zajt> the earlier make worked after changing -march=i386 to -m32, but this last one fails with the errors at the pastebin 10:03 < nothos> Zajt Well I just tried building it for funsies to see what's up 10:03 < nothos> cc1: error: CPU you selected does not support x86-64 instruction set 10:03 < nothos> So, that's nice? :D 10:03 < Zajt> yeah I got that too first time 10:03 < Zajt> then I changed to -m32 in the Makefile and it worked for the first 2 make there 10:04 < nothos> Sounds like you may end up with a spot of annoyance 10:04 < Zajt> yeah feels like it.. 10:04 < nothos> Zajt no chance of running a local vm quickly to build? 10:06 < kurahaupo> nickb: -j MASQUERADE should be restricted to your ori 10:06 < Zajt> i could try make a new VM with 32 bit 10:06 < kurahaupo> … restricted to your outgoing Internet interface; you don't want to MASQUERADE everything 10:08 < nickb> well no rules apply anyway so that doesn't matter at this point :) 10:08 < nickb> I dumped iptables-save to a file and tried iptables-apply it; still nothing 10:09 < hanshenrik> when i do export CFLAGS='-march=native'; gcc -Q --help=target | grep -iE "arch|mtune" 10:09 < hanshenrik> it says target=x86-64 10:09 < hanshenrik> but when i do gcc -march=native -Q --help=target | grep -iE "arch|mtune" 10:09 < hanshenrik> it says target=broadwell 10:09 < hanshenrik> why isn't export CFLAGS working? (apparently) 10:10 < kurahaupo> nickb: if you're intending it as the complement to -j DNAT --to localhost then use SNAT instead of MASQUERADE, and again, qualify it with -o lo ! -s 127.0.0.0/8 10:10 < kurahaupo> hanshenrik: CFLAGS is a feature of Make rather than of Gcc 10:11 < hanshenrik> kurahaupo, oh, that explains it, thanks 10:11 < gryffus> What chances do i have on LKML to get support about SLE 11 SP4 kernel ( 3.0.101 ) and its memory management? 10:12 < hanshenrik> gryffus, dunno, but isn't there SLE-dedicated communities? pretty sure there are 10:13 < peetaur2> gryffus: ask in #suse 10:13 < gryffus> hanshenrik: well, i tried opensuse-kernel mailing list, but without any success so far. There are opensuse communities, but i don't know any SLE related... 10:14 < gryffus> peetaur2: i got " the kernel list will reply: not our kernel / kernel too old" and "the opensuse list will reply: contact your SLE support/salesman :p" replies there 10:14 < gryffus> FYI, this is my problem: https://lists.opensuse.org/opensuse-kernel/2018-04/msg00015.html 10:32 < rendar> ls: reading directory '.': Input/output error -- is my hdd broken? 10:35 < jelly> rendar: get out of that directory and get back 10:35 < rendar> jelly: i unmounted and mounted again the hdd, now it seems to work -- why i got that? 10:36 < jelly> hard to say without more info 10:36 < jelly> look at dmesg to see if there were any errors 10:37 < jelly> if it's a removable device, it might have disconnected 10:43 < Dysanix> Hey everyone. I made a very stupid mistake when executing commands and now Ubuntu won't boot anymore.. 10:45 < Dysanix> I downloaded Skype, extracted the folder and saw it didn't come with an installer. It was just a "usr" folder and inside a "bin" and "share" folder with Skype files. I figured I would move everything into the real /usr folder with these commands: 10:45 < Dysanix> https://i.imgur.com/16qgYRi_d.jpg?maxwidth=640&shape=thumb&fidelity=medium 10:46 < Dysanix> Now I cant boot anymore 10:46 < Dysanix> Can I revert this 10:46 < Dagmar> You can reinstall 10:46 < Dysanix> Nice solution man 10:46 < Dysanix> I would lose everything 10:46 < Dagmar> Nope. 10:46 < Dagmar> If you wipe the hard drive you'll lose everything 10:46 < Dysanix> wut 10:47 < IamTrying> I have Linux RPI's. Behind firewall's/NAT. As a result basic SSH do not work. How to have in those boxes still have remote access? 10:47 < Dagmar> If you just reinstall Ubuntu on top of the existing install without formatting anything it'll be fine 10:47 < Dysanix> If you reinstall Ubuntu it will delete my documents right 10:47 < azarus> IamTrying: port forwarding 10:48 < IamTrying> azarus: i do not manage port forwarding of that Enterprise. is there something like TeamViewer, LogMeIn, RemotePC which runs in my linux and allow me remote access from anywhere to the terminal? 10:48 < Ben64> reverse tunnel 10:49 < MrElendig> ssh 10:50 < IamTrying> Thank you i will search "reverse tunnel ssh" hope there is a good doc for RPI. 10:50 < MrElendig> nothing rpi spesific about it at all 10:51 < MrElendig> you could run ssh on a different port btw 10:51 < MrElendig> I would talk to the network admin though 10:51 < IamTrying> https://unix.stackexchange.com/a/46271/11085 - i found this MrElendig, but is it Encrypted like RemotePC, LogMein when i will do SSH? 10:51 < IamTrying> OK - MrElendig thank you 10:51 < sadbox> MrElendig: maybe they're behind a CGNAT 10:54 < sadbox> MrElendig: also FWIW reverse tunneling kinda requires a thing to reverse tunnel -to- from RPI in this case... maybe teamviewer isn't a horrible option :P 10:54 < supernovah> how can I set my locale to POSIX permanently? 10:54 < MrElendig> I never suggested reverse tunnel though 10:54 < MrElendig> supernovah: don't 10:54 < sadbox> oh, someone else 10:54 < MrElendig> use something.utf8 10:54 < supernovah> MrElendig: the current locale is causing so many rediculous problems, its cost me a week of work so far just to get sed and bash regex to work 10:55 < MrElendig> there are no valid reason to not use utf8 10:55 < MrElendig> supernovah: not using utf8 can cause that yes 10:55 < MrElendig> so use utf8 10:55 < supernovah> its currently utf-8 10:55 < supernovah> Look I want to change itm how do I do it 10:55 < MrElendig> doubt the locale is the issue though, unless the locale is broken 10:55 < MrElendig> aga not built, or wrongly configured 10:55 < supernovah> this machine is virtual and has one purpose, build some code 10:55 < MrElendig> aka* 10:56 < MrElendig> supernovah: and you want utf8 else shit will break when you move the binaries to the machine it is supposed to run on 10:56 < MrElendig> what are the actual problems though? 10:56 < supernovah> the machine it's supposed to run on has its own hosted cross compiler with one locale I have written for it 10:56 < supernovah> sed doesn't match regexes, bash regex's don't work 10:56 < supernovah> LANG=en_NZ.UTF-8,LANGUAGE=en_NZ:en,LC_CTYPE="en_NZ.UTF-8",LC_NUMERIC="en_NZ.UTF-8",LC_TIME="en_NZ.UTF-8",LC_COLLATE="en_NZ.UTF-8",LC_MONETARY="en_NZ.UTF-8",LC_MESSAGES="en_NZ.UTF-8",LC_PAPER="en_NZ.UTF-8",LC_NAME="en_NZ.UTF-8",LC_ADDRESS="en_NZ.UTF-8",LC_TELEPHONE="en_NZ.UTF-8",LC_MEASUREMENT="en_NZ.UTF-8",LC_IDENTIFICATION="en_NZ.UTF-8",LC_ALL=, 10:56 < supernovah> That is my locale 10:57 < MrElendig> why did you write your own locale 10:57 < supernovah> So you can tell me if its broken or not 10:57 < MrElendig> that output doesn't tell me if en_NZ.utf8 is actually built and available or not 10:57 < MrElendig> and "doesn't work" is a useless error description 10:57 < supernovah> well how do I do that 10:57 < supernovah> IS there a bash bot in bere> 10:58 < MrElendig> locale -a is one way 10:58 < revel> No bots. 10:58 < supernovah> en_NZ.utf8 is on that list yes 10:58 < MrElendig> and locales doesn't magically break regex 10:58 < supernovah> They break bash 10:59 < supernovah> and the way characters glob and get interpretted with different quotes 10:59 < MrElendig> define "break bash" 10:59 < revel> It bashes bash with a hammer. 10:59 * supernovah see above 10:59 < MrElendig> if you are globbing filenames, maybe said filenames were encoded with something else than utf8? 10:59 < MrElendig> supernovah: that doesn't explain how it breaks 10:59 < MrElendig> post actual examples etc 11:01 < MrElendig> if you use utf8 *everywhere* there should be no problems 11:01 < supernovah> a simple regex, echo "../test" | sed -rn 's|[\x20-\x7E]+||p', gives me "test" out of sed, it should match it all and give me an empty line 11:01 < MrElendig> if you intruduce data encoded in something other than utf8 on the other hand 11:01 < supernovah> utf-8 uses 8 bits for all ascii and ansi, it's a superset 11:01 < supernovah> so it shouldn't matter 11:02 < revel> It's only a superset of ASCII. 11:02 < revel> There are other encodings. 11:02 < MrElendig> sure those escapes are actually valid? 11:02 < supernovah> So since I've lost about $5k this week in time to this bs, can someome please just tell me how to change the locale, it would be mucho helpful 11:03 < supernovah> MrElendig: if I run set -x I can see it becomes exactly as entered, the `'`s work as expected, when I export LC_ALL=POSIX or LC_ALL=C, it also works as I desire, but natively doesn;'t 11:03 < MrElendig> I get the same result no matter what I set the locale to 11:03 < MrElendig> for your example 11:03 < MrElendig> always outputs 'test' 11:03 < supernovah> which is what, ../ gets matched or ../test gets matched 11:04 < supernovah> Yea now export LC_ALL=POSIX and try 11:04 < MrElendig> sidenote: don't rely on bash scripts in production 11:04 < MrElendig> [oh@Alice ~]$ LANG=POSIX echo "../test" | sed -rn 's|[\x20-\x7E]+||p' 11:04 < MrElendig> test 11:04 < MrElendig> as I said, I did 11:05 < azarus> #!/bin/sh, the only true shebang 11:05 < supernovah> Try that but echo locale | tr '\n' ', ' at the end 11:05 < supernovah> it doesn't set it 11:05 < MrElendig> that just adds the string "locale" at the end :p 11:06 < supernovah> ye if you read the word echo as a verb 11:07 * MrElendig runs off to grab food 11:07 < MrElendig> but my suggesting: use a language that actually have testing frameworks etc for production where money is at stakes 11:11 < supernovah> What can break setting LANG=POSIX 11:14 < MrElendig> anything non-ascii obviously 11:28 < stuxnet10> Hi 11:28 < Zajt> how do you make a USB stick bootable? I followed this guide: http://www.engr.uconn.edu/~tehrani/teaching/tcs/lab01.pdf but I couldn't boot it from the USB after following it 11:29 < nothos> Zajt got it built then? :) 11:29 < Zajt> yeah we got it after some time 11:30 < nothos> Zajt In gparted, can you set the partition to bootable? 11:30 < nothos> (I assume it already has a bootloader and such included, so possible your machine needs the bootable flag set on the part) 11:30 < Zajt> nothos: well if I add scraper.bin to it, it should get bootable, but it doesn't work 11:31 < nothos> Zajt Then yeah, definitely check for the bootable flag 11:32 < Zajt> okay will check t 11:32 < Zajt> ty 11:33 < MrElendig> Zajt: what are you putting on the usb stick? 11:33 < nothos> So apparently both 8.8.8.8 and 1.1.1.1 support DNS over HTTPS 11:33 < Zajt> MrElendig: scraper.bin from the link there 11:34 < nothos> Is there a way to tell linux (xubuntu 17.10 specifically) to resolve with https rather than just plain port 53? 11:34 < MrElendig> Zajt: post the exact dd command you did 11:35 < Zajt> dd if=./scraper.bin of=/dev/sdb 11:35 < MrElendig> also, sure the issue isn't that you don't have the correct boot order in the firmware? 11:35 < MrElendig> also uefi vs legacy, and secureboot 11:35 < MrElendig> boot flag does absolutely nothing in this case 11:35 < MrElendig> (also, it pretty much never does anything in other cases too) 11:36 < jelly> nothos: you'd have to find an nss module that knows how to do that and configure it in hosts line in /etc/nsswitch.conf 11:36 < Zajt> okay yeah I put up the USB in the boot order 11:37 < Zajt> but still couldn't find USB in the list from the stuff to boot from 11:37 < nothos> MrElendig Rarely, but I have had issues, esp. on older machines with it being missing 11:37 < nothos> jelly Doesn't sound non-trivial 11:37 < nothos> *trivial 11:37 < nothos> Even 11:37 < MrElendig> boot flag is only relevant if you are silly enough to not install the bootloader to the mbr 11:37 < jelly> sure, but you didn't ask for trivial 11:38 < MrElendig> Zajt: enable csm, explicitly select the usb stick? 11:38 < MrElendig> make sure secureboot is off 11:39 < Zajt> I enable csm somewhere in the bios or? 11:39 < MrElendig> I asume you have uefi capable hardware? 11:40 < nothos> jelly Valid point, well made :) 11:40 < MrElendig> https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#CSM_booting 11:40 < nothos> Know of any guides on how to go about it? 11:42 < rajrajraj> I have installed libnghttp2-dev but i dont find its corresponding lib file in /usr/lib or /usr/local/lib 11:44 < Zajt> MrElendig: I don't know what the USB is, haven't used this one before 11:44 < MrElendig> Zajt: it usually says in clear text in the boot selector 11:45 < MrElendig> rajrajraj: as your package manager where the files went 11:45 < rajrajraj> MrElendig: how do i ask it 11:45 < rajrajraj> its apt 11:45 < MrElendig> man apt 11:46 < MrElendig> man dpkg 11:48 < okamis_> In vim, how can I search and replace the selected in the file? 11:49 < okamis_> s/selected/selected word/ 11:50 < MrElendig> all in one go? 11:50 < okamis_> A confirm would also be nice 11:50 < okamis_> but Im not too picky at the moment 11:50 < MrElendig> interactivly you can /foo, do the change, press n, . to repeat the change 11:51 < MrElendig> else :s/....//(g) 11:52 < okamis_> Im hoping that %s//new value/ 11:53 < Zajt> MrElendig: I can't find secureboot in the bios 11:53 < Zajt> this one got old bios 11:54 < dragosp> hi 11:54 < MrElendig> no uefi? 11:54 < MrElendig> then just make sure the boot order is correct 11:55 < Zajt> in the startup menu, it says "Run UEFI application" 11:55 < Zajt> i have fixed the boot order 11:55 < dragosp> i am trying to configure my end of ipsec with openswan and the tunnel is not being formed, some help needed please 11:56 < MrElendig> uhm, if it does uefi then it does secureboot 11:56 < Zajt> okay 11:56 < MrElendig> but this thing you linked to seems to be old school bios only, so try csm 11:56 < MrElendig> might be that it doesn't work on uefi systems at all anyway though 11:56 < dragosp> i configured /etc/ipsec.conf, but the tunnel is not created 11:57 < Zajt> what is csm? how do I change to that? 11:57 < MrElendig> I did link to a wikipedia page earlier 11:57 < MrElendig> and there is a option in the firmware that says "legacy boot" or "enable CSM" or something like that 11:57 < MrElendig> https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#CSM_booting 11:57 < Zajt> it works if I boot it from the USB on another computer 12:00 < MrElendig> so the image/stick is working fine as espected, just have to get the machine to boot in the correct mode 12:00 < Zajt> yeah 12:00 < Zajt> and I changed boot order to have USB in the beginning 12:03 < Zajt> the problem is secure boot doesn't exist there, if it should it would be easier 12:06 < Zajt> USB is under EFI instead of legacy 12:06 < MrElendig> switch to legacy 12:06 < Zajt> I can't 12:07 < MrElendig> name of this thing indicates that it is for legacy only 12:07 < MrElendig> why not? 12:07 < Zajt> it's only Hard drive - SATA 0 and ATAPI CD/DVD Drive there 12:07 < Zajt> not USB there 12:15 < ertes-w> question for the graphviz pros: dot seems to completely ignore by 'concentrate' setting… any ideas why? i'm setting it globally in the graph context: digraph { concentrate = true … } 12:15 < ertes-w> s/by/my/ 12:19 < xenaxon> hello, anybody can recommend me a good linux course/video lessons or whatever 12:19 < bomb> what's your budget? 12:19 < bomb> i can recommend a few books if you want deep understanding 12:20 < bomb> if you want to grab popcorn and learn linux while watching videos, i can't help, sorry 12:33 < opv> hey all, i hope you can help me out. i have an executable which needs to be executed as the file owner, and not as the user calling it. somehow chmod u+s doesn't do the trick. any pointers? 12:35 < revel> opv: Where's the executable? Is the filesystem it's on mounted with nosuid (or is it a non-POSIX fs like FAT or NTFS)? 12:36 < revel> And does "ls -l" show it as being u+s? 12:36 < opv> revel: it's an ext4 mounted with "discard,defaults,nofail". yes, "ls -la" shows rwSrw-r-- 12:37 < laerus> hey, i've removed the `iptable_nat` module to make nftables nat work but now i can't ping my loopback interface, any idea what is going on? 12:37 < revel> opv: Is it a script? 12:37 < opv> revel: yes, a php scr... oooooh 12:38 < revel> That'll be it then. 12:38 < opv> doesn't look like that was it 12:39 < revel> suid doesn't work with scripts. 12:39 < opv> that sucks... is there any possible workaround? 12:40 < revel> You could maybe figure out something with a setuid php in the shebang, I guess, as a workaround, though I'd try to find a better solution. 12:40 < Sitri> Yeah... don't do that 12:41 < xdije> hi 12:41 < Sitri> Because then someone could just read the binary file, see the interpreter is setuid and just send bad things to the interpreter... 12:41 < xdije> what can be the reason for command tab to auto complete the command hangs 12:42 < Sitri> xdije: Either the disk is being slow to list file contents, or a custom autocomplete is registered and it's being slow. 12:43 < s10gopal> after this gopal@gopal-HP-Notebook:~/linux$ git bisect bad v4.13 12:43 < s10gopal> Bisecting: 7028 revisions left to test after this (roughly 13 steps) 12:43 < s10gopal> [ac7b75966c9c86426b55fe1c50ae148aa4571075] Merge tag 'pinctrl-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl 12:43 < s10gopal> gopal@gopal-HP-Notebook:~/linux$ 12:43 < ananke> opv: sudo 12:43 < s10gopal> what command i should use ? 12:43 < peetaur2> s10gopal: make menuconfig 12:44 < s10gopal> peetaur, i am bisecting linux kernel 12:44 < peetaur2> then build it ... preferably a package using the proper distro provided stuff... or the lazy kernel provided way like make rpm-pkg, or make deb-pkg 12:45 < peetaur2> yeah so first you identify as many as you can that are good and bad.... give it many bads and goods...or just 1 good and 1 bad .....or just 1 if you really only have 1 12:45 < peetaur2> then you build it, test it, and then you know whether the current one is good or bad 12:45 < ychaouche> I want to simulate ccess to my imap server from the outside, what's easier : use a proxy or use some command line tools that obfuscate my IP ? (I am thinking about nc) 12:45 < ychaouche> I don't know how to do any of the two 12:45 < ychaouche> sorry, I didn't greet properly : greetings ##linux 12:46 < ananke> ychaouche: nc doesn't 'obfuscate' IP 12:46 < peetaur2> don't forget to make clean before you git good/bad again... and always update your config (make menuconfig does this if you save, even if you edit nothing), and keep notes (commit id and good/bad) so if it all breaks you can redo it just by entering the same commits again 12:46 < ychaouche> ananke: well change it you get the idea I guess 12:46 < ychaouche> ananke: I just want to appear to my IMAP server as having IP, say, 102.39.28.39 12:47 < ananke> ychaouche: that's not how it works. that's not how any of it works 12:47 < ychaouche> ananke: would that be nmap then ? 12:47 < ananke> ychaouche: what's the actual problem you're trying to solve by 'simulating access to your imap server from outside'? 12:47 < ananke> ychaouche: stop guessing 12:48 < ychaouche> ananke: good question, thanks. I want to test firewall rules. 12:48 < ananke> ychaouche: there are many online services that will perform a portscan for you. google. 12:48 < peetaur2> guessing is effective when you have little info and you test each guess 12:49 < ychaouche> ananke: that sounds scary enough :D 12:49 < tookieP4ji> hi, what helps to overcome sleepy mind at the lunch time? 12:49 < peetaur2> testing = stopping the guess from being a guess :) 12:49 < ananke> the only testing here is our patience 12:49 < xdije> Sitri: if disk then it can be NFS issue, because i have many exported path locations from nfs shares 12:49 < s10gopal> peetaur2, can you please teach me how to build kernel for test from git bisect? 12:50 < s10gopal> need to clone git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl ? 12:50 < ychaouche> tookieP4ji: a small nap if you can afford it. 12:50 < Sitri> s10gopal: look at the Linux From Scratch instructions 12:50 < peetaur2> tookieP4ji: wrong channel for that... but here's my opinion anyway: eat less sugar, or at least eat it with fibre (which makes microbes digest it more than you do); get exercise (including stretching and weight lifting and high intensity, not just walking) 12:51 < tookieP4ji> ychaouche: i'm slowly proceeding through a piece of C++ code, whilst listening to the radio. Can't afford a short nap pitely( 12:51 < peetaur2> s10gopal: do you already know how to build a kernel, forgetting about git and bisect for now? 12:51 < s10gopal> peetaur2, no 12:52 < peetaur2> s10gopal: ok so let's start with that.... so did you clone a git repo yet? 12:52 < s10gopal> peetaur2, yes i did git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" then "cd linux 12:54 < peetaur2> s10gopal: ok so next is figure out which tag to test... this repo is not the one with the stable tags like v4.14.32 but it has v4.0 I think....so either switch to the linux-stable one, or pick a tag.... just like git tag | grep v4 | sort -V (which for linux-stable gives you https://bpaste.net/show/e4674fe18298 ) 12:54 < peetaur2> linux-stable btw is git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 12:55 < s10gopal> peetaur2, i started git bisect , how to stop it and get everything to default ? 12:55 < opv> coming back to that suid bit. is there a way to enforce ownership and permissions of any and all newly created files, whoever created them? 12:56 < peetaur2> ummm there's no git bisect stop...there's reset; how about just forget about that until later, and you can run start again, or just continue with bad/good 12:56 < peetaur2> when you say bad and good, you can specify a commit... you don't have to use the currently checked out one 12:56 < TaZeR> how can i make "export EDITOR=nano" stay permanent for my root account when executing it as sudo? 12:57 < TaZeR> whenever i open a new terminal or something doing "crontab -e" will open it in vim again 12:57 < opv> TaZeR: put it in your .bashrc 12:58 < nobrain> you don't want to do that anyway 12:58 < TaZeR> just put it anywhere the same format as in the console? 12:59 < TaZeR> or without the export? 12:59 < konimex> with the export should be fine iirc 13:00 < s10gopal> peetaur2, i did git bisect reset then git checkout v4.12 then git bisect start then git bisect good v4.12 then git bisect bad v4.13-rc1 13:00 < s10gopal> peetaur2, i did them right ? 13:01 < peetaur2> TaZeR: as said, .bashrc, but also set VISUAL too 13:01 < TaZeR> okie doke thanks i think it worked =) 13:01 < TaZeR> VISUAL? 13:01 < peetaur2> for whatever reason there are 2 with a slightly different meaning 13:02 < peetaur2> and if your distro set VISUAL already, it'll ignore EDITOR for some programs 13:02 < peetaur2> s10gopal: yes that sounds good 13:02 < konimex> VISUAL/EDITOR was some posix requirement, right? 13:02 < TaZeR> i see, ill do that too then 13:02 < peetaur2> s10gopal: next you need a config... I suggest you take the config you used with the bad/good test and copy it there..for example; cp /boot/config-whatever .config 13:03 < konimex> VISUAL for vi by default and if that fails because you're on some teletype it'll fall back to EDITOR which is usually ed 13:03 < peetaur2> s10gopal: and then update the config... make menuconfig will do it, or to automatically take all defaults; make olddefconfig 13:03 < s10gopal> peetaur, can you please explain it in detail 13:04 < peetaur2> which point? 13:04 < peetaur2> finding out your config from before? 13:04 < s10gopal> peetaur2, I suggest you take the config you used with the bad/good test and copy it there..for example; cp /boot/config-whatever .config 13:05 < peetaur2> s10gopal: there are 3 ways to get it, depending on the config and such. Some distros stick it in /boot which is convenient... you can simply copy it like my example. 13:05 < peetaur2> s10gopal: some distros don't and you can boot that kernel and get the config from /proc/config.gz 13:05 < peetaur2> s10gopal: and for others, you can use a tool in the source tree https://stackoverflow.com/questions/14958192/how-to-get-the-config-from-a-linux-kernel-image 13:06 < s10gopal> peetaur2, i am on ubuntu 14.04lts 13:06 < peetaur2> ok then I think it's in /boot..just look like ls -l /boot/config-* 13:07 < s10gopal> peetaur2, -rw-r--r-- 1 root root 209699 Apr 5 00:50 /boot/config-4.12.0-041200-generic 13:07 < tookieP4ji> s10gopal, peetaur2 what for you are trying to build the kernel from sources, guys? 13:08 < s10gopal> tookieP4ji, https://bugzilla.kernel.org/show_bug.cgi?id=198665 and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745646 13:08 < peetaur2> tookieP4ji: he wants to bisect...presumably to find the commit that introduced a bug 13:08 < TaZeR> one day i promise i shall learn the vim 13:08 < peetaur2> TaZeR: just run vimtutor, and then 30 minutes later you don't have to one day promise to learn vim 13:09 < dgurney> it took me some minutes to learn the most basic vim commands 13:09 < peetaur2> in 30 min, you will be better with vim than anything else, even if you're still clumsy and terrible with vim 13:09 < dgurney> dunno why people put it off so much 13:09 < TaZeR> right now a text editor with WASD controls is beyond my comprehension 13:09 < dgurney> ...really? 13:09 < dgurney> you can use arrow keys too if hjkl is too confusing 13:09 < peetaur2> like navigate around, insert and delete, and copy and paste, jump to line by number.... and you can now probably do more than with nano in like 5min 13:10 < opv> i had to learn vim once i started adminning centos systems 13:10 < opv> never looked back 13:10 < opv> vim ftw 13:10 < opv> it's a shame that debian doesn't automatically include it 13:10 < peetaur2> and searching (just / and search like in less). then add macros on there, and it's way more.... then, especially useful with macros, learn the other stuff like add 1 to a number, change to uppercase, jump some number of words in some direction, etc. 13:10 < tookieP4ji> TaZeR: the other option is to forget about vim and use nano only!) 13:11 < opv> tookieP4ji: blasphemy 13:11 < peetaur2> opv: I think it does...just they do it all wrong; like they install vim as vi, but if you run vi you are running in vi compat mode....you can symlink vim -> vi and it'll be like vim 13:11 < TaZeR> well id like to learn it sometime not just to be a kool kat but ive found a few programs use simular keybinds like ranger for example so its comes in handy 13:11 < peetaur2> TaZeR: wasd? it's hjkl :) 13:12 < TaZeR> tehe i was joking i meant it has strange keybinds more akin to a game than a text editor 13:12 < TaZeR> strange to someone experiencing it for the first time anyway 13:12 < Celmor> how to I print all matching paths via locate? if I search for /Datait only prints /Data and searching for /Data\* doesn't work 13:12 < peetaur2> which seems terrible, but means less hand movement (but why wasn't it jkl; so you don't even move a finger?) 13:12 < Celmor> as well* 13:12 < TaZeR> im sure it feels very good and fast once learnt 13:13 < peetaur2> Celmor: locate is horrid... just use find 13:13 < konimex> hjkl is convenient, you don't need to move your hands from the home row 13:13 < Celmor> peetaur2, I'm searching an existing database file, I don't have the real files anymore 13:13 < peetaur2> Celmor: for using locate, you have to use grep... like locate Data | grep "^/Datawhatever" 13:14 < alexandre9099> hi, is it possible to use vulkan on a nvidia GPU from an optimus laptop? i'm getting "Xlib: extension "NV-GLX" missing on display ":0"." when i list the vulkan devices, i i remove vulkan-intel that is the only message i get 13:14 < opv> peetaur2: wtf. why the hell would anyone do that 13:15 < tookieP4ji> s10gopal: i'm a lucky owner of the NEW HP laptop too, but I didn't notice such a problem on Archlinux with the latest kernel, 4.15.12. I'll take a look at the bugzilla in the evening, upon coming home. Sounds quite weird! 13:15 < Celmor> how do I match via grep only to a certain "depth" of a path? like /Data/a/b, /Data/a/c, /Data/b/d, etc? 13:15 < s10gopal> peetaur2, book:~/linux$ extract-ikconfig 4.4.0-116-generic 13:15 < s10gopal> extract-ikconfig: command not found 13:15 < peetaur2> opv: because they don't know how to script....like if you had a vim already and then installed the full vim package, it would have a file conflict 13:16 < peetaur2> so rather than fixing it cleanly, they just hack around it and so it has side effects 13:16 < tookieP4ji> peetaur2: are you present on the issue watching list? 13:17 < s10gopal> peetaur2, extract-ikconfig linux-image-4.4.0-116-generic 13:17 < s10gopal> extract-ikconfig: command not found 13:17 < s10gopal> is my kernel dont support it ? 13:18 < peetaur2> Celmor: for example (matching) echo "/Data/1/2/3/4/5/a" | grep -E "/Data(/[^/]+){5}/a" (not matching) echo "/Data/1/2/3/4/a" | grep -E "/Data(/[^/]+){5}/a" 13:19 < peetaur2> Celmor: or use awk... echo "/Data/1/2/3/4/5/a" | awk -F/ '$2 == "Data" && $8 == "a"' 13:19 < peetaur2> s10gopal: you have to make prepare I think, and then it has that script 13:19 < peetaur2> s10gopal: but why are you doing that...don't you already have the config? 13:19 < s10gopal> peetaur2, idk 13:20 < peetaur2> tookieP4ji: I don't know which list you refer to, but probably not 13:21 < s10gopal> peetaur2, output of ls -l /boot/config-* http://paste.ubuntu.com/p/dc5PCc8qV4/ 13:22 < tookieP4ji> peetaur2: i mean the issue https://bugzilla.kernel.org/show_bug.cgi?id=198665, but I've already found that Galop user is present there. I just want to checkout, whether the problem is present on my laptop. 13:22 < tookieP4ji> Gopal* 13:23 < s10gopal> peetaur2, what to do now? 13:25 < Celmor> peetaur2, thanks, I settled on `sudo grep -aoE "/Data/share(/[^/]+){2}/" /mnt/var/lib/mlocate/mlocate.db | uniq`, if I try and use locate it barely prints anything strangely 13:26 < alexandre9099> (asking again :) ) is it possible to use vulkan on a nvidia GPU from an optimus laptop? i'm getting "Xlib: extension "NV-GLX" missing on display ":0"." when i list the vulkan devices, i i remove vulkan-intel that is the only message i get 13:27 < s10gopal> tookieP4ji, it has latest update about the bug 13:27 < s10gopal> tookieP4ji, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745646 13:29 < peetaur2> s10gopal: so choose one of those... I guess the 4.12 one, and cp it to the source dir, and name it ".config" 13:30 < s10gopal> peetaur2, how , can you please tell me 13:30 < peetaur2> just use cp.... like cp /boot/config-4.12.0-041200-generic .config 13:31 < s10gopal> peetaur2, done 13:33 < peetaur2> s10gopal: now make olddefconfig 13:33 < peetaur2> and that's supposed to print lots of stuff, but not ask any questions. 13:33 < peetaur2> if it asks questions, we should use make menuconfig, or pick another config 13:34 < peetaur2> (or just hold down enter to all the questions to take defaults...which possibly takes long or produces a garbage config) 13:34 < tookieP4ji> s10gopal: What way you analyze that power is being drained? I didn't see the timestamps between to snapshots of the power-subsystem of sysfs. 13:34 < tookieP4ji> two snapshots* 13:36 < tookieP4ji> s10gopal: I'm talking about the following comment of yours (presumably). https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745646/comments/36 13:36 < s10gopal> peetaur2, https://paste.linux.community/view/ad385b28 13:37 < s10gopal> output of make olddefconfig 13:37 < s10gopal> itt dont ask any question or prints a lot of stuff 13:37 < peetaur2> ok so it was super short (not a lot :D) and looks fine 13:37 < peetaur2> so now you build it 13:37 < s10gopal> !ping 13:38 < peetaur2> after checking out/git bisect good/bad 13:38 < peetaur2> the easy way is just: time make deb-pkg (I like time...not necessary) 13:38 < peetaur2> and the harder way is to get your distro's make files and adapt them to this version ....which on deb is a hassle I think; like they absolutely require you to edit hte changelog....who edits changelogs for bisecting :D 13:40 < peetaur2> (what I do is just write scripts that generate bogus changelogs by inserting the date, version, etc. automatically) 13:40 < s10gopal> make olddefconfig output https://paste.linux.community/view/ad385b28 13:40 < peetaur2> why are you posting that again? 13:40 < s10gopal> peetaur2, now? 13:41 < peetaur2> [13:38] the easy way is just: time make deb-pkg (I like time...not necessary) 13:42 < ABCook> ubuntu is still so buggy so close to release 13:43 < peetaur2> ubuntu 14.04 was terribly buggy for like 6 months after release 13:43 < Li> how many types of streaming out there other than live/archived? how does programs like vlc/ffmpeg/gstream do that? e.g. do they need an active server to open port(s) for the program or the streaming application opens its own port as http/rtsp? 13:43 < Li> googling this topic pretty much confused me 13:43 < Woodpecker> i edited my sudoers file, and yet I still cant get /bin/cp to execute without password. banging my head here 13:43 < ABCook> anyone notice the installer hang the last few daily builds? 13:44 < peetaur2> Woodpecker: that sounds like a terrible command to put in sudoers... make a script that uses cp to do what you want 13:44 < peetaur2> Woodpecker: but what's the sudoer line? 13:44 < s10gopal> peetaur2, compilation terminated. make[3]: *** [scripts/sign-file] Error 1 make[2]: *** [scripts] Error 2 make[1]: *** [deb-pkg] Error 2 make: *** [deb-pkg] Error 2 13:45 < s10gopal> scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory 13:45 < s10gopal> #include 13:46 < peetaur2> I'm surprised to see openssl in there...but just find that package and install it; eg. apt-get install apt-file; apt-file update; apt-file search opensslv.h 13:46 < peetaur2> oh it says sign...I guess the deb specific stuff that I never use wants it 13:47 < Woodpecker> peetaur2: I agree. my line is this 13:47 < Woodpecker> akiva ALL=(ALL:ALL) NOPASSWD: /bin/cp 13:49 < peetaur2> Woodpecker: change the ALL:ALL to just ALL 13:49 < Woodpecker> peetaur2: will give that a try 13:54 < Celmor> I'm trying to use a wifi usb adapter which lists to be compatible with linux, after plugging it in I can see 'Product: 802.11ac WLAN Adapter' in dmesg but `iw list` doesn't list it 13:55 < Woodpecker> peetaur2: no cigar 13:55 < peetaur2> Woodpecker: akiva is the user name? 13:55 < Woodpecker> peetaur2: yep 13:56 < Woodpecker> peetaur2: do i have to restart when I use it? 13:56 < Woodpecker> also I am on wayland... not sure if that makes a difference... it shouldnt. 13:57 < s10gopal> peetaur2, still getting scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory 13:57 < s10gopal> #include 13:57 < peetaur2> Woodpecker: you restart if you modify the user, not the sudoers; and did you edit using visudo? 13:57 < Woodpecker> peetaur2: not the first time. 13:58 < Woodpecker> peetaur2: I had to force a write usind :wq! 13:58 < Woodpecker> peetaur2: probably the issue. 13:58 < peetaur2> edit again with visudo and when you quit it'll tell you if the file is broken 13:58 < peetaur2> or edit the .d files... vim /etc/sudoers.d/yourfile 13:59 < Delf> Any alternative to "touch" that can change mod time on the parent (not sub) directories too? 13:59 < ayecee> no 13:59 < Woodpecker> peetaur2: it says No protocol specified on exit 14:00 < draget> As Intel announced today, they will not release firmware updates for some c2d and c2q CPUs (e.g. Yorkfield). This is only about spectre variant 2 (branch target injection), correct? Variant 1 and meltdown are fixed/fixable via the kernel, correct? Or does the kernel also protect against spectre variant 2 on those older CPUs? 14:00 < Woodpecker> peetaur2: and there is only a README in that directory 14:02 < Woodpecker> peetaur2: wait I think its working now 14:02 < Woodpecker> peetaur2: i repositioned the line to be at the bottom of the file. 14:05 < jim> draget, first... you've said that exact same thing once before (at least it wasn't 10s or 100s of times, point in your favor)... that part out of the way, do you have one of the cpus intel won't be updating? 14:05 < s10gopal> peetaur2, can you please explain me these lines ? you need to build with the build-dependencies for the kernel installed . normally you do that by building in a chroot with those installed into it 14:05 < Kriss3d> Do anyone know if theres any generic VPN manage software ( for ubuntu ) that can mass import and handle openVPN profiles so you can sort and pick based on location/country instead of having to use the OpenVPN itself ? Scrolling through 200 servers to get to the next country isnt really very convenient 14:06 < peetaur2> s10gopal: build dependencies = such as the header file (.h) for openssl you saw in the error 14:06 < peetaur2> s10gopal: you don't need a chroot... that's just one way to create an environment where you can build this without also cluttering your main system 14:07 < draget> jim: Yes, I asked that before and I thought it went unter with >30 joins and parts which were only between it and the next message. Thus after ~6 hours(?) I asked again. Sorry :P And yes, yorkfield. I was googling for various patches and mailinglist entries, but the IBRS patches talk about microcode support, and I was unable to find a good answer that actually says 'Without the instructions (without the microcode update) you will be left vulnurable to 14:07 < draget> spectre v2" 14:08 < s10gopal> peetaur2, sudo apt-get install apt-file; apt-file update; apt-file search opensslv.h , this sommand is unable to fix that error 14:08 < BCMM> draget: there are several spectre_v2 mitigations in the linux kernel. however, *as i understand it*, they protect only against spectre attacks *on the kernel itself* 14:08 < BCMM> they don't prevent spectre_v2 exploitation of userspace programs 14:08 < peetaur2> s10gopal: that searches, but did you also apt-get install the package it finds? 14:10 < draget> BCMM: Ah, that makes sense! 14:10 < BCMM> and in fact, the kernel can't really prevent spectre vulns in userspace (short of basically emulating large parts of the program at massive cost to performance, i guess) 14:10 < BCMM> because in the end, a program runs by executing code on the cpu, and some problem don't really have much to do with the kernel 14:11 < BCMM> think of it as akin to buffer overflows 14:11 < s10gopal> peetaur2, time make deb-pkg is printing lots of stuff 14:12 < s10gopal> how much time it will take ? 14:12 < peetaur2> it takes something like 12 minutes on my i7 5820K 14:12 < peetaur2> and 9 or something on my ryzen 7 1700X 14:13 < mawk> hi 14:13 < s10gopal> how much time it will take on intel® Core™ i5-6200U CPU @ 2.30GHz × 4 ? 14:14 < peetaur2> 31 minutes and 18 seconds 14:14 < s10gopal> can you please tell , how you calculated it ? 14:15 < peetaur2> 12*6*4/4/2.3 = 31.30434782608695652173 14:15 < peetaur2> a terrible calculation...just a ball park figure 14:15 < nobrain> while you wait you can check for spiders behind furniture 14:15 < peetaur2> my machine has 6 real cores and is overclocked to 4GHz (*6*4) and then yours is 4 cores and 2.3 GHz (/4/2.3) 14:15 < peetaur2> nobrain: great suggestion 14:16 < s10gopal> what i have to do after this command ? 14:16 < peetaur2> and also this machine has hyperthreading...dunno if yours did, and I just ignored that in the calculation 14:16 < peetaur2> after that, you look for the .deb file....I think it will put them in the previous dir, so do like ls ../*.deb 14:16 < s10gopal> can you please telll how you learned all these things ? 14:16 < peetaur2> and you will see some source, debug, headers, etc. but you want the plain one without any extra -source_or_whatever in the name, and then install that like: sudo dpkg -i ../whatever.deb 14:17 < JimBuntu> s10gopal, check out Linux From Scratch 14:17 < peetaur2> JimBuntu: heh 14:18 < peetaur2> I never did LFS... I just replace parts of my system, not build the whole thing. :) 14:19 < peetaur2> like I'm usnig arch based which has no apparmor support, so I compile that in...and then I use vfio for gpu passthrough, and sometimes I need a patch...like there was the NPT patch for AMD which is now mainline, and acs_override, and once I needed some quirk patch but that's mainline; so I've built my own kernels for a long time 14:19 < peetaur2> and I was using grsecurity until they made it unfree 14:19 < JimBuntu> peetaur2, We each have our own ways, but since Gopal is showing a keen interest in learning how some of this works, even if only to try and resolve an issue they are experiencing, I think it would be worth their effort to look at LFS, get some of the basics down along with the 'why' things are certain ways 14:21 < s10gopal> before LFS i need to know linux basic too ? 14:21 < peetaur2> LFS will force you to learn all the basics 14:21 < peetaur2> so do it until you are stuck, then learn something required, then continue 14:22 < peetaur2> when done, you'll be a certified guru like JimBuntu 14:22 < LambdaComplex> peetaur2: grsec is unfree now?? 14:22 * JimBuntu is no guru, only a simple linux user. 14:22 < s10gopal> i will start reading it from today 14:23 < BCMM> LambdaComplex: no no, not at all. on the contrary, grsec is in fact some sort of weird thing that is functionally the same as non-free but is somehow arguably GPL compliant if you look at it the right way 14:23 < nobrain> s10gopal: it is too late, just skip to the spiders part 14:23 < LambdaComplex> BCMM: lolwut 14:23 < peetaur2> LambdaComplex: yeah they caught some companies using the old test kernels and not updating, harming their brand repuation, so they closed the stable kernels so that won't happen again...makes sense right? closing access to stable prevents people from using testing, right? and then after that, they closed testing too... maybe triggered by the Linux Self Protection project, which was basically just porting grsec-like features to the 14:23 < peetaur2> mainline kernel. 14:23 < LambdaComplex> nobrain: telling someone to check for spiders implies that there's a point in time that they _weren't_ checking for spiders 14:23 < LambdaComplex> and you should never stop checking for spiders 14:24 < BCMM> LambdaComplex: so the patches are licensed under gplv2 (which they have to be, because they're a derivative work of the linux kernel) 14:24 < BCMM> LambdaComplex: of course, that gives their customers the right to redistribute the source code 14:24 * peetaur2 checks for spiders 14:24 < peetaur2> uh oh... found none; I should buy some more or maybe the mosquito population will grow 14:24 < BCMM> LambdaComplex: but grsecurity has a policy that, if their customers actually *use* that right, they won't send them any new releases 14:25 * peetaur2 likes spiders roaming the house... but they have to obey the rules: no being seen near people or anything people want to touch 14:25 < BCMM> it's a complete violation of the intent of the GPL 14:25 < BCMM> but it appears to be legal, or at least so questionable that it would cost a lot of money to find out whether it's legal 14:25 < peetaur2> yeah it's a non-freedom...claim freedom, but then penalize it...freedom means free from penalty 14:26 < BCMM> either way, they don't belong in the open source community with behavior like that 14:26 * JimBuntu also lets spiders roam and has an additional rule, no growing over 1" (not counting legs) 14:26 < peetaur2> I think growth should be unlimited....why punish the most successful mosquito eaters? they should get the most reward and respect 14:26 < LambdaComplex> BCMM: their brand reputation was being harmed, and this is their solution? 14:26 < LambdaComplex> wew 14:27 < peetaur2> I think the rep thing was just an excuse....did you see my sarcasm where closing stable has *nothing* to do with test kernels which they said was the reason? 14:31 < BCMM> LambdaComplex: yeah, it's a pretext. basically, they want to sell a set of Linux kernel patches as proprietary software, and their old approach was allowing too many people to use it for free 14:33 < BCMM> so they did the weird license-agreement-but-not-really thing and claimed it was necessary to avoid people using inferior versions of their patches or something 14:34 < konimex> oooh grsec.. didn't their leader/spokeperson released an attack vector in twitter? 14:34 < BCMM> inferior meaning version they didn't get paid for, obviously 14:34 < peetaur2> their reaction to the linux self protection project made it seem more about preventing it from going in mainline, and not about free users 14:38 < greenit> hi, is it possible to define a key-combo to deactivate the touchpad on a notebook even thought there's no specific key for it? i have a Lenovo X1 Carbon (1st edition) with Gentoo+Cinnamon and sometimes it's a bit frustrating when i accidentally tap the touchpad while coding... 14:38 < greenit> though* 14:39 < s10gopal> peetaur2, after testing it i need to do cd linux , and git bisect good/bad and again use time make deb-pkg ? 14:39 < revel> greenit: Just so you know, you can enable/disable the touchpad with xinput. 14:39 < revel> I know I can do what you described with xfce. 14:40 < greenit> revel: okay, thanks for the info :) 14:40 < revel> Be careful with it, naturally. 14:40 < greenit> i will 14:40 < peetaur2> s10gopal: yes, preferably do make clean before git bisect (the right makefile that knows what to clean is the one you have before you check out a new version) 14:42 < s10gopal> peetaur2, thx a lot for giving me your precious time 14:52 < s10gopal> i am at CC [M] drivers/mfd/pcf50633-core.o , any guess how much time it will take to complete? 14:52 < ayecee> gonna need a receipt for that 14:53 < ayecee> somewhere between a minute and an hour 14:53 < peetaur2> I estimate negative 8 minutes 14:54 < BluesKaj> Howdy all 14:54 < ayecee> only if you have a quantum computer though 14:54 < ananke> s10gopal: normal people don't bother witth this stuff, so why should we even try to guess? you decided to dabble in it, you get to experience all of the joys 14:54 < peetaur2> -8 was from my previous estimate and the time since I said it :) 14:54 < ayecee> ah 14:55 < dgurney> usually kernel compiles take a few minutes for me with a custom config for the specific machine 14:55 < dgurney> default distro configs take ages lol 14:56 < peetaur2> a few minutes for the machine to compile, a couple hours for you to write the config :D 14:56 < revel> dgurney: Does that include the sh*tloads of modules they build? 14:56 < s10gopal> every time it is going to take same time ? 14:57 < peetaur2> s10gopal: not exact, but pretty close 14:57 < BCMM> s10gopal: did you use make -j? 14:57 < revel> s10gopal: The compile time? Roughly. Though parallelizing it will definitely help. 14:57 < revel> With -j, yes. 14:57 < peetaur2> if you disable lots of drivers and things, it'll be way faster...a minimal one (which likely won't boot) only takes a minute or so 14:57 < peetaur2> BCMM: good question, but I'm pretty sure the deb and rpm pkg ones automatically use -j (which is annoying sometimes) 14:57 < peetaur2> s10gopal: using top, htop, etc. how many cpus look heavily used? 14:58 < s10gopal> cpu1 33 cup2 8 cup3 4 cpu4 92 14:58 < peetaur2> 33,8,4,92%? seems like less than 2 cores used 14:59 < peetaur2> so I guess you needed a -j in there... 14:59 < peetaur2> next time, you do like: make -j4 deb-pkg 14:59 < peetaur2> but also note that the compiling will use the -j, but the packaging into the .deb/.rpm will use just 1 and take ages 15:00 < funksh0n> Hello all. 15:00 < revel> Or use just -j for extra fun :D 15:00 < peetaur2> s10gopal: so you can guess it'll take up to 4 times as long 15:00 < funksh0n> Is there a way to actively see users logging in/out of ssh? I know I can w or who, but I'd like something that is constantly running showing a status 15:00 < revel> "If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously." 15:00 < peetaur2> for the compile...and same time for packaging 15:00 < dgurney> peetaur2, well, not quite that long :P I usually use make localmodconfig to create a base configuration for me to work with, and trimming and changing that further will usually take me 20-30 minutes 15:01 < funksh0n> Maybe some file I can tail -f? 15:01 < revel> funksh0n: `tail -f `? 15:01 < peetaur2> funksh0n: tail -F /var/log/auth.log (or /var/log/secure on redhat, etc. ... depends on syslog config) 15:01 < funksh0n> thank you :) 15:01 < revel> funksh0n: Should be somewhere in /var/log 15:01 < peetaur2> and it also has cron and other junk you should filter out 15:01 < dgurney> not too bad for something I have to do once 15:02 < peetaur2> dgurney: and then you plug in a usb device, or try to mount ntfs or something, and you need to modify config and rebuild? ;) 15:02 < dgurney> no 15:02 < peetaur2> because it never happened, or because you learned from the 80 times it happened? 15:02 < s10gopal> so i should stick time make deb-pkg? 15:03 < kalipso> hey, how can i prevent my laptop from suspending when folding in the monitor? i want to listen to music over headphones with the laptop in my bag 15:03 < ayecee> kalipso: put a wedge of cheese in between to stop it from closing fully 15:03 < ayecee> kalipso: or, examine the power management settings in your desktop of choice. 15:03 < BCMM> kalipso: bear in mind that the laptop may overheat in the bag. some laptops will do that even on idle. 15:04 < dgurney> peetaur2, no, because I always enable all the filesystems I use (though for ntfs I use ntfs-3g), and also drivers for all USB devices I own 15:04 < peetaur2> s10gopal: time make -j4 deb-pkg 15:04 < dgurney> because of that I've never needed to do that unless I buy something completely new and attach it 15:04 < kalipso> ayecee: "power managment settings of your desktop" are not an option, i want a desktop independent solution 15:04 < ayecee> kalipso: there is not a desktop independent solution 15:04 < BCMM> kalipso: tough. 15:05 < BCMM> kalipso: because it's very likely a component of your desktop environment that is triggering the shutdown 15:05 < ayecee> err, i guess the cheese wedge is desktop independent 15:05 < BCMM> ^suspend, rather 15:05 < BCMM> does uninstalling your DE count as DE independent? 15:05 < kalipso> no, but booting without calling startx does 15:05 < kalipso> and the laptop still suspends 15:06 < BCMM> hmm, now it's interesting 15:06 < kalipso> so i guess its kernel specific 15:06 < kalipso> or something like that 15:06 < ayecee> examine the power management settings in your distribution of choice, i guess. 15:06 < BCMM> oh, apparently this is another thing systemd has taken over 15:06 < ayecee> vague question gets vague answer. 15:06 < BCMM> https://www.freedesktop.org/software/systemd/man/logind.conf.html 15:07 < s10gopal> if i build kernel bu turning off GUI , it will be faster? 15:07 < BCMM> search for HandleLidSwitch 15:07 < BCMM> kalipso: ^ 15:07 < ayecee> s10gopal: yes, but not dramatically 15:07 < BCMM> could be a dramatic improvement if he's RAM limited 15:07 < kalipso> BCMM: that looks very promising :) 15:07 < s10gopal> i'm having 12gb ram 15:07 < ayecee> would be unusual. normally io limited and serialized. 15:08 < BCMM> kalipso: however, when you're running a graphical session, your DE may or may not override that setting 15:08 < BCMM> can't tell you for sure cos your DE is a secret :) 15:08 < kalipso> awesomewm 15:08 < BCMM> can't tell you because i don't know anything about awesomewm 15:09 < peetaur2> if it's a wm, you can just assume it doesn't do much 15:09 < kalipso> thats why i said its DE independent 15:10 < kalipso> but anyways that systemd config should work i guess. a fun fact is that when i attach a second monitor using xrandr the laptop wont supent, was my work around for a long time 15:14 * Psi-Jack tilts his head. 15:15 < Psi-Jack> kallesbar: What're you trying to do? 15:16 < BCMM> Psi-Jack: trying to autocomplete a user who's disconnected? 15:16 < Psi-Jack> Oh. heh 15:17 < Psi-Jack> Apparently so. 15:17 < Psi-Jack> Ugh. I seriously need to figure out how to migrate this docker-compose set over to another system, reliably. 15:18 < Psi-Jack> Or, more so, backup rocket.chat in a way that it can be restored into a snaps-installed instance. 15:19 < ayecee> eww, he said the s word 15:19 < noahh> I am profiling my c code using gprof. every time i launch it, it spends lot time in different functions. do you have an idea why? on another architecture the code runs 5x faster 15:20 < Psi-Jack> Well, so far, snap is pretty decent, from my initial experiences of it. 15:20 < fSharp> hello, I am creating a new partition on a GPT table, and it appears on gparted and fdisk, but when I want to encrypt it, I get this error: 'command failed with code 15: Block device required' 15:21 < ayecee> how are you trying to encrypt it 15:21 < BCMM> fSharp: when you tried to encrypt it, did you actually tell your encryption software which disk you wanted to encrypt? 15:22 < fSharp> ayecee, with 'sudo cryptsetup --verbose --verify-passphrase luksFormat /dev/sdbX' 15:22 < fSharp> BCMM, yes, I did 15:22 < ayecee> what does ls -l say about /dev/sdbX 15:22 < BCMM> did you leave it as /dev/sdbX in the actual command you ran? 15:23 < BCMM> or did you put something like /dev/sdb1? 15:23 < AnAverageHuman> I'm looking into a segmentation fault that seems to be caused by ld. Core dump backtrace: https://ptpb.pw/AKcOT0i-tB9qFbt6YfhPRLpDOeIp Any ideas? 15:24 < fSharp> BCMM, I put the real device number in 15:24 < peetaur2> AnAverageHuman: seg faults are generally caused by bad objects, not the linker (or sometimes bad kernels or hardware) 15:24 < BCMM> fSharp: then refer to what ayecee said 15:25 < peetaur2> AnAverageHuman: and I think that makes it a coding question, which is mostly not this channel (linux coders are welcome here, but their questions often go unanswered) 15:25 < jim> AnAverageHuman, you mean the segfault occurs while you're building something? 15:25 < AnAverageHuman> peetaur2: Yes, but a few people have looked at it and have decided that it's probably an issue with ld.so 15:26 < peetaur2> AnAverageHuman: so try another ld.so version 15:26 < AnAverageHuman> jim: No, the segfault occurs when I run the binary. 15:26 < jim> ok... do you have the source? 15:26 < peetaur2> you mean while it dynamically links at runtime, right? 15:27 < wr> to edit network card interface on CentosOS should i use nmtui? or other? 15:27 < AnAverageHuman> jim: These are binaries like gdb, lua, wish, julia. 15:27 < AnAverageHuman> peetaur2: I think so. Should I try downgrading binutils? 15:27 < jim> so it happens with more than one binary? 15:28 < fSharp> ayecee, it says 'cannot access /dev/sdbX: No such file or directory' 15:28 < AnAverageHuman> jim: Yes, but only a few binaries. Not all. There seems to be an issue with the call to time(). 15:28 < jim> ok... what dist is this? 15:29 < AnAverageHuman> jim: Gentoo. I've tried clean rebuilds of all my packages already. 15:29 < fSharp> I suppose this doesn't have to do with any limit on the number of partitions, as GPT doesn't have such a limit. 15:29 < jim> did the binaries ever work? 15:30 < AnAverageHuman> jim: Yes, I have an older version of gdb that works. I don't know what I've upgraded since then though. 15:31 < jim> and when you upgrade, you build the stuff from source? 15:31 < treefrob> is there a reliable way to get the type/class of a network device from a script? 15:31 < ayecee> fSharp: are you using the literal string /dev/sdbX, or is X a number? 15:31 < AnAverageHuman> jim: I do, yes. 15:31 < ayecee> ah, you said you did. 15:32 < fSharp> ayecee, as I've already answered, :) yes, X is a number 15:32 < ayecee> fSharp: if you repartitioned the disk from which you're running, you'll need to reboot to rescan the partition table. 15:33 < fSharp> ayecee, no, the partition is not on the disk that the system is running 15:33 < fSharp> on 15:33 < jim> ok... with regard to gdb, it seems like you found the issue, the newer gdb just doesn't work (and yes, I think that's strange) 15:33 < ayecee> eh. reboot anyways. 15:33 < fSharp> sure, so it is not a normal occurence, then? 15:34 < jim> with regard to the others, I don't know... are they versions that didn't come with the original version? 15:34 < AnAverageHuman> jim: Versions that didn't come with the original version? 15:34 < jim> err didn't come with the original gentoo that you installed at first, after which everything worked 15:34 < ayecee> fSharp: fdisk/parted normally ask the kernel to reread the partition table when you modify it, but if there are partitions in use on the disk, the kernel can't do that. 15:35 < AnAverageHuman> jim: I've had this running for a while now, so I'd assume that most packages have been upgraded at least once since I first installed. 15:35 < fSharp> ayecee, this is not the system disk, and there are no other partitions running 15:35 < fSharp> and fdisk successfully created the partition. the initial step worked 15:36 < fSharp> but the encryption part gave error 15:36 < ayecee> either way, the partition table wasn't reread. 15:36 < ayecee> and rebooting is an easy way to make it read. 15:36 < jim> I can only guess, that it's either the version of the thing (canonical example, I guess you tried to build a newer gdb? and the newer one didn't work) or it 15:36 < fSharp> fdisk reported that it reread it 15:36 < fSharp> or rewrote 15:36 < fSharp> anyway, rebooting 15:37 < AnAverageHuman> jim: I haven't tried building an older version with my new toolchain, interesting. 15:37 < jim> is the build flags that were applied to the newer build which differ from the original flags) 15:37 < jim> wait, new toolchain? 15:37 < AnAverageHuman> jim: They were, but I've switched back to stable flags now. 15:38 < AnAverageHuman> jim: Well, I'm still assuming that something in the upgraded toolchain is broken. 15:39 < jim> did you use the new toolchain to build newer versions of things? 15:39 < AnAverageHuman> I did. But most programs work fine. 15:40 < jim> ok... so there's a good possibility that since you have a mixture of programs that were built with the older toolchain and others built with the newer toolchain, they might not work together 15:41 < AnAverageHuman> I rebuilt everything with the new toolchain and stable flags to see if that would fix the problem. It didn't. 15:43 < jim> the test for that is very brute force and pretty expensive: you would rebuild everything (including libs, kernel, userland programs) with the new toolchain, and place them into their own separate new gentoo system 15:43 < peetaur2> AnAverageHuman: try on a totally different distro...like centos is way different than debian, try both. And then if it fails on both, blame your code. 15:43 < AnAverageHuman> Yeah, I'm considering a reinstall to see if that fixes the problem. 15:43 < jim> you built ld.so also? 15:44 < AnAverageHuman> peetaur2: The issue is that it's not "my code"; it's code that should work like gdb, lua. 15:44 < peetaur2> so it's stuff you downloaded in binary packages that works on every other machine except yours? 15:44 < jim> the new toolchain has a newer libgcc which some things link to 15:45 < AnAverageHuman> peetaur2: For the most part, I don't use binary packages. It's all compiled from source. 15:45 < jim> ok, lua doesn't work... what is its history in your installation? 15:46 < jim> do you have the older toolchain installed still? 15:47 < AnAverageHuman> It looks like I've had "dev-lang/lua-5.1.5-r4" for at least a year now, but it hasn't been working for at least a few weeks. 15:47 < AnAverageHuman> No, older packages are removed as they are upgraded. 15:48 < jim> I'm making a guess that it's the new toolchain that's causing the problem, that might not be the case 15:48 < AnAverageHuman> I'll try downgrading some stuff to see if that works. Thanks all. 15:49 < jim> you say you did not replace the lua? 15:49 < fSharp> ayecee, after reboot the error is gone but I have this output; 'paste.debian.net/1018840'..I have already other partitions on disk, so I don't know what it means by new partition, swap etc..therefore I didn't proceed. does this look normal? 15:49 < AnAverageHuman> jim: I replaced it, but with the same version. 15:49 < jim> and built with the old toolchain? 15:49 < fSharp> I mean, this is the output of 'sudo cryptsetup --verbose --verify-passphrase luksFormat /dev/sdbX' 15:50 < AnAverageHuman> jim: It was originally built with the old toolchain. I think that's when it worked. Now it doesn't because it's been rebuilt with the new toolchain. 15:51 * triceratux fought the lua & the lua won 15:52 < jim> AnAverageHuman, honestly I don't know exactly what's wrong, but my earlier guess stands 15:52 < peetaur2> terrible jokes are the best jokes 15:53 < jim> in a very limited range of cases :P 15:53 < AnAverageHuman> I'll try downgrading binutils, and then ask in ##binutils :P Thanks for everything! 15:54 < jim> that sounds like a plan 15:55 < peetaur2> I like the plan of doing anything to make it work and then breaking it again half way at a time binary search style 15:59 < noahh> I am profiling my c code using gprof. every time i launch it, it spends lot time in different functions. do you have an idea why? on another architecture the code runs 5x faster 15:59 < peetaur2> 90% of the problems are in 10% of the code..... there; good luck to you. 16:00 < hanshenrik> noahh, it runs fast on x86-64 and slow on x86-32? tried -fno-pie ? 16:03 < noahh> hanshenrik no, both machines are x86_64. One is a Mac other a Ubuntu machine. no-pie has no influence 16:05 < TechSephie> Hello 16:06 < ychaouche> so, for those interested, I have tested with hping3 and tcpdump with the help of ##security guys. I describe it here : https://ychaouche.informatick.net/firewalltest 16:06 < noahh> hanshenrik also CPU affinity and high priority has no effect 16:06 < TechSephie> could someone help me with something real quick? 16:06 < hanshenrik> TechSephie, nop 16:06 < hanshenrik> why 16:06 < TechSephie> rip 16:08 < interrobang> hello - maybe i ask this in the past: how to update the kernel version in grub custom menu entries if i do "update-grub"? currently i have to change the the config manually after each kernel update 16:08 < TechSephie> I just wanted to know where I could find the config file to change my ps1 16:09 < paddy|> TechSephie: ~/.bashrc 16:09 < hanshenrik> interrobang, i think that depends on your distro. in debian/ubuntu, check /etc/default/grub and /etc/default/grub.d 16:09 < interrobang> hanshenrik, and what i have to change? 16:10 < interrobang> i want that update-grub also update my custom menu entries 16:10 < rumpel> interrobang, have a look at the scripts inside /etc/default/grub.d 16:11 < TechSephie> paddy|: thanks 16:11 < rumpel> interrobang, or /etc/grub.d 16:11 < TechSephie> exit 16:12 < interrobang> yes, there are my custom memu entries- i.e. 40_custom 16:12 < hanshenrik> interrobang, `grub-update` is supposed to find all your kernels (in /boot ), /etc/default/grub is for kernel boot options 16:12 < treefrob> is there a better way to determine if a network device is an Ethernet device than by looking at the udev property ID_PCI_SUBCLASS_FROM_DATABASE? 16:12 < treefrob> which of course is only available for PCI devices... 16:14 < fSharp> I dont know what is happening. now I tried again and it gave the former error. 16:15 < djph> treefrob: is it using ethernet protocols at L2? 16:15 < interrobang> yes it found new kernels in /boot and kernel options in /etc/default/grub and build a new grub.cfg and add my customs from /etc/grub.d .... nothing new 16:15 < interrobang> but grub dont change my coustom menu entries - it should change to the new kernel version 16:18 < fSharp> why is encrypted partition creation gives 'command failed with code 15: Block device required' error? I cant find anything online. 16:18 < fSharp> giving* 16:23 < djph> because you have to create a partition on a block device perhaps? 16:24 < TaZeR> what does having ipv6 support on your router do? mine doesnt have ipv6 but im still able to have a ipv6 address from my isp 16:24 < djph> TaZeR: obviously, if the router is handling ipv6, it supports it 16:24 < fSharp> what does that mean? with other partitions I had no such problem 16:25 < TaZeR> interesting, i thought mine was too old 16:25 < TaZeR> oh its probably cause i have custom firmware 16:25 < djph> TaZeR: could've been as simple as a firmware update. I mean, it's not like v6 needs special hardware 16:26 < TaZeR> i wish 5ghz support took just a firmware update =/ 16:28 < BCMM> djph: doesn't that vary from router to router? there are routers that use ASIC switches, right? 16:29 < ice9> if i ran xsane with root, it can detect the scanner; but normal user cannot; what permissions need to be set? 16:29 < djph> BCMM: my point was that, barring "below bare minimum" there's nothing really special about v6 support 16:29 < djph> hardware wise 16:34 < adsc> ice9: check if there is a scanner group, and if so, put the desired user in this group 16:34 < adsc> ice9: but it depends a bit on your system, might be lp group or udev rules, too 16:43 < treefrob> djph, I'm looking for a general solution to the problem of identifying network hardware 16:44 < treefrob> or rather, categorizing 16:45 < fSharp> hello, I am trying to create an encrypted partition via cryptsetup, and get 'command failed with code 15: Block device required' error. with previous partitions it wasn't a problem. what does this error mean and what do I need to do? 16:48 < angelo_ts> fSharp, seems you are providing a wrong partition path 16:49 < merpnderp> anyone remember the apache tool name for making multiple web requests at the same time? abd? 16:50 < Deruyter> merpnderp, ab 16:50 < fSharp> angelo_ts, I created the partition with fdisk, like /dev/sdbX, and then used this with cryptsetup to encrypt 16:52 < merpnderp> Deruyter: thanks :) 16:56 < Psi-Jack> Wooot.. Finally figured out how to migrate my rocket.chat server from docker-compose on EL7, to snaps on D9. 16:57 < Psi-Jack> Pretty cool actually that it's pretty much all in the mongodb, configuration-wise. 16:59 < spammcoin> chat programs, so retro 17:00 < fendur> do people even still use chat programs? 17:00 < Psi-Jack> Hmmm.. Apparently so. I mean. You are, yourself, right now! 17:00 < fendur> yeah that was the joke. 17:01 < Psi-Jack> :) 17:02 < nobrain> don't be harsh with Psi-Jack, he's a bit slow but still a good person 17:02 < Psi-Jack> hey now. :p 17:05 < fendur> It doesn't seem very clear what makes a person good. So not sure what that means. :) 17:05 < djph> treefrob: my point was, if it uses ethernet encapsulation, then it's an ethernet nic. doesn't matter if it's ethernet over twisted pair, or glass, or radio waves or ... 17:06 < ayecee> if he were behind you and there were a knife in his hand, he probably would not stab you with it, even if no one was watching 17:06 < ayecee> that's a good person 17:07 < fendur> is that just an example? Or the official definition? 17:07 < revel> So good people are bad assassins? 17:07 < revel> Or is it vice versa? 17:07 < ayecee> assassins are almost bad by definition 17:07 < revel> Depends on who they kill. 17:07 < ayecee> fendur: seems pretty specific for a definition 17:07 < ayecee> gonna go with example 17:08 < nobrain> if you kill spiders that doesn't make you a bad person 17:08 < ayecee> spiders aren't people 17:08 < nobrain> you can't never be sure 17:08 < revel> Neither are communists. 17:08 < fendur> are you going to continue giving examples until the definition becomes clear? :) 17:08 < revel> nobrain: So you can sometimes be sure...? 17:08 < ayecee> well, or until i get bored and wander off 17:08 < section1> so..who are the baad people at 9/11 ? 17:08 < nobrain> revel: I'm not sure 17:08 < fendur> ayecee: i might wander off first. 17:09 < revel> section1: Dubya. 17:09 < ayecee> it'll be a close race 17:09 < section1> revel+ 17:10 < noahh> hanshenrik btw the issue was usleep(1). was a lot faster on mac than on linux 17:10 < Hanumaan> there is a failed HDD in raid1 trying to remove it but getting this error: https://paste.linux.community/view/d9aacaf8 17:11 * Psi-Jack stands behind ayecee, with a knife in his hand, grinning evilly. 17:12 < section1> Hanumaan, try only sda.. 17:12 < peetaur2> Hanumaan: mdadm --remove /dev/md126 /dev/sda2 17:12 < SuperSeriousCat> Hanumaan, you got to do mdadm --fail before you do mdadm --remove 17:12 < section1> sda2* 17:13 < section1> its in Fail state 17:13 < peetaur2> it already has (F) so it's fail already 17:13 < spammcoin> m'dadm 17:13 < peetaur2> and I think you don't even have to remove it...just add the new one and it solves itself somehow 17:14 < Hanumaan> spammcoin, SuperSeriousCat, yes it is already in failed state .. 17:16 < Hanumaan> peetaur2, this also mdadm --remove /dev/md126 /dev/sda2 did not worked 17:17 < Hanumaan> section, sda also did not worked 17:17 < peetaur2> what did it say? 17:17 < peetaur2> also th eman page says mdadm --remove failed should work 17:17 < Hanumaan> peetaur, same error mdadm: Cannot find /dev/sda2: No such file or directory 17:18 < SuperSeriousCat> Try "mdadm -r /dev/md0 detached" 17:18 < SuperSeriousCat> The drive may in fact be removed from your system. udev 17:19 < frustrated> hi, can anyone help me with using diff? I dont see what I'm doing wrong here. Yet, diff cant find the files to patch. 17:20 < frustrated> diff -rwN y/app/code/Sm/CartQuickPro/etc/acl.xml x/app-new/code/Sm/CartQuickPro/etc/acl.xml (row 2) 17:20 < frustrated> patch --verbose --dry-run -p1 -i ../file.diff 17:21 < Pentode> this is kinda off topic but will someone look at this datasheet: http://www.datasheetspdf.com/pdf/746432/Infineon/04N60C3/1 17:21 < frustrated> and nano app/code/Sm/CartQuickPro/etc/acl.xml opens the file 17:21 < Pentode> is it me or is it jibberish? 17:21 < Pentode> id really appreciate it, lol 17:21 < ayecee> that depends. are you jibberish? 17:22 < Pentode> i dont know, ive been told one can not self identify whether or not they are jibberish 17:22 < peetaur2> frustrated: need more dtails, or just change the -p1 to -p2 maybe, or specify the filename 17:22 < Pentode> it's kind of like being insane.. 17:22 < frustrated> peetaur2: already tried 0 to 4 17:22 < Hanumaan> SuperSeriousCat, you mean mdadm -r /dev/md126 detached what will it do will it also remove working device also? 17:22 < frustrated> also tried CTRL+ \ to mass-change the beginning of the pathnames in the diff-file several times 17:23 < peetaur2> frustrated: and does the file exist? with -p1 you would expect a file app/code/Sm/CartQuickPro/etc/acl.xml and app-new/code/Sm/CartQuickPro/etc/acl.xml 17:23 < SuperSeriousCat> Only remove devices your system dont find 17:23 < SuperSeriousCat> You also got failed instead of detached you can try first. But guess it ay it cant find /dev/sda2 17:23 < frustrated> peetaur2: like i said, the first file exists from the current folder 17:24 < frustrated> I can totally read the file with "nano app/code/Sm/CartQuickPro/etc/acl.xml" 17:24 < frustrated> without changing directories 17:25 < Hanumaan> SuperSeriousCat, peetauer2, looks like it worked .. now the status like this: https://paste.linux.community/view/69f20ef3 does it mean things are working but only with one HDD? 17:26 < peetaur2> frustrated: oh, you didn't use -u to make the patch? try with -u 17:26 < nejni-ma1> Is there a way to make it so when I have a terminal in some directory, I can open a new terminal already in that directory? 17:27 < frustrated> peetaur2: yeah, the problem is kind of that I had to remove quite a lot of cruft from the diff 17:28 < peetaur2> frustrated: here's an exapmle that works fine....so show me what you did https://bpaste.net/show/d9e38bfa593d 17:28 < peetaur2> I used -u, and didn't use -wN, and didn't edit the patch... I wouldn't edit the patch; instead, I'd give -u a number, or use other options to limit the output 17:29 < peetaur2> or split patches.... like vimdiff between the original and the changed one, and copy some changes over...then make a patch...then vimdiff again, make a 2nd patch, etc. until you have all the patches that work in sequence 17:30 < frustrated> peetaur2: will take a while. I'd make it "diff -urwN ~/Downloads/magento/app-4.0/ app/ > udiff_market.diff" 17:31 < frustrated> guess I'll be adding a couple of excludes. theres quite a few differences and missing files from either side that need to be ignored 17:31 < frustrated> but there are a few that need to be there 17:31 < peetaur2> if this is a one use throwaway patch, ok. But if it's something for a team or whoever to use, it'll take more time for them to deal with it over and over than for you to split it once. 17:33 < frustrated> peetaur2: its a once-only to apply our changes to a number of files on version X to a new copy of said thing with version Y 17:34 < peetaur2> and why do you edit the patch? 17:36 < frustrated> yeah... and @##$!!#@$#@ now its patching the wrong source 17:37 < frustrated> peetaur2: yeah, guess I shouldnt manually edit the patch and just drop all the non-required stuff afterwards... 17:38 < bls> or don't include it to begin with 17:40 < peetaur2> or split those into just 2 patches...or 1 patch and the rest without any patch yet 17:40 < Hanumaan> swap parition is corrupted how to switch off swap now? with swapoff -a it says cannot find the device 17:41 < mawk> swapoff /partition 17:43 < ayecee> Hanumaan: corrupted how 17:43 < ngc3982> i managed to transplant my ubuntu server 17.10 disc to a new machine 17:44 < Hanumaan> mawk, ayecee, machine is running on raid1 and one of the HDD failed now on which swap partition exists with "swapoff /dev/sda3" it says No such file or directory 17:44 < ayecee> Hanumaan: does /dev/sda3 exist? 17:44 < ngc3982> but it does not seem to recognice my network cards. i find the card in ifconfig -a, but it does not receive an IP. how do i continue? 17:44 < frustrated> peetaur2: problem is, about 95% of the files-to-patch in that file are irrelevant (and now deleted). but even the relevant 5% seems to fail unilaterally... 17:44 < Hanumaan> ayecee, physically yes 17:45 < sssilver> hey guys, how do people deploy apps while maintaining 100% uptime? 17:45 < ayecee> Hanumaan: this probably requires a reboot, and you should put the swap on raid as well next time. 17:45 < sssilver> like isn't the app supposed to restart at some point? 17:45 < peetaur2> frustrated: consider using git or something from now on... it has all states all the time, and patches are just outputs, not the building blocks 17:45 < sssilver> to load the new version? 17:45 < ayecee> sssilver: that's why 100% uptime isn't a thing. 17:45 < sssilver> ayecee: so there are split seconds during the day when Facebook is down? 17:45 < peetaur2> sssilver: s/uptime/availability/ 17:45 < Hanumaan> ayecee, should I remove swap from fstab and reboot will it work or gets blocked as swap does not exist? 17:46 < ayecee> sssilver: no, facebook runs on several servers, and the service is restarted on those individual servers. 17:46 < peetaur2> sssilver: you can't expect 100% except with p2p maybe; and to make it highly available, you make it clustered with redundant everything (network, every service, sessions and any state) 17:46 < ayecee> Hanumaan: yes, remove swap from fstab and reboot. 17:46 < ayecee> Hanumaan: it doesn't make any sense to be using raid and not have swap on raid. 17:46 < sssilver> ayecee: do they have some sort of a DNS service that they point at new deployments? 17:47 < ayecee> probably something more complex than that. 17:47 < Hanumaan> ayecee, yes lesson learnt will do with new HDD 17:48 < ayecee> there'd at least be a load balancer in front of the actual servers, and probably another layer in front of that to distribute requests to different data centers. 17:48 < Hanumaan> There is only one device in raid now how to reduce the size of the partition? 17:48 < ayecee> Hanumaan: why reduce? 17:49 < Hanumaan> ayecee, to get the space for swap 17:49 < ayecee> you can use the space from the old swap partition, no? 17:50 < ayecee> to answer your question, changing size of partition for a degraded array should be same as doing it for a normal array. 17:51 < Hanumaan> ayecee, I had raid1 (sda, sdb) https://paste.linux.community/view/69f20ef3 . swap was in sda as sda3 and no more swap as sdb does not have space any more 17:51 < ayecee> Hanumaan: might be easier to use a swap file at this point. 17:52 < Hanumaan> ayecee, what is that? what do you mean by swap file? 17:52 < ayecee> swap can be a file or a partition. 17:53 < ayecee> maybe create a file /var/swap/swapfile of the right size with dd, initialize it with mkswap, then swapon the file 17:53 < ayecee> (there's not really a typical location for these) 17:54 < ayecee> a swap partition is potentially very slightly faster, but unless you're in 1995 that probably won't make a noticeable difference. 17:56 < Hanumaan> ayecee, great thanks will use the swap file 18:03 < treefrob> djph, ah. well no. The system currently can only handle wired ethernet, so I must exclude everything else 18:06 < tpanarch1st> if I install a linux flavour on a hard drive that already has one, is the default behaviour to wipe the original or would it install on the available place left. I thought I would use G-Parted to reformat hard drive but there doesn't appear to be an option within there to do that, any help would be greatly appreciated. Many thanks. 18:06 < Hanumaan> trying to restart samba with /sbin/service smb start getting this error : Failed to get D-Bus connection: Connection refused 18:07 < tpanarch1st> test 18:08 < triceratux> tpanarch1st: its highly distro specific depending on their choice of installer program & how flexible it is. what distros are involved ? 18:08 < frustrated> peetaur2: git diff is polluted by file mode changes. I guess I can only hope patch'll ignore that later... 18:08 < tpanarch1st> sorry, internet had a blip, did anybody reply? :-) 18:09 < triceratux> tpanarch1st: its highly distro specific depending on their choice of installer program & how flexible it is. what distros are involved ? 18:09 < spammcoin> Hanumaan: that means nothing is listening for connections on socket 18:10 < frustrated> peetaur2: iac, thanks for the help 18:10 < tpanarch1st> triceratux: thanks so much for replying, it's is PVE 18:10 < tpanarch1st> proxmox sorry to everyone else! 18:11 < tpanarch1st> i thought about attempting to reformat the hard disk using G-Parted but then I couldn't see an option so I got confused! 18:12 < triceratux> tpanarch1st: youll have to study the doc on their installer & see if it will respect your gparted work at installtime https://pve.proxmox.com/wiki/Installation 18:13 < triceratux> basically there is no "default behaviour" 18:16 < tpanarch1st> triceratux: ah thanks for this :) 18:17 < tpanarch1st> is there any easy way to reformat the hard drive? 18:18 < Dreaman> nikolov@ubuntu-ivan:~$ uname -a 18:18 < Dreaman> Linux ubuntu-ivan 4.16.0-041600-generic #201804012230 SMP Sun Apr 1 22:31:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 18:18 < Dreaman> nikolov@ubuntu-ivan:~$ 18:18 < Dreaman> :)~ 18:18 < astor> Looking for code or application to: auto connect to open wireless networks, attempt to bypass any web portal that may be there, and test if it has internet, if it doesn't it should try another network till success 18:18 < astor> Anyone familiar with any utils or code to accomplish this 18:19 < BCMM> astor: there is not a generic way to bypass captive portals 18:20 < astor> BCMM, agreed, but there are some standard portals. So there may be an application with the standard portal formats filled out in a curl request to the splash page. 18:23 < Tahlwyn> Is there a good IRC channel to rant? I don't want to flood ##linux with my hatred for modern web development. 18:24 < mawk> lol 18:24 < mawk> on ##networking maybe 18:24 < SuperSeriousCat> #web-social is good. If pingu8 is on you got a companion to rant with too 18:27 < Tahlwyn> Tight, thanks. 18:30 < bttf> is there not a sed-focused channel? 18:30 < bttf> shall i just ask here? 18:32 < dgarstang> Should kernel.hostname in /etc/sysctl.conf be the short name or the FQDN? 18:35 < sstory> how can I, in a single grep command, find strings beginning with xyz that don't end in pdq? 18:37 < djph> you can't 18:37 < djph> errr wait, is the string xyz[...]pdq ? 18:37 < notadrop> how to set a file as immutable, with only busybox? 18:39 < spare> chattr +i if its not compiled into busybox then you need to turn it on and compile it again 18:39 < notadrop> yeah it's not in there 18:39 < notadrop> how much space would chattr take up? 18:40 < notadrop> if compiled into busybox 18:40 < ayecee> probably not much 18:40 < spare> the new menuconfig post 1.28 has the size next to every option 18:41 < sstory> djph: Example abc-2352 and abc-lo I want the first but not the second 18:41 < sstory> dijph: It is a double grepper? 18:41 < djph> sstory: grep abc-[:digit:] thefile 18:42 < djph> (maybe, I might have the syntax wrong) 18:43 < djph> oops, it's [[:digit:]] 18:43 < djph> (assuming, of course, "digits" are what you need to match) 18:44 < djph> but, if your line is "abc-2352 [...] abc-lo", it's still going to print the whole line. 18:45 < sstory> dijph: I don't think that is going to do it. What I need from a list of items that all begin with xyz- to make sure I get all of them except the one that ends in -lo even though all of them will have some alphanum chars after the - 18:45 < djph> grep -v xyz-lo thefile 18:45 < sstory> So double grep? 18:45 < djph> no 18:46 < djph> man grep; read the "-v" switch entry 18:46 < sstory> dijph: ok. Lets say I have BKPabc-ag121 and abc-2352 and abc-lo and I only want the ones that start with abc- and don't end with lo 18:47 < sstory> I can do it with 2 greps. Just wondered how with just one 18:47 < sstory> grep "^abc-" somefile | grep -v "lo$" 18:48 < djph> they're *all* abc-*, and you specifically do not want "abc-lo", right? 18:48 < sstory> or BKPabc- 18:48 < djph> or is there abc-*; def-*; etc? 18:48 < sstory> Can't start with BKP which also contains abc...no the startwith part is fixed 18:49 < sstory> But could be preceded by BKP which I don't want 18:49 < djph> ... 18:49 < sstory> grep "^abc-" somefile | grep -v "lo$" (this works perfectly) I just wanted to know if I could do without two greps 18:49 < djph> then you need two greps 18:49 < jamtoast> sstory: what about grep -e "^abc-[^l]" ? 18:49 < sstory> dijph: roger that. Thanks! 18:50 < djph> ^ or that ... 18:50 < djph> jamtoast: is it -e or -E, I can never rmemeber (I just use egrep) 18:51 < djph> and screw that they're deprecated :) 18:51 < TyrfingMjolnir> How do I replace a string in all .json files in a folder? 18:51 < sstory> jamtoast: hmm. 18:51 < jamtoast> djph: whoops, it's -E, but apparently -e worked 18:52 < sstory> jamtoast: I think I will just double grep.... Thanks for the effort all. 18:52 < prussian> TyrfingMjolnir: jq '.prop.whatever.blah = "something"' 18:52 < TyrfingMjolnir> sed -i 's/foo/bar/g' * 18:52 < djph> for f in *json; do sed -ie 's/string/replace/g' $f; done <-- should cover you, although best to make a backup. 18:52 < prussian> come up with your own iteration if you must. for blob in *.json; ... 18:52 < prussian> ya no. why are you using sed? jq is a dsl specifically for this. lol 18:53 < TyrfingMjolnir> jq? 18:53 < prussian> even awk would be better since it's actually a semi sane language for writing parsers in 18:53 < djph> there's no need to parse if you're just changing one string for another.... 18:54 < TyrfingMjolnir> prussian: Where are you from? 18:54 < djph> unless there's something super sekrit special about json that would break if "somefield=value" gets changed to "somefield=newvalue" without parsing it first ... 18:55 < ayecee> cleveland, of course 18:55 < TyrfingMjolnir> Prussia is a quite interesting "country" 18:55 < TyrfingMjolnir> Alot of its history is gone. 18:55 < ayecee> they even have a color named after them 18:56 < prussian> if all you're doing is replacing a key/value string. go nuts man. whatever. but really. jq --arg something something '.asd = $something' is a hell of a lot easier 18:57 < TyrfingMjolnir> prussian: Do you propose for f in *json; do jq '.prop.whatever.blah = "something"' $f; done? 18:58 < TyrfingMjolnir> prussian: Do you propose: for f in *.json; do jq '.prop.whatever.blah = "something"' $f; done? 18:58 < prussian> sure 19:06 < bipul> What is the meaning of "# %wheel ALL=(ALL) NOPASSWD: ALL" ? 19:07 < TyrfingMjolnir> # = commented out 19:07 < bipul> Will it allow user with group wheel to execute sudo command witout password? 19:07 < TyrfingMjolnir> The rest of it looks no good; this must be from the sudo file? 19:07 < revel> It's commented, yes. But it means that people in the wheel group can run sudo on any command without entering a password. 19:07 < revel> Were it to be uncommented. 19:07 < bipul> How to check whether i am sudo user or not? 19:08 < revel> groups 19:08 < bipul> i can see my user name is inside wheel group 19:08 < revel> Or checking /etc/groups, I think. 19:08 < prussian> bipul: sudo -l 19:09 < revel> Right. 19:11 < AbleBacon> so, i have a linux device here with a screen on it. i can ssh into it and everything, but the screen doesn't display anything. how would i go about getting the screen working? is there a way to identify what driver i need from within linux, or do i need to physically inspect screen controller card? 19:13 < AbleBacon> there's a "/sys/devices/soc0/backlight/driver", so i think i know what that's for 19:15 < AbleBacon> which doesn't seem to work, either. i'm echoing numbers into "brightness" for the backlight and not seeing anything 19:17 < bipul> prussian, Thank you but that command output was not found. 19:38 < akem> Hey, i want to test full system backup with tar, so i need to experiment/test backup/restore, any idea what small Linux distrib could i use? - it needs an installer, so i can't go Damn Small Linux for ex...I wanna test on Virtualbox. 19:42 < p3rL> echo "abcd echo $! " how to get output >> abcd echo $! its not showing $! 19:42 < LtL> AbleBacon: try `echo on` 19:43 < AbleBacon> echo "on" for brightness? 19:43 < LtL> AbleBacon: didn't read you correctly, sorry 19:48 < rendar> help, it's few days my linux machine (raspberry) generates like 600Mb of logs, all of with those lines: https://nopaste.xyz/?4a530db6ca19e751#RZpM4I9y105AwFwPA8UOu/IGsU0ZG7OAqJognRZttz4= am i wrong or it's logging every single ssh packet? and why? 19:49 < rendar> is that possible because of ufw? 19:49 < TyrfingMjolnir> bipul: cat /etc/groups 19:55 < albrecht> AbleBacon: typically that's controlled by xbacklight - see man xbacklight for usage :) 19:56 < albrecht> AbleBacon: also, if you're trying to view a remote desktop GUI, take a look at rdesktop 19:56 < g1itch> is there an easy way to switch back and forth between nvidia and nouveau drivers? 19:59 < AbleBacon> i don't have xblacklight :( 19:59 < AbleBacon> maybe that's the problem 20:00 < albrecht> AbleBacon: that's just for the brightness adjustment 20:00 < AbleBacon> well, the thing doesn't come on anyway 20:01 < AbleBacon> i don't think the system knows that there is a backlight 20:02 < elmomani> hello, Ive installed grub2 to my usb flash memory which has 3 partitions each of them has linux OS, I want to auto create configure file for that usb but running "grub-mkconfig" make a config that have my hard disk OSs not the usb ones ,any idea ? 20:06 < elmomani> hello, Ive installed grub2 to my usb flash memory which has 3 partitions each of them has linux OS, I want to auto create configure file for that usb but running "grub-mkconfig" make a config that have my hard disk OSs not the usb ones ,any idea ? 20:21 < bluj> i have a bash script which use a ( some-command-here; ) & to create a subshell and put the command in background. at the top of my script i use a 'trap' to intercept SIGINT/SIGTERM etc, to be able to 'kill 0' and kill the subshell so it does not remain running. but it seems in this manner, i am not able to have my script return an error code e.g. through "exit 1" - it will only see 0 exit code 20:21 < bluj> when i use the trap 20:28 < dgarstang> Is it possible to default deny all traffic only on a specific interface and then add exceptions for that interface? 20:28 < dgarstang> for iptables .... ^ 20:29 < revel> dgarstang: Yes. 20:29 < diverdude> hi, if i do myscript &> outfile will the output from myscript first be written to output when myscript is done ? 20:29 < dgarstang> revel: How? :) 20:29 < revel> Oh, wait, I took them as two seperate questions. 20:29 < revel> Well, you can still do that. 20:29 < koala_man> diverdude: it will be written whenever myscript writes something. whether that's immediately or later depends on the script 20:30 < revel> dgarstang: Add an -i eth0 -j DROP rule to the bottom. 20:30 < dgarstang> revel: I don't think you can pass an interface with "-P INPUT DROP" tho? 20:30 < dgarstang> revel: That's not default tho 20:30 < revel> If no -j ACCEPT rules are matched before it, then it'll drop the packet. 20:30 < dgarstang> oic 20:36 < L0g4nAd4ms> anybody know a way to mount/pair an idevice on linux to transfer files ? 20:36 < digitalw00t> Anyone got time for a shell script question? I'm wanting to pass a string to a shell function and return a string. 20:36 < digitalw00t> This should not be this hard.. anyone have an example that would work? 20:37 < digitalw00t> The string is passed to a function, the function runs a command with that argument in it, then returns the string output back. 20:37 < revel> digitalw00t: You can use $1 to specify the first word (string if it's quoted) passed to the script or $@ to match all parameters passed to it. 20:38 < heeen> how can I debug why a kernel module is not built 20:38 < L0g4nAd4ms> digitalw00t, so you basically mean to pipe 20:38 < heeen> I added it to drivers/Kconfig and drivers/Makefile 20:38 < RayTracer> digitalw00t: return only takes an integer, so you need to eg. echo your string 20:38 < digitalw00t> Let me get a sample thrown together and pastebin it. 20:38 < spammcoin> L0g4nAd4ms: maybe mtp, maybe they do their own thing 20:38 < digitalw00t> one sec. 20:38 < heeen> I can see the Kconfig file of the module is being parsed if I put syntax errors in there 20:38 < heeen> but the Makefile is not being looked at when I build 20:38 < L0g4nAd4ms> spammcoin, definitely not mtp, it would OOTB then 20:39 < L0g4nAd4ms> *work OOTB 20:39 < heeen> I tried to match all the depends from the module Kconfig 20:39 < heeen> but maybe I'm missing one? how can I track it down 20:40 < digitalw00t> Do we have a preferred pastebin here? 20:40 < spammcoin> there was some libidevice or similar sounding name? that used to work on a i3GS 20:40 < L0g4nAd4ms> !paste 20:40 < revel> digitalw00t: Not really, though avoiding pastebin.com or anything that requires JS is usually nice. 20:41 < L0g4nAd4ms> heeen, https://paste.linux.community 20:41 < digitalw00t> !paste 20:41 < fofalee> hey 20:41 < revel> digitalw00t: dpaste.com 20:41 < fofalee> I use od -t x1 datafile; but how do I see the ascii representation also using od ? 20:41 < fofalee> which option shall I use? 20:41 < digitalw00t> Got it: https://paste.linux.community/view/f2a69043 20:42 < digitalw00t> Just trying to pass a string, and it might have space in the string. And return a string. 20:42 < sstory> When you login from a console, .bash_profile is executed. When you open a terminal window from Gnome/MATE, nothing happens. Is there any way to have a file execute some things like .bash_profile does in these instances? 20:42 < revel> digitalw00t: Drop the single quotes. 20:43 < bls> digitalw00t: try it in shellcheck.net but you've got lots of bad quoting 20:43 < digitalw00t> wow... 20:43 < revel> digitalw00t: Double quotes are treeated differently from single quotes. 20:43 < digitalw00t> Thanks.. that fixed it. I was SO close.. and getting frustrated. 20:44 < revel> But yeah, shellcheck.net (or the utility from your package manager) could help. 20:44 < digitalw00t> Much thanks.. 20:44 < revel> In the future, that is. 20:44 < L0g4nAd4ms> digitalw00t, i found libidevice but i always returned "is it plugged in" (no idevice found) 20:44 < L0g4nAd4ms> *it 20:45 < L0g4nAd4ms> the culprit is i think that first on the ipad i have to "trust this pc" (i got this notification on windows) but on linux not. so i guess it has no chance of seeing the idevice 20:45 < muricantrump> linux blind fans arguing about their superior "security" over windows 10.. bij please.. you still on X11 lol 20:45 < JimBuntu> kek 20:46 < revel> muricantrump: I thought you said all software that exists now is s00per-secure? 20:46 < revel> At least keep your trolling consistent. 20:46 < RayTracer> sstory: maybe put your stuff in ~/.bashrc and source that from ~/.bash_profile 20:48 < muricantrump> revel: corporate level decent software such as windows 10, macOS, android and iOS 20:48 < muricantrump> not some garbage free code 20:48 < L0g4nAd4ms> dont feed the troll 20:49 < muricantrump> not android but AOSP 20:49 < muricantrump> anyway I will be called troll for bringing up the facts 20:49 < muricantrump> security arrogant users.. well no wonder they support linux over better exploit mitigation OS such as windows 10 20:49 < revel> Or for contradicting yourself over just 3 messages. 20:49 < rumpel> !kick muricantrump 20:49 < Gachr> not android but AOSP 20:49 < Gachr> hello, I've failed a bit... I have my Raspberry Pi, but I forgot the ssh user and password for him, and I cannot access the SD card (I don't have uSD to SD adapter). can I do anything? 20:50 < Gachr> sorry for the ugly paste 20:50 < muricantrump> Gachr: its different 20:50 < muricantrump> Pixels support AOSP exclusively 20:50 < revel> rumpel: It's !ops 20:50 < muricantrump> not other android devices 20:50 < rumpel> revel, yeah. wrong channel. ;) 20:50 < muricantrump> oh someone is trying to kick me 20:50 < Gachr> muricantrump, the AOSP was somebody else's message that I accidentally copied 20:50 < Gachr> yours, actually 20:50 < revel> !ops muricantrump bad troll 20:50 < muricantrump> for bringing up the true face of their inferior OS (in security) 20:50 < rumpel> revel, at least the nickname is perfect for an ignore filter 20:51 < revel> lol 20:51 < muricantrump> lol 20:51 < spammcoin> lollll 20:51 < Pidgeotto> lol 20:51 < rumpel> lloll 20:51 < JimBuntu> 101 20:52 < revel> 5? 20:52 < fofalee> why is byte important.? 20:52 < spammcoin> two nibbles 20:52 < fofalee> todays cpu no longer use 8bits, but even then why have this 8bit system? 20:54 < revel> fofalee: Uhh, I think x86_32 CPUs have some 16-bit support stuff (which x86_64 dropped), but 8-bit was dropped ages ago. 20:55 < JimBuntu> fofalee, do you propose that we remove references to bytes so that we can use some new reference to multi-byte words? 20:56 < jonascj> do you call it "shell code", "shell commands" or something else, the lines you write in a shell script? 20:56 < revel> jonascj: Shell code is something else entirely. 20:56 < jonascj> "My shell script is just 10 lines of X", what should X be ? 20:56 < spammcoin> "My shell script is just 10 lines" 20:56 < RayTracer> jonascj: "bash", "csh", "perl" etc. 20:56 < revel> Comments. 20:56 < emberquill> "My shell script is just 10 lines" 20:56 < emberquill> Aww spammcoin beat me lol 20:57 < spammcoin> "My shell script is just 10 lines of 7-bit ascii" 20:57 < fofalee> why don't we have 63 bit cpu? like quantum processors 20:57 < JimBuntu> s/ of X/ 20:57 < koala_man> RayTracer++ 20:57 < revel> I propose we update to 65-bit CPUs. Who's with me? 20:57 < emberquill> What a nightmare that would be... 20:57 < JimBuntu> revel, make it 4096 and I'm there! 20:57 < jonascj> alright, thanks, and good one revel, "my shell script is just 10 lines of comments" :P 20:57 < diverdude> spammcoin: because 63 is not a power of 2 20:58 < revel> diverdude: But 2^63 is :D 20:58 < diverdude> revel: heh true :) 20:59 < revel> Early ARM was 26-bit, apparently. 21:05 < sstory> RayTracer: Thanks! I did NOT know that. ;-) 21:06 < RayTracer> sstory: for more details, check out "man bash", FILES section at the end 21:07 < RayTracer> usually, distinction between login, interactive or combinations of that is a can of worms, so unifying that by sourcing one helps 21:09 < sstory> RayTracer: Thanks! I will check it out. 21:27 < dgarstang> I added the rule "-A INPUT -i eth0 -j DROP" to the end of my iptables, but that has the side effect of also dropping outbound traffic. How do I drop only inbound traffic here? 21:29 < darkhanb> I know that "build-essential" is the apt-get package to install compiler, make and other tools 21:29 < darkhanb> what's the apt-get package to install autotools like: autoreconf, libtool, etc..? 21:38 < rypervenche> dgarstang: What is it you are trying to accomplish? 21:38 < rypervenche> dgarstang: You will want to allow ESTABLISHED and RELATED connections before the DROP. 21:39 < dgarstang> rypervenche: I was trying to allow all inbound/outbound traffic on eth1 (a private network) and allow specific IP's on eth0 (a public network) while still allowing all outbound traffic on eth0 (the public network) 21:39 < dgarstang> rypervenche: yeah I _think_ I got that 21:40 < rypervenche> dgarstang: Be sure :) Make sure you have for all NICs and how are you getting into the device? Via the public network? 21:40 < dgarstang> Yeah, via public 21:41 < dgarstang> tis complex. :( 21:41 < rypervenche> dgarstang: And you're allowing your own IP in before the drop as well? 21:41 < dgarstang> Yes 21:41 < rypervenche> mkay, then you should have no problem. Anything beyond that, we'd have to see the actual rules you have set up. 21:42 < dgarstang> reading these rules is a mindf*ck 21:42 < dgarstang> no idea how to follow ordering from output of iptables -L -n -v 21:42 < dgarstang> where do you start? 21:42 < rypervenche> For input, you start with INPUT. 21:43 < rypervenche> And only INPUT, unless there is a jump to another chain. 21:43 < dgarstang> well, I have custom chains... 21:43 < dgarstang> should I start with the custom chain or the input chain? 21:43 < solidfox> I've been watching attack on titan recently 21:43 < solidfox> great anime 21:43 < rypervenche> If there are chains in INPUT, then go to that chain, and once you finish with it, go back to INPUT and continue from where you left off (assuming nothing has matched or prevented going back) 21:43 < solidfox> I'm sure the manga is cool too. but I kinda just hope they finish the story of the anime 21:44 < rypervenche> dgarstang: Start with INPUT. If no chain jump happens in INPUT then the custom chains don't do anything. 21:44 < dgarstang> rypervenche: so, then I should begin with input before the custom chain... 21:44 < rypervenche> dgarstang: begin reading, yes. 21:44 < dgarstang> rypervenche: But I don't know if anything happens in the input chain because it has no specifics. I MUST go to the custom chain to see 21:44 < rypervenche> Can you share your rules? Feel free to obfuscate any IPs. 21:46 < kurahaupo> dgarstang: iptables-save | nc termbin.com 9999 21:46 < dgarstang> kurahaupo: yeah well I gotta manually obfuscate 21:46 < dgarstang> rypervenche: obfuscated ... https://pastebin.com/h8bJfAu4 21:49 < dgarstang> actually, lets not use that one... let's use this instead https://pastebin.com/5s4tmsQ8 21:49 < avis> howdy 21:52 < aruns> Hi, I am running Ubuntu 16.04, is there a reliable way on the command line to get my latitude and longitude? 21:53 < revel> aruns: Do you have any GPS module or anything? 21:53 < revel> Or is geoIP good enough? 21:53 < avis> there is open source gps i don't know where it is today 21:53 < kurahaupo> dgarstang: you need a rule for loopback traffic 21:53 < avis> they have open source gps things, even update the maps for them, have them audit those 21:53 < dgarstang> kurahaupo: I don't have one? 21:54 < kurahaupo> dgarstang: and the related+established should be very early, not nearly last 21:54 < revel> If you don't have a GPS responder or whatever, then you can't just magically find out where you're located. 21:54 < dgarstang> kurahaupo: yeah I just moved that 21:54 < revel> And geoIP is far from reliable. 21:54 < avis> everyone. i'm using Loqui irc client. it is cool and awesome ! 21:54 < aruns> @revel I have a 2009 Dell Latitude E5400. 21:54 < aruns> I don't think it has a GPS receiver. 21:55 < avis> my computer is old too i don't mind 21:55 < revel> Then you're SOL. 21:55 < Ben64> if you're sitting at the laptop then you already know where your Latitude is 21:55 < aruns> SOL? 21:55 < avis> if you just need to be located i hear you can just get a gps detector and make sure it functions. look dog collar. my dogs are VERY sarcastic. i'm on to them. takin names 21:55 < revel> Shit outta luck. 21:55 < dgarstang> hehe. SOL 21:56 < aruns> Oh I see :P 21:56 < aruns> Would a USB GPS receiver work? 21:57 < Ben64> possibly 21:57 < JimBuntu> aruns, any GPS Rx that can talk to your computer and you can pull data from would work. 21:57 < revel> You'd probably be better off just checking with your phone. 21:57 < TJ-> aruns: if it has a cellular modem in the mini-PCIe slots, it's possible that device has a GPS sensor too. I've got such with an Ericcson cellular device in a Dell 21:59 < JimBuntu> That model ( E5400 ) had an optional cellular modem with GPS 21:59 < kurahaupo> dgarstang: also UDP traffic (for DNS) and ICMP (for PMTU discovery and reachability) 21:59 < flaarg> . /usr/bin/byobu-reconnect-sockets 22:00 < JimBuntu> aruns, The Dell Wireless 5530 is selling for $20 on eBay, probably similar elsewhere. 22:01 < JimBuntu> aruns, Downsode... Until you open up your laptop and check out where it plugs in, we wont know if your laptop has the cell antenna already installed and ran up into the display area 22:02 < TJ-> JimBuntu: generally opening up is easy, just 2 screws to open the flap 22:02 < ananke> or you could just go on the safest assumption: you likely do not have any GPS device in your system, and you can't get the 'longitude and latitutde' 22:03 < JimBuntu> TJ-, agreed, often easy... especially for the optional items. I have seen some terrible ones though ( I'm looking right at you Toshiba and Fujitsu ) 22:03 < TJ-> aruns: if it's installed you'll have several /dev/ttyACM* devices 22:07 < xdexter> Hello, this regex show all results except "03" /ipc_*(?!.*03.*)/, i need add other except for "04", how can i do ? 22:11 < Xaradas> hi guys, any suggestione about a web based software to send big file attachment 22:11 < kurahaupo> xdexter: 0[34] 22:12 < xdexter> hmm 22:12 < xdexter> if i use a example 20? 22:12 < xdexter> "Grafana uses JavaScript regex implementation" 22:15 < kurahaupo> xdexter: ipc(?!.*(?:03|04|20)) 22:16 < LambdaComplex> i have some random drive that i think used to be part of a RAID. can i get mdadm (or some other program) to give me information about that drive/RAID? 22:17 < frostschutz> mdadm --examine /dev/drive* if it was mdadm 22:18 < kurahaupo> LambdaComplex: if it was Linux software RAID, then each partition should end with a RAID signature block. If it was some other RAID all bets are off 22:18 < mawk> I need to design a challenge or two for a french CTF event 22:18 < mawk> help me 22:18 < mawk> I suck at security so it will be something with maths or system programming 22:19 < kurahaupo> mawk: how long is the challenge time? 22:19 < xdexter> kurahaupo, perfect, thank you so much 22:20 < mawk> good question 22:20 < mawk> something like an hour or two I guess 22:20 < doldor> Hey all! Does anyone have any idea on how to install FF Developer Edition from a PPA? Adding the repository doesn't work for me, as others seem to have a higher repository 22:20 < doldor> Using Linux Mint 22:20 < LambdaComplex> kurahaupo: `lsblk -f` says "ddf_raid_member" for the fstype. there are no partitions though; just /dev/sdb 22:22 < TJ-> LambdaComplex: try "sudo mdadm --examine /dev/sdb" 22:22 < kurahaupo> LambdaComplex: sorry, that's about my limit 22:22 < doldor> higher priority* 22:23 < LambdaComplex> TJ-: no md superblock detected on /dev/sdb 22:23 < LambdaComplex> guess i'm out of luck then :D 22:23 < mawk> who built this array LambdaComplex ? 22:24 < LambdaComplex> mawk: "not me" is the best answer i can give 22:25 < TJ-> LambdaComplex: did the drive get pulled from a Dell Poweredge? 22:25 < LambdaComplex> TJ-: unknown. it's possible though 22:26 < TJ-> LambdaComplex: What do you have reported with "ls /dev/mapper/" 22:26 < LambdaComplex> TJ-: just a file called "control" 22:27 < TJ-> LambdaComplex: OK, so not the old Dell trick of marking LVM's with ddf_raid_member then 22:27 < TJ-> LambdaComplex: show us "hexdump -n 16384 -C /dev/sdb | nc termbin.com 9999" 22:29 < mawk> what is the latest clever trick you used in system programming ? 22:29 < LambdaComplex> TJ-: what exactly does that show? 22:29 < LambdaComplex> i really don't care if i can't get information about this drive tbh 22:29 < TJ-> LambdaComplex: the first 16KB of the disk so we can check what metadata might be there 22:31 < LambdaComplex> TJ-: http://termbin.com/s0dn 22:32 < TJ-> LambdaComplex: well, that looks to me like the File Allocation Table (cluster list) of a FAT file system! 22:33 < mawk> without partition data ? 22:33 < mawk> last time I saw a drive with the filesystem right on the drive without a partition table it was some crappy usb stick 22:34 < TJ-> mawk: those 32-bit numbers look very much like cluster chains 22:35 < TJ-> mawk: if this came out of a RAID array we don't know what level or how this member was used 22:35 < mawk> yeah 22:35 < TJ-> could be a stripe fragment from a RAID-0 22:35 < LambdaComplex> mount -t msdos didn't seem to like it 22:35 < badboyjer> sup ppl 22:35 < TJ-> LambdaComplex: you could run 'testdisk' on it if you're intrigued, otherwise zero it and reuse! 22:35 < LambdaComplex> nor does mount -t vfat 22:36 < LambdaComplex> TJ-: what arguments should i use with testdisk? 22:37 < TJ-> LambdaComplex: just run it, it has ncurses interface 22:38 < mawk> termbin has identifiers with only 4 letters, that's around 2 million pastes 22:38 < mawk> it's pretty small 22:39 < mawk> maybe a bit more if we had capital letters, dunno if they did 22:39 < LambdaComplex> TJ-: would this count as non-partitioned media? 22:40 < TJ-> LambdaComplex: looks that way 22:41 < LambdaComplex> well, let's see if we find anything 22:42 < sbef> ehy guys 22:43 < craigify> yo 22:43 < spammcoin> sup guy 22:44 < sbef> do you kn any nice (possibly open source) crossplatform (windows-linux) git gui? i like github desktop, but it's not available for linux (and i'm lazy to learn multiple programs' shortcuts). I' d likesomething simple to manage my github repos and open code in atom 22:44 < sbef> know* 22:44 < craigify> sure don't offhand 22:44 < sbef> i tried gitkraken, feels like just another awful property app like resilio sync 22:45 < sbef> (btw, i'm new to git) 22:45 < craigify> my only experience with those tools are a) command line, and b) web based, like github itself, or cloudforge 22:45 < craigify> You're talking about a GUI client though, right? 22:45 < craigify> not a team level repo management system? 22:45 < nobody> hi :) 22:46 < sbef> craigify: yes, right 22:46 < nobrain> sbef: github and git are different things 22:46 < sbef> nobrain: hi 22:46 < sbef> nobrain: i know 22:46 < sbef> nobody: hi! 22:47 < craigify> sbef, My thought is that it's a matter of preference to want to use a command line tool vs a GUI. Sorry I can't help about a git GUI tool. I find that I gravitate towards command line tools for things like this, but that is my personal taste. 22:47 < nobody> hi guys :) 22:47 < doldor> sbef: Decent list here https://git-scm.com/download/gui/linux 22:48 < alexneudatchin> souretree 22:48 < doldor> sbef: I've only personally had experience with shell, sourcetree and gitkraken. I can't remember if sourcetree is on linux 22:48 < alexneudatchin> system? 22:49 < alexneudatchin> wtf 22:49 < alexneudatchin> SourceTree 22:50 < sbef> craigify: thank you anyway.. i just want to use a gui first and understand well how thngs work before moving to command line tools... and because when working on windows i HATE using cmd and pwershell! (when working on debian instead i use as many command line tools as possible, i didn't even install a DE) 22:50 < nobrain> sbef: also doing a quick search I can see atom has built-in git support 22:50 < sbef> doldor: i'll check sourcetree! thanks for the advice and the list! 22:51 < LambdaComplex> reminder that git is massive overkill for most people 22:51 < LambdaComplex> (since most people really aren't using it for "distributed" stuff, nor are they working on projects as large as the linux kernel) 22:51 < doldor> sbef: No prob! I'd only switched from Sourcetree as it ended up getting quite slow on my Windows, though I don't know if it was a widespread issue. It was good software imo otherwise 22:51 < sbef> nobrain: yes it has, but it's not that good. moreover, it works properly only with more packages and in collaboration with git hub desktop 22:52 < sbef> doldor: thank you 22:52 < nobrain> sbef: nothing is "that good" in atom 22:52 < sbef> nobrain: why do u think so? 22:52 < Klaus_Dieter> hello world 22:52 < Psi-Jack> sbef: "you" not "u" for future corrections. 22:53 < sbef> Klaus_Dieter: hi! 22:53 < sbef> Psi-Jack: ok, thank you for reminding you. You're always on the target! 22:53 < sbef> reminding me* lol 22:56 < darkhanb> I know that "build-essential" is the apt-get package to install compiler, make and other tools 22:56 < darkhanb> what's the apt-get package to install autotools like: autoreconf, libtool, etc..? 22:56 < spammcoin> git is the best once you figure out git rebase -i 22:56 < brnghkmrs> hey guys, quick noob question. I've encrypted my Manjaro, when I flash something over it will I have issues? 23:01 < MrElendig> maybe 23:02 < MrElendig> depends on what you mean by "flash something over" and "issues" 23:02 < MrElendig> (you are not flashing anything unless you actually have it on a flash rom) 23:02 < LordRyan> brnghkmrs: if you fully write over the entire drive, and just destroy everything, you shouldn't 23:02 < brnghkmrs> I just want to try I new distro because I broke my Manjaro 23:02 < brnghkmrs> I'm a noob and destroyed my sockets 23:03 < MrElendig> wat 23:03 < brnghkmrs> I'm just wondering if I have to decrypt before flashing other distro 23:07 < LordRyan> well no, but "destroying sockets" is either an easily solved software issue, or a hardware issue 23:09 < Psi-Jack> Ugh, Hate swap sometimes. :) 23:13 < brnghkmrs> LordRyan, how easy? I disabled IPv6, do you think that's whats causing the issue? 23:14 < brnghkmrs> it was basically all I did actually 23:14 < LordRyan> well it wouldn't be an issue above just not being able to connect to some things 23:15 < brnghkmrs> I get broken pipe when trying to connect to freenode for example 23:15 < brnghkmrs> when I try to test my connection it says "socket error" 23:24 < jim> muricantrump, what are you even doing here if you don't like linux? 23:26 < MrElendig> trolling 23:26 < jim> yep 23:28 < albrecht> He was still here? That was a while ago 23:28 < jim> yep 2 hours 23:28 < jim> or maybe 3 23:29 < MrElendig> albrecht: 3 years left :p 23:30 < Psi-Jack> MrElendig: If not less. ;) 23:30 < albrecht> I was going to say something along those lines 23:45 < dannylee> ji 23:46 < jim> hi 23:47 < dannylee> hi jimmy 23:47 < jim> hiya... what's new? 23:49 < dannylee> i just install fedora27 workstation on my new computer...i just baught a dell 960 for $250 23:49 < dannylee> 8 gig ram 23:50 < dannylee> 2 tb hard drive 23:50 < jim> what cpu? 23:50 < dannylee> i just don`t know 23:50 < dannylee> its fast 23:51 < jim> I think if you;'re curious you can cat /proc/cpuinfo 23:51 < dannylee> it had windows 10 on it 23:53 < dannylee> my dell 580 still works...its now my backup machine 23:53 < dannylee> tor is really c0000l 23:54 < dannylee> it work man 23:54 < badboyjer> my lenovo ideacentre 300-20ish has kali linux and windows 10 23:54 < dannylee> i kill all windows partition 23:55 < dannylee> ed 23:55 < nobrain> you should kill spiders too 23:55 < nobrain> they hide under your bed 23:56 < dannylee> i give fedora 27 a 90% 23:56 < triceratux> dannylee: thats the machine linux was designed for. fedora toooo https://www.ebay.com/itm/Dell-Desktop-Optiplex-960-Windows-10-Pro-Dual-Core-8GB-1TB-17-Dual-Monitor/192151436404 23:56 < jim> one dell 960 had a intel core 2 quad 23:57 < dannylee> intel core 2 23:57 < badboyjer> iddie 23:57 < spammcoin> zoooom 23:57 < badboyjer> poopsickle 23:57 < dannylee> this machine will last 10 years 23:57 < jim> at least 23:58 < dannylee> vim is working in the terminal just fine 23:59 < dannylee> ubuntu is toooo buggy 23:59 < volty> hi, what happens when two partitions are mount under the same mount point? 23:59 < jim> I'm trying to see what jupyter notebook is --- Log closed Fri Apr 06 00:00:20 2018