[00:03] <sloth_on_meth> how do i update to 5.4.0-90
[00:04] <barnaba> So, I have killed every single GUI program, and then restarted X with ctrl+alt+bksp, never got over 9 GB available. Now after reboot I have 28880 available memory. After killing everything, the program that reported most rss was Xorg at 250 mb or so
[00:04] <JoeBk> sloth_on_meth, what is  5.4.0-90 ?
[00:05] <sloth_on_meth> https://github.com/Koenkk/zigbee2mqtt/issues/8663 https://ubuntu.pkgs.org/20.04/ubuntu-proposed-main-amd64/linux-image-5.4.0-90-generic_5.4.0-90.101_amd64.deb.html
[00:06] <sarnold> sloth_on_meth: if you need to downgrade kernels, it'd be nice to have a bugreport for it
[00:06] <sloth_on_meth> i need to *upgrade* actually
[00:06] <sloth_on_meth> im on .89
[00:07] <sarnold> oh :) sudo apt update && sudo apt upgrade   will probably do the job
[00:07] <sloth_on_meth> yeah that's the thing - it'd tell me it didnt exist, even after i added the repo manually. im rebooting now and will report back
[00:08] <JoeBk> I just installed ubuntu 21.04.  21.10 would not install.
[00:13] <sloth_on_meth> sudo apt-get install linux-image-5.4.0-90-generic gives me this:
[00:13] <sloth_on_meth> https://www.toptal.com/developers/hastebin/uwizawonev.kotlin
[00:15] <sloth_on_meth> E: Package 'linux-image-5.4.0-90-generic' has no installation candidate
[00:19] <jhutchins> sarnold: Does Ubuntu not need full-upgrade to upgrade the kernel?
[00:19] <sarnold> sloth_on_meth: because 5.4.0-90 was replaced by 5.4.0-91 two weeks ago, 5.4.0-90 was removed from the mirror networks to save space
[00:19] <sarnold> sloth_on_meth: you can download it from https://launchpad.net/ubuntu/+source/linux/+publishinghistory if you need to...
[00:20] <sarnold> jhutchins: 'apt upgrade' will install new packages as part of an upgrade
[00:20] <sloth_on_meth> how do i do that lol
[00:20] <sloth_on_meth> omfg replacing 0.90 with 0.91 in the command did it
[00:20] <sloth_on_meth> can you imagine i just spent 3 hours on this
[00:21] <sloth_on_meth> thank you :D
[00:21] <sarnold> sloth_on_meth: what was wrong with apt update && apt upgrade? :) you shouldn't need to type version numbers at all..
[00:21] <sloth_on_meth> it wouldn't update past .89
[00:21] <sarnold> wh ynot?
[00:21] <sloth_on_meth> no clue
[00:21] <sloth_on_meth> that's just the version it'd install
[00:22] <sarnold> hmm. it feels lik eit'd be worth debugging that
[00:22] <sarnold> not getting kernel upgrades is a bad place to be
[00:23] <sloth_on_meth> meh, at this point im just trying to get that .91 kernel so i can fix my *** lights.
[00:23] <sloth_on_meth> zigbee serial issues
[00:23] <sloth_on_meth> xD
[00:24] <sarnold> fair enough :) but be sure to confirm that sudo apt update && sudo apt upgrade   gets you the *next* kernel update when it's released
[00:24] <sloth_on_meth> will do
[00:46] <akik> i know of build-essential to get build tools installed but is there something similar for libs/headers?
[00:47] <sarnold> akik: "apt-get build-dep <packagename>" will install the listed build-dependencies for a given package; this can sometimes be very useful, if you're eg building a newer version of something that is already packaged
[00:49] <akik> sarnold: thanks
[03:07] <bumblefuzz> so, all of a sudden I have no sound from my headphones
[03:07] <bumblefuzz> I've played with all the settings
[03:08] <bumblefuzz> I don't know what to do
[03:09] <sarnold> usually running pavucontrol  is enough for folks to figure out what went wrong, where
[03:09] <sarnold> don't forget to check all the wires, maybe your bunny chewed through the wires
[03:16] <bumblefuzz59> any reason my headphone audio would just die?
[03:16] <bumblefuzz59> only my headphone audio?
[03:16] <sarnold> usually running pavucontrol  is enough for folks to figure out what went wrong, where
[03:16] <yukiup> broken headphones
[03:16] <sarnold> don't forget to check all the wires, maybe your bunny chewed through the wires
[03:16] <sarnold> dead batteries
[03:16] <bumblefuzz59> headphones are workoing
[03:17] <bumblefuzz59> pulseaudio detects the headphones
[03:17] <lotuspsychje> bumblefuzz59: recent updates/kernel could also influence things, check your dpkg logs?
[03:17] <bumblefuzz59> lotuspsychje how to do that?
[03:18] <lotuspsychje> bumblefuzz59: /var/log/dpkg.log
[03:24] <bumblefuzz> what am I looking for in dpkg log?
[03:24] <lotuspsychje> bumblefuzz: anything audio and kernel related
[03:25] <plarke> you might try restarting pulseaudio with pulseaudio -k
[03:26] <bumblefuzz> something is screwed up
[03:26] <bumblefuzz> now I'm showing two bluetooth icons on my menu bar
[03:26] <bumblefuzz> and the sound icon is gone
[03:26] <bumblefuzz> I dunno what I'm looking for in these logs
[03:28] <bumblefuzz> here: https://paste.ubuntu.com/p/gwGG68bzcX/
[03:33] <bumblefuzz> here: http://ix.io/3Hy4
[03:34] <bumblefuzz> lotuspsychje any other ideas?
[03:35] <lotuspsychje> bumblefuzz: pulsaudio updates on 9/12
[03:35] <bumblefuzz> so?
[03:36] <lotuspsychje> bumblefuzz: so that 'could' be related right
[03:36] <bumblefuzz> I just know my headphones stopped working and I have two bluteooth icons in my menubar and no audio icon
[03:36] <bumblefuzz> and I don't know how to fix it
[03:37] <bumblefuzz> is there a way to receheck the integrity of all system files?
[03:37] <bumblefuzz> that way, if something has become misconfigured, I can just run that command and have it put everything back
[03:38] <bumblefuzz> or is that not a thing?
[03:38] <sarnold> bumblefuzz: debsums -ac   is a pretty good starting point
[05:38] <joyce72> Hi, so I working with a machine which I can SSH into, and it seems to be able to access the internet
[05:38] <joyce72> but when I do: sudo apt update
[05:39] <joyce72> Err:1 http://sg.archive.ubuntu.com/ubuntu focal InRelease  Connection failed [IP: 202.79.184.254 80]
[05:39] <joyce72> I get this for all repositories
[05:40] <all64bits> Hi, I'm keen to know if it's possible to have something like a disk image or tarball where its contents remain mounted & accessible like a normal filesystem (read & write etc) but I can hash the image file at any point and confirm if there has been a single bit flipped in any of the files/directories contained inside
[05:40] <joyce72> what's interesting also is that I tried to wget a file from a server, and it seems to resolve the IP address etc, but it just shows
[05:40] <joyce72> Connecting to site.com (site.com)|xxx.xxx.xxx.xxx|:443... connected.
[05:41] <joyce72> but the download doesn't start
[05:41] <Kilos> joyce72  maybe the server is updating
[05:41] <Kilos> try changing repositories
[05:46] <joyce72> also, it seems like I can access google.com from the browser
[05:46] <joyce72> but the moment I try to google search something, it stalls
[05:46] <joyce72> nothing loads
[05:48] <joyce72> I check iptables, no firewall rules or anything seems applied on the network, ufw is also off
[05:48] <joyce72> *on this machine
[05:49] <joyce72> all other machines running on the network have no issues
[05:49] <Kilos> run a speedtest.net in a browser
[05:49] <Kilos> maybe the one has a bad connection to the network
[05:49] <joyce72> so speedtest.net resolves
[05:50] <joyce72> but the browser doesn't seem to load it
[05:50] <joyce72> but if I do dig speedtest.net
[05:50] <joyce72> I get all the A records for speedtest.net
[05:50] <joyce72> so now firefox reports: The connection has timed out
[05:50] <Kilos> in terminal ping 8.8.8.8
[05:51] <joyce72> as expected: PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=2.11 ms
[05:51] <Kilos> bad connection it seems try unplugging and replugging your network connection
[05:53] <joyce72> so fun thing is that the machine in question is acting as a server, and has been able to run services like Minecraft etc
[05:54] <joyce72> in fact I am able to remotely forward the X session
[05:54] <Kilos> oh my, you will have to wait for the clever guys. sorry I couldnt help
[05:55] <joyce72> I am not sure that the physical cables themselves have an issue (the NICs are also bridged here)
[05:55] <Kilos> router settings maybe ?
[05:55] <joyce72> if it is the router settings, then every machine on the rack should face the same issue :P
[05:55] <joyce72> but that's not the case
[05:56] <joyce72> only this specific machine/ubuntu installation has issue
[05:56] <Kilos> apt update
[05:56] <Kilos> what error message do you get
[05:57] <joyce72> same error messages as before, even after switching the software repositories to that hosted by Ubuntu's main servers
[05:58] <joyce72> Err:1 http://archive.ubuntu.com/ubuntu focal InRelease   Connection failed [IP: 91.189.88.152 80]
[06:00] <joyce72> if I do a dig google.com or nslookup google.com
[06:00] <joyce72> I can verify that the DNS resolves properly
[06:00] <Hash> You might have better luck in #networking
[06:00] <Hash> joyce72:
[06:00] <Hash> They have more networking experts
[06:00] <toddc> Server down for maintaince?
[06:02] <tomreyn> joyce72: look at interface statistics, error rates for RX+TX for the internet interface: ip -s link
[06:03] <tomreyn> which ubuntu release is this? which kernel is running? do you have third party apt repositories? what does    apt list --installed | grep ',local\]$'   report?
[06:05] <joyce72> http://pastie.org/p/4bWwMKJOg6m7dheuKhoCOw <-- ip -s link
[06:06] <joyce72> machine runs Ubuntu 20.04.3 LTS, kernel Linux 5.11.0-41-generic x86_64
[06:07] <joyce72> no 3rd party apt repos are configured
[06:07] <tomreyn> all64bits: you can loop mount (see "THE LOOP DEVICE" in mount(8)) file system images. mounting in with the 'ro' (read-only9 option prevents modification of data. another option are overlay file systems.
[06:09] <tomreyn> joyce72: so that seems to be a dell bare metal server with multiple physical network interfaces and two virtual interfaces behind a bridge. what does the routing table look like?
[06:10] <tomreyn> does all traffic pass through this bridge?
[06:10] <joyce72> http://pastie.org/p/2B4KrGEFiFoTuaIgOoVpLG <-- ip route
[06:11] <tomreyn> okay, so why do you push all traffic through the bridge, do you do network traffic inspection on a VM or something?
[06:12] <tomreyn> no Vm, more like lxd apparently
[06:12] <joyce72> bridge0 is the 4 physical NICs configured as a single bridge, lxdbr0 was automatically configured by lxc, and all containers connect to the network through this bridge
[06:13] <all64bits> tomreyn: thanks for that. I suspected that loop devices where what I was looking for but I was having trouble finding the right info in the man pages. Thanks for the pointer
[06:15] <tomreyn> joyce72: so thats a link aggregation setup? how is this setup, can you inspect its health, how is it setup on the other side of the network link (pyhsical switch/router), can you inspect its health there?
[06:17] <joyce72> so physically, 4 cables run to the top of rack switch, which is connected to the router in this network
[06:18] <joyce72> the router is configured to give bridge0 a single IP address based on the MAC address presented by bridge0
[06:19] <tomreyn> ok, i and how do you do the bonding?
[06:19] <tomreyn> -i
[06:19] <tomreyn> or how's LACP setup
[06:21] <tomreyn> has this ever worked, is this the same bonding / LACP setup as on the other systems which do work? what does the router say about the health of this port/interface
[06:23] <joyce72> so I am checking how this server is configured, it seems to be done via NetworkManager
[06:27] <tomreyn> joyce72: the active configuration will be in /run/ in either a systemd-networkd or a network manager file
[06:27] <tomreyn> oh you said NM, ok
[06:27] <tomreyn> i don't even know whether NM can do LACP.
[06:28] <joyce72> I am doing a nmcli connection edit
[06:29] <joyce72> and I did a print
[06:29] <joyce72> this is what I see
[06:29] <joyce72> http://pastie.org/p/5tqjugAWyscajWbxOFqeyf
[06:31] <tomreyn> hmm, no bond.options there
[06:32] <tomreyn> compare it to the other servers
[06:34] <joyce72> so I am checking this on another server running Ubuntu also, there is a bond0 on this other server, configured via netplan
[06:35] <joyce72> which looks like this: http://pastie.org/p/7jSAC9E109obpKd4vrM9Wv
[06:35] <joyce72> this server is alright, and has no issues
[06:36] <tomreyn> so how about you configure either by netplan?
[06:36] <tomreyn> this netplan configuration has no renderer set, meaning it will use systemd-networkd for managing this interface, not network manager
[06:38] <joyce72> yeah, what think I might do is configure a bridge with netplan on the machine I am troubleshooting
[06:39] <joyce72> then see if that changes anything, although probably later when I work directly on the machine itself
[06:40] <tomreyn> this server has a drac integrated, you can use it for out-of-band management, no need to sit next to the server for fixing its network connection
[06:41] <tomreyn> though the other server which you just showed a configuration for only has a two NIC bond, not 4 as here, so it's not that these servers are all the same
[06:44] <joyce72> yeah, except that this iDRAC hasn't a license, so I can't do remote management
[06:47] <tomreyn> hehehe, bad luck
[06:50] <joyce72> huh. so the speedtest.net site FINALLY loaded
[06:50] <joyce72> it seems to be very slow though
[06:51] <joyce72> I'll just try and redo the configuration via netplan anyway
[06:51] <joyce72> without setting any other renderer or anything
[06:52] <tomreyn> i suspect that your issue is that ~25% of traffic is lost
[06:52] <tomreyn> i mean 75%
[06:52] <tomreyn> because bonding is not properly setup on this system, but th other end thinks it is, and spreads the traffic across the links
[06:53] <tomreyn> but that's just a theory.
[06:54] <tomreyn> and, yes, you should use homogenous configurations, should also be setting up OS installations in an automated way, so that you end up with comparable installations and configurations, then use configuration management to ensure this remains so.
[06:56] <tomreyn> on a first impression (which may well be wrong) neither is the case so far, which, in a corporate environment, would be a recipe for disaster. so you really need to reconsider hw you work there.
[07:02] <joyce72> yeah, I am starting to find this whole setup a pain to manage, and am actually planning an overhaul/re-do of the network sometime soon
[07:03] <elge> meaow.  on hirsute, I got no sound with speaker anymore nor with headphones (though usb headset works), seems it happens since kernel upgrade 5.11.0-41
[07:03] <elge> I rebooted on 5.11.0-40 but problem still there.  this is a known issue right?
[07:04] <tomreyn> elge: known issues are those that have been filed as bug reports on launchpad.net
[07:07] <tomreyn> if this now happens with both the kernel you were running when it did not happen, and a newer kernel, this suggests that the issue is not related to the kernel version
[07:08] <tomreyn> probably more like pulseaudio or alsa or some out of tree kernel module
[07:08] <tomreyn> jay-m1261 / jay-m126_  / jay-m1261: whom of you should we be talking to?
[07:19] <elge> tomreyn, ok it was simply volume control that had different interfaces
[07:20] <tomreyn> elge: oh nice
[07:20] <elge> I was using amixer -D pulse Master 10%+ from custom keyboard shortcuts
[07:20] <tomreyn> i'm surprised about an in-release change there, though
[07:21] <elge> but in gnome-settings the (other) volume setting was still zero
[07:21] <tomreyn> i see
[07:21] <tomreyn> keep in mind that you'll need to upgrade to impish soon.
[07:22] <elge> hmm amixer -D pulse and gnome/sound settings are in sync, I just checked
[07:23] <elge> impish?
[07:25] <tomreyn> !impish | elge
[07:25] <tomreyn> whereas...
[07:25] <tomreyn> !hirsute | elge
[07:26] <tomreyn> note "supported until January 2022"
[07:28] <elge> tomreyn, it always takes some time before third-party repos generate builds for the latest release
[07:28] <elge> it's also good not to rush for an upgrade sometimes))
[07:29] <tomreyn> elge: its also good to have the upgrade done before you loose access to security patches
[07:32] <elge> I've got one package held back when trying to release-upgrade
[07:34] <tomreyn> and would like assistence with this? or is it expected?
[07:35] <elge> yes it would be welcome, I am not sure why it is there, I didn't setup this afaik
[07:35] <elge> it's normal behaviour for some package to block themselves now?
[07:37] <tomreyn> no, not within ubuntu
[07:37] <tomreyn> but if you have third party packages, this can be
[07:38] <tomreyn> or if you just didn't run    sudo apt update
[07:38] <tomreyn> let's see those outputs you already have first of you
[07:38] <tomreyn> sudo apt update; sudo apt full-upgrade -V --simulate -y
[07:39] <Unit193> apt-forktracer can be useful to hunt down third party packages too.
[07:41] <nomad_fr> hi, on an Ubuntu 20.04 I was using encrypt swap for 'secure' hibernation on disk. Since an upgrade to 21.10 the prompt which ask to unencrypt swap arrive to late and then hibernation won't work, if I uncrypt it it's work, but can't made it work again in an encrypted way ! I tried on several computer and always obtain the same result, after do-release-upgrade -> no more encrypt swap for hibernation
[07:41] <nomad_fr> (but swap still work). I encrypt my swap this way. https://lab.neuronfarm.net/nomad/wiki-system/wiki/encrypt-swap-Ubuntu-20.04 it works perfectly on an Ubuntu 20.04.
[08:22] <elge> yeah I got now why it was "held back" by default, it broke xorg
[08:23] <elge> linux-modules-nvidia-460-generic-hwe-20.04 kept back
[08:23] <elge> apt reinstall nvidia-driver-460 solved it
[08:41] <tomreyn> nomad_fr: ecryptfs-utils are unrelated to dmcrypt-luks (and should no longer be used).
[08:43] <tomreyn> the rest doesn't seem wrong to me. i noticed that 22.04 introduces a new cryptsetup script for handling hibernation, maybe your release is in the middle of the old and the new machanism.
[08:44] <tomreyn> i would suggest sticking to LTS releases if you need such slightly more advanced things to keep working.
[09:22] <nomad_fr> tomreyn: thanks
[09:24] <nomad_fr> tomreyn: that mean that you suggest me to downgrad !?
[09:24] <tomreyn> nomad_fr: no, not to upgrade in the first place
[09:26] <tomreyn> now your choices seem to be: (1) see if you can make it work, or not use hibernation for a while; (2) install (not downgrade) ubuntu 20.04 LTS
[09:44] <nomad_fr> tomreyn: I think I upgraded to 21.10 for a real reason that I don't remember
[09:45] <tomreyn> nomad_fr: that's exciting info
[09:45] <nomad_fr> tomreyn: do you know where the new cryptsetup script for handling hibernation on 22.04 is ?
[09:46] <tomreyn> no, not really, i also forgot its name, or would have provided that earlier
[09:46] <tomreyn> but if you look which binaries there are in the jammy package, you'll know
[09:46] <tomreyn> https://packages.ubuntu.com
[09:48] <tomreyn> Package cryptsetup-suspend seems to be what i had stumbled upon
[10:08] <nomad_fr> tomreyn: no such packages !
[10:11] <tomreyn> https://packages.ubuntu.com/search?suite=jammy&keywords=cryptsetup
[10:11] <tomreyn> nomad_fr: ^, but note that jammy topics would need to go to #ubuntu-next
[10:12] <nomad_fr> tomreyn: ok thanks
[10:12] <nomad_fr> tomreyn: ok thanksI will trie it
[10:13] <nomad_fr> it require to upgrade libc6 ouch
[10:14] <nomad_fr> it's seems to no be a good idee
[10:16] <tomreyn> i don't think anyone recommended installing this package on your current ubuntu installation
[10:20] <nomad_fr> I just tried on the VirtualMAchine ... it don;t like
[12:07] <unixbeard> Hey, I have a Ryzen 5700G which I am using for my display.  I successfully installed Ubuntu 20.04 with no problem, but after secure boot it hangs on the 'republic of gamers' screen.  However, I believe it successfully boots since I see it has a DHCP lease.
[12:08] <unixbeard> I'm not sure how to fix the graphics on here?  I also forced BIOS to set the on board graphics as default.  I have no video card, just the APU.
[12:28] <KBar> unixbeard, output of `sudo lshw` and `ubuntu-drivers devices`
[12:30] <unixbeard> KBar: I managed to fix it by dropping to recovery mode, apt update/upgrading and rebooting.
[12:30] <unixbeard> lshw -c video was unclaimed at the time!
[12:31] <unixbeard> This was for ubuntu 20.04, and I did tell it to automatically install updates during install.  Weird!
[12:31] <KBar> You might have lost the connection.
[12:37] <unixbeard> KBar: I was trying a different OS prior and for the life of me could *not* get Xorg working with that 5700G ... I am happy this just works, despite a minor bump. :)
[12:41] <KBar> unixbeard, Ubuntu — it just works!
[12:55] <swensson> When running a windows guest OS in virtualbox, the key combos only work in the "Main" window, not in the 2nd monitor, any idea on how to solve this?
[13:00] <KBar> swensson: this channel is for Ubuntu support. Please contact Oracle or Microsoft.
[13:43] <BluesKaj> Hi folks
[14:02] <pikapika> What version has the ristretto symlink fix been added?
[14:02] <pikapika> https://git.xfce.org/apps/ristretto/commit/?id=12515dccb354ffc4ffcc0cdd7a14d58e3b2628de
[14:09] <lotuspsychje> pikapika: check it the ubuntu way, see if your bug is amongs these? https://bugs.launchpad.net/ubuntu/+source/ristretto/+bugs?orderby=importance&start=0
[14:11] <pikapika> Doesn't seem to be in the list. I'll see if they silently added the fix in 20.04 later
[14:12] <noarb> I've just installed ubuntu server onto a raspberry pi 4 (using the rpi imager), but I can't connect to the network via ethernet. This page https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi says wired ethenet should "just work" but ive seen some other issues online. dhclient doesn't bring it up either
[14:12] <pikapika> Otherwise file a report I guess, its already fixed and was a single line change so I think it shouldn't be trouble to the maintainers
[14:12] <dubiago> Oh, weird...yea, ethernet just worked for me...I had trouble with WiFi
[14:12] <KBar> pikapika: Xfce development migrated to Gitlab. Visit this page: https://gitlab.xfce.org/apps/ristretto
[14:13] <pikapika> KBar, that site doesn't seem to have the archives from the old site
[14:15] <KBar> pikapika: you might want to join #Xubuntu or #xfce to ask Xfce-related questions. Furthermore, forum.xfce.org also might be a place that you'd want to visit.
[14:16] <KBar> pikapika: you can search on this page: https://gitlab.xfce.org/apps/ristretto/-/commits/master
[14:17] <pikapika> KBar, yeah but how do I associate a git commit id with the version number of ristretto and or if a distro has included it downstream
[14:17] <KBar> "That site" is where most of the development of many open-source projects takes place these days.
[14:18] <KBar> pikapika: are you on 20.04?
[14:18] <pikapika> KBar, this one is 18.04
[14:19] <KBar> I don't think the maintainers are going to apply that commit to 18.04.
[14:20] <pikapika> Oh ok
[14:20] <pikapika> KBar, is it because its too recent?
[14:20] <KBar> Your best option is to grab the code, modify it and recompile yourself.
[14:20] <pikapika> Yeah I prefer not to have to get into the "fork problem" but I'll try that
[14:20] <KBar> pikapika: yes and because 18.04 is a stable release.
[14:21] <KBar> There is a strict policy in place. https://wiki.ubuntu.com/StableReleaseUpdates
[14:21] <lotuspsychje> can he try !backports ?
[14:21] <pikapika> No thats fine
[14:21] <pikapika> It is important for a stable release not to start including any and all new edits
[14:22] <KBar> lotuspsychje: they can, if it gets included in there.
[14:22] <pikapika> Yeah I'll have to check first if the edit was added to 20.04
[14:22] <lotuspsychje> !backports | pikapika perhaps
[14:23] <pikapika> if it was I could do with a backport
[14:25] <KBar> pikapika: I reckon it's Xubuntu. Check out this page: https://launchpad.net/ubuntu/+source/ristretto
[14:25] <pikapika> Yes Xubuntu
[14:25] <KBar> There you can find if the commit was included.
[14:30] <noarb> re: the rpi4 ethernet problem, does ubuntu server default to ipv6 with newer Raspberry Pi 4 builds?
[14:30]  * octav1a pets pikapika
[14:30] <pikapika> octav1a, rawr :3
[14:31] <octav1a> :3
[14:37] <waveform> noarb, it should default to a combination of ipv4 and ipv6 (same as the PC server images)
[14:56] <imi> how do I unlock/deactivate the screensaver from commandline? (gnome) xset dpms force on only turns the screen back and it remains black with the mouse pointer visible. I want the display to be fully reactivated with the screensaver inactivity timer reset (therefore eventually activating the screensaver again)
[15:22] <imi> sarnold: https://itectec.com/ubuntu/ubuntu-unlock-gnome-screensaver-instead-of-deactivating/ this seems to be answering my question
[15:23] <Vnome> hi
[15:32] <lotuspsychje> imi: sarnold is afk atm, but we will pass the message
[15:47] <sidh> Greetings
[15:49] <sidh> I really am sorry to disturb , but I have a ubuntu 20,04 LTS with ZFS (zsys) install, and I can not boot any more, with live cd I can see rpool and bpool, I tried to install boot-repair, but it stops working saying I have no internet connectivity (which is not the case)
[15:50] <sidh> could you help me please to repair grub on my ubuntu zsys intall ?
[15:53] <dauggy> Hi Folks! How to aproach the migration of the system with all files and settings to a new machine? On MacOS there's a migration assistent for that, do we have a similar tool for ubuntu?
[15:57] <KBar> sidh: greetings and welcome. I can't help you, but if you're not in a rush, stick around and maybe who knows about this stuff will guide you along.
[16:17] <dauggy> my current strategy would be to create the disk image with this tool http://manpages.ubuntu.com/manpages/bionic/man8/dump.8.html
[16:17] <dauggy> and restore it on the new computer
[16:17] <dauggy> is there a better way?
[16:18] <dauggy> like on macos I can simply connect the two machines with a thunderbolt cable and all the magic happens automatically
[16:19] <jhutchins> dauggy: Nothing quite that mindless.
[16:20] <jhutchins> dauggy: Dump is not what most people would use; dd, rsync, or clonezilla are more likely.
[16:21] <dauggy> what's wrong with dump? I found it suggested here, look rather straightforward https://askubuntu.com/a/175995
[16:21] <dauggy> *looks
[16:23] <jhutchins> dauggy: You'll find multiple suggestions for the correct options for rsync.
[16:23] <jhutchins> dauggy: Almost nobody uses it, so it's hard to get advice and support.
[16:23] <jhutchins> dauggy: Other than that, nothing's "wrong" with it, you can go ahead and try it, see what you like.
[16:24] <jhutchins> dauggy: It's a little bit archaic, but not in any way deprecated, just superceeded by newer tools.
[16:24] <dauggy> jhutchins: got it, thanks :)
[16:59] <phr34k> hey! I was hoping to get some help with a problem, installed ubuntu on a new machine, but it won't allow me to poweroff the machine.
[17:00] <phr34k> whenever i issue a shutdown command it always reboots like 2secs after that.
[17:01] <phr34k> I already disabled wol, upgrade dis, update apt
[17:14] <KBar> phr34k, that's strange. Ubuntu version?
[17:14] <phr34k> i downloaded the latest "server" iso from the website
[17:15] <phr34k> "Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-91-generic x86_64)"
[17:28] <phr34k> any thoughts?
[17:29] <Maik> phr34k: #ubuntu-server
[17:29] <Maik> maybe someone there knows
[17:36] <jhutchins> phr34k: The "server" infrastructure isn't any different from the rest of Ubuntu - it's all built on the same underlying system.
[17:37] <jhutchins> phr34k: How are you telling it to shut down?
[17:37] <phr34k> yes that was my thought also, I only installed it because i don't need a gui and it was the easiest way to eliminate it.
[17:38] <phr34k> I tried both ``shutdown now` and `shutdown -P now` and a single press on the power button.
[17:40] <jhutchins> phr34k: For the sake of completeness, you could try `shutdown -h now` and `halt`.
[17:40] <phr34k> I just upgraded the kernal version and the -P flag worked right now
[17:40] <jhutchins> phr34k: There's also `poweroff`
[17:41] <jhutchins> phr34k: canonically, `halt` does everything _but_ power off.
[17:43] <phr34k> looks like all i actually needed was a kernel upgrade both commands now work cheers1
[17:59] <jhutchins> phr34k: The reboot is a pretty rare glitch, it's more common for a system to hang just short of power off.
[17:59] <jhutchins> phr34k: Congratulations on solving it!
[18:04] <Sefer> hey there, I have a problem regarding luks on a server (pxe autoinstall with desktop-package) installation. I noticed that I cannot enter the correct password for the encryption because it is using the wrong keymap as it seems. I tried comparing a server install to a desktop install but can't find noticeable differences in `/etc/default/keyboard`
[18:04] <Sefer> or cached files in `/etc/console-setup` or `/etc/initramfs-tools/initramfs.conf`. Therefore I have to ask and need your help in fixing the keymap for the luks decryption. I searched a while on the web and cannot find a working (a proper non-hacky) solution. What does the desktop installer do differently?
[18:04] <trafficjam> hey guys, how can i replace (recursively) all files in a directory, from the string "foo" to "bar"?
[18:05] <jhutchins> trafficjam: Do you perhaps mean rename, not replace?
[18:05] <trafficjam> jhutchins: as in the replace any instance of "foo" with "bar" for all files in that dir tree
[18:06] <trafficjam> (in the file contents, not the name)
[18:06] <jhutchins> trafficjam: You might be able to do it with sed, but you'll have to wrap it in something to do multiple files.
[18:11] <trafficjam> jhutchins: got it, thanks
[19:44] <Sven_vB> hi :) I'm on focal and trying to update my grub config from git, but "error: chmod on /mnt/esp/grub/.git/config.lock failed: Operation not permitted" probably because my ESP uses a FAT-16 filesystem. what can I do?
[19:53] <Sven_vB> I'll try and ask #git
[20:28] <Sven_vB> seems like modern git just doesn't support FAT-16 anymore. I'm considering installing an old enough git, or faking successful locking, maybe via LD_PRELOAD. or is there an even easier way?
[20:32] <merpnderp> Is this a legitimate concern for security? https://secscan.acron.pl/ubuntu1604/1/1/2
[20:42] <Sven_vB> merpnderp, I for one agree with the Rationale there, I like noexec and similar flags on my /tmp. also a size limit, but that could be enforced using other means.
[20:43] <Sven_vB> however, in some cases you need executable tmp. I had that with docker-compose some months back
[20:44] <Sven_vB> for any security measure there's most likely some program somewhere that doesn't like the constraint.
[20:49] <merpnderp> Sven_vB: okay, thanks.
[21:14] <merpnderp> In bash, how would I run a command for every user?
[21:16] <matsaman> merpnderp: via root you mean?
[21:16] <merpnderp> Read /etc/passwd and then go through every line and see if it ends with a valid shell and if it does, split the line on : and use the first in the array to fix their password policy?
[21:17] <matsaman> or including potentially having to authenticate for each?
[21:17] <merpnderp> matsaman: yeah, this can run as root.
[21:17] <merpnderp> I need to update everyone's password policy
[21:17] <matsaman> ah
[21:17] <merpnderp> And for some reason I'm having to write a script instead of just doing it.
[21:17] <merpnderp> Because we have two whole servers.
[21:17] <merpnderp> And it's just impossible amount of work to do it twice.
[21:18] <matsaman> but they use PAM?
[21:18] <merpnderp> Some.
[21:18] <merpnderp> We have 3 accounts that don't.
[21:18] <matsaman> there's probably a global way to do it, and then we could also script it of course
[21:18] <merpnderp> root, and two others.
[21:19] <merpnderp> I should do this all in Perl or Javascript. Way easier.
[21:19] <merpnderp> But I'd have to run it as root.
[21:19] <matsaman> you can do it in perl as root
[21:19] <merpnderp> And I'm not running perl or js as roo.t
[21:19] <matsaman> I mean, also JS, but that's less common than perl by far
[21:19] <matsaman> oh okay =P
[21:19] <matsaman> anyway I think your idea will work fine
[21:20] <merpnderp> Okay, thanks for the sanity check :)
[21:20] <merpnderp> Wonder if I could just find a job writing some esoteric C++ some place that had actual sys admins to do the sys admining.
[21:20] <matsaman> if you wanted to be more fancy about it
[21:21] <matsaman> you could figure out how to evaluate the password policy of each user and if it's conformant to what you want
[21:21] <matsaman> and if not update it
[21:21] <merpnderp> That's more if tests in my bash.
[21:21] <merpnderp> lol
[21:21] <matsaman> yeah =P
[21:21] <matsaman> most likely the first PoC will suffice
[21:22] <merpnderp> I was totally tricked.
[21:22] <merpnderp> "Yeah, we're moving to Ubuntu. Don't worry our sys admins are certified linux admins."
[21:22] <matsaman> hahaha
[21:22] <merpnderp> Bahahahahhhaa, they left off the "But they're too busy to do any of our admining."
[21:22] <matsaman> someone put a sticker with the name of another distro over the 'Ubuntu' you mean? =P
[21:22] <merpnderp> From the answers I get, I think that's right.
[21:23] <matsaman> person who does the work should make the decisions
[21:23] <matsaman> otherwise you waste time & effort, which is money
[21:23] <matsaman> not sure why managers don't get that
[21:23] <matsaman> probably 'cause their own managers also don't know how to manage =P
[22:15] <sidh> is there someone that could help me troubleshooting a zsys install
[22:15] <sidh> ?
[22:16] <gry> what with it?
[22:16] <sidh> I can not boot anymore without typing manually in grub prompt
[22:16] <sidh> bpool is not used
[22:17] <sidh> and it seems rpool/boot directory is used instead
[22:18] <sidh> each time i upgrade a kernel, update-grub fail to update grub.cfg
[22:18] <sidh> I really need to fix this
[22:27]  * dauggy says goodnight
[22:27] <matsaman> nite
[23:03] <hype> I'm a beginner who started running ubuntu on VPS.
[23:03] <hype> I have installed ZNC and managed to use it.
[23:04] <jhutchins> !znc
[23:04] <jhutchins> These bots need work.
[23:06] <gry> hype welcome
[23:09] <hype> gry Thank you.
[23:28] <jhutchins> hype: What hosting provider are you using?
[23:30] <hype> jhutchins I'm Japanese, so I use Sakura VPS. The servers are located in Hokkaido.
[23:45] <hype> https://vps.sakura.ad.jp
[23:47] <jhutchins> hype: Good experience with them so far?
[23:49] <hype> jhutchins Both the server and the connection are stable so far.
[23:49] <jhutchins> That
[23:50] <jhutchins> 's good to hear, too often we don't hear about providers unless something goes wrong.
[23:52] <hype> The ubuntu installation and initial setup were completed without any problems.