[00:06] <pycurious> how do i update  linux-libc-dev in ubuntu 20.04 - it looks like it has an old Critical vulnerability? (4.19.181-1  - I am on this I think)
[00:07] <leftyfb> pycurious: which vulnerability?
[00:09] <sarnold> pycurious: are you really running a two year old kernel from debian? https://launchpad.net/debian/+source/linux/4.19.181-1
[00:09] <sarnold> pycurious: if so, there's dozens of way more important issues than whatever is in linux-libc-dev you gotta fix
[00:31] <oerheks> https://packages.ubuntu.com/bionic-updates/linux-libc-dev
[03:18] <Varro> how do i set my ipv6 address static within the LAN?
[03:19] <oerheks> on gnome, network manager, add a new profile
[03:20] <oerheks> or in your router, lease reserved for your mac address
[03:20] <Varro> oh ok
[03:47] <Guest2> Hi I have an Android question but I cant join #android please help. some app is using my Camera, how do I find which one did it?
[03:47] <Guest2> I restricted my allowed apps with camera acess to just Camera app, but it still happens
[03:47] <Guest2> I get the Camera On notification
[03:47] <Guest2> every time I turn my phone on
[03:48] <rbox> lol
[03:53] <Guest2> Why is that funny
[03:53] <aimatme> `/join #android`
[03:54] <rbox> guest2: because this channel has 0% to do with android
[03:56] <oerheks> you might need to register with Libera
[05:24] <Muligan> is anybody here good w/lxc containers?
[05:25] <arraybolt3> Muligan: Maybe. If you ask your question, someone might know the answer and be able to help.
[05:25] <arraybolt3> (I use LXC some but I'm not exactly an expert at it :P)
[05:25] <Muligan> it's an oddball setup
[05:25] <Muligan> i'm simply trying to figure out this system
[05:25] <Muligan> there's very minimal documentation that really dives into it
[05:26] <Muligan> it's an 'Antman' system by Antsle
[05:26] <Muligan> so far, I've been able to migrate the KVM's off into my vSphere cluster, but having an issue w/these LXC's
[05:27] <arraybolt3> That issue being?
[05:27] <Muligan> from what multiple lxc commands that I've run, they've yielded as NOT running
[05:27] <arraybolt3> Also is this system running an official Ubuntu installation?
[05:28] <Muligan> however the webui of this unit is running, and the two LXC's that are running, the data/webui's to those LXC's are reachable
[05:28] <Muligan> it's a Ubiquiti AirController
[05:28] <arraybolt3> (Official as in, you downloaded an image from an official Ubuntu website and used that to install Ubuntu on the device.)
[05:28] <Muligan> along with Ubiquiti Mfi
[05:28] <Muligan> arraybolt3, no
[05:28] <arraybolt3> Muligan: To be clear, is this Ubuntu at all? And if so, is this an Ubuntu installation that came with the device?
[05:29] <Muligan> unfortunately, not
[05:29] <arraybolt3> You might have better luck in #lxc then.
[05:29] <arraybolt3> (This channel only supports official Ubuntu operating systems.)
[05:29] <Muligan> coo
[05:29] <Muligan> ty
[05:29] <arraybolt3> However the #lxc channel supports LXC in general.
[05:29] <arraybolt3> Glad to help!
[05:31] <Muligan> arraybolt3, sad thing is, this box is way old
[05:31] <Muligan> outdated, etc.
[05:32] <Muligan> some of the converted KVM's I'll end up rebuilding altogether
[05:32] <arraybolt3> Muligan: Hmm... re-reading your questions, you're trying to migrate these containers off of where they are onto an Ubuntu system?
[05:32] <Muligan> eventually
[05:32] <arraybolt3> Ah, I get it.
[05:32] <Muligan> i'm simply trying to access the LXC environment in order to get in to reset the DB passwd
[05:33] <arraybolt3> Can you use "lxc shell" to get into the containers?
[05:33] <arraybolt3> Possibly using "lxc start" to get it running?
[05:33] <Muligan> I couldn't even get into the console of the hosted KVMs, I wound up shutting them down, converting the qcow2 vdisks on over to vmdk, and rebuilt them using the vmdk's on my vsphere environment
[05:34] <Muligan> the basic command 'lxc' doesn't exist
[05:34] <arraybolt3> Oh yikes.
[05:34] <Muligan> lxc-ls lists 'alpha, beta, and gamma'
[05:34] <Muligan> then when I go to get info of each one of those, it shows them  as not running
[05:34] <arraybolt3> That's probably something we can't help with then. We don't really know how odd devices like that work.
[05:34] <arraybolt3> Though if "lxc-ls" exists, "lxc-shell" might exist?
[05:35] <Muligan> I understand, just looking for some direction
[05:35] <Muligan> 1st time really dealing with lxc's at all
[05:35] <arraybolt3> And maybe "lxc-start", too.
[05:35] <Muligan> lxc-shell doesn't even exist
[05:35] <arraybolt3> (There actually is an "ls" subcommand in normal "lxc", so that's why I'm thinking... oh, tar, ok nevermind)
[05:36] <arraybolt3> lxc-start might though.
[05:36] <arraybolt3> Muligan: Try "lxc-console" then.
[05:36] <Muligan> https://pasteboard.co/btet3JDlH2r8.png
[05:36] <arraybolt3> Looks like these "lxc-*" commands are part of the lxc-utils package, and there's an "lxc-console" command in there.
[05:37] <arraybolt3> Looks like it's on your system too.
[05:39] <Muligan> https://pasteboard.co/HmTl0jU5Sg8W.png
[05:40] <Muligan> Honestly, I'm lead to believe that this system is just jacked
[05:41] <Muligan> i mean, it's running 0.4.0b of Antman, and there clear up to 4.0 now for the release
[05:41] <arraybolt3> Muligan: Try using lxc-start then?
[05:41] <arraybolt3> But yeah, with something this old, it may be easier (possibly *far* easier) to start from scratch.
[05:41] <Muligan> https://pasteboard.co/ubtXgvjqrAGI.png
[05:42] <Muligan> I will start from scratch, but I'm trying to get in and set some commands to default/reset the webui passwd for this AirControl program by Ubiquiti
[05:42] <arraybolt3> Now maybe it will let you use lxc-console?
[05:45] <Muligan> i'm not sure which option of lxc-control to issue
[05:47] <Muligan> lxc-ls --active -1 spits out nothing
[05:48] <arraybolt3> Yeah then I'm not sure either.
[05:49] <Muligan> hell, even lxc-ls --fancy isn't even supported in this version
[05:50] <propus> use mate it rocks.
[05:50] <Muligan> huh?
[05:50] <arraybolt3> !ot | propus
[05:52] <propus> ubottu: okey
[05:53] <arraybolt3> Muligan: I'd still try #lxc. Yeah, your equipment might be ancient, old, and EOL, but they'll have a better chance at knowing what to do than we will, I would guess.
[05:54] <Muligan> either way, thanks for the attempt
[06:53] <luna_> good morning
[07:48] <hid3> Greetings everyone. Is there any way to grab messages from 'dmesg' which are shown in red colour?
[07:55] <alive> hid3: The color is applied to the message from a text element (ie 'ERROR' in message) in the first place. To get that out, you would do "dmesg | grep ERROR"
[07:55] <alive> If it's not specifically ERROR: Find the common text element in the message and grep for that text element.
[10:32] <pydev> can i create an user with the HOME in a different location? /var/www/HOME_NAME ?
[10:42] <lotuspsychje> !home | pydev
[10:43] <ravage> pydev: sudo useradd
[10:43] <ravage> -d, --home-dir HOME_DIR       home directory of the new account
[11:10] <agat> hi
[11:36] <hsiktas[m]> anyone here who considers that faster bugfixes in non-LTS releases are better than staying with an LTS for two years? Is that too optimistic toward non-LTS releases?
[11:42] <agat> clear
[11:42] <matsaman> hsiktas[m]: LTS is strictly to put off updating. Not putting off updating is always better if time allows
[11:43] <hsiktas[m]> sound reasonable...
[11:43] <hsiktas[m]> soudns
[11:43] <hsiktas[m]> sounds :)
[11:44] <matsaman> sadly plenty of organizations are so buried in nonsense, five years and it can still be hard to find time to update
[11:44] <matsaman> everything depends on your system being maintained, though, so, gotta
[11:45] <koffeinfriedhof> hsiktas[m]: depends on what tools you use. LTS is fine for main and restricted, but most programs come from universe and are not or less supported. its a very individual task to check if lts suits you.
[11:49] <hsiktas[m]> it would be nice if universe would be somehow decoupled from the other repos. Like provide the usual support duration for main/restricted but all supported releases point to a common universe repo that gets regular imports from Debian. (basically similar to how each supported FreeBSD release points to the same package versions in their ports tree)
[11:51] <koffeinfriedhof> that won't be possible as libraries change and some tools have to be recompiled. But thats what Snap is for. Same versions across all ubuntus.
[11:53] <matsaman> same nonsense version =P
[11:53] <koffeinfriedhof> BUT same version :D
[11:53] <matsaman> as far as you know
[11:55] <koffeinfriedhof> yep. I just assume it as I do not use snap or ubuntu at all ;)
[11:57] <matsaman> I don't either, but there's nothing good about snap
[12:00] <koffeinfriedhof> Depends. Allowing decentralized servers (or stores if you want) would be great. Sandboxing itself is a good approach considering users being allergic to read stuff about users, groups, permissions,…
[12:01] <matsaman> sandboxing is critical given that ever snap is a block box from upstream
[12:01] <matsaman> every*
[12:05] <koffeinfriedhof> sad but true. But everyone has to trust somebody as we cannot read all source codes ourselves. Canonical is probably not the best to trust in, but there are worse. If you look what applications are requested and used, it is a minor issue.
[12:05] <agat> do you think?
[12:05] <agat> about this?
[12:06] <agat> jk
[12:06] <matsaman> well, mostly you're trusting debian
[12:07] <koffeinfriedhof> I do trust debian/main. Mostly. But thats far from being an ubuntu installation.
[12:14] <vlm> Until a few years ago i didnt know the store was closed source ill admit. Is it not possible yet to set ones own store location yet?
[12:19] <koffeinfriedhof> vlm: You can technically if you use the GPL3-snap-client-stuff and write your own server application. But its easier to take other approaches like flatpak and host a custom repository for it.
[12:24] <matsaman> easier to avoid both snaps and flatpak =P
[12:26] <koffeinfriedhof> true. Just use a free/libre distribution, read the basics and you are done.
[12:27] <matsaman> koffeinfriedhof: you're the one I like
[12:28] <koffeinfriedhof> Well, I don't. Its awful to search for new hardware nowadays and very frustrating. Intel ME, AMD PSP, graphics and wireless stuff only with blobs… Live could be easier ;)
[12:29] <matsaman> f'sho
[12:29] <matsaman> meanwhile the world keeps cranking out young adults who don't even know what privacy is, so they can't even miss it or wonder how to get it
[12:31] <koffeinfriedhof> "Privacy? Dunno. Is there a facebook group?"
[12:32] <elias_a> Thou shalt not curse. :P
[12:39] <koffeinfriedhof> O:‑)
[12:46] <akik> koffeinfriedhof: good one, thanks
[12:49] <BluesKaj> Hi all
[12:49] <koffeinfriedhof> Hi BluesKaj
[12:49] <BluesKaj> hi koffeinfriedhof
[12:49] <agat> hi all
[12:49] <matsaman> hi just cool people who are cool
[12:50] <agat> lmao
[13:45] <akik> why do i now need a computer reboot for group memberships made with usermod to update? a simple logout/login is not enough. what changed?
[13:46] <akik> sudo usermod -a -G group username
[13:48] <leftyfb> akik: you don't. A complete log out and back in will suffice
[13:49] <akik> leftyfb: i just tried it on ubuntu 22.10 and it's not enough
[13:51] <jhutchins> akik: You're special?
[13:51] <akik> jhutchins: what the fuck does that mean?
[13:51] <leftyfb> jhutchins: lets not
[13:51] <leftyfb> !language | akik
[13:51] <leftyfb> akik: do you have error messages?
[13:51] <akik> yea keep the guy in chains because he can't behave
[13:52] <jhutchins> akik: I mean that the behavior is not common to most Linux systems, including Ubuntu.  There's something different about how you're doing it.
[13:52] <akik> leftyfb: no error message, just that the group membership doesn't change until a reboot
[13:52] <leftyfb> akik: this a desktop or server?
[13:52] <akik> leftyfb: it's desktop installation
[13:52] <jhutchins> akik: Is your hardware/storage unusual?
[13:52] <leftyfb> akik: and did you log out of the desktop or just close your terminal?
[13:53] <akik> jhutchins: oh you're civil now?
[13:53] <leftyfb> please stay on topic
[13:53] <jhutchins> akik: I usually am, although occasionally sarcastic.
[13:53] <akik> this is just a normal laptop with ubuntu 22.10/gnome
[13:54] <akik> leftyfb: i logged out and logged back in. please test yourself adding a new group for your account with usermod
[13:54] <leftyfb> akik: I can't log out of my desktop at the moment, a bit busy
[13:54] <jhutchins> akik: If you look at the shadow files before you reboot, does the change show there?  What GUI are you using?
[13:55] <akik> jhutchins: i'm now in windows, but i can try again in ubuntu. using plasma 5
[13:55] <akik> oops
[13:55] <akik> using gnome
[13:55] <leftyfb> jhutchins: shadow files have nothing to do with groups
[13:56] <leftyfb> akik: did you add a user to a group or did you change the main group the user identifies as?
[13:57] <akik> leftyfb: you're asking questions i already gave info
[13:57] <akik> 16:46 < akik> sudo usermod -a -G group username
[13:57] <jhutchins> leftyfb: The collection of password files that control user and group identification are often collectively referred to as shadow files.  I believe there's a document, probably at tldp.org, that explains migrating from a pre-shadow to a shadow system.
[13:57] <ELFrederich> Hello... I just did an unattended installation of Ubuntu on VirtualBox as per the documentation on ubuntu.com.  The user it created seems to not be in the sudoers file.
[13:58] <clarkk> Before a kernel update (I'm not sure which one, but I may be able to work it out given time), my bluetooth headphones won't connect automatically when I switch them on without me running bluetoothctl connect "$hwaddr". Does anyone know why?
[13:58] <clarkk> *since, not before
[13:58] <clarkk> Is there a way to fix it?
[13:59] <clarkk> I'm on 20.04 with all updates
[13:59] <ravage> ELFrederich: the unattended installation of Vbox is broken. Do a manual installation.
[14:00] <akik> leftyfb: this same problem happens on arch linux/plasma 5
[14:00] <ELFrederich> ravage, okay... I should delete this one and start over?  I haven't done anything yet, other than manually adding myself to "sudo" group.
[14:00] <jhutchins> clarkk: Which kernel?
[14:00] <ravage> ELFrederich: yea
[14:01] <ELFrederich> .... because the root password is set to the same as my user's password.  That also seems like a bug.  Shouldn't most installs not even have a root password at all?
[14:01] <jhutchins> akik: It sounds strangely like your changes aren't being written to the files.
[14:01] <leftyfb> akik: try newgrp group
[14:01] <leftyfb> jhutchins: that isn't the problem
[14:01] <jhutchins> leftyfb: Great, you solve it then.
[14:01] <akik> jhutchins: i checked and /etc/group was modified
[14:01] <akik> leftyfb: i know newgrp command but this is not about it
[14:01] <jhutchins> akik: Thanks for confirming that.  Assumptions often lead to errrors.
[14:02] <leftyfb> akik: my guess is, even logging out of the desktop isn't enough, maybe try restarting GDM as well. Maybe there's still some process under your username running
[14:02] <akik> newgrp is problematic that you need to run it then in every shell
[14:03] <akik> can somebody else test this?
[14:03] <akik> pick a group from /etc/group that you're not part of (id, groups commands), then sudo usermod -a -G group your_username, logout & login, check id or groups command
[14:04] <leftyfb> akik: but newgro does work for the terminal right? That means the changes have been made successfully but we're not "logging out" sufficiently
[14:04] <akik> leftyfb: i didn't test it because it's not a solution i want to use
[14:04] <leftyfb> akik: please test it
[14:04] <akik> ok
[14:07] <akik> leftyfb: yes newgrp works, but it changes the primary group
[14:08] <akik> leftyfb: and then i'd need to run it in each shell
[14:08] <akik> should i logout with "kill -9 -1" ? :)
[14:09] <leftyfb> "If the optional - flag is given, the user's environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged."
[14:09] <leftyfb> not sure if that'll help the 2nd issue
[14:09] <akik> leftyfb: if that's for su i know about it but it doesn't apply
[14:09] <leftyfb> it's not, it's for newgrp
[14:09] <akik> oh you mean i should test it now?
[14:10] <akik> su - aki worked and the gamemode group is now visible in that shell
[14:10] <leftyfb> right, that's a direct login
[14:10] <akik> leftyfb: newgrp without the - also worked
[14:10] <leftyfb> as opposed to spinning up a vterm
[14:11] <leftyfb> so it's working, it's just the DE not being able to do a full log out of the user
[14:11] <akik> i'll try kill -9 -1
[14:11] <leftyfb> that won't work
[14:11] <leftyfb> sudo systemctl restart gdm
[14:12] <akik> kill -9 -1 kills all your processes
[14:12] <akik> that fixed it, even though it's a bit brutal
[14:13] <akik> now gamemode group is automatically in all shells
[14:14] <leftyfb> I would try restarting gdm
[14:14] <akik> leftyfb: don't you feel that's kind of strange thing to do?
[14:15] <leftyfb> akik: it's troubleshooting
[14:15] <akik> arch has this same problem
[14:15] <akik> and i use sddm on it
[14:16] <akik> and plasma
[14:16] <leftyfb> akik: you're using ssdm on ubuntu?
[14:16] <akik> leftyfb: sddm on arch
[14:17] <akik> leftyfb: i think this is gdm on ubuntu
[14:17] <leftyfb> akik: restart gdm on ubuntu
[14:17] <akik> yes
[14:17] <akik> ok
[14:17] <jedorf> Hello everyone
[14:17] <Lua-dev> hi
[14:19] <jedorf> I have a problem with gpg IDK why.... , in ubuntu 22, when I do: ""sudo gpg --dearmor oracle_vbox_2016.asc --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg"
[14:19] <leftyfb> akik: btw, I just powered on another laptop I have running Ubuntu 22.04. Adding my only user to a group, logging out of the desktop and back in worked just fine
[14:19] <akik> leftyfb: sudo systemctl restart gdm didn't fix it, but again kill -9 -1 did
[14:19] <jedorf> it's extremmely slow, and show nothing...
[14:19] <jedorf> someone have an idea why ? I didn't have this problem in ubuntu 20...
[14:19] <leftyfb> akik: maybe you have some service running in the background as your user
[14:20] <akik> leftyfb: maybe something changed in 22.10
[14:20] <leftyfb> akik: unlikely
[14:20] <akik> leftyfb: i don't have anything custom on this laptop
[14:20] <akik> leftyfb: you used usermod?
[14:20] <leftyfb> yes
[14:20] <leftyfb> I did exactly as you did
[14:21] <akik> leftyfb: and it's shown in id now?
[14:21] <leftyfb> yes
[14:21] <leftyfb> after logging out of the desktop and back in
[14:21] <akik> ok so something is different
[14:21] <akik> no idea what
[14:21] <leftyfb> I also did a test right before logging in, at the login page I switched to a different tty, logged in and ran id, it showed the new group appended to the list of my groups
[14:28] <akik> newgrp works fine after logout/login but the group i added is not by default in id output
[14:38] <ELFrederich> With Ubuntu guest under VirtualBox should I use the Guest Additions CD or should I use open-vm-tools?
[14:39] <leftyfb> ELFrederich: that is for you to decide based on what each gives you in functionality and what your needs and preferences are.
[14:39] <ELFrederich> I saw this... https://linuxconfig.org/virtualbox-install-guest-additions-on-ubuntu-22-04-lts-jammy-jellyfish
[14:40] <ELFrederich> what is this "multiverse"
[14:40] <leftyfb> !multiverse | ELFrederich
[14:44] <ELFrederich> well that installation of guest additions didn't seem to do anything.  I see it under lsmod but I can't resize my window
[14:47] <pydev> thank you so i will add --home-dir to change the default home of users
[14:47] <pydev> those are users that i use for websites
[14:47] <pydev> so i will point their home to /var/www/home1 /var/www/home2 /var/www/home3
[14:47] <pydev> can i do that?
[14:47] <pydev> i think that /var/www has been created by "www-data"
[14:48] <pydev> shmm i do not thing i can create nested homes :D
[14:48] <leftyfb> pydev: you can, but I wouldn't. Just set the virtualhost Directory for each site to /home/<user1>/WWW
[14:49] <pydev> ok
[14:49] <pydev> yes better
[14:49] <pydev> thank you
[14:49] <pydev> lat thing i need those users with their home but i do not need to login with those users into the system
[14:49] <pydev> should i add /sbin/nologin ?
[14:50] <leftyfb> yes
[15:06] <clarkk> jhutchins, sorry for the delay. It broke some time in the last 3 kernels. I'm currently on 5.15.0-69-generic #76~20.04.1-Ubuntu SMP.  I'd have to do some investigation to find out exactly which one. What would be your course of action, specifically?
[15:14] <clarkk> Since a kernel update, my bluetooth headphones won't connect automatically when I switch them on, without me running bluetoothctl connect "$hwaddr". I'm currently on 5.15.0-69-generic #76~20.04.1-Ubuntu SMP. Kernel 5.15.0-67 also had the issue. I have two others installed - 58 and 60, but haven't yet isolated which one it worked in. Can anyone offer any suggestions, please? What steps should I take to either resolve it, or
[15:14] <clarkk> where should I raise the issue?
[15:18] <themod> Hola.
[15:56] <TahcRahc> Hola folks. Wondering if anybody is familiar with this. Trying to access data from a weirdo disk image (Android-based image).. So far it's not mounting under any standard tool. All I have managed to identify is that the fs is f2fs. I've used f2fs-tools then, but also no dice. The offset is basically unknown, and I've even looked at trying to just try them all (1-10,000) which also didn't work. Any ideas?
[15:56] <TahcRahc> I should additionally note that testdisk doesn't appear to have found anything useful either :(
[15:57] <leftyfb> TahcRahc: maybe try #linux or #android
[15:59] <leprechaun> hello! i'm on ubuntu 20.04 on my laptop and i dont have the posibility to choose HDMI output for the sound i'm only getting built in auido. I'm using the driver for amd kabini r5 driver that ollows with ubuntu?
[15:59] <leprechaun> it's the same on 22.04 and 22.10
[16:01] <ELFrederich> how should I add a search domain to /etc/resolv.conf?
[16:02] <leftyfb> ELFrederich: you do that on your router DHCP settings
[16:03] <ELFrederich> leftyfb I'm set to Automatic
[16:03] <leftyfb> ELFrederich: on your router
[16:05] <TahcRahc> leftyfb, #android isn't as active, but I'll check, thnx
[16:05] <ELFrederich> okay... what happened is this.  I have two Ubuntu VMs that I wanted to talk to each other on VirtualBox.  So I created a new NAT network.  When I put both of them on the same network they can communicate.  When they were on the default NAT they had a "search foo.acme.com" but when I put them on the newly created NAT Network they get "search
[16:05] <ELFrederich> bar.acme.com"
[16:06] <harrisonerd> any pulseaudio gurus in here?
[16:06] <harrisonerd> having sound problems with a macbook 12" retina 2017
[16:07] <leftyfb> ELFrederich: that would be a setting in virtualbox for the network you created.
[16:08] <leftyfb> ELFrederich: in this case, virtualbox is your "router"
[16:08] <ELFrederich> leftyfb, yeah... no real setting there.  Don't even see an advanced option
[16:08] <ELFrederich> I just choose the CIDR, that's it
[16:09] <leftyfb> ELFrederich: maybe hit up #virtualbox
[16:09] <ELFrederich> leftyfb yeah... I'm asking there.
[16:09] <ELFrederich> leftyfb but is there not a mechanism for me to add a line to /etc/resolv.conf in addition to what is coming from dhcp?
[16:15] <rfm> ELFrederich, there should be a place to put additional search domains in the network settings (or netplan if these are Ubuntu Server VMs).  Don't try to edit resolv.conf.
[16:16] <leftyfb> ELFrederich: https://askubuntu.com/a/1211705
[16:18] <effumate> hi
[16:18] <effumate> im new
[16:19] <effumate> idk what to do
[16:19] <effumate> :)
[16:19] <effumate> hfhzieofghg
[16:19] <effumate> g*
[16:19] <effumate> bn
[16:19] <effumate> y
[16:23] <effumate> uh
[16:23] <effumate> so what is this thing
[16:23] <effumate> or idk what
[16:23] <effumate> what is libera chat
[16:24] <leftyfb> effumate: this is an Ubuntu support channel. Feel free to /join #libera for help with Libera or other IRC questions
[16:24] <effumate> oh ok
[17:11] <pydev> hello again
[17:11] <pydev> i am reading the useradd doc
[17:11] <pydev> i see -r = create a system account
[17:11] <pydev> what is the difference between a normal user and a system user ?
[17:15] <akik> pydev: they're defined in /etc/login.defs
[17:15] <leftyfb> pydev: https://www.cyberithub.com/system-users-and-human-users-in-linux-explained-with-examples/
[17:15] <akik> pydev: it's just a id range
[17:16] <akik> pydev: search for "System accounts"
[17:17] <pydev> oh i read that system users have no home
[17:17] <pydev> i need the home directory
[17:17] <pydev> so it is not system user
[17:19] <tomreyn> pydev: note that ubuntu is a debian derivate, and uses the same uid ranges as debian. to make sure you apply debian-like standards, i recommend working with the frontends (debian and) ubuntu provides for this purpose: adduser and addgroup - and to refer to their manual pages, too.
[17:19] <pydev> tomreyn, ok
[17:20] <pydev> but basically i need users to run my web projects but they do not need to login
[17:20] <pydev> so i wonder if i need to create normal users or system users
[17:22] <tomreyn> actually, useradd also follows login.defs, which defines the proper ranges, so the choice between useradd and adduser is just a matter of convenience / preference, i guess. sorry.
[17:26] <pydev> tomreyn, i have a doubt i have created an user with
[17:26] <pydev> useradd -M -N -r -s /sbin/nologin -g www-data myuser
[17:27] <pydev> myuser:x:997:33::/home/myuser:/sbin/nologin
[17:27] <pydev> why /home/myuser ??
[17:28] <tomreyn> i'd say: use system users to run services or for any technical purpose which is not tied to an existing person (or group of persons, who just need a single login). but the line can be drawn differently by some tools and for some purposes and workloads.
[17:28] <tomreyn> what did you expect the home directory to be?
[17:29] <akik> pydev: use -d option for that
[17:29] <pydev> tomreyn, i am using -M that says  do not create the user's home directory
[17:29] <pydev> is the home mandatory ? why has been set to /home/myuser
[17:30] <akik> pydev: if it doesn't have a home dir, it probably starts in / i think
[17:31] <pydev> akik, in /etc/passwd i see : myuser:x:997:33::/home/myuser:/sbin/nologin
[17:31] <akik> pydev: i don't know about -M
[17:31] <pydev> -M, --no-create-home          do not create the user's home directory
[17:32] <akik> pydev: maybe it's for a case where that dir would already exist
[17:32] <pydev> akik, the funny thing is that if i go do /home
[17:32] <pydev> there is no /myuser directory :D
[17:33] <pydev> so i just see it in /etc/passwd
[17:33] <akik> pydev: what if you now run "sudo su - myuser" ?
[17:34] <ELFrederich> Is there a place to post screenshots to this channel?
[17:34] <arraybolt3> ELFrederich: Usually we just post them to something like Imgur and then send links here.
[17:34] <pydev> su: warning: cannot change directory to
[17:34] <pydev> so the directory does not exist
[17:35] <karthy> ELFrederich imgbb i guess
[17:35] <tomreyn> !screenshot
[17:35] <ELFrederich> k, if nothing particularly recommended I'll use the first thing Google gave me;-)  ... https://snipboard.io/KGuU74.jpg
[17:36] <akik> pydev: did it start in / ?
[17:36] <ELFrederich> That's on a fresh install of Ubuntu 22.04 on a fresh install of VirtualBox on a fresh install of Windows 11.  My old 20.04 VM which I copied over launches Gimp just fine.  All the text is messed up on 22.04
[17:36] <leftyfb> pydev: it did what you told it to do. It created the user and didn't create the home directory
[17:36] <tomreyn> pydev: useradd -M is decribed to do exactly do what you see - (assign but) not create the users' home directory.
[17:37] <leftyfb> pydev: what exactly are these users for?
[17:38] <pydev> these users are for running gunicorn it is basically a webserver to run django webapp
[17:38] <pydev> behing nginx
[17:38] <pydev> so basically each website has its own user
[17:38] <leftyfb> pydev: sounds like a job for docker honestly
[17:38] <pydev> BUT the same group (www-data)
[17:39] <tomreyn> ELFrederich: this may be an incompatibility of virtualbox and wayland (which 22.04 uses by default)
[17:39] <pydev> tomreyn, exactly it does not create the home but for some reason it assign one home
[17:39] <tomreyn> effortDee: there's a channel #vbox on the irc.oftc.net irc network, and they have a forum, too
[17:39] <leftyfb> pydev: it will do that. You can specify a different home if you like
[17:39] <pydev> tomreyn, i see that /var/www is the home for www-data so i suppose i can create /var/www/website1 as the home directory of a specific user
[17:39] <tomreyn> pydev: because it does so by default, yes
[17:40] <tomreyn> pydev: i don't see why not
[17:40] <pydev> tomreyn, what? can i create "nested" home directory ?
[17:41] <ELFrederich> hmm... this sucks.  https://askubuntu.com/questions/1447077/display-problem-with-ubuntu-22-04-on-virtualbox
[17:41] <pydev> i mean...inside /etc/passwd i see /var/www with www-data user
[17:41] <ELFrederich> it's "solved" by disabling 3d acceleration.  Everything seems so slow when it's disabled.
[17:41] <pydev> so if i create an user with an home inside v
[17:41] <pydev>  /var/www/website1
[17:42] <pydev> is this possible?
[17:42] <tomreyn> pydev: you can create directories all over your file system, and set homr directories for users to point wherever, whether that will do what you intend or be good idea security-wise is an entirely different question.
[17:42] <ELFrederich> tomreyn why just gimp is messed up though?
[17:43] <tomreyn> ELFrederich: i wouldn't know that. it seems the window decoration is, too, so it's not just the application
[17:43] <pydev> tomreyn, yes but in my case i will create an home inside another  home
[17:43] <leftyfb> pydev: as I suggested before, create the users as normal, create the /home, set the "<Directory> for each web site/server to each users /home/user1/WWW/
[17:44] <tomreyn> pydev: you can do so. it is probably a bad idea.
[17:46] <pydev> leftyfb, yes but as we said those are system users so i should not create the home dir no?
[17:46] <pydev> i read in that link you posted before
[17:47] <leftyfb> pydev: don't set them as system users
[17:47] <leftyfb> there's not really a benefit here
[17:47] <tomreyn> is this for separating users in a virtual hosting setup?
[17:48] <pydev> no tomreyn  no virtualhosts
[17:48] <pydev> ok i will create normal users
[17:48] <tomreyn> so what is it?
[17:48] <pydev> it is a web server where i run my rojects but there is no virtualizations
[17:49] <leftyfb> why?
[17:49] <pydev> why do i have to virtualize it ?
[17:49] <leftyfb> nginx does virtualhosts
[17:49] <pydev> leftyfb, yes
[17:49] <pydev> virtual hosts...yes i meant docker
[17:49] <leftyfb> so use docker
[17:49] <pydev> so i set the "virtualhost" to /var/www/website1 /var/www/website2
[17:49] <pydev> etc
[17:50] <leftyfb> don't
[17:50] <leftyfb> set it to /home/user/website1/WWW
[17:50] <pydev> leftyfb, why? is there a particular reason for that?
[17:50] <pydev> ah
[17:50] <pydev> yes yes
[17:50] <pydev> ok
[17:50] <pydev> leftyfb, you mean /home/USER/www
[17:50] <pydev> right
[17:50] <pydev> ?
[17:50] <leftyfb> up to you
[17:50] <tomreyn> "virtual hosts" refers to having multiple domain names point to a single (web)server. it is not related to virtualization or containers.
[17:51] <pydev> ok tomreyn so i have virtualhosts
[17:52] <leftyfb> so why do you need to run a separate web server for each user?
[17:52] <tomreyn> pointing to a single (web)server and having the (web) server respond differently based on the domain / hostname requested
[17:52] <tomreyn> ^ more precisely
[17:52] <pydev> tomreyn, yes exactly
[17:52] <pydev> however ok got it
[17:52] <pydev> i will create N users as per the number of websites i need to run
[17:52] <leftyfb> pydev: so use virtualhosts, not separate web servers
[17:52] <pydev> then create /www inside the home
[17:53] <pydev> leftyfb, it is a bit more complicated because as i said
[17:53] <pydev> i have nginx....yes....but i also have gunicorn that is the web server that is running the django appliations
[17:54] <leftyfb> then again, you should be running each user and this setup in separate docker containers
[17:55] <ELFrederich> tomreyn disabling Wayland worked.  sudo nano -w /etc/gdm3/custom.conf ... and uncomment the line which disables Wayland
[17:56] <tomreyn> ELFrederich: congratulations for successfully working around a bug that's not ubuntu's
[17:56] <pydev> leftyfb, never used docker idk ...i wonder what is the benefit of running many containers.... N containers for GUNICORN N containers for NGINX
[17:57] <leftyfb> pydev: if you're using nginx to support multiple webservers talking to gunicorn, you can do without that if you use docker. Each docker will have it's own gunicorn setup
[17:58] <ELFrederich> tomreyn until the bug is fixed perhaps we don't know whose bug it is.
[17:59] <tomreyn> ELFrederich: well, it doesn't occur with other virtualizations, that at least makes it unlikely.
[18:00] <pydev> leftyfb, yes exactly but in that case i need to run N different containers for gunicorn  other N container for NGINX with different configuration
[18:00] <pydev> seems hard to mantain
[18:00] <leftyfb> pydev: no, you put all that into each container
[18:01] <leftyfb> per user
[18:01] <leftyfb> assume you only have 1 user. Put everything it needs into 1 container
[18:01] <leftyfb> then duplicate that for each user
[18:01] <pydev> i heard that each container should run one service
[18:01] <pydev> one container per service
[18:01] <leftyfb> the host OS doesn't need anything installed on it other than docker
[18:01] <leftyfb> nope
[18:03] <pydev> leftyfb, i think that nginx should be just one...because i only can have one container listening on port 80
[18:03] <pydev> so just one container for nginx and then N container for N projects
[18:07] <ELFrederich> damn, looks like "heal selection" isn't there in Gimp on Ubuntu 22.04?  ... even after installing gimp-plugin-registry
[18:12] <leftyfb> ELFrederich: https://askubuntu.com/a/1302593
[18:12] <tomreyn> ELFrederich: see also https://www.gimp.org/registry/ and bugs 939660 1393237 1793270
[18:12] -ubottu:#ubuntu- Bug 1793270 in gimp-plugin-registry (Ubuntu) "After upgrading to cosmic, GIMP python plugins no longer work" [Undecided, Confirmed] https://launchpad.net/bugs/1793270
[18:12] -ubottu:#ubuntu- Bug 1393237 in gimp-plugin-registry (Ubuntu) "Many of these plugins don't work" [Undecided, New] https://launchpad.net/bugs/1393237
[18:12] -ubottu:#ubuntu- Bug 939660 in gimp-plugin-registry (Ubuntu) "globally-installed GIMP python plugins are not accessible" [Undecided, New] https://launchpad.net/bugs/939660
[18:15] <ELFrederich> leftyfb, it's not there.  That link they installed it from a ppa.  I installed mine through apt
[18:15] <leftyfb> that shouldn't matter
[18:18] <ELFrederich> I had a lengthy workaround for getting the "heal selection" and "liquid rescale" to work on 20.04... I was hoping it would just work in 22.04
[18:19] <ELFrederich> This is what I had in my notes.... https://bpa.st/IJKJA
[18:22] <ELFrederich> ... grouping/ungrouping the toolbox didn't make it show up
[19:09] <olspookishmagus> !WN722N
[19:29] <clarkk> Since a kernel update, my bluetooth headphones won't connect automatically when I switch them on, without me running bluetoothctl connect "$hwaddr". I'm currently on 5.15.0-69-generic #76~20.04.1-Ubuntu SMP. Kernel 5.15.0-67 also had the issue. I have two others installed - 58 and 60, but haven't yet isolated which one it worked in. Can anyone offer any suggestions, please? What steps should I take to either resolve it, or
[19:29] <clarkk> where should I raise the issue?
[19:39] <unixbeard> is there a nice clean example/guide of using gparted (or other) to shrink an encrypted lvm in ubuntu 20.04 so I can give my /boot partition more space and upgrade to 22.04?  Do I need a separate boot/live cd (assuming I do)?
[19:47] <bluejaypop> hello guys, i reported some couple of months ago that i got screen flickering with ubuntu 22.04 with latest kernel, but when I connected my external display, was working normally, now i see again the problem with the kernel 5.19.0-40-generic , my pc is a laptop lenovo x1 nano gen2
[19:48] <sneakyimp> does a brand new/clean Ubuntu 22.04 LTS support installation of php 8.2 via apt? If not, what steps must I take to install php 8.2 via apt?
[19:48] <bluejaypop> i dont see anything weird in Xorg log or dmesg
[19:48] <bluejaypop> and it's weird, when i dont move the mouse it works good enough, but when I use the mouse, the flickering starts.
[19:51] <sneakyimp> bluejaypop: flickering screen, in my experience, is usually due to a cable not being plugged in properly. you have a laptop, though. i wonder if it might be a display driver issue? sadly, i cannot offer any real assistance in this matter.
[19:52] <bluejaypop> sneakyimp, could be, since its working normally in Win10
[19:55] <sneakyimp> bluejaypop: i remember when i was trying to get blender running optimally on my ubuntu workstation that I downloaded a linux-compatible driver from nvidia. perhaps you could investigate what kind of display chip/card you have in your lenovo, and see if they offer linux-compatible drivers. otherwise, you could look into other generic drivers
[19:56] <sneakyimp> bluejaypop: i've no idea if it will be helpful, but there's an old thread here, might have some useful commands to get video driver info: https://askubuntu.com/questions/1331925/possible-to-install-distinct-drivers-for-two-dissimilar-nvidia-gpus-on-ubuntu-20
[19:57] <bluejaypop> thank you
[19:57] <bluejaypop> let me find out
[19:59] <bluejaypop> https://i.imgur.com/aawFOTI.png
[20:01] <bluejaypop> ubuntu-drivers devices <- gives me nothing in the output, let me find out in lenovo
[20:01] <sneakyimp> that looks like an intel graphics device...i wonder if intel offers a linux-compatible driver?
[20:02] <sneakyimp> bluejaypop: perhaps here? https://www.intel.com/content/www/us/en/products/platforms/details/alder-lake-p/downloads.html
[20:02] <bluejaypop> i added the i915.enable_psr=0 and it seems a little better
[20:02] <sneakyimp> bluejaypop: or here? https://www.intel.com/content/www/us/en/download/747008/intel-arc-graphics-driver-ubuntu.html
[20:02] <bluejaypop> yes, checking
[20:03] <sneakyimp> that latter link has an 'Intel Arc Graphics Ubuntu Linux Installation Guide.pdf'
[20:04] <sneakyimp> Am I correct in understanding that Ubuntu 22.04 LTS doesn't have an apt package to install php 8.2?
[20:07] <bluejaypop> no, i think is 8.1
[20:08] <bluejaypop> i use docker for php dev
[20:11] <sneakyimp> bluejaypop: i'm trying to set up a production server. no docker
[20:11] <sneakyimp> PHP 8.1 will no longer enjoy active support in a mere 7 months
[20:11] <sneakyimp> PHP 8.2 has been available for 4 months
[20:25] <jhutchins> sneakyimp: Distributed versions of PHP have beeing "going out of support" ever since the project picked back up afte PHP 5.  You live with it.
[20:25] <jhutchins> sneakyimp: Nobody who relies on distributionpackages acctually needs bleeding edge PHP.
[20:26] <jhutchins> sneakyimp: If you do, you get it directly from the PHP project.
[20:26] <ravage> bluejaypop: check https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958191
[20:26] -ubottu:#ubuntu- Launchpad bug 1958191 in linux-hwe-5.19 (Ubuntu) "[i915] Screen flickering in Ubuntu 22.04 (until i915.enable_dc=0 intel_idle.max_cstate=2 are added) (fixed in 5.17.7 and later)" [High, Fix Released]
[20:26] <jhutchins> Production Server != latest packages.
[20:27] <ravage> try the kernel boot parameters that helped some users there
[20:27] <jhutchins> You want well tested software.
[20:27] <sneakyimp> jhutchins: respectfully disagree in broad terms. today's tools like composer et. al really hate older versions of PHP
[20:29] <sneakyimp> jhutchins: and software that's been out for 4 months isn't exactly 'bleeding edge.' they're up to php 8.2.5 now.
[20:34] <ice9> if there is a crash or a bug in one of the software like nouveau, i915 or gnome-shell, etc. Why should we file a bug on the Launchpad? why not directly on the bug track of that software?
[20:35] <sneakyimp> jhutchins: I would also point out that PHP 7.4 was EOL in November of 2022, and no longer receives security fixes. I think the problem is sluggish deployment of apt packages
[21:03] <athos> PHP 8.2 transition will happen in the next release cycle, meaning Ubuntu will ship it starting in 23.10. Ubuntu does keep supporting the versions of PHP we ship in our supported versions. For 22.04, there is no "sluggish deployment". It is about api/abi stability.
[21:04] <athos> Now, we could indeed discuss why the transition did not happen yet, even though 8.2 was released back in late November
[21:07] <athos> The reason is the short gap between PHP and Ubuntu release cycles)
[21:33] <bluejaypop> ravage, thanks ill check
[21:33] <bluejaypop> sorry, i got busy
[21:36] <jhutchins> sneakyimp: If you actually need that, don't rely on the Ubuntu packages, go directly to PHP.org: https://www.php.net/downloads.php
[21:58] <leftyfb> sneakyimp: ubuntu patches software in LTS releases. This includes php, regardless if upstream supports it or not
[22:01] <jhutchins> sneakyimp: That's how most of the distros handle PHP security.
[22:02] <jhutchins> sneakyimp: Mind you, they don't usually add new features.
[22:04] <hsiktas[m]> does anyone here rely on the Google Drive implementation in Gnome (Online Accounts)? How does it compare to e.g. rclone?
[22:05] <jhutchins> hsiktas[m]: rclone is the only thing I've tried that actually worked on the  first try.
[22:06] <hsiktas[m]> for example: opening a pdf, leaving it open for hours or even days, and then making an annotation and saving it. Would that sync back?
[22:08] <jhutchins> hsiktas[m]: Bad idea, cosmic rays will corrupt your file.
[22:09] <hsiktas[m]> or the file in the local cache gets orphaned and my changes land in limbo :-/
[22:09] <jhutchins> hsiktas[m]: Seriously, there are too many variables to be able to rely on a "permanent" connection to google storage.
[22:11] <hsiktas[m]> well, it is no issue with the official Drive client on macOS/Windows. I can make a change offline and it will sync it days later
[22:11] <leftyfb> hsiktas[m]: and I'm sure if Google made a linux client for google drive, it would be the same way.
[22:11] <jim> hi. how can I find out what versions of pyaudio (package python3-pyaudio) are available for my installed version of ubuntu?
[22:12] <ravage> jim: https://packages.ubuntu.com
[22:12] <ravage> !jammy python3-pyaudio
[22:13] <leftyfb> jim: apt-cache policy python3-pyaudio
[22:13] <leftyfb> jim: or: apt list --installed python3-pyaudio
[22:14] <ravage> !info python3-pyaudio jammy
[22:20] <hsiktas[m]> ok, that was a short journey: https://gitlab.gnome.org/GNOME/evince/-/issues/1781
[22:20] -ubottu:#ubuntu- Issue 1781 in GNOME/evince "Unable to open PDF file from Google Drive virtual drive" [Opened]
[22:31] <jim> I'm told by the folks in #python, that the version of pyaudio (package name python3-pyaudio) is broken, and they're recommending people install pyaudio from pip. in the middle of that conversation, they commented that ubuntu devs are tracking the issue
[22:33] <leftyfb> jim: do they have a bug report?
[22:33] <jim> the issue may have something to do with a change in python itself, that stems from version 3.10; I don't know what that issue is, and it might be a non-problem
[22:33] <jim> I do not know
[22:34] <jim> but they are confirming that if you get the version of pyaudio from pip, you should be OK with 3.10 of python
[22:35] <jim> let me try to find out about a bug report
[22:49] <krytarik> LP #1970912 strikes me as being it btw.
[22:49] -ubottu:#ubuntu- Launchpad bug 1970912 in python-pyaudio (Ubuntu) "python3-pyaudio fails with: PY_SSIZE_T_CLEAN macro must be defined for '#' formats" [Undecided, Confirmed] https://launchpad.net/bugs/1970912
[23:16] <Guest65> In v22, is there some way to run fsck at boot?  This didn't work https://askubuntu.com/questions/1352774/how-to-force-fsck-on-reboot-for-ubuntu-20-04
[23:18] <sarnold> Guest65: if the fsck.mode=force kernel command line parameter doesn't work, that's worth filing a bug report
[23:23] <clarkk> Since a kernel update, my bluetooth headphones won't connect automatically when I switch them on, without me running bluetoothctl connect "$hwaddr". I'm currently on 5.15.0-69-generic #76~20.04.1-Ubuntu SMP. Kernel 5.15.0-67 also had the issue. I have two others installed - 58 and 60, but haven't yet isolated which one it worked in. Can anyone offer any suggestions, please? What steps should I take to either resolve it, or
[23:23] <clarkk> where should I raise the issue?
[23:23] <clarkk> I've asked 3 times today. Any chance of some help?
[23:24] <reinvo49> clarkk, can you try with blueman?
[23:25] <clarkk> what shall I do with it reinvo49 ?
[23:26] <reinvo49> clark, run blueman, in the UI, click search, and associate your device trhough it (cause it remember the device then), then disconnect your headphones, and try to power them up again, and look if blueman connect them back again automaticly.
[23:27] <gry> clarkk: if blueman does not help, i'd run the 'reportbug' utility and choose a linux-kernel package (output of `dpkg -l *linux*image*`) as the package to report the bug against. if that's wrong then someone will adjust the bug report accordingly
[23:28] <reinvo49> clarkk, is it a packaged kernel you installed with apt?
[23:28] <clarkk> reinvo49, yes
[23:28] <clarkk> gry, what is reportbug? It's not installed on my system
[23:29] <sarnold> ubuntu-bug on ubuntu :) reportbug is for debian
[23:30] <gry> clarkk: what sarnold wrote (thanks, sarnold)
[23:31] <clarkk> ok, thanks chaps :)