/srv/irclogs.ubuntu.com/2025/02/06/#ubuntu.txt

=== javi404_ is now known as javi404
oerheksyes01:11
=== genii_ is now known as genii
=== mrbutthead19587 is now known as mrbutthead1958
=== timj3 is now known as timj
yogaumHello06:10
=== mrpond1 is now known as mrpond
Guest83😀08:21
l0k1Hi, i have a question to hibernation and secure boot. My notebook can't enter the hibernation when i close the lid. I can see in the journal: "Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7". Is there any workaround to get hibernation working?09:50
=== ramblebamble is now known as ramblebamble_afk
yogaumHello11:38
yogaumAnyone active?11:38
mgedminl0k1, please don't leave before you get a chance to hear an answer to your question11:52
=== ramblebamble_afk is now known as ramblebamble
Elisahi12:42
BluesKajHi all12:45
=== jimmyb5 is now known as jimmyb
deadromwhat's ubuntu server's default retention policy for old kernels?14:12
mgedminsame as ubuntu desktops, I think -- it tries to keep two of them, for every flavor (-generic etc) that you have installed14:13
oerheks214:15
oerhekssome reading , https://askubuntu.com/questions/620266/how-does-apt-decide-how-many-old-kernels-to-keep14:16
deadrom2 is what I had in mind, still I hear here that the colleagues had to clear up manually as a 2GB /boot was crammed with old kernels. Let me read up then..14:24
pragmaticenigmadeadrom: creating a /boot partition is an old practice that is not necessary any more, unless you are doing full drive encryption which depending on configuration may still require it14:26
oerheksdeadrom, when you switch to HWE, the old kernel tree stays and gets updates too, IIRC14:27
pragmaticenigmadeadrom: if you accepted defaults during an Ubuntu install, there will not be a /boot partition on your machine, and thus no need to worry about sapce14:27
deadromdeplyoment is configured like that14:27
deadromno hwe, vms14:27
pragmaticenigmadeadrom: they should stop doing that... it's not necassary on modern hardware14:28
deadromwell, I'll rather have boot run full than /14:28
deadromok, / is monitored, true, but whether the mechanism fails on /boot or / -- I'd like the system to only keep 2 kernels around at any rate14:29
deadrombut technically: we hab /boot around for decades for a reason, what reason went away that "forget /boot" is the new gospel?14:30
deadroms/hab/had14:31
pragmaticenigmaWith UEFI firmware, it is no longer needed. /boot is from a time when the computer would search a specific area of the harddrive for the boot strap code, after post14:31
LACERDAOLA14:33
oerheks:-)14:33
deadromthe system would look at the boot drive's first secotrs and usually find a boot loader there. in case of grub that would hold the info where to search the kernel image14:34
deadromso technically, you didn't have to have /boot on legacy systems either, it was more of a "leave the essential stuff untouched" thing. Which I still think is a good idea.14:35
deadromI remember /boot on ext2 as no need for ext4 journals on it, for example, or to boot bare metal to raid from a usb thumb etc14:36
pragmaticenigmathat is wrong, but this isn't the place to debate it further14:39
deadromif not here where else?14:39
mgedmin#ubuntu-discuss, probably14:40
mgedminor #ubuntu-offtopic14:40
deadromdisagree. I have an issue at hand and need to solve long run. I get told my ways are deprecated but no why, I get told my statements are wrong but not how.14:41
pragmaticenigmadeadrom: you had no issue, your original inquery was for information which you received14:41
pragmaticenigmayou asked how many kernels are retained, the answer is 2, for each "class" or "flavor" of kernel on your machine. -general, -hwe, etc14:42
deadromand had you read up you would have seen that I have an issue at hand, which now on top of all you deny. you know what, let someone else.14:43
pragmaticenigmaI have read... the only "issue" you noted was that coleagues have had to do clean up. That doesn't say you are experiencing an issue.14:43
deadromthis is ridiculous.14:44
pragmaticenigmaThe fix, if it is a concerns is to stop installing with a dedicated /boot partition. Kernel is progressively getting larger and larger with each version. there is no way to know how large each kernel will be, so the solution is to stop making a /boot partition14:44
pragmaticenigmadeadrom: if you have a specific issue with your installation, then actually state the problem you want help with. If you're not experiencing a problem, there is nothing that can be offered to you to fix what isn't broken14:50
leftyfbdeadrom: all of my ubuntu servers have only 2 kernels installed as intended14:54
leftyfbdeadrom: what release of ubuntu are you running?14:54
deadromleftyfb, well, there's situations in which old kernel packages may get marked not to be auto-removed from what I gather. it's a 22.04 and I think it might have been upgraded from 20.04, something I don't recommend for production servers yet here we are. I'll try and see what was removed...14:55
leftyfbdeadrom: which kernels are installed?14:56
deadromsheesh... those gt purged now https://paste.debian.net/1348734/ and installed right now are... hang on14:58
leftyfbdeadrom: also, you know the only way the old kernels get automatically removed is by running "sudo apt autoremove" right?14:58
deadromvmlinuz-5.15.0-126-generic and -131-generic14:58
leftyfbdeadrom: also, 5.15 is not the ubuntu 22.04 HWE kernel14:59
deadromlet's clarify HWE: for VM ops, would I want hwe?15:00
leftyfbyes15:00
leftyfb5.15 was released almost 4 years ago15:00
deadromwell yes, and it's the kernel that shipped with 22.04 isn't it?15:01
leftyfbyes, and is outdated15:02
leftyfbyou're not even running the latest 5.15 available in ubuntu 22.0415:02
leftyfboh wait, maybe you are15:03
leftyfbstill15:03
leftyfbthe HWE kernel is highly recommended15:03
leftyfbwhich is currently at 6.8.0-5215:03
deadromThe 5.15 GA kernel is supported until April 2027. I don't see an issue.15:03
leftyfbbetter hardware support, more efficiency, possibly bug fixes15:06
deadromjava application servers, on-prem not exposed, they work, as long as nobody complains I'm not gonna install new kernels. more likely to intro new api issues with java than anything. never touch a running system.15:07
leftyfbgoodl uck15:07
leftyfbgood luck*15:07
deadromall fine. only need to figure why the old kernels don't get removed. I'll check the autoremove thing, that's solid to go after. not my deployment, so...15:09
deadromleftyfb, hang on, if default policy is to retain 2 kernels, why do I still need to setup autoremove? Wouldn't the 2 kernel policy be enforced by system defaults then?15:30
oerheksno need for autoremove, next update run will remove them automaticly15:33
oerheksyou could do that in the same session15:33
deadromoerheks, please clarify: will invoking update automatically invoke autoremove as well?15:35
pragmaticenigmaif you perform update from GUI yes, if you perform update from command line, no15:36
oerhekscorrect, the gui shows that15:41
oerheksoh wait, you are on server. then no15:41
=== NDPZenB00k is now known as NDPZenBook
deadromoerheks, that could be the explanation. I'll add it to /arr/spool/apt-mirror/var/postmirror.sh and observe15:56
Guest7what is more secure - ubuntu or debian?16:17
oerheksboth are16:18
oerhekswhat answer would you expect in the ubuntu support channel?16:18
leftyfbGuest7: feel free to discuss non-support topics in #ubuntu-offtopic16:18
oerheksthe only culprit is the user 🤭16:18
=== Guest5857 is now known as larkon
ograWell, the answer here is clearly Ubuntu ... debian does not do security support for its whole archive while Ubuntu does now (with pro enabled) ...16:44
pragmaticenigmaogra: Do you have a support question?16:45
ograheh, no :)16:45
=== richardla is now known as Bueford
janskeyi connect my bluetooth speaker, but the volume keyboard control doesn't work the volume. any idea?17:10
pragmaticenigmakeyboard control will not control the speaker directly. the keyboard can only change the audio output of the computer's own sound output17:14
=== hjgkhgf6436f is now known as GSP
janskey@pragmaticenigma thats odd, why does it work with other linux distro? i've tested with Linux Mint and it works.17:23
pragmaticenigmathe way you phrased your question, it appears you expect the keyboard to directly control your speaker, which it cannot do.17:24
janskeyso is it possible or not?17:25
pragmaticenigmaas your question is phrased, no17:26
oerheksdid you select the right keyboard? settings>keyboard17:26
janskeyare you referring the layout?17:27
janskeyits English (US), default.17:28
ograand the right audio output in the settings ? pulseaudio did not always pick up output changes in the past so the volume control will keep controlling line out while BT or HDMI is ionm use17:28
ogra(pipüewire should be better at that though)17:28
leftyfbjanskey: to be clear, the keyboard sound control will control the volume output of your computer, regardless if the output is hardwired speakers or bluetooth. The volume output to your bluetooth speaks will be adjusted accordingly. But The volume controls will not control any separate volume controls on the speaker itself17:29
ravageDid not know there is a German fork :D17:29
pragmaticenigmaogra: default sounds system is pipewire in newer editions of Ubuntu17:29
ograpragmaticenigma, i'm well aware17:29
ograpragmaticenigma, we switched it in 22.04 ... so 20.04 might have such issues ...17:31
janskeyfyi i'm using macbook, so is it possible to configure to control it via keyboard?17:32
leftyfbjanskey: open up your sound settings17:34
ograjanskey, open the settings, go to audio and check what output your system uses17:34
pragmaticenigmajanskey: as already mentioned, the volume control only affects the system sound output. It cannot control the bluetooth speaker's onboard volume control.17:34
janskey@ogra it uses bluetooth output17:35
leftyfbjanskey: when you press volume up or down, do you see an onscreen popup that shows the volume going up and down?17:35
janskey@leftyfb yes, pop up shows. it also change the built-in volume but not the bluetooh.17:36
ograthen it should also control the system output stream to that ... you could try switvching back and forth between outputs to see if that helps17:36
leftyfbit will change the output going to the bluetooth device17:36
pragmaticenigmajanskey: you have to manually set the volume of the bluetooth speaker, then the output level from the computer can be adjusted by the keyboard/system controls17:37
janskeyif i press the keyboard volume up/down, it only change the built-in output in the PulseAudio. but when i press the belutooth speakers volume physically, thats where the PulseAudio audio controls also change.17:39
janskeyso maybe the keyboard needs to know if there is a speaker connect, it will map to the bluetooth device instead.17:40
leftyfbthat's not how this works17:41
janskeyprobably this can be configured?17:41
pragmaticenigmait will never work that way17:41
leftyfbthe keyboard doesn't know or care about bluetooth at all17:41
ograno, the keyboard only talks to pulseaudio (or pipewwire if you are on a more recent release)17:41
ograthe sound server then controls the stream volume going to whatever device ...17:41
janskey@ogra if thats true, then how did linux mint and mx linux made it work? i tested it on both distro.17:42
pragmaticenigmaThey didn't17:42
ograno idea, you might have found a bug17:42
leftyfbbut not a bug in the way you think it is17:42
oerhekson what desktop? ..17:42
pragmaticenigmaThey 100% did not control your speaker in the manner you think they did17:42
oerhekspulseaudio or pipewire?17:42
ograright, thesy will also do the exact same thing ubuntu does ... control the volume of the audio stream17:43
oerheksgnome extention to control different output devices , up to gnome 44 https://extensions.gnome.org/extension/6036/advanced-volume-control/17:43
leftyfbjanskey: when you go to settings -> bluetooth >- your bt device .... what does it say under "Type"?17:44
janskeyi'm not sure the type, i dont see.17:46
janskeythis one?17:46
janskey/org/bluez/hci017:46
yetitwohello! i'm trying to install neovim on a new machine. i've done `sudo add-apt-repository ppa:neovim-ppa/unstable` and i've verified that the repo is being queried when i run `sudo apt update`. when i do `sudo apt info neovim`, it points at `oracular/universe` in the ubuntu archive, not the PPA that i just added. when i do `sudo apt-cache policy`,17:47
yetitwothe new PPA isn't present at all. I tried adding an entry to `/etc/apt/preferences.d/`, but that doesn't seem to have helped. any idea on what to check next?17:47
leftyfbjanskey: open settings17:47
leftyfbyetitwo: you'll need to contact the PPA owner for support with their package17:47
yetitwoand to clarify: i want the PPA and not the one packaged by ubuntu because the ubuntu archive is behind a version and treesitter isn't compatible with the version17:47
pragmaticenigmayetitwo: 3rd party software is not supported here, you will have to contact the mainter of the repository for suppotr17:47
janskeyyes, i'm the bluetooth settings already.17:47
yetitwo... it worked on my previous machine17:47
yetitwoand this seems to be an issue with apt, not with the PPA17:48
pragmaticenigma!latest yetitwo17:48
leftyfbyetitwo: the issue is the PPA doesn't support the release you are running17:48
leftyfbwhich is an issue with the PPA17:48
yetitwohttps://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable shows 24.10, and that's what i'm running17:48
leftyfbit got updated 6 hours ago, maybe it's not fully supported yet17:49
leftyfbcontact the PPA owner for support17:49
yetitwoit's a nightly build17:49
yetitwoit's going to be updated nightly17:50
oerheksyetitwo,  run update & upgrade, it would update to v1017:50
yetitwoagain, this seems to be an apt issue, not an issue with the PPA17:50
yetitwoor else please let me know what i can do as further troubleshooting steps17:50
pragmaticenigmayetitwo: the problem is the PPA owner has something misconfigured... no support here17:50
oerheksalways run proper updates before adding a PPA17:50
yetitwoi've run update multiple times17:51
pragmaticenigmayetitwo: there is nothing more to the command to add a PPA... after that it is the PPA's owner's responsibility to make sure items are in their repository, which they don't appear to be in the right places.17:51
oerhekshttps://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable17:51
yetitwois there any way that i can figure out *what* is misconfigured on my side so that i know what to communicate to the ppa?17:51
yetitwoppa maintainer*17:51
oerhekspastebin your update run?17:51
yetitwohttps://hastebin.com/share/papexajoze.less17:52
pragmaticenigmayetitwo: as you said, it's not finding the package... so probably inform them that they're 24.10 release is not in the correct location for their PPA17:52
yetitwowouldn't that 404 in the update?17:52
yetitwothat's the behavior i've seen in the past17:52
leftyfbyetitwo: I just spun up an oracular machine and added the PPA. The package is not available for this release. Please contact the PPA owner for support17:53
oerheksweird, it shows https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable?field.series_filter=oracular17:54
yetitwohmm yeah17:55
yetitwolooks like a build failure17:55
yetitwohttps://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable/+packages17:55
yetitwoleftyfb: thank you17:55
oerheksoh, Waiting to build17:58
leftyfb[12:49:27] <leftyfb> it got updated 6 hours ago, maybe it's not fully supported yet17:58
ograFWIW you can as well just do "sudo snap install nvim --classic" the snap is well maintained and updated regulary18:19
ogra(in fact i think it is maintained by upstream)18:20

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!