[00:00] sorta like how sarnold had you generate the file in the first place (which I thought was pretty fancy) [00:01] :) [00:01] yes, thanks sarnold , it worked [00:01] woohoo === tds0 is now known as tds [00:03] Am I right assuming you mastered maths and physics while being in high school? [00:03] you = mods [00:04] and bioogy [00:05] *biology [00:07] till next time [00:07] frad: yeah, that was me :) [00:07] d'oh [00:13] re: vis as an editor... I hadn't heard of it before. It is going to be like... neovim but even lighter weight? [00:14] for that matter, I've never hear of the sam editor either. [00:25] Excited for 20.04? [00:25] I know someone that is. [00:25] sure [00:26] yay! [00:26] such excitement [00:27] I have a raspberry pi 3 running Ubuntu 18.04, havent used linux in a while cant seem to figure how to make it autologin to the text based terminal (tty1) on boot. Can anyone help or point me in the right direction? [00:28] Need to get rid of the display manager to do that. [00:29] everyone seems so exicted about new ubuntu, while me seeting with ubuntu i3wm all stable :D [00:29] i stopped it from loading via systemctl i have it loading the text based login [00:30] boot multi.user target, systemctl set-default multi-user.target # and obiously; sudo systemctl set-default graphical.target # to get gui again [00:30] didnt know if there was a script i could make and possibly add to rc.local or something to make it load. [00:30] yeah i just did that recently to make it not load the gui [00:30] but i cant seem to make it autologin [00:31] bad63r, yeah but you don't need the neweset darktale or gimp to get shit done. [00:31] *darktable [00:31] linusmaximus: please mind the language, this is a family friendly channel [00:32] linusmaximus: if you'd like to chat about various topic on Ubuntu, please join us in #ubuntu-offtopic. Support for system issues is being offered here [00:35] Has anyone had issues with Ubuntu server 18.04? I can't get to my external HDD at all. [00:37] oppenheimers_not: have you tried rebooting, testing the drive on another machine, trying a different drive on your current machine, checked to make sure all the cables are firmly plugged in, tried a different cable, tried a different port? [00:37] I tried booting a live disk and was able to find it in the file manager and terminal. But Server can't see it. [00:39] Yeah, fdisk -l shows that something's plugged into sdb1 but I can't mount or navigate to it [00:39] sudo blkid # lists UUIDs for all attached devices (mounted or not). [00:40] TaneSoup: I don't know how accurate this article is, but it seems to be similar to what you are looking for: https://askubuntu.com/a/776197 [00:40] ok thankyou ill take a look [00:41] oppenheimers_not, has it worked before on your server? [00:41] drleviathan: I tried plan9 for a few days twenty years ago, so I'd seen sam, but it didn't make a damn bit of sense back then :) [00:42] it did on server 15.04. [00:44] DA200 Dell USB adapter ethernet working in ubuntu 18.04 .. how to make it work? [00:45] TaneSoup: so, this looks a bit involved, but it looks possible [00:45] TaneSoup: check out the --autologin option listed in the agetty(8) manpage [00:46] TaneSoup: then check out the Exec= line in the output of: systemctl cat getty@.service [00:46] TaneSoup: I'm sorry, ExecStart === takov7515 is now known as takov751 [00:48] TaneSoup: you ought to be able to add an override to the systemd unit file with: sudo systemctl edit getty@.service --- add [Service], then ExecStart= .... -- and here modify the line to whatever it is agetty needs in order to run the autologin option [01:13] Thank you i was able using mingetty to get it to autologin [01:15] now the next step was to make this script load on login it seems to not be loading i used the method of adding a symbolic link to my /etc/profile.d and it didnnt work, so i tried to make a script to call my other script in same folder and still nothing any ideas on a way to call a script when user ubuntu logs in? [01:15] And iof possible have it load said script on the same visable terminal tty1? [01:19] TaneSoup: try calling your executable from you ~/.bashrc or ~/.bash_profile or ~/.profile -- I never learned the differences in the files, I've got loads of stuff in my ~/.bashrc [01:21] systemwide /root/.bashrc [01:22] that'll work when root logs in [01:22] no one else can read that file [01:23] (and no one else's bash will even try to read it -- they are configured to read the /etc/ files and $HOME files, not someone else's HOME files :) [01:25] is it possible to change the polkit dialog? [01:26] also, which rule is responsible for the software centre? [01:37] if i were calling it from ".bashrc" what would be the recommened method ( ".path/to/script.sh" | "bash path/to/script.sh" | " ExecStart=/path/tpo/script.sh" ) [01:38] probably path/to/script [01:38] or /path/to/script === zbenjamin_ is now known as zbenjamin [01:40] hi, enabled night light on 18.04 (using GnomeShell). Monitor 1 doesn't apply the night light setting. How can I fix it? default is monitor 2, that one enabled night light. [01:46] alright so good news it seems to be calling the script on boot. But I think i have some directory issues going to go try to sort that out be back after. Thank you very much sarnold [01:46] Mr some tips; enable single display while setting nightlight, and then join again [01:46] https://askubuntu.com/questions/983844/night-light-vs-dual-monitor [01:46] TaneSoup: woo cool [02:22] would anyone here know why executables in a folder added to path would be unable to be found by bash? [02:23] orner: the usual problems are (a) forgetting to set the executable bit on the file (b) the file uses an interpreter that can't be found (c) there's an already-hashed path to an executable in the running shell [02:27] There can also be executables wi the same name which get run first depending on what order the paths are in [02:28] all was going good but it seems to be stuck in a bootloop (if u call it that) not sure why, auto logs into ubuntu and on load tried to load the script which logs it out and then it does it all over, i can switch to tty2 but iirc the root password is disabled.. is there anyway to edit the ./bashrc file ? [02:29] i know it has execute permissions and that there shouldnt be any conflicting executables [02:31] orner: Did you logout/log back in since you edited the path ? [02:31] ive restarted [02:31] autofill even picks up the added binaries [02:32] orner: Where did you add it, in ~/.bashrc , somewhere else? [02:33] i added it in /etc/environment [02:33] I have 3 nic with netplan, two are for internal network only, but netplan is setting all 3 as default so i can’t access the internet. How do i make netplan not add them as defaults? I looked at manpage and saw route-metric from dhcp overwrite, but since theyvare static routes i dont think it will work. [02:37] TaneSoup: You should never activate our use root with Ubuntu. there is no need to [02:43] hi there, lets say source send a packet to destination. now before the packet gets received in destination. is it possible for the source to change its originating ip in linux may be through snat or dnatso that the destination somehow knows that ip is from y.y.y.y and not x.x.x.x [02:44] i hope not .. [02:46] fsd: that's what SNAT does in a forwarding router [02:52] so turns out its only bash that cant access this file even though its marked as executable [02:56] orner: what is the exectuable file type? wrong architecture maybe? [02:57] orner: have you checked what "which -a " reports? [02:58] it reports the correct path, as does bash when it claims that it cannot find the file === Mrokii_ is now known as Mrokii [03:00] orner: what does "file /path/to/file" report, also compare to "dpkg --print-architecture" [03:00] file reports that its an x86 executable [03:02] the system is 64 bit [03:04] orner: now compare that to "file /bin/bash" as an example... sounds like the system is 64-bit and you're trying to execute a 32-bit binary without all the required libraries. So, also look at "ldd /path/to/executable" to see what is missing [03:05] ldd only returns "not a dynamic executable" [03:06] oerheks, thanks. When I disable join displays by selecting single display. Only monitor number 1 is enabled. monitor 2 goes to power saving. When I enable night light I see that it is still not enabled on monitor 1. Could this be a setting on the monitor hardware where it may have been disabled? [03:08] orner: ahhh! show so statically linked 32-bit [03:09] MrKeuner, i have no clue, color profiles .. did you try to reset the monitors to factory defaults? [03:10] orner: try this https://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit [03:13] oh wow thanks! [03:14] never had to troubleshoot this type of issue so i didnt even know what to search === Eickmeyer is now known as Eickmeyer-Quasse [03:19] orner: there are a couple of issues: 1. having supporting 32-bit libraries (for dynamically linked executables - which your's isn't) and 2. kernel support for all the 32-bit syscalls that the binary might make (the kernel interface for 32-bit is different to the 64-bit, but 64-bit does try to present a compatibility interface for *most* 32-bit syscalls) === Eickmeyer-Quasse is now known as Eickmeyer[q] [04:23] hi all. what should I try to kill/restart in the following scenario: I'm using an IDE for coding and whenever I try to save a new file, the standard Unity "file explorer" is opened but it looks crashed (nothing happens wherever I click/type). I just noticed the same happens if I open the "system settings" app: its window is totally static (I can't even close the window) [04:24] anyone ? [04:27] insanidade: The file explorer is "nautilus". [04:30] Jordan_U: thanks. but what if the "system settings/configuration" window is also crashed? [04:32] looks like mouse clicks are being captured but nothing is "repainted" in the screen [04:33] what should I look for in in the processes ? === bpsecret- is now known as bpsecret [04:39] Jordan_U: just found a solution. I just restarted X (actually using gnome as window manager). thanks for your answer. === the_ant1 is now known as the_ant [05:03] hi, can i remove snap from ubuntu 18.04 [06:12] hello, my /var is almost full but I don't see what's taking 3.5G. I've tried several solutions but I don't understand. Paste: https://paste.centos.org/view/31b3f547 [06:13] I also tried it with ncdu but I got the same result. [06:14] try with du -haxd1 /var | sort -h [06:15] it includes "hidden" files in addition, in case that's where the space is going [06:16] could also be that there are files hidden under the /var/log mount [06:20] geirha: I just tested with your parameters and it's the same result: https://paste.centos.org/view/ff021e06. For the folder /var/log it is a partition that is not counted and even adding it up I don't reach 3.5G. [06:21] To check for the latter, mount the sys-var filesystem a second, temporary place to investigate it without the extra sys-log volume mounted over it. E.g. mount /dev/mapper/sys-var /mnt/tmp && du -haxd1 /mnt/tmp | sort -h === the_ant1 is now known as the_ant [06:23] geirha: If I mount sys-var filesystem I'll have to unmount the current path? This is not a problem? because it is a production machine. [06:24] no, you can have the same filesystem mounted multiple places [06:24] you don't need to, and should not, unmount /var [06:32] exit70: you can, if you don't need it, and don't use gnome - aiui parts of gnome are now in a snap [06:42] geirha: same result https://paste.centos.org/view/9622a2de [06:47] i have a problem with my sound settings being overriden/reset every time i attempt to set them [06:47] ok, so there wasn't anything hidden under that log mount. Then it must be some large file that has been deleted (unlinked), but some process or processes are still holding the file opened, so it still takes up space. Once all processes keeping the file open are gone, the space will be freed [06:48] i installed some software to use an sdr and this created a couple of new sound devices, namely quiskdigitalinput and quiskdigitaloutput.. but i have removed quisk entirely, but i'm still stuck with these devices [06:50] geirha: Isn't there a way to see which process keeps which file open? Basically a simple reboot should solve the problem. [06:55] if it's a case of an unlinked file taking up the space, a reboot should solve it, yes. fuser -m /var will list the pids of processes that has files open on that filesystem, but it may be hard to track down exactly which of those is the culprit, and what file(s) it was [06:59] geirha: That's perfect, I think I know what the process is that maintains the connection. Thank you very much for your help! === mateen1 is now known as mateen === recklessop5 is now known as recklessop === LabMonkey is now known as Mechanismus [08:45] Hello ! Everytime I try to edit a file with nano, a message tells me that the file is already being edited with root (PID 2546). But this PID is invisible when I run "ps -aux". If I try to "kill -9 2546", it says "no such process". I tried to reboot 2 times but it doesn't resolves my problem. Can anyone help me ? Thanks [08:47] hello [08:47] i am thinking about moving my /home folder to another partition [08:48] how to do that? [08:53] amprxc: Take a look at this link: https://askubuntu.com/questions/730188/file-var-log-syslog-is-being-edited-message-in-nano/730195#730195 [08:54] amprxc: It's probably a leftover lock file and that process no longer exists [09:04] fcgreg thanks ! I will look that link === PowerTower_121 is now known as PowerTower_120 [09:16] Hi, my father has Inspiron 15 3000 with Ubuntu 18.04, and latest -hwe kernel 5.3 fails to boot, it seems it hangs on loading initrd or soething like that. 4.15 works fine. [09:17] On 2020-03-22 16:11:26 update was performed, and it no longer boots after that. [09:17] I've removed bunch of -hwe package to leave only 4.15, but yeasterday after update they still got back :) [09:17] I've instruced father to select 4.15 via grub, it works. [09:18] This is that first "bad" upgrade; [09:18] https://paste.debian.net/1139031/ [09:18] Have anyone heard of this kind of issue? [09:21] Someone else got freeze, but it has Prime (which is not the case with that Inspiron): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1868149 [09:21] Launchpad bug 1868149 in linux (Ubuntu) "When booting with intel graphics (enabled through prime-select), the computer freezes rigth after selecting 'Kubuntu' in GRUB" [Undecided,Confirmed] === dtomato9 is now known as dtomato [09:30] created bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1871590 [09:30] Launchpad bug 1871590 in linux (Ubuntu) "Kernel 5.3 fails to boot on Inspiron 15 3000 running Ubuntu 18.04 since 2020-03-22 update" [Undecided,Incomplete] [09:47] \join #python [09:48] wrong slash [09:53] hello everybody, [09:53] i need to setup a new ubuntu server [09:54] i know there is a new release 20.04 [09:54] but i need to work on that server today [09:54] if i update 18.04 to 20.04 automatically does it will broke something? [09:54] iwhat is the correct way to update LTS releases [09:56] asdfgh: just use 18.04 [10:04] hmm sixwheeledbeast why? [10:04] there is a new release coming [10:05] if i work on that server then i need to reinstall everything in news weeks [10:05] because it's not released [10:05] *next weeks [10:05] sixwheeledbeast, yeah i know but 23 of this month [10:05] no? [10:05] i am asking if i can upgrade 18.04 directly [10:05] or i must reinstall everything [10:05] ? [10:06] you can just system upgrade in a view months, date isn't guaranteed its a target [10:06] what is the server for? [10:07] Hi guys. I'm trying to upgrade an old 16.04 syste, but I get this error (https://pastebin.com/mrb9snft) [10:07] any idea how to fix this? [10:08] sixwheeledbeast, web [10:08] nginx/php mariadb [10:08] how to see my cpu info?? [10:08] sixwheeledbeast, yeah it is not a problem i can upgrade the ubuntu this summer too it is not a big problem i am asking if i can do it or i need to reinstall everything [10:09] asdfgh: just use 18.04 it's supported for agood few years anyway, shouldn't need to reinstall no [10:10] badsektur: what kind of cpu info [10:10] sixwheeledbeast, so do you think it is not good install the new release when it will be released? [10:10] sixwheeledbeast, like i3 8100 [10:10] DuckyDev: you just need to update/upgrade? [10:11] upgrade [10:11] I wan't to upgrade the packages but not the Ubuntu version. [10:11] asdfgh: I always wait until the summer to upgrade for stability just in case. [10:11] sixwheeledbeast, ok [10:12] DuckyDev: so that package is missing from the sources you have [10:14] DuckyDev: force an autoremove to see if resolves the conflict? [10:38] I updated today, 19.10 and now lxc container can't get to network. [10:42] Ubuntu 18.04.3 I want to connect to windows 10 with Bluetooth for sending audio to a windows 10 machine. I manage to connect but i can only send audio from windows 10 to ubuntu and not the other way around. When i go to the sound settings at ubuntu i cant choose bluetooth at output devices its only in the input devices any ideas? [10:42] !lxc [10:42] LXC containers can be used to run isolated Linux systems with less overhead than a VM. https://help.ubuntu.com/lts/serverguide/lxc.html and https://linuxcontainers.org/ [10:43] Howdy folks [10:43] Drone you can address [10:43] who can help Ubuntu installation Language Pack Error [10:43] sixwheeledbeast: that did the job! [10:43] thanks and sry for the slow reply. [10:43] DuckyDev: np [10:44] sixwheeledbeast: do you happend to know how I can remove old kernels? I'm on 4.15 but I would like to remove 4.8 [10:44] and sudo apt --purge autoremove does not do the job [10:44] DuckyDev: sudo apt-get purge [10:45] I'd just leave the ones that don't get cleaned up automatically. [10:48] if you need to remove them as above they will be linux-image and linux-headers etc [10:53] Can anybody recommend an audiobook player for Ubuntu, doesn't need to be special, just to remember where its up to in a book. I know I can use VLC etc, but they don't remember where I'm up to when I restart the app. I saw cozy audiobook player mentioned, but its not in the repos or in a ppa, so would need manual intall, any other suggestions [10:53] Files will only be mp3 [10:55] Looks like its available as a flatpak, but not sure how well that integrates with 19.10 === arunpyasi_ is now known as arunpyasi [10:57] DJones: this looks promising https://openaudible.org/ [10:58] lotuspsychje: Thanks, I'll have a look at that [10:58] Fetch from github and build it? [11:22] Hi all. I've installed nextcloud-snap on Ubuntu server together with Plex. I want Plex to be able to access the nextcloud data located under /var/snap/nextcloud/common/data, but this folder is owned by root:root, and the "plex" user needs r+x access. I could add "plex" to the root group, but that seems like a bad idea. Could I instead create a new group media-data consisting of root and plex, and [11:22] transfer ownership of the data folder to root:media-data? [11:27] everytime i boot a pop up saying report problem [11:27] schadegg: see also the #ubuntu-server channel perhaps they might know also [11:27] how i can fix this? [11:31] found these [11:31] _usr_bin_caja.1000.crash [11:31] _usr_bin_caja.1000.upload [11:31] _usr_bin_caja.1000.uploaded [11:31] _usr_lib_x86_64-linux-gnu_brisk-menu_brisk-menu.1000.crash [11:31] _usr_sbin_lightdm.0.crash [11:41] Good morning. I have an 18.04 server I host a bunch of VMs on. My cat keeps turning it off via the keyboard power button. [11:41] I've found a number of instructions on disabling this in a GUI environment, but how do I nerf it on server 18.04? [11:43] JonathanD: Why not just unplug the keyboard when you're not needing access to the machine? [11:44] pragmaticenigma: I mean, sure, but I'd think there has to be a better way... [11:45] JonathanD: Yes, there is a slightly better way... buy a keyboard that doesn't have a power button. Around here a simple keyboard costs all of $12USD ... and won't create headaches later down the road when you can't figure out why your keyboard stopped working [11:45] It's on a KVM (video switch, not virtualization thing) I access frequently, and I was able to disable the key on the other devices on it. [11:45] A linux and a windows desktop. [11:46] See, I don't like replacing perfectly good hardware because of what should be a pretty straightforward setting.. [11:46] It's not the cost, it's the waste. [11:47] So neither of those are good options. I'd prefer to disable the key. [11:55] JonathanD: If you really don't use/want that key on the keyboard, instead of having to alter each OS config from here on out, why not open the keyboard and break one of the lines from the switch? You could always reconnect it later. [11:56] probably could slip a piece of paper between the button and the circuit board if it is a membrane keyboard [11:59] JonathanD: Did you already modify /etc/systemd/logind.conf ? [11:59] JonathanD: There isn't a programable solution because keyboards are not setup the same way as they are in the GUI. WHen a user logs out (and with this being a server one would hope you are logging out) the keyboard settings (mappings) are "forgotten" so they won't interfere with the next user. You can use xev to try and intercept and figure out the keycodes... but there is no guarantee that won't trigger the shutdown before you [11:59] can see the keycode [12:00] Yeah, it's not logged in when this is an issue. [12:01] As far as physical solutions go popping off the keytops might be the least annoying, if there's not another wya. [12:02] JonathanD: I wasn't suggesting removing the keytop... if this is a membrane based keybaord, you just need to interupt the pad underneath the keybaord from making contact with the circuit board beneath it. A piece of paper should do nicely. I've done this to TV remotes to my elders to prevent them frmo accidentally changing settings on their TVs with all the extra buttons on their remotes [12:03] JonathanD: if it is a phyiscal switch keyboard, you would only need to cut the lead from the key to the keyboard. You can easily resolder it back together in the future when you would like to re-enable the key [12:03] is there a way to purge old kernels?Seems in 18.04 byobu package is deprecated in favour of apt,however i still have old kernels present? [12:04] vlm_: "sudo apt autoremove" would be the first place to start [12:04] Just went back to see about getting the keycode. [12:04] The cat was on the keyboard. [12:04] again. [12:04] sigh :) [12:04] pragmaticenigma: yeah, I follow, but just removing the keytops would be 2 seconds. they do pop right off. [12:05] pragmaticenigma already done they are still present [12:05] JimBuntu: I'd imagine that's only for post-login? looking at it now [12:06] vlm_: This should still work in newer versions of Ubuntu: https://help.ubuntu.com/community/RemoveOldKernels#Safely_Removing_Old_Kernels [12:08] vlm_: maybe you can also explain a bit more what you ddi to your system, so the volunteers can help you better? [12:11] lotuspsychje i tried to use the byobu package but no luck also did the autoremove no result,i knew somehows this could be done manually just hoped it could be done through apt-get/apt command [12:11] vlm_: did you install !mainline kernels or something? wich kernel versions are still present in your system? [12:12] hello [12:12] JonathanD: You *might* be able to make something of use with the /etc/default/keybaord file. See "man keyboard" for more information [12:13] can you recommend an alternative to "authenticator" app? [12:13] (otp generator) [12:13] lotuspsychje not installed anything other than what came with through regular updates "these sre currently presetn linux-image-4.15.0-72-generic linux-image-4.15.0-74-generic linux-image-4.15.0-76-generic linux-image-4.15.0-88-generic linux-image-4.15.0-91-generic [12:13] i like the app but its not generating the correct codes, might be due to no support for totp or sha512 [12:13] hollusion: For software recommendations, polls, and asking for opinions, please join us in #ubuntu-offtopic [12:14] alright, sorry for that [12:14] !info linux-image-generic bionic [12:14] lotuspsychje uname -sr yields Linux 4.15.0-91-generic [12:14] linux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 4.15.0.96.87 (bionic), package size 2 kB, installed size 16 kB [12:14] vlm_: try update your system please [12:15] !uptodate | vlm_ [12:15] vlm_: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [12:16] lotuspsychje already update,im running daily updating [12:16] vlm_: then somethings not right, your kernel on bionic should be 4.15 -96 [12:17] lotuspsychje could there be something wrong with it?Im on LTS though? [12:17] vlm_: do you have 'main' enabled in your sources? [12:18] lotuspsychje ill check [12:19] lotuspsychje think i might found the culprit [12:19] lotuspsychje somehow the sources.list was well,empty :) [12:20] right, thats not handy [12:20] update quickly now :p [12:20] lotuspsychje yes figure not gettting any update lol [12:20] vlm_: bionic also has auto kernel cleanup now, so should take care of that [12:21] lotuspsychje thanks for help yeah i saw that in the package infor of byobu also cheers! [12:21] good luck [12:28] hyello, im looking fro suggestions really. i used to used timeshift to save regular snapshots of my system in case its FUBAR but it can only restore GRUB and not systemd (so ive learnt the hard way) [12:28] is there a snapshot tool that is systemd friendly i can use? [12:31] LaRose_Bleu: making regular offline backups preserves everything [12:34] yeah pragmaticenigma i know but im looking for a reliable automated solution that makes it easy for a noob like me [12:36] LaRose_Bleu: to my knowledge nothing like that exists === beaver is now known as beaver_ [12:37] pragmaticenigma timeshift does it, beautifully. but it doesnt play nicely with systemd boot === beaver_ is now known as beaver^ [12:38] im looking for a systemd friendly timeshift alternative pragmaticenigma. it really doesnt even has to be as good it just needs to work once [12:41] LaRose_Bleu: Try asking in #ubuntu-offtopic... that's the place to ask for software recommendation, conduct polls, or ask for people's opinions [12:41] gotcha [12:58] hi [12:59] how can I restore my system after messing up some installations or settings [13:02] hello [13:05] your install media should have restore options mase-tech [13:09] windows is doning snapshots at certain points in time [13:09] can ubuntu do that also [13:16] Hi [13:16] do you know if it's possible to swithc a zfs install ubuntu to a Zsys compatible one ? [13:44] If I install software using unofficial PPAs, dowloaded deb files or build using makefiles, I'm potentially exposed to malware? [13:45] !ppa | Hamilton [13:45] Hamilton: A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [13:46] pragmaticenigma, So all software you use come from PPA? [13:46] Hamilton: No [13:47] pragmaticenigma, You review the source of the apps outside PPA? [13:47] Or just trust the developer(s)? [13:47] Hamilton: This is not a support question, please use #ubuntu-offtopic [13:49] is there a ZFS dedicated ubuntu irc channel ? [13:49] i doubt it [13:50] is there a dev dedicated ubuntu channel ? [13:50] nomad_fr: #ubuntu-app-devel and #ubuntu-dev ... make sure you read the room topics very carefully to determine which one is right [13:51] nomad_fr: sorry the second one should have been #ubuntu-devel [14:09] nomad_fr: for zfs questions, try #zfsonlinux [14:10] Do I really need python 2.7 on ubuntu? [14:11] ducasse: I obtain my answer on ubuntu-devel : Zsys isn’t perfect as it won’t manage manually installed setup :) [14:12] hi, how do I get to pts/0 from pts/1? dpkg seems to be stuck somewhere pts/0 S+ Mar25 0:00 /bin/sh /var/lib/dpkg/info/linux-image-5.0.0-1035-azure.postinst triggered linux-update-5.0.0-1035-azure [14:24] Haled: Only if you want to keep your system up-to-date and be able to use other system tools [14:26] lucido: Azure clound instances are not supported here... you need to contact Azure technical support for help [14:33] My ufw status is saying `inactive`. Is it default? [14:34] Hamilton, install gufw and turn it on. [14:35] nikolam, Do I need to install something to enable firewall? Isn't it really available by deault? [14:35] Hamilton: The firewall is installed by default, but it is not enabled by default [14:36] pragmaticenigma, Why? [14:36] Is there a downside to enaling it? [14:36] Hamilton, ufw is command line tool to set it up, I just use gufw, because it is easy. ufw is also easy. ufw it actually tool for setting up Linux iptables. [14:37] Hamilton: because only you are the best person to decide what you do and do not need it enabled [14:37] pragmaticenigma, So it is not like windows firewall that is always enabled? [14:37] Hamilton, like when you install new machine and want to access it. If you put firewall up before that, you won't be able to set anything up, including firewall, remotely. So there is logic in that. [14:37] Hamilton: again, you are nw in offtopic territory [14:40] Hamilton: If you have a specific support question, please ask it... if your question is to ask "why" something is the way it is, that belong in #ubuntu-offtopic [14:40] pragmaticenigma, thanks === harm_ is now known as urth [15:03] sometimes when I create an ubuntu USB install drive using CLI+dd it just works, but then other times it doesn't and I have to resort to the GUI "create install disk" tool [15:03] why the occasional failure? What is the pattern? [15:13] probly forgetting to unmount the the target drive [15:14] https://ibb.co/fksxP4h deleted Ubuntu and now grub gone too. Have windows 7 on same hard disk as I dual boot. How do I get back to grub to be able to boot Ubuntu cos I don't have the resources to reinstall presently [15:14] drleviathan: could be an unmount issues... could also be how your setting DD to write blocks to the drive [15:15] !grub | rom-- [15:15] rom--: GRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2 [15:15] Hey. I'm trying to use debootstrap (with fakeroot and fakechroot) to install an ubuntu. [15:15] Right now, the installation fails, and I get this message: addgroup: The group `systemd-journal' already exists as a system group. Exiting. [15:17] Full log: https://0x0.st/iSND.txt, any idea how to proceed ? [15:17] Pragmaticenigma: I deleted Ubuntu already now how to get grub [15:19] so pragmaticenigma you're saying: the bs= argument matters when using dd to write a bootable image to of=/dev/sdb ? I used bs=1M, as per my notes from previous successful attempts. [15:21] drleviathan: maybe you unplug the usb drive to fast. dd is using the system cache. When dd is finished the kernel may not be finished with writing data to the drive. Try to use sync after dd, before unplugging the drive. [15:21] drleviathan: dd has the status=progress flag [15:21] my issue has nothing to do with azure, I would just like to know how to connect to the pseudoterminal pts/0 to finish the package configuration [15:21] drleviathan: I know that it is recommended... so I think you are doing it right... perhaps try executing "flush" (I think that is the command) and waiting a 15/20 seconds before pulling the drive [15:22] old guy here ... I do sync;sync;sync [15:23] I don't think dd writes anything to a cache before sending to a device... but can't hurt to be certain [15:23] huh. alright I'll try that later today. I have a working install USB drive now for 20.04 but I'll make a second one to see if I can properly sacrifice that rooster. [15:23] rom--: I'm not understanding what you are trying to do [15:25] dd itself doesn't... but the block device layer does [15:25] pragmaticenigma: dd does write to os cache. [15:25] though in any case, AFAIK it's *not* the same cache as the one handled by `sync` [15:25] instead you might want `blockdev --flushbufs` [15:25] interesting, thanks for the tip [15:26] drleviathan: did you see that from grawity ? [15:26] yes, I will add that to my incantation. [15:28] drleviathan: It's from ArchLinus but thats what I always use: https://wiki.archlinux.org/index.php/USB_flash_installation_media#Using_dd [15:28] I don't know whether dd's own oflag=fsync and/or oflag=nocache can be used as a replacement... there's also oflag=sync which seems like it makes every individual write synchronous, which might be fine given a large bs= [15:30] Did you see the img I pasted [15:30] Pragmaticenigma [15:30] Very interessting StaockOverflow on dd and sync https://stackoverflow.com/questions/49489798/is-running-sync-necessary-after-writing-a-disk-image [15:31] https://ibb.co/fksxP4h [15:31] holy Legba's trousers: "try repeating the dd medium creation process on the same USB drive one or more times" [15:31] rom--: That doesn't help me understand what exactly you are trying to do [15:32] meanwhile I don't understand "deleted Ubuntu ... how do I get back to booting Ubuntu" part [15:32] what *did* you delete [15:33] I deleted Ubuntu so I thought windows 7 will load and noticed grub deleted too so how I get grub or windows 7 to load as I can't reinstall Ubuntu cos I don't have the amenities here [15:34] you need to ask this in ##windows [15:34] rom--: grub is a linux thingy, for windows boot issues, i guess you need to ask in ##windows [15:34] rom--: You will need to use your windows recovery disk to restore windows... help available in ##windows [15:34] badsektur: was faster [15:34] fastest channel director in the wild west :) [15:35] Shit I just said I don't have the installation disk and so on ... Thought I can do something to restore grub without iso image or so [15:35] rom-- you're bummin'. I would look at that as requiring a complete reinstall of at least ubuntu. [15:35] rom--: mind the language [15:36] Yes I mind and sorry [15:36] I knew a guy who manually edited the MBR to rescue something like that but it was complete magic from my perspective. [15:36] Hmmm [15:37] rom : https://askubuntu.com/questions/493826/grub-rescue-problem-after-deleting-ubuntu-partition [15:37] the Windows installer CD/USB already has necessary tools (bootrec and bcdboot) [15:38] rom--: see the message from zege... that might get at least up and running temporarily [15:47] hello, i'm trying to get my logitech mx master to connect via bluetooth [15:47] (bluetooth mouse) [15:47] i have tried using blueman and it fails to pair [15:48] i have tried using bluetoothctl and "pair
" and it also fails with error "authentication rejected" [15:48] I can't seem to find any resources to get this thing to pair [15:49] https://bpaste.net/U3UA [15:49] RoseBus: are you on gnome? then try the gui: https://help.ubuntu.com/stable/ubuntu-help/bluetooth-connect-device.html.en [15:50] zege, gui fails to pair [15:51] RoseBus: please paste the output from dmesg | grep bluetooth [15:52] zege empty [15:52] bluetooth is functional, my bluetooth headphones are connected [15:53] RoseBus: what kind of bluetooth adapter do you use? built-in or usb? [15:53] built-in [15:54] dell xps 15 9570 is my laptop [15:54] RoseBus: does hcitool scan list the mouse? [15:56] zege no [15:57] RoseBus: that means that the laptop is not seeing the mouse. Maybe you need to set the mouse to a pairing mode? [15:57] the mouse is in pairing mode, i can tell because it's blinking [15:57] and it shows up in the gui === satanist is now known as satanist|hell === satanist|hell is now known as satanist [15:58] funny [15:58] Just offhand, is this specifically a Logitech MX500 mouse? [15:58] Logitech MX Master [15:58] Hm [15:59] others have had issues with the same mouse on ubuntu, i have tried their solutions and they haven't worked for me either [15:59] I had an issue with specifically the MX500 where only every second boot syscle it would work, there was a udev fix for it [15:59] syscle/cycle [15:59] i've tried rebooting :( [16:01] RoseBus: does hcitool lescan list the mouse? [16:02] zege yes [16:02] perfect. [16:02] RoseBus: I looked through my old bookmarks and found the solution I used at that time. https://askubuntu.com/questions/774587/ubuntu-16-04-bluetooth-mx5000-logitech-keyboard-mouse-not-working ... your vendor:device number may be slightly different ( specifically the device number since the vendow is still Logitech). Might be worth a shot though [16:03] RoseBus: https://askubuntu.com/questions/763509/logitech-mx-master-wireless-mouse-under-ubuntu-14-04 [16:03] look for the answer from MikeTwo [16:06] zege: RoseBus: https://askubuntu.com/a/967270 [16:07] zege fails to connect [16:09] RoseBus: try to turn the mouse off and on again. Maybe its been in pairing mode too long. [16:09] The try to connect. [16:09] *Then [16:10] when i turn scan on it's not showing up [16:10] by i got the mac address from lescan [16:10] and when i type connect it fails to connect [16:10] When you turn scan on it dows not list the device. You can use connect and press to show possible compleations [16:11] okay i pressed tab and i saw the mac address there [16:11] still failed to connect [16:12] RoseBus: but other than that i can't give you any further advice. Maybe some else? [16:12] https://bpaste.net/6HEA [16:12] ty for your help, i might just return this mouse [16:14] RoseBus: according to this https://unix.stackexchange.com/a/373583 you can try to trust the device before connecting. [16:15] ls (hd0,msdos1) /boot [16:15] Well / isn't working 9n my keyboard [16:16] Any other option [16:19] don't most US-layout keyboards have two / keys [16:19] ty zege, i trusted the device still no worky [16:21] grawity: 2? Where's the other please? [16:22] one on the main zxcvbnm,./ row, and one on the numpad /-*+ [16:23] rom-- you could try writing a script to map another key or a combination of keys to output / https://code.google.com/archive/p/autokey/ [16:24] probably not in grub rescue though [16:24] lol [16:51] Well this is what I got [16:51] https://ibb.co/gZYP0tK [16:57] sup peepz [16:58] I have a cron job running rsync, which works as i want it to work. However, today I was wondering whether the calls to shell scripts might be overlapping, and it seems like they are. [16:59] I don't know if it is a problem though. What happens when you execute the same rsync command in two separate instances? [16:59] Whether by crontab or just in terminal. [17:00] I don't have root on my Android phone. Any way to use my phone to create a live usb installation as well as to use my phone as a USB installer? [17:00] The second one will just do the same thing, just waiting to do it's thing while the files are locked by the first one [17:02] I don't have root on my Android phone. Any way to use my phone to create a live usb installation as well as to use my phone as a USB installer? [17:02] genii: So those cron jobs that show up when I call "pstree -ap `pidof cron`", they are actually just waiting? [17:03] genii: That's not correct, a running process is not aware of other instances of itself [17:03] I mean, the duplicate jobs are waiting. [17:03] unless it created those instances [17:03] pragmaticenigma: In this case it's an hourly cron job that sometimes takes several hours. [17:04] pragmaticenigma: That is correct. But when a file is being written or opened by any other thing, an app cannot write to it or use it until the other thing finishes, whatever that happens to be [17:04] But my question is twofold: One is about cron, the second is if you call rsync yourself but in two terminals. [17:04] zmagii: then it shouldn't be scheduled hourly.. or you should write your scripts to check for a lock file that the script creates (when one isn't detected) to skip the other taks [17:04] pragmaticenigma: It's only a problem the first few days, after that it should be quicker. [17:05] Because of the initial load of files to sync. But like I say, it works as expected. I just want to understand the mechanism. [17:05] zmagii: pragmaticenigma is correct, a pidfile for it to use will prevent other instances from running until that is freed up [17:05] zmagii: it doesn't matter the speed... it really should be done as a matter of good practice. If you have two operations that are targetting the same things... they should have a means to tell if something else is already working on it. Otherwise you're just doing extra work [17:05] It's hourly because I want it to find new files more quickly. [17:06] If the folder hasn't been rsync'd before, then it takes a few hours, holding up the queue. [17:06] If it has been rsync'd, then it's quick after that. [17:06] zmagii: If you want to make it more efficient, you can setup rsync services to monitor directories... when a client connects, it will already have a the list of files that need to be sync'd [17:07] pragmaticenigma: Can you do that if you are rsyncing from remote to local? [17:07] zmagii: yes... I do it all the time [17:08] Hmm, okay, where is the place to start? [17:08] Anyhelp [17:08] zmagii: that's actually the recommended way to handle remote sync withing rsync. The rsync service sends a ready to go file of its information to the client... the client only then has to check it's side, instead of both [17:08] Though, as a side comment, I am impressed that rsync is better than something you pay a lot for. I guess they all use rsync anyway... [17:09] rom--: I'm sorry to say... your machine is broken. There is no way to recover that system through grup rescue. you need a live usb to fix/recover with [17:09] It's kind of like a perpetual state of open source things sometimes working better. [17:10] pragmaticenigma: The client in this case being the SSH server, right? [17:10] if something else is using rsync... at has to be listed in the license and offered by the developer. There are lots of techniques for file sync'ing [17:10] pragmaticenigma: But, ones better than rsync? [17:10] I have an external monitor which is 4k , but ubuntu 18.04 would only allow me to set it to 1600x900 - I am using displayport to connect to a laptop which has an nvidia card. Any ideas on how to fix this? [17:10] zmagii: depending on your setup, you won't need to layer it over ssh unless your sending the data over the internet [17:11] In this case (but not in other use cases of mine) yes, it's over the internet. [17:11] I have used rsync over network drives before, though. [17:11] zmagii: This article is pretty good at getting the basics of this setup going: https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps [17:11] I will see if I can find something more up-to-date [17:12] pragmaticenigma: Great, thanks. [17:12] cgi777: Are you certain the graphics card can support a 4K monitor? [17:13] While we are at it, is the default settings for checking file states good? What I mean, does it ever make sense to use, e.g., "--ignore-existing" for speed purposes? [17:13] pragmaticenigma, https://paste.ubuntu.com/p/mY4XtyjWKw/ [17:13] Pragmaticenigma: I'll hope you can help. [17:13] If your files never change, sure I guess it makes sense. But it seems it is only the first time rsync runs that the file checking takes a lot of time. [17:13] I don't have root on my Android phone. Any way to use my phone to create a live usb installation as well as to use my phone as a USB installer? [17:13] pragmaticenigma, It can definitely support 1080p - my laptop monitor is 4k - so yes, it should be able to [17:14] rom--: There's an app called DriveDroid which makes your phone be seen as a bootable USB stick, you can point it to whatever iso/img file you have downloaded onto your phone somewhere, then set your computer bios to boot from the USB [17:14] genii: does it support without root [17:14] ..it's convoluted but workable [17:15] Don't understand that english [17:15] Is this to use your phone as a USB installer on your PC? [17:15] rom--: Unfortunately, no, it needs root [17:15] Yeah so pragmaticenigma can help recover back to grub and Ubuntu if possible [17:16] See told you genii they are always root when 8t comes to Android [17:17] rom--: I don't think you're understanding me... there is no way to recover that system to a working state. I'm suggesting that you use a live usb to boot the system so you can transfer your files off of that machine somewhere else so you create a new installation of windows [17:17] Can't they see windows, Ubuntu OSX ? [17:17] rom--: If your phone is a OnePlus there is an APK from an XDA dev which does not require root to work [17:18] It's not but a dead Chinese version of Corona Android [17:18] anyone can help with my resolution problem? [17:19] cgi777: I don't know then... if the laptop monitor is turned off does the external display detect properly? [17:19] Live USB? Ok meaning once I get a live USB I boot Ubuntu not install first so I can collect y data ok... [17:20] pragmaticenigma, how can i check? [17:20] xrandr -> Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767 [17:20] DP-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 610mm x 350mm [17:21] rom--: correct [17:21] How about if I use a USB disk reader [17:21] cgi777: Close the laptop lid and see if the external monitor updates with new modes [17:21] Hope I can read the disk [17:22] pragmaticenigma: One question here: The --partial flag, I am not sure if I understand. Does it delete partial files if you don't use it? [17:22] Why would there be partial files? [17:22] How can I run Ubuntu on my phone? Any way? I need Ubuntu need to switch for once and better [17:23] rom--: What is your native language? there are dedicated channels for ubuntu support in many different languages. it might be better to put you in touch with someone that natively speeks the same language as you [17:23] It might be for an unrelated reason, but I recall when I used --partial then there were broken files chilling around in the directory, particularly empty files. [17:24] pragmaticenigma, same problem [17:24] Pragmaticenigma: LOL... :) [17:24] rom--: If your phone can act as a USB host and you have an adapter to plug into it which lets you use a USB stick another option is to install Termux on it, and use normal dd process to write an iso file onto the USB stick, then use the stick to boot your problemmatic computer [17:24] Broken in the sense that remote != local. [17:24] zmagii: partial I believe is for recovering when the process is interrupted [17:24] Genni: what? [17:25] You're making sense [17:25] pragmaticenigma: I think I know then what happened. (Back when I had this problem.) The remote was actively changing (i.e., copying files around) and local was trying to sync files that were busy being changed in the remote directory. [17:26] I got SanDisk USB, got termux running already, what's the DD process [17:26] I also have USB stick/cable [17:28] Data duplicator [17:29] zmagii: that might have been possible a long time ago... hopefully those sort of bugs have been resolved by now [17:29] mkinitrd freezes up when building initrd if a floppy is configured in bios/uefi without there being a drive in the systemm [17:30] rom--: Do I understand that you have deleted your Ubuntu partition and you don't have a bootable USB drive available to fix it? Do I undertand that the only other woking machine (like the one you're talking to us from) is your phone? [17:31] lapion: are you trying to report a bug? [17:32] rom--: I don't think that you'll be able to write to a device directly from termux. If you have any USB drive with an already existing ext4 filesystem, you may be able to get your computer working though. [17:33] !seen genii [17:33] I have no seen command [17:33] Slaps ubottu [17:34] !Find genii [17:34] Hello [17:34] kubuntu and xubuntu? [17:34] Jordan_U: I was just testing this on my Pixel, yeah, unfortunately no direct hardware access without being rooted [17:34] There he is... Happy [17:34] !ask | Morpheus90 [17:34] Morpheus90: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [17:35] Morpheus90: There are #kubuntu and #xubuntu for questions specific to those desktop environments / flavors. You can also try asking here and we may be able to help. [17:36] rom--: How did you delete the partition, and how much work are you willing to put into getting your machine booted again? [17:37] pragmaticenigma: Sorry for @tting you again. Your point about using cron more efficiently, I don't think I followed. [17:37] The article mentions using "-a", but I do use that. Other than that I am not sure how to make the cron schedule more efficient. [17:39] zmagii: This doesn't have anything to do with cron at the moment. the point of setting up rsync service is so the source of the files being sync'd can be compiled and set to the other machine more quickly. Reducing the length of time required to enumerate and compare all the files needing to be sent [17:39] zmagii: rsync service will monitor the directory and update its internal cache of file data, so when an rsync clinet connects, the service can send that cache file instead of the client having to scan all the files each time [17:41] genii: Do you have any drives around with an existing ext4 filesystem? [17:41] Jordan_U: Not that I can currently attach to my phone === [diablo]9 is now known as [diablo] [17:46] zmagii: You would still use a cron task to trigger the sync on a schedule. but the idea is hopefully the sync will go faster since only half the files need to be scanned to see what is different [17:46] zmagii: And ideally the files needing to be checked are on the local machine running the client, therefore things can run faster instead of transfering each file over the network to see if anything changed first [17:47] zmagii: does that make better sense? [17:47] genii: Any that you can attach to the computer? If so, what do they already contain? Also, it would still help to know how you "deleted" Ubuntu. What exactly did you do in detail? [17:48] Jordan_U: I'm not the one with that issue [17:49] genii: D'oh, sorry. [17:50] genii: how about that DD process using termux [17:50] rom--: Do you have any drives around with an existing ext4 filesystem? [17:50] rom--: From empirical experimentation on my phone here, it is anothjer process requiring the phone to be rooted. [17:51] ..so not currently useful. [17:51] hey there, every couple minutes my GUI locks up for maybe 5-10 seconds, I'm trying to think of the best way to figure out what's causing it, gonna try running htop for the next few minutes to see if i can catch anything but maybe you guys have encountered something similar? I'm on 19.10 [17:51] pragmaticenigma: Thanks for the reply. Yes makes sense, but is there another command that I should be adding? [17:52] jrgilman: Anything interesting in "dmesg" when this happens? [17:52] zmagii: Not sure what other command you might be thinking of [17:52] jrgilman: "dmesg --human --follow" can be handy. [17:52] jrgilman: are you by any chance running a Boinc or Folding@Home client? [17:53] Sorry, I am just wondering whether it *is* just sending the necessary changes. [17:53] Jordan_U: doing that now [17:53] pragmaticenigma: nope, we have that on our servers [17:53] not on my workstation though [17:53] Or should the remote machine be the one running the cron? [17:54] zmagii: The client that needs the files from the server should be the one scheduled with cron [17:54] i'll let you guys know next time it happens [17:55] pragmaticenigma: Okay yes it is set up that way. [17:56] zmagii: So the plan is, the server with the files you need to sync to the client machines. That runs the rsync service. All of the other machines connecting in will be configured with a cron job that executes rsync (either through ssh tunnel or rynsc protocol directly) to receive their file lists. [17:57] jrgilman: I've seen something similar and still do; thought it was a kernel version but possibly not. No log clues. Seems to be GPU related, like a halt in it. Often see it when having a lot of highly graphical output in multiple windows - Firefox with many tabs seems to be a good way to provoke it [17:57] zmagii: One suggestion is to manually run the initial file sync, when that finishes, then setup the cron tasks... Think of it as a test to make sure the rsync command is correct and that all the initial files are transfered === Gnexally4 is now known as Gnexally [17:58] TJ-: it only started happening within the last day [17:58] I believe there might've been a kernel update in the updates i ran? [17:58] unsure [17:58] there was a kernel update in the last week [17:59] pragmaticenigma: Cool, yes, that makes sense. Does rsync store some kind of cash locally after that first manual rsync? [17:59] jrgilman: Any long file transfers running in the background? [17:59] genii .......... :>) [17:59] jrgilman: yeah... if you can reproduce... try booting to an older version... if it seems to solve please make a bug report and let us know because these things are awful to trace [18:00] zmagii: not on your client system, that gets built every time you run rsync locally. The service is the only part that keeps a running cached copy of the files [18:00] okay got it [18:00] https://kopy.io/lXpHe [18:00] first messages that appear as soon as it unpauses [18:00] i think chrome may be causing this though [18:01] i opened it out of curiosity and i'll close it [18:01] loose network cable? [18:01] wifi [18:02] i wonder if it's the cpu monitor [18:02] one sec [18:03] Guys, I have a telnet server running on a system, and I would really like to close it :D however I cannot figure out how (ubuntu 16.04) [18:03] pragmaticenigma: So by the service you mean the computer on which I call the rsync command? [18:04] DuckyDev: yikes [18:04] yes [18:04] zmagii: service is the on the machine hosting the files [18:04] DuckyDev: sudo ss -ltnp will show you which process owns the socket.. [18:04] hi, I'm trying to get ubuntu running with the latest kernel (5.6.7) and the latest nvidia drivers, but dkms is failing to build a new kernel module [18:05] dmb2: What version of Ubuntu and why are you trying to compile your own kernel? [18:06] sarnold: it isn't listed there, but I can for sure connect to it. [18:06] DuckyDev: How are you testing its connectivity? [18:06] DuckyDev: hmm, what are you seeing? this sounds super sketchy [18:06] from another server -_" [18:06] can you pastebin what you're doing and seeing? [18:06] 2 sec [18:07] dmb2: you'll probably need to fix the driver to work with the newer kernel [18:07] dmb2: new kernels change APIs all the time [18:07] it seems to be chrome TJ- [18:07] even having it open [18:07] causes this [18:07] weird [18:07] DuckyDev: Something to keep in mind... telnet clients can connect a lot of different services and appear as if your connected to a telnet server [18:07] Ubuntu 19.10, Its on a razer blade 15, suspend resume is broke in the current kernel. [18:07] jrgilman: is it enabled for OpenGL hardware acceleration? if you can find how, try disabling that [18:08] pragmaticenigma: that makes sense, sine I just removed telnet, but I can still connect [18:08] DuckyDev: Might need a reboot of the system to close the port? [18:08] https://termbin.com/1pff [18:08] I will try to do so [18:08] TJ-: never mind it's not chrome [18:08] let's see if it's firefox [18:09] !info kernel eoan [18:09] Package kernel does not exist in eoan [18:09] !info kernel-generic eoan [18:09] Package kernel-generic does not exist in eoan [18:09] LISTEN 0 64 *:23 *:* users:(("xinetd",pid=1389,fd=5)) [18:09] hello guys. I might be blind or something, but I don't seem to find the configuration file for the systemd-logind.service? [18:09] (a) xinetd in 2020? really? (b) WHY? [18:10] it works? [18:10] sarnold: this is a old VM and I need to harden it :D [18:10] EliteGod: ls -l /etc/systemd/logind.conf /etc/systemd/logind.conf.d/*.conf /run/systemd/logind.conf.d/*.conf /usr/lib/systemd/logind.conf.d/*.conf [18:11] but how do I close that process? [18:11] sarnold: ^ [18:11] DuckyDev: why are you running xinetd? do you NEED it? does it run anything you care about? [18:11] I don't think so :D I don't know a uch about this sytem. [18:11] what's 23/tcp, telnet? [18:12] sarnold: thanks! [18:12] jelly: yeah [18:12] DuckyDev, you will have to find out which services are actually used BEFORE disabling some of them for hardening [18:12] DuckyDev: read the xinetd configuration and find out if it is doing anything that you want to keep [18:13] I have a Nvidia gtx 1050ti and am trying to drive a 4k monitor external, but ubuntu shows only 1600x900 max resolution. Any ideas on how to fix this? [18:14] [Apr 8 13:14] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 [18:14] could this be it? [18:15] waa! my System76 Oryx appears to have desoldered a connection on the nVidia GPU. It is effectively a goner. It lasted... a little over a year. [18:17] drleviathan: obligatory louis rossmann [18:17] https://www.youtube.com/watch?v=1AcEt073Uds [18:17] sarnold: it wasn't ;) Thanks man [18:18] erm.. root@Home:~# loginctl enable-linger weechat > Could not enable linger: Read-only file system [18:18] DuckyDev: sweet -- xinetd purged, all better? :) [18:18] EliteGod: check dmesg output [18:18] Hah [18:19] sarnold: btw, one last question I can see there is also an ftp server running, but "sudo service vsftpd stop" states that the service doesn't exists [18:19] nvm, it is closed [18:20] aha, cool, I ididn't see it in the termbin [18:21] this is my dmesg output: https://termbin.com/0zou > still clueless (I don't understand half of what's there) [18:23] boy that's all pretty bland. weird. [18:23] EliteGod: what does "mount | grep 'type proc' " report ? [18:24] TJ-: mount | grep 'type proc' > proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) [18:24] EliteGod: ok, so it is read-write "rw" [18:25] this is a standard Ubuntu 19.10 (I didn't modified any configuration files) [18:25] whats the easiest way to get 5.6.7 kernel with working nvidia drivers? I thought I would have to have the latest drivers. Really I just want to be able to suspend resume my laptop with working wifi and external monitors [18:25] EliteGod: show is "pastebinit <( journalctl -b 0 -p warning )" [18:26] right away [18:26] okay it's definitely this Resetting rcs0 for hang on rcs0 [18:26] dmb2, latest is not true, there is more work to be done, besides updating the kernel. [18:26] !latest [18:26] Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa. [18:27] TJ-: https://paste.ubuntu.com/p/PRdXN6zBMj/ [18:27] if you want to be a beta tester, install mainline [18:27] it's rather huge -_- [18:28] * TJ- eats large log files :) [18:28] EliteGod: looks like an issue with your microk8s installation [18:29] well, maybe I'll try to cook my GPU and fix the laptop. I don't have a good thermistor to monitor the temp but I have some IR thermometers and a heat gun. [18:29] I'll remove the snap and see [18:30] I watched a friend do a full reball of a 2009 MBP nVidia GPU back around 2012 and it did fix the problem [18:30] old laptop, just trying to revive it to have some fun with it [18:30] EliteGod: the first thing I see that looks 'wrong' is " 12:11:01 Home NetworkManager[734]: [1586254261.3044] Error: failed to open /run/network/ifstate " [18:30] The earlier udisks failed... messages are normal... just means additional optional libraries aren't installed [18:31] I get that, its why I ran debian stable for years. My new razer blade has more incompatiblities with stable software than the bleeding edge [18:31] https://wiki.archlinux.org/index.php/Razer_Blade#2019_Razer_Blade_Stealth [18:31] EliteGod: this may indicate a config syntax error in some systemd unit (service): "12:10:09 Home systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument " [18:32] EliteGod: if you want to play with K8S on constrained system's I highly recommend looking at "k3s" [18:33] TJ-: I was planning to play with it, but never used it. but I didn't edited any files manually though === tds5 is now known as tds [18:33] EliteGod: I didn't think you did... I'm suspecting poor 'devops' is responsible :) [18:37] this really annoys me. Ive found this on github: https://github.com/systemd/systemd/issues/12401 [18:41] TJ-: just rolled back to an earlier kernel (5.3.0-45-generic), if it does end up being the kernel, should i report this somewhere? I've never done it before so I'm unsure where [18:43] TJ-: any idea how can i solve this? [18:48] !bug | jrgilman [18:48] jrgilman: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [18:49] jrgilman: for kernel report it against the 'linux' package with "ubuntu-bug linux" from terminal [18:50] EliteGod: looks like there's a workaround using 'touch' [18:50] do I need to be running the broken kernel for that? [18:51] to collect the proper info that is [18:51] i presume i do [18:51] TJ-: i thought about that, but I'd prefer a permanent fix though [18:57] jrgilman: yes... although there may be no clues in the logs, the report is against the correct version so triagers can see if there are other similar reports [18:58] gotchya i'll do that later today wrote that down on my todo list [18:58] thansk for the hint re: the kernel [19:06] so, my fix was to edit `/lib/systemd/system/multi-user.target.wants/systemd-logind.service` and add "/var/lib/systemd/linger" to the `ReadWritePaths` [19:07] yikes [19:07] when that breaks on the next systemd upgrade, use systemctl edit systemd-logind.service to add that directory to the readwritepaths [19:10] seems that adding `StateDirectory=systemd/linger` to `/lib/systemd/system/multi-user.target.wants/systemd-logind.service` instead also fixes the issue (if worthy for anyone) [19:12] sarnold: seems that it's already fixed here: https://github.com/systemd/systemd/pull/12424, but probably it wasn't in time to include include it? [19:13] I've changed the file to look exactly like in the PR [19:13] EliteGod: oh, then *maybe* the next systemd update will include those same changes :) heh [19:14] sarnold: hopefully, yes :D [19:14] EliteGod: can you file a bug repoirt for it? ubuntu-bug systemd ought to get you started [19:18] sarnold: I've done this all from mobile. :x not home yet (I used SSH to connect to my laptop at home) === Jonopoly_ is now known as Jonopoly [19:20] EliteGod: aha [19:20] my phone almost replaces my laptop. this laptop is having a second life with Ubuntu :) === tds0 is now known as tds === umask078 is now known as umask077 [20:17] Hello again. So after I have created a pool, a dataset and a mountpoint for said dataset, will it automatically mount? [20:19] My setup is standard LUKS encrypted LVM for everything (19.10 installer default) and then encrypted ZFS dataset for the /home directory. I'd like to only provide one password, and so I generated a 32 bit keyfile and put it in /etc. Will zfs automatically recognize when /etc becomes decrypted? [20:22] is there a version of 20.04 lts that i can install now that will upgrade to 20.04lts when it comes out on apr 23rd? [20:23] cgi777: does it bother you if it's a pre-release beta version? [20:25] cgi777: sure, just grab the beta image, or a recent daily image, and run apt-get update && apt-get dist-upgrade on it once in a while. *read what it will do before doing the updates.* you might want to turn off unattended-upgrades before the release, too [20:31] Well, it didn't unlock on boot and the regular zfs mount returns: "cannot mount 'mainpool/home': encryption key not loaded". Seems I'm experiencing a version of this: https://github.com/openzfs/zfs/issues/8750 [20:32] sarnold, dax thanks. [20:32] I am having an external monitor resolution issue in 18.04lts. My external 4k monitor only shows up as a 1600x900 monitor. Any suggestions on how to fix this? === Birrosso is now known as Birosso [20:34] cgi777: there's a bunch of moving pieces to that one :( -- a pal unable to run 4k @ 60hz had to try four cables before he found one that worked for him; I tried several different cables and docks for my laptop before finding a combinatoin that would emit 4k @ 60hz [21:02] nvm my question, I "fixed" it with a oneshot service starting zfs mount -la [21:35] is there any problem with putting the command sudo apt-get clean into my root users crontab daily> [21:37] arooni: those debs have saved me from *huge* trouble at least two or three times over the decades [21:38] any problem? Maybe. Sometimes things go badly and you might want the old package, especially if they aren't available anymore. [21:38] sarnold: you mean running sudo apt-get clean ? any difference between sudo aptitude clean and sudo apt-get clean [21:38] i get those two mixed up [21:38] Hi [21:38] arooni: I have no idea what aptitude clean does [21:38] i always find after enough time my / partition gets clumped out [21:38] My provider only has 16.04 LTS. [21:38] clumped up [21:39] On this system, how do you install apache2 php mysql python3? [21:39] you were mentioning debs; wasn't sure if you were talking to me [21:39] apt install apache2 php7.0 mysql python3 ? [21:39] Opinion: Generally, I'm against any automatic package management commands. Had to "fix" issues too many times. [21:39] sarnold: [21:39] it different versions? [21:39] i appreciate opinions; it's why i'm here [21:40] arooni: the packages in /var/cache/apt/archives have saved me a lot of time and trouble over the years. mine is currently using only two gigabytes. that's a small price to pay imho :) [21:40] How "mission critical" is the system? Personal cat video sharing is different than running banking infrastructure or a NASA control center server. [21:41] ahhhh thats what you meant; could you elaborate in the ways its hslped you? [21:41] great point; this is just my personal dev laptop. it's not running a backend service etc. and when i parittioned ubuntu i stupidly gave root another partition which fills up sometimes [21:41] arooni: I can't recall the details any more :( [21:42] do you usually specify the versions? [21:42] i'm not sure the right way installation is recommended now; but id guess it doesn't need separate root partitions (and this is on a ssd) not sure its necessary anymore [21:42] i.e. apt install php7.0 or just apt install php? [21:42] I create OS snapshots before any package management. Do the update, see how it goes, then a few days later, delete the snapshot. [21:42] TheFu: i think for a production/staging enviornment that soudns ideal [21:43] Opinion: / should be about 25G. Anything more causes replication and backup issues better handled outside the core OS. [21:43] If a laptop is making you money, it is PRODUCTION. [21:44] If you need more storage for /var, then add some there as a separate mount. [21:44] IMHO. === dax is now known as ezri [21:52] Is python3 the default in a new Ubuntu release? [21:52] I see "python" is 2.7 for 16.04 and 18.04 [21:54] my / partition is 28 gb; and i agree with you ; $$$ == production [21:54] yes, python 2 is dropped, but still available [21:54] a production enviornment [21:55] oerheks, in which Ubuntu version does "python" link to python3 by default and no longer python2 ? [21:55] the same for pip: i installed: apt install python3-pip [21:55] and now I have to do "pip3 install ..." instead of classic "pip install" [21:55] is there a way to solve this? [21:55] you asked about the new ubuntu release .. [21:56] are you on 20.04 beta? [21:56] 16.04 is the latest my dedicated server provider has :) [22:24] !hibernate [22:24] Is hibernate disabled by default ? (I have 11GB swap partiotion and 8G ram) [22:25] I'm not sure of the current status, but indeed ubuntu has historically disabled hibernation and only made suspend work [22:26] Hamilton: systemctl --help lists a few commands that you can try, eg systemctl --hibernate [22:26] suspend is sleep right? [22:26] sigh [22:26] Hamilton: systemctl --help lists a few commands that you can try, eg systemctl hibernate [22:27] sarnold, yeah tried it didn't work [22:27] aw man :( [22:27] did it give an error message or journal entry? [22:30] sarnold, no error. silently turned off. Then just rebooted on start (no saved session) [22:31] Hamilton: now I'm very confused :) [22:31] what exactly did it do when you ran it? [22:31] add swap to the bootline; GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/" [22:31] oerheks, yeah I didn't do this. Net guides seem to agree on adding it [22:31] But why on earth do I need to add that? Why isn't in there by default [22:32] sarnold, don't remember much but it seemed to just moving ram to swap and turn off [22:32] there is a lot more to fix, some broadcom wifi will not join again [22:33] oerheks, sorry for my n00bness but what device state has to do with hibernate? [22:33] oerheks, So in general I should not actually hibernate? [22:34] well, after suspend you want wifi to work again. [22:34] Hamilton: so, it hibernated, but didn't resume properly? [22:34] err, not saying hybernate is bad. [22:34] sarnold, I guess [22:34] Hamilton: It's not there by default because it shortens the life of Solid State drives [22:34] Hamilton: then it isn't something that ubuntu's disabled or anything, it's just that your hardware may or may not work well for it [22:34] pragmaticenigma, ha...good to know but I'm on HDD [22:35] pragmaticenigma: I can't possibly believe that -- ssds are good for daily writes of their entire contents like every single day for five years [22:35] sarnold, So at least it auto-detected to not include it in my hardware? [22:35] pragmaticenigma: it'd probably kill most SD cards but any ssd you'd buy today was total write limits way in excess of usual use [22:35] sarnold: Except when using a dedicated partition for the hibernation file... it writes over the same blocks because of the partitioning [22:35] Hamilton: I think ubuntu just takes hibernate out of menus and tha tkind of thing [22:36] sarnold: To my knowledge, hibernate requires a swap partition [22:36] pragmaticenigma: every ssd for a decade does internal block rewriting [22:42] sarnold: I would look to Microsoft... about the time it was no longer enabled by default with Windows, it also disappeared in Ubuntu. And Solid State drives haven't had that feature for a decade, TRIM didn't become a industry wide feature until 2014 [22:43] pragmaticenigma: I think microsoft probably also got tired of crappy wifi and bluetooth and nics and what not that couldn't come back from hibernate :) [22:43] nics? [22:44] NIC => Network Interface Card [22:44] Is this ubuntu question?: upower -i /org/..../battery_BAT0 report is not correct [22:45] I have set my laptop battery to stop charging at n%. It does so and I can see it in sys/../battery but upower reports it charging [22:45] Hamilton: it's probably worth a bug report anyway [22:46] sarnold, upower is ubuntu specifc thing? [22:46] Hamilton: I don't think so, I think we got that from gnome [22:47] gnome is a DE right? I'm using Xubuntu (actually i3)...so they also got it from GNOME? [22:47] Hamilton: Now you have gone into Offtopic territory [22:48] woo i3 :) [22:49] upower is from freedesktop group : https://www.freedesktop.org/wiki/Software/ [22:50] Xfce has its own power management stuff, but it also uses some GNOME things historically [22:51] Thanks [23:17] any ideas how to use ssh from a client side to transfer via dd an LV? I think the problem I'm having is needing sudo on the remote side, but I'm using 'sudo -tt ...' but not getting a sudo prompt as I would expect === triplenull4 is now known as triplenull [23:25] nc looks interesting.. https://serverfault.com/a/515610 [23:28] ha, finally figured it out: need to push the sudo password in over stdin, as in: "echo 'myremotepassword' | ssh -tt hostname sudo if=/dev/mapper/VG-LV bs=8M | sudo dd of=/dev/mapper/VG-LV status=progress " [23:28] bit slow over wifi though .. 11MB/s and 18GB LV! === ben_r_ is now known as ben_r [23:48] Hi, when one user updates the software on a system, are all other users on the system also updated? [23:49] Yes, provided software is stored centrally. Software setup for 1 user, in their HOME would not. [23:50] TheFu is this the default, that software is stored centrally? [23:52] Yes, if APT is being used. But there are thousands of ways that software can be install outside APT. There's no way for the system to track those installations. [23:53] thanks [23:54] if a user pulls some source code from github, builds it in their HOME and copies the binary over to some other directory under their HOME, that would have nothing to do with the system package management. [23:55] OK, I've never done that, so I think I',m good. :) [23:58] Probably. i think snap packages have a system or per-user install option. Appimages are just files, so they probably wouldn't be installed. Lots of exceptions possible these days. [23:59] Thank you for your knowledge!