[00:15] <Bashing-om> gvvg: How much memory is allocated to the VM ? And perhpas related: https://lists.ubuntu.com/archives/ubuntu-devel/2022-June/042159.html <- systemd-oomd issues on desktop .
[00:15] <gvvg> 16GB
[00:17] <gvvg> I didn't understand the link
[00:17] <gvvg> what do you suggest regarding systemd-oomd ?
[00:19] <gvvg> Failed to disable unit: Unit file systemd-oomd.service does not exist.
[00:19] <gvvg> I guess it is not enabled
[00:19] <gvvg> Bashing-om: do you have any suggestions of which log files would or anyway to find out what is causing the unresponsiveness?
[00:20] <gvvg> the ctrl-alt-del doesn't have any effect
[00:20] <Bashing-om> gvvg: see: https://www.phoronix.com/scan.php?page=news_item&px=Systemd-OOMD-Ubuntu-RFC . in 22.04 if the system runs short of memory --- it kills apps with no warning and locks up in some cases.
[00:21] <gvvg> I tried to disable oomd but it says: "Failed to disable unit: Unit file systemd-oomd.service does not exist.
[00:23] <Bashing-om> gvvg: Might see if the boot log catches anythhing: journalctl -b -0 .
[00:24] <oerheks> journalctl -b 1
[00:25] <oerheks> but your vmware has a log too
[00:27] <gvvg> I see lots of this https://pastebin.com/M4H1ePht
[00:28] <gvvg> oerheks: I'm not sure where to look in vmware for logs
[00:28] <gvvg> oerheks: any suggestions?
[00:29] <oerheks> nope, but vmware does https://kb.vmware.com/s/article/1021806
[00:30] <oerheks> also, boot in recovery mode to  obtain journalctl log
[00:30] <oerheks> is this the 1st time you boot this vm?
[00:31] <oerheks> https://askubuntu.com/questions/1242731/ubuntu-20-04-multipath-configuration
[00:31] <gvvg> oerheks: it has worked for years - now I upgraded and I am getting this unersponsive issue
[00:31] <gvvg> what is multipath?
[00:31] <gvvg> could this cause the issue?
[00:31] <oerheks> .. else there is a filechk going on..
[00:32] <gvvg> filechk wouldn't freeze the vm normally would it?
[01:01] <oerheks> https://snapstats.org/snaps?q=&offset=0&limit=20&field=date_published&order=-1
[01:01] <nunya> I'm at a friends house and he has a wireless printer. My lptop keeps adding it. I keep removing it and so on.... Is there some way to keep it from being added? I am running Ubuntu 20.04 and Gnome version 3.36.8  Windowing System X11
[01:03] <oerheks> https://7thzero.com/blog/how-to-stop-ubuntu-20-04-from-auto-adding-network-printers
[01:03] <oerheks> systemctl disable cups-browsed
[01:04] <oerheks> and that firewall part would stop such annoying thingies too
[01:18] <nunya> oerheks: Thanks I missed that one because I didn't get that by remote they meant wifi or network
[01:21] <nunya> oerheks: I did as suggested. No more printers added unless I want to. I put the details in my computer support files for future reference since my brain is like a sieve.
[01:23] <oerheks> nunya have fun!
[01:23] <oerheks> oh
[01:23] <Psil0Cybin> lol
[01:23] <Psil0Cybin> you miss fired oerheks :P
[01:23] <oerheks> Psil0Cybin, i use 'have fun' as marker in the logs, since 2009
[01:23] <oerheks> to count happy customers
[01:23] <Psil0Cybin> ah ;)
[01:24] <Psil0Cybin> you are an interesting one
[01:24] <ravage> the other marker is "good luck" :D
[01:24] <oerheks> jups
[01:24] <Psil0Cybin> :D Haha you are too awesome!
[01:24] <Psil0Cybin> lol
[02:13] <st0ne_> hi.. anyone have storage ftp
[02:14] <st0ne_> too upload stash?
[02:14] <st0ne_> or shell account cheap
[02:14] <st0ne_> for irc
[02:15] <arraybolt3[m]> st0ne_: If you need that for helping debug a problem, your best bet is probably Pastebin.com. That will let you share logs and whatnot with us so we can help debug problems. You can use imgbb or Imgur for pictures.
[02:15] <arraybolt3[m]> st0ne_: And you can use termbin.com if you need to share the output of terminal commands (we'll share with you how to use that when a troubleshooting step needs it).
[02:18] <oerheks> cheap storage is beyond the scope of this channel
[02:19] <humanBird> so remmina says that they aren't maintaining for ubuntu anymore.  I have issues with screen resolution using remmina on ubuntu to connect to a rdp wine server.  what can i do now?
[02:21] <oerheks> what is a wine server?
[02:21] <oerheks> lolz
[02:22] <oerheks> !wine
[02:22] <oerheks> they would love your issue
[02:26] <humanBird> the issue is rdp screen resolution for remmina (which comes by default in ubuntu)
[02:31] <oerheks> well, explain your issue, but my bet it is server side
[02:31] <oerheks> what is a wine server?
[02:32] <humanBird> https://hub.docker.com/r/scottyhardy/docker-wine/
[02:34] <oerheks> lolz,, no way!
[02:42] <humanBird> hrm. installed xfreerdp and that seems to have imrpoved it slightly
[02:43] <humanBird> it was the rdp client all along
[02:44] <humanBird> someone please ban oerheks for trolling/filling up the chat with useless nonsense please
[02:44] <humanBird> could be a bot as well
[02:45] <oerheks> seriously, a docker with wine
[02:45] <murmel> is there a way to circumvent the phased update issue? have a container, and I can't install some packages because of that issue (and the apt conf doesn't help)
[02:45] <oerheks> why would it be an ubuntu issue?
[02:46] <oerheks> murmel, no diskspace?
[02:46] <murmel> get this with Phased updates disabled: libsystemd-dev : Depends: libsystemd0 (= 249.11-0ubuntu3) but 249.11-0ubuntu3.1 is to be installed
[02:47] <murmel> and enabling doesn't also help :
[02:47] <murmel> :/
[02:47] <oerheks> still that oibaf ppa enabled?
[02:47] <murmel> never had as it's a new container
[02:47] <oerheks> iirc
[02:48] <murmel> hm, maybe it's relevant that's a nspawn with a cloud image (-root.tar.xz)
[02:52] <murmel> oerheks: oO what does a phased update have to do with a mesa ppa?
[02:57] <realivanjx> is anyone here that use lenovo laptops with dual batteries (v330)? does that work with ubuntu 22.04? any modifications required? thanks
[06:50] <tanul1989> Hello, I have an application written in golang and it is not able to resolve the hostname.local. Can we we do something so that any application can resolve this
[06:50] <tanul1989> ping is working fine..
[06:50] <tanul1989> My ip is not static otherwise I would have use /etc/host file to resolve it for the golang application
[06:52] <tanul1989> By any chance can resolve.conf help here or any other network file.
[07:15] <BadAtom> tanul1989: don't you have the loopback set up?
[07:19] <tanul1989> Loopback setup.. Means
[07:21] <tanul1989> Yesterday I have installed avahi.. through pings and connectivity starts working.. I found on google that golang has native resolver which does not support mDNS. Issue is coming due to this..
[07:25] <Guest19> hello
[07:27] <matsaman> hi
[08:52] <giulia> hi
[08:52] <luna> hi
[08:55] <wezzzzzz> hi
[10:31] <ice9> if I set a var in "APT::Update::Pre-Invoke", will it be visible to "APT::Update::Post-Invoke"?
[11:20] <fullstack> Hello is rsync better backup tool or there is better one?
[11:43] <opa7331> @fullstack depends on your task, but rsync works great in combination with adb https://github.com/google/adb-sync
[12:00] <wezzzzzz> opa7331: This is IRC, not discord.
[12:03] <KBar> mostafa: ^^
[12:08] <mostafa> opa7331: Thanks Man.
[12:16] <BluesKaj> Hi all
[12:30] <floogy> I currently upgraded from 20.04 LTS to 22.04 LTS. It seemed everything went fine, but today i notioced, youtube videos in firefox doesn't have sound.
[12:34] <KBar> floogy: upgrade as in installed from the ISO?
[12:35] <floogy> KBar, no do-release-upgrade -d
[12:35] <mjt> not the answer you want to hear, but i'd backup my homedir and do a clean install, tbh
[12:36] <tomreyn> try it with a new firefox profile first of all
[12:36] <tomreyn> run the snap from a terminal to see more output
[12:37] <tomreyn> see whats appended to the systemd journal as you start firefox and as you try to play a video
[12:37] <floogy> KBar, but solved! Yesterday I had to control an rsj45 ethernet cable, and somehow that lead to a interrupted chinch connection. So the issue was physical. I tried it before, but that disn't changed the connection. I had to plug out and in again to notice the ad connection.
[12:37] <floogy> bad
[12:38] <KBar> yeah.. always check hardware first
[12:38] <floogy> I'm sorry for the nose. Thank you!
[12:39] <tomreyn> i hope you did not punch kbar in the face because of it.
[12:39] <KBar> no problem. have a good weekend
[12:40] <floogy> I did, but not correctly. And then I saw the peak bar in system sound configuration and speaker test. So it had output, biut only with optical reference. So i test the cable again.
[12:41] <floogy> s/nose/noise/ I'm currently not able to type ...
[12:41] <KBar> hehe
[12:56] <gvvg> Hi - I have a vmware 6.7 esxi where 1 vm (ubuntu 22.04) becomes unresponsive after approx 20 minutes consistently - this vm has been stable for years, I just did an release upgrade - not sure how to find out what is causing the issue - any suggestions?
[12:58] <gvvg>  06/26/2022, 3:48:36 AM Alarm 'Virtual machine CPU usage' on irf.dexco.com
[12:58] <gvvg> changed from Green to Red
[12:59] <tomreyn> did you already check the "supported OS" table for your version of esxi? this is what you shouldprobably be doing first.
[12:59] <tomreyn> (pre upgrade)
[13:00] <mostafa> Hello Guys ..what is /proc/ directory?
[13:00] <tomreyn> !hier | mostafa
[13:00] <luna__> https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html
[13:03] <mostafa> ubottu: Thanks
[13:05] <tomreyn> gvvg: if you'll find that it's compatible, you may want to inspect the systemd journal of the guest system at the time it became unresponsive; journalctl -eb -1
[13:09] <gvvg> I notice  ModemManager[918]: <info>  [sleep-monitor] system is about to suspend
[13:09] <KBar> mostafa: it's a pseudo filesystem, basically lets you "probe" the kernel for various types of information (processes, file descriptors, mount points, etc). for general linux questions, join #linux
[13:09] <gvvg> NetworkManager[853]: <info>  [1656244263.3715] manager: NetworkManager state is now ASLEEP
[13:09] <luna__> gvvg: #nm ?
[13:09] <KBar> gvvg: use a pastebin, don't paste everything here
[13:10] <gvvg> KBar: sorry
[13:10] <gvvg> https://pastebin.com/3t3NWPwA
[13:10] <KBar> gvvg: you'll get autobanned by the bot. it doesn't know feelings :)
[13:11] <gvvg> KBar: I understand :)
[13:11] <gvvg> https://pastebin.com/3t3NWPwA
[13:12] <gvvg> https://pastebin.pl/view/7d7500f8
[13:17] <gvvg> tomreyn: yes the version of esxi (6.7) does support ubuntu lastest LTS
[13:41] <lzer> hello, can anyone help me solve an issue i have been having? if not which server do you think can help me solve an issue
[13:41] <gvvg> is there anyway to disable power saving or configure for always high performance?
[13:41] <luna__> ask
[13:43] <lzer> For some reason i am an issue with the graphics driver, while i program OpenGL using the nvidia drivers, the window lags while dragging the window. If on the other hand i use the open source drivers, it works fine, i will lose performance in other areas such as gaming
[13:43] <lzer> i have tried multiple drivers but still no luck
[13:44] <KBar> lzer what version of ubuntu? what flavor? hardware info?
[13:44] <lzer> i am very much to linux in general and really enjoy using it, kind of want to keep on using it for things like this
[13:44] <lzer> new*
[13:45] <KBar> gvvg nvidia optimus?
[13:45] <KBar> if you are using one of their cards that is
[13:45] <lzer> as of this momment i tried installing a different distro, Pop, but i the same issue is still occuring
[13:46] <lzer> i used to use Ubuntu LTS 20.04
[13:46] <lzer> I am using a gtx 1650 Palit card
[13:46] <gvvg> KBar: no it's a VM I just want it to be in high performance mode - I should never have installed the desktop version - should have been server version ...
[13:47] <TheAppleNerd> I'm using an Intel NUC i5-8000 series with Ubuntu server
[13:47] <TheAppleNerd> And a linode VPS 🤘
[13:48] <KBar> lzer: im confused. is it PopOs now?
[13:48] <lzer> KBar: as of this moment yes
[13:49] <KBar> gvvg: that entirely depends on your virtualization method
[13:49] <luna__> #popos
[13:49] <KBar> lzer: this chat is for Ubuntu support
[13:49] <KBar> join ^ that channel
[13:49] <mybalzitch> once you pop
[13:49] <lzer> oh woops sorry
[13:49] <gvvg> KBar: esxi 6.7
[13:50] <KBar> gvvg: have you tried reading its manual?
[13:50] <gvvg> I'll do that now - I thought someone might know - thank you
[13:59] <descent> i noticed rss-glx the screensavers the windows did that with my 1050 ti but the opengl xscreensavers didnt lzer
[13:59] <descent> maybe some setting does it
[14:00] <descent> a bug or something
[14:37] <jadenlian> is it ok to just have every thing in /root  cause im using <sudo -i> and when im doing everything as root all the stuff instead of being saved the user that i used to log in its being saved in /root
[14:40] <KBar> jadenlian: its NOT okay but its up to you
[14:41] <jadenlian> what are the cons?
[14:41] <KBar> 0
[14:41] <alkisg> For stuff under /home/username you're not supposed to be using sudo. Also, you're not supposed to be using `sudo graphical-programs` in most of the cases
[14:41] <KBar> 0 pros that is
[14:41] <KBar> and countless cons
[14:42] <KBar> jadenlian: when you enter the interactive mode with sudo, you change your EUID to that of the root user, i.e. 0
[14:43] <KBar> jadenlian: ofc everything is saved to /root, because that's your identity now
[14:43] <KBar> jadenlian: you can check $LOGNAME or other env vars. thatll clear things up
[14:45] <jadenlian> kbar: yeah i noticed that root is my id    but im i was thinking of doing was to reinstall and for the /root partition give it a lot of space since i notice that it runs out of space quick and then have my stuff saved there but i was trying to know if thats not going to cause issues
[14:46] <oerheks> as ubuntu uses 1 partition standard,why do you run out of space?
[14:46] <samy1028> jadenlian: there's a difference between the root partition  "/"  and Root's home directory "/root"
[14:46] <KBar> +1
[14:47] <jadenlian> samy1028: you are right i was refering to /root  home dir
[14:48] <samy1028> so, /root is by default under /  and Ubuntu by default has a single / partition with everything under it.
[14:48] <samy1028> if you do "df -h" does it show / as almost out of space?
[14:49] <jadenlian> i started using <sudo -i> so i dont have to type sudo all the time  but then i noticed the stuff being saved in /root  and then i got a warning that /root was runnign out of space
[14:49] <KBar> jadenlian: for starters https://wiki.debian.org/sudo & https://help.ubuntu.com/community/RootSudo
[14:51] <KBar> that doesn't make sense. did you split partitions during installation?
[14:51] <jadenlian> samy1028: 81% used but now the hard drive i have on this pc is not big
[14:51] <samy1028> how about MB total and MB free?  (or GB total and GB free?)
[14:52] <KBar> share your fstab and `df -h /`
[14:52] <samy1028> because 81% doesn't mean much.  I have a system at 87% used on one partition, with 680 GB free.
[14:53] <alkisg> Why do you need to run "sudo all the time"?
[14:53] <KBar> stuff is saved to /root because your HOME is set to root during `sudo -i` session. `getent passwd root` will tell you that
[14:53] <KBar> alkisg: laziness
[14:53] <jadenlian> samy1028: 44gb used   11gb available
[14:54] <ioria> jadenlian, are you really lazy  ?
[14:54]  * alkisg thinks it's easier to type "command" rather than "sudo command" ... :D
[14:54] <samy1028> jadenlian: if you don't understand the issues of running as root all the time, you shouldn't be running as root because it's way to easy to f* your system.
[14:55] <KBar> alkisg: well, maybe they aliased it to a single 's' :D
[14:55] <samy1028> granted, there are some systems I manage I have to be in as root because of stupid vendor's software which only runs as root, not under sudo (odd things happen)
[14:55] <samy1028> but then, those specific instances should be rare for most people.
[14:56] <samy1028> jandelian: so out of a ~60GB partition, you have 11GB free and you're worried about space?
[14:56] <jadenlian> just like ioria said  maybe lazy or just more convinient but why is my /root running out of space and my /home/username  is not
[14:57] <jadenlian> and can i increase the size of /root
[14:58] <samy1028> as KBar said, if you provide a fstab and df - /   then we can answer that better.  (if you put it into a pastebin somewhere)
[14:58] <KBar> jadenlian: now that does not concern Ubuntu. Feel free to join #linux
[14:58] <KBar> You're not willing to provide any information. Sorry, but we really can't help you further.
[14:59] <ioria> jadenlian, seriously... why you need superuser privileges all the time ? that's not good on an ubuntu system
[15:00] <oerheks> increasing size of root ..  without details about your partitioning, nobody can tell
[15:00] <jadenlian> ioria: is no good reason at all just  more convinient typing <command> and <sudo command + passwd>
[15:01] <oerheks> we heard no good reason why you work as root.
[15:01] <ioria> jadenlian, no dude, expecially not on a desktop edition
[15:01] <jadenlian> oerherk:details?
[15:01] <ice9> how to check for the latest installed kernel version?
[15:02] <jadenlian> ok i guess sudo -i = bad news
[15:02] <EriC^^> ice9: ls /boot/vmlinuz*
[15:02] <oerheks> ice9 run updates?
[15:02] <samy1028> If you're running Ubuntu Desktop as root and using browsers and such that's like running Windows XP as Administrator and using IE.  (maybe not quite as bad, but still bad).
[15:03] <ice9> EriC^^, I need to get the version for dpkg or apt, not from /boot/...
[15:03] <ice9> for/from
[15:03] <KBar> ice9 `uname -a`?
[15:03] <samy1028> how much stuff are you doing that really needs root?
[15:03] <KBar> ice9 `dpkg -l '*linux*'`
[15:03] <ice9> KBar, the kernel can be installed and not rebooted it
[15:03] <EriC^^> ice9: dpkg -l | grep linux-image
[15:04] <samy1028> ice9  "apt search linux-image | grep install
[15:04] <samy1028> "
[15:05] <ice9> samy1028, EriC^^ and how to know the latest version automatically?
[15:05] <jadenlian> samy1028:its just stuff like rm, apt-get,mkdir,vim, most of the stuff needs sudo and i started using sudo -i just so i dont type sudo + passwd all the time
[15:05] <KBar> ice9: you can check `/var/log/apt/history.log` for the latest entry after update
[15:05] <EriC^^> ice9: dpkg -l | grep linux-image-generic  maybe
[15:06] <ice9> does apt post-hooks, run only if the upgrade has been successful or it runs in all cases?
[15:06] <KBar> no need for grep, dpkg -l already accepts shell globbing
[15:06] <KBar> and opens in a convenient pager
[15:06] <samy1028> jandelian: so, how often are you using those commands on a daily basis on that machine?  Is it server or desktop?
[15:08] <jadenlian> samy1028: one pc i have ubuntu sever just for and the other desktop but and when i use the desktop im mostly on the terminal
[15:08] <oerheks> we are doing your homework, ice9 ?
[15:08] <jadenlian> so pretty often
[15:08] <ice9> oerheks, i'm just asking for things that i couldn't find an answer for :)
[15:09] <oerheks> Post hooks only run when installation is succesfull, logically
[15:10] <jadenlian> samy1028:but ill just stick to sudo + passwd
[15:47] <floown> Guys, tell me why I could still log in as root (which I didn't do, I don't think root has an mdp, by the way): https://pastebin.com/pdSYgTtj
[15:49] <oerheks> remove the # ?
[15:49] <oerheks> PermitRootLogin no
[15:50] <oerheks> and restart the sshd deamon
[15:51] <dsc_> disable password authentication, filter users with `AllowUsers`, enforce key usage (ed25519 only if you want to be super anal)
[15:52] <oerheks> ?
[15:52] <oerheks> dsc_, keep the language in here family friendly, thanks
[15:53] <dsc_> oerheks: right, you go onto ignore
[15:54] <ravage> i suppose his family is a little behind too :)
[15:56] <floown> oerheks: I had add this line but I have the same result with prohibit-password
[15:57] <floown> systemctl restart ssh   <-------- is the right command to restart the daemon?
[15:57] <ravage> floown, yes it is. and with "PermitRootLogin no" and a proper restart of the daemon root will not be able to login anymore
[15:58] <oerheks> systemctl restart sshd
[15:58] <floown> oerheks: oh!
[15:58] <ravage> heh
[15:59] <ravage> what does ssh restart then?
[15:59] <ravage> or is it an alias?
[15:59] <ravage> its the same here
[16:01] <oerheks> sshd deamon is server side
[16:02] <ravage> https://p.haxxors.com/eut5pqg9.txt
[16:04] <james_> whatswrong with backbox
[16:06] <oerheks> james_, we don' t tell, as it is not ubuntu
[16:06] <james_> how are you
[16:06] <james_> who are you
[16:07] <ravage> !chat | james_
[16:07] <oerheks> james_, you are in the ubuntu support channel. see topic
[16:07] <oerheks> find your backbox or blackbox channel for support?
[16:08] <james_> how can i get my wireless card working in backbox, it doesn't show up ine the networking manager
[16:08] <oerheks> just told you ..
[16:38] <james_> is anyone in lancaster pa
[16:40] <james_> UFO's are vary real and no the designers  are not from earth
[18:13] <g2plus> hey, I am currently looking into 3d game development for ubuntu 22.04 , I have been trying to code in javascript for a while and it almost works, but I'm looking into c++, opengl way currently and can't find an easy to start example
[18:13] <g2plus> I tried from most simplest thing I could find, as abstraction should be able to write in code - https://github.com/stanfortonski/StickMan-3D#readme
[18:14] <g2plus> of course, got into some errors - https://pastebin.pl/view/f7aa3e37
[18:14] <lotuspsychje> g2plus: you might wanna idle in #ubuntu-devel for future development contributing
[18:15] <g2plus> lotuspsychje , thanks for recommendation
[18:16] <lotuspsychje> g2plus: your question would be still valid here aswell, just help widening your options
[18:20] <nasum> how do i colorize $1?  cat .links | parallel -I{} -j $2 "echo -ne \\\r\\\033[2K$2x $1 {#}/$total && $DL {}"
[18:27] <dsc_> nasum: when using parallel, I prefer redirection i.e: `parallel -j4 ./do_stuff.sh < .links`
[18:29] <dsc_> nasum: i doubt parallel does something to ANSI escape codes, maybe try fix your echo command first before stuffing it into parallel
[18:31] <nasum> dsc_: the echo command outside of parallel colorizes with tput codes but not in it
[18:31] <dsc_> nasum: hmm
[18:33] <dsc_> nasum: regardless, my `do_stuff.sh` approach might be easier to debug
[18:33] <nasum>  # i="$(tput setaf 2)"  k="$(tput setaf 7)"
[18:33] <nasum> here are some color codes
[18:33] <nasum> i surrounded $1 by those two
[18:34] <ice9> why Ubuntu LTS gets updates more frequent that CentOS/RedHat etc...?
[18:34] <ice9> frequent updates
[18:35] <nasum>  parallel -I{} -j $2 "echo -ne \\\r\\\033[2K$2x $1 {#}/$total && $DL {}" < .links
[18:36] <oerheks> centos is dead, and redhat is paid. ubuntu gives more software, so more patches and fixes.
[18:36] <enigma9o7[m]> what kind of answer are you looking for ice9?
[18:38] <nasum> dsc_: its part of a script so i cant use a separate file but maybe if i put it in a function?
[18:38] <ice9> enigma9o7[m], an answer that explains how  both distros address updates since both are LTS
[18:38] <nasum> can you define functoinso in functoins in bash/
[18:39] <dsc_> :(
[18:39] <dsc_> maybe try #bash, they are smart(er) there
[18:40] <nasum> {#} are the iteraitons from parallel, if you use a do_stuff.sh how will it know about it?
[18:41] <dsc_> good question
[18:43] <dsc_> nasum: seems like you can use "$PARALLEL_SEQ" in do_stuff.sh to get the iteration number
[18:44] <tomreyn> ice9: continued in -discuss
[18:52] <xrandr> Hello. I have a hardware controller with 2 virtual disks. One is Disk0 with a size of 1TB, and the other is Disk1 with a size of 4TB. I used MegaCli to create the second raid vd. Using LVM, i've added the second virtual disk (disk1) to the volume group, but it only seems to have added 1.5 Terabytes instead of 4. I used lvextend -l+100%FREE /dev/ubuntu-vg/ubuntu-lv to extend the space in the lv, and then resize2fs -p /dev/mapper/ubuntu-vg-ubu
[18:52] <xrandr> ntu-vg
[18:53] <xrandr> How can I get the rest of my space in there?
[18:56] <tomreyn> xrandr: post "lsblk" to a pastebin, or to termbin.com
[18:58] <xrandr> https://pastebin.com/Jnk8HztT
[19:00] <xrandr> perhaps megacli did not add the disks properly...
[19:00] <xrandr> no, it did, i see the SDC showing as 3.6 T
[19:03] <xrandr> It also shows that it only added 1.5 tb instead of the full 3.6 tb to lvm /
[19:05] <xrandr> tomreyn: any ideas on what i can do?
[19:06] <tomreyn> xrandr: redo it, the way you want it, i guess
[19:07] <tomreyn> xrandr:what you posted / ended up with is certainly quite different from what you described above
[19:09] <tomreyn> xrandr: i'm not sure exactly what your goal was, though. the hardware raid / virtual disk layout seems to be setup the way you wanted it
[19:09] <tomreyn> but you seemed to have different plans for the lvm than what you did
[19:09] <tomreyn> though i'm not sure exactly what your plans were there
[19:11] <tomreyn> maybe if you describe what your goal is with LVM, then we can suggest how to achieve this.
[19:16] <xrandr> tomreyn: I' like to have the full 4TB added to LVM
[19:19] <xrandr> well, it seem when i just tried to fix this i hosed the machine. So, i get to do a reinstall. This is probably better
[19:20] <tomreyn> xrandr: then remove the sdc2 PV (if you still can, but should work, i guess), remove the sdc1 and sdc2 partitions (unless there is data you need on sdc1?), clear lvm signature off sdc2  (may be optional), clear partition table off sdc (may be optional), make sdc a LVM PV.
[19:21] <tomreyn> oh, that was written before you came up with the plan to reinstall
[19:22] <xrandr> This is better. I had other things on there that needed to be cleaned out. It's a dev server, so it's ok to reinstall
[19:23] <tomreyn> make sure you're familiar with LVM's modes of operation, and the different types of strccute: PV, VG, LV
[19:39] <xrandr> tomreyn: thank you
[19:40] <tomreyn> xrandr: you're welcome
[19:41] <tomreyn> and i means to write s/strccute/structures/ (oops)
[19:41] <tomreyn> meanT :)
[19:44] <kristian_on_linu> cheers
[19:48] <kristian_on_linu> in Gimp, I get "Plug-in 'Film Grain' left image undo in inconsistent state, closing open undo groups."
[19:48] <kristian_on_linu> also this: "Error while executing script-fu-film-grain: Error: eval: unbound variable: plug-in-scatter-hsv"
[19:50] <tomreyn> please start with your ubuntu and gimp version
[19:50] <kristian_on_linu> hi tomreyn ... I forgot, sorry
[19:51] <kristian_on_linu> Ubuntu 20.04.4, GIMP 2.10.32 (that I just got from a PPA to get rid of this issue, to no avail)
[19:52] <tomreyn> no problem. i was thinking script-fu was only available on older releases
[19:53] <tomreyn> right, 20.04 has gimp 2.10.18-1
[19:54] <tomreyn> does it happen there, too?
[19:54] <kristian_on_linu> yes
[19:54] <kristian_on_linu> that's why I got the newer one
[19:55] <oerheks> https://snapcraft.io/gimp gives .30
[19:55] <tomreyn> hmm i think gimp have a channel here, too, maybe try it there
[19:56] <kristian_on_linu> ah yes, thank you
[20:10] <jhutchins> kristian_on_linu: I'd see if you could get in touch with anybody on the plugin team, see if others have reported the issue.
[20:10] <jhutchins> !gimp
[20:11] <jhutchins> kristian_on_linu: They probably have a forum or mailing list.
[20:11] <kristian_on_linu> I just found another plugin that does something similar
[20:11] <jhutchins> The plugin wouldn't survive being unusable over multipiple versions.
[20:12] <jhutchins> I would imagine plugins would have trouble finding files on snap.
[20:14] <ogra> why would they ?
[20:14] <ogra> they will find the same files gimp finds ...
[20:23] <jhutchins> ogra: Does gimp pass file structures ot plugins?
[20:24] <jhutchins> The plugin is one more location they have to be coded to search.
[20:57] <oerheks> for gimp, these settings are default https://imgur.com/gallery/gsf9Qho
[20:57] <oerheks> * snap
[21:10] <hans_> how i can replace /etc/php/7.4/fpm/php.ini with the package maintainer's version?
[21:10] <hans_> (it has been modified)
[21:15] <oerheks> find php.ini-production ?  like this old answer https://askubuntu.com/questions/312520/how-to-recover-the-default-php-ini
[21:25] <ranbox2d> i'm on ubuntu
[21:26] <ranbox2d> i have a password i was logging in with just fine
[21:26] <ranbox2d> now the sudo command won't accept it
[21:29] <Bashing-om> ranbox2d: Might I suggest that you reset the password: http://www.psychocats.net/ubuntu/resetpassword .
[21:35] <ilikebirds> Birds birds and more birds. You can find birds that are totally related to Fedora Linux on this webpage that I am going to drop you. Just go to http://deekchat.ml and you will have many many fun fun.
[21:50] <BadAtom> ranbox2d: if you're able to log in directly with the same credentials but sudo fails, verify that the path to the user shell is correct, and that sudoers and groups haven't been overwritten in an update, haven't had an error introduced into them in a recent edit, and contain your user correctly, and that dns and the system hostname are set up correctly
[21:50] <ranbox2d> i have no idea what went wrong earlier
[21:51] <goddard> i had to download firefox from their website because yall removed the apt version
[21:51] <goddard> i couldn't use the geckodriver
[21:51] <ranbox2d> i have a complex password, i copy-paste it, i pasted it inside the password prompt, didn't work, i paste it in plaintext in the terminal prompt to check, it's correct, i decided to close and reopen the session, after i did, it worked
[21:51] <goddard> didn't anyone thing about unit testing?
[21:52] <ranbox2d> BadAtom i think it may have been a hostname issue
[22:02] <tomreyn> goddard: https://github.com/mozilla/geckodriver/releases
[22:10] <Some_Person> Well this can't be good... https://imgur.com/a/q543LzV
[22:10] <Some_Person> Windows still boots, but Linux won't
[22:12] <Some_Person> Okay, weird... shut it down and turned it on again (rather than just rebooting), and it booted up fine?
[22:16] <justme1984__> I’m sorry to ask and I’m a little worried it isn’t possible. Is there a way to revert 22.04 back to 20.04 ( just noticed 22.04 has literally removed packages I rely on )
[22:17] <tomreyn> justme1984__: not possible. which packages are you missing?
[22:17] <justme1984__> Python 3.6-3.8
[22:17] <tomreyn> oh you mean package versions
[22:17] <justme1984__> And I guess they only allow python 3.10
[22:18] <tomreyn> it's normal that newer ubuntu releases have newer versions of packages. fortunately, you can check and plan this before carrying out an upgrade.
[22:19] <tomreyn> there is a 'deadsnakes' PPA which makes more python versions available on some ubuntu releases. maybe it could help you. PPAs are usually unsupported.
[22:20] <justme1984__> Well it’s really important I have those old versions also like many study places are only validating with 3.6 so you would fail if you deliver 3.10 code
[22:21] <justme1984__> Yeah ppa’s will never get to my home server because of lack of quality
[22:21] <justme1984__> But thanks a lot guess it’s time to then redownload 20.04 and block upgrading
[22:22] <tomreyn> it's not like release upgrade happen automatically
[22:22] <tomreyn> especially not while they're not supported, yet.
[22:22] <tomreyn> blocking security updates may be a bad idea, though.
[22:23] <justme1984__> 22.04 were supported and full release. My server had said it for month about upgrade ( think I saw it first late April )
[22:24] <tomreyn> oh you were on 21.10 then, i guess. when you said "server", i assumed LTS.
[22:24] <justme1984__> Well so bad Ubuntu has got on the server side since 16.04 ( were the last okay version ) it’s almost the only way I guess
[22:24] <justme1984__> No I were 20.04
[22:25] <justme1984__> Actually I believe 20.04.02 LTS
[22:25] <tomreyn> maybe you changed the Prompt= setting then, because 20.04 would not yet prompt for upgrading normally.
[22:26] <tomreyn> !ltsupgrade
[22:26] <justme1984__> It even did that when I originally came from 18.04 LTS to 20.04 LTS last year ( there it also told me every time at login )
[22:27] <justme1984__> Even my backup vps on 18.04 is also begging for upgrade every time I login to the ssh
[22:28] <justme1984__> So LTS are also informing and begging for it
[22:29] <tomreyn> not on a standard installation before the upwards LTS target reaches .1
[22:30] <justme1984__> All of the systems were standard installed ( except upgraded home server last year from 18.04 to 20.04 ) so I don’t know then.
[22:32] <justme1984__> also how to I get the real iptables back on 22.04 ( if I stick on it ) and totally get rid of all nftables or what it’s called
[22:32] <tomreyn> not
[22:33] <justme1984__> ?? What do you mean
[22:35] <tomreyn> you will also not switch back to upstart on 22.04. or to making fires by hitting one stone with another.
[22:37] <justme1984__> Are you saying that isn’t possible ether about getting rid of nftables and get iptables back? Well I guess then it’s literally time to download an old version again until I find a replacement system
[22:38] <justme1984__> And I guess then I’ll just gonna go all the way back to 18.04
[22:39] <tomreyn> i think it can be useful to read release notes before upgrading, and to check software (version) compatibility. that's how anyone running production systems do it, anyways.
[22:41] <tomreyn> and, yes, you can actually keep using iptables commands through update-alternatives
[22:41] <tomreyn> but it's a system-wide decision you make there
[22:41] <tomreyn> as seen on the release notes.
[22:42] <justme1984__> Well at least about the python part Ubuntu has always had at least the last 3-4 in their repo but I guess it has been to money oriented since Microsoft started paying to them and harvest data as always
[22:44] <tomreyn> that must be true because it was said on the internet.
[22:46] <justme1984__> Well nftables has nothing to do at all on nether my home server or my vps if it ever sees 22.04
[22:47] <justme1984__> and about the Microsoft situation it is true why would Ubuntu else go into partnership with them as they even posted them self last year on their blog where Ubuntu called Microsoft partnership of the year
[22:48] <justme1984__> https://ubuntu.com/blog/canonical-recognized-as-a-2021-microsoft-partner-of-the-year-finalist
[22:48] <tomreyn> justme1984__: there's ubuntu-offtopic for non support topics (but not for spreading fud either)
[22:49] <justme1984__> Well it’s from the official Ubuntu.org blog and not fud as you call it
[22:50] <tomreyn> justme1984__: off-topic (non support) here. please find a more suitable location.
[23:08] <BadAtom> well that wasn't random at all
[23:36] <src> how dangerous is to upgrade all python packages via pip3? isn't it in theory possible things will be upgraded where ubuntu expects an older version?
[23:37] <enigma9o7[m]> As long as you don't use sudo, not super dangerous.
[23:51] <src> enigma9o7[m]: k
[23:52] <src> can you tell me why? noticed some upgrades failing, will some be held back automatically if they might break something?
[23:52] <enigma9o7[m]> I can say why that's not super dangerous, is beacuse without sudo, its not going to overwrite anything for all users.  It's only going to affect stuff for the current user, so worst case you could login as someone else.
[23:53] <enigma9o7[m]> without sudo instead of putting stuff in /usr/bin or whatever, it'll put it somewhere in /home/username