=== javi404_ is now known as javi404 | ||
oerheks | yes | 01:11 |
---|---|---|
=== genii_ is now known as genii | ||
=== mrbutthead19587 is now known as mrbutthead1958 | ||
=== timj3 is now known as timj | ||
yogaum | Hello | 06:10 |
=== mrpond1 is now known as mrpond | ||
Guest83 | š | 08:21 |
l0k1 | Hi, 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 | ||
yogaum | Hello | 11:38 |
yogaum | Anyone active? | 11:38 |
mgedmin | l0k1, please don't leave before you get a chance to hear an answer to your question | 11:52 |
=== ramblebamble_afk is now known as ramblebamble | ||
Elisa | hi | 12:42 |
BluesKaj | Hi all | 12:45 |
=== jimmyb5 is now known as jimmyb | ||
deadrom | what's ubuntu server's default retention policy for old kernels? | 14:12 |
mgedmin | same as ubuntu desktops, I think -- it tries to keep two of them, for every flavor (-generic etc) that you have installed | 14:13 |
oerheks | 2 | 14:15 |
oerheks | some reading , https://askubuntu.com/questions/620266/how-does-apt-decide-how-many-old-kernels-to-keep | 14:16 |
deadrom | 2 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 |
pragmaticenigma | deadrom: 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 it | 14:26 |
oerheks | deadrom, when you switch to HWE, the old kernel tree stays and gets updates too, IIRC | 14:27 |
pragmaticenigma | deadrom: 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 sapce | 14:27 |
deadrom | deplyoment is configured like that | 14:27 |
deadrom | no hwe, vms | 14:27 |
pragmaticenigma | deadrom: they should stop doing that... it's not necassary on modern hardware | 14:28 |
deadrom | well, I'll rather have boot run full than / | 14:28 |
deadrom | ok, / is monitored, true, but whether the mechanism fails on /boot or / -- I'd like the system to only keep 2 kernels around at any rate | 14:29 |
deadrom | but technically: we hab /boot around for decades for a reason, what reason went away that "forget /boot" is the new gospel? | 14:30 |
deadrom | s/hab/had | 14:31 |
pragmaticenigma | With 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 post | 14:31 |
LACERDA | OLA | 14:33 |
oerheks | :-) | 14:33 |
deadrom | the 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 image | 14:34 |
deadrom | so 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 |
deadrom | I 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 etc | 14:36 |
pragmaticenigma | that is wrong, but this isn't the place to debate it further | 14:39 |
deadrom | if not here where else? | 14:39 |
mgedmin | #ubuntu-discuss, probably | 14:40 |
mgedmin | or #ubuntu-offtopic | 14:40 |
deadrom | disagree. 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 |
pragmaticenigma | deadrom: you had no issue, your original inquery was for information which you received | 14:41 |
pragmaticenigma | you asked how many kernels are retained, the answer is 2, for each "class" or "flavor" of kernel on your machine. -general, -hwe, etc | 14:42 |
deadrom | and 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 |
pragmaticenigma | I 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 |
deadrom | this is ridiculous. | 14:44 |
pragmaticenigma | The 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 partition | 14:44 |
pragmaticenigma | deadrom: 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 broken | 14:50 |
leftyfb | deadrom: all of my ubuntu servers have only 2 kernels installed as intended | 14:54 |
leftyfb | deadrom: what release of ubuntu are you running? | 14:54 |
deadrom | leftyfb, 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 |
leftyfb | deadrom: which kernels are installed? | 14:56 |
deadrom | sheesh... those gt purged now https://paste.debian.net/1348734/ and installed right now are... hang on | 14:58 |
leftyfb | deadrom: also, you know the only way the old kernels get automatically removed is by running "sudo apt autoremove" right? | 14:58 |
deadrom | vmlinuz-5.15.0-126-generic and -131-generic | 14:58 |
leftyfb | deadrom: also, 5.15 is not the ubuntu 22.04 HWE kernel | 14:59 |
deadrom | let's clarify HWE: for VM ops, would I want hwe? | 15:00 |
leftyfb | yes | 15:00 |
leftyfb | 5.15 was released almost 4 years ago | 15:00 |
deadrom | well yes, and it's the kernel that shipped with 22.04 isn't it? | 15:01 |
leftyfb | yes, and is outdated | 15:02 |
leftyfb | you're not even running the latest 5.15 available in ubuntu 22.04 | 15:02 |
leftyfb | oh wait, maybe you are | 15:03 |
leftyfb | still | 15:03 |
leftyfb | the HWE kernel is highly recommended | 15:03 |
leftyfb | which is currently at 6.8.0-52 | 15:03 |
deadrom | The 5.15 GA kernel is supported until April 2027. I don't see an issue. | 15:03 |
leftyfb | better hardware support, more efficiency, possibly bug fixes | 15:06 |
deadrom | java 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 |
leftyfb | goodl uck | 15:07 |
leftyfb | good luck* | 15:07 |
deadrom | all 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 |
deadrom | leftyfb, 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 |
oerheks | no need for autoremove, next update run will remove them automaticly | 15:33 |
oerheks | you could do that in the same session | 15:33 |
deadrom | oerheks, please clarify: will invoking update automatically invoke autoremove as well? | 15:35 |
pragmaticenigma | if you perform update from GUI yes, if you perform update from command line, no | 15:36 |
oerheks | correct, the gui shows that | 15:41 |
oerheks | oh wait, you are on server. then no | 15:41 |
=== NDPZenB00k is now known as NDPZenBook | ||
deadrom | oerheks, that could be the explanation. I'll add it to /arr/spool/apt-mirror/var/postmirror.sh and observe | 15:56 |
Guest7 | what is more secure - ubuntu or debian? | 16:17 |
oerheks | both are | 16:18 |
oerheks | what answer would you expect in the ubuntu support channel? | 16:18 |
leftyfb | Guest7: feel free to discuss non-support topics in #ubuntu-offtopic | 16:18 |
oerheks | the only culprit is the user š¤ | 16:18 |
=== Guest5857 is now known as larkon | ||
ogra | Well, 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 |
pragmaticenigma | ogra: Do you have a support question? | 16:45 |
ogra | heh, no :) | 16:45 |
=== richardla is now known as Bueford | ||
janskey | i connect my bluetooth speaker, but the volume keyboard control doesn't work the volume. any idea? | 17:10 |
pragmaticenigma | keyboard control will not control the speaker directly. the keyboard can only change the audio output of the computer's own sound output | 17: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 |
pragmaticenigma | the way you phrased your question, it appears you expect the keyboard to directly control your speaker, which it cannot do. | 17:24 |
janskey | so is it possible or not? | 17:25 |
pragmaticenigma | as your question is phrased, no | 17:26 |
oerheks | did you select the right keyboard? settings>keyboard | 17:26 |
janskey | are you referring the layout? | 17:27 |
janskey | its English (US), default. | 17:28 |
ogra | and 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 use | 17:28 |
ogra | (pipüewire should be better at that though) | 17:28 |
leftyfb | janskey: 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 itself | 17:29 |
ravage | Did not know there is a German fork :D | 17:29 |
pragmaticenigma | ogra: default sounds system is pipewire in newer editions of Ubuntu | 17:29 |
ogra | pragmaticenigma, i'm well aware | 17:29 |
ogra | pragmaticenigma, we switched it in 22.04 ... so 20.04 might have such issues ... | 17:31 |
janskey | fyi i'm using macbook, so is it possible to configure to control it via keyboard? | 17:32 |
leftyfb | janskey: open up your sound settings | 17:34 |
ogra | janskey, open the settings, go to audio and check what output your system uses | 17:34 |
pragmaticenigma | janskey: 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 output | 17:35 |
leftyfb | janskey: 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 |
ogra | then it should also control the system output stream to that ... you could try switvching back and forth between outputs to see if that helps | 17:36 |
leftyfb | it will change the output going to the bluetooth device | 17:36 |
pragmaticenigma | janskey: 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 controls | 17:37 |
janskey | if 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 |
janskey | so maybe the keyboard needs to know if there is a speaker connect, it will map to the bluetooth device instead. | 17:40 |
leftyfb | that's not how this works | 17:41 |
janskey | probably this can be configured? | 17:41 |
pragmaticenigma | it will never work that way | 17:41 |
leftyfb | the keyboard doesn't know or care about bluetooth at all | 17:41 |
ogra | no, the keyboard only talks to pulseaudio (or pipewwire if you are on a more recent release) | 17:41 |
ogra | the 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 |
pragmaticenigma | They didn't | 17:42 |
ogra | no idea, you might have found a bug | 17:42 |
leftyfb | but not a bug in the way you think it is | 17:42 |
oerheks | on what desktop? .. | 17:42 |
pragmaticenigma | They 100% did not control your speaker in the manner you think they did | 17:42 |
oerheks | pulseaudio or pipewire? | 17:42 |
ogra | right, thesy will also do the exact same thing ubuntu does ... control the volume of the audio stream | 17:43 |
oerheks | gnome extention to control different output devices , up to gnome 44 https://extensions.gnome.org/extension/6036/advanced-volume-control/ | 17:43 |
leftyfb | janskey: when you go to settings -> bluetooth >- your bt device .... what does it say under "Type"? | 17:44 |
janskey | i'm not sure the type, i dont see. | 17:46 |
janskey | this one? | 17:46 |
janskey | /org/bluez/hci0 | 17:46 |
yetitwo | hello! 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 |
yetitwo | the 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 |
leftyfb | janskey: open settings | 17:47 |
leftyfb | yetitwo: you'll need to contact the PPA owner for support with their package | 17:47 |
yetitwo | and 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 version | 17:47 |
pragmaticenigma | yetitwo: 3rd party software is not supported here, you will have to contact the mainter of the repository for suppotr | 17:47 |
janskey | yes, i'm the bluetooth settings already. | 17:47 |
yetitwo | ... it worked on my previous machine | 17:47 |
yetitwo | and this seems to be an issue with apt, not with the PPA | 17:48 |
pragmaticenigma | !latest yetitwo | 17:48 |
leftyfb | yetitwo: the issue is the PPA doesn't support the release you are running | 17:48 |
leftyfb | which is an issue with the PPA | 17:48 |
yetitwo | https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable shows 24.10, and that's what i'm running | 17:48 |
leftyfb | it got updated 6 hours ago, maybe it's not fully supported yet | 17:49 |
leftyfb | contact the PPA owner for support | 17:49 |
yetitwo | it's a nightly build | 17:49 |
yetitwo | it's going to be updated nightly | 17:50 |
oerheks | yetitwo, run update & upgrade, it would update to v10 | 17:50 |
yetitwo | again, this seems to be an apt issue, not an issue with the PPA | 17:50 |
yetitwo | or else please let me know what i can do as further troubleshooting steps | 17:50 |
pragmaticenigma | yetitwo: the problem is the PPA owner has something misconfigured... no support here | 17:50 |
oerheks | always run proper updates before adding a PPA | 17:50 |
yetitwo | i've run update multiple times | 17:51 |
pragmaticenigma | yetitwo: 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 |
oerheks | https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable | 17:51 |
yetitwo | is 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 |
yetitwo | ppa maintainer* | 17:51 |
oerheks | pastebin your update run? | 17:51 |
yetitwo | https://hastebin.com/share/papexajoze.less | 17:52 |
pragmaticenigma | yetitwo: 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 PPA | 17:52 |
yetitwo | wouldn't that 404 in the update? | 17:52 |
yetitwo | that's the behavior i've seen in the past | 17:52 |
leftyfb | yetitwo: 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 support | 17:53 |
oerheks | weird, it shows https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable?field.series_filter=oracular | 17:54 |
yetitwo | hmm yeah | 17:55 |
yetitwo | looks like a build failure | 17:55 |
yetitwo | https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable/+packages | 17:55 |
yetitwo | leftyfb: thank you | 17:55 |
oerheks | oh, Waiting to build | 17:58 |
leftyfb | [12:49:27] <leftyfb> it got updated 6 hours ago, maybe it's not fully supported yet | 17:58 |
ogra | FWIW you can as well just do "sudo snap install nvim --classic" the snap is well maintained and updated regulary | 18:19 |
ogra | (in fact i think it is maintained by upstream) | 18:20 |
omega_doom | Is there a way to download a package of specific ubuntu version? | 19:52 |
PTNapivoski | omega_doom, go to the package page | 19:53 |
PTNapivoski | Like here: https://packages.ubuntu.com/jammy/linux-firmware | 19:53 |
PTNapivoski | Or here: https://packages.ubuntu.com/jammy/php8.1-common | 19:53 |
PTNapivoski | Choose architecture | 19:54 |
pragmaticenigma | omega_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_doom | I'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 | !offline | 19:59 |
ubottu | If 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 !APTonCD | 19:59 |
=== realivanjx1 is now known as realivanjx | ||
pragmaticenigma | omega_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 |
pragmaticenigma | omega_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 |
LuckyMan | unless you want to install a flatpak or a snap | 20:09 |
LuckyMan | they are self contained | 20:09 |
younder | It 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 |
younder | https://help.ubuntu.com/stable/ubuntu-help/addremove-install-synaptic.html.en | 20:20 |
omega_doom | younder: with aptoncd? Is it available in apt? | 20:20 |
pragmaticenigma | omega_doom: that suggestion only works if both machines are the same version of Ubuntu... which you mentioned may not be the case | 20:21 |
younder | https://help.ubuntu.com/community/Synaptic/Offline | 20:23 |
pragmaticenigma | younder: that only works for same version of ubuntu at the destination. they indcated they needed to do this for a different version of ubuntu | 20:24 |
gmachine24 | running 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/iUd0i65T | 20:26 |
gmachine24 | Also, 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 |
pragmaticenigma | is the machine trying to boot from this external drive? | 20:31 |
gmachine24 | no it's a back up drive for one of the data drives in the case | 20:32 |
gmachine24 | I have three spinning data drives in the case and three in the external USB bay | 20:34 |
gmachine24 | the case is Syba SY-ENC50104 4 Bay 3.5ā SATA III HDD Non-RAID Enclosur | 20:34 |
pragmaticenigma | it's odd that it would just bug out like that... all I can think of is to wipe the drive and reset it up again | 20:35 |
gmachine24 | so no sense in running the long smartmontools? | 20:36 |
leftyfb | gmachine24: when the drive is mounted and you are accessing it, take a look at dmesg | 20:36 |
gmachine24 | ok leftyfb two highlighted lines re: this drive basically "No Caching mode page found" and "Assuming drive cache write through" | 20:42 |
leftyfb | gmachine24: you're looking for ATA or I/O errors while mounting and/or accessing the drive | 20:43 |
gmachine24 | I think there are some on boot but for some reason I can't see those lines in dmesg leftyfb | 20:44 |
gmachine24 | and the lines moved past so fast - I can try taking a photo because the screen does halt there for a second or two | 20:45 |
gmachine24 | i'll brb | 20:46 |
bprompt | gmachine24: you can output "dmesg" to a file as well, using a file redirection | 20:47 |
gmachine24 | yes bprompt | 20:52 |
=== noah33655 is now known as noah3365 | ||
=== omnigoat9 is now known as omnigoat | ||
gmachine24 | OK 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 systems | 20:55 |
=== DangerM_ is now known as DangerM | ||
oerheks | imgur :-) | 20:56 |
gmachine24 | maybe I don't need to post the photo - those are the lines leftyfb and bprompt | 20:56 |
bprompt | gmachine24: imgur or snipboard.io either will do, all you do is paste the image from the clipboard, or get its file | 20:56 |
leftyfb | gmachine24: ( uname -a ; lsblk ; sudo dmesg -T ) | nc termbin.com 9999 | 20:57 |
gmachine24 | OK give me a few mins | 20:57 |
leftyfb | to type that? | 20:57 |
pragmaticenigma | I think they're going back and forth on a diffrent machine | 20:59 |
gmachine24 | yeah 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 screen | 21:08 |
gmachine24 | ok here's the photo https://imgur.com/a/sEdiSf3 | 21:12 |
leftyfb | gmachine24: does the machine in question have internet? | 21:13 |
gmachine24 | yes | 21:14 |
leftyfb | gmachine24: ( uname -a ; lsblk ; sudo dmesg -T ) | nc termbin.com 9999 | 21:14 |
gmachine24 | i'm waiting for it to reboot and then i will run that command | 21:14 |
leftyfb | gmachine24: run it over ssh , post the resulting URL here | 21:14 |
leftyfb | you do not need a screenshot | 21:15 |
gmachine24 | https://termbin.com/hulb | 21:16 |
leftyfb | which drive is having the issue? | 21:16 |
gmachine24 | it's /dev/sdi1 | 21:18 |
gmachine24 | or just /dev/sdi | 21:18 |
gmachine24 | no wait I'm sorry that's wrong | 21:18 |
gmachine24 | it was that one now it's /dev/sdh | 21:19 |
leftyfb | gmachine24: sudo mkdir /mnt/tmp && sudo mount /dev/sdh1 /mnt/tmp | 21:21 |
leftyfb | does that work? | 21:21 |
gmachine24 | well 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 again | 21:22 |
leftyfb | you can mount it manually? | 21:22 |
gmachine24 | yes | 21:22 |
leftyfb | gmachine24: ok, unmount it | 21:22 |
gmachine24 | oh ok | 21:22 |
leftyfb | post the line from your fstab that matches this drive | 21:22 |
gmachine24 | #UUID=b7c68806-babc-44d7-b1a1-5c6eaaf0734b /mnt/DATABACKUP.BACKUP ext4 defaults 1 2 | 21:23 |
leftyfb | does /mnt/DATABACKUP.BACKUP exist? | 21:24 |
gmachine24 | yes | 21:24 |
leftyfb | gmachine24: blkid /dev/sdh | 21:25 |
gmachine24 | /dev/sdh: PTUUID="a086ca03" PTTYPE="dos" | 21:25 |
leftyfb | uh | 21:26 |
gmachine24 | yeah | 21:26 |
gmachine24 | I see that, too | 21:26 |
gmachine24 | everything else is gpt | 21:26 |
leftyfb | lsblk -o +type -e7 -f /dev/sdh1 | 21:27 |
gmachine24 | you want the results of that command? | 21:28 |
leftyfb | yes | 21:28 |
leftyfb | I don't need the headers | 21:28 |
gmachine24 | https://pastebin.com/BjBBQPWn | 21:29 |
leftyfb | that doesn't match your dmesg | 21:29 |
gmachine24 | the uuid? | 21:30 |
leftyfb | none of it | 21:30 |
gmachine24 | hmm | 21:30 |
leftyfb | lsblk -o +type -e7 -f | nc termbin.com 9999 | 21:30 |
gmachine24 | https://termbin.com/qsdm | 21:31 |
leftyfb | you have this drive mounted to /mnt/DATABACKUP.BACKUP ? | 21:33 |
=== Dragonslicer is now known as Dragnslcr | ||
leftyfb | oh right, my original blkid command was wrong | 21:33 |
leftyfb | that's why it didn't match | 21:33 |
leftyfb | gmachine24: confirm if the drive it currently mounted or not | 21:34 |
gmachine24 | yes it is at /mnt/DATABACKUP.BACKUP I was seeing if I could read the drive via Samba from my Windows machine | 21:35 |
leftyfb | sudo umount /mnt/DATABACKUP.BACKUP | 21:35 |
gmachine24 | done | 21:35 |
leftyfb | gmachine24: mount |grep sdh | 21:36 |
leftyfb | that show anything? | 21:36 |
gmachine24 | there's a space there, correct? between | and grep? | 21:36 |
gmachine24 | no it shows nothing | 21:36 |
leftyfb | won't matter | 21:36 |
leftyfb | ok | 21:36 |
leftyfb | uncomment the related line in your fstab | 21:37 |
gmachine24 | already done | 21:37 |
leftyfb | gmachine24: sudo mount -a | 21:37 |
leftyfb | any errors? | 21:37 |
gmachine24 | no but hang on a second | 21:38 |
leftyfb | ? | 21:38 |
gmachine24 | sorry - 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 mounts | 21:42 |
leftyfb | ok, then you've found the problem | 21:42 |
=== Game114542272 is now known as Game11454227 | ||
isf369 | i installed SDDM (the display manager) but it fails to run. "systemctl status sddm.service" reports "failed (Result: exit-code)" | 21:44 |
gmachine24 | well, not sure. because two lines vanished from the fstab file | 21:44 |
leftyfb | isf369: why did you install ssdm? | 21:44 |
gmachine24 | and i don't know how that happens. but it happened the other day as well. | 21:44 |
isf369 | leftyfb: so i could use it with LXQt (which doesn't come with one.) previously i used LXDM which worked | 21:45 |
leftyfb | isf369: what version of ubuntu? | 21:45 |
isf369 | when i installed SDDM with LXDM on my system, it triggered a update-alternatives interface, which I selected SDDM | 21:45 |
isf369 | 24.10 | 21:46 |
leftyfb | isf369: why not just install lubuntu? | 21:46 |
isf369 | i'm actually using Ubuntu Server minimal | 21:46 |
leftyfb | isf369: if you want a desktop, install the desktop version. If you don't want a desktop, install the server version | 21:47 |
isf369 | ok, but everything has worked fine by installing dependencies so far. I have LXQt, VLC, Firefox, LibreOffice ... | 21:48 |
de-facto | When using apt upgrade, how do i get rid of the step scanning processes? | 21:48 |
isf369 | only issue has been SDDM | 21:48 |
de-facto | It terminates my ssh connection hence the session of apt upgrade itself | 21:48 |
leftyfb | de-facto: huh? | 21:48 |
cali | wassup | 21:49 |
cali | lubuntu user | 21:49 |
leftyfb | de-facto: running apt-upgrade alone should not cause an ssh session to die | 21:49 |
pragmaticenigma | de-facto: this may help, https://serverfault.com/a/1101392 | 21:49 |
pragmaticenigma | de-facto: nevermind | 21:49 |
de-facto | apt has a step in uograde where it scans processes for outdated libsm thus kills its ssh session | 21:49 |
cali | whats the problem | 21:49 |
pragmaticenigma | de-facto: that's not what is killing your ssh connection | 21:50 |
de-facto | Yes it is | 21:50 |
leftyfb | unlikely | 21:50 |
de-facto | Always thr same | 21:50 |
Guest62 | 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⢠HD | 21:50 |
pragmaticenigma | de-facto: NO, what's killing it is the restart of the networking service | 21:50 |
Guest62 | 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 AMD Radeon⢠| 21:50 |
Guest62 | 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⢠HD 7770 AMD | 21:50 |
pragmaticenigma | de-facto: NO, what's killing it is the restart of the networking service | 21:50 |
leftyfb | de-facto: what version of ubuntu? | 21:50 |
de-facto | 24.04 | 21:50 |
isf369 | cali: installing SDDM on Ubuntu (not Lubuntu) fails to start it | 21:51 |
de-facto | I want to remove that step scanning for processes | 21:51 |
de-facto | Hiw can i get rid of it? | 21:51 |
isf369 | LXDM (the LXDE display manager) works fine, so it's specifically an issue with SDDM (missing official dependency?) | 21:51 |
leftyfb | de-facto: that's not the issue and will not solve your problem | 21:52 |
pragmaticenigma | de-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 process | 21:52 |
de-facto | I dont need it and its causing severe problems and security vulnerabilities | 21:52 |
leftyfb | false | 21:52 |
cali | i cant believe that irc are real | 21:52 |
cali | new here, lol | 21:52 |
leftyfb | cali: can we help you with something? | 21:52 |
leftyfb | cali: this is a support channel | 21:52 |
leftyfb | de-facto: apt is not causing security vulnerabilities | 21:53 |
cali | ohh my bad, where do i go hangout | 21:53 |
de-facto | Wasmt there a cve about this scanning for processes | 21:53 |
leftyfb | de-facto: take the suggestion and try running apt upgrade in a screen or tmux and see what's actually going on | 21:53 |
pragmaticenigma | cali: #ubuntu-offtopic is a great place | 21:53 |
leftyfb | cali: try #ubuntu-offtopic | 21:53 |
leftyfb | de-facto: no | 21:53 |
leftyfb | de-facto: please pastebin the everything you're running and seeing | 21:54 |
de-facto | i cant the server is down | 21:54 |
leftyfb | de-facto: ok, we'll be happy to help troubleshoot your machine once it's up and running | 21:55 |
de-facto | but when i regain access to it i want to completely remove the apt "scanning for processes" step from it | 21:55 |
de-facto | hence my question on how to do this | 21:55 |
pragmaticenigma | de-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-facto | yeah i dont want that | 21:55 |
pragmaticenigma | de-facto: all it really does is set the flag "needs reboot" | 21:55 |
leftyfb | de-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 problem | 21:55 |
pragmaticenigma | that's it... it does not kill processes | 21:55 |
de-facto | it terminates my connections and is a security problem on top of it, so i want to completely get rid of this | 21:56 |
leftyfb | no it doesn't and no it's not | 21:56 |
de-facto | https://blog.qualys.com/vulnerabilities-threat-research/2024/11/19/qualys-tru-uncovers-five-local-privilege-escalation-vulnerabilities-in-needrestart | 21:59 |
pragmaticenigma | de-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-facto | can i completely remove needrestart from my system? | 21:59 |
pragmaticenigma | de-facto: NO, it will break things | 21:59 |
leftyfb | de-facto: did you bother looking up any of those CVE's? | 21:59 |
de-facto | can it be replaced with a "fake" empty package to satisfy dependencies? | 22:00 |
pragmaticenigma | de-facto: no, it will lead to a unstable system that is MORE prone to exploit and security issues. leave it alone and take the advice | 22:00 |
de-facto | what advice? | 22:00 |
de-facto | i already have taken my decision, i dont what needrestart on my system | 22:01 |
leftyfb | de-facto: every single one of those CVE's has been patched | 22:01 |
pragmaticenigma | de-facto: run `apt update` inside of a tmux or screen session. | 22:01 |
leftyfb | de-facto: then go with a different distro that doesn't run .deb | 22:01 |
pragmaticenigma | de-facto: if you get disconnected, you can re-establish connection. the update process will continue in the background until you restore connectivity | 22:01 |
leftyfb | de-facto: or take a moment to let people help you troubleshoot the actual problem (not what you think it is) | 22:01 |
de-facto | so why does needrestart disconnect my ssh session? | 22:02 |
pragmaticenigma | because an update restarted your network stack | 22:03 |
leftyfb | de-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 given | 22:03 |
de-facto | its always exactly at this step, where needrestart does its dumb "scanning for processes" | 22:03 |
leftyfb | de-facto: do you want help fixing the problem? | 22:03 |
de-facto | the server is gone for now | 22:04 |
de-facto | needrestart disconnected me so i cant connect to it anymore | 22:04 |
leftyfb | de-facto: ok, we'll be happy to help troubleshoot your machine once it's up and running | 22:05 |
de-facto | meanwhile i want to read about how to remove needrestart | 22:05 |
leftyfb | that is not the solution | 22:05 |
leftyfb | nor recommended | 22:05 |
pragmaticenigma | de-facto: we're not about to give you instructions that we know will further cause your system harm | 22:05 |
leftyfb | nor supported | 22:06 |
de-facto | ok then i will try to solve this on my own, i decided this needs to get purged from my system | 22:06 |
leftyfb | de-facto: focus on fixing the problem, not making the situation worse by implementing a destructive config | 22:06 |
leftyfb | de-facto: you've decided wrong | 22:06 |
de-facto | ok | 22:06 |
pragmaticenigma | de-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 or | 22:09 |
pragmaticenigma | process 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-facto | yes and i dont want this in any scenario | 22:10 |
gordonjcp | tmux should be the default ssh shell for "real" users | 22:10 |
pragmaticenigma | de-facto: then do NOT update your machine remotely | 22:10 |
gordonjcp | de-facto: then how do you restart running services when you update? | 22:10 |
de-facto | from my perspective this is doing exactly the wrong thing, so i dont want this on my system | 22:10 |
leftyfb | de-facto: then install a different OS | 22:10 |
de-facto | ok thanks for that advice leftyfb | 22:11 |
gordonjcp | de-facto: which distro were you using before that *didn't* do this? | 22:15 |
pragmaticenigma | gordonjcp: is there something that you need help with? | 22:15 |
gordonjcp | pragmaticenigma: not unless you're an expert in early-2000s Motorola comms equipment, thanks | 22:16 |
leftyfb | gordonjcp: that would be offtopic here | 22:16 |
de-facto | gordonjcp, i don a restart when i decide its a good time for doing so and verify after it came back that everything is running fine | 22:16 |
gordonjcp | de-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 update | 22:16 |
pragmaticenigma | gordonjcp: we already established why they lost their connection | 22:17 |
pragmaticenigma | gordonjcp: they're unreceptive to the answer | 22:17 |
gordonjcp | like, it's been that way for about ten years or more now | 22:17 |
pragmaticenigma | please stop | 22:17 |
isf369 | anyone familiar with SDDM installation? | 22:18 |
pragmaticenigma | isf369: it's better to ask your question up front, if someone understands it, they'll respond | 22:19 |
isf369 | i tried to switch from LXDM (an old display manager) to SDDM, 'sudo apt install sddm' ... select update-alternatives, but it fails to start in systemd | 22:19 |
isf369 | systemd directs me to 'systemctl status sddm.service' which says it got a bad exit code | 22:20 |
gordonjcp | isf369: have you got the rest of LXQt installed? | 22:20 |
isf369 | yes, i think lxqt-core ? | 22:20 |
pragmaticenigma | I had lots of issues trying to get sddm working. I went with lightdm | 22:20 |
pragmaticenigma | might be an easier path for you as well, depending in your needs | 22:21 |
isf369 | i'd like to use SDDM because it "just works" in Arch + LXQt | 22:22 |
isf369 | and is what LXQt/KDE recommend | 22:22 |
leftyfb | I hear that a lot about a lot of things that don't | 22:22 |
=== jpoc_ is now known as jpoc | ||
gordonjcp | haha, comedy | 22:23 |
pragmaticenigma | isf369: clearly it doesn't "just work" or it wouldn't be giving you difficulties... no? | 22:23 |
gordonjcp | it works here but the greeter is split "backwards" across the monitors | 22:23 |
gordonjcp | the right half of the greeter is on the left side of the left monitor, and so with the left half on the right | 22:23 |
isf369 | on Arch I had to install "qt5-declarative" which wasn't a proper dependency, but then it worked fine | 22:23 |
bprompt | isf369: hmmm I run LXQT, however my installation is of Kubuntu, and SDDM runs peachy here | 22:23 |
isf369 | i'm guessing it's a missing official dependency | 22:23 |
gordonjcp | isf369: journalctl will tell you more about what the "bad exit code" might be caused by | 22:24 |
isf369 | journalctl just says exit code = 1 | 22:25 |
isf369 | there also is no config file "locate sddm" | 22:28 |
leftyfb | isf369: did you updatedb after installing ssdm? | 22:29 |
isf369 | yes | 22:30 |
isf369 | despite whatever systemd is doing, i can run 'sudo sddm' and get a black screen with a cursor at the proper resolution | 22:34 |
=== sotaoverride is now known as Guest2964 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!