[00:05] <helpplease> (07:48:12) gartral: helpplease: how did you take the backup? from test disk
[00:05] <helpplease> (07:48:20) helpplease: and the changes where made while hd was inside my pc box its now back inside the external case
[00:06] <gartral> helpplease: yes I said those things.
[00:07] <helpplease> just answering ur question soz got distracted been changing nappies
[00:07] <gartral> helpplease: oooh... ok, well the testdisk backups I'm unsure of how to restore
[00:08] <helpplease> suger
[00:08] <helpplease> any ideas tools you know how to use then
[00:09] <helpplease> just putting a call out as well anyone know how to use test disk
[00:09] <helpplease> need help restoring a bup
[00:14] <helpplease> anybody know how to use test disk
[00:15] <helpplease> need help with a backup
[00:15] <ecormier> I'm all rsync and dd, sorry
[00:15] <helpplease> darn
[00:16] <helpplease> does anyone know how to restore a former partition table i have a hd i need data from
[00:16] <helpplease> my table is all messed up by urs truely
[00:42] <KombuchaKip> I have followed the SimpleSbuild wiki instructions. I am trying to build a source package. When I run sbuild -d artful my-package_0.0.0~artful.dsc, sbuild bails immediately with E: 10mount: mount: /run/schroot/mount/artful-amd64-ec56a701...: wrong fs type, bad option, bad superblock on artful-amd64, missing codepage or helper program, or other error.
[00:48] <nacc> KombuchaKip: just to be sure, you did already do a `mk-sbuild` etc?
[00:48] <KombuchaKip> nacc: Yes
[00:48] <KombuchaKip> nacc: mk-sbuild artful
[00:49] <KombuchaKip> nacc: I have an encrypted home directory and a RAID1 setup. I wonder if that has something to do with it?
[00:49] <KombuchaKip> nacc: Adding --verbose to sbuild doesn't reveal anything more.
[00:49] <nacc> KombuchaKip: it shouldn't, sbuild's schroots don't reallly care about your existing fs
[00:49] <nacc> KombuchaKip: it uses bind mounts for those, if anything
[00:50] <KombuchaKip> nacc: Any ideas?
[00:50] <nacc> KombuchaKip: thinking
[00:53] <nacc> KombuchaKip: schroot -i | grep 'Filesystem Union Type'?
[00:53] <KombuchaKip> nacc: Four matching lines of 'Filesystem Union Type                aufs'
[00:53] <nacc> KombuchaKip: mand what version of ubuntu are you on?
[00:53] <nacc> KombuchaKip: and what does `grep aufs /proc/filesystems` say?
[00:53] <KombuchaKip> nacc: Artful
[00:54] <nacc> KombuchaKip: i think on artful it should be overlay not aufs
[00:54] <KombuchaKip> nacc: $ grep aufs /proc/filesystems
[00:54] <KombuchaKip> nodev	aufs
[00:54] <KombuchaKip> nacc: $ schroot -c artful-amd64 -u root
[00:54] <KombuchaKip> E: 10mount: mount: /run/schroot/mount/artful-amd64-1768...: wrong fs type, bad option, bad superblock on artful-amd64, missing codepage or helper program, or other error.
[00:54] <KombuchaKip> E: 15binfmt: update-binfmts: unable to open /var/run/schroot/mount/artful-amd64-176.../bin/sh: No such file or directory
[00:54] <KombuchaKip> E: artful-amd64-176...: Chroot setup failed: stage=setup-start
[00:56] <nacc> KombuchaKip: still looking
[00:57] <KombuchaKip> (testing)
[00:57] <KombuchaKip> nacc: Sorry, I lost my voice. Accidentally pasted too many lines.
[00:57] <KombuchaKip> nacc: https://paste.ubuntu.com/p/5XtzqKgmh5/
[00:58] <liesware> LIST
[00:59] <nacc> KombuchaKip: np
[01:00] <KombuchaKip> nacc: I think I found the problem. From syslog, kernel: [1894449.212190] aufs au_xino_create:798:mount[24630]: xino doesn't support /tmp/.aufs.xino(btrfs)
[01:01] <nacc> KombuchaKip: ah
[01:01] <nacc> KombuchaKip: yeah that'd do it
[01:01] <KombuchaKip> nacc: So I can't run sbuild on a btrfs file system?
[01:02] <nacc> KombuchaKip: https://www.eyrie.org/~eagle/notes/debian/sbuild.html ?
[01:02] <nacc> KombuchaKip: i don't know, I don't have the combination of configurations
[01:03] <KombuchaKip> nacc: Worst case could I create a chroot on an ext4 formatted usb stick?
[01:03] <nacc> KombuchaKip: sure, or in a tmpfs
[01:03] <nacc> i believe the tmpfs option is mentioned on the wiki
[01:03] <KombuchaKip> nacc: Yeah, I'll try that.
[01:04] <KombuchaKip> nacc: Step 11. Can I do that after my schroots are already generated? https://wiki.ubuntu.com/SimpleSbuild#Creating_the_schroots
[01:05] <da7niel> Question: if I'm deep inside a directory structure, and I need to temporarily go somewhere else, is there a way I can very rapidly get back to where I was, instead of a long "cd a/b/c/..." command?
[01:05] <KombuchaKip> da7niel: cd -
[01:05] <da7niel> ahh thanks!
[01:06] <KombuchaKip> da7niel: np
[01:07] <nacc> KombuchaKip: i think so?
[01:07] <nacc> da7niel: pushd/popd might be more useful if you are doing a lot of directory traversals
[01:07] <nacc> da7niel: cd - just goes 'back' to where you were (OLDCWD)
[01:07] <da7niel> nacc: I'll look into that
[01:09] <KombuchaKip> nacc: It appears to work. This tmpfs file system only uses memory during the build and then is automatically cleaned up? I've set it to 75% RAM which as I understand it is a maximum only for during build?
[01:31] <xjkx> Cryptsetup question: I reboot without unmounting or doing cryptsetup luksClose. Now...my password wont work. Is there anything I can do ?
[01:35] <nacc> KombuchaKip: right, that should be true
[01:35] <KombuchaKip> nacc: Thank you.
[01:35] <KombuchaKip> nacc: Works like a charm now. Well, kind of. My package isn't building, but that's not sbuild's problem.
[01:36] <nacc> KombuchaKip: nice
[01:36] <nacc> KombuchaKip: interesting point on the btrfs thing, i really didn't know it was a problem
[01:36] <KombuchaKip> nacc: That makes two of us.
[01:36] <KombuchaKip> Oh darn, I forgot to say hello to randall
[01:36]  * KombuchaKip waves at randall
[01:37] <randall> wait...whut?
[01:37]  * KombuchaKip scratches his head and wonders if randall is the same randall from Vancouver?
[01:38] <randall> nope, North Carolina
[01:39]  * KombuchaKip waves anyways
[01:39]  * randall waves back
[01:48] <nshire> bit of a stupid question but what terminal program do you use that shows the colored ubuntu logo in ASCII?
[01:49] <nshire> like on the right desktop https://davidyat.es/content/images/2016/09/desktops.png
[01:54] <randall> screenfetch
[01:57] <randall> nshire, install screenfetch, open .bashrc and go the the very bottom add the word screenfetch then save and open a terminal
[02:10] <macgeek312> I have a weird question…I’m trying to get Time Machine support on SMB which would require Samba 4.8…is there a repository that might have 4.8 RC in it (I haven’t found it) or a nice way to compile it on Ubuntu 17.10 to act like the normal version?
[02:11] <sob808> hi
[02:11] <crond> macgeek312, you're probably going to need to google around, that's an oddly specific question for a very specific thing, I mean, nothing wrong with asking here, but it's unlikely anyone will just randomly have the answer.
[02:11] <icedwater> Hi, I can't seem to start my 16.04 system - I have 4.13-0-32 but it can't mount the rootfs at boot
[02:13] <macgeek312> crond: I suppose the more general question is how to compile your own Samba version the way the package maintainer would lol
[02:14] <icedwater> Trying to apt-get remove the generic image says I should reinstall before attempting removal, and trying to install says I should reinstall before attempting configuration
[02:20] <icedwater> Fingers crossed that --force-remove-reinstreq works...
[02:24] <KombuchaKip> nacc: After I rebooted I noticed the /dev/shm/schroot/overlay/ directory is gone. How can I ensure that it's automatically created when the builds are performed in /dev/shm ?
[02:25] <icedwater> Seems to be OK so far, let's see
[02:26] <KombuchaKip> nacc: I'm assuming I have to put something in /etc/rc.local
[02:32] <icedwater> OK, looks good. dpkg --purge --force-remove-reinstreq linux-image-extra-4.13.0-32-generic solved it for me
[02:32] <icedwater> Ditto for without the -extra-
[02:33] <icedwater> But doing that should require a safety harness and a hard hat.
[02:46] <marathon> hello
[02:48] <gotes_> Hi. Ubuntu uses the shortcut < Alt + Left Mouse Click > to move the window. I need this shortcut for a game. How can I "clear" this shortcut, so I can use it in the game? Thanks
[02:51] <kenrin> You go to settings and shortcuts and change it
[02:52] <kenrin> Should be under keyboard (at least on unity|gnome)
[02:53] <gotes_> kenrin: I can find keyboard shortcuts but not mouse shortcuts
[02:55] <kenrin> Oh that one,  you got to modify it with gsettings
[02:56] <kenrin> gnome-tweak-tool under windows
[02:56] <kenrin> Window action key is the one you want
[03:00] <george_> &hello
[03:00] <george_>  
[03:09]  * icedwater bows and leaves.
[03:12] <ctpccll> hey all. so i just tried twice to install ubuntu using gnome boxes and both times it just reboots into the live environment. any ideas?
[03:13] <randall> remove your live medium first
[03:13] <justsomeguy> You should try poking around the preferences for the virtual machine you just installed and edit the boot order. It might just be booting off of the .iso file first.
[03:13] <kenrin> Did it install?  Change the boot order or remove the iso
[03:14] <randall> your bios/uefi is prioritising your install mefium over your hard drive
[03:14] <ctpccll> ok i removed the iso, now it just fails to start
[03:22] <ctpccll> anyone know of any problems with installing 16.04 using boxes?
[03:27] <wisjejsje> kachow!!!!
[03:28] <ctpccll> trying another angle then - has anyone successfully installed ubuntu 16 using gnome boxes?
[03:30] <blue1> ctpccll: I am using xubuntu here -- sorry
[03:31] <ctpccll> blue1: in gnome boxes?
[03:31] <blue1> ctpccll: not recently -- It has been awile
[03:31] <blue1> and not gnome
[03:32] <kenrin> I don't know about gnome boxes,  virt-manager works great and uses the same backend
[03:32] <kenrin> boxes I think hides a lot of the options last I used it anyway
[03:32] <ctpccll> i literally just want a default ubuntu installation in a virtual machine
[03:33] <blue1> by boxes do yu mean container maybe?
[03:33] <blue1> sheesh my typing suxs tonight
[03:33] <kenrin> No,  boxes is the front end for KVM|Qemu
[03:33] <blue1> kenrin: thanks
[03:33] <kenrin> You can try virt-manager,  it is simple
[03:34] <ctpccll> kenrin: just installed it.. 'no active connection to install on'
[03:34] <kenrin> You got libvirtd running?
[03:35] <ctpccll> not so simple:)
[03:35] <ctpccll> i assume so if it uses the same backend as boxes
[03:36] <kenrin> Well check
[03:36] <ctpccll> yeah
[03:37] <kenrin> If it is running you should just be able to right click and connect to QEMU
[03:37] <thehebs> anyone familiar with OMD? im trying to figure out the fastest/eastiest/most efficient way to add 35 hosts to monitor
[03:39] <ctpccll> well that's remarkably frustrating :)
[03:39] <ctpccll> i have e.g. a windows install working in boxes, i'm really surprised ubuntu can't cope
[03:55] <ctpccll> last desperate plea for help getting ubuntu installed in boxes?
[04:15] <aiden> lo
[04:15] <aiden> Hello I mean
[04:16] <aiden> Hi Neuthrone
[04:16] <aiden> Welcome to fun land my child
[04:17] <Neuthrone> Hello aiden
[04:17] <aiden> How ya doing?
[04:17] <Neuthrone> I am doing well
[04:17] <aiden> Good, good.
[04:18] <Neuthrone> Just preparing for my Computer Organization exam. When you are forced to learn
[04:18] <krytarik> aiden: This is for Ubuntu support btw.
[04:18] <Neuthrone> ...Assembly
[04:18] <Neuthrone> Ah
[04:18] <aiden> Fun on the bun for sure
[04:18] <Neuthrone> Can anyone explain the exact use for pointers in C/C++?
[04:19] <krytarik> Neuthrone: Like I just said..
[04:19] <Neuthrone> I know they store a memory address, but is there any particular use for them, or any projects I can apply to them.
[04:19] <krytarik> !alis
[04:22] <Li> does anyone knows why wifi card doesn't seem to work on brand newly install ubuntu 16.04 of dell latitude e6230 "which is already confirmed compatible with linux". This is the second laptop of hte same model I face the same problem with. so it's confirmed not faulty hardware.
[04:23] <Neuthrone> I actually have a question relating to System7
[04:23] <Neuthrone> System76
[04:24] <Neuthrone> My case on my 2015 Oryx Pro has been broken for a few months...does anyone know where I can buy a case for an Oryx Pro past from System76 themselves? I heard they were Sager cases...but I just want to be sure.
[04:24] <deww> Li: do you know which card is in there?
[04:25] <krytarik> Neuthrone: This isn't ##hardware either.
[04:25] <fx250> Is there a way to send a signal or communicate with a running rsync process to get some data that may help to track progress for presenting a gui progress indicator?
[04:27] <Li> deww: not sure .. what command to list the network device? I've used lshw | grep network and returned.. network disabled!
[04:29] <lotuspsychje> good morning to all
[04:29] <deww> Li: lshw works.
[04:30] <deww> Li: lspci might too
[04:31] <deww> Li: check that your laptop doesn't have a physical wifi switch to turn it off
[04:36] <Li> deww: it's a physical switch and it's turned on, lspci returned many stuff including broadcom bcm43228 .11a/b/g/n
[04:37] <deww> broadcom is notorious for having terrible support for linux
[04:37] <Li> the wifi network in the house is .11g
[04:37] <lotuspsychje> im trying to solve this bug guys: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1749237 im now at the step i cant make this persistent at boot
[04:37] <deww> Li: maybe ths https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
[04:38] <lotuspsychje> Li: have you installed ubuntu-restricted-extras ?
[04:39] <Li> deww: I'll try reinstalling that ...
[04:40] <Li> lotuspsychje: of course not since I was not able to access the wifi and has no cable connection .. I will try later with cable
[04:42] <lotuspsychje> Li: the ubuntu live(usb/cd) also holds the broadcom driver you can grab it from there offline
[04:42] <lotuspsychje> Li:somewhere in /pool or something
[04:46] <RonWhoCares> I've just received this error after upgrading to Ubuntu 18.04 .  Any ideas? Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[04:47] <Li> lotuspsychje: that is good news .. anymore info on how to go about it?
[04:47] <Li> is it just copy and paste?
[04:48] <Li> aha I see bcmwl-kernel there
[04:48] <lotuspsychje> Li: yeah install that package from there
[04:49] <Li> with dpkg -i ... right?
[04:49] <lotuspsychje> RonWhoCares: #ubuntu+1 for bionic ; )
[04:49] <lotuspsychje> Li: you can just click the package to open with software center
[04:52] <Li> installed and restarted network-manager service but still able not able to see the wifi signal
[04:53] <Li> do I have to install the restricted/i packages too?
[04:55] <lyntoo> watch -n1 iwconfig
[04:55] <lotuspsychje> Li: you can try with restricted too yeah
[05:18] <studio69> ey people, does anybody of you know how to produce musik with linux??
[05:19] <lotuspsychje> studio69: there are some cool music packages in ubuntu yes
[05:19] <lotuspsychje> !info hydrogen | studio69
[05:20] <lotuspsychje> studio69: there's also mixxx for turntables
[05:21] <Li> it didn't work, well actually the card seems to be off because when I ifconfig I don't see wireless one
[05:21] <bloodyhell> turned my extrnal hd into an internal also made some changes to the partition table when i couldnt get anything to show in ubuntu think i have a backup but it does say bup.log so guessing it aint a bup just a dam log any ideas how to get disk back to former state from ubunut 17.10 (used testdisk to make supposed bup and changes)
[05:21] <Li> oops ... sorry it works now I forgot it switched off
[05:21] <Li> perfect .. thanks guys
[05:22] <Kon-> studio69, if you're doing audio production on Ubuntu, you might want to look at the Ubuntu Studio distro, which is modified for lower latency
[05:22] <Kon-> Also check out JACK audio
[05:22] <Kon-> It is better than Pulse for managing all your hookups
[05:23] <lotuspsychje> Kon-: +1
[05:23] <lotuspsychje> bloodyhell: you want data rescue on that hd?
[05:23] <bloodyhell> yes
[05:24] <bloodyhell> wud be nice to restore partitions if poss
[05:24] <lotuspsychje> bloodyhell: sudo photorec after installed testdisk, then scan the whole drive to backup your data after rescue format hd with gparted again
[05:25] <bloodyhell> wow
[05:26] <bloodyhell> that easy i think i love you
[05:27] <bloodyhell> just curious what is the naming structure of a partition table backup in test disk
[05:28] <bloodyhell> bup.log by any chance if not where would the bup be stored on the drive you have just scanned or on your root dir/home dir or elsewhere
[05:29] <lotuspsychje> bloodyhell: never backup data to the drive you rescue ok lol
[05:30] <lotuspsychje> bloodyhell: so choose your /home on the different drive?
[05:30] <silv3r_m00n> hi
[05:31] <silv3r_m00n> i have this option called suspend in kubuntu which sends machine to sleep and resumes from where it left. but if i turn off the power supply, the machine boots from the beginning. how can i make the machine save state across poweroffs ?
[05:32] <bloodyhell> textbook noob mistake
[05:32] <bloodyhell> guilty lmao
[05:42] <haniye> سلام دوستان کسی با اسنورت کار کرده
[05:42] <haniye> ؟
[05:43] <bloodyhell> ur awesome man only issue i face is i will have to scan whole drive (3TB) and biggest i have to write to is 1TB have three of them but i will run out of space before complete no and i assume i cant resume at a given sector even if i knew where i was up to- your thoughts?
[05:43] <bloodyhell> I have 3x 1TB that i can write to by the way
[05:45] <lotuspsychje> !arabic | haniye
[05:46] <sophisthunter> silv3r_m00n, i don't know any linux but suspend = stanby = need electricity for RAM
[05:46] <sophisthunter> wait scratch that. i don't know that
[05:46] <sophisthunter> nvm
[05:47] <bloodyhell> brb
[05:48] <haniye> hello guys, i've installed snort in ubuntu system. but it doesn't work correctly. it doen't log anything. how can i configure it to access logs? is there any references for me that explains this issue?
[05:49] <bloodyhell> :)
[06:03] <lyntoo> read the official snort user manual...your awnser was there..look for log
[06:07] <lotuspsychje> haniye: there is also a #snort channel
[06:16] <lotuspsychje> hey guys im fighting with this weird bug here: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1749237 trying to make it persistent after boot
[06:17] <lotuspsychje> new ideas welcome
[06:20] <bloodyhell> hi guys planing on using sudo photorec(test disk) to recover lost files from a 3TB external with a ruined modified partion table but i can only write to one 1TB drive any way to split output to write to another drive once the first 1TB gets full
[06:21] <haniye> i followed it and install snort step by step. but i don't know how can i detect attack vectors by snort. can you help me ?
[06:22] <lotuspsychje> bloodyhell: recover 3tb gonna take very long..perhaps filter photorec to only essential extensions like .jpg?
[06:23] <bloodyhell> i know but there are lots of file i need i had 3 partitions before i ruined it thinking i had a bup but dont anymore (wrote to drive i was working on lols)
[06:23] <bloodyhell> really i just want the old partition table back but dont know how
[06:25] <bloodyhell> did a deep scan with test disk but mismatch between disk size
[06:25] <bloodyhell> scan is bigger than the disk i thinks
[06:27] <bloodyhell> anyone got any ideas
[06:27] <george_> not i
[06:27] <george_> but i hope you fix it
[06:31] <bloodyhell> okay so i have a partition list  backup saved to backup.log how do i restore the partitions via teskdisk
[06:32] <bloodyhell> i actually do have what i need thought i deleted it just dont know how to restore things
[06:35] <bloodyhell> :)somebody pls help me restore partions with testdisk and my bup
[06:52] <SphericalXenox> How do I log in? the command on freenode.net doesn't seem to work
[06:53] <SphericalXenox> "/connect chat.freenode.net 6667 mquin:uwhY8wgzWw22-zXs.M39p" <-this format command
[06:55] <lotuspsychje> SphericalXenox: try irc.freenode.net
[07:00] <SphericalXenox> lotuspsychje: How should I use the link? My browser can't connect to it. Apologies if it's a stupid question, this is my first time using IRC
[07:00] <lotuspsychje> SphericalXenox: how about you download an irc client like hexchat
[07:02] <SphericalXenox> lotuspsychje: I am using HexChat. I've registered using the "/msg NickServ xxx" command, and have verified it, but I assume I'm not logged in since it I wasn't asked for a password when I disconnected and reconnected.
[07:03] <lotuspsychje> SphericalXenox: did you register your nick?
[07:04] <jpaulin> lotuspsychje: does the registering happen on Freenode's site?
[07:04] <SphericalXenox> lotuspsychje: yes, using the "/msg NickServ xxx" command. I received a mail and have verified my registration using the command provided
[07:05] <SphericalXenox> lotuspsychje: Is the registration local to the channel (#ubuntu) or is it for the whole freenode server and all channels in ti?
[07:06] <jpaulin> https://freenode.net/kb/answer/registration
[07:06] <jpaulin> is it this?
[07:09] <SphericalXenox> jpaulin: Yes, I tried the command mentioned in the Loggin in para. Didn't see any change. Also, I'm able to change my nick without sending a message to the serverbot
[07:10] <SphericalXenox> I guess I'll try the steps again
[07:10] <krytarik> SphericalXenox: See here on how to set up SASL in HexChat to log in automatically on connect.
[07:10] <krytarik> https://freenode.net/kb/answer/hexchat
[07:16] <krytarik> Congrats! :P
[07:16] <shubhanan> krytarik: Thanks, it worked!
[07:16] <krytarik> And sure. :)
[07:19] <tiox> Hi. Xubuntu issue here but I believe I have an issue which would apply to everyone; who's got experience using swapspace as provided from Ubuntu's repos?
[07:19] <tiox> s/issue/user
[07:20] <tiox> (For reference: http://pqxx.org/development/swapspace/)
[07:20] <krytarik> tiox: Just ask the actual question.
[07:21] <tiox> I did; I have not much experience with this and I am on a tiny, tiny install where fixed swap space wouldn't be the best thing for my configuration, so I saw swapspace as an option for a dynamic swap in case I happen to need swap space.
[07:22] <tiox> I guess the first thing I am confused with is if after installing swapspace, whether or not its daemon is handled by root.
[07:23] <tiox> So after having installed it, would swapspace run on system startup or after login as a process controlled by root?
[07:26] <jpaulin> Found out I've used aptitude and 'apt' for my whole life without really getting down to the details of what they do (besides the obvious, installing a new software package) :-)
[07:26] <jpaulin> never too late to learn more
[07:26] <ducasse> tiox: looks like it runs at boot, take a look at /etc/init.d/swapspace
[07:27] <tiox> That's all the reassurance I need with that.
[07:27] <tiox> Now, was it alright to swapoff and dlete my swapfile which came with the Ubuntu install, under assuption swapspace will handle everything?
[07:28] <tiox> delete*
[07:28] <ducasse> tiox: i'm not familiar with it, but try looking at the man page?
[07:33] <ducasse> tiox: the package description says 'Claims disk space for use as swap space when needed', so i'm guessing it will handle everything by itself
[07:33] <ducasse> tiox: if you remove the swapfile, though, remember to also remove it from /etc/fstab (and /etc/crypttab if it is encrypted)
[07:35] <pavlushka> I want to automate this command "sudo xinput --disable 12" at boot, 12 is my faulty fixed device, how to do it on 16.04? was trying to write a systemd unit for this but not working
[07:36] <ducasse> pavlushka: do you need to enter a password for sudo?
[07:37] <pavlushka> ducasse: yes but if ran by root does it need that?
[07:38] <ducasse> pavlushka: it needs to run as your userid to connect to your x session, so it also needs to run after x has started
[07:43] <pavlushka> ducasse: so what will be the "after=" in this case?
[07:43] <pavlushka> in systemd unit
[07:44] <ducasse> pavlushka: it's not really easy to do this from a systemd unit, if you stop sudo from asking for a password for xinput you can just run it from ~/.xsessionrc
[07:45] <pavlushka> ducasse: ok, let me try that and FYI it is my shorted laptop keyboard.
[07:49] <u0_a3252>  /quit
[07:49] <ducasse> pavlushka: be careful when editing sudoers, use visudo to avoid locking yourself out from root access
[07:49] <krytarik> pavlushka: I'd hazard that you don't really need 'sudo' for this.
[07:51] <pavlushka> ducasse: krytarik yep, no i dont need sudo to execute that command as I see it
[07:51] <pavlushka> so kinda good news then
[07:52] <krytarik> Yeah, makes it much easier indeed. :)
[07:52] <ducasse> pavlushka: good, then just put it in ~/.xsessionrc
[08:12] <nanas> hello
[08:17] <pavlushka> ducasse: yeah, that worked, thanks
[08:17] <ducasse> pavlushka: np
[08:22] <pavlushka> ducasse: and one more thing, I tried to run that "xinput" command on an ssh session replied "unable to connect to x session", any workaround?
[08:24] <ducasse> pavlushka: which x server do you want it to connect to?
[08:24] <pavlushka> ducasse: on a remote machine on my home network
[08:26] <pavlushka> ducasse: suppose an RPI3 with stretch
[08:26] <zizu> hello
[08:26] <pavlushka> zizu: hello
[08:27] <netochka> hey. anyone here in the mood for helping someone?
[08:27] <lotuspsychje> !ask | netochka
[08:28] <ducasse> pavlushka: 'export DISPLAY=:0', then run xinput
[08:30] <anurodh> unity tweak tool not working in ubuntu 17.10
[08:30] <netochka> Got it. So, the thing is i'm a newbie in linux. i'm using xubuntu and everything is so damn small in the browsers like firefox and chrome. i tried the unity tweak but it doesnt help the browser. i also tried the settings in firefox and increased the font size and also unchecked the box that lets pages to choose their own font. still the same
[08:30] <netochka> i actually had to use ctrl+scroll in here too, in order to see properly
[08:31] <anurodh> how to run  unity tweak tool in ubuntu 17.10
[08:32] <pundirsumit> gnome tweak will work on 17.10 not unity tweak..
[08:34] <pavlushka> ducasse: ty again
[08:34] <anurodh> How to Move Ubuntu 17.10 Launcher to Bottom of the Screen
[08:34] <erandi> hi
[08:35] <kille> good morning guys. i installed mysql yesterday via terminal and did not set root password...but now i cant connect to it, it says access denied. tried purging and removing, did not do anything for me. anyont have an idea as to what i can do to either remove mysql and install it fresh with actuall passwords or even if i can connect as root to mysql and change the psws or something, that would help a stack?
[08:38] <cart_man> what is the command make apt-get print all the filepaths for the files installed with specified paths?
[08:39] <cart_man> what is the command make apt-get print all the filepaths for the files installed with specified package`?
[08:39] <ducasse> cart_man: dpkg -L package
[08:39] <lotuspsychje> anurodh: install gnome-tweak-tool and you can change there
[08:42] <kille> good morning guys. i installed mysql yesterday via terminal and did not set root password...but now i cant connect to it, it says access denied. tried purging and removing, did not do anything for me. anyont have an idea as to what i can do to either remove mysql and install it fresh with actuall passwords or even if i can connect as root to mysql and change the psws or something, that would help a stack?
[08:42] <Jack3k3> hi all, im trying to compile a c++ program as ' g++ -v -I. -std=c++11 main.cpp ' and I keep getting a bunch of errors saying "in function lmdb::enc_create():main.cpp: undefined reference to mdb_env_create "
[08:43] <Jack3k3> it seems this is referring to the liblmdb-dev library that i need to link against, but ive tried everything to link it and it just wont
[08:44] <kille> Jack3k3 mdb_env_create is not defined as a method in main.cpp or one of its references...maybe you need to update your path to include the lib path for the method, make sure the headers and source exist in that path for that method
[08:44] <kille> so you tried that i take it.
[08:46] <Jack3k3> kille, well my program includes lmdb++.h which subsequently uses those functions like mdb_env_create and also includes the file lmdb.h which is where mdb_env_create should be defined
[08:46] <lpmusic> kille: iirc, by default you should be able to connect without a password if you're root
[08:47] <Jack3k3> so on my system I can see I have /usr/include/lmdb.h and /usr/lib/x86_64-linux-gnu/liblmdb.so  /usr/lib/x86_64-linux-gnu/liblmdb.a
[08:47] <lpmusic> kille: worst case you can restart mysqld like so:   mysqld_safe --skip-grant-tables
[08:50] <kille> lpmusic tried that, did not work.
[08:50] <kille> :(
[08:50] <ducasse> Jack3k3: this is not really an ubuntu question, have you tried a c++ related channel? !alis can help you find one.
[08:50] <ducasse> !alis
[08:51] <kille> jack3k3 does your path include the libs folder? i know you can compile as well and add a link folder in the compilation g++ command.
[08:51] <erandi_> Geest31623
[08:52] <erandi_> ....
[08:53] <bazhang> erandi_, ubuntu support question?
[08:55] <kille> massimo you in durban
[08:55] <kille> ?
[08:57] <lpmusic> kille: the only other thing I can think of if that didn't work is you could rm -fvr /var/lib/mysql/mysql (assuming there's nothing in the mysql database you need to keep) then re-run mysql_install_db
[08:57] <netochka> Got it. So, the thing is i'm a newbie in linux. i'm using xubuntu and everything is so damn small in the browsers like firefox and chrome. i tried the unity tweak but it doesnt help the browser. i also tried the settings in firefox and increased the font size and also unchecked the box that lets pages to choose their own font. still the same
[08:59] <kille> lpmusic thanks man, i will try that
[08:59] <kille> but purge should have done the same right?
[08:59] <ducasse> netochka: are you using a hidpi screen?
[09:00] <netochka> i actually dont know if my screen is hidpi or not.
[09:00] <netochka> :/
[09:01] <ducasse> netochka: can you pastebin the output of 'xrandr'?
[09:01] <netochka> it's asus laptop ux410 and 1920*1080 res 14"
[09:01] <ducasse> ok, so not hidpi
[09:01] <lpmusic> kille: probably should have, but I'm not certain
[09:03] <netochka> it was the same for here. had to use ctrl+scroll to make the text readable
[09:05] <kille> lpmusic :( mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists.
[09:06] <kille> when i run sudo mysqld_safe --skip-grant-tables
[09:07] <lpmusic> kille: odd, that's weird, I've used that before on other distros/OS's, but even the ubuntu guide says that's how you should do it https://help.ubuntu.com/community/MysqlPasswordReset
[09:07] <lpmusic> well, I guess the guide suggests mysqld rather than mysqld_safe
[09:08] <kille> lpmusic, let me try that guide from top to bottom
[09:08] <kille> thanks
[09:10] <kille> lpmusic it could be a socket issue...
[09:11] <kille> so i need to edit some cfg's
[09:13] <lotuspsychje> im having a weird issue on this bug https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1749237 the hd only gets detected on 1 usb3.0 port (if) connected at boot
[10:06] <amazoniantoad> Hey I can't seem to get my audio to go through my blutooth
[10:07] <amazoniantoad> I can see the device and connect to it, but not get audio to go through
[10:07] <Travankor> install blue ez and pulseaudio
[10:09] <amazoniantoad> Travankor, isn't pulseaudio installed by default? Also what would blue ez fix? Isn't that just a bluetooth manager?
[10:13] <mjayk> amazoniantoad, can you see the BT device in the audio settings?
[10:13] <amazoniantoad> No. I see it in bluetooth listing though
[10:13] <mjayk> and can you pair / connect them
[10:13] <amazoniantoad> yes
[10:14] <mjayk> https://askubuntu.com/questions/824404/bluetooth-speaker-connected-but-not-listed-in-sound-output tried that ?
[10:15] <amazoniantoad> mjayk, thanks I'll give it a try later
[10:16] <stefan_> Hi. I'm lacking the terminology to google this efficiently: I want to set up a Postfix container to act as a "gateway" to send emails from other servers (status emails) on the same network. What should i search for?
[10:22] <hateball> stefan_: This is probably what you want http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_from
[10:23] <stefan_> @hateball Thanks!
[10:51] <forgon> What is the right URL for Ubuntu zesty? I tried putting 'deb http://archive.ubuntu.com/ubuntu zesty main restricted universe multiverse' in /etc/apt/sources.list.d/official-package-repositories.list
[10:51] <bazhang>  17.04 (Zesty Zapus) was the 26th release of Ubuntu. Support ended on January 13th, 2018. forgon
[10:52] <bazhang> forgon,  you need an end of life upgrade for that
[10:52] <forgon> bazhang: So it's basically dead?
[10:52] <bazhang> forgon, let me get you the link
[10:52] <forgon> bazhang: Okay, I will try 'artful' then?
[10:52] <bazhang> !eolupgrades
[10:53] <bazhang> forgon, thats soon to be eol as well, the non LTS are nine months support
[10:54] <bazhang> forgon, you should really read the link, then decide on the best course of action
[10:59] <forgon> bazhang: Perhaps a *manual* installation of that one package I need would be better.
[10:59] <forgon> bazhang: What do packagers do when something is required that is currently unavailable for the LTS version?
[10:59] <bazhang> forgon, thats your choice, but since it's end of life we wont support it here
[11:16] <shrave> join / #webcompat
[11:23] <sosn> Hi, suddenly I'm having problems with the grep tool. it's so strange... this started to fail 10 minutes ago:
[11:24] <sosn> $ echo "123456789" | grep [0-9]*
[11:24] <sosn> $ cd /etc/asterisk/
[11:24] <sosn> $ echo "123456789" | grep [0-9]*
[11:24] <sosn> 123456789
[11:24] <sosn> When I'm in home,  echo "123456789" | grep [0-9]* doesn`t return anything
[11:28] <forgon> Thanks anyway, bazhang. I have used artful, but I must also find something better for the future :|
[11:30] <mint> hi i have poor sound quality in mint sylvia
[11:30] <mint> but when i live boot it has fine quality
[11:31] <mint> what might be reason
[11:33] <EriC^^> sosn: try with grep "[0-9]*"
[11:45] <geirha> sosn: That meanst you have at least one file starting with a digit in your current directory, so the shell replaces [0-9]* with all the matching filenames, before running grep
[11:47] <Goldi22> hello can someone help with this https://askubuntu.com/questions/1006120/pptp-split-tunneling
[11:52] <sosn> Solved, thanks, EriC^^ and geirha for the explanation
[11:57] <BluesKaj> Howdy folks
[12:02] <rgrundstrom> Hello everyone
[12:13] <Haris> on 14.04.3, has apache been updated to accept multiple spec in one location config block ?
[12:14] <Haris> for e.g., I'v configured one location block to filter /config . but its still allowing direct URL access to /config/database.php
[12:15] <Haris> my understanding of apache/httpd config is that if one denies traffic to parent URL, access to subsequent tree is denied by default. This is not happening on 14.04.3. traffic to /config is denied, but allowed to /config/database.php
[12:15] <anurodh> how to play wmv file on ubuntu 17.10
[12:16] <sanroot>  i did pulseaudio -k ; and pulseaudio --start ;but now no sound  why ?
[12:20] <BluesKaj> sanroot, open alsamixer in the console and make sure your vol ctls are over 80% and disable automute
[12:20] <Haris> guys, anyone ?
[12:21] <BluesKaj> also, use the M key to unmute any ctls with MM, sanroot
[12:21] <sanroot> ok
[12:21] <Boyette> hi any ubuntu experts here
[12:22] <BluesKaj> Boyette, this is Ubuntu support
[12:23] <Boyette> lol i just recently discovered IRC is still active
[12:23] <Boyette> used it in the 90's but thought it died
[12:23] <Boyette> apparentely it didnt or it rised again
[12:24] <Boyette> if i press mt prt sc button it doesnt make a screenshot but my keyboard gets unresponsive
[12:24] <Boyette> and a few minutes later my system crashes completely
[12:24] <Boyette> only i can use the mouse in the period between pressing prt sc and system crash
[12:25] <Boyette> but also panel doesnt work.. like clicking to open the terminal for example wont work
[12:46] <kraghot> hi guys, I have a question: cups seems to print an extra blank page at the end of every print job. I cannot figure out why and have already tried looking around for a solution but nothing worked. I had 16.04 and there it worked okay, but with 17.10 this problem appears
[12:47] <wenzhu> bbbnn
[12:47] <wenzhu> mnmnb
[12:48] <Boyette> .
 if i press mt prt sc button it doesnt make a screenshot but my keyboard gets unresponsive
 and a few minutes later my system crashes completely
 only i can use the mouse in the period between pressing prt sc and system crash
 but also panel doesnt work.. like clicking to open the terminal for example wont work
