[00:08] <CatPasswd> I have a retarded problem. Changed the local domain on my dhcp scope on the router, and ubuntu networking is now netnotworking. I'm only here because I have a freenas box with a quasselcore instance.
[00:08] <CatPasswd> reverted scope change, went with static ip, and no changes
[00:09] <CatPasswd> I can't connect to anything outside my local network
[00:10] <CatPasswd> Is there a way in the cli to completely obliterate any network settings and force the setup wizard to fire up to rebuild them from scratch?
[00:15] <august_9000> CatPasswd: try asking in ##linux, if there is no responce in #ununtu.
[00:17] <tomreyn> which setup wizard actually? which ubuntu version and variant is being used there?
[00:18] <ExoUNX> anyone know what's going on here? - https://news.ycombinator.com/item?id=20369902
[00:18] <tomreyn> !discuss | ExoUNX
[00:18] <CatPasswd> 18.04
[00:19] <CatPasswd> straight ubuntu desktop. Whatever the default was on the download site
[00:19] <CatPasswd> Linux eris 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[00:19] <tomreyn> so a desktop, i assume?
[00:20] <CatPasswd> Well yes
[00:20] <tomreyn> so using network-manager? and you want to remove network manager profiles?
[00:21] <tomreyn> maybe you just need to dhclient
[00:22] <CatPasswd> changed to a static IP. That's what I'm doing now
[00:22] <leftyfb> CatPasswd: lets try starting with just dhcp
[00:23] <leftyfb> CatPasswd: reboot and what happens when it reconnects? do you get an ip? Do you get a default route? Do you get a nameserver?
[00:23] <CatPasswd> nameserver is my router IP, in the dhcp scope
[00:24] <CatPasswd> And yes. I pick up all the settings using dhcp
[00:24] <leftyfb> CatPasswd: can you ping the default route?
[00:24] <leftyfb> CatPasswd: is the default route the ip of your router?
[00:24] <CatPasswd> yes. I can even use the webui to manage the router
[00:24] <CatPasswd> 192.168.2.1
[00:24] <leftyfb> CatPasswd: ok, can you ping 1.1.1.1?
[00:25] <CatPasswd> yep
[00:25] <leftyfb> CatPasswd: ok, can you ping google.com?
[00:25] <CatPasswd> there's something cached somewhere that needs to be scrubbed
[00:25] <CatPasswd> no. Can't do a lookup
[00:26] <CatPasswd> ping: www.google.com: Name or service not known
[00:26] <leftyfb> CatPasswd: nc termbin.com 9999 < <(host google.com 1.1.1.1)
[00:27] <CatPasswd> nc: getaddrinfo for host "termbin.com" port 9999: Name or service not known
[00:28] <leftyfb> CatPasswd:  nmcli device show|egrep -i "domain|dns"
[00:28] <CatPasswd> IP4.DNS[1]:                             192.168.2.1
[00:29] <leftyfb> that it?
[00:29] <CatPasswd> That's it. Same for everything else that connects on my network
[00:30] <CatPasswd> It's an asus ac88u running entware and pixelsrv-tls
[00:30] <leftyfb> and everything else on your network is working correctly?
[00:30] <CatPasswd> yep
[00:31] <CatPasswd> I was just browsing around on my tablet
[00:31] <leftyfb> CatPasswd: what nameserver does your tablet have?
[00:31] <CatPasswd> It's assigned by the DHCP scope on the router. 192.168.2.1
[00:32] <leftyfb> CatPasswd: you confirmed what it's nameserver is as opposed to just assuming which one it got assigned right?
[00:32] <CatPasswd> I just rebooted it twice, making sure it was working after the local domain change in the dhcp scope, and after reverting the change.
[00:33] <CatPasswd> but I'll look again
[00:34] <leftyfb> CatPasswd: "host google.com 1.1.1.1"   just confirm it can resolve that. Then try "host google.com 192.168.2.1"
[00:34] <CatPasswd> Yeah, picked up the reverted settings fine
[00:34] <leftyfb> CatPasswd: the domain is only for local lookups. Not anything routed over the internet
[00:35] <CatPasswd> That's why this problem has me stumped. Changing that should not have broken the route out
[00:35] <CatPasswd> and yeah, it can see google.
[00:35] <CatPasswd> google.com has address 172.217.164.142
[00:36] <leftyfb> CatPasswd: with both using 1.1.1.1 and 192.168.2.1?
[00:36] <CatPasswd> yes
[00:36] <CatPasswd> Using domain server:
[00:36] <CatPasswd> Name: 192.168.2.1
[00:36] <CatPasswd> Address: 192.168.2.1#53
[00:36] <CatPasswd> Aliases:
[00:36] <CatPasswd> google.com has address 172.217.4.46
[00:37] <leftyfb> please use pastebin
[00:37] <leftyfb> but "ping google.com" fails?
[00:37] <CatPasswd> I can't...
[00:37] <CatPasswd> :)
[00:37] <CatPasswd> ping: google.com: Name or service not known
[00:37] <CatPasswd> Maddening, isn't it
[00:38] <leftyfb> CatPasswd: can you take a look at /etc/nsswitch.conf
[00:38] <tomreyn> $ echo hello_world | nc 5.39.93.71 9999
[00:38] <tomreyn> https://termbin.com/q4te
[00:39] <leftyfb> ah, good idea tomreyn
[00:39] <CatPasswd> I believe the relevant line is this one - hosts:          files [NOTFOUND=return] dns myhostname mdns4_minimal
[00:39] <magic_ninja_work> I'm so happy. Turns out this version of ubuntu is amazing for this laptop's battery life.
[00:40] <magic_ninja_work> I'm back up to around 6-8 hours.
[00:41] <leftyfb> CatPasswd: nc 5.39.93.71 9999 < <(cat /etc/nsswitch.conf ; host google.com 1.1.1.1 ; host google.com ; ping -c1 google.com)
[00:41] <CatPasswd> https://termbin.com/m921
[00:42] <Bollsaq> howdy
[00:43] <leftyfb> CatPasswd: you have to entries for hosts: in your /etc/nsswitch.conf
[00:43] <Bollsaq> Would adjusting latency in pavucontrol fix audio/video sync issues with webcam recordings? The video is always a fraction of a second behind the audio.
[00:43] <CatPasswd> I believe the relevant line is this one - hosts:          files [NOTFOUND=return] dns myhostname mdns4_minimal
[00:43] <leftyfb> CatPasswd: sure, you still have 2 hosts: entries at the end of the file
[00:43] <CatPasswd> Haven't touched the file, so I assume that's the default setting
[00:44] <CatPasswd> There's only one line in there that starts with hosts:
[00:44] <leftyfb> oh wait, hold on
[00:45] <leftyfb> hosts:          files mdns4_minimal [NOTFOUND=return] dns myhostname
[00:45] <leftyfb> that is my entry
[00:45] <tomreyn> mine, too
[00:46] <CatPasswd> right. I'll swap the order
[00:47] <CatPasswd> And now I can ping www.google.com
[00:48] <leftyfb> everything work fine now?
[00:48] <CatPasswd> Browser works after a restart too
[00:48] <CatPasswd> seems to be
[00:49] <CatPasswd> I swear I never messed with the order in that file. No idea how that happened.
[00:49] <tomreyn> ubuntu 18.04 server has:  hosts: files dns
[00:50] <CatPasswd> wine apps work. Discord connects.
[00:51] <leftyfb> tomreyn: weird thing, those 2 entries I mentioned are on my system
[00:52] <leftyfb> https://termbin.com/5tlv
[00:52] <tomreyn> leftyfb: what's weird? that server has something else than desktop (i find this weird), or that CatPasswd had a different order of records than you and me on the desktop?
[00:53] <CatPasswd> It's a pretty fresh install, maybe 2-3 weeks old
[00:53] <leftyfb> tomreyn: that my workstation has 2 additional entries for hosts:
[00:53] <CatPasswd> And I made no custom entries in nsswitch.conf
[00:54] <ExoUNX> Is there an official repo for php7.3 in Ubuntu 18.04?
[00:54] <tomreyn> leftyfb: oh i missed those
[00:54] <tomreyn> leftyfb: this looks like some automatism placed them there?
[00:54] <tomreyn> like, deployment scripts?
[00:55] <tomreyn> or some software which just wanted to "make sure the system is setup properly"
[00:55] <leftyfb> tomreyn: just checked, not the ansible playbook I usually run for work
[00:55] <Bashing-om> !info php7 bionic | ExoUNX
[00:56] <leftyfb> tomreyn: no biggie, as long as it works for me. At least I know they're there if there's ever any issues I can always start there
[00:56] <ExoUNX> !info php7.2 bionic | ExoUNX
[00:56] <ExoUNX> !info php7.3 bionic | ExoUNX
[01:00] <magic_ninja_work> what is the current story with hybrid graphics?
[01:01] <magic_ninja_work> I can swap gpus with nvidia-xconfig but it seems like I need to run a new instance of x in order to use the GPU.
[01:01] <tds> CatPasswd: how did you do that install?
[01:07] <Sven_vB> when I boot xenial on my netbook, the font in the initramfs shell is too tiny to easily read it. is there a kernel option to force a low screen resolution or sth.?
[01:13] <tomreyn> GRUB_GFXPAYLOAD_LINUX=WxHxB in /etc/default/grub
[01:13] <Sven_vB> looks like even making casper-rw world-writable won't help as long as it's on ext3 or ext4. it works fine on a fat32 partition. I wonder why?
[01:13] <tfgbd_> Where do I talk about ARM Ubuntu?
[01:13] <tomreyn> #ubuntu-arm
[01:14] <tomreyn> or here
[01:14] <tfgbd_> How do I submit things to the repos?
[01:19] <tomreyn> tfgbd_: either through debian or https://wiki.ubuntu.com/UbuntuDevelopment
[01:21] <tomreyn> also https://wiki.ubuntu.com/ContributeToUbuntu#Maintaining_Ubuntu
[01:21] <tfgbd_> I'm not packaging it up.  Someone else can.
[01:22] <magic_ninja_work> it probably won't make it in a repo unless enough people find it useful then
[01:22] <tomreyn> debain has a concept of "request for packaging" where you open a bug report asking for a software to be maintained by someone
[01:23] <tfgbd_> Why can't the developer maintain it?
[01:24] <tomreyn> you just said you didn't want to package it
[01:24] <tomreyn> packages need to be maintained by someone.
[01:24] <tomreyn> there's also !snaps
[01:24] <tomreyn> and !PPA s
[01:24] <tomreyn> !snaps
[01:25] <tomreyn> !ppa
[01:25] <tfgbd_> I dunno.  I just want someone to test it first.
[01:25] <tfgbd_> The developer got mad that I could even compile it
[01:25] <tfgbd_> t?
[02:23] <Gallomimia> anyone care to remind me how things are done when one has to copy a working install inside some LVM containers?
[02:23] <Gallomimia> starting with my home dir... it's going now
[02:32] <Gallomimia> ummm. okay i just remounted my home copy over top of where my home used to be, after renaming the old one
[02:32] <Gallomimia> what problems am i seeing? reports of hexchat logs being unreadable
[02:32] <Gallomimia> i can delete it now right??
[02:35] <Gallomimia> yikes no. i mounted it wrong
[02:40] <Gallomimia> bah. what a pain. next time log out before twiddling the home dir
[02:43] <tfgbd_> What is the "equivelent" to this on Ubuntu?  https://www.xnview.com/en/xnviewpocket.php#downloads
[02:44] <Gallomimia> well i don't know what that does
[02:44] <Gallomimia> but you might as well use gimp
[02:44] <Gallomimia> since it's free and as good as photoshop, mostly
[02:44] <tfgbd_> Does it do batch image conversion on my CF card in minutes?
[02:44] <Gallomimia> i don't know
[02:45] <Gallomimia> !gimp | tfgbd_
[02:45] <Gallomimia> i'm sure it does batch image conversion. i recommend against doing anything on a CF card without copying the data off first
[02:45] <tfgbd_> I think you're just thinking of debian
[02:46] <tfgbd_> https://www.xnview.com/en/xnviewmp/
[02:48] <tfgbd_> https://www.xnview.com/assets/img/screenshots/xnview-win-01.png
[02:48] <Gallomimia> please stop posting random links and contradicting everything someone says in reply. someone is going to think you're a troll
[02:50] <tfgbd_> I just didn't see it
[02:50] <tfgbd_> But they don't have rpi
[02:50] <Gallomimia> what are you even talking about
[02:52] <tfgbd_> Raspberry Pi ARM32/64
[02:52] <Gallomimia> oh. you might not want to run gimp on an rPi
[02:53] <tfgbd_> Why not?
[02:53] <tfgbd_> Doesn't it port right?
[02:53] <Gallomimia> i would think it's a little resource heavy
[02:54] <tfgbd_> I would think not.
[02:54] <tfgbd_> It ran on machines with 256mb and XP, remember
[02:54] <Gallomimia> alright then. give it a go and tell us how it works
[02:56] <tfgbd_> I'll try it on my new AARCH64 "development board"
[02:56] <tfgbd_> It's just apt-get install gimp2, right
[02:56] <Gallomimia> uh, i think so
[02:56] <Gallomimia> how did i even install it :/ i think i used software center
[02:57] <Gallomimia> jeeze did that pull a snap?
[02:57] <Gallomimia> yes :'(
[03:01] <tfgbd_> Not everyone can afford to wait for software center
[03:01] <Gallomimia> i rather dislike it myself
[03:02] <Gallomimia> but i do like having a list of stuff to browse rather than having to know the exact spelling and version of a package
[03:03] <Gallomimia> i think if i want to copy my bood drive to a new place, i have to boot from a liveUSB
[03:04] <Gallomimia> how does one copy a partition from a bare metal drive into a new LV? dd ??
[03:04] <tfgbd_> gparted
[03:06] <Gallomimia> i don't think that supports nested luks and LVM containers
[03:20] <magic_ninja_work> insane. After applying a few tweaks I'm looking at 8-10 hours battery life with a 15% degredation in battery capacity from origina.
[03:48] <resixian> Gallomimia: i usually mount both filesystems and rsync
[03:52] <Gallomimia> yikes. lightning. and i'm without a UPS
[03:52] <Gallomimia> maybe it won't be happening tonight
[03:52] <Gallomimia> resixian, that's enough to solidify a full install?
[04:08] <Gallomimia> lightning in a totally flat area with no proper surge arrest. i feel naked
[04:11] <sudo18> Question: I have a ubuntu 18.04 box that i have set up just the way i like it, but i want to make the machine dual boot with windows 7 to run certain games. is there a way to install windows without losing the ubuntu install and have a bootloader where i can choose
[04:11] <sudo18> ?
[04:23] <mr_lou> If I write an ISO file to a USB stick with dd - shouldn't it be readable on a Windows machine too? Not bootable. Just readable. It reads fine on my Ubuntu box, and my Sony Blu-ray player, but not my Windows machine. I suspect something must be wrong with my Windows machine?
[04:24] <mika`> is there a cmd that can stat or ls a dir that can grep a list of files not touched in say - years? that can output to a txt file? or, grep it to another cmd that will just del what it got piped?
[04:28] <Ben64> mika`: check out what 'find' can do
[04:33] <mika`> aye. i just didn't know if there was a good pipe thingy. ( i not a programmer / coder )
[04:36] <Gallomimia> sudo18, yes. the ubuntu installer does that just fine. usually you install windows then ubuntu.
[04:37] <Gallomimia> mr_lou, windows doesn't have any default way to read ext4 devices. so. no, it shouldn't be readable. yes there's something wrong with the windows machine (its running windows)
[04:37] <tfgbd_> There is a driver for ext3
[04:38] <mr_lou> Gallomimia, No no, it's not ext4 iso. It's actually an ISO that was made on Windows years ago.
[04:38] <Gallomimia> is it installed by default?
[04:38] <tfgbd_> Does Wubi still work?
[04:38] <Gallomimia> oh. iso, should be readable. it's readable with the ubuntu machine?
[04:38] <mr_lou> Yes. And my Blu-ray player.
[04:38] <Gallomimia> i read the rest.... okay
[04:38] <Gallomimia> iso file, as in cd/dvd format
[04:39] <mr_lou> Yes
[04:39] <mr_lou> Just a CD ISO written to a USB.
[04:39] <mr_lou> Windows won't read it.
[04:39] <mr_lou> (And if you wanna compete in who mates Windows the most, I will win).
[04:39] <mr_lou> *hates
[04:39] <sudo18> Gallomimia: i understand what usually is done. i'm asking if there's a way to do it where ubuntu is left alone as the main os and then i can install windows along side it? or do i need to make an image of the ubuntu install as it is now, format and clean install windows, THEN install ubuntu and restore from the image (obviously i'm trying to avoid the latter and just slide windows on in dual
[04:39] <sudo18> boot fashion)
[04:40] <Gallomimia> ah well. that's probably debatable. i was an apple fanboi for 25 years
[04:40] <mr_lou> I have never liked Windows ever.
[04:40] <Gallomimia> sudo18, you'll have to check on what type of partition style your drive is
[04:40] <magic_ninja_work> On suspend will ubuntu hibernate after a while rather than drain the battery?
[04:40] <Gallomimia> i hated it since win3.1
[04:40] <mr_lou> I used Amiga while everyone else embraced Windoze.
[04:40] <lotuspsychje> !ot
[04:40] <Gallomimia> i don't think a suspended system can spontaneously hibernate
[04:42] <mr_lou> So in conclusion, there's no special attribute I neeed to give dd in order for such an iso to work on Windows, right? I thought maybe I had to use a certain blocksize, but it doesn't seem to make any changes.
[04:42] <Gallomimia> let me think here.... can windows 7 be installed on a GPT drive? i'm not sure. but once you determine your partition table is compatible with windows, make the partition you want, install windows, come back to ubuntu and then a simple grub-update should do the trick
[04:43] <Gallomimia> if it's not, then yes, you'd have to image your install, reformat the drive, and then do as you wrote sudo18
[04:44] <Gallomimia> mr_lou, they don't like us hating on windows in here, or talking about windows-only issues
[04:45] <mr_lou> Well it's Ubuntu related. I want to be able to write these ISO's on Ubuntu - but they gotta work on Windows. I can understand ext4 and udf iso's not being readable, but not "normal" ISO's.
[04:46] <mr_lou> So something must be wrong with this particular windoze machine. Gotta test on other ones.
[04:47] <Gallomimia> that's rather odd if you ask me. especially if it runs on an appliance
[04:50] <Gallomimia> how big would any of you suggest the root fs of a disco-dingo install should be? /home and all other large data filesystems will be separate LV's
[04:50] <Gallomimia> my xerus and trusty tahr volumes are 16gigs but it looks like my disco dingo one is already 16.8
[04:53] <Gallomimia> 8.3 gigs in /var why is this??
[04:53] <lotuspsychje> var= logs
[04:54] <Gallomimia> 4 gigs of logs is a lot of logs
[04:54] <Gallomimia> 3.1g in lib/snapd
[04:54] <Gallomimia> lame.
[04:55] <Gallomimia> any suggestions on how to reduce this?
[04:56] <Gallomimia> cd snaps
[04:56] <Gallomimia> oops
[04:56] <Gallomimia> seems to be keeping old versions?
[04:57] <lotuspsychje> Gallomimia: uninstall snaps, clear logs, clean system with bleachbit
[04:57] <Gallomimia> some of the software i'd really rather keep, in spite of their handicapped way of managing disk space
[04:58] <lotuspsychje> Gallomimia: this isnt the complaints channel
[04:58] <lotuspsychje> Gallomimia: keep software = more disk space?
[04:59] <Gallomimia> right. it's the place where you ask how to do things. how do i clean out the old versions without willy-nilly typing sudo rm
[04:59] <lotuspsychje> Gallomimia: old versions of what
[04:59] <Gallomimia> snaps
[05:00] <Gallomimia> reading this dir shows me there's a duplicate of pretty much everything i have installed
[05:00] <lotuspsychje> Gallomimia: there's no such thing as old snap version, you have the snap installed, or not
[05:00] <lotuspsychje> Gallomimia: snaps auto update themselfs
[05:02] <Gallomimia> https://pastebin.com/JGzw25AV
[05:02] <Gallomimia> can they kindly auto remove the old version too?
[05:05] <macroprep_> can g++-multilib be installed ontop of gcc-multilib
[05:06] <macroprep_> as i get  g++-multilib : Depends: gcc-multilib (>= 4:5.3.1-1ubuntu1) but it is not going to be installed
[05:08] <Gallomimia> lotuspsychje, its funny how you say the old versions aren't a problem, and yet i'm looking at a list of old versions sitting on my system, and how-to's on this are a popular search on google.
[05:11] <lotuspsychje> Gallomimia: what you pasted, is just an installed snap list...
[05:28] <blackflow> lotuspsychje: snapd keeps last two versions around tho
[05:29] <blackflow> (of each snap installed)
[05:29] <Gallomimia> default is three, according to what i'm reading
[05:29] <Gallomimia> the minimum is 2 if you change it. i'm still trying to delete the older one.
[05:29] <blackflow> not sure you can
[05:30] <Gallomimia> the script to do so is published by a community manager with ubuntu engineering at canonical
[05:30] <Gallomimia> which i think is telling of how there's still some kinks to be ironed out.
[05:30] <Gallomimia> it says on it to "close all snaps" before running. i can't for the life of me figure out how
[05:31] <blackflow> Gallomimia: with `snap remove <snap> --revision=<revision>`   then?
[05:31] <Gallomimia> yeah i'm not doing that 50 times
[05:31] <Gallomimia> i have a computer to iterate over repetitive tasks
[05:32] <Gallomimia> seems i didn't need to close any
[05:32] <Gallomimia> just worked fine
[05:32] <blackflow> you don't have to close _all_ the snaps, just the one you're removing old revisions of
[05:32] <blackflow> however, some you can't, like gnome stuff, unless you go to multi-user.target first
[05:33] <Gallomimia> it seems like there's two versions of the gnome-3 and i think it's because of dependencies
[05:35] <Gallomimia> what's /var/log/journal ??
[05:35] <Gallomimia> seems a bit insane that i have 4 gigs in there
[05:35] <blackflow> Gallomimia: journald's (configurable) persistent storage
[05:35] <blackflow> Gallomimia: `man journald.conf` and adjust SystemMaxUse
[05:35] <Gallomimia> hah. i know what those words all mean, but... i understand zero more than i did before you wrote that :)
[05:36] <blackflow> journald is the systemd event logger. like syslog but much more advanced, and core component of systemd
[05:37] <blackflow> it can store logs just in memory or on disk too (and/or forward it to old rsyslog as well, which is default), and when it's configured to store on disk (default) that's where the database is.
[05:37] <Gallomimia> logs are good.
[05:37] <Gallomimia> i have to reconsider where i want it put tho.
[05:37] <Gallomimia> maybe i just put all of /var on its own fs
[05:38] <blackflow> I use journald only as temporary, in-memory logs, using no more than 100MB, then forwards to rsyslog where I like it for long term archive.
[05:39] <blackflow> Gallomimia: I'd advise don't redesign the fs layout until you're 100% sure you know what you're doing and what is using the dirs you wanna partition. systemd will have serious issues on boot otherwise.
[05:39] <Gallomimia> keeping it only in memory seems counterproductive to diagnosing crash problems
[05:40] <blackflow> Gallomimia: depends. with forwarding to syslog, you don't lose anything.
[05:40] <Gallomimia> that's good advice. i suppose some of the log files might not be mounted during boot?
[05:41] <Gallomimia> my goal is to bring the root fs down to fit inside the area i had set aside for various installs. older versions
[05:41] <Gallomimia> there were 2 LV's of 16gig each
[05:42] <blackflow> Gallomimia: you can adjust how long/much journald keeps around via journald.conf
[05:42] <blackflow> infact, you can adjust its memory use and persistent storage use, separately.
[05:43] <tfgbd_> does ubuntu support ARM64?
[05:44] <Gallomimia> !arm64 | tfgbd_
[05:44] <Gallomimia> aw i thought it would be that easy
[05:45] <Gallomimia> !arm | tfgbd_
[05:45] <blackflow> tfgbd_: yes, there's aarch64 ISOs to download
[05:46] <blackflow> (and ARMv8)
[05:49] <tfgbd_> For this?
[05:49] <tfgbd_> https://www.amazon.com/Lenovo-12-Inch-Qualcomm-Snapdragon-81F10001US/dp/B07C8BJ1NT
[05:51] <latteiscoffee> If a system kernal panicked I'd expect to see it in journalctl these days right?
[05:52] <blackflow> tfgbd_: apparently there's only the server edition. I don't know if that means there aren't arm64 packages to install for GUI
[05:52] <tfgbd_> Does it matter if the kernal panics?  Don
[05:52] <tfgbd_> Don't you just have to start a new instance?
[05:52] <blackflow> latteiscoffee: that or through rsyslog'd files, assuming the panic wasn't such that it didn't get logged.
[05:52] <Gallomimia> it's usually something you want to figure out why, and avoid in the future
[05:53] <latteiscoffee> blackflow: Odd... got a server that keeps rebooting every 3-4 days and nothing in the logs about it
[05:53] <tfgbd_> I need to run some x86 xserver to run the gui on my Ubuntu server on AARCH64 Windows 10
[05:53] <blackflow> latteiscoffee: you can configure kernel to crash dump (there's a package for it iirc) and then inspect the dump with gdb on next boot
[05:54] <blackflow> or... not gdb but some dedicated tools. it's been a while since I did that so I forgot the deets.
[05:54] <latteiscoffee> Ahhh I will give that a go, cheers!
[05:54] <Gallomimia> at this point, it sounds like you don't even know if its some kind of soft shutdown, a kernel panic, or something goofy with the provider. is it a VM?
[05:55] <blackflow> latteiscoffee: start here: https://help.ubuntu.com/lts/serverguide/kernel-crash-dump.html
[05:55] <latteiscoffee> Yeah it's a linode VM, so I'm hesistant to point at hardware
[05:55] <latteiscoffee> just trying to narrow down the cause a bit first
[05:55] <Gallomimia> you're running it on your own hardware?
[05:55] <blackflow> _linode_
[05:55] <latteiscoffee> Nah, it's running on linode
[05:55] <Gallomimia> wow i've been disconnected from the world for too long
[05:55] <blackflow> latteiscoffee: do you know if it's kvm or they still use patched, extrenal-kernel, xen?
[05:56] <blackflow> if the latter, you can blame HW just fine :))
[05:56] <zarathustar> I've noticed my brightness up/down hotkeys generate button/f20 in acpi_listen, the same as microphone mute (which ubuntu shows visually as well).  Any ideas how I can find the source of the duplicate event?  I've tried playing with debug_level and debug_layer values, but couldn't find anything useful.  Also wasn't sure what to look for in acpidump
[05:56] <zarathustar> and acpixtract
[05:56] <latteiscoffee> KVM from last year I believe]
[05:56] <latteiscoffee> this VM has only been up a month or two
[05:56] <latteiscoffee> so it *should* be KVM... but I will double check
[05:57] <blackflow> latteiscoffee: can you inspect the serial console when it crashes?
[05:57] <tfgbd_> Does ARM support JVM?
[05:57] <blackflow> if there's a panic, the kernel would dump stuff there and you might see the trace
[05:57] <latteiscoffee> Yeah it is KVM: systemd[1]: Detected virtualization kvm.
[05:57] <latteiscoffee> Ahhhh
[05:57] <latteiscoffee> ofc
[05:57] <latteiscoffee> will check, they reboot automatically
[05:57] <blackflow> even through the virtual console, but that only shows last X lines you can't scroll up
[05:58] <latteiscoffee> so I'm unsure if it'll have been wiped by now
[05:59] <blackflow> latteiscoffee: I don't use linode but OVH, and not VMs but dedicated machines. at OVH I can attach serial console over ethernet (there's a java based web thingy they have), and thus keep the full console output logged. if linode offers the same nowadays (because it doesn't mattre if its' VM or baremetal), that's where I'd start.
[05:59] <latteiscoffee> Alright I will stop it rebooting automatically and see if I can catch something... get the dumptools installed as well, cheers guys
[06:00] <tfgbd_> Does linode offer ARM?
[06:00] <zarathustar> I also grepped the decompiled DSDT and SSDT files and found there are WMI related GUIDs.. I wasn't sure how to debug / capture WMI events though to see if they are responsible for my laptop generating a button/F20 event in acpi_listen :\
[06:00] <latteiscoffee> I didn't see an ARM offering... I used an interesting ARM offering in France when ARM servers were first being released though
[06:00] <latteiscoffee> think they shut down now ... :)
[06:01] <Gallomimia> backflow i'm reading those man pages on the journald.conf. does it accept values with suffixes? like 500M?
[06:01] <tfgbd_> When were they first being relased?
[06:01] <Gallomimia> it's so verbose and yet doesn't say that
[06:02] <latteiscoffee> like early 2010's? There was a provider that started doing ARM servers when everything else was still on AMD64
[06:02] <latteiscoffee> really cheap too iirc
[06:03] <tfgbd_> Why does RAM size say 	128 GB for my "ARM Server"
[06:03] <lotuspsychje> !ot
[06:03] <Gallomimia> you sure like using that command lotuspsychje
[06:03] <tfgbd_> latteiscoffee: lets talk in #ubuntu-arm
[06:05] <Gallomimia> okay i think i'll go to sleep. got my log files tidied up thanks blackflow
[06:10] <chaosfisch>  trying to get bumblebee working (dell precision 5530, nvidia quadro p1000). currently the gpu runs and then cant be disabled because nvidia_drm cannot be unloaded.
[06:11] <chaosfisch> I'd assume that my current session uses the card instead of the integrated intel one. Thus, unloading cannot work.
[06:26] <chaosfisch> are there alternatives to using bumblebee?
[06:26] <lotuspsychje> chaosfisch: bumblebee isnt the way to go anymore, for optimus cards its using nvidia-prime now
[06:26] <lotuspsychje> chaosfisch: that gets installed togheter with your nvidia driver
[06:29] <chaosfisch> lotuspsychje ok, will have a loo
[06:29] <lotuspsychje> chaosfisch: start with: ubuntu-drivers list to see wich driver is for your card
[06:40] <CatPasswd> tds: Off a usb stick. Installed to a small ssd. Accepted the defaults for network setup, which is dhcp. No idea how that all happened.
[06:51] <lotuspsychje> morning cfhowlett
[06:51] <cfhowlett> yowza^3 lotuspsychje
[06:51] <cfhowlett> How's the channel behaving today?
[06:52] <lotuspsychje> cfhowlett: alot of offtopic this morning and a netsplit after, back to idle now :p
[06:52] <blackflow> calm be4 teh storm :)
[06:53] <cfhowlett> I got " you are banned" for the past 3 hours.
[06:54] <lotuspsychje> cfhowlett: still fighting with that freenode thing?
[06:54] <cfhowlett> I've given up the battle since it's at the #ubuntu channel level, not MY level
[06:54] <chaosfisch> lotuspsychje installing nvidia-prime lead to crash of gdm :(  removing it again and now it still crashes due to a bug
[06:55] <lotuspsychje> chaosfisch: wich driver does ubuntu-drivers list suggest?
[06:55] <chaosfisch> nvidia-driver-418
[06:55] <lotuspsychje> chaosfisch: only that, or more versions?
[06:55] <chaosfisch> $ ubuntu-drivers list: nivida-driver-418, nothing else.
[06:55] <lotuspsychje> hmm
[06:56] <lotuspsychje> chaosfisch: can you pastebin the whole output of your driver install please?
[06:56] <chaosfisch> the output of the apt install for the driver?
[06:56] <lotuspsychje> yes
[06:59] <chaosfisch> lotuspsychje I'll start from scratch with install. the gdm seems to be too broken now
[06:59] <chaosfisch> shouldnt take more than 5 min anyway
[07:00] <lotuspsychje> !nomodeset | chaosfisch to bypass boot problems/graphics
[07:45] <chaosfisch> lotuspsychje alright, cant give you the install output because driver is installed and working after fresh OS install.
[07:45] <lotuspsychje> chaosfisch: sounds good, maybe a glitch somewhere..
[07:46] <lotuspsychje> chaosfisch: if things are installed correctly, nvidia-settings should leave you the choice now between performance mode and powersaving mode
[07:47] <chaosfisch> lotuspsychje: the nvidia X server settings?
[07:47] <lotuspsychje> chaosfisch: yeah, you should have an icon for it
[07:50] <nikolam> I have a problem on 18.10 that local LAN adapters doesn't get static V4 Ip address anymore upon boot
[07:51] <nikolam> So it is connecting of Wifi (it's a desktop) bit none of 2 LAN adapters get their IPs and also machine does not route internet to the rest of the LAN as it used before
[07:56] <chaosfisch> lotuspsychje seems to work now - running with integrated gpu
[07:57] <lotuspsychje> !yay | chaosfisch
[07:58] <chaosfisch> now I can finally get to the more interesting part. gpu passthrough which is trivial now
[08:00] <zarathustar> I'm on a Zbook Studio x360 with Intel onboard and Quadro P2000.. just using Nvidia 418 now, with prime-select
[08:00] <zarathustar> assuming GPU offloading still isn't a thing yet unless you're using bumblebee
[08:04] <zarathustar> Right.  Giving up on my brightness keys now.  Hours wasted for 2 hotkeys is too much
[08:07] <magic_ninja_work> zarathustar, first, you tried xev?
[08:08] <zarathustar> same scan codes for brightness up/down as mic mute... also shows as a button/F20 event in acpi_listen
[08:09] <zarathustar> then I got lost in setting debug_layer and debug_level values, couldn't find much (but wasn't sure what to look for), decompiled ACPI tables -- again, wasn't sure what to look for
[08:09] <magic_ninja_work> That is pretty strange
[08:10] <magic_ninja_work> Have you tried any different OS to see how it maps?
[08:10] <zarathustar> it works on windows, which doesn't really help.. HP laptops have all kinds of ridiculous software (HP Hotkey support, etc)
[08:11] <magic_ninja_work> Well, their keyboard just sends a code based on that combination press. To the OS it is supposed to be just a different key.
[08:11] <zarathustar> I don't know enough about the architecture behind ACPI, WMI, or general kernel stuff to do more informed troubleshooting.. haven't tried other linux distros
[08:11] <magic_ninja_work> And you checked your bios settings?
[08:11] <zarathustar> yep
[08:12] <magic_ninja_work> It is really strange that your keyboard is sending the wrong code
[08:13] <zarathustar> I also tried messing around with acpi_osi values too, thinking that might affect how the button press is generated depending on OS reported to BIOS.. but no go
[08:13] <zarathustar> acpi_listen gives me button/f20 00000080 00000000 K for Fn + Brightness Up/Down and Mic Mute
[08:15] <zarathustar> I get MSC_SCAN = 81, EV_KEY = code 19 (KEY_F20) in evtest for the keyboard input device.. but I'm assuming ACPI generating the button press somehow :\
[08:15] <zarathustar> code 190*
[08:18] <magic_ninja_work> what is the code for your mic button
[08:24] <Voltrix> Early in the morning
[08:25] <zarathustar> code for mic button is also F20
[08:25] <Voltrix> oh cool thks
[08:49] <renn0xtk9> Just installed ubuntu 1504 server in a Virtualbox when doing apt-get update I got Ign and 404 on all server. Is it a problem  on my side or are the canonical server down due to end of support ? ( I am in a bridged network and I can ping 8.8.8.8)
[08:51] <blackflow> renn0xtk9: 15.04 was EOL'd long time ago
[08:51] <renn0xtk9> okay
[08:51] <renn0xtk9> did not know they alos put server down
[08:51] <blackflow> renn0xtk9: why would you "just install" 15.04 though and not a newer, supported version?
[08:52] <renn0xtk9> I have bought a book about Continuous delivery with a few exercise to be done. They are using 15.04 so i thought i d use the same to have exact same setup
[08:52] <renn0xtk9> but will do it with 18.04 then
[08:53] <magic_ninja_work> That is a perfectly acceptable reason, though
[08:53] <blackflow> renn0xtk9: you can use 16.04 if you want to be closer to 15.04 semantics. 18.04 introduces some novel concepts like netplan, systemd-resolved, default snaps, ....
[08:53] <blackflow> magic_ninja_work: it could be, but 15.04 is no longer supported, there's no infra you can install packages from.
[08:54] <blackflow> besides, understanding examples and adjusting them for newer/different environment makes the most out of learning effort.
[08:57] <magic_ninja_work> Well, as long as there is a baseline there. Without a package manager, though, the tutorial is pretty useless.
[08:59] <renn0xtk9> I will see, I have launche installation of 18.04. I will see if the exercie work or not
[09:05] <katnip`> https://www.debian.org/News/2019/20190706
[09:06] <blackflow> katnip`: yeah, Buster was released yesterday. Not on topic here though ;)
[10:06] <wasanzy> how do I get load average for the past n days uing sar?
[10:59] <frad> i need an android emulator. there are several. which one would you recommend?
[10:59] <OerHeks> there is a snap version of android studio
[11:00] <OerHeks> and anbox
[11:01] <lotuspsychje> frad: i tested the snap anbox, but that didnt go too smooth, as alternate used androidx86 iso on a virtual machine, much smoother
[11:02] <OerHeks> tons of other options, https://www.ubuntupit.com/top-android-emulators-for-linux-to-enjoy-android-apps-in-linux/
[11:02] <frad> so I have to run a VM
[11:02] <lotuspsychje> frad: depends wich way you choose
[11:03] <frad> I know there is a ton of options, but I was hoping you could help me reduce it to 1 or 2
[11:03] <OerHeks> use the one you like best
[11:06] <OerHeks> oh, that ubuntupit url should be ignored
[11:19] <frad> thanks to you two
[11:29] <chieta> i want to be notified on the desktop in 30 minutes is it possible with cron job?
[11:49] <blackflow> chieta: if I'm not mistaken, yes but with user cronjob  (crontab -e). you might need to explicitly export the DISPLAY env var in the crontab.
[11:50] <blackflow> chieta: oh, yeah, then use notify-send to produce the notification
[12:29] <raidghost> good afternoon ;)
[12:30] <raidghost> is there any tools to calculate duration of a directory of mediafiles? to get some information like Amount of media length (3 days 4 hours) of content
[12:31] <chieta> blackflow cmiiw how to do it in one time rather than daily scheduled... is it possible in cronjob?
[12:33] <blackflow> chieta: no, but for that you can use at(1)
[12:33] <blackflow> raidghost: you can use tools like ffmpeg to get duration of media, awk or grep that out from the output for a list, then feed into bc to sum up.
[12:35] <raidghost> blackflow: thanks for the info. Just gotta see if it only does files inside a folder. or multi folders
[12:36] <OerHeks> raidghost, exiftool -T -Duration * # gives a list, not total sum
[12:36] <raidghost> OerHeks: Its the total sum im looking for. The list i dont need :)
[12:36] <leftyfb> raidghost: "it" won't traverse directories. You need to script that yourself
[12:37] <raidghost> leftyfb: i found a script that does the job for 1 directory with files inside
[12:37] <blackflow> raidghost: you can build a list using   ls -1 | xargs -n1 ffmpeg ....       (with proper arguments for ....)
[12:37] <raidghost> but i guess i have to edit the script to make i traverse directories
[12:38] <blackflow> raidghost: you can easily turn a list into a sum with bc(1)
[12:39] <OerHeks> find . -iname '*.mp3' -print0 | xargs --null exiftool -n -q -p  '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' | tail -n1
[12:40] <OerHeks> but this is mp3 only
[12:40] <blackflow> ... | paste -s -d + - | bc
[12:40] <raidghost> can i change the .mp3 with something else then?
[12:40] <OerHeks> all formats that exiftool supports, sure
[12:40] <OerHeks> mp4
[12:41] <raidghost> OerHeks: https://pastebin.com/k5zQBQpF does it perfect with files inside a directory
[12:41] <raidghost> But i need to figure out how to traverse directories
[12:41] <leftyfb> OerHeks: -exec
[12:53] <aiena> how does one develop lernel drivers with just the linux-headers package installed in ubuntu?
[12:53] <aiena> *kernel
[12:55] <blackflow> aiena: your question is too broad and abstract. can you give an example?
[12:55] <aiena> hmm I think I found it https://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-kernel-source-tree.html
[12:56] <aiena> lets say you have a driver module you want to build
[12:56] <aiena> foo.c in your home directory
[12:56] <aiena> my question was how to use the linux-headers to build that module with make
[12:57] <aiena> so that I dont need to build and maintain an unsupported kernel as well
[12:57] <blackflow> aiena: linux-headers only installs /usr/src/...  include files. You #include them in your C code
[12:58] <BlakesSeven> Hey all. I have an issue that I need some help. I'm trying to move a hard drive from my Debian system to my Ubuntu system. In Debian the drive works just fine. When I move it to Ubuntu the system can't see one of the partitions on the drive. When I run gparted on the Ubuntu system it tells me "the backup GPT partition table is corrupt, but the primary is OK". If I move the hard drive back to the Debian system and run gparted, everything looks OK.
[12:59] <chieta> thanks for the at command blackflow... it will do the job
[12:59] <aiena> blackflow: yes that dir structure is wrong
[13:00] <tomreyn> BlakesSeven: and your question is?
[13:00] <aiena> blackflow: i mena gcc will not compile the file unless it know where to find what you #include in the code
[13:00] <aiena> so what is the correct way to make the makefile for a module?
[13:00] <BlakesSeven> tomreyn, my question: how do I fix this? It is a problem on one system. It's not a problem on the other.
[13:01] <aiena> using ubuntu's supported kernel currently I built my own kernel but that is unsupported i just want to write modules
[13:01] <tomreyn> BlakesSeven: i'd compare the gparted and kernel versions on those two systems, and maybe come up with clues based on which are older / newer.
[13:02] <tomreyn> BlakesSeven: i'd also search the web for the error message you get to see on ubuntu, which may help understanding whether this message indicates and actual issue or is rather benign.
[13:03] <tomreyn> BlakesSeven: yet approaches you can take is to look for related bug reports on launchpad.net/ubuntu and to use a different partitioning utility to validate the gpt
[13:04] <chaosfisch> want to use openvpn client. have a .ovpn file with certificate and key. openvpn file.ovpn connects. DNS is not updated. I've added up/down update-resolv-conf. nslookup manually with correct dns ip works.
[13:04] <tomreyn> *yet more
[13:04] <chaosfisch> I was previously running openvpn via the gnome network manager, but this had many problems with certain vpn configurations.
[13:05] <tomreyn> chaosfisch: read the openvpn manual (or man page) on the --script option
[13:05] <tomreyn> ...and its security implications, and defaults
[13:06] <blackflow> aiena: you instruct it with -I
[13:06] <tomreyn> * --script-security
[13:06] <blackflow> I mean you add all the dir prefixes where it should look for relative includes.
[13:06] <mikubuntu> hi guys, got a couple of problems. since my last update i get an error msg whenever i log in about "missing option size" in cryptsetup" and though i've tried to make sense of the "readme", it's over my head.
[13:07] <chaosfisch> tomreyn: script-security-level is set to 2
[13:08] <chaosfisch> I can see in the log that the script is called, but my system wide DNS is not changed.
[13:08] <chaosfisch> ah..., and it outputs an error, my bad
[13:08] <tomreyn> mikubuntu: provide the error message in context
[13:09] <mikubuntu> tomreyn
[13:09] <tomreyn> mikubuntu
[13:09] <mikubuntu> lol
[13:10] <tomreyn> highlight me when you have something to tell me
[13:10] <mikubuntu> it only comes up  when i'm starting up
[13:11] <mikubuntu> sorry it was an accident tomreyn, this whole webchat gui has changed since last time i was on
[13:11] <tomreyn> mikubuntu: then it'll be on your systemd journal, i guess
[13:11] <mikubuntu> tomreyn how can i pull that
[13:11] <tomreyn> you can use a proper irc client and thus choose yourself what it looks like and when it'll (not) change
[13:12] <BlakesSeven> tomreyn, I appreciate the suggestions. However that takes me down a multi-day road of research. Was hoping for a quicker solution. The ubuntu system is much older. However, I just moved it over to a raspberry pi system with a kernel that's slightly newer than my debian system. It too reports the same problem. I might just recover from backup.
[13:12] <tomreyn> journalctl -b | nc termbin.com 9999    would (attempt to, it could be cut off if too long) post the full systemd journal since your last boot (which is obviously shorter if you booted recently) to a web page, for easy sharing.
[13:13] <tomreyn> mikubuntu: ^
[13:13] <mikubuntu> tomreyn i logged in the way i've logged in for years, so i didn't change any view settings on this end
[13:14] <mikubuntu> tomreyn this whole string? journalctl -b | nc termbin.com 9999
[13:14] <tomreyn> BlakesSeven: the warning you quoted is about a *backup* of the partition table being corrupt, it is not about the main partition table being corrupt. you should be able to fix it by just writing it again using the newer software.
[13:16] <tomreyn> mikubuntu: if you're run this extremely long string you'll get a url which you can post here.
[13:16] <tomreyn> * you'll
[13:16] <mikubuntu> https://termbin.com/uw7k tomreyn
[13:17] <tomreyn> mikubuntu: there's this message on your log - not the one you talked about here, but maybe that's what you mean?  kernel: Could not find key with description: [830a8bf753856fa2]
[13:18] <aiena> BlackDex: can you give an example makefile?
[13:18] <aiena> * blackflow ^^
[13:18] <BlakesSeven> tomreyn, are you suggestion I re-write the backup partition table?
[13:19] <BlakesSeven> *suggesting
[13:19] <mikubuntu> tomreyn that's not exactly the one that shows on startup -- the phrase says that i haven't input "option size" in cryptsetup
[13:20] <tomreyn> BlakesSeven: after backing up your data, of course. yes.
[13:20] <blackflow> aiena: you don't need a whole makefile for example. -I is the param for gcc. so you set up CFLAGS
[13:20] <blackflow> aiena: "for an example"
[13:20] <aiena> ah
[13:20] <aiena> but then for each rebuild I need to manually type it in
[13:21] <aiena> or dump it in a shell script
[13:21] <tomreyn> mikubuntu: okay, i guerss it occurs before logging is possible, then. take a photo and upload it if you can. i couldn't find anything on the web for the error message (or warning , or notice) you provided.
[13:21] <mikubuntu> there's a couple other problem s with my display since i upgraded to 19.04, one of which is that screen doesn't look just right, so i wonder if it has comething to do with that cryptsetup
[13:21] <tomreyn> mikubuntu: you can also show what you have in /etc/crypttab
[13:22] <blackflow> aiena: no you can set up CFLAGS in the Makefile. CFLAGS = ....
[13:22] <BlakesSeven> tomreyn, the problem is a little more complex. The drive is encrypted. The other systems I have can't open that drive. The Debian system can. I assume this has something to do with their problems with the partition table, not the encryption. In the past I've been able to move this drive back and forth between systems, no problems.
[13:22] <tomreyn> mikubuntu: the encryption option and the screen issue are unlikely to be related.
[13:22] <mikubuntu> ok lemme see if i saved a phonepic of it in google
[13:23] <aiena> blackflow: ok I am reading the makefile documentation I know some of it but many of the features are unclear
[13:23] <aiena> so the CFLAGS usage isn't clear to me atm
[13:23] <blackflow> aiena: maybe there are better examples and ways to instruct gcc for -I via Makefile, I don't know. It's been a while since I wrote those. Maybe a gcc development specific chan would be more helpful
[13:23] <blackflow> gcc or automake
[13:23] <tomreyn> BlakesSeven: maybe the encrpytion you use there is known to be weak so newer versions have decided to drop support for it.
[13:23] <aiena> is make a gcc project?
[13:23] <blackflow> no
[13:24] <blackflow> it's a GNU project (GNU/Make is), but so is GCC, so they have the common parent
[13:24] <tomreyn> BlakesSeven: this is obviously just a theory. backup your data where you can back it up, do a fresh install on a new system, restore your data.
[13:25] <BlakesSeven> Debian kernel 4.9.0-8, Pi kernel 4.9.35-v7, Ubuntu 4.4.9-151 - although you highlight a concept I was not aware of, I don't believe that's the case here.
[13:25] <tomreyn> BlakesSeven: alternatively, spend (possibly a lot) more time on understanding what the root cause is, and how you (maybe!) can fix it without reinstalling and restoring backups.
[13:25] <BlakesSeven> tomreyn, I whole heartedly agree.
[13:26] <lotuspsychje> BlakesSeven: wich ubuntu version are you on currently with that kernel?
[13:26] <BlakesSeven> That system is 16.04
[13:27] <tomreyn> BlakesSeven: that's not a kernel available on 16.04, though
[13:27] <mikubuntu> anybody able to tell me the url for photobin?
[13:27] <tomreyn> imgur.com works
[13:27] <mikubuntu> k
[13:29] <lotuspsychje> BlakesSeven: we reccomend to test ubuntu issues, on the kernel that comes with it, for your 16.04 currently Version 4.4.0.154.162 (xenial)
[13:29] <mikubuntu> https://imgur.com/55yA76Z tomreyn
[13:30] <lotuspsychje> BlakesSeven: or !hwe
[13:30] <mikubuntu> brb tomreyn
[13:31] <BlakesSeven> tomreyn, I can take a screenshot if you like, but I'm looking at the results of uname -a and lsb_release -a 4.4.0-151, 16.04  respectively. But it's tangential to the problem as the problem seems to have resolved itself when I moved the drive (USB) from debian back to ubuntu. Now ubuntu is allowing the drive to be opened and is not reporting a partition issue. I'm going to chalk this up to incoming drive failure.
[13:31] <tomreyn> BlakesSeven: i agree with lotuspsychje - see what happens with a standard ubuntu kernel (and standard ubuntu userspace / installation). if it still happens there, and you can show the partition table as parsed by (ideally) two applications, including the error message you quoted, we can talk more.
[13:32] <tomreyn> BlakesSeven: it may also be an issue with physically deteriorating storage media. check !smart
[13:33] <tomreyn> mikubuntu: so did you do as the message says, and did this provide any new insight?
[13:34] <mikubuntu> tomreyn as i said i looked at the readme and it's way over my head
[13:35] <mikubuntu> kept hoping it would resolve in a software update, but it hasn't
[13:35] <tomreyn> mikubuntu: you didn't say that, no.
[13:36] <tomreyn> let's concentrate on finding a solution, though
[13:37] <tomreyn> !smart | BlakesSeven: oops i forgot to hand you the 'smart' 'factoid':
[13:37] <tomreyn> mikubuntu: can you show /etc/crypttab ?
[13:38] <mikubuntu> tomreyn i can if you tell me how .. lol
[13:38] <mikubuntu> i'm definitely willing, and i have the best intentions
[13:38] <tomreyn> mikubuntu: sure:   sudo apt update && sudo apt install pastebinit && pastebinit /etc/crypttab
[13:39] <mikubuntu> k gimme sec
[13:39] <samba35> i have ubuntu 18.04.2 i am not getting login screen windows before login screen screen is flicking with some message
[13:40] <lotuspsychje> samba35: what kind of message do you get?
[13:40] <tomreyn> mikubuntu: i'm happy to help, please just ask when something is unclear, since (not actually knowing you) it's not easy to tell what you know and what you do not yet know.
[13:40] <samba35> i am able to boot to rescue mode but bot nornal mode  how to diagnode this
[13:40] <samba35> after cloud-init some message screen is fast blinking
[13:41] <samba35> is it possile to check from log ?
[13:41] <tomreyn> !server | samba35
[13:41] <mikubuntu> is this what you want? http://paste.ubuntu.com/p/jbxMDKxykS/ tomreyn
[13:42] <samba35> ok
[13:42] <tomreyn> mikubuntu: this is what i was hoping to get to see, yes.
[13:42] <tomreyn> mikubuntu: so you really only have encrypted swap, the rest is plain, right?
[13:43] <mikubuntu> no clue tomreyn
[13:44] <tomreyn> okay. let me read some docs, i'll get back to you in a few minutes.
[13:45] <mikubuntu> okey dokes, thx tomreyn
[13:45] <mikubuntu> brb in 8 min
[13:47] <tomreyn> mikubuntu: please also show this when you're back:   cat /proc/swaps | pastebinit
[13:51] <BlakesSeven> tomreyn, the smart test shows the drive passes. So, IDK.
[13:54] <tomreyn> BlakesSeven: me neither, it's good you checked, though.
[13:54] <BlakesSeven> The drive is +4 years old, but it is an offline backup of a drive that is online 24/7. So, old, but not used often. It gets placed online a few hours a month. IDK. Maybe I'm just crazy and imagined all this.
[13:54] <mikubuntu> i back whenever you free tomreyn
[13:57] <tomreyn> mikubuntu: so i *think* (I had no easy time finding documentation on this, and did not read source code), the "size" option you are indeed missing in your /etc/crypttab is about the encryption key size. it probably defaults to 256 bits, though should (ideally) be 512 bits for aes-xts-plain64.
[13:58] <mikubuntu> ok if you say so .. lol tomreyn
[13:58] <tomreyn> mikubuntu: so you should edit /etc/crypttab and append, without adding extra blank spaces, to the end, this: ,size=512
[13:58] <BlakesSeven> tomreyn, I appreciate your help with this, btw. Thank you very much.
[13:59] <tomreyn> BlakesSeven: you're welcome ;)
[13:59] <BlakesSeven> And lotuspsychje, thank you too.
[13:59] <mikubuntu> so lemme see if i can do that -- is that using geddit or similar? or in the term?
[14:00] <mikubuntu> do i include the comma? ,size=512 ? tomreyn
[14:01] <tomreyn> mikubuntu: you can use gedit if that's easiest for you. type this in a terminal:  gedit admin:///etc/crypttab
[14:01] <tomreyn> mikubuntu: yes, you include the comma, also anything behind the comma.
[14:01] <mikubuntu> ok lemme try tomreyn
[14:02] <tomreyn> mikubuntu: when you're done,    pastebinit /etc/crypttab
[14:02] <tomreyn> that's after saving and closing gedit
[14:03] <mikubuntu> hmmmm, could not open the file, unable to handle "admin" locations tomreyn
[14:04] <tomreyn> mikubuntu: which ubuntu version do you run again?
[14:04] <mikubuntu> 1904, is it possible i needed to do sudo geddit?
[14:05] <tomreyn> mikubuntu: should not be, no. are you using xorg or xwayland?
[14:06] <mikubuntu> oh, it's lubuntu 1904 so whatever it uses i guess tomreyn
[14:06] <tomreyn> oh *l*ubuntu, i see.
[14:06] <tomreyn> mikubuntu: are you comfortable with any CLI editors?
[14:07] <mikubuntu> whoooOOO000OOOooops
[14:07] <tomreyn> ?
[14:07] <mikubuntu> ummm, not familiar with CLI tomreyn
[14:08] <tomreyn> okay, let's use nano:   sudo nano /etc/crypttab
[14:08] <mikubuntu> ok gimme sec tomreyn
[14:08] <tomreyn> then edit the file as discussed, then press ctrl-x and save it under the suggested file name
[14:08] <aiena> I have a doubt. If you copy a file into a folder which is a symbolic link. Where does the file actually go? To the realpath of the directory or it ignores the fact that the dest dir is a symb link?
[14:09] <tomreyn> mikubuntu: and finally   pastebinit /etc/crypttab
[14:09]  * tomreyn back in 5 minutes
[14:10] <TJ-> aiena: symbolic links are just sign-posts to somewhere else; they take you there
[14:11] <aiena> e.g. '/lib/modules/5.0.0-aiena/kernel/drivers/usb/' is a symbolic link to '/usr/lib/modules/5.0.0-aiena/kernel/drivers/usb`. If I copy a file into '/lib/modules/5.0.0-aiena/kernel/drivers/usb/' is it stored in "/lib/..." or "/use/lib/..."?
[14:11] <mikubuntu> tomreyn can't figure out how to enter edit mode in nano
[14:11] <aiena> */usr
[14:13] <TJ-> aiena: Ubuntu doesn't install kernel modules to /usr/lib/, only /lib/modules/$VERSION/...
[14:13] <aiena> but lib/modules is a symlink
[14:13] <jeremy31> aiena: almost sounds like Arch
[14:14] <mikubuntu> it currently reads: ryptswap1 UUID=abd1a15c-8906-464c-9713-2d9fbb2101fa /dev/urandom swap,offset=1024,cipher=aes-xts-plain64 and you just want me to add the ,size=512 with no space after plain64 tomreyn
[14:14] <TJ-> aiena: not on Ubuntu: "drwxr-xr-x 19 root root 4096 Jul  1 06:59 /lib/modules"
[14:16] <aiena> TJ-: are you sure? see https://paste.ubuntu.com/p/VRPSpsfZsM/
[14:17] <aiena> TJ-: sorry https://paste.ubuntu.com/p/H9NXCN2Ww2/
[14:17] <aiena> the last line output was missing
[14:18] <mikubuntu> tomreyn at any rate i can't seem to figure out how to append to the file
[14:18] <chaosfisch> my openvpn server does not send a complete list of routes, thus dns is failing (the dns server is in a subset which is not routed by the vpn link). how can I add client side routes to the .ovpn config file?
[14:18] <aiena> build points to where the linux-headers package installs stuff and the other dirs point to other places
[14:19] <aiena> I am guessing the correct way is to use /lib/modules
[14:19] <aiena> but I cannot find official docs on it
[14:22] <tomreyn> mikubuntu: okay, if editing the file is difficult, i will instead provide a command which will do it for you. just quit the editor using ctrl-x, choosing *not* to save.
[14:22] <TJ-> aiena: you're pointing to the *header* files, not the kernel modules
[14:22] <TJ-> aiena: all kernel headers and DKMS packages are in /usr/src/*
[14:23] <TJ-> aiena: each /lib/modules/$VERSION/build is a symlink to the matching headers under /usr/src/
[14:23] <edson> Hello
[14:23] <mikubuntu> nothing happens when i do control x tomreyn
[14:23] <tomreyn> mikubuntu: what are oyu seeing there now?
[14:24] <tomreyn> are you in the nano editor?
[14:24] <mikubuntu> yes in the nano editor, just that string ending in plain64
[14:25] <cGIfl300> Hello, I use ubuntu 18, I had my battery level in the xfce bar, now it is diseabled I cannot found the way to make it avaible again. Any idea?
[14:25] <tomreyn> mikubuntu: press ctrl, hold it down, then tap x, then release ctrl.
[14:25] <cGIfl300> (burning the planet should bee too long)
[14:25] <tomreyn> mikubuntu: what happens when you do this?
[14:25] <aiena> TJ-: the second one is modules
[14:25] <mikubuntu> lemme try tomreyn
[14:25] <aiena> I think I understood readlink -f wrong though
[14:26] <aiena> actually no because the second line say that the linix drivers are installed in /usr/lib/modules/ TJ- if I understood correctly?
[14:26] <TJ-> aiena: *BUT* you built a custom kernel, so it's up to you where the modules get written to, this isn't an Ubuntu kernel image or headers package
[14:27] <aiena> TJ-: this one is the standard ubuntu kernel
[14:27] <aiena> my custom kernel is called 5.0.00-aiena
[14:27] <aiena> note the 5.0.0.20-generic in the name
[14:27] <mikubuntu> nothing happens when i hold ctrl down, tap x, and release ctrl tomreyn
[14:27] <aiena> *5.0.0-aiena
[14:28] <tomreyn> mikubuntu: interesting, you must have some unusual keyboard configurations.
[14:28] <aiena> *5.0.0-20-generic
[14:29] <mikubuntu> nothing i've ever changed tomreyn
[14:29] <aiena> TJ-: so this is an ubuntu kernel
[14:29] <aiena> under official package management from the canonical repo
[14:29] <cGIfl300> (and I see you are talking about kernel, ubuntu does not supports wifi cards installed on actual hp laptops, such as rtl8723de. You must download it and compile it using dkms, but for that you need internet...) :)
[14:29] <TJ-> aiena: ahh sorry, I missed that... not sure how I got confused!
[14:29] <tomreyn> mikubuntu: open another terminal window and enter this:   sudo pgrep nano | xarg sudo ps | pastebinit
[14:30] <omega_doom> hello
[14:31] <lotuspsychje> cGIfl300: you could try in #xubuntu perhaps
[14:31] <cGIfl300> lol, why not, nothing to loose
[14:31] <aiena> TJ-: I think for /lib/modules/drivers/* is the correct place though if I want to automate driver installation in my makefile. But I wanted to understand why those hierarchies are there.
[14:32] <omega_doom> How can i download a package with all its dependencies from a specific repo?
[14:34] <tomreyn> mikubuntu: are you working on it, yet?
[14:34] <mikubuntu> tomreyn https://pastebin.ubuntu.com/p/59C4hCF5ZF/
[14:34] <TJ-> aiena: what does this report? "apt-cache policy linux-modules-5.0.0-20-generic"
[14:35] <tomreyn> mikubuntu: sorry, my bad, i had a typo there. run this:    sudo pgrep nano | xargs sudo ps | pastebinit
[14:35]  * Indo365 
[14:35] <mikubuntu> k lemme try
[14:35] <aiena> TJ-: https://paste.ubuntu.com/p/VkfTNd52N5/
[14:36] <Indo365> dcc send aiena virtex38.txt
[14:36] <aiena> Indo365: you missed the /
[14:37] <mikubuntu> something went wrong there i think tomreyn :: sudo pgrep nano | xargs sudo ps | pastebinit[sudo] password for mikubuntu: /usr/bin/pastebinit:42: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5  release = platform.linux_distribution()[0].lower()
[14:37] <mikubuntu> didn't really prompt me for password tomreyn
[14:39] <pragmaticenigma> mikubuntu: If you have entered your sudo password within a recent amount of time, the session will not re-request the password
[14:40] <mikubuntu> pragmaticenigma that must be what happened then -- so is that the expected output tomreyn?
[14:40] <tomreyn> mikubuntu: okay. just reboot, after reboot, run this:  sudo sed -i 's/$/,size=512/' /etc/crypttab && sudo update-initramfs
[14:41] <aiena> TJ-: thanks for teaching me the apt-cache policy command
[14:41] <tomreyn> mikubuntu: then reboot again, then the message on the boot screen should be gone.
[14:42] <mikubuntu> ok tomreyn i'm going to email that to my inbox so i won't lose it .. lol
[14:42] <tomreyn> whatever helps!
[14:43] <cGIfl300> that were just a power managment service crash, nothing to do with x y or z buntu ;)
[14:46] <TJ-> aiena: I've a 19.04 system here with 5.0.0-20-generic and those are NOT symlinks, they are directories
[14:47] <u0_a135> hi
[14:47] <aiena> TJ-: did you try with the "readlink -f" command
[14:47] <aiena> what does readlink -f say on your system?
[14:48] <aiena> TJ-: what does `readlink -f /lib/modules/$(uname -r)/modules/build` say on your system?
[14:49] <aiena> actually scrap that wrong command wait
[14:50] <aiena> TJ-: try this `readlink -f /lib/modules/$(uname -r)/build` what does it say on your system?
[14:50] <mikubuntu> tomreyn https://pastebin.ubuntu.com/p/qDg9F5HmTM/
[14:51] <omega_doom> Hello. Where can i find Ubuntu 18.04.2 LTS packages repo?
[14:52] <aiena> TJ-: ah its a Linus thing
[14:52] <tomreyn> mikubuntu: okay, now:  pastebinit /etc/crypttab
[14:52] <lotuspsychje> omega_doom: what are you looking for
[14:54] <mikubuntu> tomreyn, but i didn't execute any option -- no matter?
[14:55] <tomreyn> mikubuntu: yes, ignore the output. i noticed there was an issue.
[14:56] <tomreyn> (i had provided another imperfect command line, but we'll rectify this now.)
[14:56] <mikubuntu> http://paste.ubuntu.com/p/fjs2CcBgFZ/ this what you're looking for tomreyn
[14:58] <tomreyn> mikubuntu: right. now:    sudo update-initramfs -k all -u
[14:58] <mikubuntu> oh, look tomreyn, the size=512 automagically appeared .. lol
[15:00] <tomreyn> mikubuntu: not entirely automatically. please tell me whether     sudo update-initramfs -k all -u     returned any wrnings or errors. you can copy and paste its output to the !pastebin if needed
[15:00] <tomreyn> !pastebin | mikubuntu
[15:01] <mikubuntu> tomreyn, still generating output, but so far: update-initramfs: Generating /boot/initrd.img-5.0.0-20-genericcryptsetup: WARNING: Resume target cryptswap1 uses a key file
[15:02] <mikubuntu> whoops sorry
[15:03] <mikubuntu> tomreyn https://pastebin.ubuntu.com/p/gWgydssmgT/
[15:04] <TJ-> aiena:  ./build/ is always a sym-link to the *headers* as in => /usr/src/linux-headers-$VERSION
[15:04] <tomreyn> mikubuntu: reboot now, the warning message during boot should now be gone.
[15:05] <mikubuntu> k thx lemme try tomreyn
[15:05] <aiena> yes it seems link ./linux is also a symlink I was wondering why absolute paths aren't used
[15:06] <aiena> I guess this is to provide a common interface while letting the distro choose wherever it wants to place the stuff
[15:08] <TJ-> aiena: ha, I've solved it! It seems in 19.04 /lib became a symlink to /usr/lib which in previous versions it wasn't
[15:09] <aiena> interesting so previously ubuntu built kernels slightly differently
[15:10] <aiena> now it seems to follow the mainline kernel way more closely
[15:10] <aiena> or maybe it got changed in the mainline kernel
[15:11] <u0_a135> ji
[15:11] <u0_a135> ja
[15:11] <u0_a135> jao
[15:12] <lotuspsychje> u0_a135: can we help you?
[15:17] <aiena> TJ-: anyway now that I've figured out how to build custom modules without a custom kernel I'll just remove my kernel.
[15:18] <TJ-> aiena: I've not found a changelog entry describing when/how that change was added
[15:19] <aiena> are you sure in older distros it was not a symlink?
[15:19] <aiena> I actually have an ubuntu 15 vm let me boot it and check
[15:19] <aiena> I am curious now
[15:19] <aiena> its a lubuntu one but for this it shouldn't matter I think
[15:20] <TJ-> aiena: on 18.04 here, "ls -ld /lib
[15:20] <TJ-> drwxr-xr-x 27 root root 4096 Apr 15 15:11 /l
[15:21] <TJ-> aiena: hmmph, incomplete copy but you get the idea
[15:21] <aiena> TJ-: yes
[15:21] <aiena> but does -ld display symlinks?
[15:21] <aiena> never used the d flag
[15:22] <aiena> TJ-: the -ld is confusing
[15:22] <TJ-> aiena: it's -l -d
[15:23] <aiena> yes still its confusing let me show you why
[15:23] <aiena> TJ-: see https://paste.ubuntu.com/p/ymywPCjprH/
[15:23] <aiena> I think -l -d isn't a good command for symlinks
[15:24] <aiena> TJ-: yep `man ls` say -d stands for "directory"
[15:24] <aiena> but it behaves oddly sometimes resolving symlinks
[15:25] <aiena> its ls being funny or something
[15:25] <aiena> TJ-: technically readlink and the ls -l -d command should have given the same output
[15:26] <aiena> I think ls is a linux utility but readlink is for coreutils so Linux has masked this symlink out cleverly
[15:26] <TJ-> aiena: no, -d means it doesn't list the *content* of the path you give, it reports *that* path. On 19.04 I see "ls -ld /lib" => 'lrwxrwxrwx ... /lib -> usr/lib"
[15:27] <aiena> TJ-: did you look carefully at my pastebin
[15:27] <aiena> also `man ls` says `-d, --directory`
[15:27] <TJ-> aiena: what are you expecting me to see?
[15:27] <aiena> and `-l     use a long listing format`
[15:28] <aiena> TJ-: the ls command does not show /lib/modules as being a symlink but readlink does
[15:29] <aiena> in both commands I used /lib/modules
[15:29] <aiena> if your /lib indicated a symlink with ls
[15:29] <aiena> why didnt /lib/modules?
[15:30] <raver> Isn't there -f for symlimks?
[15:30] <aiena> raver hmm -f is there but because we want the canonical path
[15:30] <TJ-> aiena: that's because "/lib/modules" is NOT a symlink!
[15:31] <aiena> TJ-: but readlink -f confirms it is
[15:31] <TJ-> aiena: aiena  "/lib" is a symlink,
[15:31] <TJ-> aiena: no, it does not
[15:31] <raver> Then use basename
[15:31] <aiena> see hte pastebin carefully
[15:31] <raver> Or dirname
[15:31] <raver> Command
[15:31] <TJ-> aiena: no, read the man-page
[15:31] <aiena> whic
[15:31] <TJ-> aiena: "readlink -f" *follows* all symlinks
[15:31] <aiena> which of ls or readlink?
[15:31] <raver> ... Or find
[15:32] <aiena> TJ-: yes so try using "readlink -f" on a file in tyour home directory
[15:32] <aiena> it will follow it to the same path because those areusually not symlinks
[15:32] <exell> how can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it
[15:32] <aiena> ln command is rarely used in the home directory TJ-
[15:33] <TJ-> aiena: 'ls -ld /lib/modules" follows the symlink /lib -> /usr/lib/ and shows "/lib/modules" , "readlink -f reads /lib -> /usr/lib ->/ /usr/lib/modules
[15:33] <mikubuntu> don't know if anyone can tell what i'm talking about, but my display seems to be off -- can you see how my bottom panel looks in this pic -- https://imgur.com/A6qO7SU
[15:34] <aiena> TJ-: you arent making sense one sec
[15:34] <mikubuntu> and see how the resolution of my tabs don't look right either? https://imgur.com/a/xuJVOQA
[15:34] <aiena> TJ-: see https://paste.ubuntu.com/p/9JJTcjbmx3/ and contrast it with https://paste.ubuntu.com/p/ymywPCjprH/
[15:35] <aiena> in the first one ls and readlink give the same output
[15:35] <aiena> remember /lib and /lib/modules are totally different dirs
[15:35] <aiena> in /lib's case both readlink -f and ls give the same o/p but why not for /lib/modules?
[15:36] <TJ-> aiena: I don't see a prooblem there
[15:36] <tomreyn> mikubuntu: so i assume the boot screen warning is gone?
[15:36] <TJ-> aiena: I already explained!
[15:37] <aiena> ok now I understood you
[15:38] <TJ-> aiena: "/lib" is a sym-link, so whenever accessing something under that symlink the path can appear to be under /lib/ ... but readlink is there specifically to determine what the real path is, after resolving all symlinks
[15:38] <MRD365> hi
[15:38] <aiena> TJ-: so ls -ld wont resolve all symlinks
[15:39] <mikubuntu> tomreyn yes i thought i had told you but of course i was logged out after the last reboot -- i was hoping that whatever we did would fix my screen resolution/display problem but i guess totally unrelated
[15:41] <TJ-> aiena: it depends on whether you ask it to look at "/lib" or "/lib/" - there is a subtle but important difference
[15:42] <tomreyn> mikubuntu: yes, totally unrelated. how long have you been using ubuntu on a regular basis, if i may ask?
[15:42] <exell> how can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it
[15:43] <aiena> TJ-: Cannot find the subtle difference https://paste.ubuntu.com/p/HjPk6mbZtf/
[15:43] <aiena> what am I missing
[15:43] <mikubuntu> 7.04 tomreyn
[15:43] <TJ-> aiena: you're not looking at the entry I mentioned "/lib" or "/lib/" not "/lib/modules"
[15:44] <aiena> I never knew ls could show symlinks
[15:44] <aiena> TJ-: hmm got you
[15:44] <tomreyn> mikubuntu: hmm, then i highly recommend you familiarize yourself a bit more with the !terminal and common commands there (such as the simple editors) - this will make it a lot easier for you and anyone assisting you in getting faster and easier results.
[15:44] <tomreyn> !terminal | mikubuntu
[15:44] <TJ-> aiena: once you look *below* /lib/ at some child entry that's just the same as doing either "ls -l /lib/modules /usr/lib/modules"
[15:44] <aiena> nods
[15:45] <tomreyn> mikubuntu: i know it's a steep learning curve initially, but you also get fast and great results.
[15:46] <aiena> TJ-: so ls wont follow symlinks like readlink would
[15:46] <aiena> so you would never know something was a symlink unless you specifically pointed ls at it
[15:47] <TJ-> aiena: yes, it follows them else it wouldn't work, but it doesn't report entries as being at the resolved target, it reports them as *under* the symlink
[15:47] <aiena> ah that is a good explanation
[15:47] <TJ-> aiena: the entire point of *symbolic* links is to be able to give an alternate name to something else
[15:48] <aiena> nods
[15:48] <aiena> thanks
[15:48] <TJ-> aiena: most of the devtmps (/dev/) is made up of symlinks, see e.g. "ls -l /dev/disk/by-*/*"
[15:49] <aiena> TJ-: but those symlinks are special in the sense the files are all virtual there is nothing stored on disk for those
[15:49] <TJ-> aiena: also many of the nodes in sysfs are sym-links too, e.g. "ls -l /sys/class/input/"
[15:49] <TJ-> aiena: they're all file-systems
[15:51] <aiena> TJ-: but /sys and /dev are created dynamically by the kernel or do they occupy disk space?
[15:51] <mikubuntu> tomreyn i'm afraid it's hard to teach an old dog new tricks -- usually when i need help it's because something has gone wrong with an update or similar, and it's always something different, and usually i can go very long periods without needing any support at all -- so by the time i do have to come back, i've unfortunately forgotten most of what i
[15:51] <mikubuntu> learned the year before. i only wish that computers would have been so ubiquitous in my youth that i would have learned all the stuff under the hood.a
[15:51] <magic_ninja_work> so what happens when you put ubuntu to sleep. I used like 13% battery over-night
[15:52] <TJ-> aiena: it makes no difference; they're all file-systems
[15:52] <magic_ninja_work> Is there something that can hibernate the machine or such after a certain time?
[15:52] <aiena> ok
[15:53] <TJ-> magic_ninja_work: most desktop enviroments have power-management settings that control suspend/hibernate timeouts etc
[15:56] <TJ-> aiena: if you want to understand the VFS see http://www.tldp.org/LDP/khg/HyperNews/get/fs/vfstour.html
[15:57] <aiena> TJ-: interesting so there is a filesystem for even section in an elf linux binary
[15:59] <aiena> TJ-: is there a userspace app to tell which files are open on the system
[15:59] <aiena> because there is file_table.c    VFSg    Dynamically-extensible list of open files on the system.
[16:00] <aiena> ah lsof without args
[16:00] <aiena> so lsof uses file_table?
[16:01] <Anastasius> Hi.
[16:02] <Anastasius> I have some important questions about the Bible here for you here today. Is it true that Jesus was resurrected on a Sunday?
[16:03] <magic_ninja_work> TJ-, thanks I'll look into it
[16:03] <Sven_vB> I heard I can check whether a disk is flash memory/SSD using /sys/block/sd*/queue/rotational . in my case it shows "1" for sdb, which is the USB thumb drive from which I booted the bionic live session. why? I sure hope it doesn't rotate.
[16:03] <exell> how can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it
[16:03] <Anastasius> I never read about it much, I was too busy ripping pages out to roll joints with. Joints are better if they're written in the blood of Christ.
[16:05] <Anastasius> Ubuntu is not doing, Allah is doing.
[16:06] <Sven_vB> Anastasius, try #bible
[16:07] <Anastasius> Sven_vB: Well I'm not sure about #bible, but I know I have a friend in #jesus.
[16:07] <aiena> lol do you have an Ububtu question?
[16:07] <aiena> Ubuntu
[16:08] <Anastasius> I actually do. How does it still exist when the IRC help channels are full of fascists?
[16:08] <tomreyn> !ops | Anastasius
[16:08] <Sven_vB> exell, I assume you managed to mount the drive, right? How did you do that?
[16:10] <aiena> exell: you most likely mounted the drive as root and never gave your user permission to use the files
[16:10] <Sven_vB> exell, could you paste the (hopefully just one) line of "mount"'s output that describes the drive?
[16:11] <exell> @sven_vb it was automatically mounted by the os
[16:11] <TJ-> Sven_vB: double-check /dev/sdb is the USB device :) "ls -l /sys/block/sdb" and the sym-linked path includes USB device nodes
[16:11] <aiena> you have 2 options 1) write as root -dangerous 2) change ownership of all files to an unpreviledged user 3) I think factl's would work too but not tested
[16:12] <exell> @Sven_vB /dev/sda2 on /media/exell/D21232041231EDDB type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
[16:13] <Sven_vB> exell, the "ro" in (…) means it's mounted read-only.
[16:13] <Sven_vB> I wonder about the fuseblk
[16:13] <aiena> also the user_id=0 means as root
[16:13] <TJ-> exell:  is that an NTFS ?
[16:13] <aiena> exell: is this on a thumb drive or external hard drive?
[16:13] <exell> I've tried chown -R
[16:13] <exell> Its in internal seconard ssd drive
[16:14] <aiena> exell: you need to remount the drive
[16:14] <Sven_vB> exell, when the entire file system is write-protected, you can't even change owner or modes.
[16:14] <aiena> exell:  try this
[16:15] <aiena> `umount /dev/sda && mount /dev/sda /mnt`
[16:15] <aiena> this will remount the drive in the mnt directory
[16:15] <aiena> then tell us the output of ount for /dev/sda2 again
[16:15] <exell> @Tj- yes ntfs
[16:15] <TJ-> exell: the /media/$USER/ path tells us it is automounted by udisks, and it uses a user-space file-system driver via FUSE, so I'm guessing its NTFS and the NTFS fuse driver has refused to mount it read-write, or the FS's unclean bit is set
[16:16] <aiena> TJ-: that is a good guess
[16:16] <aiena> exell: was windows running on this ssd before?
[16:16] <TJ-> exell: you could try "sudo mount -o remount,rw /dev/sda2"
[16:16] <aiena> usually ntfs file systems are in a dirty state when windows wasnt shutdown properly
[16:17] <exell> umount /dev/sda && mount /dev/sda /mnt
[16:17] <aiena> exell: oops
[16:17] <exell> umount: /dev/sda: not mounted.
[16:17] <aiena> that will give an error
[16:17] <exell> meant to draw an arrow there
[16:17] <Sven_vB> TJ-, double-checked. "cat /sys/block/sdb/device/model" -> "USB DISK Pro" and "mount | grep cdrom" -> "/dev/sdb3 on /cdrom type vfat …"
[16:18] <ioria> Sven_vB, https://unix.stackexchange.com/questions/439109/set-usb-flash-drive-as-non-rotational-drive
[16:18] <aiena> exell: the command is 'umount /dev/sda2 && mount /dev/sda2 /mnt`
[16:18] <aiena> then do an ls /mnt
[16:18] <aiena> to confirm that the drive mounted right to /mnt
[16:18] <exell> @aiena no, windows wasnt running but it was originally mounted from windows
[16:18] <aiena> if it mounted right we proceed
[16:18] <Sven_vB> ioria, thanks!
[16:18] <ioria> ok
[16:19] <exell> @arena umount: /dev/sda2: not mounted.
[16:19] <aiena> strange
[16:19] <aiena> exell: can you please pastebin the output of lsblk?
[16:20] <aiena> !paste
[16:21] <exell> aiena https://pastebin.com/twTg9d3A
[16:22] <aiena> hmm ok so technically /dev/nvme0n1p4 is your ssd not sda2 like I originally thought
[16:22] <aiena> exell: are you on a live linux distro?
[16:23] <exell> aiena... my primary is the nvme ssd with multiple partitions. my secondary is an ssd with 1x partition (and a wierd 500mb) I am running a fully installed linux
[16:24] <tomreyn> but not ubuntu?
[16:24] <aiena> exell: can you paste the output of lsblk -f
[16:25] <aiena> it should show the fstype for all mounted drives
[16:25] <exell> exell@exell-MS-7A63:/mnt$ uname -a
[16:25] <exell> Linux exell-MS-7A63 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[16:26] <aiena> exell: also the 500MB weird partition is most likely an efi partition the /dev/sda1 one
[16:26] <MRD365> dcc chat aiena
[16:26] <exell> aiena https://pastebin.com/6SsYYusc
[16:26] <tomreyn> !pm | MRD365
[16:27] <aiena> MRD365: why are you DCCng me?
[16:28] <exell> aiena.. was that anymore useful?
[16:28] <aiena> it was very useful just give me a sec
[16:29] <aiena> lets check the ntfs fs for that it should be unmounted so `umount /dev/nvme0n1p4`
[16:29] <exell> would it be easier if I just wipe it and convert it to ext4?
[16:29] <aiena> lsblk should show that it's now unounted
[16:30] <aiena> exell: do you need the data?
[16:30] <aiena> ext4 is a better fs for linux but if you need the data backup and then wipe
[16:30] <aiena> ntfs is pretty stable on linux too at least I have hads no issue with it
[16:30] <aiena> I use ntfs as a fs to share windows and linux files
[16:31] <aiena> dump anything I want on it which I want accesible by both side of my dual boot
[16:31] <exell> I use it for sharing between windows and linux partition but I very very rarely use windows
[16:31] <aiena> then you could shrink it if you want and keep it
[16:31] <aiena> anyway lets get back to what we wanted to do earlier
[16:32] <exell> it is full, I can store to external drive and wipe to ext4
[16:32] <aiena> yes that is an option too
[16:32] <aiena> did you unmount it?
[16:33] <aiena> umount /dev/nvme0n1p4
[16:33] <exell> aiena... partition 4 is my windows mount its the ssd └─sda2      ntfs                     D21232041231EDDB thats the issue
[16:33] <aiena> exell: I got an idea
[16:33] <aiena> is this a dual boot system
[16:34] <exell> yeah. from nvme
[16:34] <aiena> that defintely explain the 500mb partition
[16:34] <aiena> that 500mb partition is the efi partition of your windows bootloader
[16:35] <aiena> your BIOS must be a UEFI bios and your most likely runnig win7 or 10
[16:35] <TJ-> exell: you should do an file-system check of /dev/sda2
[16:36] <aiena> TJ-: lets confirm if the ntfs partition is dirty on the nvme in the first place
[16:36] <TJ-> exell: see "man ntfsfix"
[16:36] <aiena> exell: did you unmount /dev/nvme0n1p4?
[16:36] <TJ-> aiena: why are you on about the nvme? exell's issue is with /dev/sda2
[16:37] <aiena> TJ-: aj I am sorry good catch
[16:37] <aiena> exell: just run 'ntfsck /dev/sda2'
[16:37] <aiena> what is the output?
[16:37] <aiena> if its not installed ubuntu will tell you what to install to get the command
[16:38] <exell> the disk contains an unclena file system (0,0). refused to mount - FAILED
[16:38] <exell> but its mounted, and I can see all the files and open them. I just cant write to the disc
[16:38] <aiena> wait
[16:39] <aiena> your lsblk output shows that /dev/sda2 is unmounted
[16:39] <aiena> so is the nvme ntfs partition the one you are having issues with?
[16:39] <aiena> is sda2 also complaining about being dirty?
[16:40] <robertparkerx> I'm on a cli only vSphere VM and I am getting `kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)`
[16:40] <robertparkerx> I tried to access grub menu by holding shift but did not work
[16:40] <TJ-> aiena: from earlier ... "/media/exell/D21232041231EDDB"
[16:41] <aiena> TJ-: https://pastebin.com/6SsYYusc is from later and he says its still mounted
[16:41] <TJ-> robertparkerx: to get to GRUB try *tapping* Esc key ... especially if its a UEFI boot because shift key doesn't work with UEFI
[16:41] <aiena> so I have to confirm as I am unclear myself
[16:41] <exell> i'll be right back.. going to reboot the system
[16:41] <TJ-> aiena: no, that's not it, look at the pseudo-UUID, the problem read-only mount is D21232041231EDDB
[16:42] <aiena> TJ-: Yes there it was /dev/sda2
[16:42] <TJ-> from earlier: 17:12 <exell> @Sven_vB /dev/sda2 on /media/exell/D21232041231EDDB type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
[16:42] <aiena> but later on post lsblk output he said 'but its mounted, and I can see all the files and open them. I just cant write to the disc'
[16:42] <robertparkerx> TJ-, I wasn't able to get ESC to work either
[16:42] <robertparkerx> TJ-, it's still on the same screen
[16:42] <aiena> in that lsblk output /dev/sda2 is not mounted
[16:43] <aiena> so he should see nothing TJ-
[16:43] <aiena> he never mentioned remounting it again TJ-
[16:44] <aiena> so the D21232041231EDDB doesnt exist inthe lsblk output so thats why I had my doubts
[16:44] <TJ-> robertparkerx: hmmm, without gaining access to GRUB menu there's not a lot you can do since diagnosis will require forcing a drop to the initramfs shell
[16:44] <magic_ninja_work> will removing a kernel module for a device cause the device to power down?
[16:45] <aiena> magic_ninja_work: usually no. How did you remove it and what is the module?
[16:45] <robertparkerx> I got it!
[16:46] <aiena> actually magic_ninja_work removing a driver may cause a device to stop being understood by the system e.g. a wifi dongle may stop working if its driver is removed
[16:46] <magic_ninja_work> aiena, well, powertop is reporting it using 5-6W of power, but I'm not using the interface.
[16:47] <magic_ninja_work> I unloaded the module, and was just wondering if that would stop whatever is going on there.
[16:48] <aiena> hmm the device must be still drawing power from the system
[16:48] <robertparkerx> I'm in emergency mode now, I was able to access grub and boot from an ealier kernel. How would I restart or complete the do-dist-upgrade process ?
[16:48] <magic_ninja_work> Right, but I've nothing plugged into that port. I mean, I can manually load the module. I hardly ever use it.
[16:49] <magic_ninja_work> robertparkerx, you shouldn't be doing dist-upgrade from emergency mode. You need to get your errors repaired first. Why are you in emergency mode?
[16:49] <robertparkerx> magic_ninja_work, I didn
[16:49] <robertparkerx> magic_ninja_work, I didn't realize I was going into emergency mode. I just chose an earlier kernel to boot.
[16:49] <TJ-> robertparkerx: check "mount | grep '/ ' " check if / is mounted rw or ro (read-write or read-only)
[16:50] <TJ-> robertparkerx: I'm presuming you selected one of the "Recovery" options in the Advanced sub-menu
[16:50] <aiena> magic_ninja_work: what is the it here?
[16:50] <magic_ninja_work> aiena, my ethernet port (RJ-45)
[16:51] <aiena> for an ethernet port unloading/loading the driver will most likely make no difference
[16:51] <TJ-> magic_ninja_work: is it connected via USB or on PCI?
[16:51] <aiena> unloading the driver may make the networking stack fail to read the internet packets from the card
[16:51] <aiena> but the card will still draw power
[16:52] <magic_ninja_work> It is a laptop
[16:52] <aiena> so this port is inside the laptop right
[16:52] <magic_ninja_work> so PCI
[16:52] <aiena> then it will draw power irrespective
[16:53] <aiena> it may be directly builtin to the motherboard too
[16:53] <TJ-> magic_ninja_work: does it have a cable connected to a switch?
[16:54] <magic_ninja_work> no
[16:54] <magic_ninja_work> It isn't connected
[16:54] <magic_ninja_work> aiena, no it is a card.
[16:54] <magic_ninja_work> wait, the ethernet port is SoC
[16:54] <magic_ninja_work> Sorry :(
[16:56] <TJ-> magic_ninja_work: whar make/model of device is that, RasPi ?
[16:56] <magic_ninja_work> this isn't on a pi
[16:56] <magic_ninja_work> its an inspiron 7559
[16:58] <Blankspace> hi
[16:58] <TJ-> magic_ninja_work: 7559 is a System on Chip?
[16:58] <Blankspace> i am getting this error make: *** No rule to make target 'config'.  Stop.
[16:58] <magic_ninja_work> 7559 ethernet port is built into the motherboard, yes
[16:58] <Blankspace> when i type make config
[16:58] <magic_ninja_work> The NIC isn't separate.
[16:58] <Blankspace> what could be the reason?
[16:59] <magic_ninja_work> Blankspace, your soure code doesn't require make config to be run
[16:59] <TJ-> magic_ninja_work: it'll be on PCI, do "lspci -nn -d ::0200" to list it
[16:59] <aiena> magic_ninja_work: in almost all laptops i've opened the enthernet port is on the mobo, only the wifi card is a PCI card
[16:59] <aiena> ethernet
[17:00] <TJ-> aiena: they're all on PCI/PICe
[17:00] <aiena> TJ-: hmm true
[17:00] <TJ-> aiena: the only difference is whether there are connectors for removable devices or soldered on
[17:01] <aiena> yes correct
[17:01] <aiena> if they are removable you can prevent them drawing power I think
[17:02] <aiena> can you preven them if their integrated into the motherboard?
[17:03] <magic_ninja_work> there seems to be some confusion here. The ethernet port is built in and wifi is a card.
[17:03] <Blankspace> and this make: *** No rule to make target 'install'.  Stop.
[17:03] <Blankspace> how do i install then
[17:04] <TJ-> magic_ninja_work: makes no difference as to which bus the devices are on; on a PC they'll be on the PCI bus / PCIe complex
[17:06] <TJ-> Blankspace: you'd have to ask the people that provided that source package
[17:06] <robertparkerx> I don't know why I am going into emergency mode. I have selected an earlier kernel because of my error.
[17:06] <robertparkerx> kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)
[17:06] <aiena> Blankspace: if you let us know what you are trying to compile maybe we can help
[17:07] <Blankspace> i downloaded irc bot
[17:07] <Blankspace> am i trying to install
[17:07] <Blankspace> I am*
[17:07] <magic_ninja_work> Then you need to consult whoever made the bot as to why it won't compile.
[17:07] <aiena> ok which irc bot does it have a github page?
[17:07] <Blankspace> but don't know how to do.
[17:08] <Blankspace> eggdrop irc bot tar file.
[17:08] <aiena> Blankspace: sisnce this is not an Ubuntu question maybe you can PM me but I need atleast the link to the tar file
[17:11] <robertparkerx> Anyone know how I can recover from trying to upgrade to 16.04 from 14.04 and it was interupted. Now I am getting a kernel panic. I am able to access grub menu now after powering down the VM.
[17:11] <tomreyn> robertparkerx: this message states that the root file system this boot configuration is set to boot from could not be found / used.
[17:13] <robertparkerx> tomreyn, can I roll back what I did earlier in the week and try again?
[17:14] <tomreyn> i don't know your roll back / recovery / backup restoration options. by default, there are none, until you created them.
[17:14] <sarcastico> !part
[17:14] <tomreyn> sarcastico: it's: /part
[17:15] <aiena> robertparkerx: the best way is to boot into a live distro recover your files and reinstall the OS
[17:15] <mdemo> are rules for apparmor packaged with apparmor or packaged with individual applications?
[17:15] <tomreyn> mdemo: both, but for what you must mean asking this question, the latter.
[17:16] <mdemo> hrmm, ok
[17:16] <mdemo> thanks
[17:16] <robertparkerx> tomreyn, can I repair what was not finished?
[17:17] <tomreyn> robertparkerx: i don't know, lack details. normally the best time to recover a failed release upgrade is *before* you reboot. you may be able to chroot into the existing on-disk installation from a 16.04 live iso and complete the upgrade from there. the much easier option is a reinstall, though.
[17:18] <tomreyn> that is, unless oyu did it before
[17:18] <magic_ninja_work> Well, I'll leave the power thing for now. I'm still getting okay battery life.
[17:18] <magic_ninja_work> I'll move on to the suspend issue and start looking for a solution to that. Then on to hybrid graphics. Gotta get this figured out by monday. Need my laptop.
[17:19] <magic_ninja_work> Gotta say though, for getting drenched with 50-60 gallons of water when a 6" main water line burst, it is still going strong.
[17:20] <tomreyn> mikubuntu: i see how this makes is feel a lot harder to 'dig under the hood'. i don't think it really is, if you have a bit of determination. but without motivation, it's certainly hard (and i understand the lack for motivation if you're not convinced you can gather something that lasts)..
[17:22] <sarcastico> /join #BRLINK
[17:23] <tomreyn> sarcastico: do you need any assistence there?
[17:24] <tomreyn> robertparkerx: you say this is a vmware vsphere VM you did the upgrade on. i'm not very much into vmware but i suspect it provides a snapshotting feature and you probably created a snapshot before you started the upgrade?
[17:25] <robertparkerx> I didn't have access to it before :(
[17:25] <robertparkerx> They're on vacation so it cannot be restored yet
[17:25] <robertparkerx> I was told to try and do it myself
[17:26] <tomreyn> hmm, i guess we can summarize it as: you tried, it failed. ;-)
[17:26] <tomreyn> you can access the data is needed, but if there's a chance to restore a snapshot or backups easily, that's probably the right time to do so.
[17:26] <robertparkerx> Well it was interupted is why it failed
[17:27] <tomreyn> *iF needed
[17:27] <robertparkerx> They were doing hardware upgrades
[17:27] <robertparkerx> It happened to go down
[17:27] <tomreyn> oh so you actually have a good explanation, cool.
[17:27] <tomreyn> i mean it'll be easy to explain why things failed then.
[17:27] <robertparkerx> I don't know why I cannot get it to boot into normal mode with the older kernel
[17:28] <aiena> robertparkerx: lots of things can go wrong during a dist upgrade
[17:28] <aiena> I had dist upgraded before my ubuntu was broken in som many subtle ways I just started fresh again
[17:29] <aiena> *so
[17:30] <TJ-> robertparkerx: because some userspace packages haven't upgraded that are relied on
[17:36] <tomreyn> robertparkerx: the most common reason release upgrades fail is really packages (or, worse, different package versions for packages also available in ubuntu) from 3rd party repositories, since this means an untested upgrade path. (second most often is maybe very uncommon but invasive configurations, i'd say.)
[17:44] <aiena> robertparkerx: either way usually dist-upgrades are never clean its usually better to do a fresh install because you tend to inevitably run it problems somewhere in the middle
[17:48] <sixie6e> aiena agreed
[17:49] <TJ-> d-r-u's are fine as long as you prepare and don't treat it like "apt upgrade"
[17:50] <tomreyn> yes, they almost always work fine if you clean up beforehand.
[17:50] <tomreyn> unfortunately there's not enough guidance on that.
[17:52] <TJ-> tomreyn: I wasn't think so much about beforehand, but more about handling config file changes/diffs as they are reported, and taking time to investigate each thoroughly
[17:53] <tomreyn> let's move to #ubuntu-discuss
[17:53] <TJ-> tomreyn: I would always suggest taking a file-system snapshot before starting too
[17:56] <magic_ninja_work> can someone ping me
[17:56] <magic_ninja_work> I want to try new theme
[17:56] <lotuspsychje> magic_ninja_work:
[17:56] <luna_> magic_ninja_work:
[17:56] <magic_ninja_work> kk, loosk good, thanks guys
[17:56] <luna_> no
[17:56] <luna_> np
[17:56] <magic_ninja_work> Why anyone would put dark blue and deep maroon on black I'll never know.
[17:57] <magic_ninja_work> Okay, last thing I need to deal with is graphics switching.
[17:57] <magic_ninja_work> I run some intensive apps in a VM and need it to use the dedicated GPU.
[17:57] <lotuspsychje> magic_ninja_work: please focus on ubuntu issues here
[17:57] <magic_ninja_work> I don't game or anything on this computer, so integrated graphics should be fine for most use-case.
[17:57] <lotuspsychje> !discuss | magic_ninja_work if you like
[17:58] <magic_ninja_work> lotuspsychje, is GPU switching not a part of ubuntu?
[17:58] <magic_ninja_work> does that not concern the OS?
[17:58] <lotuspsychje> magic_ninja_work: lets discuss it in #ubuntu-discuss
[18:08] <robertparkerx> Can I complete do-dist-upgrade from emergency mode?
[18:08] <cyberpolice> tomreyn: I think my hung Ubuntu 19.04 live iso session that was holding my badblocks operation up was because of out of memory situation when I had loaded anydesk on gui along with a lot of tabs on Firefox (irc chat windows + pi-hole query logs)
[18:08] <robertparkerx> I was able to do dpkg and it successfully repaired all packages except mysql-5.7
[18:09] <cyberpolice> tomreyn: though I did get to the logon prompt on tty3 it timed out within 60 seconds after entering the username. I couldn't send the blank password to login within 60 seconds
[18:10] <cyberpolice> So I had to kill the session and hope for no data loss
[18:18] <tomreyn> cyberpolice: live iso generally consumes a good amount of ram, since anything that's written to disk (e.g. apt installations, updates) is actually stored in ram. and once ram runs full, there's no storage left, and allt he kernel can then do is to try to re-stabilize - which is difficult, if there are any new write requests (and there will be, if just logs).
[18:19] <cyberpolice> This is why I was having that mega lag  switching tty's then isn't it
[18:19] <robertparkerx> tomreyn, I'm showing 16.04 was installed completely.
[18:19] <cyberpolice> I couldn't get to a tty to kill off Firefox
[18:21] <tomreyn> cyberpolice: most likely, yes
[18:21] <tomreyn> robertparkerx: congratulations.
[18:22] <robertparkerx> tomreyn, I'm just having the problem with the kernel and it not booting into emergency mode
[18:22] <cyberpolice> Next time I'll be mindful of this!
[18:23] <tomreyn> just like yama!
[18:28] <tomreyn> robertparkerx: i'm not certain you did, but in case you completed the installation from emergency mode (against what was stated here should be done), there's a high chance that this made things worse, effectively unrecoverable now.
[18:29] <robertparkerx> I didn't
[18:29] <Gallomimia> booted from a liveUSB. can't seem to get LVM to do its thing. and i've no idea how to proceed. any advice?
[18:29] <tomreyn> phew :)
[18:29] <Gallomimia> i installed mdadm, started my raid, unlocked my LUKS container... usually all the LV's just populate after that
[18:30] <tomreyn> robertparkerx: so it booted up fully and then you ran dpkg --configure -a or something?
[18:30] <robertparkerx> I was in emergency mode and ran that
[18:30] <robertparkerx> only error was mysql server
[18:30] <robertparkerx> I am trying to fix that now
[18:30] <Gallomimia> also a liveUSB with no irc client to come in here seems silly. but i guess saves on space
[18:32] <tomreyn> robertparkerx: well running   dpkg --configure -a   in recovery while not all file systems are mounted in the right places basically would have caused problems :-/
[18:32] <CatPasswd> Gallomimia: https://mibbit.com/
[18:33] <tomreyn> also https://webchat.freenode.net
[18:33] <Gallomimia> true. and i guess if i'm connecting to the internet to get on IRC, i can download whatever irc client i want
[18:33] <Gallomimia> not important... how do i get LVM to start doing its thing? it usually does it with no prompting from me
[18:34] <magic_ninja_work> What do you mean "get lvm to do its thing"
[18:34] <tomreyn> lvchange -a y VGNAME
[18:35] <Gallomimia> i mean, as soon as i unlock the luks container it's in, it usually populates with all the LV's and lets me mount them manually from Disks
[18:35] <Gallomimia> but not today. and i don't know why
[18:35] <tomreyn> maybe also lvmdiskscan / pvscan
[18:36] <Gallomimia> volume group not found....
[18:36] <tomreyn> does pvs show the PV(s), yet?
[18:36] <Gallomimia> empty output
[18:36] <Gallomimia> lvmdiskscan does show a pv where i expect it
[18:37] <tomreyn> pvs still empty?
[18:37] <Gallomimia> its at /dev/mapper/hydra FYI
[18:37] <Gallomimia> but pvs gives no output
[18:37] <tomreyn> hmm, i had this before, but forgot what it was
[18:37] <tomreyn> udev or something
[18:37] <Gallomimia> i can probably say the same
[18:37] <Gallomimia> oh... yeah that seems familiar
[18:37] <magic_ninja_work> Oh, what was it? vgchange?
[18:38] <Gallomimia> at this point i'd like to mention that this setup runs extremely well, encrypted and raided. it just fails very very badly
[18:38] <Gallomimia> udev sounds right. it's been years
[18:38] <magic_ninja_work> I went through this once. I didn't have luks, though. You may have to manually expose the lvms.
[18:39] <aiena> any encrypted system can fail pretty badly and lvm on multiple disks can be a real challenge when one drive goes down
[18:39] <Gallomimia> someone from this channel suggested this setup. i've learned a lot by doing this, but spent a fortune in headache medicine
[18:39] <magic_ninja_work> It was like "apt install lvm2" , then vgchange to actually expose the lvm.
[18:39] <Gallomimia> that command gives "already latest version"
[18:39] <aiena> Gallomimia: I avoid lvm but some people love it
[18:39] <aiena> to each his own
[18:40] <Gallomimia> LVM is actually really useful. but usually much later when you start to run into issues
[18:40] <aiena> ubuntu server likes to default to LVM
[18:40] <aiena> Gallomimia: how so?
[18:40] <Gallomimia> as an example, when i upgraded from 14.04 to 16.04mate all i did was create a new LV called xerus and install there
[18:40] <Gallomimia> kept all my old stuff set up the same
[18:41] <aiena> ahso its not an upgrade per se
[18:41] <Gallomimia> doing things like backups, reinstalls, yeah
[18:41] <aiena> its a fresh install so you got a triple boot
[18:41] <Gallomimia> right
[18:41] <aiena> or dual boot
[18:42] <Gallomimia> previous experience has steered me away from doing a release upgrade
[18:42] <aiena> haha
[18:42] <aiena> I've given up on it
[18:42] <lotuspsychje> can you guys focus on actual support now
[18:42] <aiena> the amount I mod my distro during its lifetime a fresh install is good
[18:43] <aiena> lotuspsychje: there isnt a support question so we are not troubling anyone
[18:43] <Gallomimia> yeah. the discussion police are here to stop us from bonding.
[18:43] <Gallomimia> yes there are support questions
[18:43] <magic_ninja_work> Gallomimia, I was on an ubuntu live cd yesterday and I had to install the lvm2 package on the live cd. I suspect this may be a part of your problem. Just something to keep in mind. So you install the lvm2 package, do vgscan, then vgchange -ay and that should expose the volumes for you.
[18:44] <Gallomimia> i did try that. it said it was installed. i figured it would be missing as well. mdadm was missing
[18:44] <magic_ninja_work> And you did the vgscan and vgchange -ay ?
[18:44] <Gallomimia> vgchange -ay gives no output
[18:45] <magic_ninja_work> did you run as sudo?
[18:45] <Gallomimia> vgscan then vgchange -ay similar no results
[18:45] <Gallomimia> yes of course
[18:45] <magic_ninja_work> Now try fdisk -l and see if they show up
[18:45] <Gallomimia> no :/
[18:46] <magic_ninja_work> Well, sorry, I tried :(
[18:46] <Gallomimia> yes thanks
[18:46] <Gallomimia> strange this
[18:46] <Gallomimia> Disks app and gparted both see the PV and report it is a PV for LVM2
[18:46] <magic_ninja_work> Probably has to do with luks
[18:47] <Gallomimia> like i said, usually when i unlock the luks drive it just magically works
[18:47] <magic_ninja_work> But you are on live so it doesn't work for some reason?
[18:47] <Gallomimia> my standard setup has the luks drive unlocked during boot
[18:48] <Gallomimia> but for now i have ubuntu 19.04 installed on a separate, bare metal drive, and unlock it after logging in
[18:48] <Gallomimia> this is what i'm trying to fix. put the root fs on a new LV. put the home folder in the home LV. put the /boot folder on an unencrypted section of the main drive
[18:49] <Gallomimia> figured i would need to do it from a liveUSB or risk the wrath. even copying my home dir caused weird errors because files, like hexchat logs, were open
[18:50] <Gallomimia> magic_ninja_work it usually opens fine on a liveUSB. i've managed to mount my steam LV and play games while booted from a USB
[18:50] <Gallomimia> i wonder... if i install ubuntu on another USB stick. an actual install, not the live image
[18:50] <magic_ninja_work> I thought the purpose of LVM was to avoid having a ton of partitions.
[18:50] <magic_ninja_work> I'm just going to say, that if you are going to have that many separate LVM's, you should probably just use normal partitions.
[18:51] <Gallomimia> eventually i want to use dm-cache to map in some SSD's and make it go hyperspeed
[18:51] <magic_ninja_work> That makes sense.
[18:52] <Gallomimia> that notion has gotten really complicated since i first had the idea given to me. LVM has implemented it, some kernel module as well, and device-mapper
[18:52] <robertparkerx> what can I do to fix the emergency mode error from an earlier kernel and the kernel panic error from the newwer kernel from emergency mode?
[18:52] <TJ-> The purpose of LVM is to enabled many, flexible, block devices
[18:53] <robertparkerx> I was upgrading from 14.04 to 16.04 and the upgrade was interuppted
[18:53] <Gallomimia> oh no!
[18:53] <TJ-> robertparkerx: did you see my earlier question as to whether, in old kernel/emergency mode, the root file-system is read-only or read-write ?
[18:53] <robertparkerx> Oh no
[18:53] <robertparkerx> I didn't
[18:54] <robertparkerx> How do I check ?
[18:54] <TJ-> robertparkerx: well, the reason for checking is, if the root file-system is read-write you should be able to use tools to recover the situation
[18:54] <TJ-> robertparkerx: "mount | grep '/ ' "
[18:54] <robertparkerx> give me a second this system is swedish layout and I don't have that keyboard
[18:55] <TJ-> robertparkerx: eeek!
[18:55] <nshire> what would a local user be called in ubuntu? i.e. when there are failed login attempts coming from the keyboard, not coming in over ssh
[18:55] <TJ-> nshire: console? tty?
[18:58] <nshire> ill just try it right now and look at auth.log
[18:59] <robertparkerx> TJ-, I cannot find | kkey  :s
[18:59] <nshire> pam_unix(gdm-password:auth): authentication failure
[19:03] <TJ-> robertparkerx: hmmm, ok, use your eyes to find the / dir in "mount" output then
[19:05] <akem__> Hey, so i got this Acer laptop up all day, and now when i checked it, the Wifi was disconnected and wouldn't display any network to connect on, i tried turnning wifi off/on, no changes, so i had to reboot and it's back to normal, this is Ubuntu 18.04 and Wifi is 02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31) - could it be some bugged powersaving settings or something?
[19:06] <Sven_vB> how to determine the proper device type for smartctl, or how can I get health data otherwise? using bionic. "smartctl 6.6 2016-05-31 r4324 […] /dev/mmcblk1: Unable to detect device type¶ Please specify device type with the -d option."
[19:07] <lotuspsychje> akem__: system up to date?
[19:07] <Sven_vB> I tried device types "ata" and "scsi", both were incompatible.
[19:08] <TJ-> Sven_vB: most MMC devices don't support SMART
[19:08] <TJ-> akem__: I've seen that and usually unloading/reloading the kernel module works around it... not sure if it is a power-management issue or something else though
[19:09] <Sven_vB> then how can I get a health report for /dev/mmcblk1?
[19:09] <TJ-> Sven_vB: possibly you cannot. What is attached to it, an SD/MMC flash device?
[19:10] <akem__> lotuspsychje, freshly installed.
[19:10] <Sven_vB> TJ-, it should be a SSD
[19:10] <akem__> TJ-, I see, i'll try that next time, thanks.
[19:10] <TJ-> Sven_vB: that doesn't sound right to me... do you mean an EMMC device?
[19:11] <Sven_vB> TJ-, I'm not sure. I'll see if udisks can tell me the manufacturer and model
[19:12] <TJ-> Sven_vB: should be able to get that from sysfs too with "grep . /sys/block/mmcblk*/device/{vendor,model}"
[19:13] <Sven_vB> TJ-, "No such file or directory" for both
[19:13] <Sven_vB> udisks doesn't know either
[19:13] <TJ-> Sven_vB: hmmmph, not helping us is it?
[19:13] <Sven_vB> I could boot windows and ask it
[19:13] <TJ-> Sven_vB: I *think* one of the 9 laptops here has a real MMC let me search
[19:14] <akem__> TJ-, that's strange though because that chip is contained into some dells' Ubuntu certified systems.
[19:14] <robertparkerx> TJ-, /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
[19:15] <TJ-> robertparkerx: so it is read-write ("rw") so you might be able to make progress. Try "apt -f install"
[19:15] <TJ-> akem__: never a total guarantee, could be a side effect of - for example - laptop pwoer-saving measures
[19:16] <TJ-> ls /sys/block/
[19:16] <TJ-> oops!
[19:16] <akem__> TJ-, I see.
[19:16] <Sven_vB> TJ-, /sys/block/mmcblk1/device/name says "CWBC3R", and Samsung has an SSD with that product name.
[19:16] <robertparkerx> TJ-, there were error
[19:20] <robertparkerx> TJ-, https://d.pr/i/ev0yav
[19:21] <TJ-> Sven_vB: that sounds about correct then... but I don't know how you'll get health data on that
[19:22] <TJ-> robertparkerx: ok, that makes sense, mysql upgrade got interrupted I'd guess. Let me see if I can figure out how to safely fix that
[19:23] <robertparkerx> TJ-, I tried to backup all my.cnf
[19:24] <ioria> if you have backups, you can purge and reinstall
[19:24] <robertparkerx> I tried to purge from apt I think
[19:24] <TJ-> robertparkerx: the ".../etc/my.cnf ...already managed by .." suggests the update-alternatives for that has been moved
[19:24] <ioria> and ?
[19:25] <robertparkerx> TJ- I backed up those
[19:26] <robertparkerx> ioria, It didn't seem to makke a difference
[19:26] <TJ-> robertparkerx: you changed/added an update-alternatives entry "my.cnf.bak" ?
[19:26] <robertparkerx> Yes
[19:27] <TJ-> robertparkerx: OK, so you'd have to undo that then because that is preventing mysql's replacement being completed
[19:27] <robertparkerx> I backed up the my.cnf
[19:28] <robertparkerx> Ah okay
[19:30] <robertparkerx> TJ-, try again now?
[19:30] <robertparkerx> I changed it back
[19:31] <Gallomimia> Found label on /dev/mapper/hydra, sector 1, type=LVM2 001
[19:31] <Gallomimia>   Found text metadata area: offset=4096, size=1044480
[19:32] <Gallomimia> .... what does that even mean?
[19:36] <robertparkerx> TJ-, I got this now https://d.pr/i/oV2V4J
[19:38] <ioria> robertparkerx, we go the hard way ?   sudo mv /var/lib/dpkg/info/mysql* /tmp
[19:39] <Gallomimia> uh, don't you want to add a trailing slash to that command?
[19:40] <ioria> robertparkerx, then apt purge mysql-server mysql-server-5.7
[19:40] <TJ-> robertparkerx: you can narrow it down by checking the script that is being executed by dpkg
[19:40] <TJ-> robertparkerx: or you can delete the packages and reinstall... but if there's an existing mysql config there make sure its backed up somewhere safe
[19:44] <robertparkerx> I backed up all my.cnf
[19:44] <Gallomimia> WHOA. what did i do? suddenly the magic of LVM is happening
[19:44] <Gallomimia> the "activate" command in gparted made everything light up
[19:45] <TJ-> Gallomimia: thats the same as what on boot "vgchange -ay" does
[19:45] <TJ-> Gallomimia: activates all LVs in discovered VGs
[19:45] <Gallomimia> yeah and i either didn't see it before or it wasn't available
[19:46] <TJ-> Gallomimia: if you're working with encrypted devices and they weren't unlocked before gparted started, I could imagine it not adding the activate option to menus
[19:46] <robertparkerx> ioria, I purged them
[19:47] <Gallomimia> hafta go do some RL stuff. hopefully nothing blows up by the time i get back
[19:47] <ioria> robertparkerx, and ? what about --fix nw ?
[19:47] <ioria> *now
[19:47] <robertparkerx> ?
[19:47] <Blue0Tech> I am installing Ubuntu 18.04 lts on Windows 8.1 Toshiba with i3, model from 2012, from USB through USB 3.0 port. How long will the installation take?
[19:48] <ioria> robertparkerx, apt -f install
[19:48] <robertparkerx> ioria, https://d.pr/i/3ZZdSJ
[19:48] <Blue0Tech> memoserv
[19:49] <ioria> robertparkerx, it'ok (apart some ppa in /etc/sources.list.d)
[19:49] <Blue0Tech> sorry was supposed to put the second msg in status tab
[19:49] <robertparkerx> I need mysql server back though
[19:50] <ioria> robertparkerx, i suggest you remove that
[19:50] <ioria> robertparkerx, reinstall
[19:50] <robertparkerx> sudo apt install mysql-server ?
[19:50] <lotuspsychje> Blue0Tech: are you going to dualboot?
[19:50] <ioria> robertparkerx, yes, please read above
[19:51] <Blue0Tech> yes, I am
[19:51] <lotuspsychje> !dualboot | Blue0Tech
[19:51] <robertparkerx> ioria, I still get error https://d.pr/i/QeNKjT
[19:52] <ioria> robertparkerx, no idea then, sy
[19:52] <Blue0Tech> thank you for instructions,
[19:52] <TJ-> robertparkerx: collect some helpful info: "export DEBIAN_SCRIPT_DEBUG=1; dpkg --configure mysql-server-5.7"
[19:54] <lotuspsychje> Blue0Tech: the install speed depends on several things, like harddisk/ssd and partition preparation, etc
[19:54] <Blue0Tech> OK
[19:56] <robertparkerx> TJ-, https://d.pr/i/x135CD
[19:56] <lotuspsychje> robertparkerx: you recall what kind of ppa's you added to system?
[19:57] <TJ-> robertparkerx: grrr, you got caught by the same issue with my.cnf.bak again!
[19:57] <robertparkerx> I didn't add any. tomreyn helped me upgrade the sourcelist
[19:57] <robertparkerx> I think they were from the default list
[19:57] <lotuspsychje> sources.list.d gives invalid filename there
[19:57] <robertparkerx> Yes its the backup
[19:58] <TJ-> lotuspsychje: that's irrelevant; it's just reporting the ignored file
[20:05] <robertparkerx> TJ-, I removed the my.cnf.bak -- https://d.pr/i/BcT5fX
[20:05] <WoC> Anyone here able to use OpenCL on their AMD GPU/APU ?
[20:06] <Blue0Tech> thanks lotuspsychje
[20:07] <lotuspsychje> Blue0Tech: did you work it out?
[20:07] <Blue0Tech> i am finding the model and specs online
[20:09] <WoC> lotuspsychje: any insight on that ?
[20:10] <Blue0Tech> I know that it has a 1TB HDD, 8GB RAM, 8 cores and an i3 processor, it is x64
[20:10] <lotuspsychje> WoC: patient a bit, volunteers might have ideas, im off for today
[20:10] <Blue0Tech> A toshiba that came with Windows 8 (now 8.1)
[20:11] <Blue0Tech> k thnx
[20:13] <magic_ninja_work> is it strange that the hibernate package was not included in my install?
[20:15] <TJ-> robertparkerx: so, there's some updates to tables being attempted, and they're failing in the run_init_sql() function of /var/lib/dpkg/info/mysql-server-5.7.postinst shell script
[20:16] <TJ-> robertparkerx: this is the script: https://git.launchpad.net/ubuntu/+source/mysql-5.7/tree/debian/mysql-server-5.7.postinst?h=ubuntu/xenial
[20:17] <TJ-> robertparkerx: and that is being called from line 273
[20:20] <Blue0Tech> Will be back later
[20:20] <Blue0Tech> Will be back later
[20:20] <TJ-> robertparkerx: and, from the comments in the code leading up to line 273, it seems to be caused by a 'pugin' already installed
[20:23] <TJ-> robertparkerx: what does "dpkg -S /usr/lib/mysql/plugin/auth_socket.so" report ?
[20:25] <robertparkerx> TJ-, https://d.pr/i/vHeepj
[20:27] <TJ-> robertparkerx: From the code comments I think the installed database files already have that plugin listed as installed, so when it tries to " INSTALL PLUGIN auth_socket SONAME 'auth_socket.so'; " it fails
[20:29] <robertparkerx> TJ-, can I clear it?
[20:29] <robertparkerx> Not the database but maybe those tables?
[20:30] <TJ-> robertparkerx: I'm working on a ...workaround
[20:35] <TJ-> robertparkerx: try this to uninstall the plugin before it is installed again.  sed -i '/auth_socket.so/i\\techo "UNINSTALL PLUGIN auth_socket;" >> "$initfile" ' /var/lib/dpkg/info/mysql-server-5.7.postinst
[20:36] <TJ-> robertparkerx: make sure you've cleared that my.cnf.bak issue again, then rerun "export DEBIAN_SCRIPT_DEBUG=1; dpkg --configure mysql-server-5.7"
[20:37] <robertparkerx> I'm trying to find single quotes on this swedish server
[20:37] <robertparkerx> lol
[20:37] <WoC> heh
[20:41] <TJ-> robertparkerx: press and hold Ctrl + Shift + U, release U (keep holding Ctrl + Shift) then press 1 then B then release keys (this is how to enter UTF-8 hex codes)
[20:42] <TJ-> robertparkerx: 0x1B = 27 = apostrophe '
[20:52] <robertparkerx> I'm sorry. I found the single quote but cannot find forward slash. This VM doesn't allow me to copy&paste and doesn't seem like I can use hex codes.
[20:53] <sephermacronix>  
[20:53] <TJ-> robertparkerx: you certainly seem to be hobbled!
[20:53] <TJ-> robertparkerx: strange that you cannot copy/paste though
[20:54] <TJ-> robertparkerx: what kind of interface are you using to get to the VM console?
[20:54] <robertparkerx> web brrowser, vSphere
[20:54] <TJ-> oh... not touched that but seems weird if it cannot paste
[20:55] <TJ-> robertparkerx: according to this it is possible to enable copy/paste https://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.server_configclassic.doc_41/esx_server_config/security_deployments_and_recommendations/t_enable_copy_and_paste_operations_between_the_guest_operating_system_and_remote_console.html
[20:55] <robertparkerx> I tried to configurate it but I don't see where I enable or set
[20:55] <robertparkerx> wait I'll show you
[20:56] <robertparkerx> https://d.pr/i/qphJMI
[20:56] <robertparkerx> It says you CAN modify or add but I don't see where
[20:57] <TJ-> robertparkerx: have you tried to get the network up manually so you can ssh in?
[20:58] <robertparkerx> I will have to remove mysql like I did before
[20:58] <robertparkerx> I think
[20:58] <robertparkerx> I think it will boot in default mode if I remove it
[20:58] <robertparkerx> Right now emergency is all I can get into
[21:01] <TJ-> robertparkerx: you can use the ip tools to manually add an IP address, so if the ssh server is working, you can access it from the host or elsewhere
[21:01] <robertparkerx> Like the IP its assigned?
[21:04] <TJ-> robertparkerx: yes, if you know the subnet it is supposed to be in, or the usual IPv4 address it gets, you possibly can do "DEV=eth0; IP4=192.168.3.5; ip link set $DEV up; ip add add $IP4/24 dev $DEV" where you set those variables appropriately for your network
[21:08] <robertparkerx> TJ-, even with MySQL purge it still boots into emergency mode
[21:08] <TJ-> robertparkerx: mysql isn't causing the boot issue
[21:08] <TJ-> robertparkerx: those are both symptoms of an incomplete distribution-upgrade
[21:08] <TJ-> robertparkerx: sorry, release-upgrade
[21:09] <robertparkerx> How can I fix it?
[21:09] <TJ-> robertparkerx: work through each issue. If you've removed/purged mysql-server-5.7 then redo the "apt -f install" to fix further issues
[21:10] <TJ-> robertparkerx: repeat, fixing each issue you find, until that command returns without reporting problems
[21:10] <robertparkerx> It seems like there is nothing more to upgrade
[21:10] <robertparkerx> TJ-, https://d.pr/i/NKs353
[21:13] <TJ-> robertparkerx: so now you would ensure that the latest kernel is configured fully with "update-initramfs -u -k all" and "update-grub"
[21:14] <robertparkerx> I did that.
[21:16] <TJ-> robertparkerx: in which case, there's a good chance it should boot correctly
[21:18] <robertparkerx> This time it boot from the newest kernel but still in `emergency mode`
[21:19] <TJ-> robertparkerx: have you set it to boot in that mode? check "cat /proc/cmdline"
[21:21] <robertparkerx> BOOT_IMAGE=?boot?vmlinuz-4.4.0-154-generic root=UUID=427d8165-124f-42b0-bcc5-8d95dea0d302 ro
[21:21] <robertparkerx> BOOT_IMAGE=/boot/vmlinuz-4.4.0-154-generic root=UUID=427d8165-124f-42b0-bcc5-8d95dea0d302 ro
[21:22] <TJ-> robertparkerx: so nothing there, so some systemd service must be failing causing it to drop to emergency mode. It should report why it is dropping into emergency mode
[21:23] <robertparkerx> TJ-, this is all that failed https://d.pr/i/xrt5MB
[21:24] <TJ-> robertparkerx: errr, that's a pretty major 'all' "/var/log/" failed to mount
[21:24] <TJ-> robertparkerx: use the command it suggests to check the status and last meesages from it
[21:25] <TJ-> robertparkerx: "systemctl status var-log.mount"
[21:27] <robertparkerx> TJ-, https://d.pr/i/ZnthAr
[21:27] <robertparkerx> BTW thank you
[21:29] <Givit2me> Hello
[21:29] <robertparkerx> https://d.pr/i/Xk9Anh
[21:31] <Givit2me> [Eli], Drone
[21:33] <TJ-> robertparkerx: so there is your error. /var/log is a sym-link, which is not allowed
[21:34] <TJ-> robertparkerx: so I'm assuming 2 problems there 1) there's a separate file-system for logs that is set to mount at /var/log/ and yet  /var/log/ itself is a symlink not a directory
[21:34] <TJ-> robertparkerx: I cannot begin to imagine what is going on there for that to be a symlink *and* there is a separate file-system
[21:43] <robertparkerx> TJ-, is there an easy way to restore it?
[21:44] <TJ-> robertparkerx: not knowing why it is like that, I cannot say
[21:44] <TJ-> robertparkerx: check where the sym-link points to
[21:44] <robertparkerx> . /mnt/sdb1/log
[21:45] <TJ-> robertparkerx: that's such a weird configuration, not clear what it is trying to achieve
[21:46] <TJ-> robertparkerx: but, that's the core of your problems so if you solve that the emergency console shouldn't be triggered
[21:48] <robertparkerx> What can I do after to fix the mysql issue? SSH into the console and issue those commands you told me arlier?
[21:48] <robertparkerx> -- to remove the plugin
[21:48] <robertparkerx> sed -i '/auth_socket.so/i\\techo "UNINSTALL PLUGIN auth_socket;" >> "$initfile" ' /var/lib/dpkg/info/mysql-server-5.7.postinst
[21:53] <TJ-> robertparkerx: yes
[21:56] <robertparkerx> Thank you so much TJ-
[22:12] <robertparkerx> TJ-, should I do this before I install mysql-server ?
[22:21] <usney> I can't seem to mount my smart phone like I use to be able to.
[22:22] <Givit2me> Hi
[22:23] <TJ-> robertparkerx: that depends! the file won't exist if mysql-server-5.7 has been purged/removed. The other workaround I forgot to mention is, that code only kicks in if there is currently no password set for the mysql root user, so if you set one, that code won't be run
[22:37] <Blue0Tech> i am back
[22:39] <Sveta> Hi Blue0Tech
[22:40] <Sveta> Are you looking for help?
[22:43] <Blue0Tech> yes
[22:44] <Blue0Tech> I am installing ubuntu 18.04 lts
[22:44] <Blue0Tech> on x64
[22:44] <Blue0Tech> toshiba, originally running windows 8.1
[22:45] <Sveta> Okay. How is the install?
[22:45] <Blue0Tech> sorry, windows 8 updated to 8.1
[22:45] <Blue0Tech> the install, how long will it take?
[22:46] <Blue0Tech> 8GB RAM, 1TB HDD
[22:46] <Blue0Tech> 8GB RAM, 1TB HDD
[22:46] <Blue0Tech> i3 processor
[22:46] <Blue0Tech> i3 processor
[22:46] <Sveta> Depends on your disk size. And also on your Internet speed, if you're not using an install dvd.
[22:47] <Sveta> For it it was less than half an hour, but I have a slow Internet link.
[22:47] <Blue0Tech> i am installing with disk image on 1TB USB connected with USB 3.0
[22:47] <Sveta> How is it going so far? And what does it say?
[22:47] <Blue0Tech> OK, the slow speed must be bcos of old PC
[22:48] <Blue0Tech> i will see
[22:48] <robertparkerx> I have this error that is causing ubuntu 16.04 to boot into emergency mode https://d.pr/i/driC4f . I am wondering how I can remove the symlink and restore it back to normal.
[22:50] <Blue0Tech> it still shows beaver background like it has for past 3 hrs, but is responsive
[22:51] <Blue0Tech> i selected install ubuntu, and i wish to select dual boot, but that option hasn't come yet
[22:58] <Sveta> Blue0Tech, does it tell you what it is doing?
[23:00] <Blue0Tech> no
[23:11] <robertparkerx> I have this error that is causing ubuntu 16.04 to boot into emergency mode https://d.pr/i/driC4f . I am wondering how I can remove the symlink and restore /var/log back to default.
[23:15] <Sveta> robertparkerx: do you know what caused this?
[23:29] <robertparkerx> sveta, I was upgrading ubuntu from 14.04 to 16.04. It was interuppted. I've since been trying to fix my way back. This is one of the last error on the list.
[23:31] <robertparkerx> Sveta ^
[23:31] <Sveta> robertparkerx: where does it link to?
[23:32] <robertparkerx> . /mnt/sdb1/log
[23:33] <Sveta> robertparkerx: /var/log -> /mnt/sdb1/log ?
[23:34] <robertparkerx> I think yes
[23:34] <Sveta> can you please check? take a look at 'ls -la /var/log'
[23:34] <Sveta> or 'ls -lad /var/log'
[23:35] <robertparkerx> That's right
[23:35] <Sveta> if it is indeed a symlink, I guess the correct command for removing the symlink is "unlink /var/log"
[23:35] <robertparkerx> and it will go back to default/normal ?
[23:36] <Sveta> after you unlink it, /var/log will no longer exist, but  /mnt/sdb1/log  will
[23:36] <rfm_> robertparkerx, I think you'd be better off keeping the symlink and removing the /var/log entry from /etc/fstab.
[23:37] <robertparkerx> rfm_, how do I do that?
[23:39] <rfm_> robertparkerx, I'm speculating that since one of the things that changed between 14.04 and 16.04 was systemd, what was happening before was the mount was failing but it didn't stop the boot.   So not doing the mount will get you closest to what whas happening before.
[23:40] <rfm_> robertparkerx, edit /etc/fstab (sith sudo and your favorite text editor) find the line for /var/log, delete it.
[23:41] <rfm_> robertparkerx, it is possible you won't need sudo since "emergency mode" is probably a root shwll (single user mode)
[23:42] <robertparkerx> Okkay it was a long line but I removed it
[23:44] <robertparkerx> Okay that is fixed but it still boots into emergency mode
[23:44] <robertparkerx> The only error is this https://d.pr/i/W5zohx
[23:46] <Biessie> Sup gang
[23:46] <robertparkerx> This is the output of command it says : https://d.pr/i/Glgwho
[23:47] <Biessie> Is it normal for upgrading distro version for it to not update the initramfs and cause kernel panics? first time ever doing it and couldnt figure it out for a while lol. had to reboot in a different kernel version and then update it
[23:48] <robertparkerx> Biessie, I had too also
[23:48] <robertparkerx> to*
[23:48] <Gallomimia> i am afraid i don't know, because i never upgrade a distro. clean install only
[23:48] <Biessie> robertparkerx : wonder what causes that
[23:50] <Biessie> i do get this now though -https://pastebin.com/jpr52wzt
[23:52] <rfm> robertparkerx, so it probably renamed the network interfaces (to the new location-dependent names.)  Use command "ip link"  which will list the (new) interface names.  (ignore the "lo" line, that's loopback.)  It will be something like "eno1" or "enp8s2" (the numbers might differ)     Edit /etc/network/interfaces and change "eth1" to the new name.  (it will probably appear twice)
[23:52] <filifunky> hello
[23:52] <filifunky> I just bought a memory card reader
[23:53] <Gallomimia> cool
[23:53] <filifunky> when I plug it in...I hear a sound but I can't seem to find it (it has a card in there)
[23:53] <Gallomimia> maybe you could see it in the Disks app?
[23:53] <filifunky> anyone else have the same problem or know what to do?
[23:53] <filifunky> Gallomimia, I'll check
[23:53] <Biessie> should i just run sudo apt-get remove cryptsetup-initramfs ?
[23:53] <Gallomimia> it should mount on its own inside /media/yourusername/
[23:54] <robertparkerx> rfm, I got this https://d.pr/i/QF78Sy
[23:54] <robertparkerx> so eth0
[23:54] <Gallomimia> biessie that's a mostly useless warning
[23:54] <Gallomimia> it's really meant to alert you incase you installed crypto and thought you were using it, but something's not set up right
[23:55] <Biessie> ahh okay
[23:55] <Gallomimia> you don't NEED to remove the package. you probably can, unless you're using an encyrpted root fs
[23:56] <Gallomimia> as an example i see it quite a lot, but that's because i need to get it set up right
[23:56] <Gallomimia> which i'm trying to do right now
[23:56] <robertparkerx> rfm, this is what I find in /etc/network/interfaces https://d.pr/i/gCIRDN
[23:57] <robertparkerx> rfm, do I just remove eth1 ?
[23:57] <rfm> robertparkerx, is this a virtual machine?  It looks like it used to have a second network interface which has disappeared.
[23:57] <robertparkerx> Yes
[23:59] <Gallomimia> filifunky, where did you go?
[23:59] <rfm> robertparkerx, so how did the second network interface disappear?  a ubuntu upgrade wouldn't (couldn't) do that.
[23:59] <robertparkerx> I don't kknow. I didn't do anything else but that.