[00:00] <drleviathan> sorta like how sarnold had you generate the file in the first place (which I thought was pretty fancy)
[00:01] <sarnold> :)
[00:01] <frad> yes, thanks sarnold , it worked
[00:01] <sarnold> woohoo
[00:03] <frad> Am I right assuming you mastered maths and physics while being in high school?
[00:03] <frad> you = mods
[00:04] <linusmaximus> and bioogy
[00:05] <linusmaximus> *biology
[00:07] <frad> till next time
[00:07] <sarnold> frad: yeah, that was me :)
[00:07] <sarnold> d'oh
[00:13] <drleviathan> 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] <drleviathan> for that matter, I've never hear of the sam editor either.
[00:25] <linusmaximus> Excited for 20.04?
[00:25] <linusmaximus> I know someone that is.
[00:25] <lestac> sure
[00:26] <linusmaximus> yay!
[00:26] <linusmaximus> such excitement
[00:27] <TaneSoup> 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] <linusmaximus> Need to get rid of the display manager to do that.
[00:29] <bad63r> everyone seems so exicted about new ubuntu, while me seeting with ubuntu i3wm all stable :D
[00:29] <TaneSoup> i stopped it from loading via systemctl i have it loading the text based login
[00:30] <oerheks>  boot multi.user target,  systemctl set-default multi-user.target # and obiously; sudo systemctl set-default graphical.target  # to get gui again
[00:30] <TaneSoup> didnt know if there was a script i could make and possibly add to rc.local or something to make it load.
[00:30] <TaneSoup> yeah i just did that recently to make it not load the gui
[00:30] <TaneSoup> but i cant seem to make it autologin
[00:31] <linusmaximus> bad63r, yeah but you don't need the neweset darktale or gimp to get shit done.
[00:31] <linusmaximus> *darktable
[00:31] <pragmaticenigma> linusmaximus: please mind the language, this is a family friendly channel
[00:32] <pragmaticenigma> 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] <oppenheimers_not> Has anyone had issues with Ubuntu server 18.04? I can't get to my external HDD at all.
[00:37] <pragmaticenigma> 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] <oppenheimers_not> 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] <oppenheimers_not> Yeah, fdisk -l shows that something's plugged into sdb1 but I can't mount or navigate to it
[00:39] <oerheks> sudo blkid  #  lists UUIDs for all attached devices (mounted or not).
[00:40] <pragmaticenigma> 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] <TaneSoup> ok thankyou ill take a look
[00:41] <oerheks> oppenheimers_not, has it worked before on your server?
[00:41] <sarnold> 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] <oppenheimers_not> it did on server 15.04.
[00:44] <naamunah> DA200 Dell USB adapter ethernet working in ubuntu 18.04 .. how to make it work?
[00:45] <sarnold> TaneSoup: so, this looks a bit involved, but it looks possible
[00:45] <sarnold> TaneSoup: check out the --autologin option listed in the agetty(8) manpage
[00:46] <sarnold> TaneSoup: then check out the Exec= line in the output of: systemctl cat getty@.service
[00:46] <sarnold> TaneSoup: I'm sorry, ExecStart
[00:48] <sarnold> 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] <TaneSoup> Thank you i was able using mingetty to get it to autologin
[01:15] <TaneSoup> 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] <TaneSoup> And iof possible have it load said script on the same visable terminal tty1?
[01:19] <sarnold> 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] <oerheks> systemwide /root/.bashrc
[01:22] <sarnold> that'll work when root logs in
[01:22] <sarnold> no one else can read that file
[01:23] <sarnold> (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] <grant_> is it possible to change the polkit dialog?
[01:26] <grant_> also, which rule is responsible for the software centre?
[01:37] <TaneSoup> 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] <sarnold> probably path/to/script
[01:38] <sarnold> or /path/to/script
[01:40] <MrKeuner> 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] <TaneSoup> 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] <oerheks> Mr some tips; enable single display while setting nightlight, and then join again
[01:46] <oerheks> https://askubuntu.com/questions/983844/night-light-vs-dual-monitor
[01:46] <sarnold> TaneSoup: woo cool
[02:22] <orner> would anyone here know why executables in a folder added to path would be unable to be found by bash?
[02:23] <sarnold> 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] <genii> There can also be executables wi the same name which get run first depending on what order the paths are in
[02:28] <TaneSoup> 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] <orner> i know it has execute permissions and that there shouldnt be any conflicting executables
[02:31] <genii> orner: Did you logout/log back in since you edited the path ?
[02:31] <orner> ive restarted
[02:31] <orner> autofill even picks up the added binaries
[02:32] <genii> orner: Where did you add it, in ~/.bashrc , somewhere else?
[02:33] <orner> i added it in /etc/environment
[02:33] <korzq> 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] <pragmaticenigma> TaneSoup: You should never activate our use root with Ubuntu. there is no need to
[02:43] <fsd> 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] <oerheks> i hope not ..
[02:46] <TJ-> fsd: that's what SNAT does in a forwarding router
[02:52] <orner> so turns out its only bash that cant access this file even though its marked as executable
[02:56] <TJ-> orner: what is the exectuable file type? wrong architecture maybe?
[02:57] <TJ-> orner: have you checked what "which -a <name>" reports?
[02:58] <orner> it reports the correct path, as does bash when it claims that it cannot find the file
[03:00] <TJ-> orner: what does "file /path/to/file" report, also compare to "dpkg --print-architecture"
[03:00] <orner> file reports that its an x86 executable
[03:02] <orner> the system is 64 bit
[03:04] <TJ-> 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] <orner> ldd only returns "not a dynamic executable"
[03:06] <MrKeuner> 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] <TJ-> orner: ahhh! show so statically linked 32-bit
[03:09] <oerheks> MrKeuner, i have no clue, color profiles .. did you try to reset the monitors to factory defaults?
[03:10] <TJ-> orner: try this https://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit
[03:13] <orner> oh wow thanks!
[03:14] <orner> never had to troubleshoot this type of issue so i didnt even know what to search
[03:19] <TJ-> 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)
[04:23] <insanidade> 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] <insanidade> anyone ?
[04:27] <Jordan_U> insanidade: The file explorer is "nautilus".
[04:30] <insanidade> Jordan_U: thanks. but what if the "system settings/configuration" window is also crashed?
[04:32] <insanidade> looks like mouse clicks are being captured but nothing is "repainted" in the screen
[04:33] <insanidade> what should I look for in in the processes ?
[04:39] <insanidade> Jordan_U: just found a solution. I just restarted X (actually using gnome as window manager). thanks for your answer.
[05:03] <exit70> hi, can i remove snap from ubuntu 18.04
[06:12] <Floflobel__> 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] <Floflobel__> I also tried it with ncdu but I got the same result.
[06:14] <geirha> try with   du -haxd1 /var | sort -h
[06:15] <geirha> it includes "hidden" files in addition, in case that's where the space is going
[06:16] <geirha> could also be that there are files hidden under the /var/log mount
[06:20] <Floflobel__> 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] <geirha> 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
[06:23] <Floflobel__> 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] <geirha> no, you can have the same filesystem mounted multiple places
[06:24] <geirha> you don't need to, and should not, unmount /var
[06:32] <ducasse> 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] <Floflobel__> geirha: same result https://paste.centos.org/view/9622a2de
[06:47] <zamba> i have a problem with my sound settings being overriden/reset every time i attempt to set them
[06:47] <geirha> 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] <zamba> 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] <Floflobel__> geirha: Isn't there a way to see which process keeps which file open? Basically a simple reboot should solve the problem.
[06:55] <geirha> 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] <Floflobel__> geirha: That's perfect, I think I know what the process is that maintains the connection. Thank you very much for your help!
[08:45] <amprxc> 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] <sumagna> hello
[08:47] <sumagna> i am thinking about moving my /home folder to another partition
[08:48] <sumagna> how to do that?
[08:53] <fcgreg> 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] <fcgreg> amprxc: It's probably a leftover lock file and that process no longer exists
[09:04] <amprxc> fcgreg thanks ! I will look that link
[09:16] <Talkless> 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] <Talkless> On 2020-03-22  16:11:26 update was performed, and it no longer boots after that.
[09:17] <Talkless> I've removed bunch of -hwe package to leave only 4.15, but yeasterday after update they still got back :)
[09:17] <Talkless> I've instruced father to select 4.15 via grub, it works.
[09:18] <Talkless> This is that first "bad" upgrade;
[09:18] <Talkless> https://paste.debian.net/1139031/
[09:18] <Talkless> Have anyone heard of this kind of issue?
[09:21] <Talkless> 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:30] <Talkless> created bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1871590
[09:47] <viktor> \join #python
[09:48] <viktor> wrong slash
[09:53] <asdfgh> hello everybody,
[09:53] <asdfgh> i need to setup a new ubuntu server
[09:54] <asdfgh> i know there is a new release 20.04
[09:54] <asdfgh> but i need to work on that server today
[09:54] <asdfgh> if i update 18.04 to 20.04 automatically does it will broke something?
[09:54] <asdfgh> iwhat is the correct way to update LTS releases
[09:56] <sixwheeledbeast> asdfgh: just use 18.04
[10:04] <asdfgh> hmm sixwheeledbeast why?
[10:04] <asdfgh> there is a new release coming
[10:05] <asdfgh> if i work on that server then i need to reinstall everything in news weeks
[10:05] <sixwheeledbeast> because it's not released
[10:05] <asdfgh> *next weeks
[10:05] <asdfgh> sixwheeledbeast, yeah i know but 23 of this month
[10:05] <asdfgh> no?
[10:05] <asdfgh> i am asking if i can upgrade 18.04 directly
[10:05] <asdfgh> or i must reinstall everything
[10:05] <asdfgh> ?
[10:06] <sixwheeledbeast> you can just system upgrade in a view months, date isn't guaranteed its a target
[10:06] <sixwheeledbeast> what is the server for?
[10:07] <DuckyDev> Hi guys. I'm trying to upgrade an old 16.04 syste, but I get this error (https://pastebin.com/mrb9snft)
[10:07] <DuckyDev> any idea how to fix this?
[10:08] <asdfgh> sixwheeledbeast, web
[10:08] <asdfgh> nginx/php mariadb
[10:08] <badsektur> how to see my cpu info??
[10:08] <asdfgh> 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] <sixwheeledbeast> asdfgh: just use 18.04 it's supported for agood few years anyway, shouldn't need to reinstall no
[10:10] <sixwheeledbeast> badsektur: what kind of cpu info
[10:10] <asdfgh> sixwheeledbeast, so do you think it is not good install the new release when it will be released?
[10:10] <badsektur> sixwheeledbeast, like i3 8100
[10:10] <sixwheeledbeast> DuckyDev: you just need to update/upgrade?
[10:11] <DuckyDev> upgrade
[10:11] <DuckyDev> I wan't to upgrade the packages but not the Ubuntu version.
[10:11] <sixwheeledbeast> asdfgh: I always wait until the summer to upgrade for stability just in case.
[10:11] <asdfgh> sixwheeledbeast, ok
[10:12] <sixwheeledbeast> DuckyDev: so that package is missing from the sources you have
[10:14] <sixwheeledbeast> DuckyDev: force an autoremove to see if resolves the conflict?
[10:38] <nikolam> I updated today, 19.10 and now lxc container can't get to network.
[10:42] <piperakos89> 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] <sixwheeledbeast> !lxc
[10:43] <BluesKaj> Howdy folks
[10:43] <kokoye2007> Drone you can address
[10:43] <kokoye2007> who can help Ubuntu installation Language Pack Error
[10:43] <DuckyDev> sixwheeledbeast: that did the job!
[10:43] <DuckyDev> thanks and sry for the slow reply.
[10:43] <sixwheeledbeast> DuckyDev: np
[10:44] <DuckyDev> 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] <DuckyDev> and sudo apt --purge autoremove does not do the job
[10:44] <EriC^^> DuckyDev: sudo apt-get purge <package name here>
[10:45] <sixwheeledbeast> I'd just leave the ones that don't get cleaned up automatically.
[10:48] <sixwheeledbeast> if you need to remove them as above they will be linux-image and linux-headers etc
[10:53] <DJones> 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] <DJones> Files will only be mp3
[10:55] <DJones> Looks like its available as a flatpak, but not sure how well that integrates with 19.10
[10:57] <lotuspsychje> DJones: this looks promising https://openaudible.org/
[10:58] <DJones> lotuspsychje: Thanks, I'll have a look at that
[10:58] <sixwheeledbeast> Fetch from github and build it?
[11:22] <schadegg> 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] <schadegg> transfer ownership of the data folder to root:media-data?
[11:27] <Ntemis> everytime i boot a pop up saying report problem
[11:27] <lotuspsychje> schadegg: see also the #ubuntu-server channel perhaps they might know also
[11:27] <Ntemis> how i can fix this?
[11:31] <Ntemis> found these
[11:31] <Ntemis> _usr_bin_caja.1000.crash
[11:31] <Ntemis> _usr_bin_caja.1000.upload
[11:31] <Ntemis> _usr_bin_caja.1000.uploaded
[11:31] <Ntemis> _usr_lib_x86_64-linux-gnu_brisk-menu_brisk-menu.1000.crash
[11:31] <Ntemis> _usr_sbin_lightdm.0.crash
[11:41] <JonathanD> 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] <JonathanD> 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] <pragmaticenigma> JonathanD: Why not just unplug the keyboard when you're not needing access to the machine?
[11:44] <JonathanD> pragmaticenigma: I mean, sure, but I'd think there has to be a better way...
[11:45] <pragmaticenigma> 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] <JonathanD> 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] <JonathanD> A linux and a windows desktop.
[11:46] <JonathanD> See, I don't like replacing perfectly good hardware because of what should be a pretty straightforward setting..
[11:46] <JonathanD> It's not the cost, it's the waste.
[11:47] <JonathanD> So neither of those are good options. I'd prefer to disable the key.
[11:55] <JimBuntu> 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] <pragmaticenigma> probably could slip a piece of paper between the button and the circuit board if it is a membrane keyboard
[11:59] <JimBuntu> JonathanD: Did you already modify /etc/systemd/logind.conf ?
[11:59] <pragmaticenigma> 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] <pragmaticenigma> can see the keycode
[12:00] <JonathanD> Yeah, it's not logged in when this is an issue.
[12:01] <JonathanD> As far as physical solutions go popping off the keytops might be the least annoying, if there's not another wya.
[12:02] <pragmaticenigma> 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] <pragmaticenigma> 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] <vlm_> 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] <pragmaticenigma> vlm_: "sudo apt autoremove" would be the first place to start
[12:04] <JonathanD> Just went back to see about getting the keycode.
[12:04] <JonathanD> The cat was on the keyboard.
[12:04] <JonathanD> again.
[12:04] <JonathanD> sigh :)
[12:04] <JonathanD> pragmaticenigma: yeah, I follow, but just removing the keytops would be 2 seconds. they do pop right off.
[12:05] <vlm_> pragmaticenigma already done they are still present
[12:05] <JonathanD> JimBuntu: I'd imagine that's only for post-login? looking at it now
[12:06] <pragmaticenigma> vlm_: This should still work in newer versions of Ubuntu: https://help.ubuntu.com/community/RemoveOldKernels#Safely_Removing_Old_Kernels
[12:08] <lotuspsychje> vlm_: maybe you can also explain a bit more what you ddi to your system, so the volunteers can help you better?
[12:11] <vlm_> 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] <lotuspsychje> vlm_: did you install !mainline kernels or something? wich kernel versions are still present in your system?
[12:12] <hollusion> hello
[12:12] <pragmaticenigma> JonathanD: You *might* be able to make something of use with the /etc/default/keybaord file. See "man keyboard" for more information
[12:13] <hollusion> can you recommend an alternative to "authenticator" app?
[12:13] <hollusion> (otp generator)
[12:13] <vlm_> 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] <hollusion> i like the app but its not generating the correct codes, might be due to no support for totp or sha512
[12:13] <pragmaticenigma> hollusion: For software recommendations, polls, and asking for opinions, please join us in #ubuntu-offtopic
[12:14] <hollusion> alright, sorry for that
[12:14] <lotuspsychje> !info linux-image-generic bionic
[12:14] <vlm_> lotuspsychje uname -sr yields Linux 4.15.0-91-generic
[12:14] <lotuspsychje> vlm_: try update your system please
[12:15] <lotuspsychje> !uptodate | vlm_
[12:16] <vlm_> lotuspsychje already update,im running daily updating
[12:16] <lotuspsychje> vlm_: then somethings not right, your kernel on bionic should be 4.15 -96
[12:17] <vlm_> lotuspsychje could there be something wrong with it?Im on LTS though?
[12:17] <lotuspsychje> vlm_: do you have 'main' enabled in your sources?
[12:18] <vlm_> lotuspsychje ill check
[12:19] <vlm_> lotuspsychje think i might found the culprit
[12:19] <vlm_> lotuspsychje somehow the sources.list was well,empty :)
[12:20] <lotuspsychje> right, thats not handy
[12:20] <lotuspsychje> update quickly now :p
[12:20] <vlm_> lotuspsychje yes figure not gettting any update lol
[12:20] <lotuspsychje> vlm_: bionic also has auto kernel cleanup now, so should take care of that
[12:21] <vlm_> lotuspsychje thanks for help yeah i saw that in the package infor of byobu also cheers!
[12:21] <lotuspsychje> good luck
[12:28] <LaRose_Bleu> 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] <LaRose_Bleu> is there a snapshot tool that is systemd friendly i can use?
[12:31] <pragmaticenigma> LaRose_Bleu: making regular offline backups preserves everything
[12:34] <LaRose_Bleu> yeah pragmaticenigma i know but im looking for a reliable automated solution that makes it easy for a noob like me
[12:36] <pragmaticenigma> LaRose_Bleu: to my knowledge nothing like that exists
[12:37] <LaRose_Bleu> pragmaticenigma timeshift does it, beautifully. but it doesnt play nicely with systemd boot
[12:38] <LaRose_Bleu> 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] <pragmaticenigma> 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] <LaRose_Bleu> gotcha
[12:58] <mase-tech> hi
[12:59] <mase-tech> how can I restore my system after messing up some installations or settings
[13:02] <mase-tech> hello
[13:05] <LaRose_Bleu> your install media should have restore options mase-tech
[13:09] <mase-tech> windows is doning snapshots at certain points in time
[13:09] <mase-tech> can ubuntu do that also
[13:16] <nomad_fr> Hi
[13:16] <nomad_fr> do you know if it's possible to swithc a zfs install ubuntu to a Zsys compatible one ?
[13:44] <Hamilton> If I install software using unofficial PPAs, dowloaded deb files or build using makefiles, I'm potentially exposed to malware?
[13:45] <pragmaticenigma> !ppa | Hamilton
[13:46] <Hamilton> pragmaticenigma, So all software you use come from PPA?
[13:46] <pragmaticenigma> Hamilton: No
[13:47] <Hamilton> pragmaticenigma, You review the source of the apps outside PPA?
[13:47] <Hamilton> Or just trust the developer(s)?
[13:47] <pragmaticenigma> Hamilton: This is not a support question, please use #ubuntu-offtopic
[13:49] <nomad_fr> is there a ZFS dedicated ubuntu irc channel ?
[13:49] <tatertots> i doubt it
[13:50] <nomad_fr> is there a dev dedicated ubuntu channel ?
[13:50] <pragmaticenigma> 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] <pragmaticenigma> nomad_fr: sorry the second one should have been #ubuntu-devel
[14:09] <ducasse> nomad_fr: for zfs questions, try #zfsonlinux
[14:10] <Haled> Do I really need python 2.7 on ubuntu?
[14:11] <nomad_fr> ducasse: I obtain my answer on ubuntu-devel : Zsys isn’t perfect as it won’t manage manually installed setup :)
[14:12] <lucido> 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] <pragmaticenigma> Haled: Only if you want to keep your system up-to-date and be able to use other system tools
[14:26] <pragmaticenigma> lucido: Azure clound instances are not supported here... you need to contact Azure technical support for help
[14:33] <Hamilton> My ufw status is saying `inactive`. Is it default?
[14:34] <nikolam> Hamilton, install gufw and turn it on.
[14:35] <Hamilton> nikolam, Do I need to install something to enable firewall? Isn't it really available by deault?
[14:35] <pragmaticenigma> Hamilton: The firewall is installed by default, but it is not enabled by default
[14:36] <Hamilton> pragmaticenigma, Why?
[14:36] <Hamilton> Is there a downside to enaling it?
[14:36] <nikolam> 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] <pragmaticenigma> Hamilton: because only you are the best person to decide what you do and do not need it enabled
[14:37] <Hamilton> pragmaticenigma, So it is not like windows firewall that is always enabled?
[14:37] <nikolam> 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] <pragmaticenigma> Hamilton: again, you are nw in offtopic territory
[14:40] <pragmaticenigma> 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] <Hamilton> pragmaticenigma, thanks
[15:03] <drleviathan> 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] <drleviathan> why the occasional failure? What is the pattern?
[15:13] <BluesKaj> probly forgetting to unmount the the target drive
[15:14] <rom--> 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] <pragmaticenigma> drleviathan: could be an unmount issues... could also be how your setting DD to write blocks to the drive
[15:15] <pragmaticenigma> !grub | rom--
[15:15] <Reventlov> Hey. I'm trying to use debootstrap (with fakeroot and fakechroot) to install an ubuntu.
[15:15] <Reventlov> Right now, the installation fails, and I get this message: addgroup: The group `systemd-journal' already exists as a system group. Exiting.
[15:17] <Reventlov> Full log: https://0x0.st/iSND.txt, any idea how to proceed ?
[15:17] <rom--> Pragmaticenigma: I deleted Ubuntu already now how to get grub
[15:19] <drleviathan> 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] <zege> 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] <pavlos> drleviathan: dd has the status=progress flag
[15:21] <lucido> 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] <pragmaticenigma> 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] <pavlos> old guy here ... I do sync;sync;sync
[15:23] <pragmaticenigma> I don't think dd writes anything to a cache before sending to a device... but can't hurt to be certain
[15:23] <drleviathan> 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] <pragmaticenigma> rom--: I'm not understanding what you are trying to do
[15:25] <grawity> dd itself doesn't... but the block device layer does
[15:25] <zege> pragmaticenigma: dd does write to os cache.
[15:25] <grawity> though in any case, AFAIK it's *not* the same cache as the one handled by `sync`
[15:25] <grawity> instead you might want `blockdev --flushbufs`
[15:25] <pragmaticenigma> interesting, thanks for the tip
[15:26] <pragmaticenigma> drleviathan: did you see that from grawity ?
[15:26] <drleviathan> yes, I will add that to my incantation.
[15:28] <zege> 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] <grawity> 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] <rom--> Did you see the img I pasted
[15:30] <rom--> Pragmaticenigma
[15:30] <zege> Very interessting StaockOverflow on dd and sync https://stackoverflow.com/questions/49489798/is-running-sync-necessary-after-writing-a-disk-image
[15:31] <rom--> https://ibb.co/fksxP4h
[15:31] <drleviathan> holy Legba's trousers: "try repeating the dd medium creation process on the same USB drive one or more times"
[15:31] <pragmaticenigma> rom--: That doesn't help me understand what exactly you are trying to do
[15:32] <grawity> meanwhile I don't understand "deleted Ubuntu ... how do I get back to booting Ubuntu" part
[15:32] <grawity> what *did* you delete
[15:33] <rom--> 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] <badsektur> you need to ask this in ##windows
[15:34] <MonkeyDust> rom--: grub is a linux thingy, for windows boot issues, i guess you need to ask in ##windows
[15:34] <pragmaticenigma> rom--: You will need to use your windows recovery disk to restore windows... help available in ##windows
[15:34] <MonkeyDust> badsektur: was faster
[15:34] <badsektur> fastest channel director in the wild west :)
[15:35] <rom--> 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] <drleviathan> rom-- you're bummin'.  I would look at that as requiring a complete reinstall of at least ubuntu.
[15:35] <MonkeyDust> rom--: mind the language
[15:36] <rom--> Yes I mind and sorry
[15:36] <drleviathan> I knew a guy who manually edited the MBR to rescue something like that but it was complete magic from my perspective.
[15:36] <rom--> Hmmm
[15:37] <zege> rom : https://askubuntu.com/questions/493826/grub-rescue-problem-after-deleting-ubuntu-partition
[15:37] <grawity> the Windows installer CD/USB already has necessary tools (bootrec and bcdboot)
[15:38] <pragmaticenigma> rom--: see the message from zege... that might get at least up and running temporarily
[15:47] <RoseBus> hello, i'm trying to get my logitech mx master to connect via bluetooth
[15:47] <RoseBus> (bluetooth mouse)
[15:47] <RoseBus> i have tried using blueman and it fails to pair
[15:48] <RoseBus> i have tried using bluetoothctl and "pair <address>" and it also fails with error "authentication rejected"
[15:48] <RoseBus> I can't seem to find any resources to get this thing to pair
[15:49] <RoseBus> https://bpaste.net/U3UA
[15:49] <zege> RoseBus: are you on gnome? then try the gui: https://help.ubuntu.com/stable/ubuntu-help/bluetooth-connect-device.html.en
[15:50] <RoseBus> zege, gui fails to pair
[15:51] <zege> RoseBus: please paste the output from dmesg | grep bluetooth
[15:52] <RoseBus> zege empty
[15:52] <RoseBus> bluetooth is functional, my bluetooth headphones are connected
[15:53] <zege> RoseBus: what kind of bluetooth adapter do you use? built-in or usb?
[15:53] <RoseBus> built-in
[15:54] <RoseBus> dell xps 15 9570 is my laptop
[15:54] <zege> RoseBus: does hcitool scan list the mouse?
[15:56] <RoseBus> zege no
[15:57] <zege> RoseBus: that means that the laptop is not seeing the mouse. Maybe you need to set the mouse to a pairing mode?
[15:57] <RoseBus> the mouse is in pairing mode, i can tell because it's blinking
[15:57] <RoseBus> and it shows up in the gui
[15:58] <zege> funny
[15:58] <genii> Just offhand, is this specifically a Logitech MX500 mouse?
[15:58] <RoseBus> Logitech MX Master
[15:58] <genii> Hm
[15:59] <RoseBus> 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] <genii> 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] <genii> syscle/cycle
[15:59] <RoseBus> i've tried rebooting :(
[16:01] <zege> RoseBus: does hcitool lescan list the mouse?
[16:02] <RoseBus> zege yes
[16:02] <zege> perfect.
[16:02] <genii> 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] <zege> RoseBus: https://askubuntu.com/questions/763509/logitech-mx-master-wireless-mouse-under-ubuntu-14-04
[16:03] <zege> look for the answer from MikeTwo
[16:06] <pragmaticenigma> zege: RoseBus: https://askubuntu.com/a/967270
[16:07] <RoseBus> zege fails to connect
[16:09] <zege> RoseBus: try to turn the mouse off and on again. Maybe its been in pairing mode too long.
[16:09] <zege> The try to connect.
[16:09] <zege> *Then
[16:10] <RoseBus> when i turn scan on it's not showing up
[16:10] <RoseBus> by i got the mac address from lescan
[16:10] <RoseBus> and when i type connect <mac address> it fails to connect
[16:10] <zege> When you turn scan on it dows not list the device. You can use connect and press <TAB> to show possible compleations
[16:11] <RoseBus> okay i pressed tab and i saw the mac address there
[16:11] <RoseBus> still failed to connect
[16:12] <zege> RoseBus: but other than that i can't give you any further advice. Maybe some else?
[16:12] <RoseBus> https://bpaste.net/6HEA
[16:12] <RoseBus> ty for your help, i might just return this mouse
[16:14] <zege> RoseBus: according to this https://unix.stackexchange.com/a/373583 you can try to trust the device before connecting.
[16:15] <rom--> ls (hd0,msdos1) /boot
[16:15] <rom--> Well / isn't working 9n my keyboard
[16:16] <rom--> Any other option
[16:19] <grawity> don't most US-layout keyboards have two / keys
[16:19] <RoseBus> ty zege, i trusted the device still no worky
[16:21] <rom--> grawity: 2? Where's the other please?
[16:22] <grawity> one on the main zxcvbnm,./ row, and one on the numpad /-*+
[16:23] <RoseBus> 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] <grawity> probably not in grub rescue though
[16:24] <RoseBus> lol
[16:51] <rom--> Well this is what I got
[16:51] <rom--> https://ibb.co/gZYP0tK
[16:57] <zmagii> sup peepz
[16:58] <zmagii> 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] <zmagii> 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] <zmagii> Whether by crontab or just in terminal.
[17:00] <rom--> 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] <genii> 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] <rom--> 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] <zmagii> genii: So those cron jobs that show up when I call "pstree -ap `pidof cron`", they are actually just waiting?
[17:03] <pragmaticenigma> genii: That's not correct, a running process is not aware of other instances of itself
[17:03] <zmagii> I mean, the duplicate jobs are waiting.
[17:03] <pragmaticenigma> unless it created those instances
[17:03] <zmagii> pragmaticenigma: In this case it's an hourly cron job that sometimes takes several hours.
[17:04] <genii> 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] <zmagii> But my question is twofold: One is about cron, the second is if you call rsync yourself but in two terminals.
[17:04] <pragmaticenigma> 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] <zmagii> pragmaticenigma: It's only a problem the first few days, after that it should be quicker.
[17:05] <zmagii> 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] <genii> zmagii: pragmaticenigma is correct, a pidfile for it to use will prevent other instances from running until that is freed up
[17:05] <pragmaticenigma> 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] <zmagii> It's hourly because I want it to find new files more quickly.
[17:06] <zmagii> If the folder hasn't been rsync'd before, then it takes a few hours, holding up the queue.
[17:06] <zmagii> If it has been rsync'd, then it's quick after that.
[17:06] <pragmaticenigma> 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] <zmagii> pragmaticenigma: Can you do that if you are rsyncing from remote to local?
[17:07] <pragmaticenigma> zmagii: yes... I do it all the time
[17:08] <zmagii> Hmm, okay, where is the place to start?
[17:08] <rom--> Anyhelp
[17:08] <pragmaticenigma> 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] <zmagii> 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] <pragmaticenigma> 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] <zmagii> It's kind of like a perpetual state of open source things sometimes working better.
[17:10] <zmagii> pragmaticenigma: The client in this case being the SSH server, right?
[17:10] <pragmaticenigma> 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] <zmagii> pragmaticenigma: But, ones better than rsync?
[17:10] <cgi777> 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] <pragmaticenigma> zmagii: depending on your setup, you won't need to layer it over ssh unless your sending the data over the internet
[17:11] <zmagii> In this case (but not in other use cases of mine) yes, it's over the internet.
[17:11] <zmagii> I have used rsync over network drives before, though.
[17:11] <pragmaticenigma> 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] <pragmaticenigma> I will see if I can find something more up-to-date
[17:12] <zmagii> pragmaticenigma: Great, thanks.
[17:12] <pragmaticenigma> cgi777: Are you certain the graphics card can support a 4K monitor?
[17:13] <zmagii> 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] <cgi777> pragmaticenigma, https://paste.ubuntu.com/p/mY4XtyjWKw/
[17:13] <rom--> Pragmaticenigma: I'll hope you can help.
[17:13] <zmagii> 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] <rom--> 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] <cgi777> pragmaticenigma, It can definitely support 1080p - my laptop monitor is 4k - so yes, it should be able to
[17:14] <genii> 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] <rom--> genii: does it support without root
[17:14] <genii> ..it's convoluted but workable
[17:15] <rom--> Don't understand that english
[17:15] <zmagii> Is this to use your phone as a USB installer on your PC?
[17:15] <genii> rom--: Unfortunately, no, it needs root
[17:15] <rom--> Yeah so pragmaticenigma can help recover back to grub and Ubuntu if possible
[17:16] <rom--> See told you genii they are always root when 8t comes to Android
[17:17] <pragmaticenigma> 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] <rom--> Can't they see windows, Ubuntu OSX ?
[17:17] <genii> rom--: If your phone is a OnePlus there is an APK from an XDA dev which does not require root to work
[17:18] <rom--> It's not but a dead Chinese version of Corona Android
[17:18] <cgi777> anyone can help with my resolution problem?
[17:19] <pragmaticenigma> cgi777: I don't know then... if the laptop monitor is turned off does the external display detect properly?
[17:19] <rom--> 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] <cgi777> pragmaticenigma, how can i check?
[17:20] <cgi777> xrandr -> Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
[17:20] <cgi777> DP-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 610mm x 350mm
[17:21] <pragmaticenigma> rom--: correct
[17:21] <rom--> How about if I use a USB disk reader
[17:21] <pragmaticenigma> cgi777: Close the laptop lid and see if the external monitor updates with new modes
[17:21] <rom--> Hope I can read the disk
[17:22] <zmagii> 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] <zmagii> Why would there be partial files?
[17:22] <rom--> How can I run Ubuntu on my phone? Any way? I need Ubuntu need to switch for once and better
[17:23] <pragmaticenigma> 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] <zmagii> 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] <cgi777> pragmaticenigma, same problem
[17:24] <rom--> Pragmaticenigma: LOL... :)
[17:24] <genii> 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] <zmagii> Broken in the sense that remote != local.
[17:24] <pragmaticenigma> zmagii: partial I believe is for recovering when the process is interrupted
[17:24] <rom--> Genni: what?
[17:25] <rom--> You're making sense
[17:25] <zmagii> 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] <rom--> I got SanDisk USB, got termux running already, what's the DD process
[17:26] <rom--> I also have USB stick/cable
[17:28] <rom--> Data duplicator
[17:29] <pragmaticenigma> zmagii: that might have been possible a long time ago... hopefully those sort of bugs have been resolved by now
[17:29] <lapion> mkinitrd freezes up when building initrd if a floppy is configured in bios/uefi without there being a drive in the systemm
[17:30] <Jordan_U> 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] <pragmaticenigma> lapion: are you trying to report a bug?
[17:32] <Jordan_U> 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] <rom--> !seen genii
[17:33] <rom--> Slaps ubottu
[17:34] <rom--> !Find genii
[17:34] <Morpheus90> Hello
[17:34] <Morpheus90> kubuntu and xubuntu?
[17:34] <genii> Jordan_U: I was just testing this on my Pixel, yeah, unfortunately no direct hardware access without being rooted
[17:34] <rom--> There he is... Happy
[17:34] <pragmaticenigma> !ask | Morpheus90
[17:35] <Jordan_U> 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] <Jordan_U> rom--: How did you delete the partition, and how much work are you willing to put into getting your machine booted again?
[17:37] <zmagii> pragmaticenigma: Sorry for @tting you again. Your point about using cron more efficiently, I don't think I followed.
[17:37] <zmagii> 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] <pragmaticenigma> 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] <pragmaticenigma> 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] <Jordan_U> genii: Do you have any drives around with an existing ext4 filesystem?
[17:41] <genii> Jordan_U: Not that I can currently attach to my phone
[17:46] <pragmaticenigma> 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] <pragmaticenigma> 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] <pragmaticenigma> zmagii: does that make better sense?
[17:47] <Jordan_U> 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] <genii> Jordan_U: I'm not the one with that issue
[17:49] <Jordan_U> genii: D'oh, sorry.
[17:50] <rom--> genii: how about that DD process using termux
[17:50] <Jordan_U> rom--: Do you have any drives around with an existing ext4 filesystem?
[17:50] <genii> rom--: From empirical experimentation on my phone here, it is anothjer process requiring the phone to be rooted.
[17:51] <genii> ..so not currently useful.
[17:51] <jrgilman> 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] <zmagii> pragmaticenigma: Thanks for the reply. Yes makes sense, but is there another command that I should be adding?
[17:52] <Jordan_U> jrgilman: Anything interesting in "dmesg" when this happens?
[17:52] <pragmaticenigma> zmagii: Not sure what other command you might be thinking of
[17:52] <Jordan_U> jrgilman: "dmesg --human --follow" can be handy.
[17:52] <pragmaticenigma> jrgilman: are you by any chance running a Boinc or Folding@Home client?
[17:53] <zmagii> Sorry, I am just wondering whether it *is* just sending the necessary changes.
[17:53] <jrgilman> Jordan_U: doing that now
[17:53] <jrgilman> pragmaticenigma: nope, we have that on our servers
[17:53] <jrgilman> not on my workstation though
[17:53] <zmagii> Or should the remote machine be the one running the cron?
[17:54] <pragmaticenigma> zmagii: The client that needs the files from the server should be the one scheduled with cron
[17:54] <jrgilman> i'll let you guys know next time it happens
[17:55] <zmagii> pragmaticenigma: Okay yes it is set up that way.
[17:56] <pragmaticenigma> 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] <TJ-> 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] <pragmaticenigma> 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
[17:58] <jrgilman> TJ-: it only started happening within the last day
[17:58] <jrgilman> I believe there might've been a kernel update in the updates i ran?
[17:58] <jrgilman> unsure
[17:58] <pragmaticenigma> there was a kernel update in the last week
[17:59] <zmagii> pragmaticenigma: Cool, yes, that makes sense. Does rsync store some kind of cash locally after that first manual rsync?
[17:59] <Jordan_U> jrgilman: Any long file transfers running in the background?
[17:59] <rom--> genii .......... :>)
[17:59] <TJ-> 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] <pragmaticenigma> 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] <jrgilman> okay got it
[18:00] <jrgilman> https://kopy.io/lXpHe
[18:00] <jrgilman> first messages that appear as soon as it unpauses
[18:00] <jrgilman> i think chrome may be causing this though
[18:01] <jrgilman> i opened it out of curiosity and i'll close it
[18:01] <pragmaticenigma> loose network cable?
[18:01] <jrgilman> wifi
[18:02] <jrgilman> i wonder if it's the cpu monitor
[18:02] <jrgilman> one sec
[18:03] <DuckyDev> 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] <zmagii> pragmaticenigma: So by the service you mean the computer on which I call the rsync command?
[18:04] <sarnold> DuckyDev: yikes
[18:04] <DuckyDev> yes
[18:04] <pragmaticenigma> zmagii: service is the on the machine hosting the files
[18:04] <sarnold> DuckyDev: sudo ss -ltnp  will show you which process owns the socket..
[18:04] <dmb2> 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] <pragmaticenigma> dmb2: What version of Ubuntu and why are you trying to compile your own kernel?
[18:06] <DuckyDev> sarnold: it isn't listed there, but I can for sure connect to it.
[18:06] <pragmaticenigma> DuckyDev: How are you testing its connectivity?
[18:06] <sarnold> DuckyDev: hmm, what are you seeing? this sounds super sketchy
[18:06] <DuckyDev> from another server -_"
[18:06] <sarnold> can you pastebin what you're doing and seeing?
[18:06] <DuckyDev> 2 sec
[18:07] <sarnold> dmb2: you'll probably need to fix the driver to work with the newer kernel
[18:07] <sarnold> dmb2: new kernels change APIs all the time
[18:07] <jrgilman> it seems to be chrome TJ-
[18:07] <jrgilman> even having it open
[18:07] <jrgilman> causes this
[18:07] <jrgilman> weird
[18:07] <pragmaticenigma> 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] <dmb2> Ubuntu 19.10, Its on a razer blade 15, suspend resume is broke in the current kernel.
[18:07] <TJ-> jrgilman: is it enabled for OpenGL hardware acceleration? if you can find how, try disabling that
[18:08] <DuckyDev> pragmaticenigma: that makes sense, sine I just removed telnet, but I can still connect
[18:08] <pragmaticenigma> DuckyDev: Might need a reboot of the system to close the port?
[18:08] <DuckyDev> https://termbin.com/1pff
[18:08] <DuckyDev> I will try to do so
[18:08] <jrgilman> TJ-: never mind it's not chrome
[18:08] <jrgilman> let's see if it's firefox
[18:09] <pragmaticenigma> !info kernel eoan
[18:09] <pragmaticenigma> !info kernel-generic eoan
[18:09] <sarnold> LISTEN     0      64           *:23                       *:*                   users:(("xinetd",pid=1389,fd=5))
[18:09] <EliteGod> 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] <sarnold> (a) xinetd in 2020? really? (b) WHY?
[18:10] <jelly> it works?
[18:10] <DuckyDev> sarnold: this is a old VM and I need to harden it :D
[18:10] <sarnold> 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] <DuckyDev> but how do I close that process?
[18:11] <DuckyDev> sarnold: ^
[18:11] <sarnold> DuckyDev: why are you running xinetd? do you NEED it? does it run anything you care about?
[18:11] <DuckyDev> I don't think so :D I don't know a uch about this sytem.
[18:11] <jelly> what's 23/tcp, telnet?
[18:12] <EliteGod> sarnold: thanks!
[18:12] <sarnold> jelly: yeah
[18:12] <jelly> DuckyDev, you will have to find out which services are actually used BEFORE disabling some of them for hardening
[18:12] <sarnold> DuckyDev: read the xinetd configuration and find out if it is doing anything that you want to keep
[18:13] <cgi777> 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] <jrgilman> [Apr 8 13:14] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
[18:14] <jrgilman> could this be it?
[18:15] <drleviathan> 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] <jrgilman> drleviathan: obligatory louis rossmann
[18:17] <jrgilman> https://www.youtube.com/watch?v=1AcEt073Uds
[18:17] <DuckyDev> sarnold: it wasn't ;) Thanks man
[18:18] <EliteGod> erm.. root@Home:~# loginctl enable-linger weechat > Could not enable linger: Read-only file system
[18:18] <sarnold> DuckyDev: sweet -- xinetd purged, all better? :)
[18:18] <sarnold> EliteGod: check dmesg output
[18:18] <DuckyDev> Hah
[18:19] <DuckyDev> 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] <DuckyDev> nvm, it is closed
[18:20] <sarnold> aha, cool, I ididn't see it in the termbin
[18:21] <EliteGod> this is my dmesg output: https://termbin.com/0zou > still clueless (I don't understand half of what's there)
[18:23] <sarnold> boy that's all pretty bland. weird.
[18:23] <TJ-> EliteGod: what does "mount | grep 'type proc' " report ?
[18:24] <EliteGod> TJ-: mount | grep 'type proc' > proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
[18:24] <TJ-> EliteGod: ok, so it is read-write "rw"
[18:25] <EliteGod> this is a standard Ubuntu 19.10 (I didn't modified any configuration files)
[18:25] <dmb2> 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] <TJ-> EliteGod: show is "pastebinit <( journalctl -b 0 -p warning )"
[18:26] <EliteGod> right away
[18:26] <jrgilman> okay it's definitely this Resetting rcs0 for hang on rcs0
[18:26] <oerheks> dmb2, latest is not true, there is more work to be done, besides updating the kernel.
[18:26] <oerheks> !latest
[18:27] <EliteGod> TJ-: https://paste.ubuntu.com/p/PRdXN6zBMj/
[18:27] <oerheks> if you want to be a beta tester, install mainline
[18:27] <EliteGod> it's rather huge -_-
[18:28]  * TJ- eats large log files :)
[18:28] <TJ-> EliteGod: looks like an issue with your microk8s installation
[18:29] <drleviathan> 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] <EliteGod> I'll remove the snap and see
[18:30] <drleviathan> 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] <EliteGod> old laptop, just trying to revive it to have some fun with it
[18:30] <TJ-> EliteGod: the first thing I see that looks 'wrong' is " 12:11:01 Home NetworkManager[734]: <warn>  [1586254261.3044] Error: failed to open /run/network/ifstate "
[18:30] <TJ-> The earlier udisks failed... messages are normal... just means additional optional libraries aren't installed
[18:31] <dmb2> 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] <dmb2>    https://wiki.archlinux.org/index.php/Razer_Blade#2019_Razer_Blade_Stealth
[18:31] <TJ-> 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] <TJ-> EliteGod: if you want to play with K8S on constrained system's I highly recommend looking at "k3s"
[18:33] <EliteGod> TJ-: I was planning to play with it, but never used it. but I didn't edited any files manually though
[18:33] <TJ-> EliteGod: I didn't think you did... I'm suspecting poor 'devops' is responsible :)
[18:37] <EliteGod> this really annoys me. Ive found this on github: https://github.com/systemd/systemd/issues/12401
[18:41] <jrgilman> 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] <EliteGod> TJ-: any idea how can i solve this?
[18:48] <TJ-> !bug | jrgilman
[18:49] <TJ-> jrgilman: for kernel report it against the 'linux' package with "ubuntu-bug linux" from terminal
[18:50] <TJ-> EliteGod: looks like there's a workaround using 'touch'
[18:50] <jrgilman> do I need to be running the broken kernel for that?
[18:51] <jrgilman> to collect the proper info that is
[18:51] <jrgilman> i presume i do
[18:51] <EliteGod> TJ-: i thought about that, but I'd prefer a permanent fix though
[18:57] <TJ-> 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] <jrgilman> gotchya i'll do that later today wrote that down on my todo list
[18:58] <jrgilman> thansk for the hint re: the kernel
[19:06] <EliteGod> 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] <sarnold> yikes
[19:07] <sarnold> when that breaks on the next systemd upgrade, use systemctl edit systemd-logind.service to add that directory to the readwritepaths
[19:10] <EliteGod> 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] <EliteGod> 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] <EliteGod> I've changed the file to look exactly like in the PR
[19:13] <sarnold> EliteGod: oh, then *maybe* the next systemd update will include those same changes :) heh
[19:14] <EliteGod> sarnold: hopefully, yes :D
[19:14] <sarnold> EliteGod: can you file a bug repoirt for it? ubuntu-bug systemd  ought to get you started
[19:18] <EliteGod> sarnold: I've done this all from mobile. :x not home yet (I used SSH to connect to my laptop at home)
[19:20] <sarnold> EliteGod: aha
[19:20] <EliteGod> my phone almost replaces my laptop. this laptop is having a second life with Ubuntu :)
[20:17] <barnex> Hello again. So after I have created a pool, a dataset and a mountpoint for said dataset, will it automatically mount?
[20:19] <barnex> 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] <cgi777> 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] <dax> cgi777: does it bother you if it's a pre-release beta version?
[20:25] <sarnold> 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] <barnex> 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] <cgi777> sarnold, dax thanks.
[20:32] <cgi777> 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?
[20:34] <sarnold> 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] <barnex> nvm my question, I "fixed" it with a oneshot service starting zfs mount -la
[21:35] <arooni> is there any problem with putting the command sudo apt-get clean into my root users crontab daily>
[21:37] <sarnold> arooni: those debs have saved me from *huge* trouble at least two or three times over the decades
[21:38] <TheFu> any problem?  Maybe.  Sometimes things go badly and you might want the old package, especially if they aren't available anymore.
[21:38] <arooni> sarnold: you mean running sudo apt-get clean ?  any difference between sudo aptitude clean and sudo apt-get clean
[21:38] <arooni> i get those two mixed up
[21:38] <qn68h> Hi
[21:38] <sarnold> arooni: I have no idea what aptitude clean does
[21:38] <arooni> i always find after enough time my / partition gets clumped out
[21:38] <qn68h> My provider only has 16.04 LTS.
[21:38] <arooni> clumped up
[21:39] <qn68h> On this system, how do you install apache2 php mysql python3?
[21:39] <arooni> you were mentioning debs; wasn't sure if you were talking to me
[21:39] <qn68h> apt install apache2 php7.0 mysql python3 ?
[21:39] <TheFu> Opinion:  Generally, I'm against any automatic package management commands. Had to "fix" issues too many times.
[21:39] <arooni> sarnold:
[21:39] <qn68h> it different versions?
[21:39] <arooni> i appreciate opinions; it's why i'm here
[21:40] <sarnold> 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] <TheFu> How "mission critical" is the system?   Personal cat video sharing is different than running banking infrastructure or a NASA control center server.
[21:41] <arooni> ahhhh thats what you meant;  could you elaborate in the ways its hslped you?
[21:41] <arooni> 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] <sarnold> arooni: I can't recall the details any more :(
[21:42] <qn68h> do you usually specify the versions?
[21:42] <arooni> 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] <qn68h> i.e. apt install php7.0 or just apt install php?
[21:42] <TheFu> 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] <arooni> TheFu: i think for a production/staging enviornment that soudns ideal
[21:43] <TheFu> Opinion: / should be about 25G.  Anything more causes replication and backup issues better handled outside the core OS.
[21:43] <TheFu> If a laptop is making you money, it is PRODUCTION.
[21:44] <TheFu> If you need more storage for /var, then add some there as a separate mount.
[21:44] <TheFu> IMHO.
[21:52] <qn68h> Is python3 the default in a new Ubuntu release?
[21:52] <qn68h> I see "python" is 2.7 for 16.04 and 18.04
[21:54] <arooni> my / partition is 28 gb;  and i agree with you ; $$$ == production
[21:54] <oerheks> yes, python 2 is dropped, but still available
[21:54] <arooni> a production enviornment
[21:55] <qn68h> oerheks, in which Ubuntu version does "python" link to python3 by default and no longer python2 ?
[21:55] <qn68h> the same for pip: i installed: apt install python3-pip
[21:55] <qn68h> and now I have to do "pip3 install ..." instead of classic "pip install"
[21:55] <qn68h> is there a way to solve this?
[21:55] <oerheks> you asked about the new ubuntu release ..
[21:56] <oerheks> are you on 20.04 beta?
[21:56] <qn68h> 16.04 is the latest my dedicated server provider has :)
[22:24] <Hamilton> !hibernate
[22:24] <Hamilton> Is hibernate disabled by default ? (I have 11GB swap partiotion and 8G ram)
[22:25] <sarnold> I'm not sure of the current status, but indeed ubuntu has historically disabled hibernation and only made suspend work
[22:26] <sarnold> Hamilton: systemctl --help lists a few commands that you can try, eg systemctl --hibernate
[22:26] <Hamilton> suspend is sleep right?
[22:26] <sarnold> sigh
[22:26] <sarnold> Hamilton: systemctl --help lists a few commands that you can try, eg systemctl hibernate
[22:27] <Hamilton> sarnold, yeah tried it didn't work
[22:27] <sarnold> aw man :(
[22:27] <sarnold> did it give an error message or journal entry?
[22:30] <Hamilton> sarnold, no error. silently turned off. Then just rebooted on start (no saved session)
[22:31] <sarnold> Hamilton: now I'm very confused :)
[22:31] <sarnold> what exactly did it do when you ran it?
[22:31] <oerheks> add swap to the bootline; GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/<swappartition>"
[22:31] <Hamilton> oerheks, yeah I didn't do this. Net guides seem to agree on adding it
[22:31] <Hamilton> But why on earth do I need to add that? Why isn't in there by default
[22:32] <Hamilton> sarnold, don't remember much but it seemed to just moving ram to swap and turn off
[22:32] <oerheks> there is a lot more to fix, some broadcom wifi will not join again
[22:33] <Hamilton> oerheks, sorry for my n00bness but what device state has to do with hibernate?
[22:33] <Hamilton> oerheks, So in general I should not actually hibernate?
[22:34] <oerheks> well, after suspend you want wifi to work again.
[22:34] <sarnold> Hamilton: so, it hibernated, but didn't resume properly?
[22:34] <oerheks> err, not saying hybernate is bad.
[22:34] <Hamilton> sarnold, I guess
[22:34] <pragmaticenigma> Hamilton: It's not there by default because it shortens the life of Solid State drives
[22:34] <sarnold> 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] <Hamilton> pragmaticenigma, ha...good to know but I'm on HDD
[22:35] <sarnold> 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] <Hamilton> sarnold, So at least it auto-detected to not include it in my hardware?
[22:35] <sarnold> 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] <pragmaticenigma> sarnold: Except when using a dedicated partition for the hibernation file... it writes over the same blocks because of the partitioning
[22:35] <sarnold> Hamilton: I think ubuntu just takes hibernate out of menus and tha tkind of thing
[22:36] <pragmaticenigma> sarnold: To my knowledge, hibernate requires a swap partition
[22:36] <sarnold> pragmaticenigma: every ssd for a decade does internal block rewriting
[22:42] <pragmaticenigma> 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] <sarnold> 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] <Hamilton> nics?
[22:44] <pragmaticenigma> NIC => Network Interface Card
[22:44] <Hamilton> Is this ubuntu question?: upower -i /org/..../battery_BAT0 report is not correct
[22:45] <Hamilton> 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] <sarnold> Hamilton: it's probably worth a bug report anyway
[22:46] <Hamilton> sarnold, upower is ubuntu specifc thing?
[22:46] <sarnold> Hamilton: I don't think so, I think we got that from gnome
[22:47] <Hamilton> gnome is a DE right? I'm using Xubuntu (actually i3)...so they also got it from GNOME?
[22:47] <pragmaticenigma> Hamilton: Now you have gone into Offtopic territory
[22:48] <sarnold> woo i3 :)
[22:49] <pragmaticenigma> upower is from freedesktop group : https://www.freedesktop.org/wiki/Software/
[22:50] <matsaman> Xfce has its own power management stuff, but it also uses some GNOME things historically
[22:51] <Hamilton> Thanks
[23:17] <TJ-> 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
[23:25] <oerheks> nc looks interesting.. https://serverfault.com/a/515610
[23:28] <TJ-> 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] <TJ-> bit slow over wifi though .. 11MB/s and 18GB LV!
[23:48] <Rhorse> Hi, when one user updates the software on a system, are all other users on the system also updated?
[23:49] <TheFu> Yes, provided software is stored centrally.  Software setup for 1 user, in their HOME would not.
[23:50] <Rhorse> TheFu is this the default, that software is stored centrally?
[23:52] <TheFu> 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] <Rhorse> thanks
[23:54] <TheFu> 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] <Rhorse> OK, I've never done that, so I think I',m good. :)
[23:58] <TheFu> 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] <Rhorse> Thank you for your knowledge!