[12:52] <BluesKaj> !patience | Boyette
[12:54] <Boyette> ah ok
[12:54] <Boyette> sorry i thought it will disappear because many logging keeps coming
[12:56] <BillD73> Boyette: highly unlikely tha I can help ya lol but what is the problem?
[12:57] <Boyette> well i just wrote it
[12:57] <Boyette> 2 times :P
 <Boyette> if i press mt prt sc button it doesnt make a screenshot but my keyboard gets unresponsive
 <Boyette> and a few minutes later my system crashes completely
 <Boyette> only i can use the mouse in the period between pressing prt sc and system crash
 <Boyette> but also panel doesnt work.. like clicking to open the terminal for example wont work
[12:59] <BillD73> what are you on? what version Ubuntu?
[12:59] <Boyette> No LSB modules are available.
[12:59] <Boyette> Distributor ID:	Ubuntu
[12:59] <Boyette> Description:	Ubuntu Bionic Beaver (development branch)
[12:59] <Boyette> Release:	18.04
[12:59] <Boyette> Codename:	bionic
[13:00] <BillD73> wrong channel. Try #ubuntu+1 iirc
[13:00] <Boyette> ok
[13:00] <BillD73> This is a support channel for LTS versions listed in topic
[13:00] <Boyette> its an lts version
[13:02] <BillD73> my bad  Im a lil behind the times lol I just left 14not to long ago for 16 lol
[13:02] <Boyette> http://www.omgubuntu.co.uk/2017/10/ubuntu-18-04-lts-release-schedule
[13:03] <ioria> Boyette, that key should be linked to gnome-screenshot . Try to run it from terminal and check the output
[13:03] <Boyette> just run gnome-screenshot from terminal ?
[13:03] <ioria> yep
[13:04] <Boyette> should be gnome-utils
[13:04] <Boyette> gnome-screenshot not found
[13:04] <frechdachs69> Q: which package do I have to install to get 'Xvnc' ?
[13:04] <Boyette> i installed it now
[13:05] <ioria> Boyette, no
[13:05] <Boyette> now it works :P
[13:05] <Boyette> how can that be suddenly gone
[13:05] <ioria> Boyette, find the sw linked to the key
[13:05] <Boyette> very weird
[13:06] <akik> Boyette: you could grep for that package name in /var/log/apt/history*
[13:06] <Boyette> https://pastebin.com/FUCEwmrz
[13:06] <Boyette> its fixed nwo
[13:06] <Boyette> now
[13:08] <Boyette> missing packages causes complete systemcrash.. unbelievable
[13:09] <Boyette> its supposed to tell me not crash me
[13:10] <metastable> 1. Depends on what packages were missing. If you've removed critical packages, the facility that would tell you might be missing. 2. I believe you're using a development version anyway.
[13:10] <Boyette> No LSB modules are available.
[13:10] <Boyette> Distributor ID:	Ubuntu
[13:10] <Boyette> Description:	Ubuntu Bionic Beaver (development branch)
[13:10] <Boyette> Release:	18.04
[13:10] <Boyette> Codename:	bionic
[13:10] <Boyette> almost release date
[13:11] <metastable> Yup. You're using a development version. It's in development. It's still being developed. As in, it's not done yet, and therefore liable to exhibit odd behaviors.
[13:11] <akik> Boyette: if you didn't uninstall it, it could be a release problem. make a bug report about it
[13:11] <Boyette> no i didnt uninstall it
[13:11] <Boyette> where do u report that
[13:11] <akik> !bug
[13:12] <akik> Boyette: further discussion in #ubuntu+1
[13:12] <Boyette> will create launchpad account
[13:12] <Boyette> thx akik
[13:12] <Boyette> i was there already
[13:20] <Sircle_> HI
[13:23] <Sircle_> Can anyone see why I can't create a symlink?
[13:23] <Sircle_> user1@u:/var/www/html/$ sudo ln -s error.log /var/log/apache2/error.log
[13:23] <Sircle_> ln: failed to create symbolic link '/var/log/apache2/error.log': File exists
[13:23] <Sircle_> user1@u:/var/www/html/$ ls -la /var/log/apache2/error.log
[13:23] <Sircle_> -rw-r----- 1 root adm 2139118 Feb 14 05:15 /var/log/apache2/error.log
[13:24] <forgon> Sircle_: Most likely, you got the syntax wrong
[13:25] <forgon> Sircle_: You first specifiy the target and then the linkname, not the other way around.
[13:25] <Sircle_> hm
[13:25] <metastable> I also question the wisdom of making your error log available in the web root. That's likely to expose data you don't want exposed.
[13:29] <Sircle_> forgon, user1@u:/var/www/html$ sudo ln -s /var/log/apache2/error.log => apacheErrors.log
[13:29] <Sircle_> -bash: apacheErrors.log: Permission denied
[13:29] <Sircle_> user1@u:/var/www/html$
[13:30] <metastable> Sircle_: First, why are you trying to do this?
[13:30] <Sircle_> so my devs can see error logs via a webpage.
[13:31] <Sircle_> I am curious why permission errors is observed
[13:31] <forgon> Sircle_: `sudo ln -s /var/log/apache2/error.log => apacheErrors.log ` what does that => even mean?
[13:31] <ubuntu-mate> hi
[13:32] <BillD73> try removing "=>"
[13:32] <metastable> Sircle_: So, that's a terrible idea, because more than your devs will be able to see that.
[13:32] <Sircle_> forgon,  means create a symlink named apacheErrors.log that actually points to the real file : in var/log/apache2/error.log
[13:32] <metastable> Sircle_: You're exposing potentially sensitive data to anyone who can hit that server.
[13:33] <metastable> Sircle_: That's not how the command works. Please read 'man ln'.
[13:33] <metastable> Be glad you didn't do that on Solaris. It would have accepted the command and overwritten the real file with a link to its now-empty self.
[13:35] <Sircle_> [Wed Feb 14 05:33:28.032493 2018] [core:error] [pid 22190] [client 124.29.222.195:38228] AH00037: Symbolic link not allowed or link target not accessible: /var/www/html/apacheErrors.log
[13:36] <Sircle_> metastable,  thats what I want. Only devs will know the file name to access. THeres no way to get directory tree unless filename is known
[13:36] <metastable> Sircle_: That's not secure. At all.
[13:37] <Sircle_> its internal server and feasible
[13:37] <Sircle_> metastable,  can you tell me how to do it?
[13:37] <Sircle_> I am ok if all devs can access it
[13:37] <metastable> I'm just going to repeat what I just said. That's NOT secure, and it being an internal server isn't an excuse.
[13:37] <Sircle_> metastable,  security is NOT needed in staging/ dev environment...........
[13:38] <metastable> Hold on, I'm going to go over here and laugh for a moment...
[13:38] <Sircle_> Iam here for a syntax permission error. I am interested, in ANY way, of the error EVEN if I do not do it.
[13:38] <metastable> Okay, I'm back. Yes, it absolutely is. I LOVE finding insecure dev environments, they're a great jumping point to production networks.
[13:38] <Sircle_> I wonder why it is happneing
[13:39] <Sircle_> metastable,  I am here for knowing why its not working. WHats wrong with my syntax. Please ignore if its secure or not.
[13:39] <Sircle_> thanks
[13:39] <metastable> Sircle_: No. I'm not going to ignore if it's secure or not. I don't knowingly give people terrible advice, and what you're doing is terrible. If you're bound and determined to do stupid things, then you can read the man page for 'ln' yourself.
[13:39] <TJ-> Sircle_: the target of the sym-link is outside the vhost's document root
[13:39] <Sircle_> metastable,  you made your point. now please do not collaborate
[13:40] <Sircle_> TJ-,  hm. is there a way I can include it/ show it on web?
[13:40] <Sircle_> metastable,  why would anyone come here and not read man page. You do not know the solution and I cannot waste time on this argument. I thank you and request you to not comment any further
[13:41] <metastable> Sircle_: Apache's documentation details how vhosts work. You should probably go read that to. And I'll comment if I want to.
[13:42] <Sircle_> Second question: How can I make a symlink in apache root of a file outside apache root. The permissions of that file are -rw-r----- 1 root adm  filenameHere
[13:42] <Sircle_> metastable, Your comment not needed. You can give "unwanted comments" for sure.
[13:58] <tpr> hi, I have a quite specific question in my mind. for ubuntu 16.04 the default ntp server was changed from *.ubuntu.pool.ntp.org to ntp.ubuntu.com - was this change discussed in some mailinglist beforehand and/or where could I find more information about this change?
[14:01] <tpr> or maybe the change was that ntp.ubuntu.com started to point ubuntu.com hosted servers instead of being just cnamed to those pool domains. can anyone recall any details on this?
[14:05] <Pici> tpr: interesting question.  It looks like there was some conversation about it here (and some links to bugs, mailing lists mentioned as well): https://irclogs.ubuntu.com/2011/01/25/%23ubuntu-meeting.txt
[14:08] <tpr> Pici: hmm, I see. that's a tad bit older than I thought. there were recent changes (wrt. moving away from ntpd to timesyncd for 16.04), maybe I mistakenly took that as this turning point
[14:09] <tpr> however, looking at one 14.04 instance I still have up & running, its /etc/default/ntpdate points to ntp.ubuntu.com already. so the change wasn't not just for 16.04 I suppose.
[14:09] <tpr> it could have been though that at that point of time that domain was just a cname for the pool. it's quite hard to search for relevant pieces though, or I'm looking from the wrong places :-)
[14:09] <Pici> tpr: I also see it mentioned in a bunch of changelogs around the beginning of 2016 too though.
[14:15] <MrObvious> Hello there
[14:15] <tpr> Pici: I see that there's been a patch for quite a long time, change from pool in https://launchpad.net/ubuntu/+source/ntp/1:4.2.0a-10ubuntu2 and change to ntp.ubuntu.com in https://launchpad.net/ubuntu/+source/ntp/1:4.2.0a+stable-8.1ubuntu1
[14:16] <tpr> Pici: do you happen to know if the build files are version controlled somewhere? would make it easier to follow the changes :-)
[14:17] <TJ-> Sircle: to do what you want securely this is how to do it: http://iam.tj/projects/ubuntu/apache2-secure-log-access-site-example.conf
[14:17] <MrObvious> Any reason  why would VirtualBox freeze my system the moment I start a virtual machine? . not even CTRL ALT PrntScrn RESIUB can reboot the PC
[14:18] <MrObvious> My Vbox version is 5.0.40
[14:22] <Sircle> How to copy only last 100 lines of a file instead of copying full file?
[14:28] <Pici> tpr: does ntp.conf just list ntp.ubuntu.com? I just installed a fresh copy on a 16.04 server I had laying around and it has both the pool servers and ntp.ubuntu.com listed
[14:30] <TJ-> Sircle: "tail -n 100 file"
[14:33] <Sircle> TJ-,  those will be "last" 100 lines?
[14:35] <tpr> Pici: I'll have to install a 16.04 to see I suppose. on one server I was able to find the vps provider had changed the settings
[14:36] <leftyfb> Sircle: did you try it?
[14:36] <freedomfox> hello
[14:41] <Sircle> TJ-,  leftyfb the following worked * * * * * (sleep 10; rm /var/www/html/apacheErrors.log; tail -n 100 /var/log/apache2/error.log >> /var/www/html/apacheErrors.log;)
[14:41] <leftyfb> Sircle: why do you need to do that?
[14:44] <Sircle> leftyfb, only want some part of error.log (last 100 lines)
[14:44] <leftyfb> Sircle: why do you need to write the last 100 lines of the apache error log to a new location?
[14:44] <Sircle> leftyfb,  because I only need 100
[14:45] <leftyfb> Sircle: why do you need to write the apache error log to a new location?
[14:45] <Sircle> leftyfb,  because I only need 100 and serve them on apache
[14:46] <leftyfb> Sircle: I'm just curious why.
[14:46] <Sircle> for devs to see erorrs
[14:46] <Sircle> on  a webpage
[14:48] <untoreh> how do I set a fixed mac address for a usb with vendorid xxxx
[14:49] <leftyfb> untoreh: you mean spoof your mac address?
[14:50] <untoreh> leftyfb: no I mean stopping frigging android device changing my dns servers because NetworkManager thinks its a new connection because the mac address is always different
[14:51] <untoreh> leftyfb: i think it would be basically the opposite of spoofing :o
[14:53] <oerheks> untoreh, set fixed mac on ubuntu? or does that android connect to ubuntu, ics?
[14:54] <untoreh> oerheks: yes kk tethering to ubuntu
[14:55] <oerheks> duhh.. what makes you think the usb vendorID is send when connecting?
[14:56] <untoreh> oerheks: mm vendorid just a good as any "fixed" config to use to pin the mac action
[14:58] <untoreh> oerheks: but if the action is in the net subsystem i guess it is not available ?
[14:59] <oerheks> is your android the gateway, or ubuntu?
[15:02] <untoreh> oerheks: android
[15:03] <TJ-> Sircle: there's a much better, more secure way, to do the log viewing. See Option 2 in my example for you here http://iam.tj/projects/ubuntu/apache2-secure-log-access-site-example.conf
[15:05] <tpr> Pici: btw, was ntpd installed per default, or did you check the config of timesyncd too? iirc that may have been the change there
[15:06] <oerheks> untoreh, https://appuals.com/ubuntu-16-04-to-17-10-wifi-and-ethernet-problem/ >>> sudo nano /etc/NetworkManager/NetworkManager.conf >> wifi.scan-rand-mac-address=no
[15:07] <oerheks> this is standard no, AFAIK
[15:11] <untoreh> oerheks: that thing is already set to no
[15:11] <oerheks> untoreh, i guess your android itself changes mac??
[15:14] <BeforeClick> has anyone a clear tutorial on how to install node.js, that he/she has tried themselves?
[15:14] <BeforeClick> ps not the old version in the distro
[15:14] <TJ-> untoreh: I wrote a udev rule to do something like that just a few days ago, let's see if I can find it
[15:14] <untoreh> oerheks: I think networkmanager sees a usb device with tethering capability and creates a a new interface with a random mac address, android has no control over it
[15:15] <untoreh> oerheks: if you disconnect the device the interface is garbage collected
[15:16] <TJ-> untoreh: Here we go. In this case the aim was to generate unique MACs for multiple identical devices which had identical MACs, but you'd just need to change the RUN command here to set a fixed address, either using 'macchanger' with other options or using "/sbin/ip link set %k address 11:22:33:44:55:66"
[15:17] <TJ-> untoreh: http://iam.tj/projects/ubuntu/81-net-fix-mac-duplicates.conf
[15:17] <jp_> / list
[15:19] <TJ-> untoreh: instead of matching with "ATTR{address}"== ... you'd want ATTRS{idVendor}=="VVVV", ATTRS{idProduct}=="PPPP",
[15:21] <hitchhiker54> hey all. anyone about that's familiar with the differences between a release kernel and one compiled from mainline? all i can find on the topic is a vague 'might miss some drivers'
[15:22] <TJ-> hitchhiker54: The primary difference is the mainline builds don't contain any Ubuntu 'SAUCE' patches, don't include the ZFS module, and don't add some apparmor patches required by lxc/lxd
[15:24] <hitchhiker54> ah ok, thanks TJ, that's really useful especially the apparmor detail. maybe that will change in 4.16 if the ubuntu stuff get mainlined. I'm planning a learning project and was considering a ubuntu base with 4.14 but that might not work so well with snaps in the way i want
[15:25] <TJ-> hitchhiker54: right, that'd be a gotchya most likely
[15:27] <hitchhiker54> i saw an article on fully modular linux with a very sparse base install and only allowing apps from flatpak. this appeals to me as they can all be nailed down and was thinking to try it for myself on ubuntu + snaps. unfortunatley my test laptop loses wirless eevry update since 4.1 due to a regressions thats not fixed in 16.04 or 17.10
[15:27] <untoreh> nope
[15:29] <untoreh> TJ-: I have to hook into the interface name i think, I would just use NAME="enp36s0f3u2u1"
[15:30] <untoreh> TJ-: would that work?
[15:30] <TJ-> untoreh: KERNEL=="enp36..."
[15:30] <forgon> With Ubuntu 16.04, where do I specify APT's default release?
[15:30] <forgon> It used to be /etc/apt/apt.conf, but now it's somewhere else?
[15:31] <tomeaton17> I am trying to find my raspberry pi device on a very busy work network. Is there such an ip scan tool where you can perform an initial scan, connect the pi and peform a next scan to see new devices?
[15:32] <TJ-> tomeaton17: you might be able to do it looking the neighbour MAC address vendor prefixes
[15:32] <SuperJonotron> OpenJdk 8u162 indicates released on site but is not avaialble via apt-get.  anybody know how to specify a build for openjdk with apt-get or other methods for ubuntu?
[15:33] <TJ-> tomeaton17: as in "ip neigh show | grep 'b8:27:eb' "
[15:35] <lordcirth_work> tomeaton17, TJ- , if you want to see changes, how about: watch -d permanent "ip neigh show | grep 'b8:27:eb' "
[15:35] <lordcirth_work> Then plug it in
[15:36] <lordcirth_work> watch will keep checking and highlight any change
[15:37] <TJ-> tomeaton17: the local ARP cache is only going to work if the raspi and local PC talk to each other, if they're linked via a switch.
[15:37] <tomeaton17> Turns out there are a lot of pis on the network! None of them were the correct one however, will try watching
[15:38] <TJ-> tomeaton17: I wondered if that may be the case when you asked :)
[15:38] <TJ-> tomeaton17: you can use nmap to find it
[15:39] <tomeaton17> how do I do that?
[15:41] <TJ-> tomeaton17: you'll still need to figure out which one it is, but e.g: "sudo nmap -sP 10.254.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}' "
[15:42] <tomeaton17> Okay I will give that a go, but its probably easier to just connect via the serial console
[15:44] <TJ-> tomeaton17: does it not have a hostname set that can be found on the network with mdns?
[15:46] <TJ-> tomeaton17: e.g. "avahi-resolve-host-name -4 noc.local" (raspi hostname is 'noc' )
[15:52] <neurre> ouch
[15:52] <neurre> i was just doing upgrade from 16.04 to 17.10
[15:53] <neurre> I got triggers looping, abandoned
[15:53] <neurre> The upgrade will continue but 'libc-bin' package may not be in a working state.
[15:53] <alfredo> 1234
[15:53] <neurre> i wonder if i am in trouble?
[15:53] <alfredo> 1234
[15:54] <EriC^^> neurre: after it's done try sudo dpkg --configure -a
[15:56] <tpr> Pici: ok, I just tested it with clean installs of both server & desktop 16.04.3, desktop doesn't seem to have automatic time fetching enabled (as per time & date settings), but the server one has (with timesyncd, according to timedatectl). both default to ntp.ubuntu.com alone when enabled
[15:57] <Amis> Hello! (16.04) Is it possible to make Ubuntu automatically mount anything that looks like a drive or device? Like I have several NTFS partitions and I want them to be mounted on boot without having to manually add them to some config file.
[16:00] <neurre> EriC^^, ok thanks will do
[16:04] <Tin_man> Amis, here is a few ways, some involve editing fstab, some don't you can choose the one you want.
[16:04] <Tin_man> https://askubuntu.com/questions/164926/how-to-make-partitions-mount-at-startup
[16:05] <ubuntu-noob-user> Hello everyone!!!
[16:05] <ubuntu-noob-user> There is a problem stucking me here.
[16:05] <Amis> Tin_man, thanks I'll check it out
[16:06] <genii> !details | ubuntu-noob-user
[16:06] <ubuntu-noob-user> I 've tried everything that I found at google, but anything helepd.
[16:06] <ubuntu-noob-user> Ubuntu only log as guest user.
[16:07] <ubuntu-noob-user> I cant log and switch user either.
[16:07] <ubuntu-noob-user> I am using ubuntu 16.04 lts
[16:08] <forgon> ubuntu-noob-user: Can you switch ttys, with Ctrl-Alt-F6 for example?
[16:08] <ubuntu-noob-user> forgon: yes, I can.
[16:09] <forgon> ubuntu-noob-user: You can't log in without a graphical environment?
[16:10] <ubuntu-noob-user> forgon: The login display manager prompts only the guest user.
[16:10] <lordcirth_work> ubuntu-noob-user, yes but in a tty can you log in?
[16:11] <ubuntu-noob-user> Yes, I can log in any user at tty environment
[16:11] <neurre> oh noes
[16:11] <andrew_> Hi, is there a reason to use ubuntu over linux mint?
[16:11] <andrew_> I'm using mint right now in a vm
[16:11] <neurre> "The upgrade has aborted. Your system could be in an unusable state. "
[16:11] <neurre> :-(
[16:12] <leftyfb> andrew_: that's not really a good question to be asked here. This is a support channel for Ubuntu
[16:12] <forgon> ubuntu-noob-user: Maybe your user is missing in a group that is required for your login manager?
[16:12] <neurre> any suggestions what to do now?
[16:12] <leftyfb> neurre: try: sudo apt-get update ; sudo dpkg-reconfigure -a
[16:12] <ubuntu-noob-user> forgon: I don't know how to check it
[16:12] <JonelethIrenicus> why isn't aptitude the default?
[16:13] <JonelethIrenicus> when you run into a package conflict apt is horrible to use
[16:13] <JonelethIrenicus> in comparison
[16:14] <ubuntu-noob-user> forgon: mind you help me?
[16:14] <neurre> leftyfb, I get unknown option a
[16:14] <forgon> ubuntu-noob-user: Are you sure your config is correct? https://wiki.ubuntu.com/LightDM <- did you check the options here?
[16:15] <leftyfb> neurre: sorry sudo dpkg-configure -a
[16:15] <lordcirth_work> I thought the fix command was dpkg --configure -a
[16:15] <neurre> leftyfb, command not found
[16:18] <neurre> "sudo dpkg --configure -a" prints nothing
[16:20] <ubuntu-noob-user> forgon: I have accountservice running
[16:21] <ubuntu-noob-user> forgon: https://pastebin.com/ftEBgGNv
[16:21] <neurre> doh
[16:21] <ubuntu-noob-user> mine lightdm config
[16:21] <neurre> i think i shall just pack my homedir and do a fresh install :/
[16:22] <forgon> ubuntu-noob-user: No, please give /etc/lightdm/lightdm.conf
[16:24] <forgon> ubuntu-noob-user: As the article states, that configuration you posted is totally ignored with accounts service running
[16:24] <tfitts> Anyone use monit?  I have a bash script that works fine when I run it from the command line but when I try using the start service button in monit it doesn't do anything
[16:25] <ubuntu-noob-user> forgon: https://pastebin.com/EUqx7aLN
[16:28] <ioria> ubuntu-noob-user, that file does not do much
[16:29] <forgon> ubuntu-noob-user: Here is what you can try:
[16:29] <forgon> Change UID_MIN in /etc/login.defs to 500
[16:31] <forgon> then `sudo service accounts-daemon restart; sudo service lightdm restart`
[16:33] <ubuntu-noob-user> forgon: Okay thanks
[16:34] <tomeaton17> Thanks I managed to get it in the serial console
[16:36] <Pinkamena_D> Getting 30% constant cpu use on gnome-shell even after disabling all extensions
[16:37] <Pinkamena_D> has anyone managed to fix this? Do I also need to log out and in to test each extension or disabling it should show improvement?
[16:40] <tpr> Pici: okay, made some further experiments. 15.04 uses ntpdate during the boot (if-up) on ntp.ubuntu.com and then afterwardss timesyncd from pool, 15.10 uses timesyncd only with ntp.ubuntu.com, 16.04 also timesyncd + ntp.ubuntu.com, 17.10 also the same
[16:41] <tpr> Pici: where did you find the discussion from spring '16? :)
[16:44] <Pici> tpr: I just was looking at the changelogs for the ntp package.  Also , you might get some headway asking in #ubuntu-devel, this seems like it *might* be a topic appropriate for there
[16:46] <leftyfb> neurre: if you haven't started the fresh install already, you can try sudo apt-get update ; sudo apt-get dist-upgrade # verify that it's pulling from xenial repo's during the update
[16:47] <tpr> Pici: yeah, looking into the package changelogs indicate mostly that a patch has been carried with. but ntpd is not installed per default, instead of it timesyncd from systemd is used :-) but thanks!
[16:56] <neurre> leftyfb, it is pulling from artful
[16:57] <leftyfb> oh, you upgraded to 17.10
[16:57] <neurre> well sort of
[16:57] <neurre> it aborted at some point
[16:57] <neurre> so my system is sort of broken
[16:57] <neurre> i dont know if it is fixable
[16:57] <leftyfb> did you try what I suggested above?
[16:58] <neurre> it says nothing to update
[16:58] <neurre> would i dare to reboot?
[16:58] <neurre> is there something else i could do to verify system sanity?
[17:00] <leftyfb> neurre: sounds to me like it should work ... but no guarantees
[17:01] <neurre> rebooting now
[17:02] <LinuxREx55> i speak spanish
[17:02] <Pici> !es
[17:02] <neurre> i get to login prompt but after i login i dont get to desktop, or at least i get very quickly back to login screen
[17:02] <neurre> how do i debug/fix that?
[17:02] <EriC^^> neurre: start with checking that you own ~/.Xauthority
[17:03] <EriC^^> try the guest account
[17:04] <neurre> EriC^^, -rw------- my user
[17:04] <neurre> is my .Xauthority
[17:04] <EriC^^> does the guest account work at all?
[17:04] <neurre> how do i get to guest account?
[17:04] <neurre> i dont think i have guest account setup
[17:05] <neurre> i could do adduser in terminal i guess?
[17:05] <EriC^^> neurre: try from the tty, DISPLAY=:1 startx xterm
[17:05] <neurre> that works
[17:06] <neurre> i think it is gnome desktop which has issue
[17:06] <administrador_> hello
[17:06] <EriC^^> try reinstalling the package and some dependencies maybe
[17:06] <administrador_> i need some help with nagios core
[17:06] <EriC^^> neurre: when you try from the login manager, does /var/log/Xorg.0.log say anything?
[17:06] <leftyfb> administrador_: you might try #ubuntu-server or #nagios
[17:07] <EriC^^> or possibly /etc/gdm/ or something? neurre
[17:07] <neurre> EriC^^, nothing interesting in Xorg.0.log
[17:08] <neurre> i will remove ubuntu-desktop and whatever is the gnome desktop package
[17:08] <tfitts> I have a bash script that I need to run as another user or at least using their environment.  is there an easy way to do this?  the bash script calls a ruby rake task that requires a version of ruby that isn't even install for root.
[17:08] <neurre> and try reinstalling
[17:08] <Guest94276> lol
[17:08] <EriC^^> neurre: try sudo apt-get install --reinstall gnome-desktop
[17:09] <EriC^^> neurre: ubuntu-gnome-desktop *
[17:09] <Guest94276> sudo su apt get sniper
[17:09] <Guest94276> for web site
[17:10] <EriC^^> tfitts: sudo -iu <user> /script.sh
[17:10] <Guest94276> cyborg linux
[17:10] <EriC^^> !debsums | neurre this might be helpful
[17:11] <EriC^^> !info debsums | neurre this might be helpful
[17:11] <tfitts> EriC^^:  monit already runs as root.  do I still do sudo from root?
[17:11] <EriC^^> tfitts: yeah
[17:12] <leftyfb> tfitts: sudo su <otheruser>
[17:12] <leftyfb> tfitts: then run the script
[17:12] <EriC^^> sudo -i changes the environment stuff
[17:13] <EriC^^> "su -" is similar i think, not too sure of the differences
[17:13] <neurre> no luck
[17:13] <EriC^^> neurre: is there anything in /etc/gdm ?
[17:14] <EriC^^> neurre: sorry, i meant /var/log/gdm
[17:15] <neurre> checking with debsums now
[17:15] <igrekun> Guys, I just installed gnome-extensions-tools on 17.10 and set my UI on fire. Is there any way to revert changes?
[17:16] <neurre> in /var/log/ there is gdm3 which is empty
[17:16] <igrekun> My dock now turned into hot-corner and half icons turned into default
[17:16] <neurre> debsums didnt find anything interesting
[17:16] <leftyfb> neurre: you know with 17.10 you'll have to upgrade again in July right? 16.04 is supported till 2021. 18.04 which will be out in April would have been a cleaner upgrade from 16.04 and will be supported till 2023
[17:16] <Thoomsen> /me is now away: Ich bin zur Zeit nicht online. Hinterlasse mir eine Nachricht.
[17:16] <leftyfb> Thoomsen: please don't
[17:17] <neurre> well that doesnt help much now..
[17:17] <tfitts> leftyfb: I'm trying to get the script to be trigger using monit.  I already have the script working from the shell if I manually sudo to the user, but when I  try running it through monit it doesn't work
[17:17] <leftyfb> tfitts: are you using monit to keep it running? If so, you should use a systemd unit which would do the same thing and give you the ability to run as a user
[17:18] <EriC^^> neurre: i'd clean install, there's no knowing what's broken and stuff now
[17:18] <tfitts> yes, I'm trying to use monit to keep it running.  I'm not familiar with a systemd unit
[17:18] <leftyfb> tfitts: it's just as easy to create a systemd unit as a profile for monit
[17:19] <tfitts> are you saying don't use monit at all or you're saying create a systemd unit and run/monitor that using monit?
[17:20] <leftyfb> tfitts: if you create a systemd unit, you won't need monit
[17:20] <leftyfb> tfitts: https://www.devdungeon.com/content/creating-systemd-service-files
[17:38] <debouncer> hello
[17:38] <debouncer> I just upgrade the ubuntu from 16.04 to 17.10
[17:38] <debouncer> however I cannot login or do anyhing with periphals
[17:39] <debouncer> i cant even move the cursor
[17:39] <debouncer> can someone help me please?
[17:39] <GrandPa-G> I want to run a startx foocommand automatically at boot. I am booting into terminal mode. Where would I put the startx command? is rc.local the right place?
[17:49] <debouncer> please help me
[17:55] <leftyfb> !ask | debouncer
[17:56] <debouncer> it takes some keyboard inputs in booting up
[17:56] <leftyfb> GrandPa-G: I would create a systemd unit
[17:56] <debouncer> while booting up
[17:56] <DiecastMessiah> debouncer, no one will answer unless you give more info on the problem.. Like what hardware you have ectect
[17:56] <debouncer> Like cpu motherboard?
[17:58] <leftyfb> debouncer: what do you mean it takes more keyboard inputs in booting up?
[17:59] <DiecastMessiah> debouncer, maybe in your case the keyboard or mouse and if getting errors what are they... I am a newbie so i will most likey not able to help... but just letting ya know you have to ask question the right way
[18:01] <debouncer> When I restarted it, during the boot up process (the process which you see everything is OK messages) I can some characters on black screen
[18:01] <debouncer> I can some characters on black
[18:01] <debouncer> I can type **
[18:02] <debouncer> Then when login screen came, cannot do anything
[18:07] <lordcirth_work> debouncer, what if you hit ctrl-alt-F2?
[18:09] <ubuntu-noob-user> forgon is gone?
[18:10] <ubuntu-noob-user> The problem with login still remains
[18:10] <DiecastMessiah> debouncer, i not sure but i think you'll have to reset the xorg config files... maybe lookup on the web how to reset xorg. but i am new so again not 100% but i had problem doing a upgrade
[18:10] <debouncer> it shows the terminal for a sec
[18:10] <ubuntu-noob-user> Lightdm only logs the guest user.
[18:10] <debouncer> then return back to login screen
[18:10] <debouncer> lordcirth_work
[18:10] <ubuntu-noob-user> I can see the other users, but when I click on them it prompsts the guest user account
[18:11] <akik> DiecastMessiah: xorg doesn't have config file anymore. well it has snippets of it in /usr/share/X11/xorg.conf.d but not the old style config
[18:12] <akik> DiecastMessiah: it'll still use one if you create it
[18:12] <DiecastMessiah> akik, thank you yeah it been a 4 or 5 years sense i used linux.. started up again just 4 days ago
[18:14] <debouncer> cntl+alt+f1 and cntl+alt+f2 also doesnt work
[18:16] <ioria> debouncer, on 17.10   f3 should work
[18:16] <debouncer> Everything seems OK except starting user manager
[18:19] <debouncer> starting user manager for uid 125
[18:19] <debouncer> It doesnt have OK check next to it
[18:24] <ioria> debouncer, looks like a gdm issue
[18:25] <debouncer> ioria any way to fix it?
[18:25] <ioria> debouncer, can you login in console ?
[18:26] <DiecastMessiah> debouncer, looks liek youhave to install xserver-xorg-input-all package .. you may have to use the live cd or use the ubuntu recover mode to be able do the commands
[18:26] <debouncer> I prefer fix it without live cd
[18:27] <debouncer> 'cause i have any
[18:29] <DiecastMessiah> k well google search keyboard not working after updating ubuntu 17.10 that alot of different help
[18:29] <akik> DiecastMessiah: you can boot from your hdd/ssd into the recovery mode, from the grub menu
[18:30] <DiecastMessiah> i know that :)
[18:30] <akik> DiecastMessiah: although the recovery mode is problematic for new users as it doesn't start the network automatically
[18:30] <akik> DiecastMessiah: oh sorry :)
[18:31] <akik> ^- meant for debouncer
[18:31] <yosefrow_> nchambers, tmux for command line, terminator for gui multiplexer
[18:31] <debouncer> I removed the nvidia  drivers on recovery mode
[18:33] <debouncer> It worked
[18:33] <debouncer> Thanks DiecastMessiah
[18:33] <debouncer> and akik, ioria
[18:33] <akik> nobody seems to have mentioned nvidia, but ok :)
[18:35] <AggregatedExcept> hi
[18:35] <AggregatedExcept> I have an eth0 interface (default)
[18:36] <DiecastMessiah> debouncer, no problem
[18:36] <AggregatedExcept> and a 3g mobile interface ppp0(inet addr:172.31.175.231  P-t-P:10.64.64.64  Mask:255.255.255.255)
[18:36] <AggregatedExcept> I am running an UDP server on 0.0.0.0
[18:36] <AggregatedExcept> it receives an UDP packet from 172.31.175.233
[18:36] <AggregatedExcept> but response goes out on eth0
[18:36] <AggregatedExcept> how can I fix routing?
[18:37] <Guest46> Does anybody know how to fix VPN in lubuntu?
[18:38] <AggregatedExcept> ppp adds only this row:
[18:38] <AggregatedExcept> 10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
[18:39] <TJ-> AggregatedExcept: you'd need to add a default, or static, route, depending on what you want to happen
[18:40] <AggregatedExcept> TJ-: I already have a default:
[18:40] <AggregatedExcept> default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
[18:40] <AggregatedExcept> and I would like to keep that
[18:41] <AggregatedExcept> TJ-: but I how can I add the 3G network to routing table as static if I know only my IP?
[18:41] <TJ-> AggregatedExcept: right, so you need something like "ip route add 172.31.0.0/16 dev ppp0" - you may need to adjust the subnet and possibly add a via
[18:42] <TJ-> AggregatedExcept: you can also add static routes via the Network Manager Connection Manager, on the IPv4 tab
[18:44] <AggregatedExcept> TJ-: it is a server without gui, but how can I calculate the network address automatically from my IP?
[18:44] <xaeB5> after a recent kernel update, trying to start a virtualbox VM freezes the computer and forces me to hold the power button to shut it off. the computer works fine until i try to start a VM. i selected an older kernel (4.4) from the GRUB menu and the VM starts fine. what could be going on?
[18:49] <AggregatedExcept> TJ-: if I use an another SIM card with another private APN I get different IP: inet addr:10.212.154.5  P-t-P:10.64.64.64  Mask:255.255.255.255
[18:49] <AggregatedExcept> but I need to get the network address to add a static route
[18:50] <TJ-> AggregatedExcept: it looks from your examples that the PPP subnet is not the same as the subnet you're trying to route, therefore knowing the PPP subnet is not required, all you need is the subnet you need to route and the device name
[18:52] <TJ-> AggregatedExcept: oh, sorry, I misread your earlier message. If you need to route the PPP subnet you need to ensure it's configured with the correct net-mask when it comes up (/16, or /24, rather than the current /32)
[18:52] <akik> AggregatedExcept: you can use subnetcalc. you need the ip and netmask
[18:53] <TJ-> AggregatedExcept: how have you configured the ppp0 interface, which service? ifupdown/network-manager/systemd-networkd/netplan ?
[18:54] <AggregatedExcept> TJ-: I use wvdial, which uses pppd, which creates ppp0, I did nothing more
[18:55] <TJ-> AggregatedExcept: OK, thinking about it, as you've got a point-to-point link that does need the /32 ... so you need to add a script/command to xvdial that creates the correct route and adds it
[18:58] <TJ-> AggregatedExcept: try creating the script /etc/ppp/ip-up.d/add-route and then in that file "#!/bin/sh", "ip route add $PPP_IPPARM/24 dev $PPP_IFACE"
[19:00] <TJ-> AggregatedExcept: look at the script /etc/ppp/ip-up  for more details on what variables are availale
[19:07] <AggregatedExcept> TJ-: I tried create srcipt in the same folder already, but I think that information does not enough to create route
[19:07] <AggregatedExcept> #       $1      the interface name used by pppd (e.g. ppp3)	ppp0 #       $2      the tty device name				/dev/ttyUSB3 #       $3      the tty device speed				115200 #       $4      the local IP address for the interface		172.31.175.233 #       $5      the remote IP address				10.64.64.64
[19:09] <AggregatedExcept> TJ-: from this params ($1-$6) how can I create a route programatically?
[19:10] <AggregatedExcept> which fits for example 172.31.175.151
[19:10] <AggregatedExcept> $1      the interface name used by pppd (e.g. ppp3)	ppp0
[19:10] <AggregatedExcept> $4      the local IP address for the interface	172.31.175.233
[19:11] <AggregatedExcept> $5      the remote IP address	10.64.64.64
[19:11] <AggregatedExcept> this three params are only relevant
[19:13] <phelix> how can I make a file by root readable by everyone but writeable only to root? which chmod perms?
[19:13] <AggregatedExcept> it is enough to create a default route, but I need only the private apn network
[19:15] <nooneelse> phelix, there are tons of tools for calculating chmod out there, here is one of them https://chmod-calculator.com/
[19:15] <phelix> thanks
[19:16] <DiecastMessiah> phelix check out https://en.wikipedia.org/wiki/Chmod and look at the Symbolic modes part
[19:16] <phelix> nooneelse, so I made it 644. Its in my users home folder but the file is owned by root
[19:16] <phelix> I don't want my user profile being able to edit this file only root
[19:17] <phelix> But 644 still lets my user edit the file.
[19:19] <phelix> I can chown -R root:root .nvidia-settings-rc and then chmod 644 .nvidia-settings-rc and then my user can still open and change it. Then its owned by my user account again
[19:21] <DiecastMessiah> phelix maybe its the group ?? i forget the command chgrp or something like that
[19:21] <phelix> well if i chown root:root the file... how is it that my user can modify it?
[19:22] <DiecastMessiah> sorry no idea I would think it wouldn't ... but i am newbie
[19:34] <lordcirth_work> phelix, there's a great guide to permissions here: https://linuxjourney.com/lesson/file-permissions
[19:45] <vern> phelix: likely your non-root user can edit the file because the user owns the directory the file is in. technically they can't edit the file but they can delete the old file and create a new one with the same name
[19:48] <oerheks> !acl
[19:54] <linguini1> I just installed lubuntu 17.10 on a computer with 1 HDD and 1 SSD.  However, I don't see the SSD in /dev/ ; how can I troubleshoot this?
[19:57] <tomreyn> linguini1: this posts your kernel ring buffer log to a pastebin, returning a URL you can post here:  dmesg | nc termbin.com 9999
[19:58] <tomreyn> the ring buffer log may provide information which helps diagnosing this issue
[19:59] <tomreyn> linguini1: if you know how your SSD is connected (on the SATA bus, USB, or is it actually an NVMe?)
[19:59] <TJ-> linguini1: is the SSD on  an nvme interface?
[19:59] <linguini1> The SSD is a M.2 PCI thing
[20:00] <linguini1> http://termbin.com/3h19
[20:00] <TJ-> linguini1: when we see the kernel log we'll know more; it's possible you're looking for a /dev/sd* when it's a /dev/nvme0n1 type node name
[20:03] <linguini1> TJ-: I see no /dev/nvme*; dmesg is at http://termbin.com/3h19
[20:04] <TJ-> linguini1: No, you're correct. I do see "[    4.708118] ACPI Error: Method parse/execution failed \_SB.PCI0.SAT0.PRT4._GTF, AE_NOT_FOUND (20170531/psparse-550" which indicates a possible problem with (interpretting the ACPI path) SouthBridge > PCI domain 0 > SATA device 0 > Port 4
[20:05] <TJ-> linguini1: around that area we see thaat ata5 link is the only one "up" (which becomes /dev/sda)
[20:05] <TJ-> linguini1: if you start the PC and enter it's firmware setup does that 'see' the SSD ?
[20:05] <linguini1> TJ-: Don't know; I thought I'd see what I could do before rebooting.
[20:06] <TJ-> linguini1: On the basis of that kernel log I'd suspect the drive wasn't connected, or doesn't have power
[20:06] <linguini1> Thanks; I'll reboot and poke around the BIOS and look at the mobo
[20:06] <oerheks> linguini1, add nvme_load=YES to grub  https://www.dell.com/support/article/nl/nl/nlbsdt1/sln299303/loading-ubuntu-on-systems-using-pcie-m2-drives?lang=en
[20:06] <oerheks> oh
[20:09] <TJ-> oerheks: always happens... too late :D
[20:17] <oerheks> TJ-, yeah, bussy making meatballs, if he returns, you can tell him perhaps?
[20:17] <TJ-> oerheks: will do :)
[20:17] <add1ctus> I just installed Python 3.6 from source, but apparently I didn't have libssl-dev installed while compiling, so now I can't use ssl with it (or install packages with pip). How can I uninstall the Python I installed with "make install"?
[20:18] <oerheks> add1ctus, 3.6 is in our repos ?
[20:18] <add1ctus> I made it into a .deb package with checkinstall, but dpkg -r python doesn't seem to work for me
[20:18] <oerheks> !info python3.6
[20:18] <TJ-> add1ctus: "sudo make uninstall" in the build root directory?
[20:19] <add1ctus> TJ-: I tried that as well, got this message: make: *** No rule to make target 'uninstall'.  Stop.
[20:19] <add1ctus> oerheks: I wasn't aware of that. This is for 16.04, right?
[20:19] <TJ-> add1ctus: well, that's weird. try reading the ./Makefile  if it has one, look for other targets near the "install:" target
[20:20] <oerheks> yes, 16.04 and up https://packages.ubuntu.com/search?keywords=python3.6
[20:20] <TJ-> add1ctus: this may help "grep '^[^ ]*:' Makefile"
[20:21] <flexd> hi there, perhaps a unusual question: I think I have a SSD sitting here with Ubuntu (or Debian) installed on it, and it was installed in UEFI mode... I have a older motherboard that I'm pretty sure does not support UEFI, but booted a drive with Ubuntu installed in BIOS/legacy mode just fine.. How can I "convert" my non-working OS installation on the first SSD to the older legacy way?
[20:21] <flexd> Alternatively, this might not be the problem at all: It's just hanging at boot with a blinking dash in the top left corner, and I never see grub or the startup OS logo
[20:21] <flexd> It was working before the old motherboard died last year
[20:22] <flexd> and I can read the SSD that is not booting from Ubuntu when I boot from the other one, so there seems to be nothing wrong with it
[20:23] <pavlushka> flexd: I think you just have to reinstall the grub in lagacy mode to work on the old motherboard
[20:24] <add1ctus> TJ-: I went through the grep output, but I'm not sure what should I look for. There is no uninstall. Here's the output: https://paste.ubuntu.com/p/MGPRYmGJbD/
[20:25] <TJ-> flexd: if you have a PC with both devices connected at the same time, and booted into the working Linux install, then you can modify the broken OS install via a 'chroot' environment
[20:26] <TJ-> add1ctus: ...WoW...! I'd have expected a large project like Python to have an uninstall: target, but you're correct, there's only variations of install: targets
[20:28] <flexd> TJ-: good idea! I just was not sure I could just reinstall grub
[20:28] <add1ctus> TJ-: So, is there a way I can uninstall it? Is it actually safe for me to overwrite that installation?
[20:29] <akik> add1ctus: if you install the deb created by checkinstall, you can then remove it
[20:29] <rangemonger> pavucontrol doesnt seem to depend on pulse as of late, is this not a bug?
[20:29] <akik> add1ctus: it'll remove the same files than make install put into place
[20:30] <add1ctus> akik: Will try, thanks!
[20:30] <TJ-> add1ctus: if you configure/make it with the correct libssl config option and then 'make install' it'll replace whatever is already installed
[20:31] <TJ-> add1ctus: I hope it isn't replacing any files from system packages. I'd keep a log of the build/install process and check the install paths. ("sudo make install |& tee /tmp/python3.6-build.log")
[20:42] <flexd> TJ-: right, I have a chroot going, I just need to figure out how to go from a UEFI setup to legacy then
[20:42] <TJ-> flexd: did you bind-mount /proc /sys /dev /dev/pts into the chroot ?
[20:42] <flexd> sda1 is a 512MB EFI System
[20:42] <flexd> TJ-: not /dev/pts, buty et
[20:43] <flexd> but yes*
[20:43] <flexd> https://superuser.com/a/111215 pretty much like this
[20:43] <TJ-> flexd: OK, then first thing I'd do inside the chroot is "mount -a" which'll mount all the auto entries from /etc/fstab
[20:43] <nebelherzog1991> hallo
[20:43] <flexd> TJ-: okay.
[20:44] <TJ-> flexd: then you've got 2 choices 1) find about 1-2MB of free space between partitions on /dev/sda, or 2) over-write the EFI-SP in /dev/sda1, for a BIOS Boot partition where grub-pc could install it's core image
[20:45] <TJ-> flexd: to actually do the GRUB install you'd need to "apt remove grub-efi*" and then "apt install grub-pc"
[20:47] <flexd> well, I might as well do option 2?
[20:47] <TJ-> flexd: you could /copy/ everything from /dev/sda1 (which should now be mounted at /boot/efi/ ) into another directory so you have a copy in case you want to reinstate it later. E.g. "sudo mkdir /boot/efi-sp; sudo rsync -av /boot/efi/ /boot/efi-sp/"
[20:48] <flexd> TJ-: maybe copy everything from /dev/sda1 out of /boot, since we will be formatting that to another filesystem?
[20:49] <xeon_kyo> i need a help , does somebody know Bash language? cause i wrote a file which runs well but i cant use with crontab :(
[20:50] <EriC^^> xeon_kyo: the environment is different in cron
[20:50] <xeon_kyo> completely? :(
[20:50] <EriC^^> xeon_kyo: make sure that $HOME and $PATH is set right, also might want to add a > /tmp/cronlog 2>&1 to the end of the command
[20:51] <flexd> TJ-: copied everything from /boot out onto the own drive. Then I just remove grub-efi* and install grub-pc?
[20:51] <EriC^^> to troubleshoot what's actually going on
[20:51] <TJ-> flexd: once you've copied those files you can unmount the file-system ("sudo umount /boot/efi") prior to replacing it with a BIOS Boot partition. For that use "gdisk /dev/sda", then 'd' to delete and choose partition 1, then 'n' (new partition), 1, set start and end as defaults, then set type to EF02 (BIOS Boot), then 'w' to write the change. Then "kpartx -a /dev/sda" then "grub-install /dev/sda"
[20:51] <xeon_kyo> i can share my code if u have a minute to check it but i dont have these path-s its a rly simple stuff
[20:51] <EriC^^> xeon_kyo: ok pastebin it
[20:51] <TJ-> flexd: correct, replace grub-efi* with grub-pc and then alter the partition
[20:52] <TJ-> flexd: it would make sense (to avoid errors) NOT to 'apt install grub-pc' until /after/ you've done the gdisk operation to make the BIOS Boot partition
[20:53] <xeon_kyo> https://pastebin.com/SNHkMfiG
[20:53] <xeon_kyo> check it
[20:53] <flexd> uuh, I'm doing the gdisk part now, and I have not uninstalled grub-efi* yet. I have umounted /boot/efi
[20:53] <TJ-> flexd: that's fine
[20:54] <TJ-> flexd: it's like a dance, switching boot methods :)
[20:54] <EriC^^> xeon_kyo: try adding >/tmp/cronlog 2>&1 to the end of the command in cron
[20:54] <xeon_kyo> desc: the scripts sends to my set top box a message , after i make an array with urls ( now only pasted one ) , after he cuts out stuff from these websites , after he makes an array with these copied stuffs ,and he writes to one file
[20:55] <xeon_kyo> how can i run just this cron job?
[20:55] <flexd> :D
[20:55] <EriC^^> xeon_kyo: set it to run after minute or 2
[20:55] <EriC^^> */2 * * * * will run every 2 minutes
[20:56] <xeon_kyo> if i change crontab , i need to restart cron daemon or it will be automatically know?
[20:56] <EriC^^> no need to restart anything
[20:56] <xeon_kyo> so i can make a last line echo /tmp/cronlog 2>&1?
[20:57] <EriC^^> make the command "/path/to/script.sh >/tmp/cronlog 2>&1"
[20:59] <flexd> TJ-: oh come on.. now it's complaining about dependencies when I'm trying to install grub-pc :(
[21:00] <flexd> aha, had to remove grub-common as well
[21:00] <xeon_kyo> still nothing
[21:01] <xeon_kyo> i even not see trying to run...
[21:01] <flexd> TJ-: right, I should be installed!
[21:01] <aziz> hello
[21:01] <flexd> I guess I'll try exiting chroot, unmounting everything and restarting
[21:02] <xeon_kyo> this is in my crontab "03 22 * * *   /usr/srcipts/test.sh >/tmp/cronlog 2>&1"
[21:02] <EriC^^> there's still a minute to go no?
[21:02] <aziz> hello is that there is any hakcer??
[21:02] <xeon_kyo> now moded tried at 00 22 * * *
[21:03] <EriC^^> xeon_kyo: try */2 * * * *
[21:03] <oerheks> aziz, wrong channel for hackers, this is ubuntu support
[21:03] <azizLIGHT> ok
[21:03] <xeon_kyo> how can i check does crontab working now or not?
[21:03] <aziz> can u tell me use of ubuntu... what is use for?
[21:04] <EriC^^> it should show up in "sudo grep CRON /var/log/syslog"
[21:04] <EriC^^> xeon_kyo: ^
[21:04] <TJ-> !ubuntu | aziz
[21:04] <flexd> TJ-: success!
[21:05] <TJ-> flexd: well done, one take as well, impressive!
[21:05] <flexd> I'm currently looking at Debian jessie booting up :-D
[21:05] <oerheks> aziz = azizLIGHT  :-D
[21:05] <flexd> TJ-: ha, I'm not that inexperienced with Linux I just had no idea how to achieve this. Luckily people like you exist, thanks!
[21:05] <xeon_kyo> i dont have syslog in my log
[21:05] <azizLIGHT> no im me oerheks :)
[21:05] <xeon_kyo> cause its not ubuntu , its a linux based set top box
[21:05] <TJ-> flexd: it's a pleasure working with someone who knows what's what :)
[21:05] <flexd> It's going to be so unhappy booting up hah. I'm missing a whole ZFS pool and lots of stuff will be booting up depending on it
[21:06] <flexd> old motherboard died in october or november.. I spent a good while deciding what to replace it with :) ended on a old dual xeon setup
[21:07] <aziz> thanks for share your comments
[21:07] <oerheks> xeon_kyo, so maybe you get wrong answers, not using ubuntu
[21:08] <zduniak> hey, im trying to move my installer preseed from "stock" 16.04 server to the HWE stack for better wifi drivers support, but I'm struggling with fixing X11 (which I install manually and launch using xinit, xserver-legacy is installed, xauthority allows anybody). I get the following error when I try to start it up: http://termbin.com/euxs3
[21:08] <flexd> TJ-: :D unfortunate side-effect of this motherboard: It only has 6 SATA ports but I have 6 drives in the ZFS pool + the OS SSD.. and I only have a external SAS HBA card.. I'll have to run a cable back in from the outside
[21:08] <aziz> is that ununtu use for hacking ???
[21:08] <xeon_kyo> linux bash is linux bash , the scripts works well in my linux as in my settopbox
[21:08] <xeon_kyo> just i am dumb for using crontab :(
[21:09] <nacc> xeon_kyo: we aren't able to support not ubuntu
[21:09] <nacc> xeon_kyo: check things like path, etc.
[21:09] <xeon_kyo> there is no path in the file
[21:09] <oerheks> aziz, what is ununtu?
[21:10] <xeon_kyo> i checked bunch of literature , before i tried to find skilled developers on irc like now
[21:10] <rangemonger> aziz its an alternative operating system, instead of windows you can use ubuntu
[21:10] <dopstar> xeon_kyo, what are you trying to do?
[21:10] <flexd> TJ-: all is not well however.. it hangs on startup dropping me into recovery
[21:11] <xeon_kyo> i created a script, which works well with terminal using SH xyxy.sh its do the job
[21:11] <aziz> oerheks i mean ubuntu
[21:11] <xeon_kyo> the problem is i wanted to run this script automaticaly at 0:05 every day
[21:11] <aziz> thanks rangemonger
[21:11] <oerheks> aziz, oh oke, but i already answered that
[21:11] <TJ-> flexd: maybe it's trying to mount the now-missing /boot/efi/ device - that needs disabling in /etc/fstab at least
[21:11] <rangemonger> np
[21:12] <flexd> TJ-: maybe.. looks to be something about failing to load kernel modules
[21:12] <xeon_kyo> so i found cronjob, i worted this lane to cron 05 00 * * *   /usr/srcipts/test.sh
[21:12] <aziz> ok thanks for responce oerheks
[21:12] <xeon_kyo> it is in the root file
[21:12] <TJ-> flexd: has it failed in the initial ramdisk, or during init system startup ?
[21:12] <xeon_kyo> but still nothing
[21:12] <azizLIGHT> xeon_kyo: chmod +x test.sh
[21:13] <aziz> i am new user of ubuntu....i do not know how to use
[21:13] <xeon_kyo> azizLIGHT used it
[21:13] <flexd> TJ-: system startup, I think. I'm dropped into recovery on the host and I can look at systemd logs with journalctl
[21:13] <TJ-> !help | aziz
[21:13] <xaeB5> after a recent kernel update, trying to start a virtualbox VM freezes the computer and forces me to hold the power button to shut it off. the computer works fine until i try to start a VM. i selected an older kernel (4.4) from the GRUB menu and the VM starts fine. what could be going on?
[21:13] <TJ-> oh!
[21:13] <azizLIGHT> xeon_kyo: was the script working in terminal
[21:13] <xeon_kyo> yes yes
[21:13] <flexd> it might also be freaking out that this is a entirely new motherboard with a different chipset/cpu/memory
[21:13] <dopstar> xeon_kyo, ls -lah /usr/srcipts/test.sh
[21:14] <azizLIGHT> might be permissions issue with the other user
[21:14] <xeon_kyo> i have just root user in my STB
[21:14] <aziz> ok ubbotu
[21:14] <xeon_kyo> so only user is root
[21:14] <rangemonger> xaeB5: i dont know but ive had numerous problems getting kernels that are newer than the release of vb that im using
[21:14] <TJ-> flexd: that should never bother Linux, unless the kernel is very old and the mobo very new
[21:14] <azizLIGHT> aziz: ubottu is a bot
[21:14] <flexd> TJ-: 'failed to insert 'nct6775': No such device is the failed to load kernel modules bit
[21:15] <flexd> TJ-: 3.14 kernel (Debian Jessie when it died), which should be way newer than this motherboard which is like 2011-2012
[21:15] <dopstar> xeon_kyo, ls -l /usr/scripts/test.sh
[21:15] <TJ-> flexd: does it exist? "modinfo nct6775"
[21:15] <flexd> yes
[21:15] <rangemonger> for what its worth, i fixed the gdebi problem... or rather the devs did
[21:15] <zduniak> hey, anyone has any experience with running x11 as non-root without systemd involved? I am trying to get my setup working on a HWE stack on 16.04, I launch it using xinit, xserver-legacy is installed, xauthority allows anybody. I get the following error when I try to start it up: http://termbin.com/euxs3
[21:15] <TJ-> flexd: what does "uname -r" report? that should show where the modules are. Also, might be good to "sudo depmod -a" in case the current kernel's module dependencies haven't been built
[21:15] <xeon_kyo> -rwxr--r--    1 root     root           644 Feb 14 21:57 /usr/scripts/test.sh
[21:16] <aziz> can any one help in private inbox??? is little shit question but for understand i need to ask or know something
[21:16] <rangemonger> doing a fresh install of 17.10.1 did the trick
[21:16] <rangemonger> simply updating 17.10 didnt
[21:16] <flexd> TJ-: uname -r  is 3.16.0-4-amd64
[21:16] <TJ-> flexd: the 'failed to insert' could have been during the initrd phase, and that module may not have been in the initrd.img
[21:16] <dopstar> xeon_kyo, chmod 755 /usr/scripts/test.sh
[21:16] <dopstar> xeon_kyo, so that the permissions are -rwxr-xr-x
[21:17] <xeon_kyo> ok
[21:17] <xeon_kyo> now how to try out next?
[21:17] <xeon_kyo> just write in root file at crontab?
[21:18] <flexd> I just spotted a call trace in the logs from the kernel, about Intel QuickData Technology Driver 4.00, ioatdma saying APICID_TAG_MAP set incorrectly in the bios, disabling DCA
[21:18] <flexd> TJ-: ^
[21:18] <TJ-> flexd: sounds like you've got some detective work to stabalise it
[21:18] <dopstar> does the script run on its own if you execute it?
[21:18] <azizLIGHT> xeon_kyo: set the script on schedule in crontab file, then crontab <path to crontab file> if you havent already.
[21:19] <azizLIGHT> xeon_kyo: if you made chagnes to crontab file while crontab already specified, might ahve to crontab -r and then crontab <path to crontab file> and you canc heck if ef everyhings ok with crontab -l
[21:19] <azizLIGHT> sorry for typos
[21:19] <flexd> TJ-: yeah, I guess I'll go digging in the BIOS. Looks like that specific error is related to the NIC(s), but shouldn't be causing it to not boot
[21:19] <xeon_kyo> */2 * * *   /usr/scripts/test.sh > /tmp/cronlog 2>&1
[21:20] <azizLIGHT> was there any error messages in cronlog from before
[21:21] <xeon_kyo> i dont know how can i check cronlog , or does even cron working in my system
[21:22] <dopstar> xeon_kyo, this */2 * * * must be */2 * * * *
[21:22] <TJ-> flexd: might be an idea, if there's any networking, to first try to install the most recent kernel version you can, reboot into it (best chance of good hardware support) then start fixing up the rest
[21:22] <azizLIGHT> you need 1 more *
[21:22] <azizLIGHT> total 5
[21:22] <xeon_kyo> ok changed
[21:22] <azizLIGHT> is your cron service running
[21:22] <xeon_kyo> how can i check does cron working on system or not?
[21:23] <oerheks> xeon_kyo, *if* you were on ubuntu, service cron status
[21:24] <flexd> TJ-: trying to do a full upgrade now, I fixed networking first
[21:24] <azizLIGHT> check if your crontab has latest changes you made, check crontab -l
[21:24] <flexd> i.e just configured an interface, it works fine
[21:24] <xeon_kyo> i not have service command
[21:24] <xeon_kyo> if i wrote crontab -l i got back the actual changes
[21:24] <azizLIGHT> good
[21:25] <xeon_kyo> but
[21:25] <azizLIGHT> does your script leave output? check cat /tmp/cronlog
[21:26] <xeon_kyo> for example i have this row in script , i can make just this in script , its send message to display : wget -O /dev/null -q "http://localhost/web/message?text=PLEASE+WAIT%0A+SCRIPT+IS+RUNNING&type=1&timeout=5"
[21:26] <xeon_kyo> i not have output by script
[21:27] <xeon_kyo> oh i got cronlog
[21:27] <azizLIGHT> it must have just run
[21:27] <xeon_kyo> empty :(
[21:28] <azizLIGHT> it should be, because wget -O /dev/null and -q means no putput
[21:28] <azizLIGHT> *output
[21:28] <azizLIGHT> it looks like it ran, check if what your script is supposed to do, did what it is supposed to do
[21:28] <flexd> TJ-: upgrading 290 packages is going to take a while.. it didn't want to let me install any kernels without upgrading
[21:28] <xeon_kyo> aziz can i send you pastebin? do you have a bit time to check my script?
[21:28] <xeon_kyo> its not a big stuff
[21:28] <azizLIGHT> xeon_kyo: link the pastebin url here
[21:29] <xeon_kyo> https://pastebin.com/gku9WaPF
[21:32] <azizLIGHT> line 12 - 15 dont look right to me, but i could be wrong
[21:33] <xeon_kyo> its working in original long code
[21:33] <xeon_kyo> now seems like useless array but in code its works
[21:33] <xeon_kyo> but i can remove it , i need just to make cron friendly
[21:34] <azizLIGHT> comment it out maybe
[21:35] <xeon_kyo> i leave just this row in sh : echo "CRON WORKS" > /tmp/testcron.log
[21:35] <azizLIGHT> yea good
[21:35] <xeon_kyo> let see
[21:35] <azizLIGHT> you can change it to * * * * * instead of */2
[21:35] <azizLIGHT> to see the answer faster
[21:36] <xeon_kyo> changed
[21:36] <xeon_kyo> but still no answer :(
[21:36] <xeon_kyo> * * * * *   sh <DO I NEED THIS HERE? /usr/script/test.sh
[21:37] <eaglgenes101> I disabled swap for maitenance purposes, but when I try to run operations on it, my system says it's still in use
[21:37] <eaglgenes101> What could still be using it
[21:38] <azizLIGHT> ive done it like * * * * * /usr/script/test.sh as well as * * * * * /bin/sh /usr/script/test.sh
[21:38] <eaglgenes101> (this is after a reboot with disabled swap, by the way)
[21:40] <TJ-> eaglgenes101: what does "cat /proc/swaps" report?
[21:40] <eaglgenes101> It reports no swaps
[21:41] <azizLIGHT> xeon_kyo: i suggest you see if cron is running
[21:41] <eaglgenes101> Filename				Type		Size	Used	Priority
[21:41] <eaglgenes101> That's all it shows for cat /proc/swaps
[21:42] <xeon_kyo> the problem is i not have service command >*
[21:42] <xeon_kyo> :(
[21:42] <oerheks> xeon_kyo, yeah, but with ubuntu you would be fine
[21:43] <oerheks> really, i wonder why you end up here, and not in ##linux
[21:43] <xeon_kyo> u are some ubunu advertiser ? :D i use ubuntu now as daily run
[21:43] <xeon_kyo> but i make code for my set-top-box
[21:44] <eaglgenes101> https://paste.gnome.org/pgyy9lzbv
[21:45] <netochka_> hey guys. how can i have nightmode in xubuntu. like the option in ubuntu?
[21:46] <fareast> I am running ubuntu on an amd athlon dual core with a radeon hd 5000 is this compatible?
[21:47] <fareast> I also would like to know is there a better core temp app?
[21:47] <oerheks> fareast, compatible with ..?
[21:47] <fareast> I am using Psensor
[21:47] <fareast> the graphics card
[21:47] <fareast> mainly
[21:47] <oerheks> fareast, sure, by the openradeon or amdGPU driver
[21:48] <tcpdump> Hey everyone, Im pretty well used to systemd, but today I found myself on a 14.04 LTS server needing to create a service from a python script.
[21:48] <tcpdump> Anyone have any idea where to start on that?
[21:48] <fareast> which is recommended and how sould I go about installing it.
[21:48] <fareast> everything looks good should I run a graphics benchmark somehow?
[21:48] <oerheks> fareast, it installs automaticly
[21:48] <fareast> ok can you lead me to a good graphics benchmark for it?
[21:49] <fareast> and a temp sensor program
[21:49] <oerheks> !sensors
[21:49] <oerheks> psensors is fine
[21:49] <netochka_> hello?
[21:50] <kenrin> night mode is a gnome option
[21:50] <kenrin> So you better develop it into xfce
[21:51] <netochka_> it is xfce
[21:51] <netochka_> i installed ubuntu and then xfce coz ubuntu was laggy
[21:52] <netochka_> so i'm confused about what to do next
[21:53] <fareast> ok graphics benchmark?
[21:53] <fareast> everything looks good I am under 60
[21:54] <fareast> this pc stinks of hippy oil
[21:54] <eaglgenes101> I tried my hardest to have my system disable swap for now, but badblocks still refuses to run on swap
[21:55] <eaglgenes101> What else should I check before flicking the force flag on
[21:55] <flexd> TJ-: hmm.. it's very very unhappy now.. I'm trying to run dpkg-configure -a to finish configuring some things, and it's dropping into emergency mode mid-way
[22:00] <fareast> how do i install a .run file?
[22:02] <eaglgenes101> I disabled swap, and linux reports exactly zero swap. Is it safe to do potentially destructive operations on swap?
[22:02] <eaglgenes101> *the swap partition
[22:03] <akik> eaglgenes101: yes
[22:03] <akik> farid: chmod +x file.run; sudo ./file.run
[22:05] <Haris> hello all
[22:05] <Haris> my ubuntu machine says I have 7 security updates. when I run apt-get update; apt-get upgrade it doesn't upgrade anything. Is there a way to see list of these 7 pkgs which can be upgraded ? and how to upgrade them ?
[22:05] <eaglgenes101> Does it report that packages have been held back?
[22:06] <Haris> 4
[22:06] <eaglgenes101> Run sudo apt install <name of package> on each one, which will have the system go ahead and install dependencies for the backages
[22:06] <eaglgenes101> sudo apt-get upgrade doesn't do that for whatever reason
[22:06] <netochka_> somebody please tell me how to have a nightmode on xubuntu, xfce platform installed on ubuntu
[22:06] <Haris> I don't know what 7 pkgs have upgrades available
[22:07] <eaglgenes101> What does sudo apt upgrade output?
[22:08] <eaglgenes101> Specifically, look for a line that says: "The following packages have been kept back:"
[22:10] <texla> method http has died unexpectedly
[22:11] <Haris> it gives me a list of pkgs I can upgrade
[22:11] <Haris> and asks for Y/n
[22:11] <oerheks> Haris, sudo apt update && sudo apt full-upgrade # should do the trick
[22:11] <eaglgenes101> Say yes to the upgrade
[22:11] <beidl> Haris: that's the wrong info
[22:12] <eaglgenes101> Since that's what you wanted, right?
[22:12] <Haris> oerheks: don't want full upgrade at this stage
[22:12] <beidl> Haris: which packages exactly are being held back?
[22:12] <Haris> only to upgrade pkgs on existing install
[22:12] <oerheks> full-upgrade does not give a new ubuntu
[22:12] <Boyette> dist-upgrade
[22:12] <oerheks> it updates those held back packages
[22:13] <oerheks> dist-upgrade was the old way, indeed
[22:13] <eaglgenes101> Packages have dependencies, and sometimes package dependencies change, necessitating installation of new packages to maintain the status quo
[22:13] <Boyette> doesnt work anymore?
[22:13] <oerheks> Boyette, ehm, it is still working, for overlap
[22:13] <Boyette> ok
[22:13] <Boyette> i like my new ubuntu mate
[22:13] <Boyette> very much
[22:13] <Haris> https://paste.ubuntu.com/p/hZym6yTFYB/
[22:14] <beidl> upgrading to another distro release is something totally different
[22:14] <Boyette> only thing is im stuck on the mesa 18.1 which is kind of bricky
[22:14] <oerheks> Haris, why do you ask us to answer Y/N ???
[22:14] <Boyette> is there a way to post a systemoverview so you guys can check on my system if there are things which can be improved?
[22:14] <eaglgenes101> Installing security updates should be a no-brainer
[22:14] <Haris> if these pkgs are ok to proceed with or if they can cause problem for me
[22:15] <Haris> ok
[22:15] <eaglgenes101> Ubuntu has corporate customers, and said customers would probably be very unhappy if Canonical pushed breaking changes on them without warning
[22:16] <eaglgenes101> So I think updating should be fine
[22:16] <beidl> don't risk it with held back packages
[22:16] <oerheks> Haris, you will need to reboot after that fresh kernel
[22:17] <igus> hallo
[22:17] <Haris> sent it for reboot
[22:18] <beidl> installing held back packages is russian roulette, will cause problems with the wrong combination of packages
[22:19] <beidl> installing with held back packages*
[22:19] <oerheks> !fud | beidl
[22:20] <beidl> if you assumed me to be someone who you thought I was, then you were clearly wrong
[22:20] <oerheks> beidl, are you here to troll? of so, please leave this support channel, thanks.
[22:21] <beidl> no, I am here to contribute, just like in the past before the switch to gnome
[22:21] <beidl> oerheks: but nice way to interact with someone
[22:21] <beidl> thank you
[22:21] <hggdh> it is not installing with held-back packages that is dangerous, it is *forcing* package installs without the pre-reqs
[22:22] <beidl> hggdh: that's exactly the problem I'm warning of
[22:22] <oerheks> He just gets a fresh kernel on trusty, nothing fancy at all
[22:23] <Boyette> :) peace
[22:23] <beidl> depends on additional modules, et
[22:23] <beidl> c
[22:23] <eaglgenes101> Doing "sudo apt install <package>" on each held-back package will get everything straight without risking breakage
[22:24] <beidl> apt wasn't default on trusty, right?
[22:24] <eaglgenes101> I don't know why automatically installing prerequisite packages on upgrade isn't the default, but that's beside the point
[22:24] <beidl> eaglgenes101: because the repo list isnot up to date
[22:24] <beidl> list of packages in the repo, specifically
[22:24] <flexd> TJ-: It's alive! It was /boot/efi mounted in fstab that was the problem at the end
[22:25] <Bashing-om> !yay | flexd
[22:25] <eaglgenes101> It's not too bad to get a repo list up to date
[22:25] <eaglgenes101> Sudo apt-get update
[22:26] <beidl> eaglgenes101: that's not what I mean
[22:26] <eaglgenes101> If it reports failure, remove extra repositories until you can isolate the point of failure
[22:26] <beidl> clearly the ubuntu community has lost it's drive
[22:26] <akik> beidl: nothing is "the default". just your preference what you want to use
[22:26] <DrkShadow_> When I use archive.ubuntu.com/ubuntu in my  sources.list, everything works great. When I run debmirror to clone a repository, it's always missing dists/trusty-blah/binaries-amd64/Packages. This file indeed doesn't exist, and doesn't exist on us.archive.ubuntu.com. Can someone help me with repository mirrors?
[22:28] <flexd> you have no idea how nice it feels going from a SoC Atom chip to a dual xeon setup
[22:28] <flexd> this is ridiculous :-P
[22:29] <eaglgenes101> Sometimes my system ends up going into very high IOWait percents and then locking up for, at least, minutes at a time
[22:30] <eaglgenes101> I'm pretty sure that my CPU and SSD are plenty fast enough to service whatever IO I throw at it, so I suspect there's a software problem
[22:30] <eaglgenes101> Where should I look?
[22:31] <akik> eaglgenes101: maybe iotop(?)
[22:33] <akik> eaglgenes101: do you have enough ram for your tasks?
[22:33] <IntelCore>  - hi - my i5, Broadwell Hp with Grub2 loads, reloads, then boots from grub.  Why?
[22:33] <eaglgenes101> Yes, I also have plenty enough ram
[22:35] <akik> eaglgenes101: you could also test with the deadline io scheduler (elevator=deadline kernel parameter)
[22:37] <Haris> what's the difference between apt-get upgrade and apt upgrade
[22:37] <IntelCore> ??  I press enter to have grub run the ubuntu, it goes.. I wait, and it comes back to the same menu.. then I press enter again, and it goes... takes longer, and boots ubuntu..
[22:38] <eaglgenes101> I'm on the blk-mq schedulers
[22:38] <eaglgenes101> I selected bfq to try to maintain some responsiveness under heavy IO load, but apparently this does not work
[22:38] <eaglgenes101> As my system locks up nevertheless
[22:39] <Shirakawasuna> Hey! Not sure where else to ask this question, but I'm looking to get a slightly-friendlier-to-privacy chromium-based browser. Was using chrome, am now using chromium, but various articles indicate that chromium still uses binary blobs and sends tracking info to Google. The only alternatives I see are Brave and Ungoogle Chromium. Any thoughts?
[22:39] <IntelCore> this for ubuntu
[22:39] <akik> eaglgenes101: does it start swapping heavily?
[22:40] <eaglgenes101> No, it's at half ram, and I specifcally set vm swappiness low to try to prevent unnecccesary writes
[22:40] <IntelCore> Chrome slags
[22:41] <Shirakawasuna> I've also been using firefox 58, but it's a bit buggy
[22:41] <nacc> Shirakawasuna: i think you might want a differnet channel
[22:42] <akik> Shirakawasuna: do you have a problem with firefox?
[22:42] <DiecastMessiah> thats odd firefox seems to run the best
[22:42] <chindy> anyone else have the problem, that the sound of videos randomly turns off ?
[22:43] <chindy> as in both in the standard video program as well as VLC
[22:43] <Shirakawasuna> akik, it will randomly freeze whenever I try to open privacy mode (I think I accidentally hit ctrl+P and it has issues with that dialog)
[22:43] <Shirakawasuna> also its gl performance is much worse
[22:43] <TJ-> flexd: belated Yay :D
[22:43] <Shirakawasuna> nacc, any ideas for what might be a better channel?
[22:44] <akik> Shirakawasuna: you mean ctrl+shift+p (private browsing) ? ctrl+p opens the print dialog
[22:44] <IntelCore> apt-get upgrade vs. apt-upgrade ??  I think you mean.. apt-get update updates the list of available packages and their versions, but it does not install or upgrade any packages.
[22:44] <Shirakawasuna> akik, yes
[22:44] <nacc> !who | IntelCore
[22:44] <Shirakawasuna> akik, I mean if I accidentally don't hit shift, it freezes the whole browser, all tabs
[22:44] <akik> Shirakawasuna: do you have many printers defined?
[22:44] <flexd> TJ-: thanks again for the help! I'm off to bed o/
[22:44] <Shirakawasuna> dunno
[22:44] <nacc> !alis | Shirakawasuna : I just meant it's not an Ubuntu support question of what better brwoser to use, since only a few are actually packaged
[22:45] <IntelCore> Haris -
[22:45] <akik> Shirakawasuna: ok i can only say that firefox 58 is working fine here with one or two printers defined
[22:45] <Haris> ?
[22:46] <IntelCore> Haris asked upgrade.. well,
[22:46] <nacc> Haris: apt and apt-get are different tools
[22:46] <nacc> Haris: both are frontends to dpkg
[22:46] <eaglgenes101> Does libreoffice similarly hang if you try to print a document?
[22:46] <IntelCore> Yep nacc
[22:47] <IntelCore> So they updated grub after this kernel chang and have tried since.. but, like I said, my grub isn't workie right
[22:51] <IntelCore> The program 'gksu' is currently not installed.
[22:53] <IntelCore> 2013 since with no answer to how to edit grub..
[22:53] <IntelCore> Good info, but the OP would also like to know how he can make the changes he wants in /etc/default/grub and then update-grub. – chaskes Apr 13 '13
[22:55] <IntelCore> yay. a grub
[22:56] <IntelCore> vmlinuz-4.4.0-112-generic
[22:57] <IntelCore> bye. I can read
[23:00] <Haris> iptables is behaving differently on 14.04 than it does on centos. For e.g., I have rules for state new and established in iptables. but most normal traffic is matching my iptables rules with state new, when it should be matching the generic rule for established,related state
[23:03] <Haris> plus, on some machine, I seem to need to add the rule with return clause for my ssh traffic to not get dropped
[23:06] <FurretUber> When using the connection made by virt-manager (virbr0) and iptables rules, the connections are not shown in netstat, but the apache server is accessible to external devices. Example: apache is running on one VM that is using virbr0, then a iptables rule is added to route the host http port to the guest address and port. Shouldn't the connection be shown by netstat?
[23:09] <Haris> on cpan> prompt, I can't do a single typo without having to re-try what I was doing on 14.04
[23:10] <IntelCore> is this good?   (kernel) + 39.434s (userspace) = 51.419s boot time
[23:10] <IntelCore> systemd-analyze
[23:12] <FurretUber> On my notebook: 5.956s (kernel) + 35.995s (userspace) = 41.951s
[23:13] <DiecastMessiah> what mackine you on again IntelCore i5 was it?? i am on a i3 and i have 35.40s altogether
[23:13] <FurretUber> I'm using a i3-6100U, with a 5400 RPM HDD. I think it's not bad
[23:14] <nacc> IntelCore: 'good' means nothing in this context
[23:15] <nacc> IntelCore: it completely depends on your system and what you hve installed, running, etc.
[23:15] <FurretUber> One desktop, with a USB 2.0 pen-drive: 5.646s (kernel) + 19.854s (userspace) = 25.501s
[23:15] <IntelCore> DiecastMessiah;  My first four show 9. secs..
[23:16] <nacc> ok, let's stop, thess numbers don't really mean anything, and are not useful comparisons
[23:16] <IntelCore> Use the word blame... and get a list of what's running
[23:17] <IntelCore> nacc, that right?
[23:18] <nacc> IntelCore: `systemd-analyze blame` will tell you how long each systemd unit took
[23:18] <IntelCore> um, ahh, I just wanna try to see what's causing my sluggish booting and grub menu breakages
[23:18] <nacc> typically you want critical-chain
[23:18] <nacc> which will show you the slowest path
[23:18] <FurretUber> I remember there was a bug with keyboard-setup.service, which made it took 20 seconds to start
[23:22] <IntelCore> graphical.target, multi-user.target, getty.target all three 39+
[23:22] <IntelCore> I can't fix those?
[23:25] <IntelCore> hmm, ty anieways nacc
[23:50] <truexfan81> ubuntu 14.04 i have a cron job set to run at 00 00  * * * but for some reason its not running it, script works if i run it manually, any ideas?
[23:53] <nacc> truexfan81: is it executable, is the script given as an absolute path, does it have a shebang in it, if it's a shells cript, etc.