[00:00] <kidn3ys> hello, would anyone be willing to help me work through a VPN related issue? It seems to be related to dns but I can't quite put my finger on where the issue is. I have an anyconnect VPN that I connect to via the openconnect client. It should be tunneling everything to the VPN (which it seems to) but still seems to use the DNS servers set on the physical adapter instead of the VPN adapter.If I specify the fqdn on the adapter t
[00:00] <sarnold> kidn3ys: btw irc has line length limits; you were cut off at "adapter t"
[00:01] <kidn3ys> sarnold: thank you, my bad.
[00:01] <kidn3ys> +adapter then it will add fqdn to the end of the hostnames but  if I attempt to resolve hostname.fqdn it fails.
[00:03] <kidn3ys> It seems to be some kind of odd conditional forwarding that I can't make much sense out of.
[00:05] <kidn3ys> Also, an nslookup directed at the DNS servers that the VPN provides seems to resolve everything as expected (with and without the fqdn).
[00:05] <sarnold> kidn3ys: NM and systemd-resolved do funny things with VPNs. it feels like we've addressed this half-dozen times already but it also always feels like it's not doing something quite right
[00:05] <sarnold> kidn3ys: maybe this will give you the right strings to pull on? https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/issues/10
[00:05] <kidn3ys> sarnold: appreciate it, and sorry if this is not the right place to ask.
[00:06] <sarnold> kidn3ys: it's perfectly fine place to ask :)
[00:07] <kidn3ys> sarnold: that looks promising, let me give it a try
[00:11] <kidn3ys> ooo, thank you. I think I can work with that. It no longer applies the suffix but that's better than the other way around :D
[00:12] <sarnold> kidn3ys: if there's something still *busted*, please do file bugs ;) hehe
[00:12] <kidn3ys> sarnold: will do, thank you :)
[00:14] <Intelo> in non-lts. How can I make it stable as lts? Do not check "unsupoorted" and "preleased" apps?
[00:15] <Intelo> can I convert 19 to LTS?
[00:15] <dax> not until 20.04 comes out
[00:15] <OerHeks> Sure, reinstall with 18.04.2
[00:15] <dax> or that, obv
[00:16] <Intelo> OerHeks, ooh. that would be painful
[00:16] <Intelo> dax,  hm ok
[00:16] <dax> your best bet is taking 6-month releases until 20.04, then changing your update preference to lts
[00:16] <Intelo> in non-lts. How can I make it stable as lts? Do not check "unsupoorted" and "preleased" apps?
[00:16] <OerHeks> No it wouldn't, as you were stuck for hours, and now you can install, 18.04.2 should be no issue
[00:17] <Intelo> OerHeks,  no.. you know 18 has issues with me
[00:17] <Intelo> it has no support for eufi
[00:17] <Intelo> or issues with acpi
[00:18] <OerHeks> you cannot answer that without trying.
[00:18] <Intelo> what are "unsupported" sofware?
[00:18] <Intelo> OerHeks, true
[00:20] <Intelo> I cannot install chromium. Why so?
[00:21] <OerHeks> chromium is a snap now
[00:21] <Intelo> snap?
[00:21] <Intelo> but why its not listed?
[00:23] <OerHeks> i don't know if kubuntu muon does not show snaps
[00:23] <OerHeks> https://snapcraft.io/chromium
[00:23] <Intelo> hm
[00:26] <Intelo> OerHeks,  I cannot see any I used. chromium, openjdk, hexchat
[00:26] <Intelo> I wonder whats wrong
[00:27] <sarnold> check your dmesg
[00:27] <OerHeks> i have no clue what you asking about.
[00:27] <sarnold> if you're still getting acpi errors then you may be able to guess my thought :)
[00:41] <CarlFK> where can I find docs on what LC_NUMERIC is?
[00:41] <CarlFK> IRC logs don't count ;)
[00:42] <CarlFK> I'm filing a bug report and want to reference docs, not "I think I know what it does'
[00:43] <sarnold> CarlFK: locale(7) isn't a bad starting point
[00:45] <CarlFK> sarnold: thanks.  this is what I was looking for: "LC_NUMERIC This category determines the formatting rules ... radix character..."
[00:46] <sarnold> ah good, because the posix manpages just say it exists but not much else about it. heh
[01:10] <bodom> tomreyn: it looks like the crossgrade worked nicely, thank you again
[01:10] <sarnold> bodom: success??
[01:11] <bodom> yep
[01:11] <sarnold> bodom: awesome! :D thanks for reporting back
[01:19] <tomreyn> bodom: nice! i actually never did it myself :)
[01:25] <kidn3ys> hrmf, it seems I spoke too soon. Now i get no resolution over the vpn :(
[01:32] <sarnold> :(
[01:34] <kidn3ys> doh. that's because now the vpn is broke =/
[01:34] <kidn3ys> sigh...
[01:35] <sarnold> is it a sign to start the evening?
[01:35] <kidn3ys> is that code for giving up? =P
[01:36] <kidn3ys> weird.
[01:38] <sarnold> yes, yes it is :) hehe
[01:43] <kidn3ys> lol, waiting for food.
[01:43] <kidn3ys> so without touching anything (even setting the domain to ~.) itll resolve hostname and hostname.fqdn properly
[01:44] <kidn3ys> but both wget and firefox fail to resolve it
[01:45] <kidn3ys> AND it looks like it queries both the local dns server and the vpn dns servers for public domains
[01:46] <CarlFK> kidn3ys: what is itll ?
[01:46] <kidn3ys> eh?
[01:46] <CarlFK> (08:43:55 PM) kidn3ys: so without touching anything (even setting the domain to ~.) itll resolve hostname and hostname.fqdn properly
[01:47] <kidn3ys> i was just using nslookup
[01:47] <CarlFK> try host - I think it is the same as nslookup, less spew
[01:48] <kidn3ys> that works too
[01:48] <CarlFK> dig will show you lots, I never know how to make use of it though
[01:49] <CarlFK> vpn dns = dns on the other side of the vpn connection?
[01:49] <kidn3ys> I guess I could see firefox having some odd behavior it being a browser and all but shouldn't wget use systemd-resolve to resolve hosts?
[01:49] <kidn3ys> CarlFK: yes.
[01:50] <CarlFK> i've bumped into this stuff.  no vpn, but confusing dns lookup. i my case I had stuf in /etc/hosts that host/nslookup ignore but wget does not
[01:51] <CarlFK> also every so often ipv6 gets involved and creates more confusion for me
[01:52] <CarlFK> otoh, there is a coffee shop that only does v6 and hey, all the v6 stuff works \o/
[01:52] <kidn3ys> fair point
[01:52] <kidn3ys> its set to 'ignore' on the vpn
[01:52] <CarlFK> (im sure someone accentually disabled v4, not "lets push tech forward"
[01:52] <kidn3ys> well of course the number is higher, must be better =P
[01:53] <CarlFK> oh my, never thought of that
[01:53] <kidn3ys> hrm
[01:53] <CarlFK> surprise: twitter.com github.com are v4 only
[01:53] <kidn3ys> well
[01:53] <kidn3ys> ill be damned
[01:53] <kidn3ys> maybe it was the ipv6 on my wireless adapter
[01:54] <CarlFK> \o/
[01:54] <CarlFK> lol
[01:54] <kidn3ys> wget is working now
[01:54] <kidn3ys> still look to be leaking dns locally though
[01:56] <MannyLNJ> [Help] I broke my Ubuntu install. When I boot the only network connection in ifconfig is docker. I am unable to connect to my lan devices or the internet. I only got on by using icfonfig in terminal to bring up my network card and editing /etc/resolv.conf to put a working DNS server in there. Please help me get this system back to normal
[01:56] <kidn3ys> heh, interestingly enough it still queries vpn and local servers for public domains.
[01:58] <CarlFK> MannyLNJ: not sure where to start, other than "sudo dhclient dev" might get you on with less typing
[01:58] <CarlFK> dev = p3p1 or eth0 or <tab><tab> to see them all
[01:59] <MannyLNJ> CarlFK, I guess the first place to start is why enp4s0 isn't comming up on it's own
[02:00] <CarlFK> MannyLNJ: what release?  there is a new place for /etc/network/i.. stuff.  a yml file somewhere very different
[02:00] <CarlFK> no idea how it plays with Network Manager
[02:01] <MannyLNJ> CarlFK, I issued  sudo dhclient enp4s0  and nothing happened. I am on 18.04.3
[02:01] <CarlFK> sudo dhclient enp4s0 - uses dhcp to setup enp4s0, which I think you already did with ifconfig
[02:02] <MannyLNJ> CarlFK, I used a static IP that I knew was unused with ifconfig
[02:02] <CarlFK> im sure you will reboot and need to do it again, so then less typing
[02:03] <CarlFK> thats fine, just saving you a little typing and showing you dhclient which I use often in times like this
[02:05] <MannyLNJ> CarlFK, thank you. I think the issue started when I tried to assign two IP's to my nic. One was the DHCP address in the 192.168.1.X network and the other was 10.1.1.10 I am trying to setup another system to be a DNS/DHCP/Ad Blocker for my lan and needed this system to configure it without affecting the wife
[02:07] <CarlFK> MannyLNJ: 18.04 is before the yml thing.  good.
[02:07] <CarlFK> hmm, I bet your another system to be a DNS/DHCP is broken
[02:08] <lotuspsychje> hey CarlFK
[02:08] <MannyLNJ> CarlFK, the other system for DNS/DHCP is my netgear router and it is working fine (or the wife would say I broke netflix)
[02:08] <CarlFK> hey lotuspsychje
[02:09] <lotuspsychje> CarlFK: are you the carl that has the flickering bug on 5.0 too?
[02:09] <CarlFK> umm.. 50 what?
[02:09] <lotuspsychje> CarlFK: 5.0 kernel
[02:10] <CarlFK> MannyLNJ: if you have 2 dhcp server on your lan, um.. thats going to be hell as they will race to give out IPs
[02:10] <CarlFK> lotuspsychje - like over a year ago on a carbon-x?
[02:10] <MannyLNJ> CarlFK, I only have 1 DHCP server. I havem't started on the other system yet. Need to read up on Proxmon
[02:11] <lotuspsychje> CarlFK: no, nvm might be another carl then :p
[02:17] <JFox762> i need help with repartitioning my drive
[02:17] <JFox762> i replaced my SSD with a higher capacity one...
[02:17] <JFox762> and I just straight, cloned my drive
[02:18] <JFox762> well,... now it has a swap partition, in the middle of the disk... and unallocated 317GiB to the right of it, according to Gparted
[02:18] <JFox762> is it possible to merge it?
[02:20] <sarnold> JFox762: maybe swapoff, trash the swap partition, make a new swap partition at the end of the drive, extend the data partition to fit the remaining space, resize the filesystem?
[02:21] <OerHeks> after removing swap, repartitioning, you can choose for swapFILE instead of partition.
[02:21] <CarlFK> JFox762: if it isnt' too late, do it again, but this time use clonezilla.org
[02:21] <CarlFK> clonezilla is prett good about different disk sizes/ partition layout
[02:24] <OerHeks> i would do a fresh install, no messing with partition allignment and such
[02:24] <lotuspsychje> +1 OerHeks
[02:24] <lotuspsychje> 5min on ssd
[02:25] <sarnold> partition alignment *would* indeed worry me too
[02:26] <sarnold> I'd also hope the handy dandy tools would take care of that :) would they not?
[02:26] <lotuspsychje> sarnold: yeah with the right tools, one can fix a lot
[02:28] <JFox762> sarnold: I have hibernate funciton re-enabled on my install
[02:29] <JFox762> If I move the swap partition,... will the configuration files point to the wrong spot on the drive, for resume funcitons?
[02:29] <sarnold> JFox762: just so long as there's a swap partition before you try to use it, shouldn't it work fine?
[02:29] <sarnold> I'd probably reboot before trying hibernate just in case, because I'm a very lazy person
[03:13] <strgout> anyone awake that can talk pam + radius or tacacs? I'm trying to understand what is the point of configuring either for account or session in pam. Goal is account has to be local and password auth it sent to radius/tacacs as long as reachable and back to local auth if not.
[03:13] <strgout> I have that working but i'm thinking in this case i really only need the auth line in pam.
[03:13] <JFox762> ok so I repartitioned my drive
[03:13] <JFox762> PRoblem is.... hibernate no longer seems to work now
[03:14] <JFox762> oh wait
[03:14] <JFox762> i forgot to swapon
[03:14] <JFox762> let me try again
[03:25] <JFox762> Ok... so im having trouble with hibernate. It isn't working anymore, after I moved the swap partition
[03:25] <JFox762> When I hibernate, and start up again... it simply starts Ubuntu fresh, rather than resuming
[03:26] <OerHeks> did you put the right UUID in your fstab?
[03:27] <OerHeks> and swap too far at the end of a disk can be an issue
[03:27] <JFox762> uhhh
[03:27] <OerHeks> that is why i suggest to use a swapfile too
[03:27] <JFox762> how do i find the UUID?
[03:27] <JFox762> I gave it an oversized swap file
[03:27] <JFox762> I have 8GB of ram
[03:28] <JFox762> but gave it a 16GB alotment
[03:28] <OerHeks> blkid
[03:28] <JFox762> no output
[03:30] <OerHeks> swapon -s
[03:31] <OerHeks> vmstat
[03:31] <Bashing-om> JFox762: Too; check what is set for resume device in the /etc/uswsusp.conf file.
[03:32] <JFox762> file does not exist Bashing-om
[03:32] <JFox762> odd, it worked prior to me moving the swap part
[03:32] <OerHeks> then you have removed your swap, i guess
[03:32] <OerHeks> .. or it is at the end of the drive, unusable
[03:32] <JFox762> It is at the end of the drive
[03:32] <JFox762> but this is an SSD
[03:33] <JFox762> gparted shows /dev/sda1 ext4 mt point of "/"
[03:34] <JFox762> size 449.76 used 95.99 unused 353.77, flags boot
[03:34] <JFox762> then for /dev/sda file system "linux-suspend" NO ENTRY for mount point, size 16GiB
[03:34] <JFox762> used --- unused ---, no flags
[03:34] <Bashing-om> JFox762: Maybe that file is for encryption ?
[03:35] <JFox762> what file?
[03:35] <JFox762> oh wait
[03:35] <JFox762> the uuid definitely changed...
[03:36] <JFox762> should I edit my fstab?
[03:37] <OerHeks> and update-grub after that
[03:37] <JFox762> ahhh blkid now works
[03:37] <Rojola> hi
[03:37] <JFox762> huh?
[03:38] <OerHeks> !grub
[04:11] <JFox762> yeah, hibernate is still not working
[04:11] <JFox762> I changed the UUIDs in ...
[04:12] <JFox762> i changed uuids in /etc/default/grub
[04:12] <JFox762> /etc/fstab
[04:12] <JFox762> /etc/initramfs-tools/conf.d/resume
[04:12] <JFox762> to reflect the swap partition's changed UUID
[04:12] <JFox762> it still wont hibernate
[04:29] <Jake-abc> Hello, all.
[04:32] <Jake-abc> Let's say I want to live on the edge and already have backups of data files. How would I upgrade to 19.10 from command line?
[04:38] <Jake-abc> In /etc/update-manager/release-upgrades, I have "Prompt=normal", but do-release-upgrade still says, "No new release found."
[04:55] <Jake-abc> Ahh, I have to use -d flag.
[05:21] <Jake-abc> Random question just for conversation: where are the most Linux users, geographically?
[05:22] <SwedeMike> Jake-abc: https://royal.pingdom.com/linux-popularity-across-the-globe/
[05:25] <Jake-abc> SwedeMike: interesting. Of course, not everyone uses Google for search, and probably a higher number of Linux users are aware of alternative search-engines.
[05:27] <OerHeks> there are no reliable stats, AFAIK, not via updates, download of iso's, even wikipedia browser / os stats are just a number
[05:27] <geektech713> i use Chromium
[05:29] <Jake-abc> OerHeks: I'm sure Canonical has some sort of numbers, but I haven't bothered looking that up.
[05:29] <OerHeks> those are voluntairy
[05:30] <geektech713> U can download Google Chrome it is easy
[05:30] <Jake-abc> Yeah, and even a survey wouldn't necessarily be representative.
[05:30] <OerHeks> https://popcon.ubuntu.com/ and https://ubuntu.com/desktop/statistics
[05:33] <OerHeks> globally 6% https://www.w3schools.com/browsers/browsers_os.asp
[05:35] <Jake-abc> I'm no help with the Ubuntu stats since I always opt out of sending them. Haha.
[05:37] <geektech713> anyone know of Ubuntu for Raspberri Pi 4?
[05:38] <OerHeks> ubuntu-mate is working on that
[05:41] <geektech713> about about Microsoft Windows 10 IOT core?
[05:42] <geektech713> ya i was looking at Ubuntu-Mate
[05:42] <Jake-abc> I'm going to go install 19.10. Might be back later. Good night!
[05:58] <JFox762> why can't a swap partition be at the end of a drive?
[05:58] <JFox762> for hibernate functions?
[06:07] <Aavar> Does snaps use only internal libraries and dependencies, or can a snap be dependent on stuff from apt?
[06:11] <john60> Hi guys. I am running Ubuntu 18.04.3 with Kernel: 5.0.0-23-generic x86_64 and my laptop is hard freezing 2-3x /hr. Here is my inxi -Fz output https://paste.ubuntu.com/p/xNTRCwc2ts/
[06:12] <john60> Im hoping someone has had this issue and knows of a fix. I installed ubuntu and updated to so don't know if previous kernels caused the issue or not
[06:23] <guiverc> john60, i would reboot and at grub use an older kernel and see if the same issue still occurs... if it does I'd possible ramtest your system or cap-check your box (but your box/hardware may be okay.. just my thoughts)
[06:24] <john60> guiverc, sounds good. Is there a kernel you recommend?
[06:25] <john60> I keep reading 4.15 is pretty stable
[06:25] <guiverc> sorry I just noted it was a clean install ^  (so none may be on your system), I'd thus think about booting a live & using that; yes 4.15 (non-HWE) has had more in-production testing...
[06:26] <john60> thanks will test it out tomorrow.
[06:26] <john60> gn
[06:26] <guiverc> (booting live; to test system..  do you know if the box is seen as reliable? unused in awhile? or unknown  .. ie. to validate if hardware issue)
[07:01] <Aavar> I am still having issues with graphical snaps on my system. I tried uninstalling (purging) snapd all together, but when I reinstalled it still gives me the same errors. https://paste.ubuntu.com/p/NrpPc5vwSC/
[07:02] <mr_lou> Does Snap make a new drive appear in the taskbar for a short file when updating a package?
[07:04] <Aavar> mr_lou, was that question for me?
[07:09] <Aavar> mr_lou, I'm sorry. I got disconnected. Was that question for me?
[07:16] <diskin> Aavar, are you running snap-store from your graphical environment?
[07:17] <Aavar> diskin, hmm... I am not sure what you mean. I am running x11 and it gives me similar results when running from the menu as from the terminal.
[07:18] <Aavar> I am running xfce, but had the same issue with unity.
[07:19] <Aavar> diskin, and btw. I am having the same issue with other graphical apps.
[07:19] <diskin> "Gtk cannot open display: :0.0" - this one?
[07:19] <mr_lou> Aavar, For anyone who might know the answer. ;-)
[07:22] <Aavar> Hmm... Now It is actually crashing my computer...
[07:23] <Aavar> I ran snap install inkscape and I locked my computer. I had to force-reboot it...
[07:23] <Jake-abc> Hello, again.
[07:28] <Jake-abc> The upgrade to 19.10 went smoothly. So far, so good.
[07:35] <Intelo> Hi
[07:35] <Jake-abc> Hello.
[07:35] <Intelo> I have kubuntu 19. I do not see chromium or openjdk in muon. What can be the reason?
[07:40] <Aavar> Intelo: Maybe a dumb question, but are they installed?
[07:41] <Intelo> not installed
[07:41] <Intelo> I want to install
[07:41] <Jake-abc> I don't use Kubuntu/KDE/Muon. I see them in the Ubuntu Software Center, though. Does Muon list Chromium?
[07:42] <Intelo> no
[07:42] <Aavar> Is moun a software installer for kde?
[07:42] <Aavar> (kubuntu)
[07:43] <Jake-abc> Aavar: I think so.
[07:43] <Jake-abc> Intelo: in case you don't get an answer here, you might want to try #kubuntu.
[07:44] <Intelo> tell me answer for ubuntu
[07:44] <Intelo> I will map it for kubuntu Jake-abc
[07:46] <Jake-abc> Intelo: I don't know what version of Kubuntu you're using, but now there's a snap for Chrome so that might be an easy way to install.
[07:49] <Jake-abc> Intelo: are you on a 64-bit computer running 64-bit OS?
[07:51] <OerHeks> we told you why chromium is snap only, Intelo
[07:52] <OerHeks> and openjdk is called openjdk-8 >> https://launchpad.net/openjdk
[07:53] <OerHeks> or 12
[07:53] <OerHeks> https://launchpad.net/ubuntu/+source/openjdk-12
[07:55] <Intelo> OerHeks why these apps are not shown in apt list or muon or any package manager?
[07:56] <OerHeks> you asked that before..
[07:56] <Jake-abc> Intelo: have you tried installing the snap?
[07:56] <OerHeks> ask in #kubuntu
[07:56] <OerHeks> :-D
[07:57] <Jake-abc> OerHeks: LOL.
[07:57] <Intelo> OerHeks what do you mean by snap only?
[07:57] <Intelo> I dont see hexchat eirther
[07:57] <OerHeks> ...
[07:57] <OerHeks> lolz
[07:57] <Intelo> Jake-abc its 64 bit
[07:57] <OerHeks> due to lack of maintainers, the chromium team provides the browser as snap only.
[07:57] <Intelo> OerHeks tell me answer for ubuntuI will map it for kubuntu
[07:58] <Intelo> OerHeks what is a 'snap'?
[07:58] <OerHeks> no i won't map kubuntu answers to ubuntu
[07:58] <Intelo> OerHeks I would just use cmd. Its same for both
[07:58] <Intelo> Do I need to enable 'unsupported' apps?
[07:58] <Intelo> in package manager
[07:59] <Jake-abc> Intelo: https://tutorials.ubuntu.com/tutorial/basic-snap-usage
[07:59] <OerHeks> yeah, no, i am not going to repeat the website with the chromium snap. i feel ignored.
[07:59] <Jake-abc> Intelo: https://itsfoss.com/use-snap-packages-ubuntu-16-04/
[07:59] <OerHeks> good luck!
[08:01] <Jake-abc> Intelo: to install from the command line, you would do something like the following.
[08:01] <Intelo> ok. how to install hexchat?
[08:02] <Jake-abc> sudo apt install snapd; sudo snap install chromium
[08:02] <Jake-abc> (Something like that.)
[08:02] <Intelo> ok
[08:03] <Intelo> how to hexchat?
[08:04] <Jake-abc> Intelo: http://ubuntuhandbook.org/index.php/2019/01/install-keep-hexchat-updated-snap-in-ubuntu/
[08:06] <Aavar> Hexchat can offource also be installed via apt.
[08:06] <ayekat> how mundane
[08:07] <Jake-abc> ayekat: would you rather talk about bourbon?
[08:07] <OerHeks> hexchat is in muon, no doubt
[08:08] <ayekat> Jake-abc: was more about how one can simply use the distro package manager to install packages - but that doesn't seem to be in fashion anymore these days, hence my slightly sarcastic comment :-]
[08:10] <Jake-abc> ayekat: oh. Haha. For the record, I gave the link to the snap article, because that's the first one that came up in search.
[08:11] <Jake-abc> OerHeks: have you used Kubuntu much? I tried it once, but it seemed like it was going to take too long to learn. I didn't have the time or the patience for that.
[08:12] <lotuspsychje> keep it support related guys
[08:12] <lotuspsychje> we have a nice #ubuntu-discuss channel to chitchat all day long
[08:16] <Jake-abc> Goodnight, and good luck.
[08:17] <Intelo> OerHeks why can't I see it?
[08:18] <Intelo> OerHeks does it falls under unsupported apps?
[08:18] <lotuspsychje> Intelo: apt-cache search hexchat or snap find hexchat
[08:19] <Intelo> thanks
[08:22] <jink> irssi <3 <3
[08:25] <Aavar> I'm sorry for asking about this multiple times, but as this is chat I guess different persons will see my question. I am having an issue with graphical snap apps. They wont run ang gives me the following errors: https://paste.ubuntu.com/p/NrpPc5vwSC/
[08:29] <OerHeks> don't run gui snaps from comandline, use the launcher in your menu?
[08:36] <Aavar> OerHeks, it gives me a similar result. Nothing runs
[08:36] <Aavar> Nothing shows up.
[08:38] <lotuspsychje> Aavar: its working for me on gnome 18.04 here
[08:39] <Aavar> lotuspsychje, I am pretty sure this isn't a bug, but something I have fucked up on my system.
[08:40] <lotuspsychje> Aavar: wich ubuntu version are you on? is your system up to date?
[08:40] <Aavar> lotuspsychje, This is 19.04 and the system is up to date.
[08:41] <lotuspsychje> Aavar: its only snap-store not running or no snaps at all?
[08:41] <Aavar> lotuspsychje, no graphical snaps. COnsole only works fine.
[08:42] <lotuspsychje> Aavar: you mean running snaps from terminal work?
[08:44] <Aavar> lotuspsychje, I mean that for example "lsd" (a tekst only app) works fine from terminal, but snap-store, inkscape, thunderbird osv. (graphical) does not.
[08:44] <Aavar> as far as I can see it has something to do with the connection to the x11-server from snaps.
[08:44] <lotuspsychje> Aavar: right, lets try a journalctl -f then launch a snap icon, then pastebin us the output please
[08:46] <Aavar> lotuspsychje, It shows me the log, but there is no change after running the app (tried different). Do you swill want the output?
[08:47] <TJ-> Aavar: are you now on the local console or still remoting with TeamViewer ?
[08:47] <lotuspsychje> TJ-: he has a 19.04 xubuntu where gui snaps dont launch
[08:47] <Aavar> TJ-, Now I am local.
[08:48] <TJ-> Aavar: oh good... that helps rule out any weirdness from TV's end!
[08:48] <lotuspsychje> Aavar: did you install a minimal xubuntu or such?
[08:48] <Aavar> Do you think it would make a difference ig i switch to gnome?
[08:48] <TJ-> Aavar: and you corrected the files owned by 'root' in the $HOME yesterday ?
[08:48] <Aavar> TJ-, yes
[08:48] <Aavar> yes to the home directory.
[08:48] <TJ-> Aavar: has the user been logged out and back in since then?
[08:49] <Aavar> TJ-, yes, I rebooted the machine.
[08:49] <TJ-> Aavar: good, nice clean slate!
[08:49] <TJ-> Aavar: so I think we should focus on another strace log capture so we understand what it does when it goes wrong
[08:50] <TJ-> Aavar: I presume in a terminal shell that "snap-store" still fails?
[08:50] <Aavar> TJ-, yes.
[08:51] <TJ-> Aavar: OK, let's try a capture with that as the target, but before we do lets ensure strace can work fine with non-snaps since yesterday there was some question over the error reports about not being root or suid which might be coming from strace.
[08:51] <lotuspsychje> Aavar: did you mess with snapd somehow on your system?
[08:52] <TJ-> Aavar: try this: strace -o /tmp/test.strace.log -f -e trace=file /bin/bash -c "ls $HOME"
[08:52] <Aavar> lotuspsychje, Not that I can remember, but I do mess with stuff from time to time :P
[08:52] <TJ-> Aavar: then show us the resulting log-file with "pastebinit /tmp/test.strace.log"
[08:53] <TJ-> lotuspsychje: Aavar  I'm wondering if there's a custom LD_LIBRARY_PATH set, or some locally installed libraries in /usr/local/ being picked up in preference to the system libraries
[08:53] <Aavar> TJ-, https://paste.ubuntu.com/p/Y2Sr4pNBTr/
[08:54] <TJ-> Aavar: good, so nothing wrong there, so basic strace does work
[08:55] <Aavar> :)
[08:56] <geirha> it didn't follow the ls process though
[08:56] <Aavar> (Just want to mention that I am not 100% sure exacly what the strace command does, so I am just following instructions at this point)
[08:57] <TJ-> Aavar: now let's target snap-store. Do: " strace -o /tmp/snap-store.strace.log -f snap-store |& tee /tmp/snap-store.log "  -- this will create 2 log-files, once of strace the other of the command output, so you can share them both with us with "pastebinit /tmp/snap-store*.log"
[08:57] <TJ-> geirha: it did
[08:59] <Aavar> TJ-, https://paste.ubuntu.com/p/dhcddcBpS5/ https://paste.ubuntu.com/p/Fp7c2NscWR/ (and it also gave me "need to run as root or suid" in the terminal).
[08:59] <TJ-> geirha: bash uses execve() which replaces bash with ls
[09:00] <geirha> ah, it optimized away the fork since the whole script was a single simple command. I see
[09:00] <TJ-> Aavar: hmmm that is weird; that MUST have come from strace since both stderr and stdout were redirected to the file, so that must be due to snap requiring confinement
[09:01] <TJ-> geirha: I only had trace=file :)
[09:05] <TJ-> Aavar: "need to run as root or suid" comes from a snap executable. Show us " ls -l /usr/lib/snapd/snap-confine "
[09:05] <TJ-> Aavar: I'm expecting that should show "-rwsr-sr-x 1 root root  ..."
[09:07] <Aavar> TJ-: The machine froze... It has done that two times earlier today when testing this... I had to force it down with holding the power button. I cant imagine this being related?
[09:07] <TJ-> Aavar: I'm beginning to think it may be, what was the last thing you saw me type?
[09:08] <TJ-> Aavar: Or are you on a different PC?
[09:08] <Aavar> TJ-: I am on a different pc.
[09:08] <TJ-> Aavar: the fact the yesterday we found lots of root-owned files in $HOME makes me suspect there may be other unexpected file-system owner/permissions issues we have to discover
[09:09] <TJ-> Aavar: So this is the most obvious one to start with " ls -l /usr/lib/snapd/snap-confine "
[09:10] <Aavar> TJ-: It is owned by root and the same permissions as you expected.
[09:12] <geirha> so it's nice and red? could it be it's on a mount with nosuid set?
[09:13] <Aavar> geirha: The output has a red background yes.
[09:14] <TJ-> geirha: possible but unlikely Aavar  try "findmnt /usr/lib/snapd"
[09:14] <TJ-> Aavar: we expect NO output
[09:15] <Aavar> TJ-: thats correct. No output.
[09:15] <TJ-> Aavar: have you deployed anything like firejail ?
[09:17] <Aavar> TJ-: I dont even know what that is, so no :)
[09:18] <TJ-> geirha: Aavar: in the strace log for snap-store, at the end, are 2 lines inc. the report about 'need root or suid' where it gets the effective UID (euid) and its 1001
[09:18] <TJ-> 10374 geteuid()                         = 1001
[09:18] <TJ-> 10374 write(2, "need to run as root or suid", 27) = 27
[09:19] <TJ-> geirha: Aavar  I don't use snap at all so not sure what to expect but if someone with snap could run the same strace of snap-store and compare we might make progress since we'd know what to expect
[09:21] <Aavar> I'm thinking it might be easier to reinstall the whole system... That being said, it would be great to know what is going on...
[09:22] <TJ-> Aavar: do you know if snap-store ought to be run with sudo, or not, normally ?
[09:24] <TJ-> Aavar: everything I read suggests it shouldn't use sudo since it's a GUI desktop application
[09:25] <Aavar> TJ-: As far as I know it should not matter as it will ask for sudo if it's needed.
[09:25] <TJ-> Aavar: here's another report we might look at: "pastebinit <( systemctl status snap* )"
[09:25] <Aavar> And btw. I have the same issue with apps that don't require sudo (inkscape for exaple).
[09:27] <Aavar> TJ-, It gave me errors, so i ran the same command with snapd* instead of snap* https://paste.ubuntu.com/p/W8jxTfKC7t/
[09:28] <Aavar> (snap.service not found)
[09:30] <TJ-> Aavar: if snap* didn't list anything or produced errors we might be onto something, because it should list the snap.core.$VERSION and all installed snap services, try "systemctl list-units snap*"
[09:30] <TJ-> Aavar: add "--all" to that to see disabled/failed services too
[09:37] <Aavar> TJ-, https://paste.ubuntu.com/p/D4MZcw6R2Z/ Should I maybe try to enable the snapd.failure.service?
[09:38] <TJ-> Aavar: I'd think not it is set to "vendor preset: disabled" so presumabled it is started by another snap element when required
[09:40] <TJ-> Aavar: at this point it isn't obvious what is going in except it seems to be specific to snap. I think you need to bug/talk to the snapcraft devs. I suspect there's a channel on Freenode they use
[09:41] <popey_> TJ-: #snappy
[09:41] <popey_> alternatively forum.snapcraft.io is active
[09:41] <TJ->  popey_ saved me some typing
[09:41] <popey_> ^5
[09:41] <Aavar> popey_, thanks :)
[09:41] <popey_> np
[09:42] <TJ-> popey_: I suspect this requires iterative poking its a weird one ... or someone who has experienced it before
[09:42] <Aavar> TJ-, thank you for your help so far :)
[09:42] <popey_> Yeah, I imagine one of the snapd people will have some experience.
[09:42] <TJ-> Aavar: and let us know what the cause/solution turns out to be
[09:43] <Aavar> TJ-, will do. Now I have to go to a customer to repair a labelprinter :)
[09:43] <Aavar> Will be back later or some other day :D
[09:43] <TJ-> Aavar: tell them to stop licking the labels!
[09:43] <Aavar> TJ-, I will ;)
[09:49] <BluesKaj> Hey folks
[10:21] <oikasd> my wired connection isnt working in ubuntu 18.04, anyone can help me troubleshoot it? I messed around with network interfaces in virt-manager, but now i dont have any network on the host itself. If i go to the gui settings theres just the VPN section and the Network proxy setting
[10:27] <oikasd> Okay, so my connection is actually working. But there is no indication of that in the icon on the upper taskbar, or in the gui network settings. For some reason?
[10:32] <oikasd> Anyone have an idea of why that could be?
[10:35] <TJ-> oikasd: yes, by default NetworkManager is configured NOT to managed wired interfaces!
[10:35] <oikasd> But my connection was in the network settings previously, but since messing around with network settings in virt-manager and stuff it has disappeared now.
[10:36] <TJ-> oikasd: so I assume you've managed to set some other network manager handle it, possibly ifupdown (via /etc/network/interfaces) or systemd-networkd
[10:36] <TJ-> oikasd: did you add the wired connection to a bridge?
[10:37] <TJ-> oikasd: in a terminal shell you can list the devices and states with "nmcli dev"
[10:37] <TJ-> oikasd: and you can list possible connections with "nmcli con"
[10:39] <oikasd> I ran nmcli dev and got 4 devices. virbr0 is green and the only "active" connection.
[10:39] <oikasd> I assume that means ive bridged my connection through that one
[10:39] <TJ-> oikasd: 'vir' meaning virtual. Was the PC's wired connection listed?
[10:39] <oikasd> yea, its unmanaged and got no connection
[10:40] <TJ-> oikasd: "brctl show" will report on bridges and the ports attached to them
[10:41] <oikasd> it lists only virbr0
[10:42] <TJ-> oikasd: in which case the reason the wired interface is not listed is likely to be due to NM defaulting to not managing it
[10:42] <TJ-> oikasd: try this: "sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf"  then "sudo systemctl restart NetworkManager" then check again with "nmcli dev" / "nmcli con"
[10:43] <TJ-> oikasd: the presence of this (empty) file over-rides the defaults in /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf
[10:43] <TJ-> oikasd: so on restarting NM should offer to manage the wired connection(s)
[10:47] <oikasd> I get the same output from ncmli dev andn con
[10:49] <TJ-> oikasd: NM still reports unmanaged for the wired interface? that means you've got something else configured to manage it and NM detected that
[10:51] <oikasd> Could it be virt-manager managing it?
[10:51] <TJ-> no
[10:52] <TJ-> actually yes, possibly, if you've a non-default configuration
[10:52] <TJ-> although I've not seen that - usually libvirt uses a bridge and does routing or NAT
[10:54] <oikasd> So this virbr0 devices, is there are way to disable it and just go back to only using my wired connection as it was before?
[10:55] <TJ-> oikasd: virbr0 is only used to connect guest VMs to, and you said the wired interface is not connected to it
[10:56] <TJ-> oikasd: you've got some configuration that is managing the wired interface that you've forgotten about or cannot find. There's 3 possibilities: network-manager, systemd-networkd, and ifupdown. You might also be using netplan (/etc/netplan/*) to configure the first 2 of those
[10:56] <oikasd> Im not sure about that anymore, but if thats the case then disabling virbr0 shouldnt affect my hosts connection
[10:59] <oikasd> Do systemd-networkd and ifupdown come by default`with ubuntu 18.04?
[11:01] <lastebill1> hmm, using a brand new matebook, I get about double the battery life compared to using windows :o
[11:02] <Cheez> what is a matebook?
[11:03] <ayekat> probably nsfw
[11:03] <lastebill1> a notebook from Huawei.  Severely hmm, inspired, by macbooks :p
[11:05] <lotuspsychje> !discuss | lastebill1
[11:12] <oikasd> TJ- My physical nic is in the network interfaces list of virt-manager, and from there is the only way i can control it. If i disable it there, then i lose my internet connection and it doesnt appear anywhere else. Doesnt that speak for it being managed by virt-manager?
[11:15] <TJ-> oikasd: let me check what I see here
[11:16] <TJ-> oikasd: that would do it, I only have 'lo' handled by libvirt there
[11:17] <oikasd> Okay, so I will try to delete it from virt-manager
[11:17] <TJ-> oikasd: disabling (stopping) it in libvirt wouldn't help you'd need to delete it from libvirt entirely (and restart libvirtd probably)
[11:23] <oikasd> Okay, so it seems to be working as it should now. thanks for the assistance
[11:24] <TJ-> oikasd: phew!
[11:25] <TJ-> oikasd: if you added that NM over-ride file using 'touch' it might be worth checking if NM will manage the wired interface without that file there... my guess is you do still need that over-ride
[11:42] <mystic> i'm here
[11:42] <mystic> that means i registered correctly right ?
[11:43] <JimBuntu> mystic, probably. Do you have a support question related to Ubuntu?
[11:43] <mystic> i like ubuntu
[11:44] <mystic> just about the only linux thats usable without a damn terminal
[11:44] <JimBuntu> Ok mystic , general discussion of Ubuntu is generally held in #ubuntu-discuss
[11:44] <mystic> i have one question.. not important much but.. my task bar is covered up by my top bar
[11:44] <mystic> so my 'files' folder is partly hidden
[11:45] <mystic> ubuntu 19
[11:47] <JimBuntu> ok mystic, give it a little time for a volunteer with 19.04 experience to pick up the question.
[11:51] <ioria> mystic, if you're referring to hidden files, just press 'ctrl+h'
[11:53] <tomreyn> i think mystic is referring to the activities panel
[11:53] <mystic> not hidden.. jusy a bit covered up by the top panel
[11:53] <ioria> ah
[11:53] <mystic> the right panel is hidden a bit by the top one
[11:53] <mystic> so it looks messy
[11:53] <mystic> maybe it happened after i added the 'hide top bar' app in forefox
[11:53] <mystic> not sure
[11:53] <mystic> firefox*
[11:53] <tomreyn> have you installed any gnome extensions yourself?
[11:55] <mystic> not sure.. just one to make the bar go away on top
[11:55] <tomreyn> if you added a firefox extension to firefox then it should only change how firefox (and its menu bar) displays. it should not change the desktops' main panel, unless what you were on extensions.gnome.org, installing a gnome extension through firefox.
[11:55] <mystic> probably that then
[11:55] <mystic> cos i want the bars to go away
[11:55] <mystic> not sure why its not a built in feature anyway to be honest
[11:56] <tomreyn> unfortunately gnome extensions can easily break gnome, as a whole, so you need to be very careful about which you install. i recommend you limit yourself to use those gnome extensions which are available from ubuntu repositories.
[11:57] <tomreyn> you can make some customizations using gnome-tweaks as well
[11:57] <mystic> well, id rather this than having the top bar there all the time
[11:57] <mystic> it wastes real estate
[11:57] <BlueShark_> Hi. Why's /snap/bin not in $PATH by default?
[11:57] <mystic> guess i'll have to live with it then.. not a big deal
[11:58]  * tomreyn did not say "you have to live with it"
[11:59] <ioria> mystic, last supported is Shell 3.26; 19.04 uses 3.32
[11:59] <mystic> i dont think you can remove the top bar in the tweak tool tho
[12:00] <mystic> sorry have to work, back in a bit...
[12:01] <JimBuntu> BlueShark_, please specify which version of Ubuntu you are using. With my 16.04 install, it appears to be in $PATH by default, unless it was added by something without my noticing.
[12:02] <tomreyn> BlueShark_: actually it is
[12:05] <tomreyn>  /etc/profile.d/apps-bin-path.sh adds it
[12:05] <ioria> maybe using another shell BlueShark_  , zsh ?
[12:06] <ayekat> zsh sources /etc/profile as well
[12:07] <ioria> there was a confirmed bug in xenial : https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1640514
[12:07] <BlueShark_> JimBuntu: 18.04.1
[12:07] <BlueShark_> ioria: fresh installation
[12:08] <BlueShark_> shell is bash
[12:08] <ioria> not the case then
[12:08] <BlueShark_> i manually added it in .bashrc
[12:08] <BlueShark_> and then it works.
[12:08] <BlueShark_> snap install docker - this is the right command right?
[12:09] <ayekat> .bashrc isn't the place to define $PATH, though
[12:09] <BlueShark_> do I have to specify any additional flag for it to be automatically present in bin?
[12:09] <BlueShark_> ayekat: ~/.profile then?
[12:09] <JimBuntu> To confirm shell, existence of apps-bin-path and content - ps -p $$ && cat /etc/profile.d/apps-bin-path.sh
[12:09] <ayekat> BlueShark_: if you haven't got any ~/.bash_profile or ~/.bash_login, then yes
[12:09] <BlueShark_> ayekat: what's the preferred order?
[12:10] <ayekat> BlueShark_: but really I'd rather check why the /etc/profile.d snippet isn't sourced in the first place
[12:10] <tomreyn> BlueShark_: install the pending updates, reboot, then come back if issues remain.
[12:11] <ayekat> ioria: ah, upstream zsh is different, but I guess that doesn't apply here :-]
[12:11] <BlueShark_> # Expand $PATH to include the directory where snappy applications go.
[12:11] <BlueShark_> I can see this in /etc/profile.d/apps-bin-path
[12:11] <ayekat> ioria: wait, ignore my comment
[12:11] <BlueShark_> So that is present, just not sourced. RIght?
[12:11] <ioria> ayekat, ok
[12:12] <ioria> BlueShark_, what's your kernel ?  uname -r
[12:12] <ayekat> BlueShark_: /etc/profile.d/apps-bin-path or /etc/profile.d/apps-bin-path.sh?
[12:12] <BlueShark_> for clarity, this is a fresh installation of ubuntu 18.04.1 and I haven't done anything other than snap install docker, and docker did not get added to path. shell is default.
[12:13] <BlueShark_> ioria: 4.15.0-1021-aws
[12:13] <ioria> ha
[12:13] <BlueShark_> ayekat: the latter, sorry I wasn't clear.
[12:13] <BlueShark_> would AWS be fucking with something here?
[12:13] <JimBuntu> !language | BlueShark_
[12:14] <BlueShark_> oh, very sorry.
[12:14] <ioria> BlueShark_,  echo $PATH
[12:14] <ayekat> there might be some other snippet sourced afterwards that resets $PATH in an unfortunate way - hard to tell without knowing the content of the other files in there
[12:14] <JimBuntu> BlueShark_, AWS could be messing with something, really depends on the AMI you used. I have not experienced such a thing in the past though.
[12:14] <BlueShark_> ioria: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
[12:15] <ioria> bofh
[12:16] <BlueShark_> what?
[12:16] <ioria> no idea
[12:29] <geirha> probably aws having made custom changes to /etc/profile or something
[12:31] <oikasd> So im trying to follow this part of this guide: https://linuxconfig.org/install-and-set-up-kvm-on-ubuntu-18-04-bionic-beaver-linux#h8-configure-the-network-bridge It says that adding those lines to /etc/network/interfaces wont affect the network negatively, but after i add them and restart the computer (or just the network service) then my network
[12:31] <oikasd> completely stops working. Commenting out those lines and restarting, and it works again. What am i doing wrong?
[12:35] <ayekat> watermarked screenshots of a terminal showing text... that's a new high
[12:36] <ayekat> oikasd: is network-manager running?
[12:36] <oikasd> Yep, it is
[12:37] <ayekat> oikasd: /etc/network/interfaces (and related files) are for configuring ifupdown, which is a different network management suite - running it alongside NetworkManager usually causes conflicts, as both are trying to configure the same network interfaces
[12:37] <ayekat> oikasd: I assume the original interfaces file (before you modified it) only had lines related to the `lo` interface?
[12:38] <oikasd> Oh okay. This is just confusing, why do they put several network management suites into ubuntu by default, and why does this guide assume that I use ifupdown instead of network-manager
[12:39] <ayekat> (1) no idea, and (2) because random online blog
[12:40] <oikasd> I guess ill try to find some other guide or something for this
[12:42] <ayekat> I'm not familiar with libvirt (although I think it can use various backends like qemu/kvm or others), so I can't quite help there - but if you want your solution to be properly integrated with your current setup, I'd search for how to set up a bridge using NetworkManager
[12:43] <ayekat> (alternatively, switch to a different network management suite that allows you to do that more easily - but I'm not someone to give suggestions based merely on opinions)
[12:47] <ioria> BlueShark_, it should be fixed by now , but i post you this: (see #28) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1771858
[12:48] <ioria> oikasd, this uses netplan : https://www.linuxtechi.com/install-configure-kvm-ubuntu-18-04-server/
[12:49] <BlueShark_> ioria: it's fixed by now means?
[12:51] <ioria> BlueShark_, that someone reported it as fixed (using proposed pkgs); officially not
[13:23] <chymera> hi guys, can you recommend a PDF viewer which can show edit suggestions? I have a document with blue strikethrough text over here, and apparently, there should be an edit visible when I click on it, but in evince I cannot see it
[13:25] <lotuspsychje> chymera: inkscape perhaps?
[13:32] <chymera> inkscape, as a PDF viewer? 0.o
[13:33] <lotuspsychje> chymera: it can handle pdf's yes and is often used by users for editing purposes, not sure if it will solve your issue though
[13:36] <chymera> well yes, it can, but it's precisely the metadata it can't read well... so it's specifically the purpose at hand that it's not well suited for
[13:36] <chymera> I was thinking of another PDF viewer (not editor), which can view text comments made by editors.
[13:41] <lotuspsychje> !pdf | chymera some others
[13:41] <lotuspsychje> chymera: think there's an acrobat snap too
[13:54] <hydrian> Ello all
[13:54] <hydrian> having an issue with KVM on 16.04
[13:55] <hydrian> Every time I try to set a guest VM's RAM to over 4GB, KVM resets the value to 4GB
[13:55] <hydrian> In both virt-mangage and virtsh.
[13:56] <hydrian> It is a 64-bit guest and host.
[13:56] <SwedeMike> hydrian: how much memory does the host have?
[13:57] <hydrian> 24GB. I'm trying set it to 8GB.
[13:57] <SwedeMike> hydrian: have you enabled hugepages?
[13:57] <hydrian> I only have two other VM's and they run <= 1GB
[13:58] <SwedeMike> hydrian: https://help.ubuntu.com/community/KVM%20-%20Using%20Hugepages
[13:58] <hydrian> guest or host?
[13:58] <SwedeMike> host.
[14:03] <hydrian> Yea. Hugepage may be an issue. This was an inplace upgrade from 14.04
[14:07] <tomreyn> why dont you go all the way up to 18.04 lts
[14:07] <lastebill1> I broke the ability to automaticly disable the touchpad while typing because I installed synclient to enable coasting.  Coasting now works fine, but I keep mistyping because of the trackpad not being disabled when typing.  I just tried to start ubuntu from a usb, and the touchpad worked fine in regard with disabling when typing.  Anyone here an exp
[14:07] <lastebill1> ert on synclient or able to tell me how to enable coasting without synclient?
[14:09] <hydrian> tomreyn: Time.
[14:09] <tomreyn> i see
[14:10] <hydrian> Tom01: I always wait a year before I move to the next LTS for my servers. So I just started considering 18.04 in Apirl
[14:10] <tomreyn> lastebill1: you don't say what you're running, and i'm definitely *not* an expert on this. but on 18.04 the (default) non-synclient input framework is "libinput". now if you combine a web search for this and "caosting", you might find something useful.
[14:10] <hydrian> *April.
[14:11] <hydrian> Sorry that was for tomreyn ^
[14:11] <tomreyn> hydrian: it should indeed work on 16.04, i can't see a reason for it not to (even without hugepages support, i would think).
[14:12] <tomreyn> that is, unless bugs, of course
[14:13] <hydrian> In 16.04 huge pages were enabled by default. Pre 16.04,hugepages was not. Since this was an upgrade....
[14:13] <hydrian> I think this base machine even started back at 12.04
[14:13] <TJ-> hydrian: check the logs, "journalctl -b 0 -u libvirtd", there may be a clue
[14:13] <lastebill1> tomreyn thank you!  Sorry, running disco dingo on a matebook.  Coasting is the ability to continue scrolling after you "realease" the scrolling.  Like "throwing" the website so to say.
[14:14] <tomreyn> ah i see what you mean lastebill1
[14:15] <hydrian> TJ-: No luck there
[14:19] <tomreyn> hydrian: any other possibly related serious issues?  journalctl -b 0 -p 3
[14:22] <ioria> lastebill1, have you tried with syndaemon ?
[14:22] <lastebill1> ioria no, I will check that out!
[14:23] <hydrian> tomreyn: Nothing obvious
[14:23] <ioria> lastebill1, something like 'syndaemon -i 4 -d'
[14:30] <TJ-> hydrian: could this explain it? https://stackoverflow.com/questions/43039272/dynamic-memory-allocation-in-kvm
[14:36] <hydrian> TJ-: I don't think so. I wasn't doing any balloning as far as I can tell. I also didn't setup the ballon driver the guest (Ubuntu 16.04)
[14:37] <TJ-> hydrian: so can I get it clear? You use virt-manager GUI and set the allocated memory to more than 4GB whilst the guest is NOT running, save the profile and it resets to 4GB?
[14:41] <hydrian> TJ-: In virt-manager I set the guest VM RAM (Current and Maxium) to 8GB. When I click 'apply'. The GUI resets it back to 4GB.
[14:41] <hydrian> The same type of thing happens in virsh
[14:42] <muhaha> is there any utility that can return basic system info in json?
[14:43] <TJ-> hydrian: when you set it (presumably you enter 8192 ?) does the host have that much free according to "free" ?
[14:43] <TJ-> muhaha: "lshw -json ..."
[14:44] <muhaha> Thanks, and something that can return SW stats?
[14:45] <hydrian> TJ-: Yes. I'm currently only using 8GB of 24GB (not including cache/buffer)
[14:45] <hydrian> That
[14:45] <lastebill1> is there a way to see the chat log in this channel?
[14:45] <hydrian> That's with the 4GB version of the problem VM running.
[14:47] <tomreyn> !logs | lastebill1
[14:49] <TJ-> hydrian: is the guest CPU a 32-bit only version?
[14:51] <lastebill1> syndaemon -i 1 -d -t makes it feel very much like I like it to behave.  Is there a trick to shave off half a second though?  I'd like to set it to delay for half a second, but 0.5 seems to set it to 2 seconds
[14:52] <TJ-> hydrian: is max_core set in /etc/libvirt/wemu.conf ?
[14:53] <TJ-> hydrian: I think that only applies to core dumps themselves but the comments surrounding it could be interpreted to mean it affects guest memory too
[14:56] <TJ-> hydrian: lots of # comments in those configs, try this to see just the active settings: "sudo grep -v '^\(#\|$\)' /etc/libvirt/*.conf"
[15:05] <hydrian> 64 bit CPU: AMD A8-7600 Radeon
[15:06] <oikasd> trying to get my bridged connection for my kvm guests to work but im having problems. The guests dont get any ips, static doesnt work either. Im using netplan and ive added my physical nic to it and set it to dhcp: true, then i added a bridged connection br0 and also set it to dhcp: true. Then i start up the kvm and i assigned it to br0 in virt-man
[15:06] <oikasd> ager and i also put it to dhcp: true in its own settings. But it never gets an ip. Anyone know this stuff?
[15:07] <cgregan> Hello all....is there a Multipass spacific freenode channel?
[15:07] <ioria> lastebill1, fractional seconds are supported
[15:08] <BuildTheRobots> good afternoon. I'm using 18.04 with gnome shell: is it possible to stop grouped icons changing order? Eg if I have 3 firefox windows open, the last one clicked on ends up at the top of the list and the order keeps changing. When there's a few I can go round in circles trying to find the right one to click on which is infuriating
[15:10] <TJ-> oikasd: you shouldn't need to do any of that. In virt-manager's Connection Details (for QEMU) on the Virtual network tab you should just have "default" (virbr0) active with autostart on boot and DHCP enabled and Forwarding: NAT ... get that to work first *then* you can try switching to routing or bridged ethernet
[15:10] <tomreyn> !alis | cgregan
[15:17] <oikasd> @tj Should I even have to be in and use the Virtual Networks tab? I dont want a virtual network, i want my vms to connect to my actual real network and give each of them their own static ip address
[15:20] <TJ-> oikasd: I'm just suggesting you start with the basics and having it work at all :)
[15:25] <hydrian> TJ-: Nothing looks off or related in the config files
[15:26] <hydrian> Hmmm this is odd.
[15:27] <hydrian> address sizes	: 40 bits physical, 48 bits virtual | root@ruadan:~# arch | x86_64
[15:27] <hydrian> That's from inside the guess VM.
[15:28] <hydrian> That's from CPU proc
[15:29] <hydrian> Is't that how a 32-bit machine looks wuth high memory enabled?
[15:31] <magic_ninja_work> how can I add a script to my environment path so that I can just type "prs" to launch "prs.sh"
[15:32] <seven-eleven> is it a bad idea to create a /usr/local/bin/permission.sh script where I store specific system-wide permissions?
[15:35] <tomreyn> magic_ninja_work: two options: (1) add an alias (run 'help alias' for more info) to your ~/.profile or ~/.bash_aliases (if using bash), (2) ass the directory the script is located in to the PATH variable in your ~/.profile - but then all executable files in this directory become executable from anywehre.
[15:35] <JimBuntu> *add
[15:36] <tomreyn> oops, thank JimBuntu
[15:37] <oikasd> TJ- I got it working with dhcp now, but cant get it to work with static ip. Where would i specify what static address the vm has? its running ubuntu server 18.04
[15:38] <JimBuntu> seven-eleven, that would depend on if your user requires a password for sudo, the permissions given to the permission.sh and if sudo is required for it to run, I imagine. Generally, if this isn't a shared system, I wouldn't consider it a *bad* thing
[15:40] <newbie007> Greetings, I have several PCs I'd like to be able to ssh into all of them from any of them..  To do this would I have to install both the ssh client and server on each one?
[15:40] <BuildTheRobots> newbie007: correct - and then set up some ssh keys so you don't have to faff with passwords
[15:41] <newbie007> thanks, do you think that there is some easier way?
[15:41] <newbie007> they all connect through a router.. but I don't think that helps.. I still need each one to be listening for a request....
[15:44] <BuildTheRobots> newbie007: if you want to be able to "remote in" from outside your home router then you could set up one of the boxes as a "jump box" - only that is remotely accessable and the rest you can jump to from that. In fact, you can even set up your ~/.ssh/config to automagically proxy through a jump box
[15:44] <BuildTheRobots> (so you only need to port forward one port)
[15:45] <ioria> !info pssh
[15:45] <newbie007> I just want from my home to connect from anything-to-anything.. from outside nothing coming inside
[15:46] <BuildTheRobots> inside your home you can connect to anything to anything - but you'll need sshd isntalled and running on each box. externally won't be able to connect, so if that's what you want then easy :)
[15:47] <newbie007> got it, thanks so much!
[15:56] <magic_ninja_work> tomreyn, thanks. I would prefer to add the path to my environment variables so that I can add other scripts
[15:58] <JimBuntu> magic_ninja_work, in that case, don't name it .sh if you really want to only have to type in "prs"
[16:00] <TJ-> magic_ninja_work: we have /usr/local/bin/ for local admin scripts or (for BASH) $HOME/bin/
[16:00] <TJ-> magic_ninja_work: if $HOME/bin/ exists when you start bash it'll add it to the PATH
[16:03] <BuildTheRobots> magic_ninja_work:  is ~/bin a bash thing, ubuntu thing or something special you've done?
[16:11] <magic_ninja_work> so if I make a bin folder in $HOME/bin rather than a scripts folder, it will add it. Let me try it out
[16:12] <ioria> magic_ninja_work, yeah, but logout/login after
[16:14] <magic_ninja_work> ioria, I can't just restart terminal?
[16:14] <ioria> nope
[16:14] <magic_ninja_work> does bash load first, then user sessiosn on top of it?
[16:14] <magic_ninja_work> Or does anyone have a flow chart / some visual aid for that process?
[16:15] <ioria> magic_ninja_work,   grep bin .bashrc   && grep bin .profile
[16:16] <magic_ninja_work> I'm say why can't I just restart my terminal emulator?
[16:19] <magic_ninja_work> so thinking about this, I guess the question is at what part of system startup does bashrc load
[16:19] <JimBuntu> magic_ninja_work, I think you can start a new terminal
[16:20] <magic_ninja_work> well, $HOME/bin isn't in my path
[16:21] <magic_ninja_work> it is $HOME/<user>/.local/bin for me
[16:21] <JimBuntu> magic_ninja_work, if ~/bin ( properly written with your username / absolute path ) isn't in your PATH, then add it in the PATH in ~/.bashrc, open a new terminal and it should show in your PATH and you can start placing scripts in that directory
[16:22] <JimBuntu> magic_ninja_work, if you already have a $HOME/<user>/.local/bin , then use it.
[16:22] <magic_ninja_work> So that did it.
[16:22] <magic_ninja_work> I have actually never tried it before. I just have my scripts folder and put a symbolic link there.
[16:30] <bviktor> any way to make the 18.04 network manager gnome applet create system connections by default? it's quite idiotic to assume all users have sudo rights, and deny wifi connections otherwise, by default.
[16:30] <bviktor> create *user* connections by default, sorry
[16:30] <bviktor> currently it attempts to create a system one and kindly asks for sudo password, which the user obviously doesn't have
[16:31] <bviktor> workaround is open settings app, select wifi, and there it creates user connections as it should
[16:32] <leftyfb> bviktor: https://askubuntu.com/a/830673   # found by searching for "ubuntu connect to wifi non administrator user"
[16:33] <bviktor> that's not what i'm asking
[16:33] <bviktor> this allows all users to control system connections, which is equailly as idiotic
[16:33] <leftyfb> https://askubuntu.com/a/313440
[16:34] <bviktor> that's most likely does the exact same thing, but from the gui
[16:34] <bviktor> that *
[16:34] <leftyfb> network connections are a system-level thing. I don't think user-connections is a thing
[16:35] <bviktor> "you don't _think_" is rather irrelevant, as it's a fact that they exist
[16:35] <bviktor> i just explained that you can do a user connection without sudo rights from a different gui path
[16:35] <bviktor> also, /etc/NetworkManager/system-connections is called /etc/NetworkManager/*system*-connections for a reason, not by accident
[16:37] <bviktor> the separate org.freedesktop.NetworkManager.settings.modify.own and org.freedesktop.NetworkManager.settings.modify.system polkit actions also exist for a reason
[16:38] <bviktor> it's just that noone seems to care about actually solving this, so all "solutions" involve this brute force method of "let's just allow everyone do anything, what could go wrong" approach, which to me is equivalent to chmod -R 777
[16:45] <bviktor> (why connecting to an *existing* vpn profile also requires sudo rights by default is also beyond me. it's like no ubuntu/gnome/nm/polkit dev ever tried to use a comp without full sudo rights, which brings ubuntu around the usability level of windows xp where i needed admin rights to plug in a USB drive :-))
[16:47] <TJ-> hi bviktor did you get my memo about ign DKMS?
[16:48] <TJ-> oops, igb even
[16:48] <bviktor> no, but i figured ito ut
[16:48] <bviktor> i just didn't want to "idle chat", which i already violated again i guess
[16:49] <TJ-> bviktor: the Intel makefile is very poorly written, and your dkms.conf MAKE[0] was triggering the wrong path into it
[16:49] <bviktor> i'll eventually push that ansible collection to github i just need to get rid of the confidential corporate stuff first
[16:49] <TJ-> this is a good working dkms.conf http://paste.ubuntu.com/p/6pj2hFYwXV/
[16:49] <bviktor> actually it was working fine, unless you updated to a different, ABI-breaking kernel without a reboot
[16:50] <bviktor> yea, mine also looks something like this
[16:50] <TJ-> bviktor: the entire point of the build system is to set the vermagic to match the kernel being built for, not that of the build system
[16:50] <bviktor> yes, i know.
[16:50] <bviktor> it's just extra tricky when you have to move around dirs
[16:51] <bviktor> for example, i have a driver which calls "./mvidtoh.sh"
[16:51] <bviktor> that's essentially impossible to build now
[16:51] <bviktor> without a prepared custom tarball
[16:51] <bviktor> and yes, it's a poorly written makefile, but that won't change the fact that cd'ing to the kernel dir instead of the driver dir causes headaches
[16:52] <bviktor> other one uses CFLAGS =+ -I(PWD) or something like that, that also needed other workarounds, because of this
[16:53] <TJ-> that's *how* Kbuild does it, it expects to be told where the out-of-tree source is as part of the M=
[16:53] <bviktor> telling it where the module is won't change the working directory
[16:53] <bviktor> it just tells it where to look for source files
[16:54] <bviktor> but anything in any makefile that uses the driver's dir to perform custom stuff will fail by default
[16:54] <bviktor> but anyhow, like i said, i already solved these, it's just another headache
[16:54] <TJ-> bviktor: 'working directory' in Kbuild terms is where it is writing the intermediate files, which can be set with O=
[16:55] <bviktor> how will that make "./mvidtoh.sh" be found during the build?
[16:56] <TJ-> bviktor: when I need to add to the build process I add things into the Makefile using PATCH[x]
[16:56] <bviktor> many driver makefiles assume you cd into the main driver dir, and if you're somewhere else, it fails, as simple as that
[16:56] <bviktor> yes, that's also an option, if i have too much free time i'll do just that :)
[16:57] <bviktor> anyhow, thanks a lot of getting back to me
[16:58] <TJ-> but for DKMS builds, if you want to add something into the build then you *have* to set M= to DKMS's build path, not /usr/src/mod-ver/ - in the absence of O= it is the same as M= hence using: "MAKE ... make ... M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src "
[16:58] <bviktor> M= is already set, yes
[16:58] <TJ-> DKMS copies everything from /usr/src/mod-ver to the path above ^^
[16:59] <bviktor> duh...
[16:59] <bviktor> it won't automagically fix the problems i mentioned above, dude
[16:59] <TJ-> bviktor: which is under /var/lib/dkms/ (that's $dkms_tree)
[17:00] <bviktor> you cd into /usr/src/kernel-<whatever>, then it looks for mvidtoh.sh in /usr/src/kernel-<whatever>, where it obviously won't find it, as it's in the driver's folder
[17:00] <TJ-> bviktor: if your shell script has been copied over it will be called correctly (assuming you're using a Makefile directive for that)
[17:00] <bviktor> well guess what, it wasn't
[17:00] <bviktor> mvidtoh.sh : not found
[17:00] <bviktor> or something along those lines
[17:01] <bviktor> there's no "makefile directive" for that, it's part of make all
[17:01] <TJ-> bviktor: you can check since the copy will be at /var/lib/dkms/$MOD/$VER/source/
[17:01] <bviktor> what needs to be checked? i already know the sources are there
[17:01] <TJ-> bviktor: as I said, I add those into the Makefile using a PATCH[x]
[17:01] <bviktor> but make cd's into /usr/src/kernel-<whatever>, not /var/lib/dkms...
[17:02] <bviktor> yes, as i said, i'd like to create patches, but that's even more time, which i don't have rn
[17:04] <bviktor> i'd love to give you an example driver package so that you can play around, but that too takes time :)
[17:04] <TJ-> right, it has to, but my point is the script, and any Makefile, should use the env-vars DKMS sets to use the correct path. This has all been thought through over the years but it can be difficult to figure out from scratch
[17:05] <bviktor> exactly what i said, these drivers are poorly-written, that's all
[17:06] <TJ-> The igb Makefile is designed to run either stand-alone or as part of Kbuild, DKMS needs the Kbuild path almost always, and when that path is conditionally chosen by the Makefile problems generally ensue ;)
[17:07] <bviktor> nah, it's not the intel drivers that fail
[17:07] <bviktor> one is peak, which is an abomination, and the other one is tn40xx, which is possibly even worse
[17:08] <bviktor> you have to hunt for the driver itself, then firmware files in random github comments, then some random make flags, then it generates some headers, and THEN you can actually build the driver properly
[17:09] <TJ-> oh yeah, out of tree drivers in particular are usually thrown at a wall like mud!
[17:10] <TJ-> back to your VPN / sudo issue though, why is suod required? neither ifupdown, sytemd-networkd  nor network-manager need sudo to bring up an interface
[17:10] <TJ-> mostly because they run as privileged system services of course :)
[17:11] <bviktor> EXACTLY
[17:11] <bviktor> because of stupid defaults, that's why
[17:11] <bviktor> because a system connection requires sudo rights by default. why? ask polkit
[17:11] <bviktor> and then again, network-manager-gnome creates system connections by default. why? ask network-manager, or gnome, or both
[17:11] <TJ-> well that makes perfect sense for *system* connections that only authorised administrators can mess with them
[17:12] <bviktor> yes, the first one makes sense
[17:12] <bviktor> the second one doesn't
[17:12] <bviktor> especially since you can make a user connection a system one anytime afterwards
[17:22] <KungFoo> how can I find the package a library belongs to?
[17:22] <KungFoo> I see /usr/lib/x86_64-linux-gnu/libxvidcore.so.4.3
[17:23] <KungFoo> would like to know which package installed it
[17:23] <magic_ninja_work> how can I manually set eth0 to an IP ?
[17:23] <magic_ninja_work> I'm looking to connect to a specific device via a switch and just assign a static IP to my machine
[17:23] <tarzeau> KungFoo: dpkg -S the path
[17:23] <tarzeau> magic_ninja_work: ifconfig eth0 the.ip.ad.res
[17:24] <tarzeau> you have not said anything about subnet mask, nor routing
[17:24] <magic_ninja_work> they just aren't relevant to this particular question.
[17:25] <magic_ninja_work> Dummy switch with two static IP addresses plugged in. It is some industrial equipment. Really simple setup.
[17:25] <tarzeau> and it runs ubuntu?
[17:25] <magic_ninja_work> I run ubuntu.
[17:25] <bviktor> gtg bb
[17:26] <magic_ninja_work> So I have a general question about the graphical connection managers in linux.
[17:26] <magic_ninja_work> They seem to be different than configuring the connection via console.
[17:27] <magic_ninja_work> I guess more of a confused statement.
[17:27] <tomreyn> yes, they're graphical.
[17:28] <magic_ninja_work> For a lack of better words, I can see they are "different layers". How is this "broken up".
[17:28] <magic_ninja_work> For instance, setting up a connection in a graphical client doesn't add a systemd unit to handle it...
[17:29] <magic_ninja_work> Or, when I start my DE, I'm not already connected to wifi. There is an application within the DE that handles connecting to various wifi networks.
[17:31] <magic_ninja_work> But I don't know enough to know how to properly phrase my question.
[17:31] <Aryan> hi
[17:31] <Aryan> guys
[17:31] <Aryan> will u help me to install persistence ubuntu on my flash ?
[17:32] <sarnold> Aryan: irc works best with specific questions -- where are you stuck?
[17:32] <sarnold> magic_ninja_work: you can use ip addr to add or remove IP addresses from network interfaces; you can use happy frontends like network manager to manage them; you can set up systemd unit files (perhaps using netplan front end) to set up more persistant connections..
[17:33] <sarnold> magic_ninja_work: different tools for different tasks :)
[17:33] <Aryan> sarnold; i'm on windows and i have a Ubuntu USB
[17:33] <Aryan> i don't know how to make it persistent
[17:35] <magic_ninja_work> sarnold, okay. I'm on KDE, so I'm going to operate under the assumption now that I needt o get specific information about the KDE connection manager.
[17:35] <magic_ninja_work> I don't think it starts up until KDE starts up (otherwise I would have wifi all the time, not just while in a KDE session).
[17:35] <TJ-> magic_ninja_work: most Desktop installations will use NetworkManager and its GUI options
[17:36] <TJ-> magic_ninja_work: if you set an NM connection to a user then it won't start until that user is logged in (the NM default is connections are available to "all" users) and, if set to autostart, will be started as soon as possible, and certainly before the systemd network-online.target is reached
[17:37] <sarnold> Aryan: aha :) so.. you want the Live USB image to have a writable partition that sticks around?
[17:37] <Aryan> yes mr sarnold
[17:38] <Aryan> i have a bootable ubuntu usb drive now
[17:38] <magic_ninja_work> TJ-, so I did confirm I have network manager installed. That is the daemon that "handles" various network connections ?
[17:38] <Aryan> but idk how to make it persistent
[17:38] <TJ-> magic_ninja_work: correct, it's a system service
[17:39] <magic_ninja_work> TJ-, so are systemd network units something different?
[17:39] <TJ-> magic_ninja_work: you can also work with it from the command-line using "nmtui" which is a text-based dialog-drawing tool, or for raw command-line "nmcli"
[17:39] <TJ-> magic_ninja_work: yes, they belong to systemd-networkd which is only installed by default on ubuntu-server installs
[17:40] <magic_ninja_work> okay, so I am on 19.04. So, I will use the network manager daemon rather than the systemd-networkd
[17:40] <magic_ninja_work> looks like I have the systemd networkd
[17:41] <magic_ninja_work> So it is installed, but disabled in systemctl
[17:41] <TJ-> magic_ninja_work: Ubuntu introduced 'netplan' (netplan.io) to so a single network config description in YAML format (/etc/netplan/*) will 'render' the configuration for either of NM or systemd-networkd, depending on which is in use
[17:41] <Aryan> : |
[17:41] <TJ-> !info netplan
[17:41] <TJ-> grrr, wrong one!
[17:41] <TJ-> !info netplan.io
[17:42] <dunams> I've added additional input language, but when I switch to it the typing is still English. do I need to install additional language packages or something?
[17:42] <magic_ninja_work> so is that currently in use?
[17:42] <TJ-> magic_ninja_work: if you use the NM connection editor you're manually creating permanent connection profiles for NM that are stored in files in /etc/NetworkManager/system-connections/
[17:44] <TJ-> magic_ninja_work: if you write a netplan.io YAML config in /etc/netplan/ it'll be used at boot-time, every boot, to write a config that is stored only in a tempfs under /run/ and so the NM (or systemd-networkd) config only lasts until the next reboot
[17:44] <magic_ninja_work> I see, so the potential exists here for conflict.
[17:44] <magic_ninja_work> And it appears that KDE's connection manager is a frontend for network-manager.
[17:45] <Aryan> guys
[17:45] <lotuspsychje> Aryan: can we help you?
[17:45] <sarnold> Aryan: does the memory stick have partitions on it? if so, you could try to resize the one partition with gparted (or a similar tool; I don't actually resize filesystems very often..) and then add another partition at the end for your data
[17:45] <Aryan> help me create a persistent ubuntu usb drive
[17:46] <TJ-> magic_ninja_work: there's 3 network management tools, historically ifupdown (/etc/network/interfaces) then NetworkManager and later systemd-networkd
[17:48] <Aryan> sarnold; so i should resize my USB and make unallocated space on it ?
[17:48] <Aryan> sarnold; so i should resize my USB and make unallocated space on it ?
[17:48] <lotuspsychje> !patience | Aryan please
[17:48] <magic_ninja_work> TJ-, my experience left with ifconfig :)
[17:48] <magic_ninja_work> So I know nothing about the new stuff
[17:49] <Aryan> ubottu; ok
[17:49] <Aryan> aha : |
[17:51] <Aryan> sarnold; i resized my USB and have made unallocated space , what next step ?
[17:51] <KungFoo> There's a package libxvidcore4 - how do I get the .deb file for this?
[17:51] <tomreyn> Aryan: do you have a virtualization software with usb passthrough there? virtualbox can do this, but there may be others.
[17:51] <tomreyn> KungFoo: apt download libxvidcore4
[17:51] <magic_ninja_work> Anyway, TJ- I appreciate the clarification there. That was a bit involved. Is there any document you can that clearly articulates this structure?
[17:52] <KungFoo> how to install deb from command line?
[17:53] <TJ-> magic_ninja_work: there's this basic overview from Debian https://wiki.debian.org/NetworkManager
[17:53] <tomreyn> KungFoo: that's often not a good idea, i suggest you discuss the details and get a recommendation. this said, you can do it using   sudo apt /path/to/package.deb
[17:53] <sarnold> Aryan: create a new partition in the unused space, mkfs an ext4 filesystem there, and see how it goes..
[17:54] <Aryan> tomreyn Yes i have
[17:55] <Aryan> u mean i should make my persistent USB with vitualization software ?
[17:55] <tomreyn> Aryan: download the ubuntu.iso, verify it's !checksum, create a VM with your usb storage passed through to it, boot off the iso on the VM, install to the usb in the VM.
[17:56] <tomreyn> Aryan: if oyu already have data on the usb storage be careful not to overwrite it, you'll need to use manual partitioning
[17:56] <tomreyn> and make sure you install grub to this device and not elsewhere
[17:57] <tomreyn> (but if you do this in virtualization only the usb storage should be available, so that's actually safe)
[17:57] <lotuspsychje> KungFoo: start with your whole story please, what are you trying to do with the manual .deb?
[17:58] <adac> Hi there! When I try to console connect with virsh then it simply hangs here: https://pastebin.com/UYXy64Vq any ideas?
[18:00] <KungFoo> can't install package in docker
[18:00] <KungFoo> so I'm going to download outside the continaer and install inside of docker.
[18:00] <KungFoo> it's not my container
[18:07] <Aryan> tomreyn; aha ok i got it
[18:07] <tomreyn> adac: have you configured a serial console on the guest system?
[18:08] <Aryan> sarnold; i'm not with mkfs and ext4 filesystem ....
[18:09] <Aryan> could u just write the exact command ?
[18:09] <BriggsE> I don't really have a question to ask other than, Is this a good place for noob questions, Or is there a better place for that kind of thing?
[18:09] <lotuspsychje> BriggsE: if its about ubuntu, sure
[18:09] <sarnold> BriggsE: this is fine :)
[18:09] <tomreyn> BriggsE: this is a fine plasce for any kind of ubuntu support questions
[18:10] <BriggsE> Awesome :) Does this also include it's derivatives, like Xubuntu?
[18:10] <tomreyn> it inclused official !flavors but not !derivatives
[18:10] <tomreyn> !flavors
[18:10] <tomreyn> xubuntu is a flavor
[18:11] <tomreyn> for gui related questions, #xubuntu may be the better place to ask, though
[18:11] <BriggsE> Right, I should have use flavors. I use Xubuntu currently, and have for the last two years. I love it. But I've not been very active in the Linux community and being a developer, learning C, I'd like to be involved.
[18:12] <lotuspsychje> BriggsE: would you like to contribute?
[18:12] <BriggsE> At some point, for sure, I don't think I have much to contribute yet though.
[18:13] <lotuspsychje> !contribute | BriggsE start here
[18:13] <lotuspsychje> BriggsE: join also #ubuntu-discuss if you like, alot of likeminded helpers join forces there
[18:13] <adac> tomreyn, would this work like this: https://stackoverflow.com/a/37194932
[18:14] <BriggsE> So I thought I'd check out the community around Ubuntu and it's flavors to see if there is anything I can do some time :)
[18:14] <BriggsE> s/some time/sometime
[18:14] <lotuspsychje> BriggsE: you surely can, contributing has a very wide range of tasks that might interest you
[18:14] <sarnold> Aryan: try mke2fs -t ext4 -j /dev/... where you give the path to the partition you just created
[18:15] <BriggsE> lotuspsychje: Thank you for the welcome. I'll probably lurk for a while to see what goes on here, but thanks for the warm welcome
[18:15] <lotuspsychje> BriggsE: np, and welcome to the ubuntu community
[18:16] <tomreyn> adac: if you have a systemd based debian derivative running in this guest system (such as a version of ubuntu listed in /topic), then yes, this should work.
[18:17] <tomreyn> adac: you may need to configure the serial device of the kvm guest to match these settings.
[18:17] <tomreyn> ...that's in this guests' qemu configuration on the host
[18:18] <adac> tomreyn, ok I see will check all these things
[18:18] <adac> thanks a lot
[18:33] <mystic> i am here
[18:35] <mystic> h
[18:35] <mystic> i
[18:37] <mystic> where is everybody
[18:37] <lotuspsychje> mystic: do you have an ubuntu question?
[18:38] <mystic> is that a ubuntu question, or an?   hard grammar
[18:38] <mystic> and yes
[18:38] <mystic> since instaling the 'hide top bar' add on in firefox, the top bar covers up part of my taskbar
[18:38] <mystic> not a big problem but a bit untidy looking
[18:39] <mystic> what should we do ?
[18:41] <mystic> we as in not the plural or me, but as in us, as a team - together
[18:41] <lotuspsychje> mystic: firefox addons you can discuss in #firefox
[18:41] <mystic> are you sure thats appropriate?
[18:42] <mystic> it happens even when i dont use firefox. and im not even sure thats what caused the issue
[18:42] <lotuspsychje> mystic: make a screenshot of whats happening exactly?
[18:43] <sarnold> and perhaps annotate it with that's wrong
[18:43] <mystic> how do i do that?  a screenshot
[18:44] <lotuspsychje> mystic: there's a prt sc button on your keyboard normally
[18:44] <mystic> i pressed it now what do i do ?
[18:44] <lotuspsychje> mystic: upload to a host, imgur.com for example
[18:45] <mystic> https://imgur.com/UKUiDlp
[18:45] <mystic> you can see it hides my top icon, the folder icon. top left.  is that normal ?
[18:46] <sarnold> what is 'it'?
[18:46] <mystic> the top bar, you can see
[18:46] <lotuspsychje> mystic: thats not an 'addon' like you said, its the ammount of icons on your dock
[18:47] <mystic> no its not. evem if i remove them the folder stay high up top, and is obscured
[18:48] <lotuspsychje> mystic: is it the nautilus folder in half you talking about?
[18:49] <mystic> dont know.  its called 'files'  file explorer i guess.. on the top left.. you can see
[18:49] <mystic> the icon is party obscured by the top bar... as i keep saying
[18:49] <lotuspsychje> mystic: did you try to grab with left mouse and slide the icons up and down?
[18:50] <mystic> and if i remove icons from the task bar, they dont change.. it still stay up top
[18:50] <mystic> yes. but then the one below it just replaces it up top
[18:50] <linuxr> So I'm still trying to install that laserjet p1006 USB printer (which installs but remains silent when I try to print a page). I did a little research and found that page (http://foo2xqx.rkkda.com/) which says in the documentation that this printer needs to have downloaded a firmware each time it is powered up..I assume this is why it does not yet work. Now I seem to have found that firmware image, how exactly can I download it to the printer? help, anyone?
[18:50] <lotuspsychje> mystic: not switch, move up n down holding mouse
[18:50] <mystic> silent printers, good
[18:50] <mystic> holding mouse?
[18:51] <mystic> i drag with left button held, yes.. it just switches
[18:51] <lotuspsychje> mystic: its hover mouse on the end, then the icons should move up or down
[18:51] <mystic> it doesnt really matter.. but it just looks untidy
[18:51] <mystic> i dont understand what you mean
[18:52] <lotuspsychje> mystic: the problem is you have more icons then the dock is long
[18:52] <mystic> it really isnt
[18:52] <lotuspsychje> mystic: so you need to go up or down, by hovering your mouse pointer on the end (up or down)
[18:52] <mystic> ill send a pic and prove it
[18:53] <mystic> https://imgur.com/gd1I40z
[18:53] <mystic> i dont understand what you mean hover mouse.. left hold only move icon and another just replaces it on top
[18:54] <lotuspsychje> mystic: not hold mouse, just let mouse pointer rest on the end of the dock
[18:55] <mystic> nothing happes if i do that
[18:55] <mystic> and end where?
[18:55] <lotuspsychje> mystic: then it will move up or down, depending on wich end your pointer is
[18:55] <mystic> npthing i cna see happens
[18:55] <mystic> which end?  sorry, no idea
[18:55] <lotuspsychje> mystic: the dock has a beginning and an end agree?
[18:56] <mystic> top and bottm?  yea
[18:56] <lotuspsychje> try
[18:56] <mystic> i did.. nothing
[18:56] <mystic> i dont get it
[18:56] <lotuspsychje> just tested here and it works
[18:56] <mystic> i dont knwo waht ure dpoing then
[18:57] <mystic> first u say press left, then u say press nothing
[18:57] <lotuspsychje> mystic: its press nothing
[18:57] <mystic> then my mouse pointer just hovers over the taskbar and nothing happens
[19:01] <mystic> maybe ou have extra features installed
[19:01] <mystic> you*
[19:02] <lotuspsychje> mystic: your ubuntu version please?
[19:02] <mystic> 19.04 i think
[19:03] <lotuspsychje> mystic: should work by default
[19:03] <tomreyn> linuxr: the way i understand http://foo2xqx.rkkda.com, the firmware is to be downloaded before / while you build the driver. i think you could just use the driver available in ubuntu (printer-driver-foo2zjs) and place the firmware in /lib/firmware/hp though
[19:03] <mystic> hovering my mouse over anywhere in the task bar does nothing
[19:04] <mystic> maybe i didnt get exactly what you did
[19:04] <mystic> ive never heard of thing smoving without pressing some kind of button first
[19:04] <lotuspsychje> mystic: i just tested it here
[19:05] <mystic> did what?
[19:05] <mystic> move mouse to top?  my mouse hits the folder icon
[19:05] <lotuspsychje> mystic: made the icons move up and down on dock
[19:05] <mystic> move it to bottom, it hits the app draawer icon
[19:05] <mystic> move it to a clear space on the bar, and nothng happens at all
[19:05] <mystic> so whats left?
[19:07] <mystic> this is for ubuntu 17 i saw on google  'gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
[19:07] <mystic> '
[19:07] <mystic> will it work for me or break something?
[19:08] <lotuspsychje> mystic: changing dconf values dont really break things, it helps you to tweak
[19:09] <mystic> well it worked.. half... they are in the middle.. but the task bar is also only extending as far as the icons
[19:09] <mystic> not looking great also
[19:09] <linuxr> tomreyn, oh well..but I think this needs to be integrated with udev, so that the firmware is downloaded right when the printer is turned on, no?
[19:10] <mystic> how the heck can u move your icons down just by hovering the mouse?   i dont get it
[19:10] <tomreyn> linuxr: the driver contains udev rules at /lib/udev/rules.d/85-hplj10xx.rules which execute commands when a matching device is connected.
[19:11] <lotuspsychje> mystic: at the last icon try moving your mouse pointer over it
[19:11] <mystic> he folder icon?
[19:11] <mystic> or the apps drawer icon on bottom?
[19:11] <linuxr> tomreyn, okay, cool...I'll try that
[19:11] <lotuspsychje> mystic: the icon thats showing half means= there are other icons hidden at that side
[19:12] <linuxr> tomreyn, how did you find out so quickly what the ubuntu driver does?
[19:12] <mystic> there is only once icon half hidden.. the one on top
[19:12] <tomreyn> linuxr: i have it installed, i think it comes with the default set of printer drivers.
[19:13] <mystic> you cna take control of my pc if u want. i dont care.. i cant make the damn thing move an inch
[19:13] <tomreyn> linuxr: dpkg -L printer-driver-foo2zjs    lists the files it provides
[19:13] <lotuspsychje> mystic: is your graphics driver installed correctly?
[19:13] <mystic> no idea.. i dont understand ubuntu.. i just installed it and updated it
[19:14] <lotuspsychje> mystic: pastebin: sudo lshw -C video
[19:14] <mystic> ?
[19:14] <mystic> damn.. cant even copy and paste from here..
[19:15] <mystic> i got no results when typing that
[19:15] <lotuspsychje> mystic: try to avoid swearing in the support channel
[19:15] <mystic> maybe its wrong.. is that a L or a I?
[19:15] <linuxr> tomreyn, in the makefile I read something about the ".img" firmware file needing to be converted before it can be loaded..do you think I'll have to do this in advance?
[19:15] <mystic> i didnt swear
[19:16] <tomreyn> linuxr: yes, you probably need to run the getweb command / script available on the driver source code, because i don't see this in the package. it downloads the firmware and converts it tothe format the printer driver can work with.
[19:16] <mystic> https://pastebin.com/twic88f0
[19:17] <mystic> i have a redeon vega 8 , so its right i guess
[19:17] <tomreyn> linuxr: afdter conversion, the firmware should have a .dl extension: http://crysol.github.io/recipe/2013-08-11/hp-p1005-debian
[19:18] <linuxr> okay, I'll try that tomreyn..there also seems to be a ubuntu package "hannah-foo2zjs" (graphical firmware downloader for the foo2zjs package=....
[19:18] <lotuspsychje> mystic: yes, looks like your driver is loaded
[19:18] <mystic> i guess maybe 19 is a bit broken
[19:18] <mystic> should have stayed with the lts
[19:19] <tomreyn> linuxr: i don't see this in ubuntu. are you running ubuntu?
[19:19] <lotuspsychje> mystic: if you find a bug in ubuntu please file the !bug
[19:19] <linuxr> tomreyn, yes, 18.04
[19:19] <mystic> i dont know if its a bug
[19:19] <linuxr> tomreyn, package "hannah-foo2zjs"
[19:19] <mystic> anyway, ive just told you lot in here.. it might be a bug.. im not qualified to say
[19:19] <tomreyn> !info hannah-foo2zjs bionic
[19:20] <lotuspsychje> mystic: try a liveusb 18.04 and put much icons on dock to test
[19:20] <lotuspsychje> mystic: then come back and let us know if it works
[19:20] <mystic> this was like it even before i filled the taskbar
[19:21] <mystic> how ot burn the iso to usb in ubuntu?  or i'll have to boot into windows
[19:21] <tomreyn> linuxr: oh right, it helps when you know how apt works. so actually the printer-driver-foo2zjs-common package (which printer-driver-foo2zjs depends on) provides the "getweb" command
[19:21] <lotuspsychje> mystic: ubuntu has an usb creator tool
[19:22] <linuxr> tomreyn, so "getweb" should already be available?
[19:22] <tomreyn> linuxr: so unless you need to download the firmware graphically, just use the getweb command from there.
[19:22] <mystic> i cant find it
[19:22] <tomreyn> yes
[19:22] <lotuspsychje> mystic: its an icon with a harddisk with ubuntu logo/green arrow
[19:22] <mystic> 'make startup disk' ?
[19:23] <tomreyn> linuxr: sudo apt install printer-driver-foo2zjs
[19:23] <lotuspsychje> mystic: you see if you try...
[19:23] <magic_ninja_work> Whew that was such a pain.
[19:23] <magic_ninja_work> Finally got connected to that peksy smart relay. Tech support gave me the wrong default address.
[19:23] <mystic> it was a white arrow in a blue circle with a usb behind it
[19:23] <mystic> is it right?
[19:24] <leftyfb> mystic: did you try it?
[19:24] <mystic> ive opened it..  have to download the iso also
[19:24] <mystic> dont knwo if its the right app or not
[19:25] <linuxr> tomreyn, okay, that actually installed the ".dl" file into /lib/firmware/hp
[19:27] <tomreyn> linuxr: so continue from step 3 of the page i pointed to
[19:28] <linuxr> tomreyn, shouln't that be handled automatically by udev?
[19:28] <tomreyn> linuxr: once you've set it up initially, yes.
[19:29] <tomreyn> linuxr: i.e. step 5
[19:31] <linuxr> tomreyn, I don't understand what "/lib/udev/hpljP1005" is supposed to do
[19:36] <oikasd> So i setup samba on an ubuntu machine and i can succesfully access shares from my other Windows machine, but only if those files are on the ubuntu machines main drive. I got some NTFS drives conncted to the ubuntu machine, which i mount and access through /media/usrname/, but i cant seem to share folders in these. Is there a way to do this?
[19:39] <tomreyn> linuxr: it is the hotplug script which uploads the firmware to the printer
[19:39] <akemlenovo> oikasd, i think you need to set "usershare owner only = false" in /etc/samba/smb.conf then restart smb.
[19:40] <oikasd> i added force user = *myusernameonubuntu* and now suddenly i can access it from my windows machine without any credentials or anything, wtf.
[19:41] <linuxr> tomreyn,okay, but in that script, there is a "DEV" variable "/dev/usb/lp0" which does not exist..what to do now?
[19:41] <linuxr> tomreyn, also "/etc/hotplug/.." which seems to be deprecated
[19:42] <oikasd> Okay, I had the *guest ok = yes* which made it work instantly from my windows machine. But still funny how it didnt work at all, not even locally, before adding force user = *username*
[19:42] <linuxr> or I'm getting this entirely wrong, what also could be the case :D
[19:43] <eps_del> good afternoon to all... has anyone dealt with touchscreen issues?
[19:44] <ioria> linuxr, if everything you're trying  fails, i suggest to update hplip to 3.18.10  : https://sourceforge.net/projects/hplip/files/hplip/
[19:44] <mystic> i got disconnected and spend ages figuring out how to re sign in... freenode...
[19:44] <mystic> the usb image failed to write
[19:45] <mystic> guess i'll have to use windows
[19:45] <linuxr> ioria, I think I'm almost there, when I get the firmware to load I hope everything works...just don't understand how that is supposed to work
[19:46] <tomreyn> linuxr: the hotplug specific commands would only be run if you passed a special parameter to the script, which you wont. the DEV variable is first set to this device path you quoted but then unset so that autodetection takes place.
[19:46] <mystic> startup disk creator wont work
[19:47] <mystic> fails to write to my usb
[19:49] <linuxr> tomreyn, oh I see, you're right...I executed that script, no output so far
[19:49] <mystic> hello?
[19:49] <tomreyn> !who | mystic
[19:50] <linuxr> seems to log somewhere
[19:50] <tomreyn> linuxr: hmm then something is wrong, i think. according to http://crysol.github.io/recipe/2013-08-11/hp-p1005-debian we should have seen some output there.
[19:51] <linuxr> tomreyn, I see in the script that it tries to detect some logging facilities..just don't see where the output should go
[19:52] <tomreyn> linuxr: journalctl -eb
[19:53] <mystic> lutospsychje
[19:53] <mystic> was helping me
[19:53] <mystic> btu i cant even get the usb creator to work
[19:53] <tomreyn> !enter | mystic
[19:54] <deadmund> What is the channel for c programming?
[19:54] <mystic> hmm... maybeicansavemorespacelikethis?
[19:54] <tomreyn> mystic: if he's not currently available to answer your questions then it's a good idea to summarize the issue and what you're doing overall, what your goals are. and which ubuntu version you're using, and what yu tried so far.
[19:55] <tomreyn> !alis | deadmund
[19:55] <bittin> Anyone has logs of tonights Ubuntu Desktop meeting?
[19:55] <linuxr> tomreyn, wow it actually works...I restarted the printer and the light flashed in red when the firmware was downloaded, now I'm able to print, just wow!
[19:55] <linuxr> I don't see andyhing in "journalctl" though, also nothing in the logs
[19:56] <mystic> i had problems with centering my task bar icon, they are stuck at top and one is obscured by the top bar.  we cant get it to move, lotus recommended i try a usb ubuntu 18 and see if i get same problem.  im on 19 here.  but i can even get the usb creator to work.  fails to write the iso to usb
[19:56] <mystic> cant even *
[19:56] <royal_screwup21> I'm using chromium and with my htop running, I'm noticing that some `lipeplayer.so` process in chromium-browser is taking up a big chunk of cpu usage. Is there any way I can mitigate this?
[19:57] <mystic> guess i'll have to use rufus in windows
[19:57] <Habbie> royal_screwup21, are you sure that's the name?
[19:57] <tomreyn> linuxr: hmm, i assume the hotplug script was modified to not print this by default then. makes sense, i guess.
[19:57] <tomreyn> s/hotplug/udev/
[19:58] <linuxr> tomreyn, is there a way to monitor udev events and the following actions? in what context does the udev script run? always root?
[19:59] <adac> How do I see if this serial console on the guest is really started?
[19:59] <tomreyn> !checksum | mystic
[19:59] <adac> https://ravada.readthedocs.io/en/latest/docs/config_console.html
[19:59] <adac> sudo systemctl start serial-getty@ttyS0.service
[19:59] <tomreyn> mystic: do this before you try to write to the usb storage.
[19:59] <royal_screwup21>  Habbie  apologies  it's `libpepflashplayer.so`
[19:59] <mystic> jeez.. more research?  i  guaruntee if i use rufus on windows it will wtire just like that
[19:59] <mystic> brb, thats what im going to have to do.. again
[19:59] <tomreyn> linuxr: udevadm monitor
[19:59] <mystic> write*
[20:00] <Habbie> royal_screwup21, i recall chromium has a task monitor - maybe you can see what site is causing the load
[20:00] <royal_screwup21> I've captured a screenshot of the process here: https://imgur.com/a/twqSqdQ
[20:00] <mystic> also a REALLY bad bug in ubuntu 19 is the inability to drag and drop items from folders on to the desktop
[20:00] <Habbie> royal_screwup21, are you sure that's not just a command line argument passed to all chromium processes?
[20:00] <tomreyn> linuxr: i don't know which user runs it really, but if you'll spend more time on trying to understand how it works you can certainly find out.
[20:01] <tomreyn> !YY.MM | mystic
[20:01] <linuxr> okay, thanks tomreyn...your advice was incredibly helpful! I only wished there was better documentation since this could basically work out-of-the-box as only the firmware file was missing
[20:01] <royal_screwup21> habbasi9 I'm not really sure tbh. Is there any way I can verify? What I do know is that if I close chromium, that entry disappears from htop
[20:01] <royal_screwup21> Habbie*
[20:02] <mystic> 19.04
[20:02] <mystic> i cant even copy the iso to my usb normally.. wont let me drag and drop.. will ahve to use windows to redownlaod the usb and to write it to my usb...
[20:02] <royal_screwup21> inspecting the task manger reveals that my irc web client it consuming the most power :(  welp
[20:02] <Habbie> royal_screwup21, find the task/cpu/process/.. monitor inside chromium to see which tab is ...
[20:02] <royal_screwup21> s/it/is
[20:02] <Habbie> royal_screwup21, ah you found it
[20:02] <tomreyn> linuxr: i agree. it seems like the developer wanted this to be a bit of not-invented-here because he's a bit unhappy with the lack of contributions. maybe consider supporting them to make them happier.
[20:03] <tomreyn> linuxr: you could also file bugs against the debian package (after checking which bugs are already there)
[20:04] <mystic> sorry guys.. have to do somme productivity which means off to windows.. brb later for more troubleshooting...
[20:04] <linuxr> tomreyn, you're right, that could be a reason. Thanks for your help anyways, I can now print with open source drivers which is great
[20:05] <tomreyn> mystic: no one here forces you to use ubuntu, use whatever you are happy with.
[20:05] <mystic> i was asking for help.. but even the help he gave my is not possible , wont work.  cant deag and drop files?  cant write a usb image?  what do yo uwant me to say?
[20:05] <tomreyn> mystic: and please keep in mind people spending time on talking to you here are all volunteers, doing this in their spare time.
[20:06] <mystic> im not attacking anyone?  just expressing reasonable frustration
[20:06] <mystic> for an OS not to allow me ot even drag and drop, its broken
[20:06] <tomreyn> yes, please keep that to a minimu, it doesn't help
[20:06] <Habbie> mystic, you've been informed a couple of times today, in at least two channels, that you are an unreasonable complainer
[20:07] <Habbie> mystic, please consider that the problem is you
[20:07] <tomreyn> linuxr: glad i could help. :)
[20:07] <mystic> so i made ubuntu 19 not drag and drop?
[20:07] <Apachez> the bugs row in /proc/cpuinfo, does it mean that the kernel mitigated these cpu bugs or that the system is still vulnerable ?
[20:07] <mystic> and not write to usb?
[20:08] <nacc> Apachez: i believe it refers to the CPU having the bug
[20:08] <nacc> Apachez: mitigtation status is in sysfs
[20:08] <nacc> Apachez: /sys/device/system/cpu/vulnerabilities iirc
[20:10] <Apachez> Mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
[20:10] <Apachez> looks more like a description
[20:10] <Apachez> rather than if the mitigation is enabled or not
[20:10] <nacc> Apachez: those are per-vulnerability mitigation lists
[20:10] <nacc> Apachez: as in, what mitigations, if any, are currently deployed for each known vulnerability (in that sysfs dir)
[20:11] <mystic> Bugs list:  icons wont center in taskbar, items in folders wont drag and drop onto desktop, or onto usb drives etc.  usb creator tool wont write iso to usb.    ubuntu 19.04.   cya
[20:12] <tomreyn> Apachez: if you prefer a more user friendly presentation, use spectre-meltdown-checker
[20:12] <nacc> tomreyn: thanks, was just trying to recall that program's name
[20:13] <Apachez> nacc: ok thanks
[20:13] <Apachez> tomreyn: there are more than just spectre and meltdown nowadays
[20:13] <Apachez> today was another one released CVE 2019-2155 or something
[20:14] <tomreyn> nacc: apt search meltdown    works here (18.04)
[20:14] <tomreyn> Apachez: this script is constantly extended, it has this name since those were the first ones known
[20:15] <tomreyn> Apachez: the latest is available from git, obviously, it's just a shell script.
[20:15] <tomreyn> apt-cache show spectre-meltdown-checker | grep ^Homepage
[20:22] <nacc> Apachez: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1125
[20:26] <mystic> I wrote the iso to usb in windows and booted up into ubuntu 18.  so there was nothing wrong with the iso image,  but ubuntu 19 usb image writing program wont work
[20:27] <tomreyn> https://thehackernews.com/2019/08/swapgs-speculative-execution.html https://access.redhat.com/articles/4329821
[20:33] <mystic> ?
[20:37] <mystic> ok.. i take it ubuntu 19 is broken.  maybe u peaked at 18.
[20:40] <TJ-> mystic, there is no "u" (you), we're all Ubuntu users the same as you
[20:43] <Raccoon1400> The windows 1903 update seems to have deleted one of my linux partitions
[20:44] <Raccoon1400> I recovered the little bit of data I wanted with gparted though. No harm done but annoying
[21:01] <mystic> TJ well i guess 19 is 'beta' kind of.  hopefully 20 will get back on track.  18 was nice imo.  19 has given me some big problems
[21:01] <octav1a> Can anyone recommend and good tool, commandline or graphical, to interactively find and replace some text in a bunch of files?
[21:02] <Habbie> octav1a, most editors can do that; i use sublime text but it's not free, but i'm sure there's plenty of others out there. besides 'text editor', 'IDE' might be a good search term
[21:02] <octav1a> sorry, to clarify, the text is in the file NAMES, not actually inside of the files.
[21:02] <Habbie> oh
[21:02] <Habbie> the 'rename' tool can do some clever things
[21:03] <Habbie> i'm also pretty sure there are other tools but i cannot remember their names right now
[21:05] <octav1a> unfortunately, 'rename' does not seem to have an interactive mode, at least in the help text
[21:06] <Habbie> no, i don't think it does
[21:06] <tarzeau> octav1a: i'm using sed -i for that
[21:06] <Habbie> maybe something like 'mc', but that's on the other end of the spectrum
[21:06] <Habbie> tarzeau, to rename files?
[21:06] <mystic> i used to use one on windows once..  to change an entire batch of icons  to another file extension type.  cant remembe the nname of the software now tho sorry
[21:06] <tarzeau> Habbie: possible also if you combine it with ls
[21:06] <mystic> animated emoticons, not icons*
[21:06] <Habbie> tarzeau, i suppose, but then quoting is hard
[21:07] <tarzeau> yeah if you got ' or spaces in filenames
[21:09] <mystic> when is ubuntu 20 due?
[21:09] <mystic> its lts isnt it ?
[21:10] <TJ-> octav1a: see gprename   http://gprename.sourceforge.net/screenshot.php
[21:11] <tarzeau> mystic: http://bootes.ethz.ch/bts says in 263 days
[21:11] <tarzeau> 19.10 in 71 days, import freeze 22 august
[21:11] <mystic> cool thanks
[21:11] <mystic> i'll either be using ubuntu 20 or mx linux i reckon
[21:12] <octav1a> TJ-: that looks pretty cool, thanks
[21:16] <Apachez> tomreyn: ahh tnx
[21:17] <Apachez> tomreyn: imho it should be renamed into cpu-vuln-checker or something
[21:18] <tomreyn> Apachez: apt-cache show spectre-meltdown-checker | grep -E '^(Original-Maintainer|Bugs):'   # ;-P
[21:50] <priyankasaggu119> Hi tomreyn, I wanted to thank you for so kindly volunteering me yesterday with the issues. I managed to get myself a solution for the problem, though it came out of an another major mess I created by mistakenly deleting some important python libraries. I wrote about the whole process here.  https://bit.ly/2YVMcNL. Thank you so much for the time. :)
[22:02] <tomreyn> priyankasaggu119: :) thanks for reporting back, and for the credit. i'm glad i could help a bit, even though it got worse later. but it looks like you found a way out of the mess, good to hear this.
[22:03] <priyankasaggu119> Thank you tomreyn. You helped alot. :)
[22:26] <n-iCe> hi
[22:42] <kinghat> anyone use nvm for node management?
[22:48] <cyp3d> does ubuntu have a nfslockd service like RHEL?
[22:53] <sarnold> * rpc.lockd is gone, remove all references to it from debian/:
[22:53] <sarnold> https://launchpad.net/ubuntu/+source/nfs-utils/1:1.1.0~rc1-1
[22:54] <sarnold> cyp3d: hmm, I wonder, I thought that you'd be looking for rpc.lockd, but .. it looks like it's been disabled for a while. Curious.
[22:54] <sarnold> (also, I'm not sure I've ever seen a version numer with *5* '1's in it like that before. neat.)
[23:27] <sexy1233> Hey, can I some help? I'm trying to recover my Windows 10 password via Ubuntu but I'm getting an error message when I try to access my system32 file folder.
[23:28] <sexy1233> I tried googling the problem and all the solutions produce nothing
[23:29] <MMYStic> hi, is normal that when apparmor block anything it blocks the windows manager ? I mean the os works, I can switch to the console and user irssi, the X looks blocked. I can move the pointer but I can close windows or click something.
[23:29] <sarnold> MMYStic: it depends what it blocked and why; certainly you could probably write policy that has that affect, if you tried
[23:29] <genii> sexy1233: I see from the other channel you're getting an I/O error, this is already not a good sign, it's an indicator of hard drive failure
[23:30] <sexy1233> genii are you sure? I did the SMART check and the results came out to be OK. i could even access all the other folders on my system except /system32/
[23:30] <MMYStic> I am changing some app profile because I want them more strictive. For example firefox and chromium. But as I sai when I run firefox it block the entire X
[23:31] <MMYStic> s/sai/said/
[23:31] <genii> sexy1233: If it's just that folder then probably a corrupt file that you're attempting access to.
[23:31] <MMYStic> sarnold: anyway, what should I kill to unblock X ?
[23:32] <MMYStic> I have killed firefox but X is still blocked
[23:32] <sarnold> MMYStic: what are your DENIED messages?
[23:33] <MMYStic> sarnold: just a momento I have to install gpm to use the mouse on console
[23:33] <sexy1233> genii if the entire system32 file is corrupted, what can i do? i don't want to lose all my data
[23:34] <sarnold> MMYStic: wow, that takes me back.. haven't seen that in twenty years :) heh
[23:34] <MMYStic> audit: type=1400 audit(1565133924.877:58): apparmor="DENIED" operation="capable" profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=4963 comm="firefox" capability=21  capname="sys_admin"
[23:35] <MMYStic> sarnold: lol, I am a bit old
[23:36] <sarnold> hmm, that's probably going to bust the firefox sandboxing; if you want to deny sys_admin, it'd probably be better to disable the firefox sandbox
[23:36] <sarnold> killing firefox might get your X back
[23:36] <genii> sexy1233: There's not really a satisfactory tool for checking and repairing NTFS from linux. Normally inside Windows itself you would do something like chkdsk C: with flags to tell it to repair and run next boot. But if you can't login already it becomes a chicken-egg problem
[23:36] <sarnold> depends what it did to your socket :/
[23:37] <MMYStic> sarnold: I killed firefox but nothing is changed. well I try a random kill
[23:37] <sarnold> MMYStic: dang :(
[23:38] <Gallomimia> uh. how do i turn on ssh server in ubuntu 19.04 ?
[23:38] <genii> sexy1233: Do you have a Windows Recovery CD/DVD around? It could be done from one of those
[23:38] <genii> ( even an old one for XP up to 7 or 8 )
[23:38] <sarnold> Gallomimia: try sudo apt-get install openssh-server  and see if that installs and starts it
[23:39] <Gallomimia> okay thanks
[23:39] <Gallomimia> a tad annoying, but good idea to turn that off by default
[23:39] <sarnold> Gallomimia: be sure all user accounts have reasonable passwords, or disable password auth
[23:39] <Gallomimia> yeah. i might turn it back off after
[23:39] <Gallomimia> just want to transfer some files
[23:40] <sexy1233> genii: Thank you for the response. I have a windows 10 installation disk but i don't have a windows 10 repair disk. Would getting a repair disk be the same thing as flashing it to a usb stick?
[23:41] <sexy1233> Also, do you think that I can just create a new user from Ubuntu onto Windows 10 and fix my password from there?
[23:42] <genii> sexy1233: Probably tcd of linux..like Trinity for instancehere are better dedicated tools to use for this than a live
[23:42] <genii> meh touchpad
[23:43] <sexy1233> I'm sorry could you put that into layman terms. I'm not famliar with anything Linux at all
[23:45] <genii> sexy1233: To reset a windows password from linux takes some finagling, requires special apps which can read and write registry files, etc. So it's probably better to download a Cd/DVD or USB image of a dedicaqted tool for this purpose
[23:46] <genii> ..apologies got someone here in person behind me also asking questions about another unrelated tech issue
[23:48] <sexy1233> Okay, thank you for the clarification. No need to apologize, man. Thank you for helping me with the problem
[23:49] <genii> sexy1233: For older Windows password recovery tools, there was Ophcrack but it does not work with Win10. So another tool like Trinity Rescue Kit which can recover or reset Win10 passwords is probably the best option
[23:50] <sarnold> .. but if the hard drive has some issues, you'd probably be best served to focus on data recovery instead
[23:51] <genii> sarnold: Yes, the I/O error is worrisome
[23:51] <mystic> bck.. i cant even type the hash syn=mbol on this client
[23:51] <sexy1233> sarnold I was messing around with the settings and all of a sudden my windows just kept blinking and bugging out and since then my password has changed and i have not been able to login using my password
[23:52] <sexy1233> My password changed without me changing it all
[23:52] <sexy1233> it at all*
[23:52] <sexy1233> Do you guys think I'd be better off getting a new ssd/hd and recovering the information
[23:52] <sarnold> sexy1233: I wonder if you just got a bad error message from windows; "bad password" rather than windows-equivalent of "I/O ERROR"
[23:52] <sexy1233> I will type out the exact error message real quick
[23:54] <sexy1233> "Sorry, could not display all the contents of "Windows": Error when getting information for file "/media/ubuntu/xxxxxxx/WIndows/xxxxx": Input/output error
[23:55] <genii> sexy1233: If you have the time and patience, since the drive itself seems to have issues ( or at least some area of the drive).. if you have a spare drive around larger than the current drive your Windows is currently installed to. It would be prudent to hook both drives up, boot to a liveusb/livedvd linux and then install ddrescue and run it on the original drive to a backup file on the larger drive
[23:57] <sexy1233> @geni
[23:57] <genii> In this way you would have a snapshot of the drive, errors and all but can work with the image instead of the original to extract/salvage files if needed while you figure out how to fix the original issue