[00:02] Duckle: had to go afk, sorry.. still with you though.. I had a similar 'udev + user executed script' need for my semi-broken touchpad.. If you're willing to wait 10 minutes I'll make a paste adapted to your setup.. it uses a systemd service file instead of sudo in the udev rule, based on http://jasonwryan.com/blog/2014/01/20/udev/ [00:03] glitsj16: More than willing to wait, thanks a lot [00:04] Duckle: okay, no problem, dusting things off.. I'll report back here in a few [00:04] thanks man [00:07] Oh FFS. I'd have to compile my own kernel to do this. The hell is wrong with amd drivers. [00:16] Duckle: https://gist.github.com/glitsj16/000053cb1d6d9e5169c22ed1ccc4404d .. take a look at it, ask if something isn't clear etc.. [00:17] I'm using lubuntu and I can't disable my touchpad. I've tried 2 or 3 different apps, and a couple of terminal commands, but to no avail. [00:19] Duckle: You'll need to create that extra script I called /etc/mikkel/ios, chmod +x it and adapt the naming to whatever you prefer ofcourse [00:19] I'll give it a go. thanks :) [00:26] glitsj16: Do I have to reload the units ? [00:27] Duckle: 'sudo systemctl daemon-reload' should be all it takes.. the udev rule triggers the /etc/mikkel/ios script on both adding/removing your phone and runs the mount/unmount script .. that's the logic [00:28] Duckle: so you'll need to re-plug your phone [00:31] hmm, that doens't work. not even manually :/ [00:32] hmm for some reason that asks for my password [00:33] Maybe change "RequiresMountsFor" from /home/ to /home/mikkel ? [00:33] glitsj16: ^ [00:33] Duckle: let's go over it.. what happens when your phone is plugged in and you run 'sudo systemctl start ios-mount'? [00:34] ehm unit not found. odd [00:34] I did reload, lets see if I misspelled something [00:35] Duckle: wait, I made a mistake in the paste, apologies.. you need to caal the systemd scripts .service [00:35] right figured that out :P [00:36] I though I'd forgotten the extension. Hell we both did :P [00:36] you bumped into the worst helper possible I'm afraid :p [00:36] hah, ok well, now running that service does nothing [00:36] weird [00:37] well, we should be able to sort things out, sudo asking for a password we can deal with that [00:37] yeah that's because I derped and forgot that ofc systemctl needs a pass [00:37] it'll change users according to the unitfile === bazhang_ is now known as bazhang [00:38] Duckle: for testing, to check if the scripts get reached, maybe touch a file is your user dir somewhere in your ios_script [00:39] *in [00:40] no touchy [00:41] danm [00:41] /etc/mikkel/ios is executable right? [00:41] it's like the udev never runs [00:41] yea [00:42] when that didn't work I tried bypassing that file and just called systemctl start directly from the rule [00:42] I figure that'd be fine right? [00:43] yes it should [00:45] if the udev rule is still there it might interfer with manually running the commands, maybe try to uncomment both lines for now and replug your phone again.. sudo /etc/mikkel/ios mount [00:47] Hello hello...I seem to have done something dumb and would like some help cleaning up any potential messes :) [00:48] Monkeyhuouse: So, What did you do ? And what is the result ? [00:48] Duckle: ow you tried systemctl start .. in the udev rule? That doesn't work, although I don't know why to be honest [00:49] Well I have a modest laptop with a plain latest ubuntu (16.04?) that I just use as an extra interface for online stuff, text editing, and the occasional linux learning. I run updates every week. As far as I know, I don't do anything goofy or detrimental to the machine: poking around with it and junk. But for some reason, it offered a partial upgrade. [00:50] So I took it, thinking it wouldn't be any harm, and better than nothing. But now as I read up about it, it's apparently a bad thing to do! :( [00:50] After I install an i386 package with multiarch, how do I use it if I have the 64-bit version installed? [00:50] Hello, can I ask a question pelase [00:50] So I just want to know what to do to undo any potential damage of a partial upgrade. Could I roll back to my last backup or something? I've never had to do this before, Bashing-om [00:51] glitsj16: Progress. aparrently ifuse is not found [00:51] Duckle: odd, I assumed if your script works from terminal that would be already ok [00:51] a lot of the progams are locally compiled due to it being a new fix [00:52] I have bashrc append that folder to the path, but I guess systemd works with a different env [00:52] Excuse me, I'm so paranoiac about this, I'm so scared that my ubuntu system has been hacked, can someone help me please? [00:53] Duckle: that makes sense yes, you can add 'Environment=...' lines to the systemd units [00:53] I'll just export the paths and such at the start of the script [00:53] see if that works [00:53] Monkeyhuouse: What is done is done . No going back -- no re-do . We move forward . ' what results ' sudo apt update ; sudo apt full-upgrade ; sudo apt -f install ' ? [00:53] I'm using lubuntu and I can't disable my touchpad. I've tried 2 or 3 different apps, and a couple of terminal commands, but to no avail. [00:53] so what should I do? [00:55] Okay, Bashing-om: Did them all, a couple of things were 'automatically installed and no longer required', and otherwise all packages are up to date [00:56] Excuse me, can someone help me to know if my laptop is being remotely controled please ! :( [00:56] you could check /etc/apt/history.log [00:57] plaindave: have you tried xinput or synclient commands yet? [00:57] yeah, synclient worked once but it doesn't work now [00:57] i'm right now trying xinput [00:58] glitsj16: I think I'm going to give up on it for now [00:58] it's 03:00 here [00:59] Can you guys see my messages? [00:59] Duckle: I completely understand, may be wiser to look at it again with a fresh pair of eyes later, sorry I helped 'in-reverse' hehe [00:59] I can, dezde. I don't know how to help, though (I'm here to ask a question, too) [00:59] Oki thank you [00:59] heh It makes no sense glitsj16. I hope it does tomorrow :P [01:00] plaindave: determine the id number of your touchpad via 'xinput --list' and 'xinput --disable xx' === Mittens is now known as MittensAFK [01:00] dedze: hang on one sec [01:01] Duckle: get a good horizontal rest, see you around [01:01] glitsj16, yeah, i just tried that, but it didn't work [01:01] Hope you saw my response, Bashing-om ? [01:01] dedze: run the following in terminal (without quotes) "sudo apt install -y chkrootkit rkhunter && sudo chkrootkit && sudo rkhunter --update && sudo rkhunter --checkall -sk" [01:01] plaindave: is your touchpad listed in xinput at all? [01:01] and go to pastebin.com and copypaste the whole output to that and say the link [01:01] yes r3muxd thank you [01:01] ok [01:01] glitsj16, yeah, it's number 14 [01:02] does anyone know how to run a version of a multiarch program if 2 architectures are installed? === MittensAFK is now known as Servant [01:02] plaindave: any return from the command 'xinput --disable 14' ? [01:02] Monkeyhuouse: Then -f install returned a bunch of zeros .. yes ? Now does ' sudo dpkg -C ' just return to a prompt ? [01:02] Hi! I think I have screwed up my Ubuntu drive. When I boot my laptop, it asks for the password to /dev/sda3. Once I enter it, the computer is stuck and nothing happens anymore. I booted from a LiveUSB of Ubuntu. I unlocked my crypted partition, compiled the latest e2fsck, and ran it. It says everything is clean. I think what damaged my install is that I was backing up a Wii game, and I pressed the wrong button in the program that was do [01:02] to wbfs... The system was running fine until I had to reboot. What now? [01:03] glitsj16, no return text, no [01:03] it tried to convert `/` to wbfs* [01:03] have you tried pressing enter? i'm pretty sure your password won't appear at the prompt [01:03] oh [01:03] that will probably ruin things [01:03] try holding shift, hit e, and go to the end of the linux line and type emergency [01:03] hfp: you compiled e2fsck yourself? why? [01:04] plaindave: I assume you've already tried 'synclient TouchpadOff=1'? [01:04] hfp: what is wbfs? [01:04] glitsj16, yeah, i just did again, but it doesn't work either [01:04] maybe a chain saw will do it :) [01:04] Bashing-om : Yes [01:04] wbfs is a filesystem for wii backups [01:04] hfp: okay, i found wbfs on wikipedia [01:05] No text or anything [01:05] legally obtained, of course [01:05] plaindave: looks like there's a setting in lubuntu overruling things, lol, the chainsaw yes that will work [01:05] tomreyn: because it said "/dev/mapper/ubuntu--vg-root has unsupported feature(s): metadata_csum; get a newer e2fsck!" [01:05] Monkeyhuouse: Should then have no issues :) . Package manager is in a happy state . === Servant is now known as MittensAFK [01:05] glitsj16, i bet you're right [01:06] r3muxd: it is indeed, it's a program so I can transfer my Wii discs to images. But there is an option to export them to a wbfs formatted drive... Not sure why it would target `/` by default but here we are. [01:06] try emergency mode [01:06] hfp: so the liveusb you booted from is older than the system you have installed? [01:06] then run "df -h" [01:06] tomreyn: yeah, it's 16.04 and I borked 17.04 [01:07] Excuse me r3muxd, should i copy and paste all the content of the terminal? [01:07] no [01:07] please go to pastebin.com [01:07] and paste it there, and hit paste [01:07] then tell us the url [01:07] or actually paste.ubuntu.co [01:07] Bashing-om : Awesome! Last question then: What should I do to correct whatever issue it was that necessitated the partial upgrade to begin with? [01:07] or actually paste.ubuntu.com [01:07] r3muxd: emergency mode + df -h is for me or someone else? [01:07] you [01:07] got it [01:07] hfp: i suggest you create a 17.04 bootable usb stick, boot off that,unlock your encrypted disk, then run fsck on that again. [01:08] my bet is that is that systemd hangs because there's no space on root [01:08] glitsj16, hey, thanks for trying. gotta go. [01:08] if you had your root partition encrypted, then get ready to chroot [01:08] Monkeyhuouse: Long good read about partial upgrades : https://ubuntuforums.org/showthread.php?t=1859240 . [01:09] hfp: you need to force the fsck then (while the file system is not mounted), otherwise it may not detect it as being corrupt [01:09] Oh I have to register? Aww.. [01:09] plaindave: no prob [01:09] Is there a public place to read that, Bashing-om? [01:10] alright let me try that, i'm on the broken machine now, I'll reboot [01:10] hfp_: i assume you just got disconnected. see irclogs.ubuntu.com for log. [01:10] so how can i use an i386 binary if i have both the i386 and amd64 binaries installed? [01:10] tomreyn: thanks [01:10] ok, just secondary computer, got it [01:11] Monkeyhuouse: Been too long - since I jouned the forum , but I am surprised that one has to register just to read . [01:11] dedze? [01:11] r3muxd: I think it's good: http://paste.ubuntu.com/25202042/ [01:12] did it get cut off? [01:12] anyone here develop windows apps on ubuntu's bash for windows? [01:12] Monkeyhuouse: Lemme log out of the forum .. and see what I can see . [01:12] Cut off? [01:12] cause i can't find windows.h [01:12] try sudo rkhunter --checkall -sk [01:12] Yes [01:12] there's no output from that command in the paste.ubuntu.com [01:12] ayjay_t: please /join #ubuntu-on-windows for that [01:13] thanks tomreyn [01:13] Oh shit there is a warning in red :'( [01:14] what is the warning? [01:14] Aloha, I need to custumize an ubuntu install dvd for it to boot a laptop with a custom set of programs. What is my weapon of choice? or what is my google term? [01:15] r3muxd: here is the paste : http://paste.ubuntu.com/25202060/ [01:16] /usr/bin/lwp-request [ Warning ] [01:16] This line :'( [01:16] dedze: should the system user 'ussop' exist there? is it legitimate? [01:16] what is the output of "file /usr/bin/lwp-request"? [01:17] ussop is my username [01:17] I think or the name of the computer [01:17] dedze: okay, the other thing to look into is 'Searching for Linux/Ebury - Operation Windigo ssh... Possible Linux/Ebury - Operation Windigo installetd' [01:17] I had to pick 3 different names while installing and i picked, monkey d luffy, roronoa zoro and ussop @r3muxd [01:17] some: https://help.ubuntu.com/community/LiveCDCustomization and https://help.ubuntu.com/community/InstallCDCustomization should get you started [01:18] How do I do this tomreyn ? [01:18] r3muxd by output you mean warning? [01:19] ok, so the operation windigo is a false positive [01:19] yes [01:19] dedze: i need to lookup how ebury works, forgot the details [01:19] glitsj16: Thank :) [01:19] run "file /usr/bin/lwp-request" [01:19] I write this in the terminal? [01:19] yes [01:19] file /usr/bin/lwp-request [01:19] ussop@Roronoa-Zoro:~$ file /usr/bin/lwp-request /usr/bin/lwp-request: a /usr/bin/perl -w script, ASCII text executable [01:20] ok, so can you put the output of "cat /usr/bin/lwp-request" into a paste? [01:20] Monkeyhuouse: I have a work-a-round to access the forum . working on it to get it exact for you . [01:21] it is here r3muxd http://paste.ubuntu.com/25202090/ [01:22] r3muxd, tomreyn: This is the error after I decrypt the drive http://imgur.com/a/UFhNV [01:22] ok, that just seems to be a shell script. you're good [01:22] dedze: sudo apt-get update && sudo apt-get install debsums && sudo debsums --all --changed | nc termbin.com 9999 | xargs echo 'Please paste this URL to the channel: ' [01:23] hfp_: https://askubuntu.com/a/752282 [01:23] Yes tomreyn [01:23] hfp_: i dont see an error there [01:25] tomreyn: is there a space between echo and '? [01:25] dedze: yes [01:25] Thank you [01:25] tomreyn: You don't see the picture I took of the display? [01:26] tomreyn: do I need to also write 'Please paste this URL to the channel: '?? I'm sorry if it's a dumb question [01:26] just paste the url it says to [01:28] hfp_: i do, but these warnings are normal if you have / on FDE [01:28] hmmm that doesn't look good... If I unlock /dev/sda3 (the data partition) and then look at where it's mounted (/tmp/data), it's empty... Did it wipe my `/`? [01:28] dedze: actually just do this and report the URL here: sudo apt-get update && sudo apt-get install debsums && sudo debsums --all --changed | nc termbin.com 9999 [01:28] your data partition would be / [01:28] tomreyn: I thnk it didnt work [01:28] did it have a url? [01:28] dedze: my bad, sorry, see above [01:29] r3muxd: I did cryptsetup luksOpen etc for /dev/sda3 and then mounted it at /tmp/data on the LiveUSB system. If I `ll /tmp/data`, it's empty [01:30] um. [01:30] hfp_: if you did cryptsetup on /dev/sda3 then to mount ther file system on it you would need to mount /dev/mapper/... [01:30] it *may* have been like a "rm -rf /*" [01:31] try ls -la /tmp/data? [01:31] tomreyn: http://paste.ubuntu.com/25202142/ I am not sure if it's finished but it's not doing anything more [01:31] I did `sudo cryptsetup luksOpen /dev/sda3 data` then I did `mkdir /tmp/data; sudo mount /dev/mapper/data /tmp/data` [01:32] and now if I `ll /tmp/data` there is nothing there... [01:32] but my system would have exploded if I rm -rf / while it was running, no? [01:32] hfp_: okasy, sounds correct. maybe unmount it again and e2fsck -f /dev/mapper/data [01:33] probably [01:33] unless it hit something like /dev/sda [01:33] did you terminate it partway through or something? [01:33] Me? No [01:34] Oh the process is still running it says when I try to close the terminal but it seems stuck [01:35] dedze:okay, run this now: sudo apt-get install pastebinit; sudo debsums --all --changed 2>&1 | pastebinit - [01:35] no I think it didn't mount altogether... If I try to umount /tmp/data it says not mounted [01:35] and mounting /dev/mapper/data returns unknown filesystem LVM2_member [01:35] that scared me for a sec... getting / wiped is no fun [01:36] hfp_: so you actually have an LVM2 layer on top of the crypto layver [01:36] Oh r3muxd quitted, can I send him a message that he can see when he will rejoin? [01:36] hfp_: sudo lvmdiskscan [01:37] dedze, use memoserv [01:37] dedze, /msg memoserv help [01:39] Thank you bazhang [01:39] tomreyn: http://termbin.com/lz63 [01:40] tomreyn: it is stuck too [01:41] hfp_: /dev/ubuntu-vg/root will contain your root file system (on top of an LVM2 and a dmcrypt-luks layer and a partition) [01:41] dedze: where? [01:42] dedze:debsums can take a while especially with slow storage === some is now known as tharkun [01:42] tomreyn: I don't understand how to access the partition though. /dev/ubuntu-vg/root isn't a normal directory, it points to ../dm-1 which itself is a special dir [01:42] tomreyn: Setting up pastebinit (1.5-1) ... here but I the [01:42] I mean not a dir either [01:43] hfp_: unless you mean to wipe or copy it, just treat it like a partition you can mount [01:43] Arg I typed something in the terminal by mistake and now its stopped for good i will retype the command [01:43] tomreyn: ok so I have to mount /dev/ubuntu-vg/root somewhere to see my files and run fsck on it? [01:43] hfp: ...or a partition containing a file system which you want to e2fsck (while it's not mounted) [01:44] tomreyn what are we trying to do exactly? [01:44] hfp_: you would have to mount it somewhere to inspect its contents, right. but i'd e2fsck -f it before you mount it. [01:45] tomreyn: alright fsck -f found a few errors, I fixed them, a second run finds no errors... Is it safe to attempt to mount it now [01:47] dedze: debsums is a utility which checks, for all installed packages, whether the files which came with it have been modified (by you or a potential intruder). [01:48] dedze: we are trying to run debsums to check which modifications have been made and then try to get its output posted to a pastebin [01:48] !pastebin | dedze [01:48] dedze: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [01:49] tomreyn: http://paste.ubuntu.com/25202250/ Maybe I failed something [01:50] !pastebinit [01:50] pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit [01:50] tomreyn: Oki I think I kind of understand what we are doing [01:51] tomreyn: It did something new : http://paste.ubuntu.com/25202259/ [01:53] dedze: okay, if that's the entire output generated by " sudo debsums --all --changed" then i don't think you have an ebury infection there [01:54] Thank you tomreyn, I'm super new to Ubuntu and I did something stupid, someone I met on discord gave me a link to put into my browser starting by javascript: and I did it, do you think my computer could have been infected this way? === DogHackit_ is now known as DogHackit [01:57] dedze: possibly, yes. [01:58] So I already reinstalled Ubuntu since that [01:58] dedze: if you still have the exact code you were asked to put into the web browser, please paste it to pastebin, too [01:59] Actually it was taking the code from a website I think [01:59] dedze: which web browser did you paste it into? [01:59] There was a URL on it [01:59] firefox but I allowed the website in the link with noscript [02:00] dedze: unless you took measures to allow the javascript: handler, current versions of firefox would not execute it. [02:00] But actually, the script did something in the game === tharkun is now known as tharkun__ [02:01] It was about a browser game, and the purpose of the script was to write an identification code when we meet our teammate so we know for sure its not someone outside of our team === tharkun__ is now known as tharkun_ [02:01] So I think the code was executed [02:03] Monkeyhuouse: Sorry. I have been unable to come up with an exact means to obtain for you a meaningful result . [02:03] My last question and then I will stop bothering you, tomreyn, if I reinstall Ubuntu, do I get rid of any potential infection or not necessarily? [02:05] It still wont boot tomreyn. I tried mounting the root partition, chrooting in it, running update-initramfs but I still have the same issue when restarting. I'm not even sure I ran update-initramfs properly because the SO post doesn't seem to use LVm and I do. [02:07] dedze: maybe you opened firefox web console and pasted the code there, then it would have run. the firefox preference browser.urlbar.filter.javascript defaults to 'true' since ~ v6.0 and prevents javascript:... code, pasted to the url bar, from running, unless you have extensions installed which override this. [02:09] dedze: reinstalling would not necessarily have helped. executing the javascript code may have compromised your system user, not root. the reinstallation of ubuntu would not have replaced your home directory, so files placed there (such as those which are automatically executed when you login to your system user) would still be present. === r0Oter is now known as r00ter [02:09] dedze it actually depends on what code was executed, though, and how, if at all, the malware worked, and how you chose to reinstall. [02:10] tomreyn: I didnt save a single file, I chose the overwrite the whole disk while installing [02:11] I also don't have /dev/disk when I chroot [02:11] hfp_: i'm not sure which SO post you are referring to. did you fsck as i had recommended? [02:11] dedze: so all your personal files and configurations are gone? [02:12] dedze: no backups? [02:12] tomreyn: Yes, I did, it fixed a few errors. Then I mounted the partition and all my files are there. So I rebooted but no luck. Then I looked at this: https://askubuntu.com/questions/745218/ubuntu-wont-boot-because-of-lvmetad/752282#752282 (I thought you linked to it but maybe it was someone else). [02:12] tomreyn: Yes, everything was gone, it was exactly like when I installed Ubuntu the first time [02:12] tomreyn: And I had to rechoose names for my user, laptop name etc too [02:13] dedze: well then it's quite unlikely that anything persisted, unless this is a very very determined and experienced attacker [02:14] dedze: i'm just surprised you would happily delete all your personal files and documents. [02:14] tomreyn: Well then probably I'm safe no? I don't know why anyone would want to attack my laptop in the first place [02:15] dedze: unless you took a backup after the fact and restored that, i think you're most likely safe. [02:15] tomreyn: Hmm i'm the kind of person to not look behind me so much, so I don't get attached to things like photos etc [02:15] dedze: you should have told us you reinstalled deleting all data early on, this would have saved us some time. [02:16] I'm sorry tomreyn, that's true, I didn't think about saying it until when I did [02:16] dedze: but i'm sure you got plenty of adrenaline there, so that's ok ;) [02:16] tomreyn: Yes when I arrived here I was ready to cry lol [02:17] And I'm so paranoid, the first time I arrived here, a pasting was done by itself sometimes and I freaked out [02:18] It turns out its when I touch the top right of my touchpad, just a small tap, it pastes the last thing I selected hehehehe [02:18] hmmm my /boot on ubuntu-vg/root is empty... shouldn't it have a vmlinuz-KERNEL_VERSION and and initrd.img-KERNEL_VERSION? [02:18] hfp_: chroot again from a live cd running the same release as what you have installed. once everything is mounted (incl. virtual file systems like dev/pts, dev, sys etc.) and accessible paste 'lsblk --fs' and /proc/mdstat /etc/fstab /etc/crypttab and sudo dmsetup ls [02:19] tomreyn: how do I mount virtual file systems? I'm not sure I understand what that means :s [02:20] hfp_: https://askubuntu.com/questions/28099/how-to-restore-a-system-after-accidentally-removing-all-kernels#answers [02:20] first grey box [02:21] substitue /mnt by where you'll chroot to [02:21] Thanks for much for everything tomreyn . I wish you a good rest of day. Thanks!!!!! [02:21] dedze: and you, welcome ;) [02:23] tomreyn: so here is lsblk --fs: paste.ubuntu.com/25202444 [02:24] sorry, http://paste.ubuntu.com/25202444 [02:27] hfp_: no UUIDs? that's weird, is this from inside the chroot? did you mount --bind dev + proc + sys ? [02:28] also no fstypes, hmm, maybe not running as sudo? [02:29] sorry, i notice i didnt ask for sudo there explicitly, but assumed you'd be running as root anyways since you'll chroot. [02:30] tomreyn: yeah something's off... I did `sudo mount --bind /dev /tmp/data/dev`, also with proc and sys. But when I chroot into /tmp/data and try to apt install linux-image-generic --reinstall, it complains that /dev/pts might not be mounted [02:34] hfp_: please exit the chroot and mount --bind /dev/pts as well, then re-enter the chroot [02:34] this bit is missing from the instructions i linked to [02:35] so: sudo mount --bind /dev/pts /tmp/data/dev/pts; sudo chroot /tmp/data /bin/bash [02:36] tomreyn: ok, the output of lsblk --fs is still the same though [02:36] hfp_: if you run it outside the chroot, too? [02:36] now apt install linux-image-generic --reinstall runs ok but /boot still doesn't have a vmlinuz [02:37] tomreyn: outside the chroot it has UUIDs [02:37] http://termbin.com/ll0h [02:37] outside of chroot, can you show "sudo mount" as well, please [02:38] Why is my AMD Radeon HD 6670 not being blacklisted :( https://paste.ubuntu.com/25202501/ [02:39] http://termbin.com/so8p [02:40] tomreyn: I had an other idea [02:40] tomreyn: I used my webcam on skype in a call and I ran the command sudo lsof /dev/video * [02:41] Of course because I'm paranoid as always [02:42] And it gave this result: http://paste.ubuntu.com/25202545/ [02:42] Is it abnormal? [02:43] dedze: i don't know your system so i don't know what's abnormal for your system. if you have skype installed, and 'ps ef 1955' looks like it is the legitimate skype process then there's nothing unusual about this output [02:45] hfp_: looks like you have plenty of /dev/pts bind mounts now ;) but you don't have /boot mounted ( i assume it resides on a separate partition) [02:46] tomreyn: oh yeah it could be that /boot is on another partition... how do I find out where is it? [02:46] Oki thank you tomreyn [02:47] hfp_: based on the lsblk output you provided it is probably sda2 [02:47] hfp_: you could check /mnt/data/etc/fstab to know for usre [02:48] sda2 is 0c2f1b2d-4dca-4a7c-aca4-dd9d8c0f2606 [02:48] grep boot /mnt/data/etc/fstab [02:48] indeed sda2. so do I mount it at /tmp/data/boot so it's hopefully in /boot when I chroot, or do I mount it somewhere else? [02:49] hfp_: make sure you clear out /tmp/data/boot now that you probably wrote stuff there before you mount sda2 to it. [02:49] but keep the directory [02:50] do I need to mount --bind or just a plain mount? [02:51] I never understood what --bind does [02:54] hfp_: --bind basiclly just makes a file system that is already mkounted also appear at this additionat target [02:54] /boot is not mounted, yet, so mount it normally, without --bind [02:55] to be precise, the /boot file system of your 'normal' ubuntu installation is not currently mounted, yet. [02:55] ah I thnk I know what happened! it's not the wbfs thing, I had issues with grub-efi a few weeks ago and i ran apt update yesterday, it updated grub-efi and friends. now I rebooted and that's probably why it wont reboot anymore, something has changed there [02:56] because I see all the vmlinux and initrd.img in the chrooted /boot [02:56] so no need to reinstall them I guess [02:57] hfp_: i suspect that sda1 is to be mounted to /boot/efi as well [02:57] yes [02:58] I think the problem has to do with grub and efi, but I don't know what the problem is for sure nor how to confirm my suspicions [03:03] onc3e you have the efiboot and just one /dev/pts mounted, chroot again and show /etc/fstab, /etc/crypttab, dmsetup ls [03:04] tomreyn: how do I unmount them? umount /tmp/data/dev/pts says target is busy. is it the right way of doing it? [03:09] hfp_: umount /dev/pts until you have none left (be sure to have exited the chroot beforehand), then just "mount /dev/pts" and "mount --bind /dev/pts /tmp/data/dev/pts" [03:09] use the "mount" command to verify you end up with what you should have [03:10] that;s the thing, I cant umount /dev/pts it says device is busy [03:14] hfp_: okay you can just keep /dev/pts of the live system, but remove all but one of those you mounted to /tmp/data/dev/pts [03:15] should I force umount? I get the device is busy either for /dev/pts or /tmp/data/dev/pts [03:17] hfp_: dont force unmount, can i see "mount" again on pastebin? [03:18] which directory are you in now? outside of chroot? [03:18] yes I'm in ~ on the liveusb, out of chroot [03:18] trying to `sudo umount /tmp/data/dev/pts` [03:18] I still have multiple /tmp/data/dev/pts mounts [03:19] did you umount -f anything, yet? [03:19] http://termbin.com/lqrw [03:19] didnt force anything yet [03:20] and "mount" says what? the exact same as at http://termbin.com/so8p ? [03:20] yes, this is the one I just ran: http://termbin.com/lqrw [03:25] try this (outside chroot): sudo umount /dev/pts; sudo umount /tmp/data/dev/pts; sudo umount /dev/pts; sudo umount /tmp/data/dev/pts; sudo umount /dev/pts; sudo umount /tmp/data/dev/pts; sudo umount /dev/pts; sudo umount /dev; sudo umount /tmp/data/dev; mount | pastebinit [03:25] hfp_: ^ [03:26] you have plenty of duplicate mounts currently [03:27] it wont send anything through the pipe, the error goes to stderr [03:28] in any case, this is the error http://termbin.com/141z [03:28] tomreyn: ^ [03:29] oh right [03:30] this can't be the 'mount' output though [03:30] what is it the output of? [03:30] no that's the output of sudo umount /dev/pts and sudo umount /tmp/data/dev/pts [03:30] outside of the chroot [03:31] hmm dunno then, maybe reboot [03:32] yeah that will be easier [03:34] alright, I rebooted and I have the ubuntu-vg/root mounted at /tmp/data [03:35] better mount to /mnt/target or something, not to /tmp [03:35] but i'm happy to try with either, /tmp's just not a great place to mount to [03:37] so, fstab: http://termbin.com/gl99 and crypttab http://termbin.com/t534 [03:39] dmsetup ls ? [03:40] http://termbin.com/m8zk === gomjabbar is now known as GomJabbar [03:44] and finally lsblk --fs && mount [03:44] and finally sudo lsblk --fs && mount [03:44] hfp_: ^ [03:44] tomreyn: http://termbin.com/resr [03:45] that's within the chroot [03:45] out of it: http://termbin.com/pi90 [03:47] can you, inside the chroot: sudo cp -p /proc/mounts /etc/mtab [03:48] i suspect that will make 'sudo lsblk --fs' work inside the chroot [03:50] ah, you missed to bind mount /dev [03:52] hfp_: so it's: exit chroot, then: cd; sudo umount /tmp/data/dev/pts; sudo mount --bind /dev /tmp/data/dev; sudo mount --bind /dev/pts /tmp/data/dev/pts; chroot /tmp/data /bin/bash [03:54] then make sure /etc/mtab looks the same as /proc/mounts, if it isn't: sudo cp /proc/mounts /etc/mtab [03:58] they're the same [03:59] then, if you also ran the other commands above, lsblk --fs should now list uuids inside the chroot [03:59] lsblk --fs within the chroot still doesnt have uuids [03:59] Hi everybody. Does anybody here run Visual Studio in Ubuntu? I'm wondering what the best way to go about it is. I need it for my studies. [04:00] tomreyn: i'm sorry it's getting very late and i'm falling asleep. can you tell me what you had in mind so i can try and continue tomorrow? or if you're on the channel we can pick up where we left off? [04:00] hfp_: did you bind mount /dev into the chroot though? [04:02] hello i need to reinstall my windows . do i have to make a boot repair cd and run it after that? dual boot [04:02] hfp_: so the idea is to make the chroot into an environment where everything needed is present to determine where to install grub to, and how to layout the initrd so that a boot can succeed. all of these virtual file system bind mounts are needed for this purpose, and uuids need to be known to the chrooted system. you can also test this using 'blkid' [04:03] effectnet: I would suggest downloading the Windows 10 Creation Tool and making a bootable USB. When dual booting, it's always best to install Windows first. [04:03] the windows needs a reinstall is all === mundus2018 is now known as HalfEatenOut [04:06] hfp_: once that's succeeded you could review /etc/crypttab and /etc/fstab and make sure all the corre4ct UUIDs are in place in these files, and that pvs + vgs + lvs look correct, too. then you could update-initramsfs -k all and update-grub and grub-install /dev/sda (though reinstalling grub is optional) === HalfEatenOut is now known as HalfBakedPie [04:07] hfp_:i'll probably be around tomorrow but not yett sure at what time. === r0Oter is now known as r00ter [04:08] i recommend taking notes on all the commands you need to run before chroot (and after, too) === HalfBakedPie is now known as mundus2018 [04:58] well that boot repair disk didn't work [04:59] how do i reinstall grub now? [05:00] !grub | effectnet [05:00] effectnet: GRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2 [05:00] nice [05:03] ok yeah the boot repair didn't work. so i have to reinstall grub. how do i do that? from try ubuntu? or what cd do i make? [05:05] effectnet: how didn't it work [05:05] i made the cd, reinstalled windows, then booted the boot repair cd, selected recommended repair and then the machine still booted into windows, i need the grub menu [05:07] ok well run it and post the diagnostic thingy it makes here [05:07] k [05:09] http://paste.ubuntu.com/25203228/ Ben64 [05:12] so i want to reinstall grub2 right? [05:43] Hi all, I was wondering if anyone is aware of whether external nvidia GPUs will work with an ubuntu laptop that has thunderbolt ports? [05:43] I’ve tried googling it, but I can’t find any examples of anyone actually trying it. [05:55] asynec: Did you came across these .. https://www.reddit.com/r/razer/comments/4xwlt6/razer_core_gtx_970_on_xps_13_9350_arch_linux/ https://www.reddit.com/r/linux/comments/4tw5qv/thunderbolt_3_external_gpus_and_linux/ [05:55] OoooOOooh [05:55] I did not [05:58] hmmm, looks like no one has it working in these threads though === JanC is now known as Guest4059 === Jochen_wvdT is now known as Schlawiner [07:11] HTML5 is playing 3 times as fast as normal. I have no idea why this is happening, can someone give me a hint? [07:12] The problem occurs in any browser. [07:13] has anyone got GPU passthrough working? I need some help :( === keviv_ is now known as keviv === ianychoi_ is now known as ianychoi === jstein_ is now known as jstein === thorre_se is now known as thorre [09:15] Hello is this message visible to other members? [09:18] Yes Tannishpage . [09:18] ok [09:18] well then registration is successful [09:18] So I have a question. [09:19] I want to connect a windows VM on ubuntu to wifi that ubuntu is not allowed to connect to. [09:19] when i mean not allowed i mean not supported [09:20] So basicly I want to give direct access to wireless card (connected directly to mobo) to VM [09:21] Is it possible? [09:23] why does NetworkManager keep disconnecting me from my VPN and then don't reconnect? 'ping-restart' is enabled and i don't have this problem with other devices [09:24] Hiyas all [09:24] hello [09:24] Hello [09:25] where are you from? [09:25] Who? [09:25] you [09:25] why? [09:28] don`t know how chat,I think it`s a way to communicate [09:28] ? [09:29] my English is not good [09:30] I can understand. [09:30] But what do you mean? [09:30] David_Hedlund: first save your work , then Try this , in a terminal run $ killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse* .. wait 10 seconds, then reboot .. stream an HTML5 video again.. is the problem still present?! [09:30] I don't know how to chat?? [09:32] means that I don't know how to start a conversation. [09:32] philip_goule, here is support only [09:33] philip_goule, try #ubuntu-offtopic for chit chat [09:34] hi, is there a ubuntu live "no UI" version somewhere? i have to check an old server with 1GHz cpu and 1mb video memory [09:34] How to I give Virtual box VM (windows guest) direct access to wireless card (connected to mobo) [09:34] Tannishpage, you dont [09:34] So it can't be done. [09:35] ok I get it. [09:35] Tannishpage, thats not how vm's get connected [09:35] But ubuntu is not a supported OS to this wifi access point [09:35] tanitry #vbox or #vmware for more [09:36] Tannishpage, ^ [09:36] sorry tanitry [09:36] Thanks [09:36] =) [09:41] sary: I'll try that soon. [09:54] sary: I don't have rm -r ~/.pulse* [09:55] sary: Erm, I don't have ~/.pulse* [09:58] hey [09:59] sary: That didn't help, I'm on 14.04. [10:03] Ok, now that pulseaudio is running again , run: pulseaudio -k , and try stream a video in html5 .. we're trying to see if it's pulseaudio's fault! [10:06] sary: Thanks. That didn't do it. [10:06] sary: I read about the pulseaudio issue earlier. This is not the problem on my system though. [10:08] whats wrong with pulseaudio [10:09] pulseaudio -D helped my system [10:09] hello guys, i am having trouble with rtorrent. i jsut installed it and when i add a torrent it tries to connect to the tracker but after a bit it fails connecting. this is for most of the trackers i tried. but for example i can download the ubuntu torrent iso [10:10] David_Hedlund: so even after killing pulseaudio ,the streamin' still going fast ..! [10:10] sary: Unfortunate. [10:12] how do we have LUBUNTU have a password everytime we login? [10:12] phiona: ??? [10:12] David_Hedlund: you mentioned it happens with all broswers , so i thought it's a system wide issue with pulseaudio. [10:13] sary: Yes, its system wide. [10:13] InvisibleRasta: try deluge or transmission. [10:16] how do we have LUBUNTU or UBUNTU have a password everytime we login? i installed this a long time ago and it always went without a password. now though i want a password. [10:17] does anyone experience a visual lag on VLC when skipping time on a video? Here's the question on askubuntu, maybe someone knows a answer: https://askubuntu.com/questions/778933/vlc-pixelated-video-when-skipping [10:17] hey [10:19] David_Hedlund: I have no clue then is to what is cauisin' that. [10:20] sary: Thank you for helping me anyway. [10:20] David_Hedlund: You're welcome. [10:21] sary: =) [10:24] Could someone explain me why I can't switch to a terminal without getting tons of pcieport errors? [10:28] David_Hedlund: is it only the visual streaming fast and or with sound too! [10:29] David_Hedlund: if you run pavucontrol -> Configuration tab , is the video card listed there..! [10:30] lollix01 try to run pci=nomsi at the end of the linux kernel line [10:31] hi, i have liveusb done with win32diskimager, can i save files on the same usb drive after boot? i have to drop log from hwinfo into a text file [10:41] Matan[M]: copy the hwinfo to this fourm in http://sprunge.us/ , then click sprunge , should result in link simple to memorise. [10:41] hey [10:42] sary, this is a deaf machine :| (no network) [10:48] psychoticwarrior i did what you suggested and it works [10:53] Python 3.6 in 17.04 is complaining about apt_pkg being missing every time there's an exception. how do I install python-apt for 3.6? there's no python3.6-apt package, python3-apt is already installed [10:57] how do I add permanently a kernel boot parameter? [10:59] lollix01: add it to /etc/default/grub after "quiet splash" [11:00] then sudo update-grub [11:03] i though it is a an uefi machine? [11:04] no difference for grub [11:04] are you using grub to boot ubuntu? [11:06] yep [11:09] grub2, not legacy grub [11:09] lollix01: ok, add what you want to /etc/default/grub then and update-grub [11:12] Hi [11:12] I've been using Ubuntu for quite a long time, and I want to change for another lightweight ditribution (desktop). Any advices ? I can pick one randomly, but I want to have your own opinions [11:20] ShNaYkHs: LUBUNTU. its what i use myself. [11:22] I feel that ubuntu is generally heavy isn't it [11:23] ShNaYkHs, then try lubuntu [11:24] sudo apt install lubuntu-desktop [11:24] ShNaYkHs, ^ [11:25] ok I'll give it a try maybe [11:26] ShNaYkHs: well, i cant comment on that since i installled LUBUNTU the very first time and never looked at another distro ever since. [11:29] is it much different from: ubuntu mate [11:29] ? [11:29] ShNaYkHs, very [11:29] ShNaYkHs, you do know you can install lxde, xfce, kde, etc side by side and try them all out [11:29] ShNaYkHs, check out the very many screenshots websites [11:30] ShNaYkHs, you cannot poll which is the best for YOU here, only YOU can decide that [11:31] th0r I didn't know. So for example installing lxde to my ubuntu, it basically becomes the Lubuntu ? [11:32] that's the only difference ? [11:32] ShNaYkHs, apt install lubuntu-desktop [11:32] ShNaYkHs, then choose from login window [11:32] ShNaYkHs, much lighter [11:32] ShNaYkHs, different default apps [11:33] ShNaYkHs, and be aware you can uninstall them just as easily. So try them all out and decide for yourself which one fits your needs [11:33] !lubuntu | ShNaYkHs [11:33] ShNaYkHs: lubuntu is Ubuntu with LXDE instead of !GNOME as desktop environment, which makes it extremely lightweight. See https://wiki.ubuntu.com/Lubuntu - /join #lubuntu for lubuntu support. [11:33] ok great [11:34] I am using ubuntu 16.04. All of a sudden my Wifi APS are not listed. I tried restarting network and turning off and on WIFI but that does not help [11:34] WIFI APS is WIFI access points in my network [11:37] Can anyone tell me a communication tool which is secure(like signal), for desktop? [11:39] I use xenial [11:43] I installed ubuntu on an external hard drive. Wow when the external hard drive is not pluged, the grub menu does not appear. How can I fix that ? [11:43] Wow/Now* [12:27] hfp_: i'm around for a while now [12:41] !test [12:41] Testing... Testing... 1. 2.. 3... [12:42] !1+1 [12:42] !test [12:42] Testing... Testing... 1. 2.. 3... [12:42] !ping [12:42] pong! [12:42] !ping [12:42] !1+1 [12:42] >> 2 [12:43] ? [12:43] !ubuntu [12:43] Ubuntu is a complete Linux-based operating system, freely available with both community and professional support. It is developed by a large community and we invite you to participate too! - Also see http://www.ubuntu.com [12:44] !kubuntu [12:44] Kubuntu is the Ubuntu flavour using KDE Software and the KDE Plasma Workspaces. See http://kubuntu.org for more information - For support join #kubuntu - See also !kde [12:44] !lubuntu [12:44] lubuntu is Ubuntu with LXDE instead of !GNOME as desktop environment, which makes it extremely lightweight. See https://wiki.ubuntu.com/Lubuntu - /join #lubuntu for lubuntu support. [12:44] !fubuntu [12:44] !wubuntu [12:44] !xubuntu [12:44] Xubuntu is Ubuntu with !Xfce as the desktop environment. More info at http://xubuntu.org/ - To install the Xubuntu environment from Ubuntu: « sudo apt-get install xubuntu-desktop^ » - Join #xubuntu for support - See also: !xubuntu-channels [12:44] !help [12:44] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [12:44] !pl [12:44] Na tym kanale używamy tylko języka angielskiego. Możesz uzyskać pomoc w języku polskim na #ubuntu-pl. [12:44] !it [12:44] Vai su #ubuntu-it se vuoi parlare in italiano, in questo canale usiamo solo l'inglese. Grazie! (per entrare, scrivi « /join #ubuntu-it » senza virgolette) [12:44] !ml [12:44] Mail is another medium to communicate. Ubuntu mailing lists can be found at http://lists.ubuntu.com [12:45] !hi [12:45] warri0rr, enough! [12:45] I was more thining ~indiangur@unaffiliated/warri0rring and !1+1 [12:45] I wonder who might be [12:47] you are welcome to play more with the bot here http://ubottu.com/factoids.cgi [12:47] (note the search box on top) [12:50] Hi, I installed Ubuntu mate 36 bit, i updated and upgraded too. when I try to install any file it says error [12:50] 36 bit? that's unusual [12:50] lyferux: what is the error [12:51] arun007, : brother where are u from ? [12:52] lyferux: India [12:52] lol. [12:52] can i pm u [12:52] lyferux: okey [12:58] Hi, I'm trying to create a .desktop entry but the bash execution command isn't working. it is a .appimage file executed throught terminal [12:59] How do I use the split command to paste the outputs into numbers instead of alphabetic orders? [12:59] hi . [13:00] I'm gonna try this now https://askubuntu.com/questions/83771/recovering-grub-after-installing-windows-7 [13:07] tomreyn, sorry it was 32 [13:09] lyferux: i was just mostly naggigng, thanks for clarifying. by the way, usually we keep support on the channel to ensure peer review of answers provided. i.e. people should tell me (and everyone else) when i tell you nonsense. [13:10] thanks [13:11] (of course it can be easier to chat in native languages, but then there are dedicated ubuntu channels for many langauges, too) [13:22] Hi, I messed up something that has to do with grub (I think) on my ubuntu 17.04. A while ago, I had removed grub efi and replaced it with the regular grub. this was an unintended side effect of installing another package. I have since removed that package, removed the wrong grub and put back grub efi. fast forward to yesterday I updated packages and it installed a new version of grub-efi and friends. Now my system wont boot anymore... [13:22] to the encrypted partition and unlocks it but then hangs there [13:23] last night, we tried with tomreyn to mount the required virtual devices into my unlocked partition and chroot into it to check the uuids and re reun grub initramfs etc, but oculdnt get it to work: lsblk --fs would never ever have any uuids once into the chrot [13:24] any suggestions on where to go from here? [13:25] With EFI code + bootmgr (to register a menu entry) What is the point of a bootloader like Grub2 in a basic HD Ubuntu install? I'm obviously missing some insight here. [13:30] I... dont know? that's how it was installed. [13:32] thank you so much arun007 :) [13:32] lyferux: welcome [13:32] This is what I have when it boots: https://paste.ubuntu.com/25205385/ [13:38] I was actually asking a question for the channel. I'm guessing a boot loader is used on your rootfs to generate the EFI code right? [13:45] I dont know. All I can do at the moment is either let it ask me for the password to decrypt the main partition or I can boot in recovery mode etc and then ask me the password. In recovery it doesnt find anything wrong with the packages or fsck. In either case, if I choose to start normally it hangs at waiting for network interfaces. [13:47] hfp_: grub-efi is just a meta package, if you have an AMD64 architecture (64-bit intel / amd cpu and OS) then it will depends on grub-efi-amd64 which contains the actual efi variant of grub [13:48] hfp_: how long did you wait when it was 'waiting for network interfaces'? did you try ctrl-c? [13:48] somehow my understanding yesterday was that it did not boot at all, i guess i got that wrong since it was so late [13:50] yeah it does boot, just not all the way [13:50] how do I make it so that I have more than 300ms to press shift and get the grub menu when it boots? it's driving me nuts and I have to try 20 times before I get it [13:55] hfp_: you can change it in /etc/default/grub [13:56] hfp_: just holding down (left) shift during boot does not work? [13:56] tomreyn: it's very very very picky, the window to do it at the right moment is half a second if not less. Press it too soon and it won't work, then it's too late. [13:57] if I ctrl-c the Raise network interfaces, nothing happens [13:57] it's NetworkManager-wait-online.service [13:57] with a 5min 1s timeout [13:58] hfp_: while its failing to bring up the NICs, try waiting up to 5 minutes for boot to continue at least once, see if it continues [13:58] right [13:58] hey so my plex server wont detect files on ntfs drive [13:58] seems like permission issue. any idea how to fix it [13:58] running ubuntu of course [14:02] ha what do you know... it boots normally after the timeout.... wth? [14:03] warrshrike: check with who made the software you are using, it does not seem to be a package from ubuntu repositories [14:04] hfp_: thats what i hoped / assumed it would do. you probably dont have networking now, but you should be able to review logs and rebuild the initrd if needed. [14:04] no i have everything working like it should... it's fully booted and i have wifi... [14:05] what does initrd have to do with it? it's not working correctly you think? [14:05] hfp_: chances are that one of your network interfaces requires special drivers or firmware which are not currently present in the initrd. [14:05] oh i see [14:05] dumb question of the day: I have Windows and Xubuntu on dual boot.. Windows partition is set as primary and the partion where Xubuntu lives is set as logical. if I try to install a 3rd OS (in case I succeed) will grub be affected? [14:05] hfp_ do you have more NICs than just this one wireless? [14:06] i have some docker nics, i also have vagrant, libvirt/qemu/kvm [14:06] Exterminador: that depends on how that third OS treats your computer. most OS will overwrite existing boot sectors or at least offer to do so. [14:07] I'm thinking on Debian or perhaps Chrome OS [14:07] hello i am restoring grub2 on 17.04 today too :D [14:08] !restoregrub | Exterminador [14:08] Exterminador: Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub [14:08] reinstalling actually [14:08] if Debian I guess I won't have many troubles [14:08] my ntfs is mounted read only - how to fix? [14:08] Exterminador: you may need to do what ubottu told you after installing another OS [14:09] Hi, Good Evening [14:09] tomreyn: bookmarked! ;) [14:10] lets see how I succeed.. next time I'll let Xubuntu to install last [14:10] that way I'm sure it won't fail [14:10] lol [14:11] Exterminador: note that even though Debian and Ubuntu have a lot in common, they may still install grub boot code that is effectively incompatible to one another. in the end, with a multi boot environment, you will need to decide which single OS will be allowed to update / manage the boot code, and take measures to ensure the others won't. [14:12] hum.. so I can prevent i.e Debian from messing up with bootloader? [14:13] just letting Xubuntu deal with it? [14:15] warrshrike: maybe find out why it was mounted read-only in the first place ('dmesg -T' or 'sudo cat /var/log/syslog | gedit - #' will hint on that), or just try to mount it readable + writable using 'sudo mount -o rmount,rw XXX' where XXX is the device node or current mount point. [14:17] Exterminador: yes this should work. you'd probably just remove grub packages and not mount /boot from debian then. #debian folks can probably tell you how to do this reliably. [14:17] tomreyn: thanks a lot ;) [14:18] btw. their official channel is on irc.oftc.net, not freenode [14:19] tomreyn: Where can I find the missing driver? Which log file would it be in? [14:26] hfp_: first of all inspect your logs to find out why the network service did not start properly. [14:27] which logs, /var/log/syslog? dmesg? /var/log/error.log? [14:31] hfp_: syslog, dmesg, or just the very service you said has failed [14:31] ok, thanks [14:31] https://www.digitalocean.com/community/tutorials/systemd-essentials-working-with-services-units-and-the-journal [14:32] e.g. systemctl status networking [14:38] I have a program that communicates with a special server via a socket connection. the client must send a packet every 1 or the server will terminate the connection. I want some way to monitor (on the client) the application to know if it has hung and is no longer sending packets. Any ideas? [14:39] are you going to monitor it or another program? [14:39] you might be able to write a script to monitor its traffic using tcpdump [14:40] you could periodically issue an interrupt [14:40] and if the application freezes it won't respond to that [14:40] Or keep a socket open and poll it every x minutes with information [14:41] Well, the following page sucessful in restoring my 17.04 to boot again. THE BOOT REPAIR DISK DOES NOT WORK for 17.04 at least. https://askubuntu.com/questions/83771/recovering-grub-after-installing-windows-7 [14:47] I have been doing a netstat and looking at the output for the port that the stream is on. I am just not sure this is foolproof. [14:50] GrandPa-G: "ports" would be a concept of the tcp/ip protocol, when you wrote "socket conection" i assume you are referring to unix domain sockets? [14:50] 'netstat --unix' will list those and their state (or the state they had when they were last attempted to be used) [14:51] I was having windows problems and i decided to install 17.04 just for fun etc... I am shocked how blistering fast this i5 laptop is now. Shocked. [14:51] tomreyn: yes tcp/ip socket. [14:52] GrandPa-G: oh so it's actually a tcp or udp port that you are trying to monitor? [14:54] tomreyn: correct. if the client hangs or the connection is broken, then I need to take some serious action like a forced reboot. Unfortunetly if the connection isn't really broken but my technique thinks it is, the client gets rebooted, not optimal. [14:56] GrandPa-G: deciding whether or not to reboot a system based on availability or apparent state of a network connected resource is not usually a good design. [14:58] tomreyn:that maybe true, but the app needs to be functioning all the time. If the connection is lost, then it is not functioning and needs to be restarted to reconnect. [14:58] GrandPa-G: this is not really ubuntu support unless you are looking for a specific monitoring software for a certain use case. we could discuss your software architecture in #ubuntu-offtopic (if you like) [15:18] how come ubuntu says that one of my windows shares directories is not a directory? [15:19] can i get help with postfix in here [15:19] postfix/dovecot on 14.04LTS [15:20] Join postfix channel [15:22] if i wanted to see my hardwares vital stats in a terminal window(tmux), is there a way to do that? like something i can run on nix(ubuntu server) to see like CPU temps, speeds, etc? all live? [15:32] madLyfe, do you need it in a terminal? I use gkrellmd. It runs on all my servers, but needs a desktop somewhere to display on. [15:33] ya, in a terminal. running ssh/tmux to ubuntu server [15:40] madLyfe: sensors [15:49] is sensors built into server? im basically brand new to nix as of last night. [15:53] madLyfe: no, install lm_sensors [15:53] *lm-sensors [15:58] i've got a remote server that's more powerful than my local computer.. i'd like to move my development environment onto the remote server, but keep my editor local (no gui on server, i don't enjoy using vim). are there any options that make this feasible on an internet connection that sometimes has latency spikes? [16:02] mordof, two options I can think of, but both have 'issues'. You could use samba to map the remote drives to the local architecture and edit locally, or use x-forwarding in ssh to run the editor on the remote machine [16:03] mordof, samba would leave you with open files you couldn't close if the connection drops completely. ssh would mean your editor (typing, highlighting, etc) would be affected by the latency [16:03] Can you install just the X server and not the X client? [16:04] Younder: what purpose would that serve? [16:04] He doesn't what the GUI on the server but wants to forward the program to the client. [16:05] th0r: in the case of sshfs, it uses sftp, so that wouldn't keep files open, is that correct? [16:05] i'm using initx to display one application in full screen to save on resources but the display resolution is wrong. is there anything i can do to adjust it in a config file or something? [16:06] Younder: that would mean that mouse movements/interactions/keyword events, etc would get forwarded to the server though, yes? [16:06] mordof, no, I was talking about doing x-forwarding via ssh. That would allow you to run the development environment on the remote server, but wouldn't require X on the server, just the editor and such. [16:07] mordof, yes, it would [16:07] lm-sensors doesnt update in the terminal [16:08] hmmm, i doubt that'd be desirable on a latency-spike ridden connection [16:08] definitely things to think about [16:08] th0r, Younder: thanks for the feedback [16:09] Younder, for my own info....I don't think the X server is necessary on the remote server, just the gui software. I do have X installed on the remotes, but boot to the cli and never start X. [16:09] Younder, I do have access to the same file manager, editor, etc on the remote that I have on the local, using X-forwarding in ssh [16:11] Younder, so is it necessary to install the X server? [16:14] Hello, I was wondering if any of y'all could help me with doing a CPU passthrough... The main problem I'm having is my graphics card I want to hand over to the guest VM isn't being claimed by pci-stub [16:14] *GPU [16:14] One of the connection items it not shown on the networking menu. I had recently added DSL, it won't even show now. [16:15] How can I get it back? [16:21] If you install a program with a GUI it pulls in a lot of gnome libs, but not the x server [16:26] Younder, right...hadn't thought about the libs, assumed they were pulled locally as the local x server is doing all the work [16:32] How can I check if libnl-dev or libnl-devel is installed. Whats the modern equivalent of these packages or how can I check that ? [16:33] hello [16:33] hi [16:34] finally somebody answering [16:35] ijash, I saw you in raspbian...was waiting for you to ask a question. [16:35] funny eh. eleven hundred people here and no one around sometimes [16:35] I just got here myself [16:35] let's go to raspbian [16:35] #raspbian [16:40] hi all, I am trying to install Ubuntu on a Lenovo yoga 260 and I don't know how should I set up my BIOS UEFI settings. Can anyone help ? [16:43] have you entered the bios menu? [16:43] hi [16:43] hello [16:44] how are you? [16:44] good. you? [16:45] obviously :D [16:45] im doing alright just decided id switch from mint to unbuntu today :P so far it was a little finiky with installing things but i hope i fixed it [16:45] I just don't know what is supported by Ubuntu, I know legacy works but someone told me I should try UEFI [16:46] i am installing it using UEFI [16:47] Should I do anything else? I tried once and I got a message that Grub cannot be written to the disk [16:47] well, i am using E2B usb stick, so it can make partition image. for easier UEFI boot [16:47] show me your HDD specification [16:48] your partition [16:55] hi, noob question but when instructions say to go to "System>Administration>Software Sources" how do I get there? the obvious buttons don't get me there and searching for "system" of "administration" via the top button doesn't either [16:55] Which windowing system are you using? [16:55] the default one... "unity"? [16:55] ijash, how ? It's on another laptop. Can I post something specific that would help ? [16:55] the brown one [17:03] hey I'm using the open Mesa 17.1 driver for my AMD APU. The games run great but my Android studio emulator wont run unless I'm using AMDGPU pro drivers, which I dont want to use [17:03] any suggestions? [18:13] lm-sensors isnt showing me my cpu temps, only giving me PCI adapter info. [18:15] does the machine need reboot after lm-sensors install? [18:17] nope, that didnt fix it [18:18] madLyfe: https://help.ubuntu.com/community/SensorInstallHowto [18:20] anyone know where i can go to get help with a third party repository? (nodejs, fwiw). their repo has a Release file in dists/xenial, i've got the key installed, i can verify the signature, and yet it's still failing to update because it can't find the Release file [18:20] glitsj16: i didnt have any of these for 3. At the end of sensors-detect, a list of modules that needs to be loaded will displayed. Type "yes" to have sensors-detect insert those modules into /etc/modules, or edit /etc/modules yourself. [18:21] madLyfe: did you answer all questions with YES? [18:21] spet the last one. i really only want the cpu info though. [18:22] http://i.imgur.com/PWkmmQ0.png [18:22] madLyfe: that's not how lm-sensors works, it needs the appropriate modules loaded, as stated in 4. [18:23] i said yes to all of them except the last one because it said it can be unsafe [18:23] and then didnt have anything to load [18:23] not that i didnt load them. [18:24] this one: http://i.imgur.com/FOzyDyX.png [18:24] madLyfe: answer yes to everything, you need to finish the whole setup [18:24] I read 'this is usually safe' in your paste, not unsafe [18:25] down at the last step, 'this is the most risky part' [18:26] i watched a tutorial of a guy setting up lm-sensors and said no to the last step and was able to see his cpu temps [18:26] im new to nix anything so sorry for being thick headed. [18:27] but at least its asking me to add the modules this time [18:28] madLyfe: maybe he used something else to check cpu temp, it's pretty safe though.. the wording is a bit confusing in that sense.. untill you load kernel modules this questionnaire is harmless [18:28] https://youtu.be/witN0zmtlFc [18:28] madLyfe: after loading the modules, try 'sensors' to check cpu temp [18:28] around the 5min mark, and he just uses the regular 'sensors' command to access the cpu info. [18:29] sensors is part of lm-sensors [18:29] ya i know. i was answering your 'maybe he used something else to check cpu temp' [18:29] madLyfe: ow okay :) [18:30] well i said yes to everything and auto loaded the modules, hit sensors, and im still only getting PCI adapter info [18:30] http://i.imgur.com/zFPEnfp.png [18:31] madLyfe: what modules were added to your /etc/modules? [18:32] whatever it says in that screenshot. [18:32] #Chip drivers [18:32] x83795 [18:33] do i have to manually run kmod start ? [18:33] nope that didnt do it [18:33] madLyfe: the output might be confusing you slightly, it states the *adapter* used when measuring cpu temp, which in your system's case is a PCI adapter, it doersn't mean its measuring PCI adapter temp [18:34] sudo service kmod start [18:35] http://i.imgur.com/GFVEynS.png [18:36] Anyone know a workaround for streaming DRM protected content? [18:36] (Like Xfinity in home stream) [18:38] hello [18:38] is http://linuxsurvival.com/linux-tutorial-introduction/ a good resource to start/ [18:39] ? [18:39] anyone here use circleci? === semeion is now known as mnemonic [18:41] madLyfe: try comparing 'sensors' output with 'cat /sys/class/thermal/thermal_zone*/temp' to double-check, or 'acpi -t' even, which are different ways to measure cpu temp [18:46] so i needed to reboot i guess [18:46] glitsj16: can i pm? [18:46] madLyfe: okay [18:49] glitsj16: no ORT, using IRCCloud. [18:50] no plugins for IRCCloud [18:50] madLyfe: ah, that explains things [18:50] so what did you want to ask/discuss? [18:51] what we were, but so i had an easy way to access the logs for reference. [18:52] there used to be a link to where this channel is logged, so you can always consult the channels history via your browser === PaulW2U_ is now known as PaulW2U [18:54] glitsj16: installed acpi and did the command and nothing [18:55] glitsj16: https://irclogs.ubuntu.com/2017/07/30/%23ubuntu.html for instance [18:55] nothing happened [18:55] Flannel: thank you :) [18:55] '/sys/class/thermal/thermal_zone*/temp': No such file or directory [18:57] madLyfe: what ubuntu version are you using by the way? [18:57] ubuntu server LTS [18:58] ubuntu-16.04.2-server [19:00] I use supervisor to run a node.js app under the user www-data. Is there a way to get ulimit -n 999999 to work on boot? Optionally, can I get changes to /etc/security/limits.conf to take effect without reboot? 16.04, here. [19:00] I’m using salt for deployment. I need to be able to run a command but I’m confused regarding which user the ulimit command should be run under === bs is now known as Guest42023 === bs_ is now known as bs [19:03] j linux [19:04] noraatepernos, with systemd these pages might be any help >> https://stackoverflow.com/questions/39506149/ubuntu-16-04-systemd-redis-issues-with-ulimit >> https://serverfault.com/questions/791729/ubuntu-16-04-server-mysql-open-file-limit-wont-go-higher-than-65536 [19:05] increase DefaultLimitNOFILE=65536 [19:06] madLyfe: not all hardware has sensors for everything, that's probably why acpi isn't outputting temp.. if you're concerned about possible overheating I suggest looking into thermald --> https://wiki.ubuntu.com/Kernel/PowerManagement/ThermalIssues .. it takes some fine-tuning for your specific hardware, but it works great when that's done. [19:07] its a super micro server board so it should have sensors for everything [19:08] here is the new sensors output, glitsj16: http://i.imgur.com/79zT6cR.png [19:08] oerheks: Thanks! I think I’m going to wrap that up into the could-init. [19:12] madLyfe: output seems perfectly fine, nice hardware.. you can also use 'watch sensors' to see values updated every 2 secs (easier than running the command every so often) [19:14] glitsj16: im not sure what the processor temps are though [19:14] lol [19:14] which are which? [19:15] madLyfe: temp{3, 5, 7, 8} would be my interpretation, 4 cores? the below ones labelled temp seem to give an average [19:19] glitsj16: should be 16 cores [19:19] 2p opteron 6276 [19:23] What's better, to keep the same kernel version and get its patches until I upgrade the LTS to the next version every 2 years or to use lastest kernel version by using PPA? [19:24] Groar: what's better depends on your preferences and your abilities to manually ensure timely security updates. [19:25] Groar, what's your kernel atm ? [19:25] Groar: there is a third option, which is to use the HWE kernels. [19:25] !hwe | Groar [19:25] Groar: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [19:26] ioria: sorry what's atm? I'm a but newbie haha [19:26] Groar, at the moment , uname -r [19:27] ioria: says this: '4.4.0-87-generic' [19:27] Groar, xenial ? [19:27] the only PPA with kernels are the manual installable test kernels from mainline [19:27] !hwe [19:27] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [19:27] atm = at the moment [19:28] Groar, cat /etc/issue [19:28] ioria: Ubuntu 16.04.2 LTS \n \l [19:29] Groar, .2 should have the yakkety kernel .... or not ? [19:30] ioria: The only kernel upgrades I Installed are those that appear in the updates manager [19:31] Groar, anyway it's ok , i suggest stay with it, unless you got problems [19:32] ioria: Oh okay :), just wondering what would be better, but since I have no problems with this version, I'll stay with this until 18.04 is released. Thanks! [19:32] madLyfe: had to answer a call .. there's according to /etc/sensors3.conf you can set labels & tripping points for specific hardware in /etc/sensors.d, although the referenced http://www.lm-sensors.org/wiki/Configurations link doesn't work for me.. might be something people in ##linux would be more experienced with [19:32] Groar, ok [19:32] if you have no problems and nothing is obviously broken or not working then just keep it as it is. [19:33] tomreyn: 'if it works, don't touch it', yeah, I like that philosophy :P [19:33] right ;) [19:33] ty glitsj16 [19:34] Groar, just to be sure , run sudo apt full-upgrade and see what it tells [19:35] ioria: daniel@daniel-pc:~$ sudo apt full-upgrade // 0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados. (Which in English means: 0 to upgrade, 0 to install, 0 to remove, 0 not upgraded) [19:35] Groar, ok, that's good [19:39] I installed LUbuntu using apt-get install lubuntu-desktop. The desktop does not appear correctly on the extrenal screen, only some window appears correctly. How can I change the display ? [19:39] ShNaYkHs, 'only some window appears' ? [19:40] ioria yes, for example CTR ALT T, the terminal appears (on an empty desktop) [19:42] ShNaYkHs, maybe you're using extended ? [19:42] ioria how to change that ? I using use F4, but it doesn't seem to work under LXDE [19:43] ShNaYkHs, F4 alone ... idk what it should do [19:43] it opens depends where your mouse is focused, no? [19:43] ShNaYkHs, try mirroring [19:43] ShNaYkHs, arandr [19:44] !info arandr | ShNaYkHs [19:44] ShNaYkHs: arandr (source: arandr): Simple visual front end for XRandR. In component universe, is optional. Version 0.1.9-2 (zesty), package size 50 kB, installed size 309 kB [19:44] just foud it: lxrandr [19:44] ShNaYkHs, arandr is better [19:44] ok will try [19:50] Jesus this is so criminally awkward. Copying a movie to an USB has been stuck on "2 seconds left" for many minutes. I can never trust transfers on linux, at least not initiated through the GUI. I'm aware of the linux kernel bufferring thing, but even with it, this is insane. [19:51] Friends asking how long left..can't say [19:51] we just have to wait forever [19:51] fuser, how big is ? [19:52] ioria I installed arandr, how to not use the extended mode ? [19:52] ioria: 1.7GB [19:54] ShNaYkHs, you move the widget with your mouse [19:54] what's the best way to transfer, just use mv/cp command? [19:54] to an usb [19:59] okay it's done, phew [20:02] so it was stuck on "2 minutes left" for about 14 minutes or more [20:02] nice [20:02] Hello folks. I'm using xenial (16.04) and having a problem getting systemd containers to access the network. In the journal, I see systemd-networkd complaining "Could not enable IP masquerading: Operation not supported". Some reading indicates that this is an issue with systemd not being compiled with iptables support. [20:04] This is systemd 229 fwiw. Some additional reading shows that systemd 231 is compiled with iptables support. How should I proceed? Should I upgrade systemd beyond what's available in the xenial repos, to version 231? Or is there a PPA for version 229 with iptables built in? [20:09] tsani: are you referring to systemd-nspawn? [20:09] tomreyn: yes [20:09] aha, i just read about it for the first time. [20:09] conttainerization in ubuntu is usually done using lxd, that's all i know [20:10] also apparmor might be getting in your way [20:11] hm, possibly [20:12] The thing is that at this point I've already prepped a bunch of nspawn containers. I'm migrating a bunch of services from AWS to DigitalOcean. On EC2 I was using Arch for the host system, and now on DO I'm using Ubuntu. [20:12] I'd rather not switch to LXD if possible. [20:12] https://github.com/systemd/systemd/issues/596 here's why I think it's a missing iptables build setting for systemd [20:13] whats the error message you get to see / what makes you think systemd on xenial lacks iptables support? [20:14] have you reviewed the patches backpported to systemd in xenial to verify this functionality is not present? [20:14] sorry i missed that you posted the actual error message before, if not the command that triggered it [20:15] The error appears when I boot the container. Upon booting, nspawn sets up a virtual ethernet connection between the host and guest system, and enables IP masquerading to let the guest access the internet. [20:16] https://launchpad.net/ubuntu/+source/systemd/+changelog it appears iptables support was added in yakkety; I don't know how to check if that was backported [20:17] one way to do it is to review what's in [systemd_229-4ubuntu19.debian.tar.xz] as available at https://packages.ubuntu.com/xenial-updates/systemd [20:18] or start wiht the changelog [20:18] it doe snot mention "iptables", but i'm not even sure whether this is the correct package to look at. [20:19] yes it is the correct package [20:21] maybe you can do bridging or routing instead of NAT [20:21] i'm having a weird issue, when i plug a usb device in my screen does this weird thing and i have to restart http://i.imgur.com/NaKJwHp.jpg trying to google but i'm not sure where to start. it doesn't happen when booted on the windows partition, but also happens in fedora [20:22] it also doesn't seem to happen when i started in gnome classic [20:23] TyrMactire, on powersupply or on battery? [20:23] power supply [20:23] tomreyn: NAT is really the only way to go. I'll be running maybe a half dozen containers, most of which with nginx inside, and an nginx on the host reverse proxying into the relevant containers [20:24] TyrMactire, usb 3 port? (blue) [20:25] tomreyn: according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787480 systemd-networkd needs to be linked to libiptc.so; running ldd on systemd-networkd on my system reveals that it's linked to libip4tc.so [20:25] Debian bug 787480 in systemd "build with iptables support" [Wishlist,Fixed] [20:25] tsani: so i guess you need to apt-get source, edit and rebuild [20:26] I'll give it a shot [20:27] tsani: other than that'd upgrade to 17.04, which is not an LTS release, then upgrade to 17.10 when released, and to 18.04 when released, and then stay on lts [20:28] that way you wouldn't need to maintain your own packages [20:30] hmm that sounds much simpler [20:30] sorry [20:31] i made the mistake of unplugging something [20:31] hey all, do xmonad and ubuntu play well together [20:32] looking for a tiling window manager. preferably based on ubuntu/debian [20:32] os based on ubuntu/debian [20:33] hey guys, the most recent 'grub' update in ubuntu 16.04 seems to have made my system unbootable. The system always used to boot from a LVM but now grub-install throws an error: grub-install: error: embedding is not possible, but this is required for RAID and LVM install. [20:33] hopefully something prebuilt as i'm a noob [20:35] Systems are updated on a daily basis, so this patch set was incremental [20:35] This is the package set that was just pushed to me: The following packages will be upgraded: filebeat grub-common grub-pc grub-pc-bin grub2-common kmod libdrm2 libkmod2 ntp ntpdate python3-distupgrade python3-update-manager sudo ubuntu-release-upgrader-core update-manager-core [20:35] tsani: maybe, and maybe not. it involves two extra upgrades === juboxi is now known as jubo2 [20:36] grub2-common: 2.02~beta2-36ubuntu3.12 [20:38] darkl0rd: read the changelog for the versions you had before and have now (see /var/log/apt/term.log to detemrine those versions). also, do you have a seperate /boot partition (and file system) and which partition table type is this (msdos / gpt)? [20:41] tomreyn: I'm coming from Arch to Ubuntu. I'm all about updating things all the time. [20:41] tomreyn: Yes separate boot partitiont, also on LVM, always was. Filesystem is ext2 for /boot. [20:42] darkl0rd: partition table type? also, which OS + system architecture is this and do you boot with uefi or 'legacy' bios? [20:43] msdos, Ubuntu 16.04, amd64 - VMware esx 6.5 (UEFI emulation). [20:44] darkl0rd: where does vmware get into the picture there? is the ubuntu system a VM under ESX? [20:44] yes [20:45] darkl0rd: that's something you could have mentioned before ;) - did you maybe upgrade that lately, too? [20:45] I have a gazillion of them, all built with the same setup (Ansible) - been running for months - the apt-get upgrade on 16.04 just now broke it. [20:45] The systems are al configured to auto install security patches etc. [20:45] just "feature" patches are installed once a week through apt-get upgrade manually [20:46] The "upgrade" I just performed rendered my system unbootable. [20:46] glitsj16: http://i.imgur.com/tkBqyO3.png [20:46] darkl0rd: i think embedding was considered unstable for a long time now. you'd better install to the mbr [20:48] tomreyn: grub is installed on /dev/sda --> /dev/sda is a pv for the vg system, in which a lv 'boot' exists. I can no longer run grub-install /dev/sda [20:48] I'm not embedding [20:58] darkl0rd: right i think /boot is supposted to be outside of LVM, but i'm not entirely sure on that. i'm not sure whether LVM2 support (with varying versions of metadata) is complete in grub2. [21:00] tomreyn: I have been running my systems like this since Ubuntu 6.06 (Dapper Drake) [21:00] does anyone use kvm? I'm having trouble starting my virtual machine [21:01] darkl0rd: okay, then you know more than i do. at least in my head, putting an LVM2 PV on the plain device and expecting to be able to boot of it, still means looking trouble. [21:01] Right, again - these specific systems have been running since 16.04 came out - they always worked - apt-get upgrade just broke them. [21:02] did you read the changelog, yet? [21:02] tomreyn: The installer (Ubuntu) even suggests doing it like this for what it's worth when you make your system "all LVM". [21:02] Nothing special in there. [21:03] darkl0rd: i think the installer would create sda1 and use that as a PV. [21:04] no, it doesn't - if you throw away it's suggestion [21:04] and then setup LVM only, the boot step will suggest installing to /dev/sda itself. [21:04] sure you can always create custom partition schemes [21:05] anyway - not the discussion, my problem is, I had a running system - apt-get upgrade broke it on a LTS release, not what I expect. [21:06] have you been able to determine why it claims to be embedding when you say it is not? [21:07] No, I went as far as my knowledge regarding grub goes - that's why I came here, asking whether a) other people had this problem after the latest upgrade cycle, b) how to resolve it [21:08] i see, and i hope someone else has experience with the configuration you have, good luck! [21:09] Are initramfs also EFI binaries? (Like the kernel). [21:12] doux: run this: file /boot/initrd.img-$(uname -r) [21:12] darkl0rd: the #grub channel might be of value here . Some real smart folks frequent there . [21:12] i'm having a weird usb issue, when i plug in a usb device my screen goes weird like this, http://i.imgur.com/NaKJwHp.jpg has anyone seen this before? [21:14] [21:15] tomreyn: I was told it is not an EFI binary on #archlinux. Just curious, what will that do? [21:15] What kinda bugs me here is the fact that we're now going to blame it on a "mis-configuration" on my side. I have 14 other systems with the same configuration which are still running (not upgraded yet). Apt-get upgrade already threw the error at me when it installed the "new" grub package. Clearly something changed recently which results in my "mis-configured" system from booting now. since Ubuntu 16.04 LTS includes this package, I'd [21:17] madLyfe: nice find, have you installed ipmitools yet? [21:17] doux: initrd.img is a gzip compressed archive, the initramfs driver is really just a mechanism to extract this archive in ram and working with the files contained in it. some of those files are plain text (configuration or script) files, others are ELF executable files (a machine readable format) [21:19] tomreyn, Ah ok. So there's no way... thanks for the info. [21:20] tomreyn, I'm guessing I would have to compile the kernel to act like an initramfs right? [21:21] tomreyn, but how would it know to hand over control to the rootfs kernel I wonder. Not important. Just curious about it. [21:21] workaround for other poor bastards with a broken configuration: grub-install --modules lvm /dev// (please note that this IS embedding, but does (still...) work) [21:21] doux: i'm not sure what you mean or what you'Re trying to achieve, could you clarify your goals? [21:22] tomreyn, I wanted to run an initial kernel to decrypt my LUKS rootfs, without running a bootloader. [21:22] nah cuz I'm just trying to get a reading through the terminal [21:23] tomreyn, the same way that grub + initramfs does it. Just experimenting is all. [21:23] glitsj16 ^ [21:23] doux: without a boot loader, oyu won't be running a kernel, unless that kernel was built for uefi. [21:24] tomreyn, like every compiled kernel since 2.6 I think. Kernel = UEFI binary. [21:25] doux: so just ditch grub then, you dont need it ;) [21:26] tomreyn: now that I've upgraded to zesty, the containers won't even boot... In the journal, I see "Failed to create /init.scope control group: Permission denied" [21:27] tomreyn, Yeah, but the devil is in the details, and I'm kinda still a newb. thanks for the help. [21:27] madLyfe: If I understand the documentation ipmitool is a CLI command, you can install it like any other package, so 'sudo apt install ipmitool' would work. You might need to load some IPMI related kernel modules, but we can help you do that if needed. I haven't used ipmitool, have zero knowledge but if you want, I can try to assist where I can, or other people in the channel might chime in.. Thoughts? [21:30] Folks I have made a udev rules https://pastebin.com/RVFR2pBQ however it does not work (the rules is called as I can see from the script) but the device file access right won't change [21:31] tsani: this seems to discuss this error and possible workarounds https://github.com/lxc/lxc/issues/1554 [21:35] glitsj16: i can try. i thought ipmi was a supermicro board thing? [21:36] and for remote management [21:41] madLyfe: It's not specific to supermicro as far as I can tell. Remote management is only part of it. You should know if it's worth keeping whitin a short timespan. If you're up for it: sudo apt install ipmitool === absynth is now known as dan2wik [21:42] glitsj16: installing [21:42] madLyfe: ipmi is basically just a protocol to interface with a specific type of BMC [21:42] done [21:42] madLyfe: btw, I get this info from the README included in the latest download available on sourceforge, http://ipmitool.sourceforge.net [21:44] madLyfe: for starters, try 'sudo ipmitool' and pastebin the output please. My guess is you will need to load 2 kernel modules, but we need to confirm that. === semeion is now known as mnemonic [21:45] madLyfe: I don't have hardware that works with ipmitool, so I'm unable to run those commands myself [21:45] Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory [21:47] madLyfe: okay, run 'sudo modprobe ipmi_msghandler && sudo modprobe ipmi_devintf' .. then retry that command [21:47] same [21:48] modprobe ipmi_si [21:49] sudo modprobe ipmi_msghandler && sudo modprobe ipmi_si ? [21:49] tomreyn: do you have experience with IPMI and ipmitool? [21:49] glitsj16: just a little really. [21:50] you may also need to 'service ipmi restart' after loading the kernel modules. [21:50] I don't, I see https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/110992 and it seems madLyfe needs to set up /dev/ipmi0 manually, which I know nothing about.. [21:50] Launchpad bug 110992 in ipmitool (Ubuntu) "ipmi modules need to manually inserted and device created " [Wishlist,Fix released] [21:52] tomreyn: I realize you had a long help session already, but if you're willing to assist madLyfe, that would be awesome.. just a question though, 'no thx' is a valid reply :) [21:53] my understanding is that you need to sudo apt-get update && sudoap apt-get install ipmitools && sudo modprobe ipmi_msghandler && (( sudo modprobe ipmi_devintf || sudo modprobe ipmi_si )) && sudo service ipmi restart [21:54] madLyfe: ^ .. are you aboard to try tomreyn's commands? [21:54] and then i'd expect ipmitool to be able to find a device node to connect to, assuming the hardware provides an ipmi capable bmc and the drivers will support it. [21:56] tomreyn: that's what I understand after reading some documentation on it, madLyfe already confirmed his supermicro hardware provides ipmi [21:56] actually that package name is ipmitool, no trailing S [21:57] so run what he posted? [21:58] https://help.ubuntu.com/community/IPMI [21:58] is restart part of that command string? [21:59] "sudo apt-get update && sudoap apt-get install ipmitool && sudo modprobe ipmi_msghandler && (( sudo modprobe ipmi_devintf || sudo modprobe ipmi_si )) && sudo service ipmi" ? [22:01] all im trying to do is see the temps of my CPUs and maybe fan speeds in terminal so i can run watch on it and have it update while i putting it under load [22:02] madLyfe: sudo apt-get update && sudo apt-get install ipmitool && sudo modprobe ipmi_msghandler && (( sudo modprobe ipmi_devintf || sudo modprobe ipmi_si )) && sudo service ipmi restart [22:02] but you'd better run these commands one by one [22:02] since i'm not entirely sure [22:03] madLyfe: you could also try using lm-sensors for this purpose. [22:03] ipmi would give you access to more than just the readings, though [22:04] tomreyn: i tried but i have no idea if what im getting is correct or what is what: http://i.imgur.com/dfa0rs7.png and then i found this for my board: http://i.imgur.com/tkBqyO3.png [22:06] when you say 1 by 1 that means wherever there is a && split? [22:06] madLyfe: right, it's never easy to know what is what. sometimes vendor manuals can help there, but reviewing them is no fun. ipmitool *may* provide less ambiguous information. [22:07] so like run sudo apt-get update by itself? [22:07] and so on? [22:07] madLyfe: and yes, 1 by 1 as in && splits commands [22:08] and remove parantheses [22:09] tomreyn: is this one command? "sudo modprobe ipmi_devintf || sudo modprobe ipmi_si" [22:09] madLyfe: sudo apt-get update && sudo apt-get install ipmitool; dpkg -l ipmitool; sudo modprobe ipmi_msghandler; sudo modprobe ipmi_devintf; sudo modprobe ipmi_si; lsmod | grep ipmi; sudo service ipmi restart [22:09] madLyfe: just use what i posted last [22:10] and put the output on a pastebin [22:11] which mainboard is thisß [22:11] tomreyn: very much appreciate your efforts, thank you.. I'll lurk and learn [22:11] tom [22:11] tomreyn: https://gist.github.com/7ee2e83ac33d21cc9aef7fcf79bd9938 [22:11] glitsj16: i dont really have anything to teach in this area , just guessing myself ;) [22:11] Supermicro H8DGU-F [22:12] might not have the F. prolly just Supermicro H8DGU [22:12] tomreyn: heh, it's a kind gesture without doubt [22:14] madLyfe: thanks for the output. the last command was wrong and probably superfluous. [22:14] tomreyn: using systemd.legacy_systemd_cgroup_controller gets it to boot! And networking works now that I've upgraded to zesty! [22:15] I'll upgrade to the latest systemd inside the container to see if that obviates the need for the special command-line argument to systemd [22:17] ipmitool has a systemd service file called 'ipmievd.service' [22:18] madLyfe: do you now have /dev/ipmi* ? also, does "ipmitool user list" work now? [22:19] glitsj16: yes, but i think this is optional, it's for commounication initiating form the BMC to be logged to syslog, kind of like snmptrapd [22:20] i havent done anything since i posted the output [22:20] tomreyn: okay, so something to teach afterall :) .. the service would have been started post-install i assume [22:21] tsani: nice progress there, congrats [22:21] madLyfe: can you do: ls /dev/ipmi* [22:22] ls: cannot access '/dev/ipmi*': No such file or directory [22:25] tomreyn: alas upgrading in the container to systemd 234 didn't make a difference; I wonder how I can get systemd-nspawn --boot to pass a command-line argument to init [22:26] Hi, after installing autofs and nfs my boot time increased dramatically. dmesg shows several 45 second waiting times [22:26] any idea how I can fix that? [22:31] madLyfe: does this return anything? cat /proc/devices | awk '/ipmidev/{print $1}' [22:32] tomreyn: 246 [22:32] madLyfe: sorry about my latency, i'm reading up on stuff [22:32] np [22:32] madLyfe: sudo /bin/mknod /dev/ipmi0 c 246 0 [22:33] k [22:33] madLyfe: so you now have /dev/ipmi0 since you just created it [22:33] madLyfe: does "ipmitool user list" work now? [22:33] c is create like in tmux windows [22:34] Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory [22:34] c is for 'character device' in this context [22:34] oh [22:34] madLyfe: sudo ipmitool user list [22:34] same [22:35] bah [22:36] Ah, it's the Parameters= configuration option in the .nspawn file. Wonderful! [22:37] tsani: hehe, not obvious, sorry, i have no idea about nspawn. [22:38] madLyfe: i'm a bit too exhausted to keep poking on this. please try with someone else or give the proprietary tools a try: https://www.supermicro.com/solutions/SMS_IPMI.cfm [22:38] thanks for the go, tomreyn. appreciate it. you too glitsj16! [22:38] madLyfe: i recommend you remove the device node you just created using "sudo rm /dev/ipmi0" though [22:39] done [22:39] madLyfe: no problem, it's tomreyn that did all the research etc, thanks again for that, enjoy a nice rest i'd say [22:40] and you ;) [22:43] madLyfe: you could file a question on the forums about your attempts, at least by doing that you can save all the hassle going through it again on a later date, just a suggestion, this thing has probably kept you going for a while too [22:44] i may try and fish out what is what temp using the SM ipmi tools [22:45] someone also pointed me to this: https://github.com/firehol/netdata [22:45] which isnt the way i wanted to view the info but i guess its better than nothing [22:49] madLyfe: well yes, that's true.. a great opportunity to keep your hardware under close inspection, thanks for sharing the netdata link btw [22:50] I have problem with opening links. When I try to open links from programs by clicking on them, either nothing happens or an empty browser window appears. I'm using firefox. [22:52] supremum: you might get a better view on what's going on by starting firefox from a terminal and looking at the output when trying to open links [22:58] It would appear as though the "desktop environment/window manager" is not communicating the clicked URL's => something to also check is to make sure that Firefox is set as the default web browser (sometimes things get slightly confused), supremum [22:58] madLyfe, have you considered maybe using snmp mibs for the monitoring? [23:00] glitsj16, i don't get any error message in the terminal, actually a new instance of firefox is opened, but it is not surfing to the link [23:02] firefox is my default web browser now. I fixed that earlier, but didn't help the problem [23:02] i had no default browser earlier, but now it is firefox [23:03] an interesting thing is that when i click on links in pdf documents i get an error message in the pdf program: Failed to execute child process "/usr/lib/firefox/firefox" (Permission denied) [23:03] supremum: see what YankDownUnder said about desktop env/win manager.. what are you using for those? [23:03] glitsj16, how do I check that? [23:04] supremum: visually would be one way.. using unity, gnome-shell, another ubuntu flavour? [23:04] hello i have installed mesa from ubuntu x-team mesa 17.1 but opengl version still say 3.3 on radeon why? [23:05] glitsj16, is this enough info? Linux anders-VirtualBox 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [23:06] glitsj16, this one I think I downlaoded: https://www.ubuntu.com/download/desktop [23:08] latest ubuntu 17.04? what's the output of 'echo $DESKTOP_SESSION'? [23:10] supremum: odd that you seem to be able to start firefox yet get a permission denied in the pdf app.. 'll /usr/lib/firefox/firefox' output please? [23:11] Hi guys. I updated Nvidia drivers on my laptop and restarted and now my computer will not boot into the operating system anymore. What can I do to recover it? [23:11] glitsj16, ubuntu is the value of that enviroment variable [23:12] glitsj16, yeah odd, links with irc / terminal new blank firefox window. pdf reader just error inte the reader. [23:12] It is stuck at /dev/sda1: clean, 452193/6111232 files, 3375055/24413696 blocks [23:12] supremum: thanks, that means you're running unity.. firefox does start as expected yes? [23:12] th0r: do tell? [23:14] glitsj16, ll /usr/lib/firefox/firefox [23:14] -rwxr-xr-x 1 root root 125152 jun 12 15:31 /usr/lib/firefox/firefox* [23:14] yeah firefox is doing ok just opening external link is broken [23:14] root, lol [23:15] why is firefox running as root? :O [23:15] supremum: that looks fine, check what you have for 'xdg-mime query default x-scheme-handler/http' [23:15] wait, running as root? [23:16] never mind, doesn't have setuid flag, so will not run as root [23:16] lol [23:17] xdg-mime query default x-scheme-handler/http [23:17] firefox.desktop [23:17] supremum: what did you get from that xdg-mime command? [23:17] do you want me to check the output from this also? sudo rm -Rf / [23:18] supremum: lol, I don't [23:18] supremum, dont post that ever, even in jest [23:18] madLyfe, what mibs are implemented is up to the manufacturer. All the linux distros I have messed with had at least a basic set. You would have to determine if the info you want is available. [23:18] supremum: xdg-open , did you try that already? [23:19] th0r: im on ubuntu server via ssh. [23:20] xdg-open https://www.google.se [23:20] gives new firefox window with blank page [23:20] my new tab and startout behaviour in firefox is set to be blank page. [23:21] supremum: try running firefox with a fresh profile [23:22] supremum: where did you get that remove command from curious. Also yes don't run that, if it works, it will mess stuff up big time, delete various things [23:22] glitsj16, with reset of preferences? [23:23] sebsebseb: someone from another channel suggested it [23:23] supremum: which ? [23:24] supremum: that's what using a fresh profile does yes, if you use firefox you should now this.. [23:24] hey guys, my packages are screwed up after copying and pasting an install dependencies command for compiling an application (dolphin) [23:24] wish^: What results with attempting to boot into a recovery console from grub's boot menu ? From a console we can look and see what is installed . [23:25] ok, i'll take a snapshot of my virtual machine, so i can go back to my current profile after reseting. let me restart and try this [23:26] nvm fixed it by reverting the command [23:29] Bashing-om, I can get into the recovery menu [23:29] But for some reason when i go into the console, i only have 1-2 mins before they console no longer is usable [23:30] still same problem after trying fresh profile [23:31] actually I did install chrome and then I uninstalled firefox, and after that I installed firefox again and uninstalled chrome. [23:32] chrome didn't have a way to use private browsing by default, so didn't like it. [23:32] maybe this reinstallation of firefox caused from problems? i did it with apt-get [23:33] Bashing-om, I can boot in recovery with 4.10.0.27 Kernel. What commands should I use from there to see what is installed? [23:33] wish^: Ouch ! Something more than just a graphic's driver at work here . What shows for disk space ' df -h ' and what ' free -m ' for memory management ? [23:34] Do I do drop to root shell prompt? [23:35] wish^: yeah . but you are root . be sure be careful . [23:36] Everything looks good on space and memory, got 32gb memory and only 76 used [23:36] But after a certain amount of time in the terminal it automatically goes back to the recovery menu and that menu is unresponsive [23:37] Evening [23:38] Anyone here familiar with adding ubuntu to active directory [23:39] I think I may have found the solusion now: https://askubuntu.com/questions/41010/link-clicked-not-passed-to-firefox [23:40] wish^: OK ! . I feel better . Let's see what is installed for the graphic's driver : ' lshw -C display ' . As you have no networking enabled in this console . of interest is the product and configuration lines . I have to be away for about 30 minutes . [23:42] That command shows me my 2 graphics chips. Nvidia Quadro M1000M and INtel built in gfx [23:43] This is a Dell Precision 5510 laptop btw