[00:00] <htafdwes> Hmm okay well i think i'll use kvm on my hpc server to isolate my boinc miner. And maybe virtualbox on my laptop for firefox.
[00:01] <nacc> htafdwes: if you're looking for desktop in VM, you might want to install from iso in one VM, make a snapshot, and then use that as the basis for your Ms
[00:01] <nacc> *VMs
[00:01] <htafdwes> Could stick my docker and maybe an lxc ontop of the lvm image since it'll get most of the cores.
[00:02] <htafdwes> Kvm*
[00:03] <nacc> htafdwes: yes, that's true, you can do tht
[00:03] <htafdwes> Nacc what version/distro would you recommend installing for the firefox vm?
[00:05] <nacc> htafdwes: dunno, it probably doesnt' matter to much, since firefox gets backported aiui
[00:05] <htafdwes> Like i want something with smallest possible footprint. Maybe just a firefox in an xinitrc?
[00:05] <nacc> htafdwes: at this point, i'd put it in an 18.04 VM
[00:05] <nacc> and you can pare that down as much or as little as you like
[00:06] <nacc> htafdwes: tbh, yes, you can do that. I think it's more work than it's worth.
[00:06] <jcdutton> htafdwes, How about docker containers?
[00:07] <htafdwes> jcdutton: for firefox?
[00:07] <jcdutton> htafdwes, yes. instead of a whole vm
[00:08] <htafdwes> Then have to do manual reaource isolation, at which point might as well just isolate the native firefox process, but that sounds like a lot of work.
[00:08] <nacc> i thougth docker had some support for this in the cli, too
[00:08] <nacc> but i might be wrong
[00:09] <jcdutton> htafdwes, that is all docker really is, just a way to isolate a process
[00:10] <htafdwes> https://github.com/jlesage/docker-firefox/blob/master/README.md
[00:11] <nacc> htafdwes: i mean, that goes back to my point, once you're running docker, you can use cgroups to isolate it however you want (e.g., cpu controller to restrict the scheduler, cpuset controller to restrict what cpus it runs, etc. Or docker might have APIs for it too
[00:11] <htafdwes> 'Browse to http://your-host-ip:5800 to access the Firefox GUI.' Lol
[00:11] <nacc> htafdwes: you can do that for *any* process on the system, docker is just a fancy wrapper around it
[00:11] <nacc> (well, not just, but you get the idea ;)
[00:13] <htafdwes> Hmmm k well i'll look into cgroups and cpuset
[00:14] <nacc> htafdwes: it's an interface that's worth understanding. There are also tools to wrap them so that you don't have to muck with echoing value manually, cgconfigparser, cgrules, cg{create,exec}
[00:14] <nacc> htafdwes: but it also helps to be sure you know what you want to achieve, which is usually more than half the battle
[00:15] <htafdwes> Well what i want to achieve is no crashing and better uptime
[00:16] <nacc> htafdwes: going back to my point earlier, afaict, even in a container, if firefox is crashing your host kernel, it doesn't really matter if it's resources are isolated (unless it's a memory leak somewhere and you are able to mitigate it by limiting it. You're still not fixing the issue you're just avoiding it.
[00:16] <nacc> Simplest choice (tbh), seems to be run firefox in a VM and see why it crashes, if it does
[00:16] <nacc> htafdwes: it's very strange that your system crashes due to firefox, imo
[00:16] <nacc> htafdwes: you have swap enabled, right?
[00:17] <nacc> htafdwes: you coudl also just limit firefox's memory using the memory cgroup
[00:17] <htafdwes> i have swap enabled and 8GB ram on my laptop
[00:18] <powerninja> Hi anyone can help me with Chroot
[00:19] <nacc> htafdwes: hrm, i was going to guess a memory leak, but you'd be able to detect that with swap
[00:19] <nacc> powerninja: ask your question, not ask to ask
[00:20] <htafdwes> It usually happens when loading a website. How would i detect it with swap?
[00:21] <nacc> htafdwes: i meant you'd see swap getting used
[00:21] <htafdwes> Ah, well when it crashes can't really check anything.
[00:21] <nacc> htafdwes: right, i get it
[00:22] <nacc> htafdwes: the problem is, i'd expect your crashes will be not reproducible in the VM )
[00:22] <nacc> you could try disabling some extensions, or anything not standard
[00:23] <texla> Ubuntu 1804.1 I installed Bungie and the bootloader to sda..Ubuntu 18.04 ended up in the fourth position on the grub menu..Changed /etc/default/grub..default to 4 and ran update grub no change in grub menu
[00:24] <htafdwes> Whats a good cgroups tutorial for ubuntu?
[00:24] <texla> Should I have made the change in Bungie
[00:24] <htafdwes> Nacc hmm well i guess will see. If it doesn't crash in vm then so much the better.
[00:26] <djapo> how do i install redis with apt-get?
[00:27] <htafdwes> Hmm i found this one: could try it.
[00:27] <htafdwes> https://www.cloudsigma.com/howto-cgroups/
[00:30] <htafdwes> nacc: yeah i've tried disabling extensions, but then i end up adding them again. I just dislike that processes are allowed to crash the system like that. If there was some kind of 'process police' that would batton or jail a process that is taking more than it's fair share of resources for too long would probably be ideal.
[00:32] <nacc> htafdwes: right, the problem is it's not clear what's crashing or why
[00:32] <Bashing-om> djapo: ' sudo apt update ; sudo apt upgrade ; sudp apt install redis ' redis is in the universe repo .
[00:33] <Bashing-om> sudp/sudo*
[00:43] <htafdwes> nacc: yeah, if cgroups doesn't work, then I'll stick it in a VM.
[00:59] <djapo> Bashing-om: i can't install it .. im on a ubuntu aws instance how do i add the universe repo
[01:00] <djapo> 'universe' distribution component is already enabled for all sources.
[01:01] <Bashing-om> djapo: what release are you on ?
[01:02] <Bashing-om> !info redis bionic | djapo
[01:03] <djapo> Bashing-om: 4.4.0-1062-aws #71-Ubuntu SMP Fri Jun 15 10:07:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[01:04] <Bashing-om> djapo: 4.4 kernel .. what release from ' lsb_release -a ' ?
[01:05] <djapo> Bashing-om: Release:        16.04
[01:06] <Bashing-om> !info redis xenial | djapo
[01:06] <djapo> hmmm :/
[01:07] <djapo> Bashing-om: i found redis-server
[01:07] <djapo> is that the same
[01:07] <djapo> ?
[01:08] <Bashing-om> djapo: If it is a must .. easyest and best to get redis is upgrade to biomic :)
[01:08] <djapo> hmm, im going to install the server and test that first
[01:09] <Bashing-om> djapo: do ' apt show redis redis-server ' see then what you think .
[01:14] <djapo> Bashing-om: it works, its basically the same
[01:19] <Bashing-om> djapo: :) you do good work :)
[01:21] <htafdwes> okay, that's weird, it looks like ubuntu doesn't have support for cgroup configuration
[01:22] <htafdwes> at boot *
[01:22] <htafdwes> apparently it was taken out in 13.04, and nobody bothered adding it back. there are just some workaround hacks.
[01:23] <htafdwes> https://askubuntu.com/questions/528258/why-is-cgconfig-conf-not-being-read-on-reboot-on-14-04
[01:54] <antonm> Hello
[01:58] <htafdwes> hi
[01:59] <TimeDoctor> hi
[02:53] <justekud> Curious to meet 1+ ppl tonight excited by crazy rare weird software engineer kinda like zombie (handicapped big) + simultaneously superman (rare level advanced) ...
[03:11] <htafdwes> hey guys, I got the perfect solution for the cgroups firefox thingy https://samthursfield.wordpress.com/2015/05/07/running-firefox-in-a-cgroup-using-systemd/
[03:11] <htafdwes> cgroups are apparently supported by systemd
[03:12] <lotuspsychje> htafdwes: discuss that in #ubuntu-discuss mate
[03:17] <htafdwes> k
[03:27] <Lvl4Sword> Did latest Ubuntu ( 18.04 ) remove *-screensaver-command from /usr/bin ? - Trying to diagnose an issue for someone
[03:29] <lotuspsychje> Lvl4Sword: could you explain what its for cause i got a screensaver bug recently on bionic
[03:29] <Lvl4Sword> lotuspsychje, Script -> https://github.com/Lvl4Sword/LockMsg/blob/master/LockMsg.py
[03:30] <lotuspsychje> Lvl4Sword: my bug is about xscreensaver overriding movieplayers and going to screensaver anyway
[03:31] <lotuspsychje> Lvl4Sword: explain whats happening on your side plz?
[03:34] <dax> Lvl4Sword: gnome-screensaver-command is in the package gnome-screensaver, which isn't installed by default in 18.04
[03:34] <Lvl4Sword> lotuspsychje, Well, it's not for me it's for someone else and it's related to Linux Mint. Supposedly /usr/bin lacks any *-screensaver-command
[03:34] <Lvl4Sword> dax, Ah, what is installed by default?
[03:34] <dax> and linux mint support goes in the linux mint channels
[03:35] <Lvl4Sword> Well, seeing as latest Mint stems from 18.04, figured I'd go to the source.
[03:35] <dax> the source's /topic is quite clear ;)
[03:36] <dax> and besides, desktop environment stuff like screensaver packages tends to vary from distro to distro
[03:36] <dax> as far as ubuntu 18.04 goes, i don't think there is a screensaver program installed by default any more, though i could be wrong
[03:37] <Lvl4Sword> Hmm. I'll need to load it up on a vm it sounds like.
[03:37] <lotuspsychje> dax: correct, i have xscreensaver installed optional here, it does not interfere with gnome screensaver anymore
[03:37] <lotuspsychje> as gnome screensaver isnt by default anymore
[03:38] <Lvl4Sword> Interesting. I'll certainly have to poke around
[04:02] <stan7> Hi friends, im trying to install older php version on my ubuntu but i cant when i do apt-get install php, in my repositories i get the 7, and i have problems with 7 version in my ubuntu, how can i install older version in my ubuntu? is there a way to add the older version in my repositories? Thanks a lot for your support
[04:03] <htafdwes> stan7: if it's for some legacy app, then use docker.
[04:05] <lotuspsychje> stan7: we also don't advice to mix package versions on ubuntu, try to use the package version specific for your ubuntu version, or try !backports & snaps
[04:06] <stan7> thanks
[04:06] <htafdwes> stan7: basically can just usea  dockerfile image with ubuntu:trusty which has php5. though for w/e legacy app you're thinking of, unless you wrote it yourself probably already has a docker image somewhere.
[04:53] <glick> hi
[04:54] <glick> is there any software that can manage backups to DVDs?
[04:58] <cheater> i've got a problem. i've installed a ppa, then installed a package from that ppa, and then removed the package and the ppa. and now when i try to install that package, it says it tries to install that version from the ppa again and it has unmet dependencies. it looks like this:  vim : Depends: vim-common (= 2:8.0.1453-1ubuntu1) but 2:8.1.0408-0york0~18.04 is to be installed
[05:14] <alazywor1> I have many .ogg files in nested directories that contain both vorbis and opus streams. I need to change the extension of all opus files to .opus. Can someone please put together a cli command for me?
[06:04] <guiverc> cheater, if you `apt-cache policy vim-common` you should see what sources you have for that package, and where the 2:8.1 is from (or if already installed), if already installed you could remove it (you'll get warnings if it's needed); you also didn't give your Ubuntu version
[06:08] <Lvl4Sword> So I've installed latest Ubuntu ( 18.04 ) and I can't for the life of me find out how to query the status of the screensaver with or without extra software.
[06:25] <ducasse> cheater: did you run 'sudo apt update' after removing the ppa to update the package database?
[07:12] <empedokles78> After an upgrade to 18.04 lts my unity window fabulous-theme does look off because of gnome. Where can I remove those?
[07:17] <lotus|NUC> empedokles78: try unity-tweak-tool and see wich theme its set?
[07:20] <empedokles78> @lotus|NUC, window theme: ambiance, gtk-theme: flatabulous
[07:21] <lotus|NUC> empedokles78: can you try setting another theme, then make your flat theme active again?
[07:24] <empedokles78> @lotus|NUC, do you only mean the gtk theme?
[07:25] <lotus|NUC> yes
[07:27] <empedokles78> @lotus|NUC, seems to work I see buttons again and the window close buttons are on the left hand side.
[07:27] <lotus|NUC> !yay | empedokles78
[07:29] <empedokles78> ubottu, is there a way to disable that animation for the dash-search?
[07:36] <empedokles78> lotus|NUC, do you know how to disable this animation by opening apps?
[07:39] <lotus|NUC> empedokles78: wich animation exactly?
[07:40] <empedokles78> lotus|NUC, if you click on show apps in the sidebar there is some animation of app icons.
[07:43] <lotus|NUC> empedokles78: can you find some settings in unity-tweak-tool?
[07:44] <lotus|NUC> empedokles78: general/windows animations off is that what you mean?
[07:46] <empedokles78> lotus|NUC, it's not that setting, the apps are popping up. I don't think it's a window anim. Also: Isn't unity history with 18.04 LTS?
[07:52] <lotus|NUC> empedokles78: unity is now a community item, i did not test myself on 18.04
[07:53] <empedokles78> lotus|NUC, I thought 18.04 is using only gnome?
[07:55] <lotus|NUC> empedokles78: no, flavors and DE's and WM are choosable
[07:56] <lotus|NUC> empedokles78: by default 18.04 desktop uses gnome yes
[07:56] <lotus|NUC> empedokles78: but for example the 16.04 users that chosen to lts upgrade have also the unity choosable in 18.04
[07:59] <empedokles78> lotus|NUC, I see, makes sense to stick with it then.
[08:02] <lotus|NUC> empedokles78: that depends what you want, you can choose gnome from the login screen aswell if you like, canonical did their best to make it unity-like too
[08:07] <empedokles78> lotus|NUC, I guess unity will not be developed anymore in future versions?
[08:08] <empedokles78> I have some software called yEd graph editor under apps and don't see a way to remove it, it seems not to be installed via apt.
[08:08] <lotus|NUC> empedokles78: not from canonicals side, but there's an active community on both unity and unity8/ubports
[08:09] <lotus|NUC> empedokles78: how did you add this package?
[08:15] <empedokles78> lotus|NUC, actually not sure, but : https://www.yworks.com/products/yed/download#download seems a jar
[08:21] <lotus|NUC> empedokles78: looks like an installer script, not sure what it all adds
[08:22] <lotus|NUC> empedokles78: try whereis yed from a terminal
[08:25] <empedokles78> lotus|NUC, "yed:"
[08:26] <lotus|NUC> empedokles78: how about 'find yed'
[08:26] <empedokles78> lotus|NUC, says not found.
[08:27] <lotus|NUC> empedokles78: kk, try doublecheck your etc/apt/sources.list or software&sources to see if it added a ppa for yed?
[08:28] <lotus|NUC> empedokles78: https://yed.yworks.com/support/qa/7071/how-to-uninstall-yed-in-linux
[08:39] <empedokles78> lotus|NUC, is there a command for that?
[08:42] <empedokles78> with apt I don't find anything.
[08:56] <esomir> Hey guys. My usb keyboard suddenly stopped working... I havent done anything other than rebooting (which I've done many times), and now the keyboard does't work.
[08:56] <esomir> It shows up in lsusb
[08:57] <esomir> This is what dmesg shows: https://paste.ubuntu.com/p/zX56WQbDSF/
[08:57] <esomir> Any ideas?
[08:59] <gpunk> how old is the keyboard
[08:59] <gpunk> ?
[09:01] <esomir> gpunk: It
[09:01] <esomir> Sorry, a few years old
[09:01] <esomir> It
[09:01] <esomir> It's a new computer
[09:02] <esomir> But the keyboard has been working since yesterday??
[09:02] <blackflow> esomir: tried anotehr usb port?
[09:02] <esomir> blackflow: Yeah, I've tried every USB port
[09:02] <esomir> Also the one my mouse it attached (and working) to
[09:03] <empedokles78> I have two versions of inkscape, one from ubuntu 18.04 and one installed over a snap. How can I remove only the snap one?
[09:04] <empedokles78> With the ubdate to 18.04 they have the same version number .92 3
[09:05] <gpunk> esomir:  try it thru a usb hub if it doesnt wotk still, it might have died
[09:05] <ducasse> empedokles78: 'sudo snap remove inkscape'
[09:07] <esomir> gpunk: Just tried attaching it to my Mac. that worked fine
[09:07] <esomir> So the keyboard works
[09:07] <gpunk> good
[09:09] <esomir> But I just don't know why it suddenly stopped working
[09:10] <esomir> Is the driver corrupt or something?
[09:10] <blackflow> esomir: probably not, there would be entries in dmesg if the kernel found an error.
[09:10] <gpunk> i'd reboot again ...
[09:10] <blackflow> esomir: I'd suspect electrical failure on the kbd. am I understanding you correctly that it stopped working mid-operation?  did it work again after re-plugging?
[09:11] <esomir> blackflow: It worked before I rebooted, then I rebooted and it didn't work there
[09:11] <esomir> It works in the bios, btw
[09:11] <esomir> And works on my Mac as well
[09:11] <esomir> So I don
[09:12] <esomir> dont think it's a failure on the keyboard
[09:12] <esomir> But what does the "no configuration chosen from 0 choices" mean? that it cannot find a proper driver for it?
[09:12] <blackflow> esomir: hm, wait, there _is_ something in the dmesg, line #3
[09:13] <esomir> blackflow: Hmm
[09:14] <esomir> I'll just try rebooting, blackflow / gpunk . BRB
[09:21] <gpunk> working?
[09:21] <esomir> Nope, not at all
[09:21] <esomir> It works in the bios
[09:21] <esomir> I even tried booting with an older kernel
[09:21] <esomir> I'm running 16.04 btw
[09:22] <lotus|NUC> esomir: usb keyboard?
[09:22] <blackflow> esomir: I wonder if it's a DE (mis)config. Does it work under another TTY?
[09:23] <esomir> lotus|NUC: Yup
[09:23] <lotus|NUC> esomir: tail -f /var/log/syslog and plugin plz
[09:23] <lotus|NUC> see if we can catch usefull errors
[09:24] <esomir> lotus|NUC: https://paste.ubuntu.com/p/4tzYrzXtNZ/ syslog here
[09:25] <esomir> Wondering if I should reinstall the xorg-input package maybe?
[09:25] <blackflow> esomir: Does it work under another TTY?
[09:26] <esomir> blackflow: I don't know what that is / how I should try another tty
[09:27] <lotus|NUC> !tty | esomir
[09:29] <esomir> blackflow lotus|NUC ahh okay, I got it now. Nope, that doesn't do anything. The terminal just writes the same messages as dmesg
[09:29] <alterjsive> is fake raid 1 supported by ubuntu?
[09:30] <lotus|NUC> !raid | alterjsive
[09:31] <alterjsive> I've used fake raid 0 for a while, without problems, there used to be problems after a kernell update. but it was fixed. but recently it stopped working. after a kernel update my boot sequence is broken. if it's a supported config I will make a bugreport
[09:31] <lotus|NUC> esomir: how about on another user? does it work there?
[09:32] <blackflow> esomir: I'd reboot into text console (so no DE loading up) and see if it works there. Do you know how to _temporarily_ edit kernel command line in grub? So you add "3" at the end of it (without quotes) and boot into non-graphical env
[09:32] <alterjsive> lotus|NUC: thx, I will try it tonight. so it's not supported?
[09:32] <alterjsive> lotus|NUC: it's not out of the box, you have to do some "hacking" to get it to work
[09:33] <esomir> Hmm I'mm try booting into a console
[09:33] <esomir> brb
[09:34] <alterjsive> lotus|NUC: ok thx, i'll check it out tonight, too bad, it worked so well with fakeraid 0 for about 2 years
[09:37] <esomir_> Okay, so even if I start into recovery mode with a console, it fails with the same error "unable to read config index 0"
[09:38] <esomir_> It just doesn't make sense for me, as it has been working previously
[09:40] <alterjsive>  I was just wondering why fake raid stopped working after +- 1 years. Should I create a bugreport? Recently I switched from raid 0 to raid 1. But I doubt this matters.
[09:41] <alterjsive> it worked out of the box
[09:49] <esomir> Could it be because I installed xserver-xorg-hwe-16.04 ?
[09:50] <ledeni> esomir: can you give us 'cat /sys/module/usbcore/parameters/autosuspend | nc termbin.com 9999'
[09:52] <esomir> ledeni: it's just 2
[09:52] <esomir> http://termbin.com/cgd0
[09:53] <ledeni> esomir: run --> sudo sh -c "echo -1 > /sys/module/usbcore/parameters/autosuspend"
[09:53] <esomir> ledeni: Done
[09:54] <esomir> ledeni: Didn't change anything
[09:55] <ledeni> esomir sorry try this sudo sh -c "echo -1 > /sys/bus/usb/devices/3-1/power/autosuspend_delay_ms"
[09:56] <esomir> ledeni: sh: 1: cannot create /sys/bus/usb/devices/3-1/power/autosuspend_delay_ms: Directory nonexistent
[09:56] <esomir> (I'm running 16.04
[09:56] <esomir> With HWE
[09:58] <alterjsive> lotus|NUC: I just asked if it's supported or not, yes it is, I asked on #ubuntu-dev I will file a bugreport tonight/
[09:58] <esomir> Just rebooting. BRB
[09:59] <empedokles78> ducasse, thanks.
[09:59] <empedokles78> Is it usual that snaps don't integrate well into the system (other gui)?
[10:01] <esomir> Still no keyboard working :(
[10:01] <esomir> It works on the live usb...
[10:01] <esomir> In bios
[10:01] <esomir> And on my Mac
[10:02] <esomir> But not in Ubuntu I have installed
[10:02] <esomir> I know it worked at least before I installed the hwe kernels, but I also think it worked while having them installed
[10:03] <esomir> Should I try removing those, to get back to the old xserver etc?
[10:03] <ledeni> esomir: try to install 'xserver-xorg-input-all'
[10:04] <esomir> ledeni:  The following packages have unmet dependencies:  xserver-xorg-input-all : Depends: xserver-xorg-input-vmmouse but it is not going to be installed E: Unable to correct problems, you have held broken packages.
[10:04] <ledeni> esomir: ops
[10:04] <esomir> ledeni: xserver-xorg-input-all-hwe-16.04
[10:05] <coz_> good day all
[10:05] <orhanenginokay> I have problem with audioIPC Server, It always mute when I start any web video ...
[10:05] <esomir> ledeni: xserver-xorg-input-all-hwe-16.04 is already the newest version (1:7.7+16ubuntu3~16.04.1).
[10:08] <orhanenginokay> anyone help me?
[10:08] <orhanenginokay> I cant find anything on web
[10:12] <mouses> orhanenginokay: not sure anyone here can help, this is a ubuntu support channel - does said application have support?  maybe a man page?
[10:18] <joaocfernandes> Hi all for ubuntu 16.04.5  where can I get a detailed release page , I have been searching for some time. I want details regarding what is the included kernel in the installation media to know if threadripper 1/2 are supported.
[10:22] <esomir> Okay, so I got the keyboard working
[10:22] <esomir> Uninstalled all hwe, and reinstalled the old packages
[10:23] <lotus|NUC> joaocfernandes: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes/ChangeSummary/16.04.5
[10:23] <esomir> Running on kernel 4.15.0-29 generic now instead of 4.15.0-34
[10:23] <herver> Hello all :)
[10:23] <esomir> But my wifi is so slow when NOT running on the hwe packages
[10:23] <esomir> It's like ~500kb/s
[10:23] <joaocfernandes> thanks lotus|NUC
[10:24] <esomir> On the hwe packages I got like 200MB/s
[10:24] <herver> Has anyone here ever had any issues with touchscreens on Ubuntu? I've asked my question at askubuntu but the response has been slow.
[10:24] <empedokles78> What is "Application Stack Builder"?
[10:28] <lotus|NUC> esomir: its not safe to stay on older kernels like that see !usn for more info
[10:28] <herver> lotus|NUC: Is your nick because your using an INTEL NUC? :P
[10:29] <lotus|NUC> herver: yes, feel free to discuss @ #ubuntu-discuss
[10:31] <esomir> Okay, so I unplugged the keyboard
[10:31] <esomir> And put it in again, and it stopped working...
[10:31] <esomir> Even after reboot
[10:33] <esomir> But I managed to get a dmesg of it working
[10:33] <esomir> Don't know if that can help solving why it doesn't work?
[10:33] <esomir> https://paste.ubuntu.com/p/hkyhSRYGqx/
[10:36] <lotus|NUC> esomir: so it works on an older kernel?
[10:36] <esomir> lotus|NUC: Not anymore.. It worked when I booted into the older kernel, then I unplugged the keyboard, plugged it in again, and got the same issue where it doesn't work
[10:37] <esomir> Even after rebooting it doesn't work
[10:37] <esomir> I unplug it, reboot, log in, and then plug it in
[10:37] <lotus|NUC> esomir: how about you create a new !ug for it mate, let the devs help you on this
[10:37] <lotus|NUC> !bug
[10:37] <esomir> lotus|NUC: Yeah I think that must be the way to go
[10:37] <lotus|NUC> esomir: after you create it, you can share buglink in channel too, volunteers might have a look and think-along
[10:38] <empedokles78> What is Landscape-Client which is appearing under apps, but is not yet installed?
[10:38] <esomir> lotus|NUC: (Y)
[10:52] <lotus|NUC> !landscape | empedokles78
[10:58] <empedokles78> lotus|NUC, I don't think I need it. But I can't deinstall.
[11:36] <Yaser_Amiri> Hi. I created a bridge and bounded aphisical interface to it (proxmox server), There is a behaverbehaver
[11:38] <Yaser_Amiri> Sorry, There is behavior that I can't under stand it. I ran tcpdum on the bridg and sent some traffic from outside and I could see that, but when I ran a ping from local shell I could'nt see any thing in tcpdum
[11:38] <Yaser_Amiri> Why?
[11:47] <pokmo> hi
[11:47] <pokmo> anyone know if there's a way to make wget write the data to disk only on completion?
[11:47] <pokmo> that is, to avoid writing partial data to disk
[11:52] <kundancool> pokmo Well you can try with resume option to complete the incomplete transfers
[11:53] <pokmo> kundancool sure, but i don't think i'll resume them. i just want them not stored on disk
[11:53] <guardian> hello, what's the goal of docker.io in multiverse compared to docker-ce from docker.com?
[11:53] <guardian> I don't understand why it's here and what it's for
[11:55] <kundancool> pokmo I assume you have a list of files you are downloading you can script it to a function which downloads file with .tmp extension and then renames when download is complete else after things
[11:55] <kundancool> after list ends it cleans up .tmp files
[11:55] <pokmo> kundancool yeah, i guess i'll have to do it manually
[11:55] <kundancool> which the best you can do for that
[11:57] <ioria> pokmo, or a   C routine + curl   to store the data in a buffer; if the buffer matches the file 's size (or other condition) ; write to disk
[11:58] <pokmo> ioria sure. i just thought wget got a way to keep intermediate download in its own buffer
[12:00] <ioria> pokmo, https://unix.stackexchange.com/questions/149521/wget-internal-buffer-size  ; for Curl solution https://curl.haxx.se/libcurl/c/getinmemory.html
[12:01] <pokmo> thanks
[12:02] <ioria> gl
[12:14] <vimar> Hi
[12:22] <BluesKaj> Howdy folks
[12:44] <adrian_1908> Hello. I've never used LVM before. If I want to start fresh with an unused drive (not for the OS itself), I just create an LVM partition on it and take care of subdiving later, right? And GPT is out of the picture if I use LVM?
[12:52] <blackflow> adrian_1908: LVM and GPT are not mutually exclusive. I suppose what oyu need here is a GPT partition you would use as a LVM "pv" (physical volume) atop of which you create volume groups and logical volumes
[12:55] <adrian_1908> blackflow: ah ok, so GPT is still needed to make the drive "visible" as ready to be used for LVM?
[12:58] <adrian_1908> I think I got confused in that one can also create a physical LVM volume on an unformatted drive. But this is said to have potential drawbacks, so I'll go with the GPT -> LVM route then.
[13:02] <blackflow> adrian_1908: LVM has 3 levels: physical volume, volume group and logical volume. PVs are made of physical devices, disks. VGs are made of one or more PVs. LVs are subdivisions of VGs. as a PV you can use whole disk or a partition, or any _block_ device.
[13:03] <blackflow> adrian_1908: if you don't boot from that disk, you can use the entire drive as PV. otherwise you might need at least bios_boot and a /boot partition
[13:03] <blackflow> (though lately I hear grub can work out LVM so it doesn't need a separate /boot  -- no personal experience with that. I'd still use separate /boot tho'. it's cleaner)
[13:04] <blackflow> s/bios_boot/bios_grub/
[13:05] <adrian_1908> Got it, thanks.
[13:12] <Galactor> Hey, bit if a noob question... but how do I back up my lubuntu in it's current form? I've spent so much time configuring it to work correctly with my laptop and jenky hardware, that I'd hate to figure out how to do it all again if something happened
[13:13] <Galactor> Is there a way to back it up as an image with all the scripts and software I already have installed?
[13:16] <Shabbysheik> Galactor: you can create an image of it with Clonezilla
[13:17] <BluesKaj> or dd
[13:18] <Shabbysheik> BluesKaj: not a good idea to use dd to do that on a live system though, hence my suggestion
[13:18] <Galactor> I'll give it a peak. Thanks Shabbysheik and BluesKaj !
[13:18] <sebsebseb> memory lane
[13:19] <BluesKaj> Shabbysheik, I copied my / and /home partitions to an outboard drive without incident with dd
[13:23] <Shabbysheik> BluesKaj: yes it will copy them, but anything that is modified during the copy process will be corrupted as dd works at the bit level. That is a good way to have a corrupted backup. Best practice is to boot to a proper cloning tool like Clonezilla
[13:24] <BluesKaj> Shabbysheik, one just has to make sure the targets are unmounted to make the system bootable
[13:24] <BluesKaj> before coipying
[13:26] <BluesKaj> I know dd's risky, and clonezilla is definitely a good option as well
[13:34] <morphyeys> Hello guys, I have installed windows 10 on another partition and now the grub boot loader seems to be gone
[13:35] <morphyeys> how can I install it
[13:36] <leftyfb> morphyeys: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
[13:37] <leftyfb> morphyeys: first result on google for "ubuntu restore grub"
[13:37] <morphyeys> hehe nice
[13:37] <morphyeys> thank you very much
[13:56] <empedokles78> Why did my 18.04 LTS upgrade install remmima remote desktop?
[13:56] <leftyfb> empedokles78: because it's part of the install/release? Just remove it if you don't want it.
[13:57] <empedokles78> leftyfb, okay, I guess it's a security risk.
[13:57] <leftyfb> empedokles78: why is a remote desktop client a security risk?
[13:58] <sebsebseb> empedokles78: no it won't  just use that, I think I seen that be installed before myself too or something similar
[13:58] <sebsebseb> empedokles78: anything that s put there by default is generally fine
[13:59] <empedokles78> okay, I'll remove it.
[13:59] <leftyfb> empedokles78: what makes you believe an RDP/VPN client being installed as part of the release is a security risk? Do you believe Firefox being installed is a security risk as well?
[14:01] <empedokles78> Maybe if someone uses firefox to do evil things. But I have to live with that.
[14:02] <leftyfb> empedokles78: With that mentality, you shouldn't be installing anything on your computer if you want it that secure. Just leave it off and unplugged.
[14:05] <empedokles78> I have no need for it, so the less software the better I guess.
[14:06] <leftyfb> empedokles78: That doesn't make it a security risk
[14:10] <empedokles78> If someone is using my machine as a zombie anything can become an issue.
[14:11] <sebsebseb> empedokles78: not as likely with Linux as Windows
[14:11] <sebsebseb> by far
[14:12] <leftyfb> sebsebseb: lets not
[14:13] <sebsebseb> leftyfb: no that's not Windows hate or dislike, that's the truth, most botnet zombie pc's are run by WIndows !
[14:13] <leftyfb> empedokles78: If someone is "using your machine as a zombie" any application you have installed is 100% irrelevant to what that person is capable of doing with youe machine.
[14:13] <empedokles78> sebsebseb, yes hopefully.
[14:14] <empedokles78> why irrelevant?
[14:19] <leftyfb> empedokles78: because if you've been compromised, all bets are off. You have zero control over anything and the exploiter has 100% control and can install and do anything they want. Regardless of the state of your machine.
[14:19] <sebsebseb> leftyfb: empedokles78 even Intel had some hardware security issues with the cpu recently :d he h h eh
[14:19] <sebsebseb> and things like that
[14:20] <leftyfb> ok, feel free to take this verymuch pointless discussion to #security or #ubuntu-offtopic
[14:37] <empedokles78> sebsebseb, I'm on intel. :)
[14:40] <empedokles78> did I ? ;)
[15:32] <Sven_vB> once again trying to install bionic amd64. mkfs fails: "partman: /dev/sda5 is apparently in use by the system; will not make a filesystem here!" but "mount | grep sda" finds nothing. any ideas?
[15:34] <blackflow> Sven_vB: can you pastebin    `parted /dev/sda unit mib print`  ?
[15:35] <dwg_> for copying artifact over rsync, is it mandatory to have the -a flag?
[15:35] <Sven_vB> blackflow, I could. do you need all of it or just " 5      2.00MiB    15362MiB   15360MiB   logical   ext3"?
[15:36] <leftyfb> dwg_: artifact?
[15:36] <blackflow> Sven_vB: I was interested in type and fs of sda5
[15:36] <dwg_> leftyfb: yeah.. something like a .tgz file or a .rar file?
[15:37] <Sven_vB> blackflow, "mke2fs 1.44.1 (24-Mar-2018)¶/dev/sda5 contains a ext3 file system¶ last mounted on /target on Tue Sep 25 04:30:42 2018"
[15:37] <blackflow> Sven_vB: are you installing multi boot or will use the entire disk for hte new installation?
[15:37] <Sven_vB> blackflow, custom partitioning ("something else")
[15:38] <leftyfb> dwg_: ok, you mean archive. As in a compressed file. -a is a whole bunch of parameters in one. You should look at the man page
[15:38] <dwg_> leftyfb: sry my bad
[15:38] <dwg_> yes
[15:38] <blackflow> Sven_vB:  is sda5 the last partition on the disk (by byte offset)?
[15:38] <Sven_vB> blackflow, nope, there are at least 10 partitions
[15:38] <blackflow> Sven_vB: also stupid question, did you try to umount it?
[15:39] <leftyfb> Sven_vB: why do you need so many partitions?
[15:39] <blackflow> maybe some overzealous gnome automounter process saw it and mounted it
[15:39] <Sven_vB> blackflow, not by its own name. I umounted /target recursively, but I'll try explicitly umounting sda5.
[15:40] <Sven_vB> leftyfb, it helps me keep track of how much of which kinds of litter I accumulate. :)
[15:41] <Sven_vB> blackflow, umount: /dev/sda5: not mounted.
[15:41] <leftyfb> Sven_vB: sounds like you're only making more work for yourself
[15:41] <leftyfb> for little, to no benefit
[15:41] <blackflow> Sven_vB: pastebin the output of `mount` pls  (as root)
[15:44] <Sven_vB> blackflow, actually I'll debug that myself first. there's lots of unrelated disks mounted that shouldn't be.
[15:47] <Sven_vB> leftyfb, might be just nostalgia. main benefit probably is that I can postpone learning about better quota methods. :D
[15:48] <blackflow> Sven_vB: I was thinking it got picked up via some uuid, label, gvfs, something and not directly grepable as "sda"
[15:48] <Sven_vB> blackflow, good call, I'll check that.
[15:49] <leftyfb> Sven_vB: this day and age, people typically have storage that it well beyond what is necessary and won't come close to running out of space. Unless you do something silly like make a separate /boot with inadequate space. Or at all.
[15:51] <Sven_vB> leftyfb, the huge availability of storage is one of the reasons I impose limits on myself, otherwise I tend to collect stuff way beyond my ability to manage it.
[15:57] <Sven_vB> blackflow, there's indeed a gvfs that lsof cannot access. maybe something broke when ubiquity crashed earlier. I'll just reboot and hope that fixes it.
[16:02] <javaer> j #security
[16:05] <halfbit> is there a way to install spotify without snap?
[16:05] <halfbit> it seems to just constantly crash on me
[16:06] <halfbit> like, is there just a good ole .deb somewhere
[16:07] <nacc> halfbit: not from ubuntu, and afaik, the snap is the official thing from upstream now
[16:07] <halfbit> well it doesn't work
[16:07] <nacc> halfbit: works fine here
[16:07] <halfbit> so thats cool
[16:07] <odin2016> yeah, there is a repo for it from spotify.
[16:07] <halfbit> odin2016: I'll try that
[16:07] <odin2016> but again, nothing from ubuntu or debian
[16:07] <nacc> halfbit: if you want to debug what is going on, you should pursue the support channels in `snap info spotify`
[16:07] <odin2016> https://www.spotify.com/de/download/linux/
[16:07] <odin2016> right below the snap.
[16:07] <odin2016> never tried it, but it is evidently there.
[16:08] <halfbit> nacc: I don't really care, the deb worked fine before, don't get why its now suddenly some other odd package
[16:08] <halfbit> odin2016: cool, will try that
[16:10] <halfbit> go figure, the deb just starts right up
[16:10] <halfbit> odin2016: thanks man
[16:18] <Sven_vB> is it expected behavior for the Bionic live session, when run from a live USB, to automatically mount all partitions found on the USB thumbdrive?
[16:19] <Sven_vB> I think xenial only did that once I clicked a drive icon.
[16:19] <Sven_vB> and actually only mounted that one dive then, not all of them.
[16:21] <odin2016> halfbit, no worries.
[16:21] <odin2016> halfbit, lemme know how it works out.
[16:30] <halfbit> is libreoffice also a snap?
[16:30] <halfbit> cause thats also crashing
[16:31] <halfbit> yay... it is...
[16:31] <nacc> halfbit: you might have something else wrong in your system. You might ask in #snappy.
[16:32] <halfbit> its a fresh install of ubuntu 18.04 lts :(
[16:32] <halfbit> I'll ask
[16:36] <odin2016> libre5 is a deb you can find in default repos, 6.1 is a snap.
[16:37] <odin2016> I installed 6.1 from snap earlier adn have not had any problems.. not that i have used it a *ton* since.
[16:40] <odin2016> in all fairness,i'm actually runnin elementary, but it's a ubuntu base, so that should not matter.
[16:42] <nacc> odin2016: it definitely matters but that's neither here nor there (matters less for snaps, maybe)
[16:44] <odin2016> nacc,  that's whatI meant. for snaps.
[16:44] <Blade> how to change time
[16:44] <Blade> in ubuntu
[16:48] <ledeni> blade 18.04 ?
[16:49] <Blade> yes
[16:49] <Tin_man> go to settings, and use the magnifying glass and type clock
[16:49] <Blade> 19:49
[16:49] <Tin_man> the set your time from the settings
[16:49] <Blade> bit is 22:49
[16:49] <Blade> and
[16:50] <ledeni> settings -- details -- date & time
[16:52] <Blade> pjhhahhahaah
[16:52] <Blade> ok
[16:52] <Blade> wrong
[16:53] <Blade> varna Bulgaria is 19:53
[16:53] <Blade> not 22:53
[16:53] <Blade> some bug
[16:53] <blackflow> Blade: you have to change locale, not time itself
[16:53] <Tin_man> if you turn off automatic date & time you can manually set your time
[16:54] <Blade> change -1  gt
[16:54] <blackflow> yeah, don't turn off automatic date & time unless you know what you're doing
[16:54] <Blade> varna is +3 gt
[16:55] <Blade> bu work
[16:55] <Blade> but
[16:55] <blackflow> Blade: Settings -> Details -> Date & Time -> Time Zone
[16:55] <Blade> sofia bulgaria and
[16:55] <Blade> is not 22:55
[16:55] <Blade> is 19:55
[16:56] <Blade> may be my dual boot with win is problem
[16:56] <Bashing-om> Blade: Also, dual booting with Windows ? where Windows contols the Hardware Clock ?
[16:56] <Blade> yes
[16:56] <Tin__man> yes that is the problem
[16:56] <Blade> ok
[16:57] <Blade> thanks
[16:57] <Tin__man> windows and ubuntu keeps time differently
[16:57] <Tin__man> there is fixes for it, but, it's been so long since I've dual booted, i'd have to look them up myself
[16:58] <blackflow> Blade: see "set-local-rtc" option of timedatectl command
[16:58] <Blade> i change
[16:58] <Blade> no problem
[16:58] <blackflow> you need "yes" on that, RTC in local time, as Windows keeps it in local time
[17:03] <Sven_vB> I thought live sessions were made in order to try Ubuntu without modifying the existing disk partitions? seems Bionic is trying to help me clean up my local hard disks very early in the boot process, before it even has a hostname, least of all any UI in which I could have agreed to that: https://paste.ubuntu.com/p/5xzQxjqxrt/ -> how do I make a live USB that doesn't mount or repair anything outside the thumbdrive until explicitly
[17:03] <Sven_vB> requested?
[17:05] <tsglove> Hello.  I compiled nginx, and I am able to run it from within  /usr/local/nginx/sbin   in there, I have to run   $./nginx       Why am I not able to run it as     $nginx    ?
[17:05] <nacc> tsglove: becuse that's a totally non-standard path.
[17:05] <nacc> tsglove: also why are you building nginx yourself, that seems like a bad idea
[17:05] <tsglove> So I can add that to the PATH ?
[17:05] <nacc> tsglove: you could, but why did you pick that path? it was wrong
[17:06] <nacc> tsglove: and if you did that with --prefix, e.g., you probably made it not usable potentially
[17:06] <tsglove> Aight.  Will check up.  Thanks.
[17:21] <blackflow> nacc: isn't /usr/local/bin basically not used by packages? I guess the place to put such stuff is under /opt ?  (notwithstanding the q about why compile at all)
[17:22] <Barabacha> is there a way to put Ubuntu to sleep so I can wake it up and have all my apps and windows open the next day?
[17:22] <Sven_vB> Barabacha, suspend to disk
[17:23] <Barabacha> Sven_vB: how do I do that?
[17:23] <blackflow> nacc: I mean /usr/local/ has been traditionally the plce to put third party software on unix
[17:23] <Sven_vB> Barabacha, no idea. :D
[17:24] <pragmaticenigma> Barabacha: if it is supported by your machine, it will be one of the option in the shutdown menu
[17:24] <nacc> blackflow: /usr/local/nginx/sbin is what they wrote
[17:24] <blackflow> Barabacha: https://askubuntu.com/questions/967205/where-is-the-suspend-hibernate-button-in-gnome-shell
[17:24] <nacc> blackflow: which is definitively wrong
[17:24] <blackflow> nacc: ohhh yes. I missed that part.
[17:24] <nacc> blackflow: yeah :)
[17:24] <Barabacha> pragmaticenigma: I only have Shutdown and Power Off, I can put my Windows 7 to sleep tho
[17:25] <blackflow> Barabacha: hit the alt key when the menu opens, you'll see    ||   for "pause"   (aka suspend to ram, aka sleep)
[17:25] <nacc> Barabacha: you have to hit alt while showing power button, iirc
[17:25] <pragmaticenigma> Barabacha: https://askubuntu.com/a/1032166
[17:26] <pragmaticenigma> Barabacha: power options beyond reboot and shutdown are not well supported. that's why they're not shown as options by default
[17:26] <Rojola> hi
[17:27] <Rojola> how can I allow a website restart a service?  Like, a service in /etc/init.d/...  ?
[17:27] <Barabacha> blackflow: nacc yeah that worked
[17:27] <Rojola> <?php system("/etc/init.d/foo restart"); ?>  won't work  (no root access)
[17:27] <Rojola> the server is a Ubuntu server
[17:27] <Sven_vB> Rojola, you could make a sudoers rule to allow that
[17:27] <Barabacha> but to wake the system up I have to use the power up button, in Windows 7 I just hit any keyboard key
[17:27] <Rojola> Sven_vB, how?
[17:28] <nacc> Rojola: uh, don't do that.
[17:28] <nacc> Rojola: it seems like a terrible idea
[17:28] <Rojola> nacc, why?
[17:28] <Rojola> I can password-protect it
[17:28] <nacc> Rojola: what happens when your website gets hacked?
[17:28] <Rojola> that would be bad
[17:28] <Rojola> can I limit it to 1 service only?
[17:28] <nacc> Rojola: why would you ever need to do this?
[17:28] <ignisinitium1> hello all, I have inherited a ubuntu server that is running a file share for a client. The shares are not working and I would like some assistance in trying to resolve this issue in getting the shares bark online.
[17:29] <Rojola> nacc, we use "wekan.io" (the board) to manage tasks and sometimes it crashes
[17:29] <Rojola> nacc, out of nowhere, the board is offline
[17:29] <Rojola> nacc, it's nice, if every team member can simply restart it without root access
[17:29] <pragmaticenigma> Rojola: There are better approaches and software that are built for this sort of thing. rolling your own software solution isn't recommended
[17:29] <blackflow> Rojola: you need a shim with sudo. but nacc is right, you should really know what you're doing, and if you did, you wouldn't ask this question
[17:29] <Rojola> nacc, I could simply tell them: "visit this website and click restart"
[17:30] <nacc> Rojola: but they are being given 'root' access, for this one thing.
[17:30] <nacc> Rojola: why not just have them ssh into the server and restart it?
[17:30] <blackflow> Rojola: at any rate, don't allow access to "service" or "systemctl", but prepare specific scripts for specific commands, and allow sudo on THOSE instead
[17:30] <Sven_vB> Rojola, step 1, make a wrapper script outside the webserver that has additional checks whether it's really a good idea to restart the service. usually you probably want some time limits like don't restart if it was already (attempted to be) restarted in the previous 5 minutes. step2, search the web for how to allow a specific user to run one specific command as root, and allow to pass-though one specific env var, that you can use for an
[17:30] <Sven_vB> auth secret that only your PHP script should know.
[17:30] <Rojola> blackflow, so I would place a custom bash script in /usr/local/bin/
[17:31] <Rojola> blackflow, and this custom bash script would restart the service
[17:31] <blackflow> Rojola: yes, for example, and then in sudoers allow your web application passwordless sudo against THAT script alone
[17:31] <Rojola> ok
[17:31] <Sven_vB> Rojola, also it sounds like there may be better ways than an HTTP request to determine when to restart that service.
[17:31] <blackflow> Rojola: but again, minding all the warnings about doing that.
[17:31] <Rojola> I need to research this online
[17:31] <tsglove> ignisinitium1, what have you tried?
[17:32] <Rojola> hum... I could set up a cronjob
[17:32] <Sven_vB> Rojola, what's the reason to restart the service in the first place?
[17:32] <Rojola> the cronjob could check if a site loads at the specified port
[17:32] <blackflow> Rojola: can't systemd restart the crashed service for you?
[17:32] <Sven_vB> Rojola, so you want a watchdog that restarts a service if it fails to serve TCP connections?
[17:32] <Rojola> Sven_vB, because the wekan-service sometimes crashes out of nowhere
[17:33] <Rojola> Sven_vB, and team members should have the option to get the board running again
[17:33] <blackflow> Rojola: which Ubuntu is this?
[17:33] <pragmaticenigma> Rojola: One thing to consider is that empowering someone to reboot a service means sysadmin may never know there is a problem. If users keep restarting the service, it makes it really difficult to find the reason the service failed in the first place.
[17:33] <Sven_vB> Rojola, yeah that sounds pretty much like you should use a watchdog service.
[17:33] <orhanenginokay> hey, ' fatal: your current branch 'master' does not have any commits yet ' Whats that ???
[17:34] <Rojola> blackflow, 18.04
[17:34] <orhanenginokay> I ll try to install intel gpu tool
[17:34] <blackflow> Rojola: so you have systemd there. use it, it's powerful, it can restart failed service
[17:34] <Rojola> thank you for the chat - I will research watchdog service and restarting services automatically
[17:34] <blackflow> really no need for additional software, systemd is already there.
[17:34] <nacc> blackflow: good call
[17:35] <nacc> orhanenginokay: it's a message from git.
[17:35] <orhanenginokay> @nacc how to fix that
[17:36] <ignisinitium1> tsglove, i have been checking the setup guide for samba to get acquainted to the process.
[17:36] <Sven_vB> Rojola, indeed what nacc says. if systemd can detect the service failure, use systemd to restart it.
[17:36] <nacc> orhanenginokay: there's nothing to fix. you gave no context, nor what you did to get that message.
[17:36] <Rojola> thank you Sven_vB, blackflow, nacc and pragmaticenigma
[17:37] <ignisinitium1> tsglove, i can browse to the server and see shared folders, however when I try to access them I get an error
[17:37] <nacc> Rojola: and it's significantly better to go that route than to expose a root-service on a website, good luck!
[17:37] <blackflow> definitely.
[17:37] <orhanenginokay> @nacc - in my terminal - 'ninja -C build
[17:38] <orhanenginokay> ninja: Entering directory `build'
[17:38] <orhanenginokay> [1/1] Generating version.h with a custom command.
[17:38] <orhanenginokay> fatal: your current branch 'master' does not have any commits yet
[17:38] <orhanenginokay> '
[17:38] <nacc> orhanenginokay: you are building something from source? You should contact the source creator for support, it's not an ubuntu issue.
[17:39] <orhanenginokay> oke thanks @nacc
[17:39] <tsglove> ignisinitium1, ok
[17:44] <Neptu> hej, quick question someone knows why tre module fuse refuses to load permanently?
[17:47] <JTode> So, I just installed 18.04 and did a sudo apt upgrade, and now I want to install lynx and it says it is not available, but is referred to by another package.
[17:47] <nacc> Neptu: which module specificall (exact name) and version of ubuntu?
[17:48] <nacc> !info lynx bionic
[17:48] <nacc> JTode: do you have universe enabled?
[17:48] <nacc> !components | JTode
[17:48] <JTode> I'm assuming not.
[17:48] <JTode> I shall read up, thank you.
[17:49] <nacc> JTode: iirc, it's possibly not enabled by default any longer
[17:49] <nacc> JTode: but a lot of software you might want is there :)
[17:49] <JTode> How would I do that in a console?
[17:49] <nacc> JTode: sudo add-apt-repository universe
[17:49] <nacc> JTode: then sudo apt update; sudo apt install lynx
[17:50] <JTode> Ahh, that's easy, merci beaucoup!
[17:50] <nacc> JTode: yw
[17:50] <JTode> I figured something got changed in the defaults, cause 16.04 didn't need this. :>
[17:51] <Neptu> nacc: fuse module and ubuntu xenial 16.04
[17:57] <Rojola> I could not get it to run...
[17:58] <nacc> JTode: right
[17:59] <Rojola> /usr/local/bin/testing   contains:
[17:59] <Rojola> #!/bin/bash
[17:59] <Rojola> /etc/init.d/wekan-oft-0 restart
[18:00] <Rojola> and the sudoers file (edited with "visudo") contains this line:
[18:00] <Rojola> www-data ALL=(ALL) NOPASSWD: /usr/local/bin/testing
[18:00] <Rojola> the script works when run as root user, but fails as www-data user:
[18:00] <Rojola> [....] Restarting wekan-oft-0 (via systemctl): wekan-oft-0.serviceFailed to restart wekan-oft-0.service: Access denied
[18:00] <Rojola>  failed!
[18:04] <nisankh> Rojola: wekan issue could be discussed at https://chat.vanila.io/channel/wekan or IRC freenode channel #wekan .
[18:04] <nacc> Rojola: you need to run it under sudo. But you ignored all of our advice and went with the worst choice?
[18:05] <nacc> Neptu: fuse is built in to the kernel in 18.04, is it possibly in 16..04 too?
[18:05] <nisankh> Rojola: discuss your issue at https://chat.vanila.io/channel/wekan or Freenode channel #wekan
[18:18] <mustmodify> In 18.04 server default, if I type `service start x`
[18:18] <mustmodify> what controls that? It's not upstart, right?
[18:19] <EriC^^> it's systemd mustmodify
[18:19] <EriC^^> service is converted to a systemctl command
[18:20] <mustmodify> great, thanks. Am I right in thinking that at some point in the past it was upstart?
[18:20] <mustmodify> by default?
[18:20] <EriC^^> yes
[18:20] <EriC^^> pre 15.04
[18:20] <mustmodify> Do you know why they changed? I had installed upstart in 16.04, and it seemed much easier to configure than others.
[18:21] <Bashing-om> mustmodify: ' sudo systemctl list-unit-files ' .
[18:21] <mustmodify> Though now that upstart is gone again, I'll probably transition to systemd, doesn't seem worth the struggle.
[18:22] <EriC^^> mustmodify: i think systemd is more advanced and stuff, like it has its own cron and other stuff
[18:22] <EriC^^> kind of like they're making wayland instead of xorg now
[18:22] <Rojola> thank you again for your help
[18:22] <Rojola> see you soon!
[18:23] <mustmodify> EriC^^ ok, well, thanks.
[18:23] <EriC^^> mustmodify: no problem
[18:27] <mustmodify> I need to convert ~15 upstart scripts. I'm looking at a sample script for systemd. It looks like the [unit] section is optional. Is that right?
[18:28] <leftyfb> mustmodify: https://wiki.ubuntu.com/SystemdForUpstartUsers
[18:28] <leftyfb> mustmodify: found by googling for "ubuntu systemd unit file example"
[18:28] <mustmodify> I'm already there.
[18:29] <mustmodify> Just sometimes people know more than docs.
[18:29] <Exterminador> hello guys. someone please remind me how to add a user w/o password in Ubuntu 18.04
[18:30] <EriC^^> Exterminador: without password as in he can't login?
[18:30] <Exterminador> EriC^^: no. without the need of password to login
[18:31] <leftyfb> Exterminador: you don't
[18:31] <EriC^^> Exterminador: ah, add a user as usual, then check the box that says autologin in settings > users
[18:31] <leftyfb> oh, that ^
[18:33] <Exterminador> EriC^^: thanks a lot. could you also provide me the way to do it via command line, pls?
[18:34] <leftyfb> Exterminador: is this for a server or desktop?
[18:35] <leftyfb> Exterminador: https://vitux.com/how-to-enable-disable-automatic-login-in-ubuntu-18-04-lts/  # found on google by searching for "ubuntu auto login command line"
[18:36] <Exterminador> oh. I was looking for "adding user without password". thanks leftyfb
[18:36] <leftyfb> Exterminador: it's not without a password. The user has a password
[18:39] <mustmodify> In upstart, I would usually name my services based on clientname-project-service... for instance nasa-launchctrl-http
[18:40] <mustmodify> But I saw some things in systemd like network.service -- are dots typical in systemd, used over dashes? Or is that just a file extension?
[18:40] <leftyfb> I would stick with keeping a .service at the end of it
[18:42] <EriC^^> mustmodify: it's an extension there's .service .target etc
[18:43] <mustmodify> so I added a file to /lib/systemd/system/castle-http.service and did `service --status-all|grep castle` and it doesn't show up. Do I need to register it?
[18:44] <leftyfb> mustmodify: sudo systemctl reload-daemon
[18:45] <mustmodify> When I start it, I get questions. So I guess it auto-registers, which is kinda nice.
[18:47] <odin2016> mustmodify,  what questions?
[18:48] <odin2016> if you didn't reload systemd, then it would tell you that it doesn't want to do anythign until you do, and at that point it will know about it.
[18:49] <mustmodify> reload systemd. OK I'll give it a shot.
[18:50] <odin2016> always need to reload it after you and or delete a unit to the config directories.
[18:50] <nisankh> now i am planning to remove all the availbale repositories in all my ubuntu systems and adding the digitalocean ubuntu repository ... what guys say about this
[18:52] <joebobjoe> hi I am trying to open a man page in my home directory, but man fails with a permission error... what could be going on? I can access the file just fine, why wouldn't man?
[18:52] <ubuntutr> hi
[18:52] <ubuntutr> how i can active my sendmail for anope ?
[19:08] <Barabacha> is anyone using Steam here? is there a way to disable auto-updates? really annoying
[19:09] <ChaiTRex> Let me check.
[19:11] <qwebirc95665> hello, virtualbox says
[19:11] <qwebirc95665> modprobe vboxdrv
[19:11] <qwebirc95665> modprobe: ERROR: could not insert 'vboxdrv': Required key not available
[19:11] <qwebirc95665> how do i get this key?
[19:13] <Ben64> qwebirc95665: disable secure boot
[19:13] <qwebirc95665> ecan i do this oudside bios?
[19:13] <Ben64> i don't think so
[19:14] <miller7> I'm newbie and trying to install Ubuntu 18.04 and setup my network with VLAN (it's a server in a datacenter and I'm using KVM access). I cannot seem to find how to enable vlan during installation. Can someone help me? I'm on the prompt and I cannot make it work. Never done it before so please if you know, give me pointers. (I've googled it but no luck)
[19:14] <ChaiTRex> Barabacha: It looks like they stopped allowing that, though you can reduce the download speed and hours it's allowed to download to sometime when you won't be using the computer.
[19:15] <Ben64> miller7: you shouldn't have to do anything from ubuntu
[19:16] <ChaiTRex> Barabacha: For games, I think the properties for the games allow you to disable autoupdates except when launching the games.
[19:16] <miller7> Ben64: I should tag the ethernet port for vlan, right? So packets can flow
[19:16] <Ben64> no
[19:16] <Ben64> that happens on the switch
[19:17] <miller7> Ben64: the switch is expecting a vlan tag from the OS as there's many vlans on the switch port. So I must set vlan on Ubuntu
[19:17] <leftyfb> miller7: if the port is "untagged" for a specific VLAN, then just plugging in a device will be on that VLAN. If the port is tagged or a trunk port, then you'll need to tag it on the client as well
[19:18] <Ben64> that makes no sense
[19:18] <miller7> Ben64: it does if you have multiple VLANs on the switch port and your NICs on Ubuntu are not physical but virtual (for example with HP hardware)
[19:19] <teward> miller7: it matters how the *Switch* is configured, but if this is a VM you would usually just put it into what Cisco would call an 'access port' which accepts untagged traffic and passes it onto that VLAN
[19:19] <teward> but without knowing more about the switch infra in your specific circumstances, we can't determine if you actually *need* to pass the VLAN yourself
[19:20] <miller7> teward: The network person said "I must pass VLAN tag on the ubuntu packets".
[19:20] <Ben64> https://wiki.ubuntu.com/vlan
[19:21] <Ben64> sounds like a bad network
[19:21] <teward> miller7: then you need to configure your interfaces for VLANS as Ben64's link provides.
[19:21] <teward> miller7: but you need to deconfigure the bare interface and only pass data over the VLAN
[19:21] <teward> miller7: it sounds like the network guy isn't setting up the network proper, but again I'm not talking to the network guy so I can't really make that assumption properly
[19:21] <teward> since they don't tell you jack about the network setup
[19:26] <miller7> teward: I tried those instructions (one of the many). I will try again by disabling the default network I setup through the GUI and only bring IP and interface up through console
[19:31] <adrian_1908> Hello. Someone wants me to help them with their Windows7 machine via remote Desktop. I'm on Xubuntu -- is there some program you would recommend to do this, something popular that most use?
[19:32] <qwebirc95665> teamviewer can do this
[19:34] <adrian_1908> qwebirc95665: does the other side have to install it too, or does a vanilla Windows installation suffice? I'd prefer something that works out of the box for the other side.
[19:35] <ioria> adrian_1908, in this case, i'd say install rdesktop on xubuntu and activate Remote desktop on Windows
[19:38] <adrian_1908> ioria: I think that's more down my alley, thanks. Any opinion on that vs FreeRDP? They both have a good web presence.
[19:38] <Rojola> hi
[19:39] <Rojola> I am trying to create a new Laravel project.
[19:39] <Rojola> Laravel required "php-mcrypt" - which is deprecated and does not exist on Ubuntu 18.04
[19:39] <Rojola> I tried to install it via "pecl" but this did not help the issue
[19:40] <Rojola> is there really no "php-mcrypt" ?
[19:40] <ioria> adrian_1908, nope, in case i used xrdp, but not freerdp,sy
[19:40] <adrian_1908> ok, np. either look great.
[19:41] <adrian_1908> Rojola: did installation via pecl complete without error though, aside from not solving the issue?
[19:41] <teward> Rojola: the only way to install mcrypt is via pecl; `php-mcrypt` was dropped by PHP upstream.
[19:41] <Rojola> adrian_1908, yes
[19:42] <teward> so no there isn't any php-mcrypt package in Ubuntu
[19:42] <teward> since 18.04 (and onwards)
[19:42] <Rojola> adrian_1908, I did it like this:  https://askubuntu.com/a/1037418
[19:42] <Rojola> thank you teward
[19:44] <adrian_1908> I could swear I ran into something similar with a PHP CMS, but I can't seem to find anything in my notes. I hope you find a fix. Asking in #ubuntu-server is always worth a shot too, since these questions come up there more often.
[19:45] <Rojola> thank you adrian_1908!!
[19:47] <printthesource> When saving a text file, is it necessary to give it a file type? Such as .txt.
[19:48] <enzotib> printthesource: no
[19:48] <Bashing-om> printthesource: no . not generally .
[19:48] <teward> printthesource: officially, no, but it usually doesn't hurt to add the extension so less-smart things like web browsers and such properly identifiy it as a text file.
[19:49] <printthesource> thank you all
[19:54] <SomeT> not getting the right button to auto run the mount anyone know why?: https://i.gyazo.com/fd6ca611641f0550e4c5552f7edfef6b.png
[20:01] <okovko> do i need an mx record for a send only mail server? i don't want it to receive mail. having trouble getting spf and dkim to work
[20:03] <teward> okovko: you don't need an MX record. SPF needs to be done by IP or other hostname then, and DKIM working requires you to configure whatever's doing the DKIM signing to work properly
[20:03] <teward> you don't need an MX record for those to behave properly though
[20:04] <dila> when recording with my microphone how do i see the current sample rate?
[20:04] <dila> how do i list the sample rates supported by the device
[20:04] <okovko> teward yeah i didn't think so, and i don't want to receive any mail there so there should be no mx record.. but it sounds like the spf and dkim configurations are different because of no mx record. all the guides online assume one exists
[20:04] <okovko> teward thanks for confirming that for me
[20:10] <dila> how do i see microphone statistics?
[20:12] <Gazooo> so I'm having issues on my home ubuntu server, I think it may be hardware related, but way too many lots in syslog to debug after a restart, are there any recommended tools for debugging failures? I lose all connectivity including SSH and have to hard reboot device.
[20:12] <Gazooo> it's running several services, mainly media focused like Plex, also some things like OpenVPN, etc. If that makes any difference.
[20:25] <jil> hello
[20:25] <jil> how do I upgrade or get my g++ compiler to support C++17 on a linux ubuntu ?
[20:27] <granttrec> jil compile from source
[20:28] <granttrec> ok google if someone has a ppa
[20:28] <granttrec> s/ok/or
[20:34] <jil> yes I'm trying to compile a lib from source and they ask for a compiler compatible with C++17
[20:34] <jil> my g++ is not.
[20:41] <jil> granttrec: you say what ? to compile the compiler from source ?
[20:42] <granttrec> yeah should have the latest stuff
[20:43] <granttrec> jil which compiler are you using
[20:43] <granttrec> whoops LOL
[20:44] <granttrec> jil: clang probably has more support for c++ 17
[20:48] <jil> gcc.. ok, I'll try clang.  although it seem slower
[21:16] <__bruce> the default binaries in Ubuntu do not come with symbols (they are stripped) so sometimes stuff crashes and Icannot get a clean stack trace. Is there a clean way to just get all of the in-box ubuntu binaries with symbols w/o manually recopiling them myself? (i am talking about things like /bin/ls, /bin/cat/, ...)
[21:20] <__bruce> answered my own question. it looks like there is a apt repo called "ddebs"
[21:22] <granttrec> _bruce also if you use gdb it will prompt for them
[21:29] <okovko> even when i do <domain> | v=spf1 +all, my mail comes in with spf = neutral instead of spf = pass. anyone ever encounter this? do i need to set up dkim and dmarc first before it passes? i checked my spf records using online testers and they found no problem... very strange
[21:37] <blackflow> okovko: why would oyu do that, the point of SPF is to limit to a set of valid ip addresses. should be -all or ~all  witha  valid a, mx or include
[21:38] <okovko> blackflow for testing purposes because i was always getting spf neutral on my mail
[21:38] <okovko> blackflow so even when i say that any server is a valid mail server it says it isn't :P
[21:39] <blackflow> okovko: I think it's saying neutral because you aren't assigning IPs. PASS is when the IP is given and matches
[21:40] <courrier> I've just installed some apt upgrade on 18.04.1, and that broke my BLueooth. Even after reboot, bluemon-manager reports bluez is not started. Even "rfkill list" does not mention my bluetooth adapter, nor "lspci" :/
[21:41] <blackflow> courrier: what upgraded? the kernel?
[21:42] <courrier> blackflow: 4.15.0-34-generic #37-Ubuntu
[21:42] <courrier> I don't know what has actually been upgraded
[21:42] <courrier> I just accepted the upgrade blindly
[21:42] <[Gort]> I'm running 18.04. A week or so ago, I did an update using Synaptic, which upgraded my shim and shim-signed packages. Later on, I noticed that those packages were now in obsolete. I then did some Googling, discovering that both packages were soon pulled, hence why they're obsolete. Is there a safe way to go back to the "current" versions or should I just wait till a new shim package supersedes them? I'm a bit worried about messing with shim
[21:42] <[Gort]> than I would other packages.
[21:42] <blackflow> courrier: see /var/log/apt/history.log
[21:43] <[Gort]> other than that, system works fine
[21:44] <printthesource> Ubuntu freezes after some time playing videos in fullscreen. I have tried both mpv and vlc, the same issue happens. Does anyone have a clue what causes this?
[21:44] <miller7> teward: You were right. Network guy said Ubuntu will get untagged traffic
[21:45] <courrier> blackflow: there's nothing related to bluetooth in there: http://paste.debian.net/1044406/
[21:45] <miller7> Ben64: thanks for your help on vlan. Network guy said Ubuntu will get untagged traffic
[21:47] <blackflow> courrier: could've been the kernel but I don't see it on the list either. anything in the journal?   journalctl -p warning..crit
[21:52] <courrier> blackflow: that output is huuuge, by greping "tooth" I'm seeing that error from after the upgrade "bluetoothd[3369]: Unable to get on D-Bus"
[21:56] <courrier> But I think this is when i manually modprobed bluetooth
[21:56] <okovko>  blackflow i tried it like this too: <domain> | v=spf1 ip4:<public-ip> -all
[21:57] <okovko> blackflow i tried of course the more common way using v=spf1 a -all and i have an A record for that public ip, neither works
[21:57] <okovko> i am at a loss as to why the ip doesn't match..
[21:58] <okovko> i know it propagates through dns too when i test, because i use a tester first that verifies what the spf record is
[22:00] <blackflow> courrier: I don't know what it could be. grep the logs for any kernel messages (not by bluetoothd) for driver failures
[22:00] <blackflow> okovko: tried how exactly?   that  " <domain> | v=spf ..."   syntax is for what?
[22:01] <okovko> blackflow the spf record on dns config
[22:01] <blackflow> what dns is that?
[22:01] <blackflow> aint' Bind zone syntax, that's why I'm asking
[22:02] <blackflow> or in other words, are you sure you have a valid TXT record?
[22:03] <blackflow> and/or SPF rr, whichever you're setting (should do both)
[22:05] <okovko> blackflow yeah, i did both, i'm using cloudflare
[22:07] <okovko> blackflow this feels so idiotic because it should be so simple... when i send myself an email to my personal email, always says spf neutral can't determine if this ip is a valid mail server
[22:07] <blackflow> okovko: use mail-tester.com
[22:07] <blackflow> okovko: it's also possible your "person email" is doing something of its own
[22:07] <blackflow> *personal
[22:09] <blackflow> okovko: also, did you check that your domain actually contains the record? you do so with dig from bind-utils
[22:09] <okovko> blackflow you think gmail is deciding to mark the spf record as neutral for some bizarre reason?
[22:09] <blackflow> dnsutils actually
[22:10] <okovko> blackflow i see that it contains the records on my dns admin page on cloudflare, and i've verified what my record is using google's tester
[22:10] <blackflow> I think I have no idea what the gmail devs decided to do when there's no match. it technically does NOT pass SPF becasue you're not setting any policy at all.
[22:10] <blackflow> it's "passing" only by virtue of not having a policy so it's a pass.
[22:11] <blackflow> meanwhile, set a proper record with a, mx or include and test it that way, not with an empty policy.
[22:11] <okovko> blackflow it was neutral with all of those, i've tried many things
[22:12] <blackflow> okovko: which rr is it? TXT or SPF?
[22:12] <blackflow> or why are we playing in the dark. care to name the domain?
[22:12] <okovko> blackflow oh my god what is going on.. the test site you told me to try says spf=None, current spf string is "v=sp1 ip4:<public-ip> -all"
[22:13] <okovko> blackflow well i don't think it's a good idea to give out my domain or ip before i have set up all the security, why, would it help any?
[22:13] <okovko> blackflow and i told you i'm using txt and spf records both
[22:13] <blackflow> okovko: v=sp1 or v=spf1  ?
[22:13] <okovko> typo, spf1, i have typed it so many time snow
[22:14] <tgm4883> okovko: it would absolutely help
[22:14] <okovko> tgm4883 why's that?
[22:14] <blackflow> it would help becuse I could check it myself. but if mail-tester says so then it's a none, you don't have a valid policy. btw, you can PM me the domain name (but just that, I don't do private support unless paid :)
[22:14] <tgm4883> okovko: because then we could test it ourselves
[22:14] <tgm4883> okovko: rather that assume what you are typing is correct
[22:14] <blackflow> that.
[22:14] <okovko> i guess what's the worst that could happen, i'd just rent a new droplet and grab another domain for $1
[22:14] <tgm4883> okovko: reading some of the backlog you don't need an MX record for it to work
[22:15] <okovko> domain is www.olegkov.com and ip is 138.197.198.165
[22:15] <blackflow> tgm4883: if you're referring to what I said, I meant in the spf record, designate a,mx or an include
[22:16] <okovko> i appreciate the help and attention very much, i stayed up late trying to get this to work and still can't get it to work today... it is going to be something extremely stupid i am sure -_-
[22:17] <blackflow> okovko: that looks like a valid record, so the question is are you really sending mail from that IP?
[22:17] <tgm4883> Looks ok I suppose
[22:17] <blackflow> okovko: like, are you sure you're not sending via ipv6?  I'd just use a or mx and not hardocde an ip there
[22:17] <tgm4883> yea the next thing I'd want to see are email headers
[22:17] <okovko> blackflow mx and a were both failing same way
[22:17] <blackflow> my bet is the mail is sent over ipv6
[22:18] <blackflow> it always tries to use ipv6 first, and DO should have valid ipv6 setups out of the box afaik
[22:18] <okovko> so when i receive the mail in my spam i open original mail and i see it sent from my droplet from that ip
[22:18] <okovko> maybe if i make an a record for my ipv6 address and use v=spf1 a -all it could work?
[22:18] <blackflow> okovko:  are you sure? no smart host or relay? the last Received outside of gmail is from that ip?
[22:18] <okovko> i only have an a record for ip4.. does it matter?
[22:18] <tgm4883> I'd want to see the headers before I confirmed anything
[22:19] <blackflow> okovko: but does the droplet have an ipv6 address
[22:19] <okovko> can you view this? https://mail.google.com/mail/u/0?ik=3514a02cfc&view=om&permmsgid=msg-f%3A1612616332477247293
[22:19] <blackflow> and yeah, pastebin full headers please
[22:19] <Aaaaand> Hi, since I upgraded to 18.04, everytime I play a video, the movie freezes from time to time, it immediatly unfreezes when I move my mouse, or if I just wait a second of 3 the movie continues. Sombody knows how I can resolve this?
[22:19] <blackflow> okovko: of course we can't :)
[22:19] <okovko> okay 1 sec, i'll paset it
[22:19] <tgm4883> lol
[22:20] <okovko> https://pastebin.com/g1mTw4pB
[22:20] <Aaaaand> Didn't had the issue before on 17.04 (or even before that on 16.04 etc), nothing of the hardware changed
[22:22] <blackflow> okovko: your email server isn't using FQDN for its hostname. SPF is actually tested against "olegkov-droplet"
[22:22] <blackflow> okovko: and not olegkov.com
[22:22] <tgm4883> yea that's the issue
[22:22] <okovko> blackflow /etc/hostname is set to olegkov.com, isn't that enough?
[22:22] <tgm4883> blackflow: beat me by a few seconds ;)
[22:23] <okovko> i think olegkov-droplet is the bounceback address right
[22:23] <blackflow> okovko: what about /etc/mailname? or however your MTA is set up for its own mail name? and how are you sending test mails, with sendmail from commandline?
[22:23] <okovko> it has mail.olegkov.com elsewhere in the mail
[22:23] <okovko> i used postfix
[22:23] <okovko> does spf test against bounceback address wtf
[22:23] <blackflow> Return-Path: <ubuntu@olegkov-droplet>   and      From: ubuntu@olegkov-droplet
[22:24] <okovko> yeah that's return path that sounds right
[22:24] <blackflow> those are tested, and in fact I think only From is, not Return-Path (envelope sender)
[22:24] <okovko> BLYAT
[22:24] <blackflow> and that's wrong, should be   ubuntu@olegkov.com
[22:24] <okovko> well i want it to be mail.olegkov.com, so i need to ocnfigure postfix, and figure out what field will change From
[22:24] <tgm4883> okovko: you're looking for "myhostname" in main.cf
[22:25] <okovko> tgm4883 i have that field set to mail.olegkov.com -_-
[22:25] <okovko> so postfix is not entering the field correctly..?
[22:25] <blackflow> okovko: send anotehr test mail, and if that's sendmail binary,   set -f ubuntu@olegkov.com   and in teh body use From:  ubuntu@olegkov.com    to force it
[22:26] <blackflow> okovko: it is. you probably used sendmail without -f or From, and postfix appends myhostname in such cases
[22:27] <okovko> but it is supposed to enter the myhostname, which is not ubuntu@olegkov.com... anyway, i'll give that command a try
[22:27] <tgm4883> okovko: listen to blackflow I'm thinking of a different mail issue i'm working on
[22:27] <okovko> tgm4883 blackflow thanks to you both for your help
[22:27] <blackflow> it's actually `myorigin` but that defaults to `myhostname`
[22:30] <blackflow> okovko: so your previous question, /etc/hostname is not enough, you need an entry in /etc/hosts too (which is actually needed more than /etc/hostname), unless you explicitly set names in postfix' main.cf
[22:30] <okovko> blackflow i get this now https://www.mail-tester.com/test-310n2
[22:30] <okovko> and yes i also changed /etc/hosts
[22:30] <okovko> it maps my public ip to mail.olegkov.com
[22:31] <okovko> the from field is correct but spf still says None
[22:31] <blackflow> wth  "mail.olegkov.com@olegkov-droplet"   that's wrong
[22:31] <okovko> lol
[22:32] <okovko> i used mail binary, i guess i will try sendmail? maybe it doesn't randomly append that
[22:32] <blackflow> okovko:  echo "From: ubuntu@olegkov.com\nTo: <your gmail>\nSubject: Test\n\n Yay!" | sendmail -f ubuntu@olegkov.com <your gmail>
[22:34] <okovko> blackflow now this https://www.mail-tester.com/test-lnvx9
[22:34] <okovko> woooo spf pass
[22:34] <okovko> man thank you blackflow, so i know for sure it is some postfix configuration bs
[22:36] <blackflow> okovko: invalid myhostname and/or myorigin. it's actually myorigin that's used unless you force From and envelope sender toa  valid fqdn address
[22:36] <blackflow> I just always explicitly set names in main.cf, myhostname.
[22:37] <okovko> well i want those names to be mail.olegkov.com, why does setting those fields to that break spf?
[22:37] <blackflow> btw, if I disappear, we have some power issues here and my UPC ain't infinite....
[22:37] <okovko> yeah, i get it, thanks (:
[22:37] <okovko> i guess ubuntu@olegkov-droplet is a fine name as any! lol
[22:37] <blackflow> okovko: the problem here is your testing. you were sending mail as local user with sendmail with no forced envelope or From, so postfix appended what it thought was myorigin
[22:38] <granttrec> anyone use sublime text from the sublime ppa? is it buggy?
[22:38] <blackflow> and postfix thinks olegkov-droplet is your fqdn
[22:38] <Shazbotmcnasty> Hello, I'm on 16.04. Having issues with Unity(i think). The desktop icons are flashing and there's no launch bar. I've reinstalled unity & ubuntu-desktop to no avail. Has anyone experienced this issue?
[22:38] <blackflow> okovko: at any rate, this is beyond ubuntu so perhaps you could ask in #postfix for more help ;)
[22:38] <okovko> blackflow yes, thanks (:
[22:39] <blackflow> okovko: btw if you're sending from mail.olegkov.com then you need SPF records for mail subdomain too
[22:39] <blackflow> but I guess you meant you wanted the hostname to be that. you'll be using @olegkov.com to send out (so both envelope and From will be that).
[22:41] <blackflow> okovko: btw... when you install postfix it first sets up main.cf with an explicit myhostname that it detects at that moment. if you changed it _later_ then it won't pick it up. are you sure myhostname is properly set (or empty for autodetection) in main.cf?
[22:41] <ChaiTRex> Does anyone happen to know which ANSI escape sequence prints a literal escape character to the screen?
[22:41] <okovko> blackflow yeah i used dpkg-reconfigure postfix and then service restart postfix
[22:42] <blackflow> okovko: did you actually check in main.cf?  what does    postconf -n say, can you pastebin?
[22:42] <blackflow> `postconf -n`
[22:43] <[Gort]> After an hour, I think I can repeat my question. ;) I'm running 18.04. A week or so ago, I did an update using Synaptic, which upgraded my shim and shim-signed packages. Later on, I noticed that those packages were now in obsolete. I then did some Googling, discovering that both packages were soon pulled, hence why they're obsolete. Is there a safe way to go back to the "current" versions or should I just wait till a new shim package supersedes
[22:43] <[Gort]> them? I'm a bit hesitant about messing with shim than I would other packages. Other than that, system runs fine.
[22:43] <blackflow> ChaiTRex: what literal escape character is that?
[22:43] <ChaiTRex> blackflow: I want to print the escape character to the screen without it being interpreted as an ANSI escape sequence.
[22:43] <ChaiTRex> blackflow: So \e itself.
[22:44] <blackflow> ChaiTRex: yeah but which one is that? I never heard of it being a charcter unto itself
[22:44] <okovko> blackflow myorigin=/etc/hostname and myhostname=www.olegkov.com
[22:44] <blackflow> as in, noascii code or anything like that
[22:44] <okovko> actually myhostname=mail.olegkov.com, sorry
[22:44] <blackflow> okovko: and come again what's in /etc/hostname?
[22:45] <dax> blackflow: see e.g. decimal 27 on http://www.asciitable.com/
[22:45] <blackflow> oh how about that!   my bad.
[22:46] <okovko> blackflow /etc/hostname: 'mail', and /etc/hosts: '<public-ip> mail.olegkov.com mail'
[22:46] <okovko> i got those from some digital ocean guide to setting up send only postfix
[22:46] <ChaiTRex> blackflow: Basically, I want to send an escape sequence not to the terminal, but to the terminal it's contained within.
[22:46] <ChaiTRex> blackflow: If I'm running a terminal inside a terminal.
[22:47] <ChaiTRex> blackflow: So I need the inner terminal to just print an escape character and then the containing terminal catches it.
[22:47] <blackflow> okovko: well that's wrong for myorigin, as myorigin should be fqdn, not just the "hostname" part of it
[22:47] <blackflow> okovko: I'd advise to not set it (leave default = myhostname)
[22:48] <blackflow> okovko: unless you don't plan to use virtual, in which case you might wish myhostname to remain mail.olegkov.com, but set myorigin (and mydestination) to olegkov.com
[22:49] <blackflow> ChaiTRex: terminal inside terminal? how, with screen? tmux?
[22:49] <ChaiTRex> blackflow: Yes.
[22:51] <blackflow> ChaiTRex: yes what :) with screen or tmux?     anyway, see if this helps: https://stackoverflow.com/questions/19062315/how-do-i-find-out-what-escape-sequence-my-terminal-needs-to-send
[22:53] <ChaiTRex> blackflow: With tmux.
[22:54] <ChaiTRex> blackflow: Thanks, I'll check.
[22:58] <Squarism> upgrading to 18.04 as we speak
[23:00] <arthur98765> I daren't upgrade to 18.04. I will be out of my comfort zone ;)
[23:00] <Squarism> still doing 14.04 lts?
[23:01] <arthur98765> 16.04 LTS
[23:02] <blackflow> How suave.
[23:03] <bprompt> arthur98765:   same here, installed 18.04, it broke about 10 things, fixed them, it broke another 15 things, so I toss it, in 16.04 everything works peachy, I had the same thing happen with 14.04, it broke too many things, whilst 12.04 was perfect, then went from 12.04 to 16.04
[23:05] <arthur98765> Yikes. No thanks. Sticking with what I have. I'm too much of a newbie to struggle.
[23:06] <nacc> bprompt: please be careful about spreading FUD. Many people have installed or upgraded to 18.04 without issue.
[23:07] <blackflow> indeedy.
[23:07] <MannyLNJ> Hi. I need some help. I'm on 16.04 and when my system comes back from sleep my GUI is dead. I have to log into another console session and do startx to get a GUI. What can be causing it? The screen even is displaying the no signal message
[23:07] <bprompt> nacc:    meaning you didn't like my statement heh, well, I was just as arthur98765 is, speaking on our experiences, sure, not eveyone runs what I run, just because it works for what "you" use, doesn't mean it works for me, in this, it didn't, is all
[23:08] <MannyLNJ> Also how can I move my install from /sdb4 to /sda1?
[23:08] <vimar> Hi
[23:09] <uboa> how do i disable anti aliasing terminal ubuntu? default everything rn
[23:09] <nacc> bprompt: I don't care about your statement at all personally. It is FUD. And what you were describing was totally unrelated to arthur98765's comment, and discourage people from using ubuntu.
[23:10] <nacc> bprompt: i'm done talking about it, though. have a nice day
[23:10] <nacc> MannyLNJ: maybe check the X logs?
[23:10] <bprompt> nacc:  hehe, well, if you didn't care why reply to it, clearly you do, just don't take it personal, is not personal
[23:10] <nacc> MannyLNJ: are the partitions identical?
[23:11] <nacc> bprompt: this is the ubuntu support channel, if you want to voice opinions, please use #ubuntu-offtopic or an appropriate channel
[23:11] <nacc> uboa: display settings, i think? or try the gnome tweak tool
[23:11] <bprompt> nacc:   fair :)
[23:12] <MannyLNJ> nacc no partitions are not identicial /sda1 is a 120-GB Solid State Drive and /sdb5 is a part of a 2TB drive
[23:12] <nacc> MannyLNJ: moving the data itself is the easy part, but then you have to update your configuration file correctly
[23:12] <vimar> uboa: you mean antialiasing of font pixels in terminal?
[23:14] <MannyLNJ> nacc, Is there a guide for idiots? I would start over but I just got DNSMASQ setup properly for my needs
[23:14] <nacc> MannyLNJ: I mean, you can just copy files (rsync, cp even (although slow)) between filesystems
[23:14] <nacc> MannyLNJ: but it won't be dropin replacement
[23:15] <nacc> MannyLNJ: e.g., /etc/fstab will refer to the old partition
[23:16] <MannyLNJ> nacc so I could rsync, then edit fstab and re-run grub?
[23:17] <nacc> MannyLNJ: https://askubuntu.com/questions/741723/moving-entire-linux-installation-to-another-drive
[23:17] <nacc> MannyLNJ: well that was one exmaple, there are probably other files that need updating, including the grub ones
[23:18] <jcdutton> MannyLNJ, sleep, which graphics card?
[23:18] <nacc> MannyLNJ: that AU answer implies only fstab needs updating, so maybe that's it :) after reinstalling grub
[23:19] <MannyLNJ> jcdutton, It's integrated in the motherboard LSPCI says it's a Trinity [Radeon HD 7560D]
[23:20] <jcdutton> MannyLNJ, ok, I don't know that specific chip. But in general, failure to return properly from sleep is due to driver bugs.
[23:21] <MannyLNJ> nacc, I will try that. jcdutton I have the same issue comming out of sleep as I do if the video cable is disconnected. I am using a DVI to HDMI adaper and a TV as my display
[23:22] <jcdutton> MannyLNJ, uname -a       What version of kernel are you using?
[23:24] <uboa> vimar, yes please and thank you
[23:24] <MannyLNJ> jcdutton, 4.15.0-34-generic
[23:24] <jcdutton> MannyLNJ, that should be new enough
[23:25] <MannyLNJ> thanks for the help going to reboot now