[00:00] 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] 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] *VMs [00:01] Could stick my docker and maybe an lxc ontop of the lvm image since it'll get most of the cores. [00:02] Kvm* [00:03] htafdwes: yes, that's true, you can do tht [00:03] Nacc what version/distro would you recommend installing for the firefox vm? [00:05] htafdwes: dunno, it probably doesnt' matter to much, since firefox gets backported aiui [00:05] Like i want something with smallest possible footprint. Maybe just a firefox in an xinitrc? [00:05] htafdwes: at this point, i'd put it in an 18.04 VM [00:05] and you can pare that down as much or as little as you like [00:06] htafdwes: tbh, yes, you can do that. I think it's more work than it's worth. [00:06] htafdwes, How about docker containers? [00:07] jcdutton: for firefox? [00:07] htafdwes, yes. instead of a whole vm [00:08] 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] i thougth docker had some support for this in the cli, too [00:08] but i might be wrong [00:09] htafdwes, that is all docker really is, just a way to isolate a process [00:10] https://github.com/jlesage/docker-firefox/blob/master/README.md [00:11] 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] 'Browse to http://your-host-ip:5800 to access the Firefox GUI.' Lol [00:11] htafdwes: you can do that for *any* process on the system, docker is just a fancy wrapper around it [00:11] (well, not just, but you get the idea ;) [00:13] Hmmm k well i'll look into cgroups and cpuset [00:14] 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] 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] Well what i want to achieve is no crashing and better uptime [00:16] 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] Simplest choice (tbh), seems to be run firefox in a VM and see why it crashes, if it does [00:16] htafdwes: it's very strange that your system crashes due to firefox, imo [00:16] htafdwes: you have swap enabled, right? [00:17] htafdwes: you coudl also just limit firefox's memory using the memory cgroup [00:17] i have swap enabled and 8GB ram on my laptop [00:18] Hi anyone can help me with Chroot [00:19] htafdwes: hrm, i was going to guess a memory leak, but you'd be able to detect that with swap [00:19] powerninja: ask your question, not ask to ask [00:20] It usually happens when loading a website. How would i detect it with swap? [00:21] htafdwes: i meant you'd see swap getting used [00:21] Ah, well when it crashes can't really check anything. [00:21] htafdwes: right, i get it [00:22] htafdwes: the problem is, i'd expect your crashes will be not reproducible in the VM ) [00:22] you could try disabling some extensions, or anything not standard [00:23] 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] Whats a good cgroups tutorial for ubuntu? [00:24] Should I have made the change in Bungie [00:24] Nacc hmm well i guess will see. If it doesn't crash in vm then so much the better. [00:26] how do i install redis with apt-get? [00:27] Hmm i found this one: could try it. [00:27] https://www.cloudsigma.com/howto-cgroups/ [00:30] 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] htafdwes: right, the problem is it's not clear what's crashing or why [00:32] djapo: ' sudo apt update ; sudo apt upgrade ; sudp apt install redis ' redis is in the universe repo . [00:33] sudp/sudo* [00:43] nacc: yeah, if cgroups doesn't work, then I'll stick it in a VM. [00:59] Bashing-om: i can't install it .. im on a ubuntu aws instance how do i add the universe repo [01:00] 'universe' distribution component is already enabled for all sources. [01:01] djapo: what release are you on ? [01:02] !info redis bionic | djapo [01:02] djapo: redis (source: redis): Persistent key-value database with network interface (metapackage). In component universe, is optional. Version 5:4.0.9-1 (bionic), package size 2 kB, installed size 70 kB [01:03] 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] djapo: 4.4 kernel .. what release from ' lsb_release -a ' ? [01:05] Bashing-om: Release: 16.04 [01:06] !info redis xenial | djapo [01:06] djapo: Package redis does not exist in xenial [01:06] hmmm :/ [01:07] Bashing-om: i found redis-server [01:07] is that the same [01:07] ? [01:08] djapo: If it is a must .. easyest and best to get redis is upgrade to biomic :) [01:08] hmm, im going to install the server and test that first [01:09] djapo: do ' apt show redis redis-server ' see then what you think . [01:14] Bashing-om: it works, its basically the same [01:19] djapo: :) you do good work :) [01:21] okay, that's weird, it looks like ubuntu doesn't have support for cgroup configuration [01:22] at boot * [01:22] apparently it was taken out in 13.04, and nobody bothered adding it back. there are just some workaround hacks. [01:23] https://askubuntu.com/questions/528258/why-is-cgconfig-conf-not-being-read-on-reboot-on-14-04 [01:54] Hello [01:58] hi [01:59] hi [02:53] Curious to meet 1+ ppl tonight excited by crazy rare weird software engineer kinda like zombie (handicapped big) + simultaneously superman (rare level advanced) ... === BgLamersTeam is now known as Dreaman === Dreaman is now known as BgLamersTeam === [1]MrMobius is now known as MrMobius [03:11] 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] cgroups are apparently supported by systemd [03:12] htafdwes: discuss that in #ubuntu-discuss mate [03:17] k [03:27] Did latest Ubuntu ( 18.04 ) remove *-screensaver-command from /usr/bin ? - Trying to diagnose an issue for someone [03:29] Lvl4Sword: could you explain what its for cause i got a screensaver bug recently on bionic [03:29] lotuspsychje, Script -> https://github.com/Lvl4Sword/LockMsg/blob/master/LockMsg.py [03:30] Lvl4Sword: my bug is about xscreensaver overriding movieplayers and going to screensaver anyway === BgLamersTeam is now known as Dreaman [03:31] Lvl4Sword: explain whats happening on your side plz? [03:34] Lvl4Sword: gnome-screensaver-command is in the package gnome-screensaver, which isn't installed by default in 18.04 [03:34] 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] dax, Ah, what is installed by default? [03:34] and linux mint support goes in the linux mint channels [03:35] Well, seeing as latest Mint stems from 18.04, figured I'd go to the source. [03:35] the source's /topic is quite clear ;) [03:36] and besides, desktop environment stuff like screensaver packages tends to vary from distro to distro [03:36] 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] Hmm. I'll need to load it up on a vm it sounds like. [03:37] dax: correct, i have xscreensaver installed optional here, it does not interfere with gnome screensaver anymore [03:37] as gnome screensaver isnt by default anymore [03:38] Interesting. I'll certainly have to poke around [04:02] 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] stan7: if it's for some legacy app, then use docker. === Moyst_ is now known as Moyst [04:05] 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 === Dreaman is now known as BgLamersTeam [04:06] thanks [04:06] 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. === Guest91602 is now known as TimeDoctor_ [04:53] hi [04:54] is there any software that can manage backups to DVDs? [04:58] 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] 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? === kundancool is now known as anonymousK === anonymousK is now known as kundancool === kundancool is now known as anonymousK === anonymousK is now known as kundancool === kundancool is now known as anonymousK === anonymousK is now known as kundancool [06:04] 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] 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. === kundancool is now known as anonymousK === Apachez- is now known as Apachez [06:25] cheater: did you run 'sudo apt update' after removing the ppa to update the package database? === jje_ is now known as jje [07:12] 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] empedokles78: try unity-tweak-tool and see wich theme its set? [07:20] @lotus|NUC, window theme: ambiance, gtk-theme: flatabulous [07:21] empedokles78: can you try setting another theme, then make your flat theme active again? [07:24] @lotus|NUC, do you only mean the gtk theme? [07:25] yes [07:27] @lotus|NUC, seems to work I see buttons again and the window close buttons are on the left hand side. [07:27] !yay | empedokles78 [07:27] empedokles78: Glad you made it! :-) [07:29] ubottu, is there a way to disable that animation for the dash-search? [07:29] empedokles78: I am only a bot, please don't think I'm intelligent :) === TimeDoctor_ is now known as TimeDoctor [07:36] lotus|NUC, do you know how to disable this animation by opening apps? [07:39] empedokles78: wich animation exactly? [07:40] lotus|NUC, if you click on show apps in the sidebar there is some animation of app icons. [07:43] empedokles78: can you find some settings in unity-tweak-tool? [07:44] empedokles78: general/windows animations off is that what you mean? [07:46] 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? === mar77i_ is now known as mar77i [07:52] empedokles78: unity is now a community item, i did not test myself on 18.04 === imsurit_ofc1 is now known as imsurit_ofc [07:53] lotus|NUC, I thought 18.04 is using only gnome? [07:55] empedokles78: no, flavors and DE's and WM are choosable [07:56] empedokles78: by default 18.04 desktop uses gnome yes [07:56] empedokles78: but for example the 16.04 users that chosen to lts upgrade have also the unity choosable in 18.04 [07:59] lotus|NUC, I see, makes sense to stick with it then. [08:02] 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] lotus|NUC, I guess unity will not be developed anymore in future versions? [08:08] 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] empedokles78: not from canonicals side, but there's an active community on both unity and unity8/ubports [08:09] empedokles78: how did you add this package? [08:15] lotus|NUC, actually not sure, but : https://www.yworks.com/products/yed/download#download seems a jar [08:21] empedokles78: looks like an installer script, not sure what it all adds [08:22] empedokles78: try whereis yed from a terminal [08:25] lotus|NUC, "yed:" [08:26] empedokles78: how about 'find yed' [08:26] lotus|NUC, says not found. [08:27] empedokles78: kk, try doublecheck your etc/apt/sources.list or software&sources to see if it added a ppa for yed? [08:28] empedokles78: https://yed.yworks.com/support/qa/7071/how-to-uninstall-yed-in-linux [08:39] lotus|NUC, is there a command for that? [08:42] with apt I don't find anything. === cpaelzer_ is now known as cpaelzer [08:56] 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] It shows up in lsusb [08:57] This is what dmesg shows: https://paste.ubuntu.com/p/zX56WQbDSF/ [08:57] Any ideas? [08:59] how old is the keyboard [08:59] ? [09:01] gpunk: It [09:01] Sorry, a few years old [09:01] It [09:01] It's a new computer [09:02] But the keyboard has been working since yesterday?? [09:02] esomir: tried anotehr usb port? [09:02] blackflow: Yeah, I've tried every USB port [09:02] Also the one my mouse it attached (and working) to [09:03] 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] With the ubdate to 18.04 they have the same version number .92 3 [09:05] esomir: try it thru a usb hub if it doesnt wotk still, it might have died [09:05] empedokles78: 'sudo snap remove inkscape' === amosbird_ is now known as amosbird [09:07] gpunk: Just tried attaching it to my Mac. that worked fine [09:07] So the keyboard works [09:07] good [09:09] But I just don't know why it suddenly stopped working [09:10] Is the driver corrupt or something? [09:10] esomir: probably not, there would be entries in dmesg if the kernel found an error. [09:10] i'd reboot again ... [09:10] 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] blackflow: It worked before I rebooted, then I rebooted and it didn't work there [09:11] It works in the bios, btw [09:11] And works on my Mac as well [09:11] So I don [09:12] dont think it's a failure on the keyboard [09:12] But what does the "no configuration chosen from 0 choices" mean? that it cannot find a proper driver for it? [09:12] esomir: hm, wait, there _is_ something in the dmesg, line #3 [09:13] blackflow: Hmm [09:14] I'll just try rebooting, blackflow / gpunk . BRB [09:21] working? [09:21] Nope, not at all [09:21] It works in the bios [09:21] I even tried booting with an older kernel [09:21] I'm running 16.04 btw [09:22] esomir: usb keyboard? [09:22] esomir: I wonder if it's a DE (mis)config. Does it work under another TTY? [09:23] lotus|NUC: Yup [09:23] esomir: tail -f /var/log/syslog and plugin plz [09:23] see if we can catch usefull errors [09:24] lotus|NUC: https://paste.ubuntu.com/p/4tzYrzXtNZ/ syslog here [09:25] Wondering if I should reinstall the xorg-input package maybe? [09:25] esomir: Does it work under another TTY? [09:26] blackflow: I don't know what that is / how I should try another tty [09:27] !tty | esomir [09:27] esomir: To get to the TTY terminals 1-6, use the keystroke ctrl + alt + F1-F6 respectively (Alt+F7 will get you back to your graphical login). To change the resolution for your TTY, see https://help.ubuntu.com/community/ChangeTTYResolution [09:29] 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] is fake raid 1 supported by ubuntu? [09:30] !raid | alterjsive [09:30] alterjsive: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto [09:31] 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] esomir: how about on another user? does it work there? [09:32] 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] lotus|NUC: thx, I will try it tonight. so it's not supported? [09:32] lotus|NUC: it's not out of the box, you have to do some "hacking" to get it to work [09:33] Hmm I'mm try booting into a console [09:33] brb [09:34] 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] 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] It just doesn't make sense for me, as it has been working previously === esomir_ is now known as esomir [09:40] 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] it worked out of the box [09:49] Could it be because I installed xserver-xorg-hwe-16.04 ? [09:50] esomir: can you give us 'cat /sys/module/usbcore/parameters/autosuspend | nc termbin.com 9999' [09:52] ledeni: it's just 2 [09:52] http://termbin.com/cgd0 [09:53] esomir: run --> sudo sh -c "echo -1 > /sys/module/usbcore/parameters/autosuspend" [09:53] ledeni: Done [09:54] ledeni: Didn't change anything [09:55] esomir sorry try this sudo sh -c "echo -1 > /sys/bus/usb/devices/3-1/power/autosuspend_delay_ms" [09:56] ledeni: sh: 1: cannot create /sys/bus/usb/devices/3-1/power/autosuspend_delay_ms: Directory nonexistent [09:56] (I'm running 16.04 [09:56] With HWE [09:58] 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] Just rebooting. BRB [09:59] ducasse, thanks. [09:59] Is it usual that snaps don't integrate well into the system (other gui)? [10:01] Still no keyboard working :( [10:01] It works on the live usb... [10:01] In bios [10:01] And on my Mac [10:02] But not in Ubuntu I have installed [10:02] I know it worked at least before I installed the hwe kernels, but I also think it worked while having them installed [10:03] Should I try removing those, to get back to the old xserver etc? [10:03] esomir: try to install 'xserver-xorg-input-all' [10:04] 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] esomir: ops [10:04] ledeni: xserver-xorg-input-all-hwe-16.04 [10:05] good day all [10:05] I have problem with audioIPC Server, It always mute when I start any web video ... [10:05] ledeni: xserver-xorg-input-all-hwe-16.04 is already the newest version (1:7.7+16ubuntu3~16.04.1). [10:08] anyone help me? [10:08] I cant find anything on web [10:12] orhanenginokay: not sure anyone here can help, this is a ubuntu support channel - does said application have support? maybe a man page? === xamindar_ is now known as xamindar [10:18] 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] Okay, so I got the keyboard working [10:22] Uninstalled all hwe, and reinstalled the old packages [10:23] joaocfernandes: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes/ChangeSummary/16.04.5 [10:23] Running on kernel 4.15.0-29 generic now instead of 4.15.0-34 [10:23] Hello all :) [10:23] But my wifi is so slow when NOT running on the hwe packages [10:23] It's like ~500kb/s [10:23] thanks lotus|NUC [10:24] On the hwe packages I got like 200MB/s [10:24] 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] What is "Application Stack Builder"? [10:28] esomir: its not safe to stay on older kernels like that see !usn for more info [10:28] lotus|NUC: Is your nick because your using an INTEL NUC? :P [10:29] herver: yes, feel free to discuss @ #ubuntu-discuss [10:31] Okay, so I unplugged the keyboard [10:31] And put it in again, and it stopped working... [10:31] Even after reboot [10:33] But I managed to get a dmesg of it working [10:33] Don't know if that can help solving why it doesn't work? [10:33] https://paste.ubuntu.com/p/hkyhSRYGqx/ [10:36] esomir: so it works on an older kernel? [10:36] 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] Even after rebooting it doesn't work [10:37] I unplug it, reboot, log in, and then plug it in [10:37] esomir: how about you create a new !ug for it mate, let the devs help you on this [10:37] !bug [10:37] If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [10:37] lotus|NUC: Yeah I think that must be the way to go [10:37] esomir: after you create it, you can share buglink in channel too, volunteers might have a look and think-along [10:38] What is Landscape-Client which is appearing under apps, but is not yet installed? [10:38] lotus|NUC: (Y) [10:52] !landscape | empedokles78 [10:52] empedokles78: Landscape makes the management and monitoring of Ubuntu systems simple and effective by combining world-class support with easy to use online management tools. https://landscape.canonical.com/ === [1]MrMobius is now known as MrMobius [10:58] lotus|NUC, I don't think I need it. But I can't deinstall. === Richard is now known as Guest9728 === kundancool is now known as anonymousK === anonymousK is now known as kundancool [11:36] Hi. I created a bridge and bounded aphisical interface to it (proxmox server), There is a behaverbehaver [11:38] 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] Why? [11:47] hi [11:47] anyone know if there's a way to make wget write the data to disk only on completion? [11:47] that is, to avoid writing partial data to disk [11:52] pokmo Well you can try with resume option to complete the incomplete transfers [11:53] kundancool sure, but i don't think i'll resume them. i just want them not stored on disk [11:53] hello, what's the goal of docker.io in multiverse compared to docker-ce from docker.com? [11:53] I don't understand why it's here and what it's for [11:55] 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] after list ends it cleans up .tmp files [11:55] kundancool yeah, i guess i'll have to do it manually [11:55] which the best you can do for that [11:57] 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] ioria sure. i just thought wget got a way to keep intermediate download in its own buffer === kundancool is now known as anonymousK [12:00] pokmo, https://unix.stackexchange.com/questions/149521/wget-internal-buffer-size ; for Curl solution https://curl.haxx.se/libcurl/c/getinmemory.html [12:01] thanks [12:02] gl === anonymousK is now known as kundancool [12:14] Hi [12:22] Howdy folks [12:44] 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] 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] blackflow: ah ok, so GPT is still needed to make the drive "visible" as ready to be used for LVM? [12:58] 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. === Richard is now known as Guest70690 [13:02] 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] 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] (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] s/bios_boot/bios_grub/ [13:05] Got it, thanks. [13:12] 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] Is there a way to back it up as an image with all the scripts and software I already have installed? [13:16] Galactor: you can create an image of it with Clonezilla [13:17] or dd [13:18] BluesKaj: not a good idea to use dd to do that on a live system though, hence my suggestion [13:18] I'll give it a peak. Thanks Shabbysheik and BluesKaj ! [13:18] memory lane [13:19] Shabbysheik, I copied my / and /home partitions to an outboard drive without incident with dd === Class7_ is now known as Class7 [13:23] 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] Shabbysheik, one just has to make sure the targets are unmounted to make the system bootable [13:24] before coipying [13:26] I know dd's risky, and clonezilla is definitely a good option as well [13:34] Hello guys, I have installed windows 10 on another partition and now the grub boot loader seems to be gone [13:35] how can I install it [13:36] morphyeys: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows [13:37] morphyeys: first result on google for "ubuntu restore grub" [13:37] hehe nice [13:37] thank you very much === kundancool is now known as anonymousK [13:56] Why did my 18.04 LTS upgrade install remmima remote desktop? [13:56] empedokles78: because it's part of the install/release? Just remove it if you don't want it. [13:57] leftyfb, okay, I guess it's a security risk. [13:57] empedokles78: why is a remote desktop client a security risk? [13:58] empedokles78: no it won't just use that, I think I seen that be installed before myself too or something similar [13:58] empedokles78: anything that s put there by default is generally fine [13:59] okay, I'll remove it. [13:59] 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] Maybe if someone uses firefox to do evil things. But I have to live with that. [14:02] 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] I have no need for it, so the less software the better I guess. [14:06] empedokles78: That doesn't make it a security risk === semeion is now known as mnemonic [14:10] If someone is using my machine as a zombie anything can become an issue. [14:11] empedokles78: not as likely with Linux as Windows [14:11] by far [14:12] sebsebseb: lets not [14:13] leftyfb: no that's not Windows hate or dislike, that's the truth, most botnet zombie pc's are run by WIndows ! [14:13] 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] sebsebseb, yes hopefully. [14:14] why irrelevant? [14:19] 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] leftyfb: empedokles78 even Intel had some hardware security issues with the cpu recently :d he h h eh [14:19] and things like that [14:20] ok, feel free to take this verymuch pointless discussion to #security or #ubuntu-offtopic [14:37] sebsebseb, I'm on intel. :) [14:40] did I ? ;) === Richard is now known as Guest24765 [15:32] 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] Sven_vB: can you pastebin `parted /dev/sda unit mib print` ? [15:35] for copying artifact over rsync, is it mandatory to have the -a flag? [15:35] blackflow, I could. do you need all of it or just " 5 2.00MiB 15362MiB 15360MiB logical ext3"? [15:36] dwg_: artifact? [15:36] Sven_vB: I was interested in type and fs of sda5 [15:36] leftyfb: yeah.. something like a .tgz file or a .rar file? [15:37] 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] Sven_vB: are you installing multi boot or will use the entire disk for hte new installation? [15:37] blackflow, custom partitioning ("something else") [15:38] 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] leftyfb: sry my bad [15:38] yes [15:38] Sven_vB: is sda5 the last partition on the disk (by byte offset)? [15:38] blackflow, nope, there are at least 10 partitions [15:38] Sven_vB: also stupid question, did you try to umount it? [15:39] Sven_vB: why do you need so many partitions? [15:39] maybe some overzealous gnome automounter process saw it and mounted it [15:39] blackflow, not by its own name. I umounted /target recursively, but I'll try explicitly umounting sda5. [15:40] leftyfb, it helps me keep track of how much of which kinds of litter I accumulate. :) [15:41] blackflow, umount: /dev/sda5: not mounted. [15:41] Sven_vB: sounds like you're only making more work for yourself [15:41] for little, to no benefit [15:41] Sven_vB: pastebin the output of `mount` pls (as root) [15:44] blackflow, actually I'll debug that myself first. there's lots of unrelated disks mounted that shouldn't be. === Apachez- is now known as Apachez [15:47] leftyfb, might be just nostalgia. main benefit probably is that I can postpone learning about better quota methods. :D [15:48] Sven_vB: I was thinking it got picked up via some uuid, label, gvfs, something and not directly grepable as "sda" [15:48] blackflow, good call, I'll check that. [15:49] 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] 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] 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. === SimonNL is now known as SimonNL_Afk === BenderRo- is now known as BenderRodriguez [16:02] j #security [16:05] is there a way to install spotify without snap? [16:05] it seems to just constantly crash on me [16:06] like, is there just a good ole .deb somewhere [16:07] halfbit: not from ubuntu, and afaik, the snap is the official thing from upstream now [16:07] well it doesn't work [16:07] halfbit: works fine here [16:07] so thats cool [16:07] yeah, there is a repo for it from spotify. [16:07] odin2016: I'll try that [16:07] but again, nothing from ubuntu or debian [16:07] halfbit: if you want to debug what is going on, you should pursue the support channels in `snap info spotify` [16:07] https://www.spotify.com/de/download/linux/ [16:07] right below the snap. [16:07] never tried it, but it is evidently there. [16:08] nacc: I don't really care, the deb worked fine before, don't get why its now suddenly some other odd package [16:08] odin2016: cool, will try that [16:10] go figure, the deb just starts right up [16:10] odin2016: thanks man [16:18] 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] I think xenial only did that once I clicked a drive icon. [16:19] and actually only mounted that one dive then, not all of them. [16:21] halfbit, no worries. [16:21] halfbit, lemme know how it works out. [16:30] is libreoffice also a snap? [16:30] cause thats also crashing [16:31] yay... it is... [16:31] halfbit: you might have something else wrong in your system. You might ask in #snappy. [16:32] its a fresh install of ubuntu 18.04 lts :( [16:32] I'll ask [16:36] libre5 is a deb you can find in default repos, 6.1 is a snap. [16:37] I installed 6.1 from snap earlier adn have not had any problems.. not that i have used it a *ton* since. [16:40] in all fairness,i'm actually runnin elementary, but it's a ubuntu base, so that should not matter. [16:42] odin2016: it definitely matters but that's neither here nor there (matters less for snaps, maybe) [16:44] nacc, that's whatI meant. for snaps. [16:44] how to change time [16:44] in ubuntu [16:48] blade 18.04 ? [16:49] yes [16:49] go to settings, and use the magnifying glass and type clock [16:49] 19:49 [16:49] the set your time from the settings [16:49] bit is 22:49 [16:49] and [16:50] settings -- details -- date & time [16:52] pjhhahhahaah [16:52] ok [16:52] wrong [16:53] varna Bulgaria is 19:53 [16:53] not 22:53 [16:53] some bug [16:53] Blade: you have to change locale, not time itself [16:53] if you turn off automatic date & time you can manually set your time [16:54] change -1 gt [16:54] yeah, don't turn off automatic date & time unless you know what you're doing [16:54] varna is +3 gt [16:55] bu work [16:55] but [16:55] Blade: Settings -> Details -> Date & Time -> Time Zone [16:55] sofia bulgaria and [16:55] is not 22:55 [16:55] is 19:55 [16:56] may be my dual boot with win is problem [16:56] Blade: Also, dual booting with Windows ? where Windows contols the Hardware Clock ? [16:56] yes [16:56] yes that is the problem [16:56] ok [16:57] thanks [16:57] windows and ubuntu keeps time differently [16:57] 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] Blade: see "set-local-rtc" option of timedatectl command [16:58] i change [16:58] no problem [16:58] you need "yes" on that, RTC in local time, as Windows keeps it in local time === SimonNL_Afk is now known as SimonNL [17:03] 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] requested? [17:05] 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] tsglove: becuse that's a totally non-standard path. [17:05] tsglove: also why are you building nginx yourself, that seems like a bad idea [17:05] So I can add that to the PATH ? [17:05] tsglove: you could, but why did you pick that path? it was wrong [17:06] tsglove: and if you did that with --prefix, e.g., you probably made it not usable potentially [17:06] Aight. Will check up. Thanks. === pavlushka_ is now known as pavlushka [17:21] 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] 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] Barabacha, suspend to disk [17:23] Sven_vB: how do I do that? [17:23] nacc: I mean /usr/local/ has been traditionally the plce to put third party software on unix [17:23] Barabacha, no idea. :D [17:24] Barabacha: if it is supported by your machine, it will be one of the option in the shutdown menu [17:24] blackflow: /usr/local/nginx/sbin is what they wrote [17:24] Barabacha: https://askubuntu.com/questions/967205/where-is-the-suspend-hibernate-button-in-gnome-shell [17:24] blackflow: which is definitively wrong [17:24] nacc: ohhh yes. I missed that part. [17:24] blackflow: yeah :) [17:24] pragmaticenigma: I only have Shutdown and Power Off, I can put my Windows 7 to sleep tho [17:25] Barabacha: hit the alt key when the menu opens, you'll see || for "pause" (aka suspend to ram, aka sleep) [17:25] Barabacha: you have to hit alt while showing power button, iirc [17:25] Barabacha: https://askubuntu.com/a/1032166 [17:26] Barabacha: power options beyond reboot and shutdown are not well supported. that's why they're not shown as options by default [17:26] hi [17:27] how can I allow a website restart a service? Like, a service in /etc/init.d/... ? [17:27] blackflow: nacc yeah that worked [17:27] won't work (no root access) [17:27] the server is a Ubuntu server [17:27] Rojola, you could make a sudoers rule to allow that [17:27] 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] Sven_vB, how? [17:28] Rojola: uh, don't do that. [17:28] Rojola: it seems like a terrible idea [17:28] nacc, why? [17:28] I can password-protect it [17:28] Rojola: what happens when your website gets hacked? [17:28] that would be bad [17:28] can I limit it to 1 service only? [17:28] Rojola: why would you ever need to do this? [17:28] 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] nacc, we use "wekan.io" (the board) to manage tasks and sometimes it crashes [17:29] nacc, out of nowhere, the board is offline [17:29] nacc, it's nice, if every team member can simply restart it without root access [17:29] 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] 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] nacc, I could simply tell them: "visit this website and click restart" [17:30] Rojola: but they are being given 'root' access, for this one thing. [17:30] Rojola: why not just have them ssh into the server and restart it? [17:30] 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] 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] auth secret that only your PHP script should know. [17:30] blackflow, so I would place a custom bash script in /usr/local/bin/ [17:31] blackflow, and this custom bash script would restart the service [17:31] Rojola: yes, for example, and then in sudoers allow your web application passwordless sudo against THAT script alone [17:31] ok [17:31] Rojola, also it sounds like there may be better ways than an HTTP request to determine when to restart that service. [17:31] Rojola: but again, minding all the warnings about doing that. [17:31] I need to research this online [17:31] ignisinitium1, what have you tried? [17:32] hum... I could set up a cronjob [17:32] Rojola, what's the reason to restart the service in the first place? [17:32] the cronjob could check if a site loads at the specified port [17:32] Rojola: can't systemd restart the crashed service for you? [17:32] Rojola, so you want a watchdog that restarts a service if it fails to serve TCP connections? [17:32] Sven_vB, because the wekan-service sometimes crashes out of nowhere [17:33] Sven_vB, and team members should have the option to get the board running again [17:33] Rojola: which Ubuntu is this? [17:33] 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] Rojola, yeah that sounds pretty much like you should use a watchdog service. [17:33] hey, ' fatal: your current branch 'master' does not have any commits yet ' Whats that ??? [17:34] blackflow, 18.04 [17:34] I ll try to install intel gpu tool [17:34] Rojola: so you have systemd there. use it, it's powerful, it can restart failed service [17:34] thank you for the chat - I will research watchdog service and restarting services automatically [17:34] really no need for additional software, systemd is already there. [17:34] blackflow: good call [17:35] orhanenginokay: it's a message from git. [17:35] @nacc how to fix that [17:36] tsglove, i have been checking the setup guide for samba to get acquainted to the process. [17:36] Rojola, indeed what nacc says. if systemd can detect the service failure, use systemd to restart it. [17:36] orhanenginokay: there's nothing to fix. you gave no context, nor what you did to get that message. [17:36] thank you Sven_vB, blackflow, nacc and pragmaticenigma [17:37] tsglove, i can browse to the server and see shared folders, however when I try to access them I get an error [17:37] Rojola: and it's significantly better to go that route than to expose a root-service on a website, good luck! [17:37] definitely. [17:37] @nacc - in my terminal - 'ninja -C build [17:38] ninja: Entering directory `build' [17:38] [1/1] Generating version.h with a custom command. [17:38] fatal: your current branch 'master' does not have any commits yet [17:38] ' [17:38] orhanenginokay: you are building something from source? You should contact the source creator for support, it's not an ubuntu issue. [17:39] oke thanks @nacc [17:39] ignisinitium1, ok [17:44] hej, quick question someone knows why tre module fuse refuses to load permanently? [17:47] 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] Neptu: which module specificall (exact name) and version of ubuntu? [17:48] !info lynx bionic [17:48] lynx (source: lynx): classic non-graphical (text-mode) web browser. In component universe, is extra. Version 2.8.9dev16-3 (bionic), package size 629 kB, installed size 1859 kB [17:48] JTode: do you have universe enabled? [17:48] !components | JTode [17:48] JTode: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories. [17:48] I'm assuming not. [17:48] I shall read up, thank you. [17:49] JTode: iirc, it's possibly not enabled by default any longer [17:49] JTode: but a lot of software you might want is there :) [17:49] How would I do that in a console? [17:49] JTode: sudo add-apt-repository universe [17:49] JTode: then sudo apt update; sudo apt install lynx [17:50] Ahh, that's easy, merci beaucoup! [17:50] JTode: yw [17:50] I figured something got changed in the defaults, cause 16.04 didn't need this. :> [17:51] nacc: fuse module and ubuntu xenial 16.04 [17:57] I could not get it to run... [17:58] JTode: right [17:59] /usr/local/bin/testing contains: [17:59] #!/bin/bash [17:59] /etc/init.d/wekan-oft-0 restart [18:00] and the sudoers file (edited with "visudo") contains this line: [18:00] www-data ALL=(ALL) NOPASSWD: /usr/local/bin/testing [18:00] the script works when run as root user, but fails as www-data user: [18:00] [....] Restarting wekan-oft-0 (via systemctl): wekan-oft-0.serviceFailed to restart wekan-oft-0.service: Access denied [18:00] failed! [18:04] Rojola: wekan issue could be discussed at https://chat.vanila.io/channel/wekan or IRC freenode channel #wekan . [18:04] Rojola: you need to run it under sudo. But you ignored all of our advice and went with the worst choice? [18:05] Neptu: fuse is built in to the kernel in 18.04, is it possibly in 16..04 too? [18:05] Rojola: discuss your issue at https://chat.vanila.io/channel/wekan or Freenode channel #wekan [18:18] In 18.04 server default, if I type `service start x` [18:18] what controls that? It's not upstart, right? === Blade is now known as hackbg [18:19] it's systemd mustmodify [18:19] service is converted to a systemctl command [18:20] great, thanks. Am I right in thinking that at some point in the past it was upstart? [18:20] by default? [18:20] yes [18:20] pre 15.04 [18:20] Do you know why they changed? I had installed upstart in 16.04, and it seemed much easier to configure than others. [18:21] mustmodify: ' sudo systemctl list-unit-files ' . [18:21] Though now that upstart is gone again, I'll probably transition to systemd, doesn't seem worth the struggle. [18:22] mustmodify: i think systemd is more advanced and stuff, like it has its own cron and other stuff [18:22] kind of like they're making wayland instead of xorg now [18:22] thank you again for your help [18:22] see you soon! [18:23] EriC^^ ok, well, thanks. [18:23] mustmodify: no problem [18:27] 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] mustmodify: https://wiki.ubuntu.com/SystemdForUpstartUsers [18:28] mustmodify: found by googling for "ubuntu systemd unit file example" [18:28] I'm already there. [18:29] Just sometimes people know more than docs. [18:29] hello guys. someone please remind me how to add a user w/o password in Ubuntu 18.04 [18:30] Exterminador: without password as in he can't login? [18:30] EriC^^: no. without the need of password to login [18:31] Exterminador: you don't [18:31] Exterminador: ah, add a user as usual, then check the box that says autologin in settings > users [18:31] oh, that ^ [18:33] EriC^^: thanks a lot. could you also provide me the way to do it via command line, pls? [18:34] Exterminador: is this for a server or desktop? [18:35] 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] oh. I was looking for "adding user without password". thanks leftyfb [18:36] Exterminador: it's not without a password. The user has a password [18:39] In upstart, I would usually name my services based on clientname-project-service... for instance nasa-launchctrl-http [18:40] 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] I would stick with keeping a .service at the end of it [18:42] mustmodify: it's an extension there's .service .target etc [18:43] 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] mustmodify: sudo systemctl reload-daemon [18:45] When I start it, I get questions. So I guess it auto-registers, which is kinda nice. [18:47] mustmodify, what questions? [18:48] 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] reload systemd. OK I'll give it a shot. [18:50] always need to reload it after you and or delete a unit to the config directories. [18:50] 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] 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] hi [18:52] how i can active my sendmail for anope ? === tomaw- is now known as tomaw [19:08] is anyone using Steam here? is there a way to disable auto-updates? really annoying [19:09] Let me check. [19:11] hello, virtualbox says [19:11] modprobe vboxdrv [19:11] modprobe: ERROR: could not insert 'vboxdrv': Required key not available [19:11] how do i get this key? [19:13] qwebirc95665: disable secure boot [19:13] ecan i do this oudside bios? [19:13] i don't think so [19:14] 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] 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] miller7: you shouldn't have to do anything from ubuntu [19:16] Barabacha: For games, I think the properties for the games allow you to disable autoupdates except when launching the games. [19:16] Ben64: I should tag the ethernet port for vlan, right? So packets can flow [19:16] no [19:16] that happens on the switch [19:17] 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] 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] that makes no sense [19:18] 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] 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] 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] teward: The network person said "I must pass VLAN tag on the ubuntu packets". [19:20] https://wiki.ubuntu.com/vlan [19:21] sounds like a bad network [19:21] miller7: then you need to configure your interfaces for VLANS as Ben64's link provides. [19:21] miller7: but you need to deconfigure the bare interface and only pass data over the VLAN [19:21] 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] since they don't tell you jack about the network setup === [1]MrMobius is now known as MrMobius [19:26] 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 === HalfWord is now known as Byte === Richard is now known as Guest51509 [19:31] 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] teamviewer can do this [19:34] 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] adrian_1908, in this case, i'd say install rdesktop on xubuntu and activate Remote desktop on Windows [19:38] 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] hi [19:39] I am trying to create a new Laravel project. [19:39] Laravel required "php-mcrypt" - which is deprecated and does not exist on Ubuntu 18.04 [19:39] I tried to install it via "pecl" but this did not help the issue [19:40] is there really no "php-mcrypt" ? [19:40] adrian_1908, nope, in case i used xrdp, but not freerdp,sy [19:40] ok, np. either look great. [19:41] Rojola: did installation via pecl complete without error though, aside from not solving the issue? [19:41] Rojola: the only way to install mcrypt is via pecl; `php-mcrypt` was dropped by PHP upstream. [19:41] adrian_1908, yes [19:42] so no there isn't any php-mcrypt package in Ubuntu [19:42] since 18.04 (and onwards) [19:42] adrian_1908, I did it like this: https://askubuntu.com/a/1037418 [19:42] thank you teward [19:44] 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] thank you adrian_1908!! [19:47] When saving a text file, is it necessary to give it a file type? Such as .txt. === Byte is now known as HalfWord [19:48] printthesource: no [19:48] printthesource: no . not generally . [19:48] 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] thank you all [19:54] not getting the right button to auto run the mount anyone know why?: https://i.gyazo.com/fd6ca611641f0550e4c5552f7edfef6b.png [20:01] 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] 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] you don't need an MX record for those to behave properly though [20:04] when recording with my microphone how do i see the current sample rate? [20:04] how do i list the sample rates supported by the device [20:04] 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] teward thanks for confirming that for me [20:10] how do i see microphone statistics? [20:12] 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] it's running several services, mainly media focused like Plex, also some things like OpenVPN, etc. If that makes any difference. [20:25] hello [20:25] how do I upgrade or get my g++ compiler to support C++17 on a linux ubuntu ? [20:27] jil compile from source [20:28] ok google if someone has a ppa [20:28] s/ok/or === mindamp is now known as KipperedSnack === KipperedSnack is now known as mindamp [20:34] yes I'm trying to compile a lib from source and they ask for a compiler compatible with C++17 [20:34] my g++ is not. [20:41] granttrec: you say what ? to compile the compiler from source ? [20:42] yeah should have the latest stuff [20:43] jil which compiler are you using [20:43] whoops LOL [20:44] jil: clang probably has more support for c++ 17 [20:48] 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] _bruce also if you use gdb it will prompt for them [21:29] even when i do | 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] 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] blackflow for testing purposes because i was always getting spf neutral on my mail [21:38] blackflow so even when i say that any server is a valid mail server it says it isn't :P [21:39] okovko: I think it's saying neutral because you aren't assigning IPs. PASS is when the IP is given and matches [21:40] 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] courrier: what upgraded? the kernel? [21:42] blackflow: 4.15.0-34-generic #37-Ubuntu [21:42] I don't know what has actually been upgraded [21:42] 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] courrier: see /var/log/apt/history.log [21:43] <[Gort]> other than that, system works fine [21:44] 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] teward: You were right. Network guy said Ubuntu will get untagged traffic [21:45] blackflow: there's nothing related to bluetooth in there: http://paste.debian.net/1044406/ [21:45] Ben64: thanks for your help on vlan. Network guy said Ubuntu will get untagged traffic === echorelay is now known as echoRelay [21:47] 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] 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] But I think this is when i manually modprobed bluetooth [21:56] blackflow i tried it like this too: | v=spf1 ip4: -all [21:57] 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] i am at a loss as to why the ip doesn't match.. [21:58] 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] courrier: I don't know what it could be. grep the logs for any kernel messages (not by bluetoothd) for driver failures [22:00] okovko: tried how exactly? that " | v=spf ..." syntax is for what? [22:01] blackflow the spf record on dns config [22:01] what dns is that? [22:01] aint' Bind zone syntax, that's why I'm asking [22:02] or in other words, are you sure you have a valid TXT record? [22:03] and/or SPF rr, whichever you're setting (should do both) [22:05] blackflow yeah, i did both, i'm using cloudflare [22:07] 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] okovko: use mail-tester.com [22:07] okovko: it's also possible your "person email" is doing something of its own [22:07] *personal [22:09] okovko: also, did you check that your domain actually contains the record? you do so with dig from bind-utils [22:09] blackflow you think gmail is deciding to mark the spf record as neutral for some bizarre reason? [22:09] dnsutils actually [22:10] 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] 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] it's "passing" only by virtue of not having a policy so it's a pass. [22:11] meanwhile, set a proper record with a, mx or include and test it that way, not with an empty policy. [22:11] blackflow it was neutral with all of those, i've tried many things === semeion is now known as mnemonic [22:12] okovko: which rr is it? TXT or SPF? [22:12] or why are we playing in the dark. care to name the domain? [22:12] 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: -all" [22:13] 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] blackflow and i told you i'm using txt and spf records both [22:13] okovko: v=sp1 or v=spf1 ? [22:13] typo, spf1, i have typed it so many time snow [22:14] okovko: it would absolutely help [22:14] tgm4883 why's that? [22:14] 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] okovko: because then we could test it ourselves [22:14] okovko: rather that assume what you are typing is correct [22:14] that. [22:14] i guess what's the worst that could happen, i'd just rent a new droplet and grab another domain for $1 [22:14] okovko: reading some of the backlog you don't need an MX record for it to work [22:15] domain is www.olegkov.com and ip is 138.197.198.165 [22:15] tgm4883: if you're referring to what I said, I meant in the spf record, designate a,mx or an include [22:16] 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] okovko: that looks like a valid record, so the question is are you really sending mail from that IP? [22:17] Looks ok I suppose [22:17] 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] yea the next thing I'd want to see are email headers [22:17] blackflow mx and a were both failing same way [22:17] my bet is the mail is sent over ipv6 [22:18] it always tries to use ipv6 first, and DO should have valid ipv6 setups out of the box afaik [22:18] 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] maybe if i make an a record for my ipv6 address and use v=spf1 a -all it could work? [22:18] okovko: are you sure? no smart host or relay? the last Received outside of gmail is from that ip? [22:18] i only have an a record for ip4.. does it matter? [22:18] I'd want to see the headers before I confirmed anything [22:19] okovko: but does the droplet have an ipv6 address [22:19] can you view this? https://mail.google.com/mail/u/0?ik=3514a02cfc&view=om&permmsgid=msg-f%3A1612616332477247293 [22:19] and yeah, pastebin full headers please [22:19] 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] okovko: of course we can't :) [22:19] okay 1 sec, i'll paset it [22:19] lol [22:20] https://pastebin.com/g1mTw4pB [22:20] Didn't had the issue before on 17.04 (or even before that on 16.04 etc), nothing of the hardware changed [22:22] okovko: your email server isn't using FQDN for its hostname. SPF is actually tested against "olegkov-droplet" [22:22] okovko: and not olegkov.com [22:22] yea that's the issue [22:22] blackflow /etc/hostname is set to olegkov.com, isn't that enough? [22:22] blackflow: beat me by a few seconds ;) [22:23] i think olegkov-droplet is the bounceback address right [22:23] 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] it has mail.olegkov.com elsewhere in the mail [22:23] i used postfix [22:23] does spf test against bounceback address wtf [22:23] Return-Path: and From: ubuntu@olegkov-droplet [22:24] yeah that's return path that sounds right [22:24] those are tested, and in fact I think only From is, not Return-Path (envelope sender) [22:24] BLYAT [22:24] and that's wrong, should be ubuntu@olegkov.com [22:24] 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] okovko: you're looking for "myhostname" in main.cf [22:25] tgm4883 i have that field set to mail.olegkov.com -_- [22:25] so postfix is not entering the field correctly..? [22:25] 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] okovko: it is. you probably used sendmail without -f or From, and postfix appends myhostname in such cases [22:27] but it is supposed to enter the myhostname, which is not ubuntu@olegkov.com... anyway, i'll give that command a try [22:27] okovko: listen to blackflow I'm thinking of a different mail issue i'm working on [22:27] tgm4883 blackflow thanks to you both for your help [22:27] it's actually `myorigin` but that defaults to `myhostname` [22:30] 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] blackflow i get this now https://www.mail-tester.com/test-310n2 [22:30] and yes i also changed /etc/hosts [22:30] it maps my public ip to mail.olegkov.com [22:31] the from field is correct but spf still says None [22:31] wth "mail.olegkov.com@olegkov-droplet" that's wrong [22:31] lol [22:32] i used mail binary, i guess i will try sendmail? maybe it doesn't randomly append that [22:32] okovko: echo "From: ubuntu@olegkov.com\nTo: \nSubject: Test\n\n Yay!" | sendmail -f ubuntu@olegkov.com [22:34] blackflow now this https://www.mail-tester.com/test-lnvx9 [22:34] woooo spf pass [22:34] man thank you blackflow, so i know for sure it is some postfix configuration bs [22:36] 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] I just always explicitly set names in main.cf, myhostname. [22:37] well i want those names to be mail.olegkov.com, why does setting those fields to that break spf? [22:37] btw, if I disappear, we have some power issues here and my UPC ain't infinite.... [22:37] yeah, i get it, thanks (: [22:37] i guess ubuntu@olegkov-droplet is a fine name as any! lol [22:37] 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] anyone use sublime text from the sublime ppa? is it buggy? [22:38] and postfix thinks olegkov-droplet is your fqdn [22:38] 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] okovko: at any rate, this is beyond ubuntu so perhaps you could ask in #postfix for more help ;) [22:38] blackflow yes, thanks (: [22:39] okovko: btw if you're sending from mail.olegkov.com then you need SPF records for mail subdomain too [22:39] 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] 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] Does anyone happen to know which ANSI escape sequence prints a literal escape character to the screen? [22:41] blackflow yeah i used dpkg-reconfigure postfix and then service restart postfix [22:42] okovko: did you actually check in main.cf? what does postconf -n say, can you pastebin? [22:42] `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] ChaiTRex: what literal escape character is that? [22:43] blackflow: I want to print the escape character to the screen without it being interpreted as an ANSI escape sequence. [22:43] blackflow: So \e itself. [22:44] ChaiTRex: yeah but which one is that? I never heard of it being a charcter unto itself [22:44] blackflow myorigin=/etc/hostname and myhostname=www.olegkov.com [22:44] as in, noascii code or anything like that [22:44] actually myhostname=mail.olegkov.com, sorry [22:44] okovko: and come again what's in /etc/hostname? [22:45] blackflow: see e.g. decimal 27 on http://www.asciitable.com/ [22:45] oh how about that! my bad. [22:46] blackflow /etc/hostname: 'mail', and /etc/hosts: ' mail.olegkov.com mail' [22:46] i got those from some digital ocean guide to setting up send only postfix [22:46] blackflow: Basically, I want to send an escape sequence not to the terminal, but to the terminal it's contained within. [22:46] blackflow: If I'm running a terminal inside a terminal. [22:47] blackflow: So I need the inner terminal to just print an escape character and then the containing terminal catches it. [22:47] okovko: well that's wrong for myorigin, as myorigin should be fqdn, not just the "hostname" part of it [22:47] okovko: I'd advise to not set it (leave default = myhostname) [22:48] 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] ChaiTRex: terminal inside terminal? how, with screen? tmux? [22:49] blackflow: Yes. [22:51] 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] blackflow: With tmux. [22:54] blackflow: Thanks, I'll check. [22:58] upgrading to 18.04 as we speak [23:00] I daren't upgrade to 18.04. I will be out of my comfort zone ;) [23:00] still doing 14.04 lts? [23:01] 16.04 LTS [23:02] How suave. [23:03] 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] Yikes. No thanks. Sticking with what I have. I'm too much of a newbie to struggle. [23:06] bprompt: please be careful about spreading FUD. Many people have installed or upgraded to 18.04 without issue. [23:07] indeedy. [23:07] 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] 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] Also how can I move my install from /sdb4 to /sda1? [23:08] Hi [23:09] how do i disable anti aliasing terminal ubuntu? default everything rn [23:09] 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] bprompt: i'm done talking about it, though. have a nice day [23:10] MannyLNJ: maybe check the X logs? [23:10] 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] MannyLNJ: are the partitions identical? [23:11] bprompt: this is the ubuntu support channel, if you want to voice opinions, please use #ubuntu-offtopic or an appropriate channel [23:11] uboa: display settings, i think? or try the gnome tweak tool [23:11] nacc: fair :) [23:12] 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] MannyLNJ: moving the data itself is the easy part, but then you have to update your configuration file correctly [23:12] uboa: you mean antialiasing of font pixels in terminal? [23:14] nacc, Is there a guide for idiots? I would start over but I just got DNSMASQ setup properly for my needs [23:14] MannyLNJ: I mean, you can just copy files (rsync, cp even (although slow)) between filesystems [23:14] MannyLNJ: but it won't be dropin replacement [23:15] MannyLNJ: e.g., /etc/fstab will refer to the old partition [23:16] nacc so I could rsync, then edit fstab and re-run grub? [23:17] MannyLNJ: https://askubuntu.com/questions/741723/moving-entire-linux-installation-to-another-drive [23:17] MannyLNJ: well that was one exmaple, there are probably other files that need updating, including the grub ones [23:18] MannyLNJ, sleep, which graphics card? [23:18] MannyLNJ: that AU answer implies only fstab needs updating, so maybe that's it :) after reinstalling grub [23:19] jcdutton, It's integrated in the motherboard LSPCI says it's a Trinity [Radeon HD 7560D] [23:20] 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] 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] MannyLNJ, uname -a What version of kernel are you using? [23:24] vimar, yes please and thank you [23:24] jcdutton, 4.15.0-34-generic [23:24] MannyLNJ, that should be new enough [23:25] thanks for the help going to reboot now === capella is now known as capella|away