[00:45] <Enissay> compdoc: it works with gnome just fine, except that you need an active session already logged in... which is sad in case of crash/reboot
[00:47] <Enissay> I am thinking of setting up auto login during my trip so I can access remotely since I will have no physical access to my machine during that time :<
[00:47] <compdoc> Enissay, I always install a minimal Mate desktop
[00:48] <compdoc> no need for an active session
[00:48] <Enissay> hmmm, I may do it... that machine is a mini pc actually not my main
[00:49] <Enissay> I'll try that tomorrow then... time to hit bed at 3am :x
[00:52] <Enissay> who am I kidding... I cant sleep with this in mind... Installing...
[00:55] <compdoc> lol
[00:56] <compdoc> you installing ubuntu mate from scratch?
[00:56] <Enissay> no, over regular ubuntu 20.04
[00:56] <compdoc> thats the best way. works great as a server or desktop
[00:57] <compdoc> I mean from scratch
[00:59] <compdoc> good luck!
[01:02] <Enissay> ofc, that's best way always
[01:02] <Enissay> my machine still new, so I will try it as is now and format if needed
[01:03] <Enissay> Mate Terminal is ugly a-f though
[01:03] <Enissay> But on the bright side it indeed started a session even while none was active
[03:15] <ezakimak> seems systemd and networkmanager are fighting over who controls hostapd, what's the right way to doi it?
[03:24] <burts7358> hello
[03:38] <Bashing-om> ezakimak: Out of curiosity; what shows for the render ' cat /etc/netplan/01-network-manager-all.yaml ' ?
[03:48] <ezakimak> there is no /etc/netplan
[03:49] <leftyfb> ezakimak: cat /etc/os-release | nc termbin.com 9999
[03:50] <ezakimak> 20.04.2 LTS (Focal Fossa)
[03:50] <leftyfb> ezakimak: that's not the whole output
[03:50] <leftyfb> ezakimak: if you don't have /etc/netplan then you're not running Ubuntu 20.04. Or have modified it and removed netplan
[03:51] <ezakimak> https://paste.ubuntu.com/p/Pfr9HZN9Yv/
[03:52] <leftyfb> ezakimak: so you removed netplan?
[03:52] <ezakimak> I didn't
[03:52] <ezakimak> it's possible the vendor did.
[03:52] <leftyfb> ezakimak: vendor?
[03:52] <ezakimak> it's for an arm mx8 device
[03:52] <ezakimak> they provided the image
[03:54] <leftyfb> ezakimak: ok, then it's unlikely this is a version of ubuntu that we can support. You'll need to seek support from the vendor. Especially when the support issue is specifically due to what they modified
[03:54] <ezakimak> i've sent an inquiry as to why they removed it
[03:55] <ezakimak> so is netplan the new "standard" way of configuring networking in ubuntu moving forward?
[03:55] <leftyfb> ezakimak: you'll also need to inquire about your networking issues regarding systemd and networkmanager
[03:56] <leftyfb> ezakimak: yes
[03:56] <leftyfb> ezakimak: https://netplan.io/
[03:57] <ezakimak> i already have my hostapd configured how I need it
[03:58] <ezakimak> as well as my dnsmasq
[03:59] <ezakimak> seems there still isn't a built-in way to make firewall rules persistent
[03:59] <Bashing-om> ezakimak: However: in ubuntu netplan is the configuration generator, for either NetworkManager, or systemd-networkd.
[04:03] <ezakimak> another config generator layer. great.
[04:03] <ezakimak> one more reason reminding me why I prefer gentoo
[04:58] <alkisg> It does sound silly to have a generator just for 2 possible layouts. Just select one of these layouts and create a converter, not a third format...
[06:32] <Guest914> Does anyone know what process/service is responsible for running the scripts inside /etc/update-motd.d ?
[06:32] <Guest914> I'm trying to disable motd, and I'd like to stop this at its source, rather than make these files not executable
[06:40] <ruedii> I'm running into issues with my system having the video card crash on boot on kernel 5.11, but it works on 5.8.  I'm wondering if there is a bug.
[06:42] <ruedii> Guest914, what are you trying to achieve by stopping that script from running?
[06:51] <Guest914> Trying to disable the motd
[06:52] <ruedii> In that case, just set the MOTD to be blank.
[06:53] <ruedii> That way it will update it to be blank.    I know running a useless script seems unusual, but it makes more sense than ripping out a primary function, and you never know when you might need to add an MOTD back.
[06:54] <Guest914> Is there a singular process that runs all those scripts?
[06:54] <ruedii> Yes, systemd handles them.
[06:55] <ruedii> The update motd script runs in almost no time.
[06:55] <ruedii> BTW, if you want a custom MOTD, there are some seriously cool things you can do with it.  It parses all sorts of variables about the current state of your system, and you can set it to either parse on boot or on display.
[06:56] <ruedii> Oh, did I mention you can do UTF8 or ASCII art if your terminal is capable.
[06:56] <Guest914> lol I'll keep that in mind the next time I want to echo an emoji
[06:57] <ruedii> Just be careful, a few UTF extended characters have minor issues with terminals not set to UTF-8.
[06:58] <ruedii> I think Ubuntu needs to move the default advanced VT to use UTF8 now that there are options available and all video cards that are the slightest bit modern are capable of it on a hardware level.
[06:59] <ruedii> An 8 bit per a glyph framebuffer actually runs slower on some newer cards which are optimized for 16bit and 32bit access partitioning.
[06:59] <rfm> Guest914, if you just want to stop diplaying the motd at login, you want to comment out the pam_motd lines in //etc/pam.d/{login,sshd}
[07:00] <ruedii> rfm, yep. that is an excelent way to do it too.
[07:01] <ruedii> I need to look into my video card issue further and get back.  I hope it's not the same one I was running into earlier on Ubuntu 20.04 (SMU crashing on DPM initializing.)
[07:01] <rfm> Guest914,  if you want to climb back further, there's motd-news.service and update-notifier-motd.service (both on timers() at least, and there might be more...
[07:02] <ruedii> There is also a whole infrastructure for setting all sorts of neat stuff on MOTD.  For instance, you can check the current system load average, and available memory.
[07:03] <ruedii> Note that there are tricky little syntax distinctions between parse at runtime, parse at initial set, and parse at boot.
[07:04] <Guest914> Okay I found that /etc/profile.d/update-motd.sh is what's running all those other scripts.  So I'll just gut that out.  Thanks for the help
[07:21] <alzgh> Hello. I have a question regarding how to interpret the man page for `sudo`. It's not Ubuntu specific. Can I ask it here? I don't intend to bind anyone by this question. It's OK if post-question, it is considered out of scope.
[07:23] <ayrus> alzgh: man sudo
[07:27] <src> alzgh: just ask :P
[07:27] <alzgh> ayrus it's about how to interpret it. `man sudo` show the following for the `-i, --login` switch: https://paste.ubuntu.com/p/D3JZqgb3rN/. I use this switch to go into root since root is not enabled on my system (ubuntu focal), but as hard as I try I can't see this in the text of the man page.
[07:28] <Croran> alzgh: have you considered 'sudo su' ?
[07:29] <alzgh> Croran this isn't my question, but I have not. `sudo -i` worked fine for me. My question is how to learn to interpret the man page.
[07:29] <EriC^^> alzgh: what do you mean by you can't see the text of the manpage?
[07:29] <Croran> alzgh: your question is unclear.
[07:30] <alzgh> OK, sorry. Let me rephrase.
[07:30] <EriC^^> alzgh: if you type 'man sudo' then type '/-i' and hit enter twice does it not display it?
[07:30] <EriC^^> *hit "n" once
[07:32] <alzgh> I know that `sudo -i` let's me login as the super user. I found this out through means other then the man page (I used `tldr` and google). Then I went to read the sudo man page and looked at it's description for `-i, --login` and didn't find any reference to the fact that this switch helps you login as the super user.
[07:32] <ayrus> alzgh: it's the `vim`.
[07:32] <alzgh> I know how to search in the man pages.
[07:33] <alzgh> My question is, how should I learn from this https://paste.ubuntu.com/p/D3JZqgb3rN/ that the `-i, --login` switch enables me to login as the super user.
[07:33] <alzgh> What am I missing there?
[07:33] <alzgh> In the man page.
[07:33] <sneep> Maybe you should be more interested in what Ubuntu means by "disabling the root user"
[07:33] <sneep> +instead
[07:34] <ayrus> alzgh: are you mentioning there is no entry for `-i` in the man page of sudo?
[07:34] <Croran> alzgh: sudo gives you the permissions of the super user. why wouldn't you think this extends to logging in as the super user?
[07:34] <alzgh> sneep maybe that's the root of my confusion. If I knew what it meant under the hood, maybe I would how the description of this switch worked.
[07:35] <sneep> Well, if you run sudo bash, do you get a root shell? Yes
[07:36] <Croran> alzgh: easier to 'sudo su' to get a root shell though.
[07:36] <EriC^^> alzgh: in the sudo manpage there's a part where it says if no user is provided it defaults to executing the command as root, and that -i part pertains to the login part where it will execute the command as if you logged in, changes $HOME etc
[07:37] <EriC^^> (user is provided via the -u argument)
[07:37] <sneep> Ubuntu doesn't set a password for the root user, thereby disabling authenticating as root in the standard login process
[07:38] <alzgh> EriC^^ I think that clears things up. I was missing this part. the `-i` switch is just for loading the selected users preferences.
[07:38] <ducasse> alzgh: are you saying you can't see the definition for -1 in the man page?
[07:39] <EriC^^> yeah exactly, just so you access the shell as if it were a login shell
[07:39] <alzgh> I can see the definition, I wasn't able to understand it though. Was not able to make a logical connection between the text in the man page and how the tool worked.
[07:40] <alzgh> Thanks guys. Really helpful. Sorry for the confusion. I'm trying to read and use the man pages but it isn't always easy to understand them :D
[07:41] <EriC^^> no problem
[07:41] <ducasse> alzgh: the man pages are meant to be definitive, not readable :)
[07:42] <alzgh> yeah, true. Good to have this in mind next time I go through them. Right now, I use `tldr` in many cases.
[07:43] <alzgh> And after I find what I'm looking for, I look it up on the man page and try to make sense to it.
[07:51] <sneep> BTW, all that bash does when adding -i is call /bin/bash with special arguments. Specifically, it prefixes argv[0] with a hyphen character when doing the system call to execute a program. That is understood by bash and other shells (by convention) to invoke a login shell.
[08:21] <cxl> Hi, I am using grub on my computer. It's a laptop so I have my linux install on the whole internal disk using zfs. But I also have a windows installed on a usb drive and I'd like to add that option in grub instead of having to mash F12 every time I need windows. What's the right way? I took a look at /boot/grub.cfg and it says DO NOT EDIT
[08:22] <EriC^^> cxl: you can edit /etc/grub.d/40_custom and add a windows entry there, then 'sudo update-grub' to make a new grub.cfg
[08:23] <cxl> EriC^^: thank you I'll look there
[08:23] <EriC^^> cxl: no problem
[08:24] <alkisg> cxl: you can probably just run `update-grub` while you have the stick attached
[08:25] <cxl> alkisg: that did it, it found windows. much easier, thanks
[08:26] <alkisg> 👍️
[08:29] <cxl> alkisg: I spoke too fast... it found it according to the command's output, I can see the new entry in /boot/grub/grub.cfg, but when grub actually loads then it's not on the list
[08:30] <alkisg> cxl: that might mean it's using a different grub.cfg from elsewhere?
[08:30] <alkisg> Press "c" to get a console in grub
[08:30] <alkisg> Then set root=(hd0,gpt1) or something, to get to where your grub.cfg is,
[08:31] <alkisg> then: configfile /boot/grub/grub.cfg
[08:31] <alkisg> If THAT one shows the entry, then go back and echo root etc to see where your initial grub.cfg actually is
[08:31] <cxl> ok I'll try that now
[08:38] <kiwichrish> Evening/Morning/afternoon.... :-)
[08:40] <kiwichrish> A Small Q: about Ubuntu Advantage subscriptions...  Does anyone know if you get a list on the website when you've got more than a community/free account of the host names / IPs that have subscribed under your key / account?  (Just got the free 3x one at the moment and looking at getting a paid subscription for work)
[08:53] <alexg1> hello
[08:54] <kiwichrish> Hello
[09:23] <ice9> how can I run a script automatically whenever apt (install or upgrade) is executed for a specific package?
[09:25] <kiwichrish> https://askubuntu.com/questions/869219/how-can-i-run-a-script-after-a-specific-package-is-upgraded
[09:25] <kiwichrish> :-)
[09:34] <sixwheeledbeast> xy?
[09:35] <bertptrs> sixwheeledbeast: https://en.wikipedia.org/wiki/XY_problem
[09:36] <sixwheeledbeast> it was a suggestion not a question ;)
[09:36] <kiwichrish> I know, but XY is what I was thinking as well. :)
[09:37] <bertptrs> I should pay more attention my bad
[09:38] <kiwichrish> Don't worry, it didn't make sense anyway.
[10:07] <Swahili> Hi!
[10:08] <Swahili> I'd like to do some tests on ubuntu. Installed it through a vm via parallels desktop for macos. Opened the chrome website and pulled the 64 deb. After installing, opened but its not rendering correctly, shows a red square, etc.
[10:08] <gordonjcp> Swahili: Jambo, habari gani?
[10:08] <Swahili> Any idea what might've been wrong? I used to work on ubuntu, but haven't for the past 10 years more or less
[10:08] <Square> im red yes
[10:08] <Swahili> gordonjcp: lol sorry if that's some swahili, I have no idea!
[10:09] <gordonjcp> Swahili: heh, my dad taught me how to say hello, goodbye, and please and thank you but that's about it
[10:09] <Swahili> I also get that with band t-shirts that I don't actually listen to, but I like the art :~D
[10:10] <Swahili> here's a screenshot: https://i.ibb.co/t25VprK/Screenshot-2021-07-08-at-11-10-11.png
[10:12] <Swahili> guess its a parallels desktop issue and not the installation processs for chrome. I'll disable 3d acceleration
[10:18] <Swahili> disabled 3d acc and worked
[10:20] <ogra`> 👍
[10:47] <edlzr> hello everyone!
[11:46] <frogzilla> hello, my laptop screen turned black since a restart. Do you know how to solve it ? (https://linux-hardware.org/?probe=1ec52430a2)
[11:58] <toddc> frogzilla: do you have a ubuntu install disk that you can boot to and use the try ubuntu option and verify if it is hardware or software
[12:00] <frogzilla> how ?
[12:00] <frogzilla> I have a usb.
[12:00] <frogzilla> and i can boot on it
[12:00] <frogzilla> how can I check if it is hardware or software ?
[12:02] <frogzilla> if it works with live cd it will be software so ?
[12:02] <frogzilla> and what can I do ?
[12:47] <BluesKaj> Hi all
[13:25] <marva> Hello i have question is lightdm still active project and developed by canonical?
[13:28] <oerheks> Yes, used up to version 16.04 LTS. While it has been replaced by GDM in later Ubuntu releases, LightDM is still used by default in the latest release of several Ubuntu flavors
[13:33] <marva> ok ,thanks for answer i wanted to use https://github.com/ArcticaProject/lightdm-remote-session-freerdp2 but this project seems quite dead, no documentation. To start rdp session on startup
[13:36] <oerheks> freerdp2 is in our repos too.. https://packages.ubuntu.com/source/focal-updates/freerdp2
[13:37] <oerheks> no need to switch to lightdm
[13:42] <marva> i think its built directly to DM, and then allow direct connection to remote with RDP from login screen or something like that
[13:42] <oerheks> that github project is dead..
[14:30] <felipe> After the last ubuntu update the bluetooth of my laptop isn't working properly. It is switched on but appears as off.
[14:31] <felipe> DMESG gives [    8.551508] Bluetooth: hci0: Failed to send firmware data (-38)
[14:31] <felipe> as well [    8.705889] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[14:31] <felipe>  
[14:32] <felipe> I am using 5.4.0-77-generic #86~18.04.1-Ubuntu
[14:45] <ioria> felipe, try to reload the  btusb module; sudo rmmod btusb  , wait a couple of cs and sudo modprobe btusb
[14:46] <ioria> *secs
[14:49] <Sheilong> ioria: That did not work
[15:31] <Sheilong> Bluetooth error segfault lol
[15:31] <Sheilong> https://paste.ofcode.org/dHBudKPK7We9eVbEuU6THz
[15:33] <leftyfb> Sheilong: what version of ubuntu are you running?
[15:34] <Sheilong> leftyfb: 18.04.1
[15:34] <leftyfb> Sheilong: why are you so far out of date?
[15:34] <Sheilong> I just booted a livecd of Lubuntu 20 and the bluetooth did work.
[15:35] <leftyfb> Sheilong: ok, we're not going to troubleshoot a live cd. Install it and then we can go from there
[15:36] <leftyfb> Sheilong: why is your installed version so far out of date?
[15:36] <Sheilong> leftyfb: Because canonical still gives support to this version. Also I have a lot of stuff installed on that I need to do my work. I will only upgrade it when canonical does not support 18.04 lts anymore.
[15:36] <Sheilong> leftyfb: This version come when I brought a new laptop in 2019.
[15:37] <leftyfb> Sheilong: I'm not talking upgrading 18.04 to 20.04. I'm talking 18.04.1 to 18.04.5
[15:37] <leftyfb> Sheilong: run the regular package upgrades and then we can continue.
[15:37] <leftyfb> Sheilong: sudo apt update ; sudo apt full-upgrade
[15:38] <leftyfb> Sheilong: I also suggest the latest HWE kernel: sudo apt install linux-image-generic-hwe-18.04
[15:40] <Sheilong> leftyfb: Okay. I will do it.
[15:42] <Sheilong> leftyfb: Done.
[15:42] <leftyfb> Sheilong: reboot
[15:44] <Sheilong> leftyfb: Done.
[15:45] <leftyfb> Sheilong: ( cat /etc/os-release ; uname -a ) | nc termbin.com 9999
[15:45] <Sheilong> leftyfb: it still shows #86~18.04.1-Ubuntu
[15:45] <leftyfb> Sheilong: please post the output termbin URL here
[15:45] <Sheilong> https://termbin.com/flpw
[15:46] <leftyfb> Sheilong: ok, and what do you get for messages about BT now?
[15:48] <Sheilong> leftyfb: no. Everything seems to be okay. However, it does not see any bluetooth device on.
[15:48] <Sheilong> https://termbin.com/geyw
[15:50] <leftyfb> Sheilong: hcitool dev
[15:50] <leftyfb> Sheilong: you'll need to install bluez-utils # if the command isn't found
[15:51] <Sheilong> leftyfb: hci0	DC:FB:48:75:1F:B0
[15:51] <leftyfb> Sheilong: ok, so your BT chipset is found and working
[15:51] <Sheilong> That's right. However, my phone is on and it can't find it.  I will switch between on and off the device.
[15:52] <Sheilong> after switch on and off, dmesg gives twice the message: "debugfs: File 'le_min_key_size' in directory 'hci0' already present!"
[15:52] <leftyfb> Sheilong: ok, so this is a usability issue. Why are you trying to pair your phone and laptop?
[15:54] <Sheilong> leftyfb: sorry, I meant Earphone
[15:54] <Sheilong> headphone
[15:55] <lotuspsychje> Sheilong: when you said your issue started after an update, did you mean after a kernel update, BT update or no clue wich?
[15:56] <Sheilong> lotuspsychje: It was a kernel update.
[15:56] <lotuspsychje> Sheilong: tnx, what you could try is boot a previous kernel as a test perhaps?
[15:56] <Sheilong> lotuspsychje: I did, but the problem remained.
[15:57] <leftyfb> lotuspsychje: I think we are passed it being a kernel issue
[15:57] <lotuspsychje> ah you tested
[15:57] <leftyfb> lotuspsychje: the chipset is detected and loaded just fine
[15:57] <lotuspsychje> kk
[15:57] <leftyfb> lotuspsychje: they weren't running HWE. I had them upgrade to it now
[15:57] <leftyfb> Sheilong: hcitool scan
[15:57] <leftyfb> Sheilong: do you see your headphones in the results?
[15:58] <Sheilong> leftyfb: No.
[15:58] <leftyfb> Sheilong: do you see any devices in the results?
[15:58] <leftyfb> Sheilong: are your headphones currently in pairing mode?
[15:59] <Sheilong> leftyfb: Also to make sure that the headphone is working I just connect it to my phone and it is working fine.
[15:59] <Sheilong> leftyfb: that command did returning nothing.
[15:59] <leftyfb> Sheilong: also, have you deleted the existing profile for your headphones from ubuntu so you can repair them?
[16:00] <Sheilong> leftyfb: Just did. Now I was able to connect.
[16:00] <Sheilong> leftyfb: Thanks so much for your help.
[16:01] <lotuspsychje> cookies for leftyfb
[16:22] <raub> join #nginx
[16:28] <doubletwist> So what are the caveats of disabling feature-pinning for apparmor? As an alternative to just uninstalling or disabling apparmor altogether which is the recommended 'fix' by Proxmox Mail Gateway
[16:39] <Hornet> Hello - having real strife with an anomalous boot issue - anyone able to invest a bit of time to assist?  Long story short, this is a headless home media server, which seems to (re?)boot into read only mode on / for reasons unknown. the uuid I can see in fstab doesn't match anything I can see in blkid or grub.cfg and I cannot see why/how it has
[16:39] <Hornet> changed (nor where it is even set to begin with)
[16:39] <Hornet> . Any help & support greatly appreciated
[16:39] <Hornet> fstab: https://termbin.com/4jrfp  mount: https://termbin.com/d68i  blkid: https://termbin.com/hplz   grub.cfg https://termbin.com/z3zl   grub probably is correct according to current blkid (547bf7de-c9c9-44c3-85ed-f02a07cbf4c9), it's fstab that has the wrong uuid: UUID=75755639-921e-4817-a790-353a6ea4d6c5 / ext4 errors=remount-ro 0  1
[16:40] <Hornet> however I cannot know (by nature of the problem) if that is what is causing it or not, it's the only obvious anomaly however
[16:54] <leftyfb> Hornet: look in "dmesg" for any I/O or related storage errors
[16:55] <Hornet> if there were any on the initial boot would they not have been lost? this is read only this boot so dmesg might as well not exist
[16:55] <Hornet> aiui anyway
[16:58] <ogra`> Hornet, dmesg goes to a ringbuffer in ram it will have all info from the moment the kernel starts
[16:59] <ogra`> (we're talking about the dmesg command, not about the /var/log/dmesg file)
[17:00] <Hornet> right thanks :)
[17:00] <Hornet> will look one sec
[17:00] <Hornet> https://termbin.com/2966 ogra`
[17:01] <ogra`> the UUID difference is normal, one is a GPT UUID the other a filesystem UUID ...
[17:03] <weedmic> Hornet: did this used to work, and then this happened, or is this a new setup and you are trying to get it to work the first time?
[17:04] <Hornet> used to work, was off for a while after a broken apt issue (circular dependancy unfulfillable yet somehow also uninstallable)
[17:04] <Hornet> I sorted that BUT then this issue appeared behind it
[17:04] <Hornet> apt was unable to work at all, so it's not as if it died part way
[17:04] <Hornet> it just jammed and couldn't operate
[17:05] <Hornet> re UUIDs, if you're sure then I'll take your word for it, thanks
[17:09] <ogra`> Hornet, that does not look like there are any errors, and yor fstab seems to be preocessed fine as well, given the mount shows everything mounted properly
[17:10] <ogra`> Hornet, what are the exact errors you get ... the system seems to have booted pretty correctly based on the info you give
[17:12] <Hornet> ogra`: there are no errors - I'm just stuck with a read only / partition
[17:12] <Hornet> and as there are no (save) errors I can't work out why
[17:12] <Hornet> *saved
[17:13] <ezakimak> NetworkManager failed to start, but I can't find any actual log info showing the cause
[17:13] <Hornet> ogra this is the fdisk -l output if it helps at all https://termbin.com/2a7u
[17:14] <ezakimak> "NetworkManager.service: Failed with result 'exit-code'" is all I got
[17:14] <Hornet> https://termbin.com/m5ky lsblk -f also
[17:14] <ogra`> Hornet, check if you see any errors with "journalctl -b", the dmesg log looks like a clean boot ... fdisk wont help here, the disks are all properly assigned and mounted, you look for mount errors
[17:15] <Hornet> looking one sec, thanks
[17:15] <Hornet> Jun 13 10:59:21 ArcaneSanctum kernel: Command line: BOOT_IMAGE=/vmlinuz-4.4.0-173-generic root=UUID=547bf7de-c9c9-44c3-85ed-f02a07cbf4c9 ro nomdmonddf nomdmonisw
[17:16] <Hornet> last entry in there about booting I think
[17:16] <leftyfb> ezakimak: you are running a modified version of ubuntu. The modification specifically being networking. I don't think we can support that here. Please contact your vendor for support.
[17:16] <ezakimak> cause you don't use network manager?
[17:16] <ezakimak> and you don't use systemd?
[17:17] <ezakimak> you can't tell me how to get log files out of it for an error message?
[17:17] <leftyfb> ezakimak: because your vendor removed netplan and who knows what other modifications
[17:17] <ezakimak> they claim it never had netplan to begin with
[17:17] <ogra`> Hornet, well, not sure where the last two options come from, the rest looks like a proper kernel cmdline
[17:17] <ezakimak> all netplan does is create config files
[17:17] <ezakimak> so how do you debug when that goes south?
[17:17] <Hornet> look at the date though - it's jun 13th. that hasn't been written to in ages
[17:18] <Hornet> certainly  not today's boot
[17:18] <ogra`> yeah, right
[17:18] <ezakimak> older version of ubuntu did not use netplan, do you not support that?
[17:18] <leftyfb> ezakimak: journalctl -u NetworkManager
[17:19] <ogra`> Hornet, well, try fdisk with the -N option, that will run it in no-op mode so you only see what it would do but it wont apply any changes
[17:19] <tomreyn> Hornet: did you run "journalctl -b" or just "journalctl"?
[17:19] <leftyfb> ezakimak: if you install an official release of ubuntu, we can help you
[17:19] <ogra`> oh, right
[17:19] <ogra`> -b should really come from the ringbuffer
[17:19] <Hornet> hornet@ArcaneSanctum:~$ sudo journalctl -b
[17:19] <ezakimak> the journal is useless. I already told you what it says
[17:20] <ezakimak> ah, I take that back, there's one more line that -xe didn't show me
[17:20] <tomreyn> Hornet: what does "uptime" report?
[17:21] <tomreyn> you said it was a server, so it's well possible that you last booted it on jnue 13?
[17:21] <Hornet>  18:21:16 up  1:46,  1 user,  load average: 0.00, 0.00, 0.00
[17:21] <Hornet> it was powered off so that would be a feat
[17:22] <tomreyn> the journal is indeed older than it should have been, though.
[17:22] <tomreyn> Hornet: what does this report?    cat /proc/version
[17:22] <Hornet> I promise you it was off. if it can run while unplugged I should have had it mining bitcoin
[17:23] <Hornet> hornet@ArcaneSanctum:~$ cat /proc/version
[17:23] <Hornet> Linux version 4.4.0-173-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ) #203-Ubuntu SMP Wed Jan 15 02:55:01 UTC 2020
[17:23] <tomreyn> that's a really old kernel. i assume your apt problems are not really solved
[17:23] <Hornet> it's not been turned on for a long time, I fixed the apt circular issue, but then this appeared
[17:24] <tomreyn> apparently this kernel was built on (and probably for) ubuntu 16.04, too
[17:24] <tomreyn> did you post output of "mount" above?
[17:24] <Hornet> DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
[17:25] <Mekaneck> which is EOL
[17:25] <Hornet> I'm trying to update it!
[17:25] <Hornet> fstab: https://termbin.com/4jrfp  mount: https://termbin.com/d68i  blkid: https://termbin.com/hplz   grub.cfg https://termbin.com/z3zl fdisk -l: https://termbin.com/2a7u lsblk -f: https://termbin.com/m5ky
[17:25] <tomreyn> mount reports "/dev/sde2 on / type ext4 (ro,relatime,stripe=32730,data=ordered)"
[17:25] <tomreyn> note "ro"
[17:25] <Hornet> I do indeed note it
[17:25] <tomreyn> that's read-only
[17:25] <Hornet> that is the root of the issue (hurr no pun intended)
[17:25] <ogra`> thats what we were discussiong the last 20min 🙂
[17:25] <tomreyn> cat /proc/cmdline
[17:26] <tomreyn> probably has "ro" as well?
[17:26] <Hornet> yar
[17:26] <ogra`> it hopefully does
[17:26] <ogra`> thats a default
[17:26] <Hornet> BOOT_IMAGE=/vmlinuz-4.4.0-173-generic root=UUID=547bf7de-c9c9-44c3-85ed-f02a07cbf4c9 ro nomdmonddf nomdmonisw
[17:26] <tomreyn> so you asked to boot in read-only mode, and you got what you asked for., congratulations.
[17:26] <Hornet> I didn't ask it to though
[17:27] <Hornet> it's rebooting into it itself
[17:27] <tomreyn> well that'S what you or some software put into your grub.cfg, it would seem
[17:27] <ogra`> tomreyn, thats a default ... the initrd remonts it rw usually
[17:27] <ogra`> check your own machine 😉
[17:27] <tomreyn> ogra`: oh my, right
[17:27] <Hornet> UUID=75755639-921e-4817-a790-353a6ea4d6c5	/               ext4    errors=remount-ro 0       1
[17:27] <tomreyn> sorry
[17:28] <ezakimak> is it better to use dnsmasq via networkmanager or directly with systemd ?
[17:28] <ogra`> there must have been errors somewhere ... but they are not logged anywhere
[17:28] <Hornet> that's fstab's line about this (note UUID is different for reasons unclear)
[17:29] <Hornet> is there any way I can debug what is actually happening AT boot time?
[17:30] <ogra`> well, usually via dmesg and journalctl -b
[17:30] <ogra`> but the latter didnt give you a recent log
[17:30] <tomreyn> https://lists.ubuntu.com/archives/ubuntu-devel/2014-February/038095.html discusses nomdmonddf nomdmonisw
[17:31] <Hornet> https://termbin.com/s5ui that's dmesg
[17:31] <ogra`> i would try "fsck -N /dev/sde2" ... thats a no-op and should tell you about any errors
[17:31] <tomreyn> journalctl -eb    would move to the end of the log
[17:31] <Hornet> can I run that fsck from a mounted (even read only) system? iirc fscks on mounts act weirdly
[17:32] <ogra`> as long as it is readonly it should be fine
[17:32] <ogra`> and as long as you use -N 🙂
[17:34] <Hornet> tomreyn, that shows the last 20 minutes!
[17:34] <Hornet> should I reboot it and try to see if anything useful ends up there?
[17:34] <ogra`> yay
[17:36] <tomreyn> hmm, still weird that it started logging this session so long ago.   journalctl -p4 -b | nc termbin.com 9999    should give us more clues
[17:36] <tomreyn> oh wait this is 16.04, it doesn't usually have persistent journald
[17:37] <Hornet> sudo journalctl --since=yesterday --until=now >>> https://termbin.com/wasj
[17:38] <Hornet> thanks greatly for helping with this btw. I seem to end up with all the exotic issues
[17:38] <ogra`> well, thats already readonly ...
[17:39] <tomreyn> Jul 08 16:35:03 ArcaneSanctum ntpdate[987]: [..] offset 2180128.236919 sec    might explain some weirdness about logs.
[17:39] <ogra`> yeah
[17:40] <ogra`> smells like a wrong BIOS clock or broken battery ... but that still doesnt explain the readonly state
[17:40] <tomreyn> it doesn't. but we can assuem that    jorunalctl -b   does indeed output the current boot log.
[17:41] <ogra`> the fact that npdate runs successfully before the network is up is also interesting
[17:41] <Hornet> the battery is old, I can change it, fairly sure I have a spare
[17:41] <Hornet> I have no idea how it's doing that bit of voodoo though?
[17:42] <ogra`> so paste the full log of journalctl -b, the timestamps might be moot here
[17:43] <Hornet> uptime shows correct current time, but will do, one sec
[17:43] <Hornet> https://termbin.com/be1p
[17:45] <ogra`> Jun 13 10:59:21 ArcaneSanctum kernel: EXT4-fs (sde2😞 mounted filesystem with ordered data mode. Opts: (null)
[17:45] <Hornet> wait how are there errors in there about read only filesystesms
[17:45] <ogra`> looks all good
[17:45] <ogra`> Jun 13 10:59:21 ArcaneSanctum systemd-remount-fs[279]: /bin/mount for / exited with exit status 1.
[17:45] <ogra`> there you go !
[17:46] <ogra`> Jun 13 10:59:21 ArcaneSanctum systemd-remount-fs[279]: mount: can't find UUID=75755639-921e-4817-a790-353a6ea4d6c5
[17:46] <ogra`> so you are right ... the UUID is wrong in fstab it seems
[17:46] <Hornet> if this is saved on the / drive how was this log even written
[17:46] <Hornet> that was my gut reaction but I thought uuids couldn't change ever
[17:47] <Hornet> and I certainly didn't put that in there
[17:47] <ogra`> its not written ... journald logs to ram by default and only flushes to disk later
[17:47] <Hornet> oh I see so that 'old' log is actually today still
[17:47] <ogra`> most likely, given your clock is off
[17:48] <Hornet> I thought the last time I worked on it was the 13th though (my birthday so I remembered)
[17:48] <ogra`> so for a test i'd try to comment the original / entry in fstab and change to the correct one for sde2
[17:48] <Hornet> that's one hell of a coincidence if so
[17:49] <Hornet> I'll have to edit that with a live boot usb then, I'll dig one up and wire the box into something visual
[17:49] <ogra`> 547bf7de-c9c9-44c3-85ed-f02a07cbf4c9
[17:49] <ogra`> that seems ot be the one you want
[17:49] <Hornet> I know! /dev/sde2: LABEL="slash" UUID="547bf7de-c9c9-44c3-85ed-f02a07cbf4c9" from blkid
[17:49] <Hornet> but that should -always- have been the one in fstab
[17:49] <ogra`> you can just "sudo mount -o remount,rw /"
[17:50] <ogra`> and then edit fstab
[17:50] <Hornet> something has altered that, or, the sde2 uuid has changed since I wrote it in fstab
[17:50] <Hornet> oho, black magic, I'll try 2 seconds
[17:50] <ogra`> well, UUIDs can be changed with tune2fs ...
[17:50] <ogra`> perhaps you ran something that called it or so
[17:51]  * ogra` needs to go afk ... but i'll return later ...
[17:51] <Hornet> mount: can't find UUID=75755639-921e-4817-a790-353a6ea4d6c5
[17:51] <Hornet> lol.
[17:51] <Hornet> thanks greatly for your help though :)
[17:51] <Hornet> same fstab error is causing it to begin with
[17:52] <Hornet> maybe we should have just done the remount command as debug stage 1!
[17:52] <tomreyn> that's not safe to do if the file system is corrupt
[17:52] <ogra`> it isnt corrupt ... the UUID changed somehow
[17:53] <ogra`> which causes: Jun 13 10:59:21 ArcaneSanctum systemd-remount-fs[279]: mount: can't find UUID=75755639-921e-4817-a790-353a6ea4d6c5
[17:53] <ogra`> so it never gets remounted RW
[17:54] <ogra`> anyway, out ...
[17:54] <Helmholtz1> Why none my SysReq Magic sequences work except hard reboot?
[17:54] <tomreyn> does this rule out that the file system is corrupt? i don't assume it is since we know that the initial mount failed.
[17:54] <tomreyn> but we only learnt this in the past 5 miuntes, i think
[17:56] <tomreyn> Helmholtz1: i think some others should fwork, too, but certainly not all of them:  cat /etc/sysctl.d/10-magic-sysrq.conf
[18:00] <tomreyn> Hornet: so you know how to proceed?
[18:00] <Hornet> tomreyn: going to live boot something to edit that fstab manually, then reboot and see what blows up
[18:00] <Hornet> wiring up kvm atm
[18:01] <tomreyn> why live boot, did you not remount.rw already?
[18:01] <Hornet> no, it can't remount as fstab is errant!
[18:02] <Hornet> that's the root of all this, as I suspected an hour ago
[18:02] <Helmholtz1> tomreyn, huh...so enabling them is a security issue
[18:02] <Hornet> hornet@ArcaneSanctum:~$ sudo mount -o remount,rw /
[18:02] <Hornet> [sudo] password for hornet:
[18:02] <Hornet> mount: can't find UUID=75755639-921e-4817-a790-353a6ea4d6c5
[18:02] <alkisg> You can override /etc/fstab if you want
[18:02] <Hornet> hornet@ArcaneSanctum:~$
[18:02] <alkisg> You can create /run/fstab and then run mount --bind /run/fstab /etc/fstab
[18:02] <alkisg> And then mount -o remount,rw /
[18:02] <alkisg> (although mount -o remount,rw <device> should work even without the fstab being correct)
[18:03] <Hornet> I've already moved the server so can't try that now
[18:03] <Hornet> will let you know what happens in a few though
[18:03] <tomreyn> make sure you really reinstall or upgrade this system once this is solved
[18:03] <Hornet> I wanted to upgrade to 20.4 lts
[18:04] <tomreyn> Helmholtz1: yes, can be, depends.
[18:04] <Helmholtz1> `enable sync command`
[18:04] <Helmholtz1> what is this?
[18:04] <tomreyn> sync write buffers to storage
[18:04] <Helmholtz1> So in general what can I do when system is completely hung up?
[18:05] <Helmholtz1> Like even mouse doesn't move
[18:05] <tomreyn> ssh in, or switch to a tty
[18:05] <tomreyn> or use a netconsole, or a serial console
[18:06] <tomreyn> if none of this works wither, then you can just sysrq sync + reboot
[18:06] <tomreyn> *either
[18:08] <Helmholtz1> tomreyn, This is my main laptop. even can't switch to TTY. A particular vpn app causes this
[18:08] <Helmholtz1> I don't know it's Firefox bug or this app's bug
[18:08] <Helmholtz1> honestly, Linux shouldn't behave like this
[18:08] <tomreyn> it doesn't
[18:08] <tomreyn> unless the app takes all resources
[18:09] <Helmholtz1> I mean kernel shouldn't let it take all resources
[18:09] <Helmholtz1> at least keyboard input should interrupt everything
[18:09] <tomreyn> you mean ctrl-c? that wouldn't work on X
[18:11] <tomreyn> you probably should not be running "a particular vpn app", or run it differently, mor constrained, if it achieves to put the system out of cpu resources
[18:12] <tomreyn> sync has the benefit that you may be able to tell what went wrong after reboot, by reviewing the logs from before you rebooted
[18:12] <Helmholtz1> tomreyn, embarrased to say that I didn't understood "write buffers"?
[18:13] <Helmholtz1> What buffers? did you mean journald?
[18:13] <oerheks> No need for a 'particular vpn app', just a few mouseclicks and name/password .. https://help.ubuntu.com/stable/ubuntu-help/net-vpn-connect.html.en
[18:14] <Helmholtz1> oerheks, every vpn app does its own thing. some use openVPN (which could be integrated as you said)..some reverese SSH...newer ones wireguard
[18:14] <Helmholtz1> This one is a go-app which does reverese SSH I guess
[18:14] <oerheks> oh, that worries me..
[18:15] <alkisg> Helmholtz1: when an app writes to disk, the kernel may cache it instead. "sync" writes that cache/buffer to disk
[18:15] <tomreyn> Helmholtz1: disk writes don't usually go to disks immediately, but are kept in memory for a few a few seconds, so as to prevent constatly writing to the disk. that's write buffering.
[18:16] <Helmholtz1> So when we sync, it essentially flushes every running app's working memory to disk (if it wanted to write to disk in the first place)
[18:16] <Helmholtz1> So if this app does not write its log, sync would not be heplful
[18:16] <tomreyn> so if there are important logs on this critical event that caused the system to become unresponsive for you, have been logged to ram only, but not yet written to disk, and you reboot (without syncing the write buffer to disk) then you'll loose those
[18:17] <Helmholtz1> It spams ~/.Xresources about warnings on gtk tray though
[18:17] <Helmholtz1> tomreyn, Can journald somehow catch what process got all system resources?
[18:18] <Helmholtz1> s/~/.Xresources/X-session-errros
[18:18] <tomreyn> no, not unless something logs it there
[18:18] <tomreyn> which ubuntu releae and desktop are you running?
[18:19] <Helmholtz1> tomreyn, 18.04 but Xfce..
[18:20] <Helmholtz1> I know it's outdated
[18:20] <Helmholtz1> https://dpaste.com/A8KPJQ34P
[18:20] <tomreyn> the hardware or the ubuntu release?
[18:20] <Helmholtz1> My journald is spammed by ;CPU0: Package temperature above threshold, cpu clock throttled (total events = 11153)'
[18:20] <Helmholtz1> tomreyn, the release
[18:21] <tomreyn> i don't help with eol releases unless it's about upgrading to a supported release
[18:21] <Helmholtz1> tomreyn, ok 🌹
[18:22] <oerheks> rtkit-daemon, only puseaudio uses that, IIIRC
[18:23] <oerheks> oh, EOL xfce .. i hope you have Firefox 89.0.2
[18:49] <morgans> Where doies cheese store it's images, ubuntu 20.04 - yes I did try google.
[18:50] <morgans> Where does cheese store i's images? ubuntu 20.04 - yes I did try google.
[18:50] <morgans> Where does cheese store its images? ubuntu 20.04 - yes I did try google.
[18:50] <oerheks> morgans, standard in ~/Pictures
[18:50] <morgans> let me look again.
[18:51] <Mekaneck> If you googled it for real you'd know it: By default, Cheese saves the photos and videos in the Webcam folder in your user's Photo or Videos folder of your home folder.
[18:51] <morgans> DOH. In the "Webcam" folder. Thanks for being kind to the dumb. (And would help some of us in some Ubuntu help page.)
[18:52] <morgans> Thanks oerheks
[18:52] <Mekaneck> my next answer was ~/Pictures/Webcam
[18:52] <Mekaneck> :)
[18:54] <Hornet> ogra` , tomreyn : looks like that has it writing again
[18:54] <Hornet> took a long time to boot up to sshable though, when I had it on monitor it was running disk checks
[18:55] <tomreyn> Hornet: congrats. and: hush, release upgrade time
[18:55] <Hornet> unsure if it should be doing that each boot but who knows, problem for another time! next step is upgrading yes
[18:55] <Hornet> is there likely to be anything complex about an upgrade from this old?
[18:55] <tomreyn> it probably needed to check all file systems during this boot
[18:55] <Hornet> last boot was the same except no networking (no cable that reaches here)
[18:56] <Hornet> time taken implies it did the same checks
[18:56] <Hornet> it's now back in the corner by the router
[18:56] <tomreyn> make sure you have internet access so you can bring it up to date on 16.04
[18:57] <tomreyn> then disable all third party repositories, then sudo apt update, then check what you need to remove or downgrade, yet: what does this output? apt list --installed | grep ',local\]$' | nc termbin.com 9999
[18:57] <Hornet> hrmmmm, apt can't lock
[18:58] <tomreyn> maybe you have unattended-upgrades installed
[18:58] <Hornet> https://termbin.com/0j7w
[18:59] <tomreyn> finally, when this and anything around apt updates + apt full-upgrade  looks sound, you can do the release upgrade
[18:59] <tomreyn> (after ensuring complete and restorable backups are present)
[19:01] <Hornet> root      1325  0.0  0.0   4500   668 ?        Ss   19:52   0:00 /bin/sh /usr/lib/apt/apt.systemd.daily update
[19:01] <Hornet> root      1338  0.0  0.0   4500  1568 ?        S    19:52   0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update
[19:01] <Hornet> hornet    2085  0.0  0.0  14224   924 pts/0    S+   20:01   0:00 grep --color=auto -i apt
[19:02] <Hornet> so if that's something working in the background should I just wait & hope it sorts things out itself?
[19:04] <sarnold> Hornet: yeah, just wait for that to run to completion
[19:06] <tomreyn> you can run   watch pstree -n 1325   to see whether it's child processes are changing
[19:12] <Hornet> seems to show nothing
[19:12] <sarnold> ah then it's probably done and you can start your apt update && apt upgrade commands
[19:13] <Hornet> however in ps aux the pids have changed for those programs
[19:13] <Hornet> no
[19:13] <Hornet> looks like it reexecuted them
[19:13] <Hornet> I think
[19:13] <sarnold> d'oh
[19:13] <Hornet> if it thinks it's actually doing something though then I'll let it
[19:33] <alkisg> "repty" lets you "steal" the stdio tty from a process, maybe that way we can interact with unattended upgrades when we want to...
[19:34] <sarnold> they're running without a pty in the first place, so I'm not sure if you could realistically attach one after the fact. (I'd be curious what your results are ;) -- but because it's not intended to have a terminal, I don't think there's much room for interacting with it
[20:25] <TJ-> You'd need to set APT::Periodic::Verbose = 3 to see what it is doing
[20:29] <TJ-> there's a neat wrapper around gdb called fdswap which could change the current file descriptor targets on a running process. https://www.redpill-linpro.com/sysadvent/2015/12/04/changing-a-process-file-descriptor-with-gdb.html
[21:03] <morgans> how do I change my background image (fill zoom tile...) - i googled it but the control is no longer in Appearances or in Background.
[21:04] <Mekaneck> morgans: on Gnome.... not
[21:04] <morgans> nor in Display. (have been looking at the suggestions. BTW I use duckduckgo not the goog
[21:06] <oerheks> click on background >right mouse, change background?
[21:07] <Mekaneck> oerheks: he means the zoom, tile, fill options
[21:07] <Mekaneck> those options are gone in Gnome
[21:08] <oerheks> Oh oke, yes, they are moved to gnome-tweak-tool
[21:08] <Mekaneck> ah, true
[21:08] <Mekaneck> morgans: sudo apt install gnome-tweak-tool
[21:09] <Mekaneck> after that you'll find it as Tweaks among the other apps
[21:09] <Mekaneck> there you'll find the zoom, tile, fill options
[21:09] <Mekaneck> thanks oerheks
[21:09] <oerheks> centered scaled stretched ..
[21:12] <morgans> oerkecks, I have it. Will go there. (not ready for ordinary let alone prime time. (what were they thinking to remove that?)
[21:13] <morgans> what do I do to show the entire desktop without minimizing each window one by one?
[21:14] <oerheks> i think there is a list of short keys?
[21:21] <Mekaneck> morgans: https://wiki.gnome.org/Design/OS/KeyboardShortcuts
[21:24] <Mekaneck> morgans: if you have issues running Gnome 3 know there's also Ubuntu MATE with a traditional Gnome 2 layout back from the good old days and there's Kubuntu and Xubuntu too. You could try those then.
[22:18] <nuxil> is it possible to create a 8K resolution or alike, in ubuntu when its running in a vm? i tried using cmd: xrandr --size 7680x4320  but it says no availeble modes for that resolution.
[22:22] <weedmic> nuxil: yes, but... you need a physical second gpu that you can assign to the VM.  if you are using an ethereal gpu, then no as you only get 128mb max.
[22:23] <nuxil> the thing is i need a virtual resolution that is bigger than what the monitor can provide.
[22:30] <nuxil> hmm
[22:32] <DrManhattan> I love the whole "Use of this channel implies acceptance of TOS"
[22:32] <DrManhattan> that's cute
[22:33] <leftyfb> DrManhattan: can we help you with something?