/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
omega_doomIs there a way to download a package of specific ubuntu version?19:52
PTNapivoskiomega_doom, go to the package page19:53
PTNapivoskiLike here: https://packages.ubuntu.com/jammy/linux-firmware19:53
PTNapivoskiOr here: https://packages.ubuntu.com/jammy/php8.1-common19:53
PTNapivoskiChoose architecture19:54
pragmaticenigmaomega_doom: what purpose do need a specific version like that... note that packages have dependencies that may not be compatible with your present version of Ubuntu. Is there a specific problem you are looking to solve?19:55
omega_doomI'd like to download some packages for a pc that has a different ubuntu version and where i don't have good internet connection.19:58
oerheks!offline19:59
ubottuIf you need to download Ubuntu packages using another machine or OS, check the desired packages in Synaptic and select File > Generate package download script. See also !APTonCD19:59
=== realivanjx1 is now known as realivanjx
pragmaticenigmaomega_doom: the problem is that packages have dependencies. So downloading a single package my not provide everything that you need to install an application on another machine. There is a tool for downloading packages to disk in Synaptic. However, it can only provide the current installed version of Ubuntu's packages.20:08
pragmaticenigmaomega_doom: if these machines are offline, or reduced network availability, you may need to relocate the machine temporarily to get the software you desire onto them, then put them back.20:09
LuckyManunless you want to install a flatpak or a snap20:09
LuckyManthey are self contained20:09
younderIt sounds like you could script something that download the dependencies on a memory stick for a give Ubuntu version. If you can write it in all likelihood someone has..20:10
younderhttps://help.ubuntu.com/stable/ubuntu-help/addremove-install-synaptic.html.en20:20
omega_doomyounder: with aptoncd? Is it available in apt?20:20
pragmaticenigmaomega_doom: that suggestion only works if both machines are the same version of Ubuntu... which you mentioned may not be the case20:21
younderhttps://help.ubuntu.com/community/Synaptic/Offline20:23
pragmaticenigmayounder: that only works for same version of ubuntu at the destination. they indcated they needed to do this for a different version of ubuntu20:24
gmachine24running ubuntu server 22.04.5LTS - am having problems with a 2TB spinning data drive in an external USB drive bay. Here are the details: https://pastebin.com/iUd0i65T20:26
gmachine24Also, I can run commands from the prompt in emergency mode but I often seem to have trouble figuring out the command that reboots the system - and I've looked online. I'm guessing there's a simple way to do this that I am missing.20:30
pragmaticenigmais the machine trying to boot from this external drive?20:31
gmachine24no it's a back up drive for one of the data drives in the case20:32
gmachine24I have three spinning data drives in the case and three in the external USB bay20:34
gmachine24the case is Syba SY-ENC50104 4 Bay 3.5ā€ SATA III HDD Non-RAID Enclosur20:34
pragmaticenigmait's odd that it would just bug out like that... all I can think of is to wipe the drive and reset it up again20:35
gmachine24so no sense in running the long smartmontools?20:36
leftyfbgmachine24: when the drive is mounted and you are accessing it, take a look at dmesg20:36
gmachine24ok leftyfb two highlighted lines re: this drive basically "No Caching mode page found" and "Assuming drive cache write through"20:42
leftyfbgmachine24: you're looking for ATA or I/O errors while mounting and/or accessing the drive20:43
gmachine24I think there are some on boot but for some reason I can't see those lines in dmesg leftyfb20:44
gmachine24and the lines moved past so fast - I can try taking a photo because the screen does halt there for a second or two20:45
gmachine24i'll brb20:46
bpromptgmachine24: you can output "dmesg" to a file as well, using a file redirection20:47
gmachine24yes bprompt20:52
=== noah33655 is now known as noah3365
=== omnigoat9 is now known as omnigoat
gmachine24OK can I post this photo somewhere it's a couple long lines but it begins with "failed to start File System Check on /dev/disk... " etc. and then two lines DEPEND Dependency failed for /mnt/DATABACKUP.BACKUP and DEPEND Dependency failed for local file systems20:55
=== DangerM_ is now known as DangerM
oerheksimgur  :-)20:56
gmachine24maybe I don't need to post the photo - those are the lines leftyfb and bprompt20:56
bpromptgmachine24: imgur or snipboard.io  either will do, all you do is paste the image from the clipboard, or get its file20:56
leftyfbgmachine24: ( uname -a ; lsblk ; sudo dmesg -T ) | nc termbin.com 999920:57
gmachine24OK give me a few mins20:57
leftyfbto type that?20:57
pragmaticenigmaI think they're going back and forth on a diffrent machine20:59
gmachine24yeah I'm using putty on my windoze machine and the server usually runs headless so I have to go over and take a photo, etc., then reboot...I wanted a photo which got the complete screen21:08
gmachine24ok here's the photo https://imgur.com/a/sEdiSf321:12
leftyfbgmachine24: does the machine in question have internet?21:13
gmachine24yes21:14
leftyfbgmachine24: ( uname -a ; lsblk ; sudo dmesg -T ) | nc termbin.com 999921:14
gmachine24i'm waiting for it to reboot and then i will run that command21:14
leftyfbgmachine24: run it over ssh , post the resulting URL here21:14
leftyfbyou do not need a screenshot21:15
gmachine24https://termbin.com/hulb21:16
leftyfbwhich drive is having the issue?21:16
gmachine24it's /dev/sdi121:18
gmachine24or just /dev/sdi21:18
gmachine24no wait I'm sorry that's wrong21:18
gmachine24it was that one now it's /dev/sdh21:19
leftyfbgmachine24: sudo mkdir /mnt/tmp && sudo mount /dev/sdh1 /mnt/tmp21:21
leftyfbdoes that work?21:21
gmachine24well I realized I was probably supposed to run that command you gave me after I mounted the partition manually so I'll run the command again21:22
leftyfbyou can mount it manually?21:22
gmachine24yes21:22
leftyfbgmachine24: ok, unmount it21:22
gmachine24oh ok21:22
leftyfbpost the line from your fstab that matches this drive21:22
gmachine24#UUID=b7c68806-babc-44d7-b1a1-5c6eaaf0734b /mnt/DATABACKUP.BACKUP ext4 defaults           1 221:23
leftyfbdoes /mnt/DATABACKUP.BACKUP exist?21:24
gmachine24yes21:24
leftyfbgmachine24: blkid /dev/sdh21:25
gmachine24 /dev/sdh: PTUUID="a086ca03" PTTYPE="dos"21:25
leftyfbuh21:26
gmachine24yeah21:26
gmachine24I see that, too21:26
gmachine24everything else is gpt21:26
leftyfblsblk -o +type -e7 -f /dev/sdh121:27
gmachine24you want the results of that command?21:28
leftyfbyes21:28
leftyfbI don't need the headers21:28
gmachine24https://pastebin.com/BjBBQPWn21:29
leftyfbthat doesn't match your dmesg21:29
gmachine24the uuid?21:30
leftyfbnone of it21:30
gmachine24hmm21:30
leftyfblsblk -o +type -e7 -f | nc termbin.com 999921:30
gmachine24https://termbin.com/qsdm21:31
leftyfbyou have this drive mounted to /mnt/DATABACKUP.BACKUP ?21:33
=== Dragonslicer is now known as Dragnslcr
leftyfboh right, my original blkid command was wrong21:33
leftyfbthat's why it didn't match21:33
leftyfbgmachine24: confirm if the drive it currently mounted or not21:34
gmachine24yes it is at /mnt/DATABACKUP.BACKUP I was seeing if I could read the drive via Samba from my Windows machine21:35
leftyfbsudo umount /mnt/DATABACKUP.BACKUP21:35
gmachine24done21:35
leftyfbgmachine24: mount |grep sdh21:36
leftyfbthat show anything?21:36
gmachine24there's a space there, correct? between | and grep?21:36
gmachine24no it shows nothing21:36
leftyfbwon't matter21:36
leftyfbok21:36
leftyfbuncomment the related line in your fstab21:37
gmachine24already done21:37
leftyfbgmachine24: sudo mount -a21:37
leftyfbany errors?21:37
gmachine24no but hang on a second21:38
leftyfb?21:38
gmachine24sorry - there is one drive that doesn't mount and its UUID doesn't match what I think should be its fstab entry - but the one we've been working on mounts21:42
leftyfbok, then you've found the problem21:42
=== Game114542272 is now known as Game11454227
isf369i installed SDDM (the display manager) but it fails to run. "systemctl status sddm.service" reports "failed (Result: exit-code)"21:44
gmachine24well, not sure. because two lines vanished from the fstab file21:44
leftyfbisf369: why did you install ssdm?21:44
gmachine24and i don't know how that happens. but it happened the other day as well.21:44
isf369leftyfb: so i could use it with LXQt (which doesn't come with one.) previously i used LXDM which worked21:45
leftyfbisf369: what version of ubuntu?21:45
isf369when i installed SDDM with LXDM on my system, it triggered a update-alternatives interface, which I selected SDDM21:45
isf36924.1021:46
leftyfbisf369: why not just install lubuntu?21:46
isf369i'm actually using Ubuntu Server minimal21:46
leftyfbisf369: if you want a desktop, install the desktop version. If you don't want a desktop, install the server version21:47
isf369ok, but everything has worked fine by installing dependencies so far. I have LXQt, VLC, Firefox, LibreOffice ...21:48
de-factoWhen using apt upgrade, how do i get rid of the step scanning processes?21:48
isf369only issue has been SDDM21:48
de-factoIt terminates my ssh connection hence the session of apt upgrade itself21:48
leftyfbde-facto: huh?21:48
caliwassup21:49
calilubuntu user21:49
leftyfbde-facto: running apt-upgrade alone should not cause an ssh session to die21:49
pragmaticenigmade-facto: this may help, https://serverfault.com/a/110139221:49
pragmaticenigmade-facto: nevermind21:49
de-factoapt has a step in uograde where it scans processes for outdated libsm thus kills its ssh session21:49
caliwhats the problem21:49
pragmaticenigmade-facto: that's not what is killing your ssh connection21:50
de-factoYes it is21:50
leftyfbunlikely21:50
de-factoAlways thr same21:50
Guest62AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD21:50
pragmaticenigmade-facto: NO, what's killing it is the restart of the networking service21:50
Guest627770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢21:50
Guest62HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD Radeonā„¢ HD 7770 AMD21:50
pragmaticenigmade-facto: NO, what's killing it is the restart of the networking service21:50
leftyfbde-facto: what version of ubuntu?21:50
de-facto24.0421:50
isf369cali: installing SDDM on Ubuntu (not Lubuntu) fails to start it21:51
de-factoI want to remove that step scanning for processes21:51
de-factoHiw can i get rid of it?21:51
isf369LXDM (the LXDE display manager) works fine, so it's specifically an issue with SDDM (missing official dependency?)21:51
leftyfbde-facto: that's not the issue and will not solve your problem21:52
pragmaticenigmade-facto: what you should be doing when remotely updating machines via SSH is launch into a session like tmux or screen. which will retain the active session if the connection between the server and client is interrupted. When you re-establish connection, you can re-attach to your session and resume monitoring the update process21:52
de-factoI dont need it and its causing severe problems and security vulnerabilities21:52
leftyfbfalse21:52
calii cant believe that irc are real21:52
calinew here, lol21:52
leftyfbcali: can we help you with something?21:52
leftyfbcali: this is a support channel21:52
leftyfbde-facto: apt is not causing security vulnerabilities21:53
caliohh my bad, where do i go hangout21:53
de-factoWasmt there a cve about this scanning for processes21:53
leftyfbde-facto: take the suggestion and try running apt upgrade in a screen or tmux and see what's actually going on21:53
pragmaticenigmacali: #ubuntu-offtopic is a great place21:53
leftyfbcali: try #ubuntu-offtopic21:53
leftyfbde-facto: no21:53
leftyfbde-facto: please pastebin the everything you're running and seeing21:54
de-factoi cant the server is down21:54
leftyfbde-facto: ok, we'll be happy to help troubleshoot your machine once it's up and running21:55
de-factobut when i regain access to it i want to completely remove the apt "scanning for processes" step from it21:55
de-factohence my question on how to do this21:55
pragmaticenigmade-facto: scanning processes is part of the final stage of an apt update, that verifies if the system requires a reboot. all it is doing is looking for processes in the task list that are attached to packages it just updated. nothing more.21:55
de-factoyeah i dont want that21:55
pragmaticenigmade-facto: all it really does is set the flag "needs reboot"21:55
leftyfbde-facto: if you want help, then forget about this misunderstanding you have of what the issue is. Listen and follow instructions from people trying to help diagnose the actual problem21:55
pragmaticenigmathat's it... it does not kill processes21:55
de-factoit terminates my connections and is a security problem on top of it, so i want to completely get rid of this21:56
leftyfbno it doesn't and no it's not21:56
de-factohttps://blog.qualys.com/vulnerabilities-threat-research/2024/11/19/qualys-tru-uncovers-five-local-privilege-escalation-vulnerabilities-in-needrestart21:59
pragmaticenigmade-facto: you've been given a solution, and explication. it is your choice to follow the instructions or not. arguing whos right is not going to get you anywhere. you came here for help, and that is the help that is offered. i'd suggest you take a break, go restart the server and come back when you're ready to accept the help offered.21:59
de-factocan i completely remove needrestart from my system?21:59
pragmaticenigmade-facto: NO, it will break things21:59
leftyfbde-facto: did you bother looking up any of those CVE's?21:59
de-factocan it be replaced with a "fake" empty package to satisfy dependencies?22:00
pragmaticenigmade-facto: no, it will lead to a unstable system that is MORE prone to exploit and security issues. leave it alone and take the advice22:00
de-factowhat advice?22:00
de-factoi already have taken my decision, i dont what needrestart on my system22:01
leftyfbde-facto: every single one of those CVE's has been patched22:01
pragmaticenigmade-facto: run `apt update` inside of a tmux or screen session.22:01
leftyfbde-facto: then go with a different distro that doesn't run .deb22:01
pragmaticenigmade-facto: if you get disconnected, you can re-establish connection. the update process will continue in the background until you restore connectivity22:01
leftyfbde-facto: or take a moment to let people help you troubleshoot the actual problem (not what you think it is)22:01
de-factoso why does needrestart disconnect my ssh session?22:02
pragmaticenigmabecause an update restarted your network stack22:03
leftyfbde-facto: we'll be happy to help troubleshoot your machine once it's up and running. When you are ready, start by taking the advice given22:03
de-factoits always exactly at this step, where needrestart does its dumb "scanning for processes"22:03
leftyfbde-facto: do you want help fixing the problem?22:03
de-factothe server is gone for now22:04
de-factoneedrestart disconnected me so i cant connect to it anymore22:04
leftyfbde-facto: ok, we'll be happy to help troubleshoot your machine once it's up and running22:05
de-factomeanwhile i want to read about how to remove needrestart22:05
leftyfbthat is not the solution22:05
leftyfbnor recommended22:05
pragmaticenigmade-facto: we're not about to give you instructions that we know will further cause your system harm22:05
leftyfbnor supported22:06
de-factook then i will try to solve this on my own, i decided this needs to get purged from my system22:06
leftyfbde-facto: focus on fixing the problem, not making the situation worse by implementing a destructive config22:06
leftyfbde-facto: you've decided wrong22:06
de-factook22:06
pragmaticenigmade-facto: as was said before... needsrestart is a routine that verifies all the packages updated against running processes. It then will restart services, and processes that were active when the new package updates were installed. What happened in your case is that an update, likely something related to networking (firewall, network drivers, etc) were installed. needsrestart, did what it was supposed to do, and restarted a service or22:09
pragmaticenigmaprocess attached to your network, causing the connection to drop. Because it dropped, the apt process was killed and left the machine in a disconneted state. If you were to run apt inside a session such as tmux or screen, you would still be disconnected, but you would be able to reconnect and reattach to the tmux or screen sesssion.22:09
de-factoyes and i dont want this in any scenario22:10
gordonjcptmux should be the default ssh shell for "real" users22:10
pragmaticenigmade-facto: then do NOT update your machine remotely22:10
gordonjcpde-facto: then how do you restart running services when you update?22:10
de-factofrom my perspective this is doing exactly the wrong thing, so i dont want this on my system22:10
leftyfbde-facto: then install a different OS22:10
de-factook thanks for that advice leftyfb22:11
gordonjcpde-facto: which distro were you using before that *didn't* do this?22:15
pragmaticenigmagordonjcp: is there something that you need help with?22:15
gordonjcppragmaticenigma: not unless you're an expert in early-2000s Motorola comms equipment, thanks22:16
leftyfbgordonjcp: that would be offtopic here22:16
de-factogordonjcp, i don a restart when i decide its a good time for doing so and verify after it came back that everything is running fine22:16
gordonjcpde-facto: in general that should be the way that Ubuntu works, and I'm a little surprised you found you got booted out after an update22:16
pragmaticenigmagordonjcp: we already established why they lost their connection22:17
pragmaticenigmagordonjcp: they're unreceptive to the answer22:17
gordonjcplike, it's been that way for about ten years or more now22:17
pragmaticenigmaplease stop22:17
isf369anyone familiar with SDDM installation?22:18
pragmaticenigmaisf369: it's better to ask your question up front, if someone understands it, they'll respond22:19
isf369i tried to switch from LXDM (an old display manager) to SDDM, 'sudo apt install sddm' ... select update-alternatives, but it fails to start in systemd22:19
isf369systemd directs me to 'systemctl status sddm.service' which says it got a bad exit code22:20
gordonjcpisf369: have you got the rest of LXQt installed?22:20
isf369yes, i think lxqt-core ?22:20
pragmaticenigmaI had lots of issues trying to get sddm working. I went with lightdm22:20
pragmaticenigmamight be an easier path for you as well, depending in your needs22:21
isf369i'd like to use SDDM because it "just works" in Arch + LXQt22:22
isf369and is what LXQt/KDE recommend22:22
leftyfbI hear that a lot about a lot of things that don't22:22
=== jpoc_ is now known as jpoc
gordonjcphaha, comedy22:23
pragmaticenigmaisf369: clearly it doesn't "just work" or it wouldn't be giving you difficulties... no?22:23
gordonjcpit works here but the greeter is split "backwards" across the monitors22:23
gordonjcpthe right half of the greeter is on the left side of the left monitor, and so with the left half on the right22:23
isf369on Arch I had to install "qt5-declarative" which wasn't a proper dependency, but then it worked fine22:23
bpromptisf369: hmmm I run LXQT, however my installation is of Kubuntu, and SDDM runs peachy here22:23
isf369i'm guessing it's a missing official dependency22:23
gordonjcpisf369: journalctl will tell you more about what the "bad exit code" might be caused by22:24
isf369journalctl just says exit code = 122:25
isf369there also is no config file "locate sddm"22:28
leftyfbisf369: did you updatedb after installing ssdm?22:29
isf369yes22:30
isf369despite whatever systemd is doing, i can run 'sudo sddm' and get a black screen with a cursor at the proper resolution22:34
=== sotaoverride is now known as Guest2964

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