[00:08] ps aux | grep snap/snap-store [00:32] a 'terminate running snaps' button maybe good... if only to give the error: can not self terminate [01:27] ok I must be missing something I installed openjdk-17 but I'm unable to use java from edge/firefox to download websphere and install it on my ubuntu box (aka the ibm download director - java tool) will not start ;( [01:30] is installing a JDK alone enough to use java applets from browsers? I sort of assumed they'd require a plugin of their own [01:30] i thoguth firefox hasn't supported java appletse in like 20 years [01:30] and what with the old plugin architecture being thrown away a few years ago, I further assumed that you just wouldn't use java on a browser from the last five years or something [01:30] I tried in edge and no joy [01:30] this is for ibm websphere for context === chris14_ is now known as chris14 [01:46] Does the developers of exim4, sendmail or postfix ect.. hang around in this channel? [01:46] no [01:47] I wonder if they every go any of the c conferences? [01:47] ok bbl [01:47] I bet some of them do attend the occasional conference, but I'd be a bit surprised if it's for C specifically [01:48] I need to talk to them including the developer of fail2ban [01:49] For me back to work. [02:09] hi@all === realivanjx2 is now known as realivanjx [02:10] hi BlossmingTinkaWi [02:11] nice [02:11] german? [02:11] nein [02:12] lol [02:12] ich war mir erst nicht sicher ob dieser chat klappt [02:12] wo findet man den server liesten oder so [02:14] depending upon who is around, what questions have been asked, etc, it can get moderately busy [02:14] it's not like ten years ago, but IRC isn't as dead as people keep saying [02:15] @sarnold pls wait a min my english ist to bad [02:17] oki this make ne funny [02:20] BlossmingTinkaWi: jetzt ich geh weg; bzw man immer mag nur englisch auf diese kanal -- mit deutsch kann man reden auf #ubuntu-de -- schoenen abend :) [02:21] tschuess === ctcphelper is now known as CISHNIK [04:22] I installed the xorg desktop in Ubuntu to test something that needs a UI but I am done with that. I did apt purge xserver-xorg-common to get rid of x org but it still boots to a desktop login window [04:22] are there any other packages that i need to install ? [04:22] uninstall [04:24] devslash: check /var/log/apt/history.log for the packages that you installed [04:25] once I enter my login credentials, it boots to a static blue screen [04:25] ok [04:26] hey all: is there a way to set per-window view preferences for a couple of Nautilus windows in Gnome 4x? I'd like to have a pair of windows, one narrow enough for the sidebar to collapse, and the other wider, with the sidebar visible, so I can put them side by side. [04:27] i dont see any useful info in that path [04:27] devslash: pastebin that file if you need help with it [04:28] i made this change recently. within the last few weeks [04:28] i only have 1 history.log for that time period [04:29] If you want help, pastebin its contents [04:29] but i dont see any references to another package called rustdesk that i was testing that made install the desktop [04:29] If it's been rotated, it would be in history.log.1 [04:29] And then they go to history.log.X.gz [04:35] one sec I am gonna paste the link [04:40] elks https://paste.ofcode.org/3bG6rVB5m5ZLnK2baa6hnKT [04:41] like I said, it boots to a login screen (which I dont want) and if you login in, it shows a blank blue background [04:43] alkisg this is the previous history.log: https://paste.ofcode.org/cDmT8s5eZXqfNFzTLMUrff [04:43] devslash: see lines 14 and 22 [04:43] right [04:44] When you installed ubuntu-desktop, you installed a whole lot of packages. These are the ones you want to uninstall [04:44] I purged those packages [04:44] I removed ubuntu-desktop already [04:44] So create a huge apt purge command with all those 100 packages in it [04:44] That's a metapackage [04:44] It won't remove all its dependencies [04:44] which packages [04:44] on what line' [04:44] See lines 16, 17, 18, 24, 25, 26 [04:45] Get the names of all 100 packages in these lines, and put them in a big apt purge command [04:45] I have to type them all manually [04:45] No, you can copy/paste them and remove the extra cruft like commas [04:46] or you can use a redirect and a shell expansion to bring them in from a text file. [04:46] like: sudo apt purge `< path/to/apt-packages.txt` [04:46] on line 16 it mentions libvulcan1 i did apr purge libvulcan1 but it says not installed [04:46] I just wanted to make sure that thats right [04:47] as far as ubuntu thinking i have them installed but it says I dont have libvulcan1 installed [04:47] devslash: for example the apt purge command for the first installation that you did is: https://paste.debian.net/1286295/ [04:47] Better see the raw version at https://paste.debian.net/plain/1286295 [04:48] When you ran apt autoremove at line 42 it removed SOME packages, but not all of them [04:48] So now you want to purge all of them [04:49] This is because when you install package A, and it automatically pulls B and C, and then you purge A and you autoremove, it will e.g. also remove B if no other package in your system recommends it, but it will keep C if any other package in your system does recommend it [04:50] So "install a metapackage, remove a metapackage and run apt autoremove" is NOT the correct way to remove what you installed [04:50] ok thanks [04:52] alkisg thank you that fixed the issue for me [04:52] And the apt purge command that corresponds to your apt install ubuntu-desktop, is: https://paste.debian.net/plain/1286298 [04:53] devslash: I guess you only run the first command; you also need the second one [04:54] I'm running both [04:55] I want nothing to do with XOrg on my server [04:55] It's best to take snapshots before doing such things. Or use a VM and revert to last snapshot. [04:55] well my server is not a vm [04:55] thanks === gvg_ is now known as gvg [06:55] if I was able to install and reboo but then the EXT4 partition has a problem mounting, but it's on a PC with hardware from 2011 (SSD not that old though) does that mean the SSD is bad or the hardware is starting to have some incompatibility? [06:56] 'reboot' [06:58] darwin: when you run some basic smart utilites on the ssd, did it look within parameters? [07:03] in your /etc/fstab, did you list drives by UUID? - and "problem mounting" what was the actual stdout? - i suppose, I mean to say this is the order I should check: review the error message, ensure correct /etc/fstab entry, check smart, run fsck, review report. === TomTom_ is now known as TomTom [07:04] ext4 is pretty much the most stable fs yet. [07:09] what smart utilities should I use? I didn't do anything to fstab so it is as default was. I will try to reboot and see the exact error [07:13] Hello i am setting up ubuntu core with ubuntu frame that displays a website but what we are missing is a refresh button anyone know if a refresh button is avalible for ubuntu frame with wpe-webkit-mir-kiosk? [07:14] Has anyone tried using the fail2ban report module? [07:15] My server is large and has plenty of resources to send out 50,000 abuse complaints per day [07:16] the error was: end kernel panic--not syncinc: VFS: unable to mount root fs on unknown-block (0,0) [07:16] syncing [07:16] That does not sound good. [07:17] Time to pull out xojo and write a abuse reporter. [07:18] darwin: do you have a live ISO? [07:18] i have one or can get one [07:19] if you can get a desktop environment, gsmartcontrol is the most user-friendly way to check SMART params. otherwise, if stuck with a terminal, i think the underlying util is smartctl [07:20] i'm not the type of user/programmer who thinks having a terminal is 'stuck' [07:20] thanks; I will see if I can run gsmartcontrol or smartctl [07:23] haha ok. np [07:40] darwin: I'm about to paste some basic smart commands, but I did not get the term "stuck" - is that a comment on how you view terminal - or terminal is not functioning? [07:41] first thing I normally do is just to see how much use the media had "smartctl -all /dev/sda | grep Power_On_Hours" - then I run a short test "sudo smartctl --test=short/dev/sda" [07:41] dabbler said 'if stuck with a terminal' but I don't think like that. I started with UNIX and strictly UNIX-like (the only other being Slackware) for my own PC; what I was asking about is for a user's PC I administer [07:42] sorry, that is way to english for me - "stuck" means you live or hate terminal? [07:42] ask dabbler what he meant [07:43] sounds like he meant he doesn't think terminal is as good as GUI, which I don't agree with [07:43] oic - dabbler - what does stuck mean the usage you above used? [07:43] oic - my view on that is "give me konsole or give me death" <(") [07:43] for a complete detailed report "smartctl -x /dev/sda" [07:43] :) [07:44] but... most of that is not so useful (to me) [07:44] 20tb drive is now less than 400 euro - everything is basically free to replace at will [07:45] dumb === aaguhagegaooeg is now known as westor === westor is now known as Guest6126 [08:02] weedmic: by "stuck with" I just meant "having no alternative to". I had no idea how much or little experience with Linux they had. [08:17] it said power on hours: old age: 11919 [08:18] but that doesn't sound old. That's under a year and a half [08:22] tks darwin [08:27] what package contains mkfs.vfat tool on ubuntu ? [08:30] the smartctl short test passed with zero errors. I don't think it's the SSD rather than something about the hardware design is from 12+ years ago (even though the system-/logic-/main-/mother-board was a new replacement just maybe five years old and the CPU is newer also) [08:31] darwin: concur="I don't think it's the SSD" [08:33] darwin: kernel panic can be tough. mostly b/c of the panic, often what caused it cannot/is not written down. but, sometimes, it a clue is written down. you should examine the logs the last few minutes before the kernel panic. if you are lucky, maybe it was a process (software) - which cna be adjusted. [08:36] well I can't get logs, because it doesn't boot [08:37] darwin: what happens if you try to mount the fs from a live usb? [08:37] darwin: did you try booting using the original kernel? maybe the kernel it installed during installation/update isnt working right [08:37] i guess I could do that. Of course [08:38] there was no update [08:38] if you get grub then i guess the fs isnt damaged if you have just 1 partition, so maybe the kernel just has a problem [08:38] hmm [08:38] are you sure? nothing in advanced options in grub? [08:38] yes, I get GRUB, then starts to boot, then kernel panic [08:39] i will check. So maybe I can mount the partition and get logs? [08:40] this has happened two or three times, installing from two or three live ISOs, actually, which I guess the kernel updated later. That's why I don't think it's a kernel rather than something programmed wrong for old hardware now (okay, maybe in newer kernels, but I don't know if it occurs with other GNU/Linux) === shokohsc51 is now known as shokohsc5 [08:41] well yeah mount the partition, look for /var/log/syslog or /var/log/boot.log, but i doubt there will be anything, it sounds like its having trouble mounting the fs in the initrd stage [08:42] worth a try though, i'd see if there's a previous kernel in the advanced options in grub [08:43] darwin: can you pastebin the results of "ls -l /boot" after mounting the fs? maybe you're missing some files there [08:43] darwin: you can boot with a live linux and have access to the logs - still reading above [08:43] i doubt there's an older one because I usually installed it the day I downloaded or after [08:44] darwin: during the installation it will install a new kernel if the machine is hooked up to the internet [08:45] my money's on bad kernel/initrd [08:45] if it works with live linux, but not when booting regular, it is not hardware (since you checked the sdd for errors already). which is a good thing. meaning it can be fixed/reaplced. [08:46] generally for me, once I know it isn't hardware, i think - is this machine worth more than 30 mins work - or 18 mins to start over w a new install an dpartition wipes. [09:05] thanks for the help, everyone, like for the testing. I solved it. It was a newer bad kernel or maybe hadn't finished making the initrd. An older one booted fine (thanks EriC^^). [09:06] i prefer to avoid having an initrd at all [09:11] I need to add a CIFS mount to boot. Where is the file I edit to do this please? [09:27] PvtJoker: /etc/fstab [09:27] thanks tomreyn [09:56] good day, the 22.04 LTS server installer seems to be broken. After installation, it now tried to update via 'unattended-upgrades'. I pressed 'cancel update and reboot' button, but it still just continues the update? there is a grayed out [Rebooting...] button now, but the log just continues to unpack and setting up packages [09:56] i cannot shut down my virtual machine because it is reported to be 'buxy' [09:57] busy [09:57] is my only way to handle this just to force-quit the virtual machine, then immediately disable 'unattended-upgrades' ? [10:00] unattended-upgrades has no GUI, where did you "pressed 'cancel update and reboot' button"? [10:00] tomreyn: in the installer [10:00] you wrote "after installation", though? [10:01] well it tells me 'Installation complete!' in the orange header bar [10:02] i don't think unattended-upgrades would run against the target system while you're still running the installer [10:02] well it does [10:02] it is the last thing that it is doing [10:02] making screenshots [10:03] oh now its done [10:03] great [10:04] so this is the "install updates after installation" (or similar) option you can choose earlier in the installation process, i guess? i didn't know that was implemented through unattended-upgrades. but i guess that's not a bad way to do it, if so. [10:04] it would not be a bad way if i just could have cancelled it [10:05] however, the 'cancel upgrade and reboot' button did nothing [10:05] https://i.imgur.com/EA4dEUY.png this was what i was staring at for about 20 minutes https://i.imgur.com/EA4dEUY.png [10:05] sorry for the double link [10:06] darwin - nice to hear it is fixed. [10:06] minus the two last lines, apparently it continued right when i took the screen shot [10:07] maybe you hit a very slow mirror server there. [10:08] what does a slow mirror have to do with aborting the update? [10:08] does aborting still entail downloading all the stuff? i would have thought that 'aborting' just cancels and rollbacks the update process [10:08] if it's a blocking task, that would prevent the update mechanism from quitting [10:09] i don't think it would cancel in-progress downloads [10:09] i could see it in the 'full log', it was constantly preparign and unpackign new packages [10:09] its not that the install log just stalled [10:09] I generally research every update for possible problems it would introduce, so don't use unattended anything. I found this though, stenno, which may help you - it lists a lot of options - https://help.ubuntu.com/community/AutomaticSecurityUpdates [10:11] i missed the installer configuration option where i can actually set this. [10:11] it's probably graphical and checked by default :D [10:11] i'm not sure it exists on the server installer, it did on the old desktop installer. [10:12] hi, weird question. I have some sql queries in .sql files and use sqlx::query_file_as! macro quite a bit. now I wanted to have a small query where I use one of the files as subquery, I tried using `concat!("sth", include_str!("query.sql"), "more sth")` but ofc that doesnt work because the sqlx::query! macro expects a string literal. is there any workaround other then using the dynamic runtime [10:12] function isntead of the macro? [10:12] so i have no choice of actually setting it in the installer, so i just have to be really patient because the 'cancel update' button doesn't work, or force-quit the VM and disable unattented upgrade [10:12] you could provide feedback in #ubuntu-server, which may or may not be seen by someone who might be involved in development, or, better yet, file a bug report. [10:13] oops wrong channel. sry. mobile inet, weechat updated too slowly :( [10:13] oh, i didn't know ubuntu-server had a distinct channel [10:17] stenno: you might be better off using cloud images by the way, if it's for use in VM guests. [10:17] https://ubuntu.com/server/docs/cloud-images/introduction [10:25] hmm could it be because i only have 10GB of disk space? But the minimum recommendation is only 2.5 gb [10:25] no, it won't be that [10:26] i still think you hit a slow mirror server [10:27] (or a bad router somewhere along the network route) [10:31] tomreyn: but just again to clarify - it wasn't stuck downloading a package or anything. it was just constantly unpacking and preparing packages [10:31] as if i just didn't press the 'cancel update' button [10:40] new to ubuntu here. i just edit /etc/fstab now pc is in emergency mode and video went off [10:40] added 4 lines to it to mount some drives and it broke it [10:44] PvtJoker: in the future, you may wish to consider copying a file to something like "cp /etc/fstab.original" before making changes so you can put it back if the changes damage the system. use something like pastebin.com and show us the current contents of /etc/fstab - espeically the 4 lines you added. [10:44] you can boot with a live linux media to get access to the ubuntu machine's /etc folder. [10:45] ok i did control alt del and it rebooted and i am back in [10:45] here is /etc/fstab https://pastebin.com/DHSFwTYH [10:46] i saw in my logs an error saying it is not in mtab [10:47] Jul 19 06:42:37 beast expandrive[3262]: fusermount: entry for /media/patrick/documents not found in /etc/mtab [10:47] i guess i missed something with grub? [10:47] seems fine to me - assuming you copied and pasted the UUIDs [10:48] i did [10:48] wait do they need "" around the UUID? [10:48] so are you ?fixed? [10:48] I took those out [10:48] i'll check mine, but I think not [10:48] none of the drives mounted [10:49] says missing in mtab [10:49] no, but I have above each a remmed out line stating what the volume is for. [10:49] ok that should not hurt to leave out a remmed line? [10:49] do i need to run some grub cmd? [10:51] i have never edited /etc/mtab. i opened mine and it is very long. I simply don't know anything about mtab. [10:51] "run some grub cmd" - for what purpost? [10:52] ok forget grub then [10:52] maybe the space in /etc/fstab threw it off [10:52] I added a #comment line before each UUID line just now [10:52] I will reboot and try [10:53] no [10:53] no need to reboot - the comments are just for human understanding and affect nothing. provided the line starts with #comment [10:54] #this is my line of notes [10:54] darn it, just the # [10:54] I think you need to ask is there anyreadon to edit the /etc/mtab file - and if yes, please provide a link to instructions. [10:55] ok well i rebooted and it didn't go into emergency mode again. I guess the space in /etc/fstab threw it off [10:56] weedmic in your /etc/fstab do you use UUID or device names? [10:56] I'm wondering if the mtab is ?built/constructed? with data from the fstab - but again I know nothing about this area. [10:57] I do not understand the question - do you mean like "\" or "\home" - or do you mean volume names? or something else [10:57] like /dev/sda1 vs UUID === ord is now known as quem [11:10] no, PvtJoker, I always use UUID. If I remember correctly, I even have a command to allow me to set the UUID. But except I have a vague memory of setting my home server to FEEDDAD === bariserkus is now known as bariserku === bariserku is now known as bariserkus [11:30] Hello [11:30] quick question [11:31] I have issue with login into my lunchpad account. I want to report a bug for Ubuntu. How can I do that? [11:32] bariserkus: before filing a bug, we advice you to ask your issue here first, maybe volunteers know whats it about [11:32] OK. is this room a good place? [11:32] this is the ubuntu support channel indeed bariserkus [11:33] Great! [11:33] this is about Ubuntu desktop 23.04. [11:33] I have issues with bluetooth [11:33] I have issues with bluetooth [11:34] I have issues with bluetooth, wi-fi and airplane mode... [11:34] Describe the issue [11:34] weedmic I got it to work. [11:36] weedmic : i left out 'options' in fstab. I added a 'defaults' before dump and pass and it is ok now [11:36] thanks for the assist :) [11:37] When I turn on bluetooth and add a device, it turned off wi-fi, which I only realized after I turned off and on the computer.. When I turn the bluetooth off, it switches automatically to airplane mode, so there is no way to connect to Wi-fi. How I solved the problem is, turned of BT, restart, and turn off airplane and turn on wi-fi. But it is quite unstable. Randomly when I turn off and on, the problem comes back. In some cases [11:37] the computer does not turn off properly.. Anybody experienced similar issues with BT [11:37] Wi-fi and airplane mode? [11:40] PvtJoker: nice job - and tks for reporting back [11:59] Hi everyone, [11:59] A few days ago my mobile connection stopped working. Depending on how I initiate the connection it immediately disconnects and stays off or keeps reconnecting in ~1s intervals. I'm not aware of any changes I made. I'm on 22.04 clean install with a quectel modem. SIM works fine when used with a phone. [11:59] NetworkManager says something like "IP mode not supported". [11:59] ModemManger says "pdn-ipv6-call-disallowed". Ignoring or disabling IPv6 didn't help. [11:59] I can see from the logs that I receive some IPv4 settings after the connection is established but the connection only stays open when I configure IPv4 as "automatic,addresses only". When I do that I have no DNS but I can ping the outside world... kinda at least... every other packet is lost because the connection gets reestablished. [11:59] There's hardly anything helpful online, I really don't know how to continue debugging/fixing this. Any ideas? [12:13] what does "nmcli connections show" display? Guest56 [12:14] and "sudo nmcli device status" - put these in a file and use something like pastebin and post the link [12:20] Hi all [12:21] weedmic https://dpaste.com/9LYLHHQSV [12:23] hi [12:26] Guest56: is the "connected" line green? [12:28] it seems to me that it is connected - idnk Guest56 [12:32] weedmic That's with the "automatic,addresses only" setting I mentioned. It doesn't _stay_ connected and breaks as soon as the first packet gets sent. Also DNS is not configured properly. Here's some more info: https://dpaste.com/675DS3BHK [12:33] The logs I've put there keep repeating === ord is now known as quem [13:03] but u left === henry404088 is now known as henry40408 [13:57] Hi , there [13:57] I config the netplan with an interface and ovs-bridge and set the mac address manually on the bridge but after applying the netplan, the other mac was randomly assigned by OS to this [13:57] https://www.irccloud.com/pastebin/SaeIzyTe/ [13:57] And the result was this: [13:57] https://www.irccloud.com/pastebin/JwihCLNN/ [13:57] why does not apply the manually mac to the bridge interface `11:00:00:00:05:01` instead of `b6:22:e5:2d:9f:4c` [13:57] help me please! [13:59] hamidlotfi: this is meant to match mac addresses to rename them using the interface name given in netplan. It does not set the mac address of the interface [13:59] hamidlotfi: it also doesn't work on virtual(bridged) interfaces [13:59] hamidlotfi: https://netplan.readthedocs.io/en/latest/netplan-yaml/ [14:00] hamidlotfi: https://netplan.readthedocs.io/en/latest/netplan-yaml/#:~:text=as%20of%20v1.14.0)-,macaddress%20(scalar),-Device%E2%80%99s%206%2Dbyte [14:07] Here's the weird thing, on the other server I applied this configuration with the other Mac and it applied. [14:08] hamidlotfi: nope, that's not how it works [14:08] https://www.irccloud.com/pastebin/bm6OBgdc/ [14:08] https://www.irccloud.com/pastebin/tQBmsddm/ [14:09] yes, you renamed the interface [14:09] I don't know [14:09] no this create a bridge on the interface not rename! [14:10] that's not how it works [14:11] I am also confused why it works on one server and not on another! [14:11] it doesn't "work" on one server, you need to dig in deeper to see what it's actually doing because it's not creating a bridge interface with your custom MAC [14:12] macaddress: is used to rename an interace, nothing more [14:13] yes, I know [14:13] and you're not even using it correctly, it should be under a match: section [14:15] hamidlotfi: you know what. I was wrong. It looks like macaddress: is both an option for match: as well as setting the mac of an interface [14:17] hamidlotfi: try this https://serverfault.com/a/955013 [14:17] hamidlotfi: https://manpages.ubuntu.com/manpages/focal/man5/netplan.5.html#:~:text=8.8.8.8%2C%20%22FEDC%3A%3A1%22%5D-,macaddress%20(scalar),-Set%20%20%20the%20%20%20device%E2%80%99s [14:18] "Note: This will not work reliably for devices matched by name only and rendered by networkd, due to interactions with device renaming in udev. Match devices by MAC when setting MAC addresses." [14:18] TIL [14:18] hamidlotfi: why do you need to set custom mac's anyway? [14:19] But here's the problem, when you create a bridge interface, the operating system randomly assigns a Mac address to it, and the point is that these were also clones, so the bridge Macs are the same, and to change these Macs, use from `macaddress` to change it. [14:30] see this https://bugs.launchpad.net/netplan/+bug/1782221 [14:30] -ubottu:#ubuntu- Launchpad bug 1782221 in systemd "networkd: bridge MAC addresses are not inherited from physical interface" [Undecided, New] [14:32] hamidlotfi: is this a VM or bare metal install? === JanC_ is now known as JanC === shokohsc51 is now known as shokohsc5 [16:13] hello [16:43] Ello all [16:46] I'm having an issue with Ubuntu 22.04 setting my user env KRB5CCNAME variable to KEYRING:persistent:#####. My configuration say to use FILE:/tmp/krb5cc_#####. [16:46] This machine is configured with the FreeIPA client from the 22.04 repos. [16:49] I've checked /etc/krb5.conf, /etc/pam.d/*, /etc/sssd/sssd.conf. There are no references to KEYRING:persistent:##### [16:52] Dead in here? Net split? [16:53] !patience | hydrian [16:53] hydrian: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [16:55] leftyfb: I am. Just usually this room is a lot more active. Going more than a minute without a new messsage, not necessarily for me, is usually rare. [16:56] And I know my message is on the more technical side. [17:14] If I'd like to clone an ubuntu installation onto a new drive, will dd from one drive to the other do the trick (that is, onto a blank, unformatted, unpartitioned new one), or should I be wary of partitions or dd each partition separately? And will I have to mess with partition labels in fstab? [17:18] oac: dd should do it [17:18] same size disks? [17:21] EriC^^: approximately... they're both 1TB, but different manufacturers, so probably not exactly the same number of bytes [17:22] oac: Better to use clonezilla. Lota gotcha in there [17:24] oac: well, see the byte sizes in parted -l or similar before doing it, if the destination is slightly larger and you dont mind losing the space then dd [17:28] And if the target disk is a bit smaller, you can shrink the last partition of the first disk a bit so that then again dd works [17:28] And it's a good idea after dd to open the target disk with gparted, it'll tell you if it needs to relocate the gpt backup to the last disk sector [17:30] Also there could be difference in sector size too 512 vs 4k. [17:34] hydrian: both have a common sector size. It's just two new SSDs [17:34] Clonezilla looks quite promising [17:35] Yea.. Takes a lot of the fringe cases out of it and simplies thing. Been using it for over a decade. [17:35] Also, is the 'right tool for the job' as you shouldn't be running the drive your a trying to copy. [17:56] how do i upgrade security fix on openssh on LTS without the premium subscription? [17:57] Critical vuln got fixed it tells me it did but doesn't want to upgrade [17:57] ruser: What version of ubuntu are you on? [17:58] hydrian: ISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" [17:58] Is the vulnerablity a code issue or a config issue? [17:59] yes to both [17:59] ruser: apt-cache policy openssh-server | nc termbin.com 9999 [17:59] leftyfb: oh hmm https://termbin.com/px4x [17:59] looks like my sources are out of date? [18:00] ruser: you have the latest openssh server package available in ubuntu. There is no update. [18:00] nvm, jammy is the codename [18:01] So it looks like you still have to do the configuration side of it.. [18:01] ruser: what is the CVE you're referring to? [18:01] then two questions: 1.why does it say in upgrade '# CVE-2023-2650: possible DoS translating ASN.1 object identifiers' and 2. how to get OpenSSH 9.3p2? [18:01] -ubottu:#ubuntu- Issue summary: Processing some specially crafted ASN.1 object identifiers or data containing them may be very slow. Impact summary: Applications that use OBJ_obj2txt() directly, or use any of the OpenSSL subsystems OCSP, PKCS7/SMIME, CMS, CMP/CRMF or TS with no message size limit may experience notable to very long delays when processing those messages, which may lead to a D... [18:02] leftyfb: the second one is Fix CVE-2023-38408 [18:02] -ubottu:#ubuntu- ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided. [18:02] ruser: define "in upgrade" [18:03] leftyfb: sudo apt upgrade produces https://termbin.com/pm95 [18:03] ruser: that's openssl, not openssh [18:04] ruser: apt-cache policy openssl [18:04] ruser: apt-cache policy openssl | nc termbin.com 9999 [18:04] ruser: if you have version 3.0.2-0ubuntu1.10, you're fine [18:05] the message says "Ensure you have updated the package to its latest version" [18:05] which means just make sure you are up to date [18:05] it does not say you are vulnerable [18:05] which you are more than likely not vulnerable [18:05] since it was patched in May [18:06] leftyfb: oops, thank you for pointing this out. missed the openssl. It does appear I do have an up to date version. I guess i dind't expect a non-vuln version to produce the warning. [18:06] it's not a warning exactly [18:06] it's a message to just check that you are updated [18:06] it doesn't actually check anything itself [18:07] Some 'security testers' just check the package and the version > vulnerable version. Some don't check if the package is even effected by the older versions. [18:08] thank you both [18:09] Security tests with RHEL are notorious for this. === ord is now known as quem [18:41] when I run "systemctl status " in screen the right side is cut off. How can I show the missing text? [18:44] Aavar: systemctl status --no-pager --full [18:47] hold down ctrl and try to roll your mouse wheel [18:47] casedup: that's not the issue they're having. I already gave the solution [18:47] leftyfb: tnx :) [18:48] haha whoops [18:48] :( [18:48] casedup: tnx anyway :) [18:48] im useless dude haha [18:52] Aavar, my permanent solution was to set environment variable SYSTEMD_LESS=FRXMK in .profile, and drop "Defaults env_keep == SYSTEMD_LESS" into /etc/sudoers.d to cover the cases where I sudo systemctl... === ord is now known as quem [19:40] best way to find lost data on an external hard drive? [19:41] hard drive was plugged in and then the laptop restarted as i was using that hard drive and the data i was using has vanished but i see a folder that shows items in it when i click on it but when i enter it it is empty [19:42] Hello all [19:53] hey nabersiniz [20:26] Is there a 32-bit package/library of the libgc garbage collector so I may use -m32 in gcc? === shokohsc57 is now known as shokohsc5 === ord is now known as quem [20:47] how to get fan speed ? [20:47] I hear my fan with no reason [20:47] and laptop seem to work little slower, even when printing here I feel delay [20:47] sometimes that can be addressed by changing settings in the BIOS to allow the BIOS to control them; sometimes that can be addressed by changing settings in the BIOS to forbid the bios from controlling them [20:48] Jakov, how old is your laptop? [20:49] its pretty new and it was fine yesterday [20:49] fans are often vendor-specific interfaces; try find /sys -name '*fan*' --- that might help you find speeds or controls [20:52] https://justpaste.it/bmmp4 [20:52] how to use it? === docmax is now known as Guest8818 === docmax_ is now known as docmax [21:01] d'oh === CodeMouse92 is now known as Guest2830 === Guest2830 is now known as CodeMouse92 [21:47] Just tested same on laptop with windows, its quiet === de-facto_ is now known as de-facto [22:14] hola a todos [23:26] . [23:26] Cool now I have 1,000 available ip address I can use [23:34] Hi folks. I was in here a few days ago for help getting a rebuilt RAID array to boot.  I managed to solve that, so now I am trying to figure out how to resize the RAID array. The old setup was 3x1TB, new setup is 3x2TB.  The system is running fine now, it seems, just only using 1 TB of each drive.  Searches find lots of posts saying either "it's [23:34] easy, the RAID controller will offer to do it" (presumably Windows systems) or "LOL, don't do that, reinstall" (not helpful).  Anyone have recommendations for more specific instructions? [23:35] koko [23:35] hy [23:35] Crell: first of all, what raid implemntation are you leveraging [23:36] RAID5. [23:36] sorry, like, via a hardware raid card? inside linux via mdadm? zfs? [23:36] Software raid with mdadm. [23:37] no underlying luks, or volume groups? [23:37] I don't believe so. [23:38] There's 2 RAID5 definitions.  md0 is sdX1, and is for swap.  (8 GB each drive.)  md1 is sdX5 and is for /.  (Everything else.) [23:38] I want to just expand the md1 to use the rest of the available disks. [23:39] have you resized the 5th partition on each disk so it uses the whole drive? [23:40] Not yet.  That's what I'm here to ask how to do safely. :-) === hyperreal5 is now known as hyperreal [23:41] have you got a gui? [23:41] No.  Technically I have a monitor plugged into it at the moment for debugging, but no keyboard. :-) It's a headless system that lives in my basement. [23:42] https://www.systutorials.com/docs/linux/man/1-growpart/ [23:43] Ah ha. [23:43] So is it safe to run that on all 3 drives separately, or will that confuse the RAID? [23:44] so the order of operations is, assuming the underlying raid is currently healthy [23:44] (It is healthy as far as I can tell.) [23:45] expand the correct partition for md1, tell mdadm to grow, then tell your filesystem to grow. [23:45] do you know if its ext or xfs ? [23:45] Expand the partition?  You mean partitionS?  Or do I expand md1 itself? [23:45] sorry ,expand each partition that is used by md1 [23:46] ext4, it looks like. [23:47] okay [23:47] So growpart sda5, growpart sdb5, growpart sdc5, then there's separate commands for mdadm ? [23:47] growpart -N sda 5 [23:47] for a dry run [23:47] Wise. [23:48] sda is the device, 5 is the partition you wish to expand [23:48] (-N is dry run) [23:49] Hm, interesting.  It looks like I first need to grow sdX2.  (That's the extended partition, in which sdX5 lives.) [23:49] that makes sense [23:49] The dry run says it would give me sda2 with one capacity, and sda5 with a larger capacity.  Which seems like it would break. :-) [23:51] or [23:51] parted /dev/sda resize 5 100% [23:51] might do it automatically [23:52] Does it have a dry run flag? [23:52] *resizepart [23:53] * Crell is so lost with all of the different overlapping commands. :-( [23:53] resizepart seems like it wants a specific length, which I don't know. [23:53] yeah, there's 15 ways to skin a cat most of the time [23:53] I think parted will do the resizing of the extended partition [23:53] growpart seems like the most straightforward so far, so i'll try that. [23:54] After I've grown sdX2, then sdX5, how do I tell mdadm and the file system to grow with it? [23:54] Or does resizing the partition also format the new space? [23:54] mdadm --grow /dev/md1 --size max [23:55] then after that completes, you resize the filesystem thats on top of mdadm, with resize2fs [23:55] resize2fs /dev/md1 [23:56] That's the "extend the file system definition as far it it will go" command? [23:57] yep [23:57] OK, so 4 step process.  growpart sdX2, growpart sdX5, mdadm --grow, resize2fs md1 [23:58] And then All Should Be Well? [23:58] or your money back [23:58] whee! [23:58] just uh [23:58] OK, I'll go give that a try.  If I come back in a panic you know it didn't work. :-) [23:58] sfdisk -d /dev/sda > sda.partition.table [23:59] to back up yoru partition table before you start [23:59] incase things go pear shaped [23:59] Oh, good thinking. [23:59] and of course you'll need to be root / use sudo for all of this