--- Log opened Tue Jun 12 00:00:00 2018 --- Day changed Tue Jun 12 2018 00:00 < Dagmar> diverdude: There's a large difference between the size of a disk and the space utilized by the filesystem on i 00:00 < Dagmar> t 00:00 < diverdude> Dagmar: ok but how can i then find out where space is being used? 00:03 < diverdude> Dagmar: ok but how can i then find out where space is being used? 00:04 < diverdude> How can i see why all space is used on my system disk? 00:09 < mgolisch> how big is the filesystem for /? 00:09 < mgolisch> df -h / 00:10 * TheSHAD0W notes kdirstat and its descendents are handy tools 00:11 < riotz> ncdu is my tool of choice for that 00:11 < TheSHAD0W> https://wiki.debian.org/SynapticsTouchpad#Determining_the_type_of_Touchpad <- ran this, came up with bupkus 00:12 < searedvandal> if my math is correct the total in that paste sums up to somewhere around 7G, so pretty close to 8G if that's the size of / 00:14 < Pentode> searedvandal, yeah it looks about right. diverdude, if you want some kind of detailed analysis of data usage in more detail other than partition wide you are going to have to find a utility or write a script to do something like that. 00:16 < candidat> apt-get install knowledge 00:17 < GunqqerFriithian> >using apt not aptitude 00:29 < pressure679> Have anyone succeded in finding a program which can get a certain number of characters from an offset from a file? I found the sed and awk (answers from askubuntu) are quite slow on a HDD. - In any case: I made a source file using Go version 1.10.1, amd64, compiled with Ubuntu 18.04 was faster, > 1 sec on a file several GB's large. Here is the link: https://code.launchpad.net/~pressure679/+junk/ofo , 00:29 < pressure679> I am unsure how to notify Canonical or any Linux/GNU distributor, so I write here. 00:31 < diverdude> Pentode: yeah, thx 00:31 < scampbell> pressure679: see the 'dd' command. 00:32 < pressure679> scampbell: Thanks, but I found dd requires knowledge of byte speed if required, which is not the case for every user (e.g it made my favorite USB unusable). 00:32 < pressure679> s/speed if/speed if/g 00:33 < scampbell> pressure679: dd if=something of=outfile bs=1m skip=2 count 3 00:34 < pressure679> - It was a bs value too low which made it unusable, and a USB should have a bs oser several MB's to my knowledge. 00:34 < scampbell> pressure679: great command, sorry you don't like it. 00:34 < pressure679> s/bs oser/bs over/g 00:35 < koala_man> pressure679: tail/head will do that 00:35 < pressure679> koala_man: tail and head takes lines as argument, not the character count. 00:36 < scampbell> use --bytes 00:36 < koala_man> pressure679: it supports bytes 00:36 < pressure679> koala_man, scampbell: ah, thanks. 00:45 < Dagmar> USB-connected drive or not the native block size is still going to be 512 bytes or 4kb 00:46 < Dagmar> The size of the data transfer packets for the USB bus is *not* the largest source of inefficiency if you get it a bit off 00:47 < koala_man> though of course, the dd buffer size is unrelated to the device's native block size 00:47 < candidat> he koala_man are you from australia ? 00:47 < candidat> y 00:47 < koala_man> nope 00:47 < candidat> :-) 00:48 < Dagmar> They get a little angry in AU about why he's calling himself 'koala man' 00:48 < Dagmar> ;) 00:48 < koala_man> yep, they banished me once I was caught getting this nick 00:50 < phogg> banished from Australia? Isn't that a bit backwards? 00:50 < ace510> ah, Australia doesn't like it when you use stuff from there country, guess i'll remove all that merino wool and aluminum from my Amazon cart 00:50 < ace510> their* 00:51 < koala_man> you have a very strange shopping list 00:51 < oerheks> The koala does not drink .. 01:05 < strixdio> anyone know of a good foss/floss budget software/site? preferably something that doesn't mine your data ;) 01:07 < bls> do you want software or a website? the latter isn't really on topic for here 01:08 < strixdio> either one, really. 01:08 < strixdio> I'm installing gnucash right now. 01:08 < strixdio> if there were something I could host locally, that might be awesome. 01:09 < bls> gnucash is a popular one if you want a GUI, ledger is a really awesome CLI with GUI/web wrappers 01:10 < strixdio> hmmmm, ledger sounds interesting. 01:12 < strixdio> bls: thanks :) 01:15 < bls> also see http://plaintextaccounting.org 01:33 < tony-> anyone know if chromeos will function as any other linux distro? 01:34 < koala_man> what does it mean to function as a linux distro? 01:35 < revel> It's running the Linux kernel and Google distributes it. 01:36 < tony-> im not sure how to ask the question. will linux stuff run on it 01:36 < revel> Define "linux stuff" 01:36 < tony-> ya i get the linux kernal thing. just like android 01:36 < tony-> revel like the steam gaming client for example 01:36 < tony-> if the right prerequits are met etc 01:37 < tony-> how ever that is spelled 01:37 < tony-> or if the right dependincies i guess is the right word to use 01:37 < meyou_> chromeos tends to have a lot of things stripped out 01:38 < tony-> ok so it is like android then 01:38 < b1101> tony chromeos isn't linux 01:38 < koala_man> yes 01:38 < meyou_> i recall some uproar about removing ext2 usb drive support 01:38 < koala_man> b1101: what is it? 01:38 < b1101> chromeos 01:38 < b1101> :P 01:38 < revel> I've not heard much about ChromeOS being very great for doing anything Google doesn't want you to do. i.e read-only rootfs by default, little storage space, I'm not 100% sure if it's running something X.org-ish. 01:38 < tony-> i get it now. chromeos is like android. they both use the linux kernal and both are stripped down 01:38 < koala_man> yes 01:38 < tony-> that answers my question then. thanks 01:41 < phogg> revel: chromeOS does not use X 01:41 < koala_man> doesn't it? what does it use? 01:42 < revel> Something Wayland-ish or something Google-specific? 01:42 < revel> SurfaceFlinger? :P 01:42 < phogg> koala_man: their own graphics system on top of fb, I don't even think it's the same as android 01:42 < phogg> not wayland, not surfaceflinger. Hang on 01:42 < koala_man> huh. I was looking at https://www.chromium.org/chromium-os/chromiumos-design-docs/software-architecture and it does list X 01:42 < phogg> https://tech.slashdot.org/story/15/03/09/0220205/google-introduces-freon-a-replacement-for-x11-on-chrome-os 01:43 < phogg> that's the article I remember 01:43 < triceratux> https://www.zdnet.com/article/linux-comes-to-chromebooks/ 01:45 < koala_man> looks like that one is through KVM 01:46 < phogg> koala_man: if you look at the link you posted all of the info is from 2009. It's not current. 01:46 < koala_man> yes 02:13 < pantato> hi 02:14 < winst123> hi 02:15 < Valeyard> hello 02:18 < Dexx1_> Whenever I try to do "gem update jekyll", I get: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/local/bin directory. -- any ideas how I could fix this? 02:19 < Dexx1_> Also, autopsy if you are there, I think my problem maybe fixed... hard to say, but things seem normal. 02:21 < bls> Dexx1_: that's a privileged location, if you want to install there, you need to do it as root/via sudo 02:21 < Dexx1_> bls: I upgraded jekyll succesfully using root/su, but as regular user, it shows an outdated version 02:22 < bls> Dexx1_: are you using rvm? 02:23 < Thedarkb> Is there any way to restart i8042? 02:23 < Thedarkb> Oh, saying that made it come back to life apparently. 02:24 < Thedarkb> Anyway, while I'm here, I'm having suspend issues. 02:24 < Dexx1_> bls: I don't think so.. 02:24 < Thedarkb> if I type sudo pm-suspend, it turns off my screen and then it immediately comes back on. 02:25 < winst123> I have the same problem with suspend 02:25 < winst123> It only seem to happen for me when firefox is open 02:26 < Thedarkb> [34556.958483] PM: Suspending system (mem) 02:26 < Thedarkb> [34556.958568] Suspending console(s) (use no_console_suspend to debug) 02:26 < Thedarkb> [34556.959022] wls1: deauthenticating from a0:e4:cb:42:91:04 by local choice (Reason: 3=DEAUTH_LEAVING) 02:26 < Thedarkb> [34556.974494] sd 0:0:0:0: [sda] Synchronizing SCSI cache 02:26 < Thedarkb> [34556.974773] sd 0:0:0:0: [sda] Stopping disk 02:26 < Thedarkb> [34556.975215] e1000e: EEE TX LPI TIMER: 00000000 02:26 < Thedarkb> [34556.978935] xhci_hcd 0000:05:00.0: WARN: xHC save state timeout 02:26 < Thedarkb> [34557.016146] suspend_common(): xhci_pci_suspend+0x0/0xd0 returns -110 02:26 < Thedarkb> [34557.016150] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110 02:26 < Thedarkb> [34557.016153] dpm_run_callback(): pci_pm_suspend+0x0/0x130 returns -110 02:26 < Thedarkb> [34557.016157] PM: Device 0000:05:00.0 failed to suspend async: error -110 02:26 < Thedarkb> [34557.486166] PM: Some devices failed to suspend, or early wake event detected 02:26 < Thedarkb> oops. 02:26 < Thedarkb> Sorry. 02:26 < Thedarkb> It only happens to me when Pale Moon is open. 02:26 < Thedarkb> Which is a cousin of modern firefox. 02:26 < Thedarkb> forked off in 2008 I think. 02:32 < Thedarkb> winst123, I found out my problem device 02:32 < Thedarkb> Device 0000:05:00.0 failed to suspend async: error -110 02:32 < Thedarkb> 05:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02) 02:32 < Thedarkb> It's my sketchy USB 3.0 ExpressCard. 02:36 < Thedarkb> winst123, Try putting it to sleep and give me your dmesgs 02:38 < redredhathat> hey can someone help me write to the terminal on my other machine 02:39 < MikeFromIT> What do you mean by write to the terminal redredhathat 02:39 < redredhathat> im ssh'd in and write doesnt exist 02:39 < redredhathat> like i want to display text to an open terminal 02:39 < redredhathat> and i cant echo > tty7 02:39 < bls> is wall installed? 02:40 < MikeFromIT> Is write installed on it 02:40 < redredhathat> wall works 02:40 < redredhathat> write says no command, oddly 02:40 < winst123> Thedarkb, it's working fine right now, it's really random, can't figure out how to reproduce it 02:41 < Thedarkb> That's how it was for me too. 02:41 < Thedarkb> When it happens again, get your dmesgs. 02:42 < winst123> It's like a 1 in 50 chance it happens, i'll make sure to get my dmesgs next time 02:43 < bls> if it's isoloated to a single device, you can often add a hook to modrobe -r on suspend and modprobe on resume 02:46 < Thedarkb> Nah, I'll just throw the card in the bag in case I need it. 02:46 < cr0w3> having problems with scp from a remote server. What is the proper way. scp user@host: /remote/ is what I've tried 02:46 < Thedarkb> Not worth the hassle. 02:47 < bls> cr0w3: no space between the user@host spec and the remote directory 02:47 < ayecee> cr0w3: scp user@host:/dir/file localfile 02:47 < cr0w3> ayecee:thank you 02:48 < ayecee> :) 02:48 < cr0w3> bls:you too 02:48 < MikeFromIT> Anyone here set up a samba server with windows clients before? 02:48 < bls> with a space between the nick and the message :P 02:49 < ayecee> MikeFromIT: one way to find out is to ask a question about it 02:49 < cr0w3> lol 02:49 < bls> MikeFromIT: that's too generic of a question to get anything but a useless response 02:49 < ayecee> q e d 02:49 < cr0w3> bls: thanks again 02:50 < MikeFromIT> So I have samba working to where each user has their own share that they can access, but can't get any to access the public share that should be open for anyone 02:50 < ayecee> that sounds frustrating 02:51 < bls> MikeFromIT: being able to provide verbose logging from both ends would go a long way in triaging this 02:51 < ayecee> might even solve it outright 02:51 < bls> hey, the first step is admitting you have a problem, so at least we're there 02:52 < ayecee> which step submitting yourself to a higher power? 02:52 < ayecee> ah, that might be a different program 02:52 < bls> too many steps in that one 02:54 < MikeFromIT> Annnnnnnnnnnnd I found my typo 02:54 < MikeFromIT> Nevermind, false 02:54 < ayecee> \o/ 02:54 < MikeFromIT> alarm 02:54 < ayecee> /o\ 02:55 < dotcomboom> \o\ 02:55 < dotcomboom> /o/ 02:55 < ayecee> get down, party time 02:56 * dotcomboom parties 02:56 < ayecee> party like it's 1999 02:57 < ayecee> you know, because nick 02:57 < dotcomboom> xd 02:57 < dotcomboom> unfortunately all bubbles burst at some point e.e 02:57 < ayecee> but what a ride until they do 02:58 < dotcomboom> let's invest in some pets.com stock eh? 02:59 < ayecee> i'm down with the c o m 02:59 < ayecee> shut up and take my money! 03:03 * Pentode makes it rain 03:07 < storge> i read that bane as Penetrode 03:07 < ayecee> missed opportunity 03:07 < Pentode> nice 03:09 < ayecee> i wonder what the cultural touchstones are in computer culture in other languages. 03:09 < Dexx1_> Whenever I try to do "gem update jekyll", I get: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/local/bin directory. -- any ideas how I could fix this? 03:10 < Dexx1_> Also, storge if you are there, I think my problem maybe fixed... hard to say, but things seem normal. 03:10 < ayecee> Dexx1_: do you have write permission for the /usr/local/bin directory? 03:10 < Dexx1_> ayecee: it shows that error because I don't right? 03:10 < ayecee> stands to reason, yes 03:10 < ayecee> normally only root would have write access there 03:11 < winst123> run it as root? 03:13 < storge> Dexx1_: what was the problem? bad initrd's or something? --oh right the loop 03:14 < storge> Dexx1_: what did you do 03:14 < leopard> test 03:14 < storge> passed 03:14 < leopard> thanks :) 03:16 < Dexx1_> storge: I just changed it to "no" from https://ubuntugenius.wordpress.com/2010/05/24/fix-a-failed-initramfs-update-do-it-before-you-reboot/ -- then, tried a bunch of stuff, changed it back and it SEEMS to have done the trick. Can't confirm.. is there a way to check? 03:16 < Dexx1_> ayecee: so, what should I do? 03:16 < ayecee> Dexx1_: perhaps run the command as a user that has write access to that directory 03:16 < ayecee> or change the permissions of that directory, but probably not that. 03:17 < Dexx1_> :/ 03:17 < Dexx1_> That doesn't really help. 03:17 < ayecee> well i'm sorry 03:17 < ayecee> you're not giving me much to go on. 03:17 < storge> sudo gem update foo doesn't work? 03:19 < ayecee> i'm also sorry about saying i'm sorry when i wasn't really sorry 03:24 < ayecee> which i suppose means i was sorry after all 03:24 < ayecee> sorry for bringing it up 03:24 * storge doesn't forgive ayecee 03:25 < ayecee> i can accept that 03:34 < storge> ok i forgive you 03:34 < ayecee> whew 03:53 < pyro_> what does echo $! resolve to? 03:54 < ayecee> i don't remember offhand, but i know the bash manpage has it 03:55 < ayecee> manpage says "expands to the process id of the job most recently placed into the background" 03:55 < iflema> what about $$ 03:55 < Dagmar> Current pid 03:56 < pyro_> Dagmar: says the current pid of the bash 03:56 < Dagmar> Your point being? 03:56 < pyro_> ayecee: what does that mean.. a job ran with command &.. its process id? 03:56 < ayecee> pyro_: exactly! 03:56 < pyro_> ok 03:57 < ayecee> i often use this with dd to get status, e.g. dd etc.etc.etc. & ,then, while kill -0 $!; do kill -USR1 $!; sleep 5; done 03:58 < ayecee> kill -0 returns true if the process exists, with no other effects. kill -USR1 to dd tells it to report status. 03:58 < ayecee> with a 5 second interval in the loop 04:01 < ayecee> i'm sure gnu dd has some clever thing that makes this unnecessary now, though 04:01 < Dagmar> conv=progress I think 04:01 < pyro_> i want to demonstrate bg and fg jobs working to my student. i use vagrant.. i want to run a command that takes sometime to finish.. could someone suggest me a command 04:02 < Dagmar> Building a kernel from source 04:02 < Dagmar> Granted, that's going to jibber a lot 04:02 < Dagmar> updatedb would be a good candidate 04:02 < Dagmar> It should take at least a few minutes 04:03 < Dagmar> ...or if you have a couple of very small hard drives you can mdraid them together and force an explicit sync check 04:03 < Dagmar> (4Tb could easily be 14+ hours, so... SMALL HARD DRIVES) 04:03 < storge> i noticed updatedb on my ssd is lightning compared to on my hdd. it's not even close. 04:03 < Dagmar> Random seek times make a huge difference there 04:04 < ayecee> pyro_: sleep 60 & 04:04 < Dagmar> You can cheat those a bit with something like, find /some/paths /moar/paths -exec cat {} ]; 2>/dev/null 1>/dev/null 04:04 < Dagmar> It results in everything being in the filesystem cache 04:05 < Dagmar> (kernel builds run almost horrifyingly fast after a stunt like that) 04:05 < pyro_> sure Dagmar ayecee 04:08 < ayecee> also dd if=/dev/zero of=/dev/null for various sizes 04:09 < storge> between using ccache and localmodconifg, my kernel compiles on this old laptop are rather quick 04:09 < joe_z> or, you know... 04:09 < joe_z> sleep 30 04:09 < joe_z> sure, it doesn't do anything useful... 04:09 < swift110> storge: which laptop 04:10 < storge> T520 04:10 < joe_z> oh, ayecee suggested that already 04:10 < storge> i just compiled 4.17.1 in the last 5 minutes 04:11 < storge> i guess it was more like 7 04:11 < storge> but a generic kernel and i'd be walking away for supper 04:12 * storge boots it 04:14 < swift110> storge: oh nice I have several thinkpads myself 04:14 < swift110> storge: why did you compile the kernel 04:14 < storge> swift110: just because 04:14 < storge> 4.17.1-storge 04:15 < storge> it's a weekly hobby habit 04:15 < pyro_> ayecee: just a curiousity 04:15 < pyro_> [2]- Running sleep 46 & 04:15 < pyro_> [3]+ Running sleep 56 & 04:16 < pyro_> all i did was Ctrl+z and then bg %2 ; bg %3 04:16 < pyro_> but why for [2]- Running and [3] + Running 04:16 < pyro_> what are those - and+ 04:16 < ayecee> what should you see instead? 04:16 < ayecee> oh 04:16 < ayecee> i don't know offhand 04:17 < pyro_> aah ok.. 04:18 < swift110> storge: I mean no special reason at all? 04:19 < storge> swift110: not really beyond hobby interest. i do like to see what's changed between versions, even if i'm usually saying N to everything newly introduced (nothing new for my old machinery) 04:22 < storge> whenever i get a different computer i like to strip the kernel of everything that machine doesn't need. just for the hell of it really. my computers are entirely inconsequential anymore. my work machine is employer provided and runs Microsoft, so it's purely hobby intent 04:23 < Pentode> storge, i used to enjoy doing that back in the day. 04:23 < storge> still, over time i've seen the kernel images grow inexorably over time 04:23 < Pentode> when i used to run slackware on my p120, i'd trim it down as much as humanly possible. 04:23 < storge> in the 3.x era my kernels were all around 3.5M, now they're around 4.4M 04:24 < storge> Pentode: that's what got me into it actually. i was running sourcemage on an old IBM 390 (pre-"thinkpad") and if i didn't want the compile to take days, it was all about localmodconfig 04:26 < storge> i still have that laptop, i should get it out some day. smaller and yet much heavier than my larger/newer thinkpad T520. but also seemingly immortal; it's old case is like a tank 04:26 < Pentode> i dont remember them taking _too_ long to compile. this was back in the 2.2.x era 04:26 < Pentode> ha 04:27 < Pentode> the oldest thinkpad i have is a 760cd 04:27 < storge> not in the toughbook category but the hinges on it seem very well built 04:27 < Pentode> sadly the battery leaked and took out a _single_ line on the keyboard's multiplexer 04:27 < Pentode> so the i k and , keys dont work :( 04:28 < swift110> goodness 04:28 < storge> oh that's a point, i should get it out just to examine the battery 04:28 < Pentode> oh yeah and the battery _still_ holds a charge for a while, too. believe it or not. 04:28 < Pentode> i pull it out to charge it every once and a while.. 04:29 < swift110> storge: sorry about that. my x201 overheated and shut off 04:29 < storge> brb 04:29 < Pentode> i think it's NiMh though. if it were lithium ion im sure it'd be stone dead by now 04:30 < Pentode> if i could trace the pins out it may be possible to solder a jumper wire on there somehow. 04:33 < swift110> ok cool 04:33 < swift110> Pentode: how old is the 760cd 04:34 < Pentode> i think it was released in 94 or 95 04:35 < swift110> Pentode: does it still boot up? 04:35 < swift110> goodness thats old 04:35 < Pentode> yeah still works fine otherwise 04:35 < swift110> My oldest thinkpad is a t40 with a dead graphics card 04:35 < swift110> My actual oldest laptop is a year older and is a compaq presario 2500 with 704 mb ram 04:35 < Pentode> i have a t43. i actually still use it almost daily. 04:36 < demio> welp 04:36 < swift110> Pentode: what draws you to it 04:36 < demio> just caught a randome fucker with a dev blog 04:36 < swift110> what DeMiNe0 04:36 < demio> trying to cryptomine with my CPU 04:37 < swift110> oh 04:37 < demio> -_- 04:37 < demio> wtf 04:37 < demio> a fucking dev blog 04:37 < swift110> wow 04:37 < demio> did he not expect other devs to notice 04:37 < pyro_> is it possible to connect my storage from aws to vagrant using nfs and setting the entry in fstab file? 04:37 < Pentode> i always liked thinkpads. almost everything about it. the keyboard, the way it looks, feels. 04:38 < Pentode> but IMO it has one of the best laptop keyboards i've ever used. 04:39 < swift110> yes I agree Pentode classic thinkpads are really something indeed 04:40 < Pentode> yeah. i grabbed this one up when i was working at a repair shop. it's one of the last true thinkpads and my boss bought it from some corporation in a bulk pile 04:40 < Pentode> this one seems like it was setup and then just put on a shelf and _never_ used 04:41 < Pentode> i can't find a single spot where it looks like an appreciable number of fingers have come in contact with it ;p 04:41 < cmj> ibm keyboards? 04:41 < Pentode> thinkpad keyboards 04:42 < cmj> with clitmouse? 04:42 < Pentode> clitmouse and trackpad 04:42 < cmj> yeah we had a bunch 04:42 < cmj> used them with old pcmcia radios for hotspots 04:43 < cmj> some had uptimes for 4-5 years 04:43 < Pentode> my only complaint is the LCD. the resolution is fine but the contrast ratio is pretty bad, even for the era. 04:44 < cmj> yeah this is back when embedded boards where just coming out. so laptops were used. old (large) microtik routers replaced them 04:46 < Pentode> i could see them making nice little servers 04:46 < pyro_> what is the difference between inode and file descriptor? i know inode is a datastructure used by files and inode is just a number in the memory 04:46 < Pentode> and theyre neatly stackable 04:46 < pyro_> what is fd? and also if we do 2>/dev/null.. is this someway connected to fd? 04:48 < Pentode> a descriptor is an _identifier_ to open a file. 04:49 < Pentode> a handle basically, in other words. 04:53 < Pentode> pyro_, im not sure what you are asking 05:07 < z3t0> hey all I am trying to debug random crashes on my system and haven't gotten much luck so far 05:07 < z3t0> I am trying to find a log that shows the crash 05:07 < z3t0> using journalctl -xe --boot -1 05:07 < z3t0> but it seems that the logs stop about 2 minutes or so before the crash occurs 05:07 < Pentode> z3t0, try dmesg 05:07 < Pentode> hmm 05:08 < Pentode> what kind of crash behavior? 05:08 < z3t0> and the crashes do really feel random as they happen about once a day? 05:08 < z3t0> I just had two crashes about four minutes a part 05:08 < z3t0> Pentode, so the entire pc seems to freeze, even the caps lock light doesn't repsonde 05:08 < z3t0> respond* 05:08 < Pentode> sounds framebuffery 05:09 < Pentode> check dmesg, see if anything is in there at all 05:10 < z3t0> okay 05:10 < Pentode> also check /var/log/Xorg.0.log 05:12 < Dagmar> If the caps lock key doesn't work anymore, the machine is basically dead 05:12 < Pentode> yeah 05:12 < z3t0> I am seeing an acpi error that is something which appears on every boot 05:12 < Pentode> that there be a hard lockup 05:12 < z3t0> It may be relate 05:12 < Dagmar> Doubtful 05:12 < Dagmar> Still, you may wind up having to add kernel params like noaspm or somesuch 05:13 < z3t0> https://pastebin.com/7V2wcvF1 05:13 < z3t0> Not really sure what that error is but I'll see what I can figure out 05:13 < Pentode> _usually_ hard lockups like that are graphics related, though it could be disk I/O, power supply ripple, DC-DC converter failure on the main bus / processor supply, or even RAM 05:13 < swift110> anyone use solus? 05:14 < z3t0> I'll go ahead and do a system upgrade and see if I have the same issue again and investigate further 05:14 < z3t0> It's fairly difficult to debug as it is random 05:14 < Dagmar> That's a bug in the kernel, but it's not what's killing the machine 05:14 < Dagmar> Numerous people are reporting it, but no one else is reporting hard lockups 05:16 < Dagmar> Pentode's right about random hard crashes being a giant PITA to debug 05:16 < Pentode> sucks :/ 05:17 < Dagmar> All things being equal, running a yum update or whatever isn't likely to make things worse (well, without a very different problem manifesting) 05:17 < Pentode> yeah. 05:17 < Dagmar> ...which reminds me that I need to update my emby box in preparation for burning some stupid out of it with a blowtorch 05:18 < Dagmar> I've had just about enough of the media server just sitting around in gc-land for whole minutes at a time 05:28 < Pentode> well we can't have that 05:28 < Dagmar> I suspect whoever built the packages for it did something not-so-smart with the mono binaries 05:29 < Pentode> well packaging is the least favorable job maintaining 05:29 < Dagmar> I don't care for mono, but it doesn't normally just sit around soaking up 99% of the CPU like I see it doing with emby 05:29 < Pentode> eesh, doing what? 05:37 < Dagmar> As best I can tell, it almost has to be garbage collection 05:38 < Dagmar> Disk IO is nothing, and memory usage drops when it's over 05:39 < Dagmar> I'm about to just migrate the entire setup over onto a Slackware VM where I've built and tested each of the packages myself 05:39 < Happyhobo> I can't remember my syndaemon command syntax to make my mouse inactive for three minutes while I write. 05:40 < Dagmar> However, their idea of documenting dependencies apparently involves psychic visions. 05:40 < Pentode> haha 05:40 < Dagmar> ...why I went with CentOS for that VM to begin withh 05:40 < Happyhobo> syndaemon -v -t 3? 05:41 < Pentode> ugh. i have to reboot. it's been 35 days, i hate rebooting. 05:41 < SuperSeriousCat> I use Docker for stuff that require mono. It always used all my cores at max speed on VM's whenever needed, but inside Docker it sits nicely 05:41 < Pentode> everything bad happens when you reboot 05:42 < ayecee> at least you get to choose when you reboot 05:42 < ayecee> unlike when other bad things happen 05:42 < Pentode> your glass is always half full ayecee 05:43 < ayecee> with a silver lining 05:43 < Dagmar> Docker won't help this, since emby itself is navel-gazing while mono-sgen is off doing whatever 05:44 < Dagmar> The VM seerver has plenty of clockcycles and RAM to go 'round 05:44 < Dagmar> Like, enough to transcode h264 at 1080 to two different TVs at once 05:46 < Dexx1_> Whenever I try to do "gem update jekyll", I get: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/local/bin directory. -- any ideas how I could fix this? 05:47 < Dagmar> You generally need to be root to update the system 05:47 < Dagmar> ...especially if it's trying to write to /usr/local/bin 05:47 < ayecee> Dexx1_: run as a user with write permissions to that directory 05:47 < ayecee> Dexx1_: i mean honestly. you're still at the same point, with no progress? 05:47 < Pentode> we told you earlier Dexx1_ 05:47 < swift110> oh 05:48 < ayecee> Dexx1_: maybe you could tell us what you've tried since, and what happened when you did 05:50 < ayecee> (my bet is that this is macos and he's being coy) 05:52 < swift110> hmm 05:52 < swift110> https://www.youtube.com/watch?v=AUaJ8pDlxi8 05:52 < ayecee> swift110: no. 05:53 < ayecee> this is not your dumping ground for youtube urls. 05:56 < Dexx1_> ayecee: how do I safely change permissions to that directory so I can write to it? 05:56 < ayecee> Dexx1_: you normally don't. 05:57 < ayecee> Dexx1_: you would run the update process as root. 05:57 < Dexx1_> Right. I mentioned that I already did that succesfully. Root shows 3.8, but my regular user shows 3.0 (old version) 05:57 < Happyhobo> ayecee: what is the syndaemon command I need? It's frustrating to be writing and have the curse move somewhere else on the ss 05:57 < ayecee> Happyhobo: no idea 05:57 < Happyhobo> screen 05:58 < Happyhobo> wow 05:58 < ayecee> Dexx1_: i guess you must have said that earlier some time before you repeated the question without that detail. 05:58 < ayecee> Dexx1_: maybe uninstall the user-level version of jekyll. 05:59 < Happyhobo> Why is it Manx cats like to have their stubby little tails up when they turn around in your lap and put their bubtts in your face. 05:59 < ayecee> Happyhobo: because you touch yourself at night 05:59 < Happyhobo> Yes, yes, my day is made. I have seen a cat sphincter up close 06:00 < swift110> hmm 06:02 < dvvdv> which of these woudl you use as your main Linux OS? 06:02 < dvvdv> https://i.imgur.com/m9dgae5.jpg 06:02 < Pentode> o_O 06:02 < searedvandal> Dexx1_, if you follow the documentation for Jekyll, it's explained how to set up Jekyll without the need to install it as root. 06:03 < dvvdv> i cant decide 06:03 < Pentode> well they are both hideous but unity sucks worse than anything known to man, even more than the giant vacuum cleaner in space balls, so...\ 06:03 < dvvdv> the lastest ubuntu doesnt use unity 06:04 < Pentode> oh, well the one of the bottom looks like it. 06:04 < searedvandal> which of those? for all we know they can be the same linux distro. 06:04 < dvvdv> ubuntu vs mint? 06:04 < Dexx1_> searedvandal: I already had jekyll installed and I am following the docs, but have gotten stuck in this step. 06:04 < Happyhobo> Pentode do you know syndaemon? 06:04 < Dexx1_> (when attempting to upgrade) 06:04 < Pentode> Happyhobo, nope. 06:05 < Happyhobo> Oh jim jim jim\ 06:05 < Happyhobo> katie are you in Chesapeake or Virginia Beach? 06:06 < searedvandal> Dexx1_, if you set up GEM_HOME as the docs explain, gem update jekyll should update the jekyll in your GEM_HOME 06:06 < Dexx1_> ayecee: even if I remove and re-install, it keeps installing the old 3.0 version 06:11 < Dexx1_> searedvandal: I think it works now. BTW, do you use Jekyll? 06:11 < Dexx1_> (sounds like you do) 06:12 < searedvandal> not currently. but yeah, I've used Jekyll before. 06:12 < storge> jekyll - Simple, blog aware, static site generator 06:39 < mephux__> anyone running linux on their pixelbook using containers? Wondering if anyone else is having tty issues with gpg 06:45 < lord|> what's an easy way to intentionally congest a network 06:45 < lord|> i.e. send a shitton of udp packets 06:45 < moony> How many CPU cores can Linux handle at once 06:45 < lord|> moony: 4096? 06:46 < [R]> a million 06:46 < moony> wew 06:46 < moony> yea, 2048 in practice 06:47 < moony> thanks 06:52 < Triffid_Hunter> lord|: ping -f 07:01 < killown> https://www.reddit.com/r/linux/comments/8qdkd2/microsoft_already_knows_the_solution_switch_to/ lol 07:01 < killown> microsoft linux distro is comming any time soon 07:15 < Pentode> whew. glad thats over with. hopefully i can go without rebooting for atleast another month or two. 07:15 < [R]> yeah, screw security updates 07:15 < [R]> who needs em 07:16 < DildoSwaggins> windows 07:17 < Pentode> bah i don't have anything to hax0r anyway. 07:18 < jim> find a hackerspace near you 07:32 < foxmask> o/ 07:35 < foxmask> i'm on a remote connection to my office desktop and i would like to activate an usb stick I plugged in it but can't find the device and mount point I made yesterday. How can I enable it again as I dont have physical acces to remove and plug the stick again ? 07:36 < [R]> what do you mean activate? 07:36 < foxmask> i mean, as if I just plug in 07:37 < [R]> if the device isn't showing up in /dev 07:37 < [R]> then you broke somethign 07:37 < [R]> and it has to be removed 07:37 < searedvandal> and if it's showing up but not mounted, you'll have to manually mount it 07:38 < foxmask> ok so it's dead ... in the log I have "FAT: Directory bread(block xxxx) failed" 07:38 < foxmask> thanks for your replies 07:52 < za1b1tsu> can someone recommend me a nice CLI pdf reader? 07:52 < DildoSwaggins> hmmm, not sure if such a thing exists? 07:53 < Triffid_Hunter> za1b1tsu: strings :P 07:53 < DildoSwaggins> you would need to convert the PDF to text 07:53 < Triffid_Hunter> or at least html then feed it to links 07:53 < za1b1tsu> I don't mean voice reader 07:54 < za1b1tsu> like viewer, with vim-like bindings? 07:54 < Triffid_Hunter> who mentioned a voice reader? 07:54 < za1b1tsu> ah ok, so there is no such thing 07:55 < za1b1tsu> ok, so out of curiosity, why is it hard to read pdfs from the terminal? 07:56 < Triffid_Hunter> za1b1tsu: because they're basically a list of individual characters in specific locations, it's kinda hard to convert that to linear readable text in a sensible fashion 07:57 < searedvandal> you can use a tool like pdftotext 07:57 < za1b1tsu> I see, damn you learn something new everyday. And the text converters are accurate or buggy? 07:58 < DildoSwaggins> searedvandal +1 07:58 < DildoSwaggins> but za1b1tsu, the quality of the conversion will depend on the PDF 07:58 < searedvandal> or if you wanna see how a .pdf looks raw, do less file.pdf 07:58 < DildoSwaggins> some PDF's are comprised of images 07:58 < DildoSwaggins> whereas others are properly compiled with text, you will have better success w/ these 07:58 < DildoSwaggins> but the formatting may not be ideal 07:59 < za1b1tsu> I never used Latex but heard good things about it, can I convert it to latex? 07:59 < DildoSwaggins> like, if your PDF has 2 columns at the top, the text will return both columns as if it was 1 line 07:59 < DildoSwaggins> hmmmm 07:59 < DildoSwaggins> i dont know about from PDF to LaTeX, but if you get the PDF to Text, then you can do Text -> LaTeX 08:00 < Triffid_Hunter> za1b1tsu: and many PDFs are somewhere in between, should be able to get text out but it may be somewhat scrambled 08:06 < za1b1tsu_> yeah... I guess gui is the choice then :D 08:06 < za1b1tsu_> too bad 08:50 < Dagmar> That's a pretty big 'if' 08:51 < Dagmar> There is no requirement for the internal structure of PDF files to make anything resembling human "sense" 08:51 < Dagmar> It's almost more reliable to re-OCR them 08:55 < hexnewbie> Buy Acrobat (version supported by Wine), convert them to DOCX, use LibreOffice to export as .tex 08:56 < hexnewbie> Although for plain text with no hyphenation, the output of pdftotext is almost valid LaTeX 09:02 < sinatrablue> http://tinypic.com/r/2435h5j/9 09:02 < sinatrablue> am i doing it right? 09:13 < chomwitt> with evtest i can see the usb usage ids of my keyboard, also i've found the keycode->keysum related files. But where is the mapping scancode(usb usage id) -> keycode ? 09:21 < psyk3d> hi 09:22 < psyk3d> Does anyone know how we can change wallpaper in linux manually 09:22 < psyk3d> I mean without using feh or nitrogen etc 09:22 < sinatrablue> what de? 09:23 < kirk781> psyk3d, won't it depend on the desktop environment? 09:23 < psyk3d> I use i3wm 09:23 < Triffid_Hunter> psyk3d: xsetroot 09:23 < Triffid_Hunter> psyk3d: unless you have a WM/DE with its own background thing that overrides it 09:24 < psyk3d> I think i3wm doesn't provide a background 09:24 < well_laid_lawn> most tilers don't 09:24 < sinatrablue> Ah i3 doesnt provide it 09:24 < sinatrablue> you need to edit the x11 root window 09:25 < psyk3d> Ok, Ill check xsetroot out 09:26 < sinatrablue> feh or xsetroot 09:26 < psyk3d> sinatrablue: hows arch treating you? 09:26 < sinatrablue> psyk3d, Good so far, i actually really like it 09:27 < sinatrablue> KDE is a little buggy, but thats not arch's fault 09:27 < psyk3d> nice 09:45 < system16> hi. i have installed xubuntu on a usb drive. it boots fine but its super slowww it takes like 10 min for it just to load desktop icons. is this because of the usb drive ? it uses usb 2.0 09:46 < system16> its not live cd 09:46 < DildoSwaggins> yes, it's slower because of the USB 09:46 < paulcarroty> system16, usb2 is slow like shit 09:47 < system16> so if i install xubuntu on a usb 3.0 drive, things will go faster ? 09:47 < paulcarroty> of course 09:47 < DildoSwaggins> yes, as long as you plug that usb 3.0 drive into a usb 3.0 port 09:47 < system16> and btw how can i see disk activity in linux (im a windows user so im not a linux pro) 09:47 < paulcarroty> iotop 09:48 < system16> i want to avoid terminal as much as possible 09:48 < paulcarroty> not in Linux, buddy 09:49 < system16> i know some really basic stuff tho like cd,cp,pwd etc. 09:49 < system16> so sudo -i iotop ? 09:50 < paulcarroty> yep 09:50 < system16> k thanks 4 ur help 09:50 < paulcarroty> nvm 09:55 < system16> if linux is free then how they make money ? linux doesnt show ads on desktop. 09:56 < Pentode> there is a foundation that takes donations. companies that use it in their product charge for services and support. 09:56 < DildoSwaggins> because many big corporations depend on open-source software, such as Linux, they often fund development of it 09:57 < system16> so linux doesnt sell private info to advertisers like most other companies ? 09:57 < Pentode> ^ most donations come from said corporations 09:57 < DildoSwaggins> and yes, like Pentode said, there are enterprise Linux distros that come w/ support 09:57 < notmike> Um, no 09:58 < Pentode> no thats google and facebooks job 09:58 < Pentode> they have that whole market cornered 09:59 < system16> yup. reality is sad 10:01 < Pentode> and the more people use their services and the more money they make the better they get at figuring out "who you are, and what you like" and ever more valuable that data becomes. 10:01 < Pentode> vampires 10:02 < hackinghorn> what distro should I start with when using linux 10:02 < mutante> Debian. /me closes case 10:02 < Pentode> debian or debian based is a good start 10:03 < mutante> except if you do "debian based" you dont get support in #debian. so... Debian 10:03 < Pentode> you'll eventually figure out what you like, though. 10:03 < hackinghorn> ah, thanks 10:03 < Pentode> just don't tell them, then. ;) 10:04 < mutante> they will see it as soon as you start asking about PPAs and synaptic and pastebin stuff 10:04 < Pentode> hah 10:05 < oerheks> or use a fork of a fork, like mint, much more fun 10:06 < system16> fork ? i thought fork is for eating stuff 10:06 < Pentode> a fork of a fork is a fork ofork. but everyone knows a fork's a fork.. 10:06 < mutante> or.. realize that you can install different window managers on Debian.. and there is no need to have a separate distribution to replace the window manager 10:06 < oneko> ofork ? We have a word like that ? 10:07 * system16 .exe (.deb) has stopped responding 10:07 < hackinghorn> mmm 10:07 < mutante> what exacly is more "fun" about using something that copies all the packages from Debian and then changes a few random settings.. not sure :) 10:07 < hackinghorn> sweet mutante 10:08 < system16> ubuntu is the best 10:08 < psyk3d> system16: depends on who you ask 10:08 < system16> looks good. feels good. and its EZ to use 10:08 < Pentode> everything depends on who you ask. that's the beauty of it. 10:08 < psyk3d> looks good - any distro can look however you wan 10:08 < psyk3d> want* 10:09 < psyk3d> feels good - I dont know how you can feel a distro? you run you finger over a live cd and feel for grooves? 10:09 < Pentode> well in that case we should all still be using SLS. 10:10 < mutante> just install the WM you like.. no point in creating all those distros. imho it's more for the ego of people who like to say they made their own distro 10:11 < psyk3d> lol use lfs :P 10:11 < Pentode> lol 10:11 < system16> i meant its not that hard to use 10:11 < mutante> flawed comparison. all you have to do is select a damn package name.. 10:11 < psyk3d> I think the major difference between distros is their package manager, and init system 10:12 < Pentode> let's not get into one of those arguments. 10:12 < psyk3d> yea :D 10:12 < Pentode> it makes everyone grouchy. 10:12 < mutante> ok, keep spending time on trying to find the "best distro" and use something obscure and then live without the support.. that's what a newbie needs, right 10:12 < DildoSwaggins> fuck you, no it doesn't 10:13 < psyk3d> someone's triggered already :D 10:13 < deniska> The major difference between distro is their default wallpaper 10:13 < sauvin> DildoSwaggins, mind the language and the attitude. 10:14 < shrdlu68> How am I supposed to heat my house if I don't use a source-based distro? 10:14 < mutante> hackinghorn: best you can do is idle in this channel and watch this discussion repeated over and over again.. then you will see .. and meanhwile ..just install any of the major distros.. it doesnt matter for now 10:14 < psyk3d> I say if you're new to linux, just install ubuntu! after you've had some experience, get rid of ubuntu and use another distro 10:14 < Pentode> I won't disagree that there are too many "xerox distributions" out there, though they don't _all_ fall in this area. 10:15 < sauvin> shrdlu68, do what I do, use a retro computer with a 21" CRT. 10:15 < mutante> psyk3d: or just.. install Debian and 10:15 < deniska> shrdlu68: cryptocurrencies \o/ 10:15 < psyk3d> Ubuntu has a large n00b friendly community 10:15 < deniska> If you are new to linux install arch or gentoo. Once you are experienced, install ubuntu 10:16 < Pentode> apparently on linus tech tips they connected an entire radiator to a graphics card cooler and managed to use it as a heater effectively, lol. 10:16 < psyk3d> shrdlu68: lol 10:16 < mutante> If you are new to Linux, spend the first 6 months in tryign to find the "best". dont install anything 10:16 < DildoSwaggins> sauvin, i apologize, it was meant to be a joke that just came out wrong. I was trying to be funny with " it makes everyone grouchy." 10:16 < Pentode> DildoSwaggins, dry sarcasm is easy to miss on IRC. ;) 10:17 < dob1> hi, I would like to monitor if there is some disconnection of my internet connection, right now I am just using a "ping google.com", but there is something more efficent? I would like to see if the site doesn't respond in 10 seconds for example 10:17 < psyk3d> mutante: thats kinda counter intutive, don't spend 6 months finding a good distro, get one now and start using it 10:17 < psyk3d> and distro will teach you about linux basics 10:17 < storge_> whatever distro you do use, my advice is to focus on the commandline. it will make all other linux distros make more sense, and you'll see more easily what makes them alike and what makes them different 10:18 < sauvin> What storge_ said. You'll furthermore have a LOT more power under your fingertips. 10:18 < mutante> psyk3d: yes, i switched to sarcasm to make him stop obessesing over the #1 newbie question and just start 10:18 < psyk3d> lol sry then 10:19 < sauvin> psyk3d, "sorry", not "sry". 10:19 < mutante> dob1: you should use the TCP protocol instead of ICMP (ping). it's possible that firewalls drop ICMP while TCP works fine 10:19 < storge_> laughing out loud, not "lol" 10:19 < mutante> dob1: so that would mean "mtr" for example 10:20 < mutante> dob1: "mtr google.com" . if you have a GUI it is a GUI window 10:21 < dob1> mutante, I take a look 10:22 < heftig> mtr uses icmp by default, you need to specify --tcp (and probably also run as root) 10:22 < mutante> oh, sorry, yes. ^ use tcp 10:23 < mutante> i was thinking of "tcptraceroute" . you can use that too 10:25 < dob1> ok ! 10:28 < password2> hi , what does linux use as a newline marker again? 10:29 < EriC^> \n ? 10:30 < password2> i copied batch files fromwindon't and nw when i run them it says '\r' command not found 10:30 < EriC^> there are some tools that convert windows to linux 10:30 < EriC^> dos2unix 10:30 < Armand> Hahahaa 10:31 < shrdlu68> tr -d \\r 10:31 < sauvin> I think Linux uses 0x0a. 10:31 < Armand> EriC^: I understand what you're trying to say, but that came out SO wrong! :P 10:31 < password2> shrdlu68: and the filename? 10:32 < shrdlu68> Filename? 10:32 < EriC^> password2: yeah add that to the end 10:32 < Pentode> password2, as in *.bat files? you realize they wont work, right? 10:32 < password2> eh ,sh files 10:32 < Pentode> oh ok 10:33 < password2> *.sh so shell , soryy my mind autocompleted the wrong word 10:33 < Pentode> i thought you went mad 10:33 < password2> tr does not seem to take a file? 10:33 < sauvin> So pipe it! 10:33 < shrdlu68> tr -d \\r < file 10:34 < password2> and tehn >file to pipe it out again? 10:35 < shrdlu68> Yep, or use sed and edit in-place. 10:35 < password2> wait no my file got emptied 10:35 < password2> script runs faster than ever , also does nothing 10:36 < pankaj_> I want to insert some text above the login prompt so that whenever I login before that above the '$USER Login ' that text appears. What is the text file that controls the behaviour? 10:36 < Pentode> pankaj_, /etc/motd 10:37 < EriC^> pankaj_: which os? 10:37 < j1745-26> pankaj_ /etc/issue 10:38 < pankaj_> EriC^: Archlinux 10:38 < Pentode> oh, that's been changed _too_? 10:38 < j1745-26> /etc/motd prints after login 10:38 < Pentode> oh yeah 10:38 < Pentode> forgot, thanks 10:39 < pankaj_> j1745-26: Yes, it is what I want. 10:40 < password2> ok , so somehow tr don't like it when i pipe from the same file I['m piping to 10:40 < password2> i guess it clears teh outfile first 10:40 < pankaj_> j1745-26: But just if I want to run a command for that view I want. how to do that? 10:40 < shrdlu68> password2: Not just tr, piping doesn't work like that. 10:41 < Pentode> password2, yeah that's not gonna work. 10:41 < shrdlu68> Piping doesn't work sequentially. 10:42 < markus_d> If files have 744 rights and I am root should I be able to change them (they do not belong to root)? Is there a difference between sudo to change them and being root? 10:42 < j1745-26> pankaj_ you want to run a command before login? 10:43 < EriC^> markus_d: yeah you should be able to change them 10:43 < pankaj_> j1745-26: Yes, like the user name is printed 10:43 < pankaj_> j1745-26: Sorry, my name is printed 10:43 < EriC^> markus_d: if sudo gives you root privileges then it's not that different, possibly some environment variables and stuff like that are different depending on the sudo options you used 10:44 < j1745-26> pankaj_ there is some escape sequence to put in /etc/issue that resolves to your name i think 10:44 < j1745-26> but i don't think you can run a command 10:45 < pankaj_> j1745-26: OK. I have echoed the text (which was a pictures made from ascii characters) appended to /etc/issue 10:46 < pankaj_> j1745-26: But I now want it like: After I login the name of the user gets printed like "Welcome $USER" 10:46 < j1745-26> pankaj_ here's a little guide: http://linuxfromscratch.org/blfs/view/svn/postlfs/logon.html 10:46 < Pentode> pankaj_, mine has a \l at the end of it. maybe that's it? 10:47 < Pentode> it looks like this: Ubuntu 16.04 LTS \n \l 10:47 < markus_d> EriC^: I get the error that I only have the right to read the directory 10:48 < j1745-26> pankaj_ if you want it after the login you have to put it /etc/motd 10:48 < password2> yeah , i got it to work 10:48 < password2> i just piped to a new file 10:48 < password2> my script is now runnign fine 10:49 < pankaj_> j1745-26: OK. Worked 10:49 < crankslider> https://www.preining.info/blog/2018/06/microsofts-failed-attempt-on-debian-packaging/ 10:50 < pankaj_> j1745-26: What is the way to add color to text to console or tty. 10:51 < j1745-26> pankaj_ do you mean on the prompt? 10:51 < j1745-26> or like writing in a text editor? 10:52 < pankaj_> j1745-26: Yes 10:52 < pankaj_> j1745-26: Like decoration so that it looks good. 10:52 < shrdlu68> pankaj_: https://en.wikipedia.org/wiki/ANSI_escape_code 10:53 < DildoSwaggins> script runs faster than ever , also does nothing 10:53 < DildoSwaggins> lol 10:53 < j1745-26> pankaj_ https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/ scroll down to Add colors to the prompt 10:54 < pankaj_> j1745-26: OK 10:54 < jason85> Has anyone managed to run WoW with wine? 10:54 < pankaj_> j1745-26: It would be nice if I could say 'Welcome $USER' in /etc/motd based the username that logs in. 10:55 < j1745-26> pankaj_ you can add that to the .profile or .zprofile 10:56 < j1745-26> I think there's some env variable you can use 10:57 < pankaj_> j1745-26: Yes, but how 10:57 < j1745-26> open .profile in a text editor and add in the last line echo 'Welcome $USER' 10:58 < j1745-26> edit .zprofile if you use zsh instead of bash 10:58 < j1745-26> put it in .bashrc to display the message in the terminal too 10:59 < uselessPos734> so linux users hate installation wizards. but why ? i cant see a problem with wizards 11:00 < j1745-26> uselessPos734 what installation wizards? 11:00 < Pentode> package managers are wizard enough 11:01 < uselessPos734> j1745-26, its a windows thing. u go to a website>>click on the download link>>a wizard pops up 11:02 < Dagmar> "Would you like to install our malware for free? Choose Y)es! or S)ure! 11:02 < shrdlu68> uselessPos734: https://www.reddit.com/r/linux/comments/8q92hs/microsofts_failed_attempt_on_debian_packaging/ 11:04 < uselessPos734> yes. microsoft tried this linux idea. they made an app called windows store (i cant remember the name) but it sucks 11:05 < j1745-26> uselessPos734 we don't talk of the devil here 11:07 < uselessPos734> oh 11:12 < MarkusDBX> is there any DIY selfhosted "serverless/lambda" project out there? Just want a serverless-style interface for a docker cluster I guess. 11:17 < phob0s> hello 11:18 < phob0s> ip netns add 123 && ip netns exec 123 iptables-save && ip netns del 123 11:18 < deim0s> Hello 11:18 < phob0s> Why I dont have output of iptables-save there? 11:18 < phob0s> if I do "ip netns add 123 && ip netns exec 123 iptables -L &>/dev/null && ip netns exec 123 iptables-save && ip netns del 123" 11:18 < phob0s> I have output ? 11:21 < Skunky> phob0s: but... you won't have any iptables rules, you just created the ns... 11:28 < phob0s> but I have some default values like: :INPUT ACCEPT [0:0] 11:28 < mcdnl> those are counters 11:29 < phob0s> why they appear if I add "ip netns exec 123 iptables -L &>/dev/null" 11:29 < phob0s> and there is nothing if I ship that command? 11:29 < phob0s> s/ship/skip 11:30 < mcdnl> because netspace 123 doesnt have rules? 11:30 < dbolser> am I being dumb? 11:30 < dbolser> The file is g+rw, but I can't change permissions or ownership 11:30 < phob0s> in both cases it does not have any rules 11:30 < dbolser> (I'm in the same group) 11:31 < mcdnl> only root changes ownership 11:31 < dbolser> weird 11:31 < phob0s> but the longer command provides some output 11:31 < mcdnl> and only owner changes perms 11:31 < dbolser> can I change group level permission? 11:31 < dbolser> so I can delete and re-create the file, but not change ownership? 11:31 < mcdnl> phob0s: iptables-save prints the current rules 11:31 < mcdnl> in "save" format 11:31 < mcdnl> you have to save them in a file 11:32 < mcdnl> for the "standard" ns its stored in /etc/iptables/rules.v4 11:32 < mcdnl> havent worked with netspaces in linux so i dont know how does it work for netspaces 11:32 < dbolser> mcdnl, thanks for help 11:33 < mcdnl> yes dbolser, even if it doesnt make sense in this situation, it has a reason 11:33 < phob0s> when I did strace, iptables-save had nothing to read from socket, so maybe some delay is needed to get iptables-save state after ns creation .... 11:34 < mcdnl> no problem btw 11:34 < mcdnl> socket? why would iptables-save read a socket? 11:34 < mcdnl> iptables-save extracts the in-memory rules and prints them in "save" format 11:35 < mcdnl> "ip netns add 123 && ip netns exec 123 iptables -L &>/dev/null && ip netns exec 123 iptables-save && ip netns del 123" 11:35 < mcdnl> shouldnt have output as the ruleset for the newly created namespace will be empty 11:36 < mcdnl> maybe not empty but no rules at all, just the counters 11:36 < phob0s> yes 11:36 < phob0s> exactly 11:36 < phob0s> but when I do without "ip netns exec 123 iptables -L &>/dev/null" I do not see even counters. No output 11:36 < phob0s> that is my question 11:36 < mcdnl> well, you create a new namespace "123", list the rules and send output to null (dunno why), then export them to save format and then delete the namespace 11:37 < mcdnl> because you are redirecting output to /dev/null 11:37 < mcdnl> remove the redirection 11:37 < mcdnl> and you'll see output 11:37 < phob0s> you dont get my point 11:38 < phob0s> can you run both commands 11:38 < phob0s> and see difference ? 11:40 < mcdnl> dont do && to chain commands 11:40 < mcdnl> cmd1; cmd2; cmd3 11:40 < phob0s> that doesn't change anything in this case 11:40 < phob0s> :) 11:41 < Armand> Chaining via && is perfectly acceptable in most cases. 11:42 < Armand> Cheatsheet: 11:42 < Armand> A; B # Run A and then B, regardless of success of A 11:42 < Armand> A && B # Run B if A succeeded 11:42 < Armand> A || B # Run B if A failed 11:42 < Armand> A & # Run A in background. 11:42 < mcdnl> unless a bad or inusual return code from one of the commands stops the chaining 11:42 < Armand> Context is for Kings. 11:43 < mcdnl> yeah, circumstantial 11:43 < mcdnl> phob0s: i dont get any output either, dunno why 11:44 < mcdnl> haha, i found your question on unix stackexchange 11:44 < Armand> <mcdnl> yeah, circumstantial < Very much so. 11:45 < mcdnl> phob0s: either it takes a while or until you dont add or query rules, iptables-save doesnt output anything 11:45 < mcdnl> seems so 11:46 < mcdnl> (probably until you dont use the firewall chains they don't get created as there are no default rules) 11:48 < DildoSwaggins> Chaining via && is perfectly acceptable in most cases. 11:49 < DildoSwaggins> Only when each sequentual command depends on the one before it returning 'true' 11:49 < DildoSwaggins> in `A && B && C`, B will only run if A completed successfully 11:49 < DildoSwaggins> if you dont care about what each command returns, then you need to chain then w/ a ; 11:49 < DildoSwaggins> A; B; C 11:50 < searedvandal> nice little cheatsheet you shared there Armand 11:50 < DildoSwaggins> oh 11:50 < DildoSwaggins> i guess i should have scrolled up a bit ^^ 11:51 < DildoSwaggins> but yes, that cheatsheet is perfect 11:52 < Armand> :) 11:52 < Armand> Google ftw 11:53 < mcdnl> this is one good example of the use of both && and || 11:53 < mcdnl> also, nifty way to check if a port is open without netcat/nc/telnet 11:54 < shrdlu68> (useless use of nc) 11:54 < DildoSwaggins> phob0s: either it takes a while or until you dont add or query rules, iptables-save doesnt output anything 11:54 < DildoSwaggins> (probably until you dont use the firewall chains they don't get created as there are no default rules) 11:54 < DildoSwaggins> that's correct 11:54 < DildoSwaggins> if you do `man iptables-save` you will see that: 11:54 < mcdnl> hah, it was a wild guess 11:55 < DildoSwaggins> iptables-save — dump iptables rules to stdout 11:55 < DildoSwaggins> ip6tables-save — dump iptables rules to stdout 11:55 < DildoSwaggins> so if it doesn't output anything, that means there are not any iptable rules to output 11:56 < phob0s> default policy is not considered as rule ? 11:56 < mcdnl> unless you change it from accept 11:56 < TyrfingMjolnir> For openssl How do I do mulitple IPs( one public and 3 local IPs ) for the same device cert? 11:57 < TyrfingMjolnir> CN=? 11:57 < TyrfingMjolnir> Multiple NICs on the same node, i e 11:58 < mcdnl> why use ips? 11:58 < mcdnl> use a domain name 11:58 < Armand> Because an FQDN still needs to resolve to an IP, no ? 11:58 < mcdnl> so what? certificates are issued for fqdns 11:59 < tds> you can use an IP as a SAN, it's pretty unusual though 11:59 < Armand> Indeed... Just seemed a little rhetorical. lol 11:59 < shrdlu68> IPs are perfectly legitimate. 11:59 < DildoSwaggins> it needs to resolve to an IP, yes, but dont use IPs in the certificate 11:59 < tds> ie cloudflare did it for https://1.1.1.1 11:59 < mcdnl> that was a bad idea 11:59 < mcdnl> well not 11:59 < mcdnl> but thats a special case 11:59 < mcdnl> xD 12:00 < shrdlu68> TyrfingMjolnir: Not sure how to do it with openssl, try cfssl? 12:00 < inthl> I have hosts with lots of files on their filesystems, all ext4 and I do have the issue that the systems I/O causes slowdowns. this is nothing to wonder about, but I noticed that the buff/cache is not exhausted as it should be. The hosts have 64G of ram, software running on it uses say 10G, the cache is only like 5G. now there are times when it becomes higher and the overall perforamance is really better, but then sometimes the caches dr 12:00 < inthl> op to just 5G. I wonder about this, since saying that, about 40G of RAM are free all the time. Now I followed most of the instructions given say here: https://unix.stackexchange.com/questions/30286/can-i-configure-my-linux-system-for-more-aggressive-file-system-caching?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa ...still I do not see that much caching happening, or when the cache raises to say 10-15G, it alm 12:00 < inthl> ost like gets truncated down to 5G automatically. can one help me please ajust these settings? I would prefer as much caching as possible since as mentioned I clearly see that this helps (a lot) 12:00 < mcdnl> anyway, if you need to use the same certificate for connections from outside (public ip) and for inside (private ips) just make the dns resolve to local ips when queried from inside 12:01 < mcdnl> inthl: take a look on btrfs 12:01 < shrdlu68> IIRC, Openssl asks for such details when generating a CRL. 12:01 < inthl> I can not switch TB of data on those fs that easily now. how do you think btfs would help here btw? 12:03 < mcdnl> i read something about it being good for that kind of situations 12:03 < mcdnl> just a suggestion though 12:10 < djph> inthl: what's happening when the caches "drop"? 12:11 < inthl> djph, hard to say, since the I/O is not constant, the access is very random, usually several hundred files per second out of a xyz million pool of files on the fs 12:12 < inthl> but it happens that I monitor lots of io-wait in say top 12:12 < inthl> then again: seeing on such a use case just 5G in buff/cache seems a little low to me 12:12 < djph> inthl: I meant that is is shortly after a reboot; or early in the day; or something else that'd indicate perhaps a cache-cleaning operation 12:13 < inthl> to my knowledge there is no cache-cleaning operation set up 12:13 < djph> I mean, I don't know of *nix "automatically" flushing the cache (unless there's some kind of a timer on it, that if you're not using it ... ) 12:15 < inthl> well that's what I am thinking of. look at the first answer of that stackechange discussion. I took over most of that, except vfs_chache_pressure (still 100, the default), and dirty_*_centisecs 12:16 < inthl> for *that* many I/O the hosts have, I see like 5-8G of caches at the moment, also clearly that it is decreases sometimes. Example: right now I see 8.02G, a feew seconds later it is 7.96, ..and stays there for a while. but again: over 40G of ram are availble 12:17 < inthl> I would expect this to constantly rise and rise until there is no more free ram 12:18 < inthl> ...where the caches are freed when other applications request more RAM 12:21 < djph> except that they also fall as data gets written to disk and "ages out" (that's all I can figure) -- ooh, found what might be the documentation 12:21 < djph> sysctl/vm.txt.gz 12:21 < djph> in the linux kernel documentation (part of the sourcecode) 12:22 < inthl> do you know perhaps where that data is stored, by means of a directory mapped in / somewhere? I am just thinking, maybe there is a privileges issue since I did change some chmods here and there for different reasons 12:23 < djph> in debian, linux-doc ... but that was an ancient forum post, so IDK if it's still there (still downloading) 12:25 < djph> yep, it's in there 12:26 < djph> /usr/share/doc/linux-doc-4.9/Documentation/sysctl/vm.txt.gz <-- after installation of the "linux-doc" package 12:28 < inthl> can you pastebin that somewhere perhaps? 12:33 < Daesh> kernel.org/Documentation 12:33 < felix_vs> Hi, I want to rename multiple files with one command e.g. I have directory with file1.txt and file2.txt , want to rename suffix from .txt to .md . I tried doing this with 'mv *.txt *.md' and wasn't able to. Figuring out how to make 'mv' do this: I read on unix.SE that 'mv' doesn't rename multiple files at once, and I should use 'rename' instead. Since I'd rather not learn more commands than necessary, I want verification: can 'mv' 12:33 < felix_vs> be used to do this or not? 12:33 < Daesh> err https://www.kernel.org/doc/Documentation/ 12:33 < Daesh> no need to pastebin something that is already online 12:33 < ananke> felix_vs: you can't use mv for it that way. you can use 'rename' tool instead though 12:34 < Daesh> note: `rename` can be one of many tools, all with vastly different behaviour 12:34 < Daesh> some distroes ships the util-linux rename, some ship perl-rename, some ships one of the bsd variants 12:35 < Daesh> so you have to read the manual for the one your distro ships 12:35 < felix_vs> Daesh: ah yes. I'm using Linux Mint and it ships with perl-rename 12:36 < felix_vs> Daesh: I wanted to use 'mv' for this, because it is universal command: GNU mv software AFAIK is ubiquitous 12:36 < Daesh> for loop then 12:36 < ananke> felix_vs: except you can't. not without additional steps 12:36 < felix_vs> ananke: yes. that's why I ask here; for verification! 12:36 < Daesh> for f in herpaderp; do mv "${f#//...}; done 12:37 < felix_vs> Daesh: hmm that's in bash script yes? 12:37 < Daesh> in whatever shell you are using 12:37 < Daesh> replace the ${} with the string processing required 12:40 < Daesh> ${f//.txt/.md} 12:40 < Daesh> see https://mywiki.wooledge.org/BashGuide/Parameters 12:40 < Daesh> er.. you want /% for obvious reasons 12:41 < felix_vs> Daesh: for FILE in DIR_PATH; do mv "${%f//.txt/.md}; 12:41 < felix_vs> Daesh: like that you mean? 12:42 < felix_vs> ops 12:42 < Daesh> don't use caps 12:42 < felix_vs> Daesh: for FILE in DIR_PATH; do mv "${%FILE//.txt/.md}; 12:42 < Daesh> caps is for session variables, use lowercase 12:42 < felix_vs> Daesh: ok 12:43 < felix_vs> Daesh: didn't want to use 'file' for fear maybe it is keyword in bash 12:43 < felix_vs> Daesh: and didn't want to shorten to 'f' because i never used this before so I won't shorten it right away 12:44 < Daesh> for f in *; do mv "$f" "${f/%\.txt/\.md}; done test with printf before you run with mv 12:44 < Daesh> (missing one ") 12:44 < felix_vs> Daesh: thanks for the suggestion 12:44 < felix_vs> Daesh: i'm not ready to dive into bash yet :-) 12:45 < felix_vs> Daesh: also not familiar with regex yet 12:45 < Daesh> see the guide I linked to, it is somewhat decent 12:45 < Daesh> https://mywiki.wooledge.org/BashGuide the full thing 12:45 < felix_vs> Daesh: alright i bookmarked and will revisit sometime hopefully :p 12:45 < felix_vs> Daesh: it's nice to know that i CAN do this... 12:46 < jim> here's some regexp, in which we're matching patterns: 12:47 < Daesh> if this is for some script then I would consider some other language than shellscript 12:47 < jim> the regexp: a just matches itself, and also abcd matches itself 12:48 < jim> why does it only match itself? because the chars: a b c and d have no special meaning in regexp 12:48 < inthl> well after reading all that I still do not know why caching is kinda like disabled. I also just played around with vm.dirty_ratio = 5 and vm.dirty_background_ratio = 5 just to see what happens, after sysctl -p and a few minutes of waiting, obviously nothing has changed with the buff/cached values 12:48 < felix_vs> Daesh: heh ye I remember doing something similar in non-shellscript (python) in the past... can't remember the syntax for the life of me ;-) 12:48 < jim> a{4} matches aaaa 12:49 < jim> felix_vs, with me so far/ 12:49 < jim> ? 12:49 < felix_vs> jim: wasn't following, sorry 12:49 < felix_vs> jim: didn't understand your 2nd sentence 12:49 < jim> which one? 12:50 < felix_vs> jim: 'the regexp: a just matches itself, and also abcd matches itself' 12:50 < jim> oh the one that starts "why....") 12:51 < jim> felix_vs, ok... the goal of regexps (for our purposes right now) is to match some text 12:51 < redredhathat> can I compile a wm myself locally and login into it all without sudo? 12:51 < Daesh> felix_vs: python pathlib is quite nice 12:51 < Daesh> https://docs.python.org/3/library/pathlib.html#module-pathlib 12:52 < jim> felix_vs, there are some chars in regexp that have special meaning, and rather than matching themselves, they have other effects 12:52 < felix_vs> jim: yea i know a bit about regex, but I hate memorizing syntax rules so i only do it when i have no other choice ;-) so i'd rather steal somebody else's ready-made regex after google-searching with me not using it often enough to warrant memorizing... 12:54 < jim> felix_vs, ok, so should I assume you don't want to do this? :) 12:57 < jim> felix_vs, lisp and scheme are said to have no syntax, other than the ones with combinations 12:57 < felix_vs> jim: yea sorry. i can see you're interested in communicating this information, but i'm the lazy type who can't stand listening to other people's normal-speech-pattern explanations. I can't sit through a mere 5 minutes lecture. I cope with it by creating my own resources 12:58 < jim> ok, thanks for letting me know 12:58 < felix_vs> jim: hopefully you're ok with no sugar-coating. :-s 13:00 < felix_vs> jim: i probably came across as anti-social on second read. tried to put it as neutral. 13:00 < jim> well what I'm ok with right now, is that you don't want to deal with syntax rules and lectures :) 13:00 < felix_vs> jim: yep! 13:00 < jim> not sure where the commas are in your last sentence :) 13:01 < felix_vs> i don't see commas in my last sentence 13:01 < felix_vs> which one? 13:01 < gotcha> hey guys, i have a harddrive connected to a pc and i booted using systemrescuecd, how can i access the internal harddrive? 13:01 < BluesKaj> Howdy folks 13:01 < jim> the one where you say "hopefully you're ok with no sugar-coating" 13:02 < jim> generally speaking, I'm ok :) 13:02 < jim> heya blues 13:02 < BluesKaj> Hi jim 13:04 < felix_vs> jim: "hopefully you're ok with no sugar-coating. :-s" no comma here 13:04 < jim> ok ok... what was the sugar coating? 13:07 < Yamakaja> Is there a good way to set the ip that an openvpn servers will use as the gateway for its clients? 13:09 < Yamakaja> Maybe my wording wasn't optimal, so lets describe it differently: An openvpn server will usually take one address in the range which is to be used for clients that is then sent to the clients as their peer address. How can i make that address fixed and/or set it the the first one in the subnet? 13:10 < spear2> what dotfile/script would i normally put the command 'setxkbmap -opion "ctrl:swapcaps"' if i want that to be the default for the system? 13:12 < spear2> -option 13:13 < shrdlu68> Yamakaja: Give it a one-address range? 13:13 < Yamakaja> Then i don't have space for clients - but seems that i've missunderstood something here 13:13 < Yamakaja> The server interface actually has the first ip in the range assigned, which is what i want 13:14 < spear2> i guess it needs to go in x windows configuration somewhere 13:14 < Yamakaja> The issue is: The server and client each have another (and different) ip out of that range assigned as the peer of the interface, which is confusing me 13:17 < tds> Yamakaja: can you upload a copy of the openvpn config? 13:18 < Yamakaja> it's just a normal "server 172.20.20.72 255.255.255.248" (172.20.20.72/29) 13:19 < tds> so does openvpn add an additional ip to the tun interface on the server? (as well as the first one in the subnet) 13:19 < redredhathat> how can i add the command "source activate base" to my zshrc? 13:19 < Yamakaja> tds nope 13:19 < redredhathat> When I add it to the top of my config, it says activate is not valid 13:20 < searedvandal> spear2, .xprofile or .xinitrc 13:20 < Yamakaja> On the server: inet 172.20.20.73 peer 172.20.20.74/32 scope global 13:20 < Yamakaja> Client: inet 172.20.20.78 peer 172.20.20.77/32 scope global tun0 13:22 < tds> hmm, is openvpn in net30 mode or whatever? 13:23 < Yamakaja> net30 mode? 0.o 13:24 < searedvandal> redredhathat, what should that command do for you? 13:25 < tds> oh yeah, apparently that's the default still, I see the same behaviour on one of my servers, adding topology subnet sorts it 13:25 < spear2> searedvandal: so i should not use /etc/X11/xorg.conf.d/00-keyboard.conf? https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Using_X_configuration_files (i'm not actually using archlinux) 13:26 < redredhathat> searedvandal start my python virtual env with conda 13:26 < searedvandal> spear2, that should work too. 13:27 < searedvandal> redredhathat, try conda activate base 13:30 < redredhathat> thanks searedvandal 13:30 < tds> Yamakaja: did switching the topology sort that? 13:30 < tds> I guess there's no harm in using net30 anyway, you just waste some address space 13:45 < pankaj_> How to decorate the login prompt in linux? 13:45 < EriC^^> the login prompt or command prompt? 13:45 < mcdnl> login prompt? the password: thingie? 13:46 < pankaj_> EriC^^: I am using linux. So, I do not know whether using 'command prompt' is good choice. 13:46 < stane1215> the terminal prompt or login manager? 13:46 < pankaj_> EriC^^: But yes, tty or console as you say it. 13:46 < mcdnl> depends on shell 13:47 < pankaj_> stane1215: That in tty. Like coloring and making it good looking like PS1 variable and other stuff 13:47 < mcdnl> take a look on zsh and powerline for example 13:47 < mcdnl> pretty and shiny and does the work 13:48 < pankaj_> mcdnl: OK. 13:49 < pankaj_> mcdnl: It looks good 13:49 < mcdnl> :) 13:52 < hackinghorn> Linus doesn't use Ubuntu or Debian 13:52 < hackinghorn> should I 13:54 < pxfgod> on *nix, there is a signal called EINTR. If a thread is blocked by a syscall, and an interupt occurs. The thread fall into kernel mode to deal with the interupt. and WHY should that syscall returned with EINTR? I mean that after dealing with interupt, it only needs to keep waiting until done. WHY return with EINTR to notify you to retry the syscall??? 14:01 < mawk> pxfgod: it only happens with long syscalls 14:01 < mawk> like read(), write(), etc 14:01 < mawk> and it's facultative, you can tell the signal handler to restart long syscalls instead of making them fail 14:01 < mawk> it's a feature to be able to interrupt long syscalls 14:01 < mawk> well not maybe the first intended use but it's a possible use 14:02 < mawk> sigalarm(42); if (long_syscall() >= 0) sigalarm(0) else puts("syscall took too long"); 14:06 < pxfgod> mawk, so it's a chance for user-mode signal-handler to run? Why not after signal-handler run, then, the thread automatically returns to kernel-mode and continue to wait syscall to be done??? 14:06 < mawk> I just said that's it's optional 14:06 < mawk> you can ask for that behavior if you want 14:06 < mawk> nobody's preventing you from doing so 14:07 < varshitbhat> what 14:07 < mawk> it's just that some people like their long syscalls to be interruptible by signals 14:07 < mawk> like read(), write() and all the I/O family 14:09 < pxfgod> mawk, I know. It's up to you to decide whether to restart. OS just provides you an oppotunity, right? 14:11 < mawk> yes pxfgod 14:12 < jozefk> o/ 14:12 < jim> hi 14:13 < jozefk> anybody knows a live distro which can boot with secure boot UEFI turned on, and with ddrescue package available, also that it can mount exfat formatted drives? 14:14 < mawk> ubuntu/fedora 14:14 < mawk> these are the only two I know with secure boot support 14:14 < mawk> because they got their keys signed by MS 14:14 < mawk> once inside just install ddrescue or whatever 14:15 < jozefk> then I would need wifi connection or cable to be able to install additional packages 14:16 < mawk> or put the package on a usb key, or anything 14:16 < gotcha> hey guys, booted using systemrescuecd, opened up GParted and one of the partitions has a key icon, i assume it means its mounted but i cannot unmount it 14:16 < gotcha> any ideas? 14:17 < jozefk> gotcha, what message do you get when you try to umount it? 14:18 < gotcha> jozefk, GParted is showing that partition /dev/sda5 Mount Point is /dev/md2 .. when i try to umount it just says "not mounted" 14:18 < jozefk> try to do it in terminal 14:19 < jozefk> close gparted first 14:19 < gotcha> jozefk, yes, im doing it in terminal, GParted is not giving me an option to unmount it.. its greyed out 14:19 < gotcha> ah ok 14:19 < gotcha> let me try again 14:19 < goodafternoon> hi there 14:19 < gotcha> jozefk, same thing 14:20 < goodafternoon> someone can explain me the differences between VIRT, RES and SHR columns of htop command please ? 14:20 < jbit> gotcha: if /dev/md2 is what's using the partition, it means it's part of a RAID array or an LVM group 14:20 < jozefk> first type "mount" and see what is mounted and where 14:21 < gotcha> jbit, it was part of a raid, yes 14:21 < gotcha> im trying to format it to use it on another system 14:22 < NetTerminalGene> i learnt that ISPs and the internet sites knows how long you are staying that site. i sthis measured with java script? if i disable js, can they still know how long i stayed the site? 14:22 < NetTerminalGene> is this* 14:22 < gotcha> jozefk, when i run mount its not listed there 14:22 < jbit> gotcha: you'll need to tell linux to disolve the raid array before you can resize it 14:23 < gotcha> jbit, really? :s i have no idea how to do that 14:23 < jozefk> if it was part of RAID then I don't know how to do it 14:23 < jbit> gotcha: mdadm --remove /dev/md2 /dev/sda5 should do i think 14:23 < greenit> hi, is it possible to convert ttf-fonts to psf-fonts? I want to use hack ( https://sourcefoundry.org/hack/ ) on a headless server 14:23 < jbit> gotcha: i'm not sure if this will preserve data on the disk... so if you have data on it that you care a bout.. please backup! 14:24 < gotcha> jbit, yeah, the data already has been backed up to a larger drive. I do not mind completely removing all the data from the drive 14:26 < jbit> gotcha: if you want to start from scratch you can do something drastic like: sgdisk --zap-all /dev/sda 14:26 < jbit> gotcha: that will remove all partitions for the drive 14:26 < jbit> you probably want to reboot after running that 14:26 < gotcha> jbit, mdadm did not work, says hot remove failed cuz the device or resource busy 14:28 < jbit> gotcha: hrm.... maybe: mdadm --fail /dev/md2 /dev/sda5 and then try the remove? (if you don't want to do --zap-all) 14:28 < jbit> (it's been a while since i've touched mdadm... i usually use ZFS for my raid needs these days :) ) 14:30 < gotcha> same 14:30 < gotcha> ill just try the zap-all 14:31 < gotcha> "GPT data structures destroyed!" 14:31 < gotcha> always scary even when done on purpose 14:31 < jozefk> haha 14:33 < gotcha> thanks for the help guys 14:33 < gotcha> i guess this is why when i tried to clone another drive to this drive using Clonezilla it failed 14:34 < jbit> gotcha: make sure you reboot after zapping, not sure how the raid system reacts to things disappearing under it's feet :) 14:35 < gotcha> yeah, i rebooted and now GParted sees the full 6tb as unallocated 14:35 < gotcha> well, 5.46tb 14:36 < ALowther_> My Ubuntu OS won't boot. It keeps booting into grub prompt. I link the appropriate files and 'boot', then it sends me into initramfs prompt. I think from reading around the issue has something to do with a repartition I did last week where I took some of the space from the end of my main Linux FS partition....I have been trying to follow guides to fix it, such as 'resize2fs /dev/sda2', but that command tells me to run 'e2fsck -f / 14:37 < ALowther_> But that command forces me to abort because superblock reports a different size than the physical size. 14:37 < mawk> boot into the system, change the UUIDs in grub, in fstab, in the initramfs 14:38 < mawk> first is done with grub-mkconfig -o /boot/grub/grub.cfg, second is done in /etc/fstab, third is distro-dependant but in ubuntu I guess that you just rebuild the initramfs and it automatically detects the uuid, so you run update-initramfs -k all 14:38 < section1> i think that resizing the partition don't change the uuid. 14:38 < mawk> no, but the problem looks like an uuid that has changed 14:39 < ALowther_> I am on the same computer right now. I've booted into a Kali Live instance from a USB drive. Am I able to make these modifications from the terminal? Or do I need to boot into the grub prompt? 14:41 < section1> ALowther_, yes you can...check how to moutn your main linux part.. and chroot'ing to that mount. 14:43 < ALowther_> My fstab doesn't have much information in it. Is it supposed to? 14:44 < mawk> you're looking at the kali fstab ALowther_ ? or you've chrooted into your main system 14:44 < ALowther_> Yeah, whoops. Thanks. I'll look into how to do that now 14:47 < mawk> you mount the main system in some directory, mount the boot partition into the $system_mount_dir/boot directory, then you can start checking stuff 14:48 < ALowther_> The issue I am having is with /dev/sda2 14:48 < mawk> it's asking for a fsck right ? 14:48 < mawk> try to do it then 14:48 < mawk> if you have backups and all 14:49 < EvilRoey> it's asking for a fsck right ? <-- all. the. fsckin'. time. 14:49 * EvilRoey melts back into the wallpaper 14:49 < mawk> lol 14:49 < EvilRoey> :) 14:49 < GunqqerFriithian> instead of swearing just tell someone to go repiar their file system 14:49 < GunqqerFriithian> repair* 14:49 < ALowther_> mawk: I tried to run 'resize2fs' and it keeps telling me to run 'e2fsck', yes. 14:50 < mawk> then run it 14:50 < ALowther_> I did 14:50 < mawk> if you have backups of your data 14:50 < mawk> ah 14:50 < mawk> what did it say ? 14:50 < ALowther_> e2fsck 1.43.7 (16-Oct-2017) The filesystem size (according to the superblock) is 120934656 blocks The physical size of the device is 109731953 blocks Either the superblock or the partition table is likely to be corrupt! Abort? 14:51 < section1> do you use gparted for resizing ALowther_ ? 14:52 < ALowther_> I used parted from the command line, yes. 14:52 < nothos> ALowther_ Are you running e2fsck with the -f flag? 14:52 < ALowther_> But it's more of a "I used", the way you phrased the question would imply that I frequently do such things. :p. I am learning and don't know a lot about the specifics for partitions and partition tables, etc. 14:53 < ALowther_> nothos: Yes, the exact command I ran was 'e2fsck -f /dev/sda2' 14:53 < c06> can i ask libvirt (vm) related questions here 14:54 < c06> i enabled network boot for my libvirt vm i am unable to take the remote conole 14:54 < hackinghorn> Linus Torvalds doesn't use Ubuntu or Debian 14:54 < nothos> c06 don't ask to ask, just ask :P 14:54 < hackinghorn> should I use them 14:55 < section1> ALowther_, do you remmember what commands do you sue to resize the partition ? 14:55 < nothos> hackinghorn If they're going to fulfil your needs best use them 14:55 < section1> use* 14:55 < nothos> Just because Torvalds doesn't use them doesn't mean they're bad distros 14:55 < nothos> c06 what hypervisor are you using? 14:55 < c06> qemu-kvm 14:56 < c06> nothos: i am able to deploy vm and i installed the os 14:56 < ALowther_> section1: parted resizepart 14:56 < c06> nothos: using ssh i am able to login to the vm. i am making network changes so network is getting disconnected so i am trying for virsh console 14:59 < nothos> c06 Do you have the serial devices added to your VM? 15:00 < hackinghorn> nothos, alright, thanksss 15:00 < c06> nothos: yes, here u can find my xml file cmp001.vcee.local 33109eb7-5ae9-4af4-76ce-ffd31df1893f 42360832 42360128 12 /machine hvm