[00:08] <toddc> ps aux | grep snap/snap-store
[00:32] <lolok> a 'terminate running snaps' button maybe good... if only to give the error: can not self terminate
[01:27] <donofrio> 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] <sarnold> 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] <rbox> i thoguth firefox hasn't supported java appletse in like 20 years
[01:30] <sarnold> 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] <donofrio> I tried in edge and no joy
[01:30] <donofrio> this is for ibm websphere for context
[01:46] <plt2> Does the developers of exim4, sendmail or postfix ect.. hang around in this channel?
[01:46] <sarnold> no
[01:47] <plt2> I wonder if they every go any of the c conferences?
[01:47] <plt2> ok bbl
[01:47] <sarnold> 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] <plt2> I need to talk to them including the developer of fail2ban
[01:49] <plt2> For me back to work.
[02:09] <BlossmingTinkaWi> hi@all
[02:10] <sarnold> hi BlossmingTinkaWi
[02:11] <BlossmingTinkaWi> nice
[02:11] <BlossmingTinkaWi> german?
[02:11] <sarnold> nein
[02:12] <BlossmingTinkaWi> lol
[02:12] <BlossmingTinkaWi> ich war mir erst nicht sicher ob dieser chat klappt
[02:12] <BlossmingTinkaWi> wo findet man den server liesten oder so
[02:14] <sarnold> depending upon who is around, what questions have been asked, etc, it can get moderately busy
[02:14] <sarnold> it's not like ten years ago, but IRC isn't as dead as people keep saying
[02:15] <BlossmingTinkaWi> @sarnold pls wait a min my english ist to bad
[02:17] <BlossmingTinkaWi> oki this make ne funny
[02:20] <sarnold> 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] <sarnold> tschuess
[04:22] <devslash> 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] <devslash> are there any other packages that i need to install ?
[04:22] <devslash> uninstall
[04:24] <alkisg> devslash: check /var/log/apt/history.log for the packages that you installed
[04:25] <devslash> once I enter my login credentials, it boots to a static blue screen
[04:25] <devslash> ok
[04:26] <babble> 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] <devslash> i dont see any useful info in that path
[04:27] <alkisg> devslash: pastebin that file if you need help with it
[04:28] <devslash> i made this change recently. within the last few weeks
[04:28] <devslash> i only have 1 history.log for that time period
[04:29] <alkisg> If you want help, pastebin its contents
[04:29] <devslash> but i dont see any references to another package called rustdesk that i was testing that made install the desktop
[04:29] <alkisg> If it's been rotated, it would be in history.log.1
[04:29] <alkisg> And then they go to history.log.X.gz
[04:35] <devslash> one sec I am gonna paste the link
[04:40] <devslash> elks https://paste.ofcode.org/3bG6rVB5m5ZLnK2baa6hnKT
[04:41] <devslash> 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] <devslash> alkisg this is the previous history.log: https://paste.ofcode.org/cDmT8s5eZXqfNFzTLMUrff
[04:43] <alkisg> devslash: see lines 14 and 22
[04:43] <devslash> right
[04:44] <alkisg> When you installed ubuntu-desktop, you installed a whole lot of packages. These are the ones you want to uninstall
[04:44] <devslash> I purged those packages
[04:44] <devslash> I removed ubuntu-desktop already
[04:44] <alkisg> So create a huge apt purge command with all those 100 packages in it
[04:44] <alkisg> That's a metapackage
[04:44] <alkisg> It won't remove all its dependencies
[04:44] <devslash> which packages
[04:44] <devslash> on what line'
[04:44] <alkisg> See lines 16, 17, 18, 24, 25, 26
[04:45] <alkisg> Get the names of all 100 packages in these lines, and put them in a big apt purge command
[04:45] <devslash> I have to type them all manually
[04:45] <alkisg> No, you can copy/paste them and remove the extra cruft like commas
[04:46] <babble> or you can use a redirect and a shell expansion to bring them in from a text file.
[04:46] <babble> like: sudo apt purge `< path/to/apt-packages.txt`
[04:46] <devslash> on line 16 it mentions libvulcan1 i did apr purge libvulcan1 but it says not installed
[04:46] <devslash> I just wanted to make sure that thats right
[04:47] <devslash> as far as ubuntu thinking i have them installed but it says I dont have libvulcan1 installed
[04:47] <alkisg> devslash: for example the apt purge command for the first installation that you did is: https://paste.debian.net/1286295/
[04:47] <alkisg> Better see the raw version at https://paste.debian.net/plain/1286295
[04:48] <alkisg> When you ran apt autoremove at line 42 it removed SOME packages, but not all of them
[04:48] <alkisg> So now you want to purge all of them
[04:49] <alkisg> 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] <alkisg> So "install a metapackage, remove a metapackage and run apt autoremove" is NOT the correct way to remove what you installed
[04:50] <devslash> ok thanks
[04:52] <devslash> alkisg thank you that fixed the issue for me
[04:52] <alkisg> And the apt purge command that corresponds to your apt install ubuntu-desktop, is: https://paste.debian.net/plain/1286298
[04:53] <alkisg> devslash: I guess you only run the first command; you also need the second one
[04:54] <devslash> I'm running both
[04:55] <devslash> I want nothing to do with XOrg on my server
[04:55] <alkisg> It's best to take snapshots before doing such things. Or use a VM and revert to last snapshot.
[04:55] <devslash> well my server is not a vm
[04:55] <devslash> thanks
[06:55] <darwin> 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] <darwin> 'reboot'
[06:58] <weedmic> darwin: when you run some basic smart utilites on the ssd, did it look within parameters?
[07:03] <weedmic> 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.
[07:04] <weedmic> ext4 is pretty much the most stable fs yet.
[07:09] <darwin> 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] <morno88> 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] <plt2> Has anyone tried using the fail2ban report module?
[07:15] <plt2> My server is large and has plenty of resources to send out 50,000 abuse complaints per day
[07:16] <darwin> the error was: end kernel panic--not syncinc: VFS: unable to mount root fs on unknown-block (0,0)
[07:16] <darwin> syncing
[07:16] <plt2> That does not sound good.
[07:17] <plt2> Time to pull out xojo and write a abuse reporter.
[07:18] <dabbler> darwin: do you have a live ISO?
[07:18] <darwin> i have one or can get one
[07:19] <dabbler> 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] <darwin> i'm not the type of user/programmer who thinks having a terminal is 'stuck'
[07:20] <darwin> thanks; I will see if I can run gsmartcontrol or smartctl
[07:23] <dabbler> haha ok. np
[07:40] <weedmic> 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] <weedmic> 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] <darwin> 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] <weedmic> sorry, that is way to english for me - "stuck" means you live or hate terminal?
[07:42] <darwin> ask dabbler what he meant
[07:43] <darwin> sounds like he meant he doesn't think terminal is as good as GUI, which I don't agree with
[07:43] <weedmic> oic - dabbler - what does stuck mean the usage you above used?
[07:43] <weedmic> oic - my view on that is "give me konsole or give me death" <(")
[07:43] <weedmic> for a complete detailed report "smartctl -x /dev/sda"
[07:43] <darwin> :)
[07:44] <weedmic> but... most of that is not so useful (to me)
[07:44] <weedmic> 20tb drive is now less than 400 euro - everything is basically free to replace at will
[07:45] <zeebra> dumb
[08:02] <dabbler> 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] <darwin> it said power on hours: old age: 11919
[08:18] <darwin> but that doesn't sound old.  That's under a year and a half
[08:22] <weedmic> tks darwin
[08:27] <bob_x2> what package contains mkfs.vfat tool on ubuntu ?
[08:30] <darwin> 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] <weedmic> darwin: concur="I don't think it's the SSD"
[08:33] <weedmic> 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] <darwin> well I can't get logs, because it doesn't boot
[08:37] <EriC^^> darwin: what happens if you try to mount the fs from a live usb?
[08:37] <EriC^^> darwin: did you try booting using the original kernel? maybe the kernel it installed during installation/update isnt working right
[08:37] <darwin> i guess I could do that.  Of course
[08:38] <darwin> there was no update
[08:38] <EriC^^> 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] <EriC^^> hmm
[08:38] <EriC^^> are you sure? nothing in advanced options in grub?
[08:38] <darwin> yes, I get GRUB, then starts to boot, then kernel panic
[08:39] <darwin> i will check.  So maybe I can mount the partition and get logs?
[08:40] <darwin> 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)
[08:41] <EriC^^> 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] <EriC^^> worth a try though, i'd see if there's a previous kernel in the advanced options in grub
[08:43] <EriC^^> darwin: can you pastebin the results of "ls -l /boot" after mounting the fs? maybe you're missing some files there
[08:43] <weedmic> darwin: you can boot with a live linux and have access to the logs - still reading above
[08:43] <darwin> i doubt there's an older one because I usually installed it the day I downloaded or after
[08:44] <EriC^^> darwin: during the installation it will install a new kernel if the machine is hooked up to the internet
[08:45] <EriC^^> my money's on bad kernel/initrd
[08:45] <weedmic> 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] <weedmic> 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] <darwin> 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] <darwin> i prefer to avoid having an initrd at all
[09:11] <PvtJoker> I need to add a CIFS mount to boot. Where is the file I edit to do this please?
[09:27] <tomreyn> PvtJoker: /etc/fstab
[09:27] <PvtJoker> thanks tomreyn
[09:56] <stenno> 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] <stenno> i cannot shut down my virtual machine because it is reported to be 'buxy'
[09:57] <stenno> busy
[09:57] <stenno> is my only way to handle this just to force-quit the virtual machine, then immediately disable 'unattended-upgrades' ?
[10:00] <tomreyn> unattended-upgrades has no GUI, where did you "pressed 'cancel update and reboot' button"?
[10:00] <stenno> tomreyn: in the installer
[10:00] <tomreyn> you wrote "after installation", though?
[10:01] <stenno> well it tells me 'Installation complete!' in the orange header bar
[10:02] <tomreyn> i don't think unattended-upgrades would run against the target system while you're still running the installer
[10:02] <stenno> well it does
[10:02] <stenno> it is the last thing that it is doing
[10:02] <stenno> making screenshots
[10:03] <stenno> oh now its done
[10:03] <stenno> great
[10:04] <tomreyn> 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] <stenno> it would not be a bad way if i just could have cancelled it
[10:05] <stenno> however, the 'cancel upgrade and reboot' button did nothing
[10:05] <stenno> 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] <stenno> sorry for the double link
[10:06] <weedmic> darwin - nice to hear it is fixed.
[10:06] <stenno> minus the two last lines, apparently it continued right when i took the screen shot
[10:07] <tomreyn> maybe you hit a very slow mirror server there.
[10:08] <stenno> what does a slow mirror have to do with aborting the update?
[10:08] <stenno> does aborting still entail downloading all the stuff? i would have thought that 'aborting' just cancels and rollbacks the update process
[10:08] <tomreyn> if it's a blocking task, that would prevent the update mechanism from quitting
[10:09] <tomreyn> i don't think it would cancel in-progress downloads
[10:09] <stenno> i could see it in the 'full log', it was constantly preparign and unpackign new packages
[10:09] <stenno> its not that the install log just stalled
[10:09] <weedmic> 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] <stenno> i missed the installer configuration option where i can actually set this.
[10:11] <weedmic> it's probably graphical and checked by default :D
[10:11] <tomreyn> i'm not sure it exists on the server installer, it did on the old desktop installer.
[10:12] <belst> 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] <belst> function isntead of the macro?
[10:12] <stenno> 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] <tomreyn> 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] <belst> oops wrong channel. sry. mobile inet, weechat updated too slowly :(
[10:13] <stenno> oh, i didn't know ubuntu-server had a distinct channel
[10:17] <tomreyn> stenno: you might be better off using cloud images by the way, if it's for use in VM guests.
[10:17] <tomreyn> https://ubuntu.com/server/docs/cloud-images/introduction
[10:25] <stenno> hmm could it be because i only have 10GB of disk space? But the minimum recommendation is only 2.5 gb
[10:25] <tomreyn> no, it won't be that
[10:26] <tomreyn> i still think you hit a slow mirror server
[10:27] <tomreyn> (or a bad router somewhere along the network route)
[10:31] <stenno> 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] <stenno> as if i just didn't press the 'cancel update' button
[10:40] <PvtJoker> new to ubuntu here. i just edit /etc/fstab now pc is in emergency mode and video went off
[10:40] <PvtJoker> added 4 lines to it to mount some drives and it broke it
[10:44] <weedmic> 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] <weedmic> you can boot with a live linux media to get access to the ubuntu machine's /etc folder.
[10:45] <PvtJoker> ok i did control alt del and it rebooted and i am back in
[10:45] <PvtJoker> here is /etc/fstab https://pastebin.com/DHSFwTYH
[10:46] <PvtJoker> i saw in my logs an error saying it is not in mtab
[10:47] <PvtJoker> Jul 19 06:42:37 beast expandrive[3262]: fusermount: entry for /media/patrick/documents not found in /etc/mtab
[10:47] <PvtJoker> i guess i missed something with grub?
[10:47] <weedmic> seems fine to me - assuming you copied and pasted the UUIDs
[10:48] <PvtJoker> i did
[10:48] <PvtJoker> wait do they need "" around the UUID?
[10:48] <weedmic> so are you ?fixed?
[10:48] <PvtJoker> I took those out
[10:48] <weedmic> i'll check mine, but I think not
[10:48] <PvtJoker> none of the drives mounted
[10:49] <PvtJoker> says missing in mtab
[10:49] <weedmic> no, but I have above each a remmed out line stating what the volume is for.
[10:49] <PvtJoker> ok that should not hurt to leave out a remmed line?
[10:49] <PvtJoker> do i need to run some grub cmd?
[10:51] <weedmic> i have never edited /etc/mtab.  i opened mine and it is very long.  I simply don't know anything about mtab.
[10:51] <weedmic> "run some grub cmd" - for what purpost?
[10:52] <PvtJoker> ok forget grub then
[10:52] <PvtJoker> maybe the space in /etc/fstab threw it off
[10:52] <PvtJoker> I added a #comment line before each UUID line just now
[10:52] <PvtJoker> I will reboot and try
[10:53] <weedmic> no
[10:53] <weedmic> no need to reboot - the comments are just for human understanding and affect nothing.  provided the line starts with #comment
[10:54] <weedmic> #this is my line of notes
[10:54] <weedmic> darn it, just the #
[10:54] <weedmic> 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] <PvtJoker> 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] <PvtJoker> weedmic in your /etc/fstab do you use UUID or device names?
[10:56] <weedmic> I'm wondering if the mtab is ?built/constructed? with data from the fstab - but again I know nothing about this area.
[10:57] <weedmic> I do not understand the question - do you mean like "\" or "\home" - or do you mean volume names?  or something else
[10:57] <PvtJoker> like /dev/sda1 vs UUID
[11:10] <weedmic> 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
[11:30] <bariserkus> Hello
[11:30] <bariserkus>  quick question
[11:31] <bariserkus> I have issue with login into my lunchpad account. I want to report a bug for Ubuntu. How can I do that?
[11:32] <lotuspsychje> bariserkus: before filing a bug, we advice you to ask your issue here first, maybe volunteers know whats it about
[11:32] <bariserkus> OK. is this room a good place?
[11:32] <lotuspsychje> this is the ubuntu support channel indeed bariserkus
[11:33] <bariserkus> Great!
[11:33] <bariserkus> this is about Ubuntu desktop 23.04.
[11:33] <bariserkus> I have issues with bluetooth
[11:33] <bariserkus>  I have issues with bluetooth
[11:34] <bariserkus> I have issues with bluetooth, wi-fi and airplane mode...
[11:34] <jeremy31> Describe the issue
[11:34] <PvtJoker> weedmic  I got it to work.
[11:36] <PvtJoker> weedmic : i left out 'options' in fstab. I added a 'defaults' before dump and pass and it is ok now
[11:36] <PvtJoker> thanks for the assist :)
[11:37] <bariserkus> 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] <bariserkus>  the computer does not turn off properly.. Anybody experienced similar issues with BT
[11:37] <bariserkus>  Wi-fi and airplane mode?
[11:40] <weedmic> PvtJoker: nice job - and tks for reporting back
[11:59] <Guest56> Hi everyone,
[11:59] <Guest56> 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] <Guest56> NetworkManager says something like "IP mode not supported".
[11:59] <Guest56> ModemManger says "pdn-ipv6-call-disallowed". Ignoring or disabling IPv6 didn't help.
[11:59] <Guest56> 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] <Guest56> There's hardly anything helpful online, I really don't know how to continue debugging/fixing this. Any ideas?
[12:13] <weedmic> what does "nmcli connections show" display?  Guest56
[12:14] <weedmic> and "sudo nmcli device status" - put these in a file and use something like pastebin and post the link
[12:20] <BluesKaj> Hi all
[12:21] <Guest56> weedmic https://dpaste.com/9LYLHHQSV
[12:23] <nik> hi
[12:26] <weedmic> Guest56: is the "connected" line green?
[12:28] <weedmic> it seems to me that it is connected - idnk Guest56
[12:32] <Guest56> 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] <Guest56> The logs I've put there keep repeating
[13:03] <weedmic> but u left
[13:57] <hamidlotfi> Hi , there
[13:57] <hamidlotfi> 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] <hamidlotfi> https://www.irccloud.com/pastebin/SaeIzyTe/
[13:57] <hamidlotfi> And the result was this:
[13:57] <hamidlotfi> https://www.irccloud.com/pastebin/JwihCLNN/
[13:57] <hamidlotfi> 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] <hamidlotfi> help me please!
[13:59] <leftyfb> 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] <leftyfb> hamidlotfi: it also doesn't work on virtual(bridged) interfaces
[13:59] <leftyfb> hamidlotfi: https://netplan.readthedocs.io/en/latest/netplan-yaml/
[14:00] <leftyfb> 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] <hamidlotfi> Here's the weird thing, on the other server I applied this configuration with the other Mac and it applied.
[14:08] <leftyfb> hamidlotfi: nope, that's not how it works
[14:08] <hamidlotfi> https://www.irccloud.com/pastebin/bm6OBgdc/
[14:08] <hamidlotfi> https://www.irccloud.com/pastebin/tQBmsddm/
[14:09] <leftyfb> yes, you renamed the interface
[14:09] <hamidlotfi> I don't know
[14:09] <hamidlotfi> no this create a bridge on the interface not rename!
[14:10] <leftyfb> that's not how it works
[14:11] <hamidlotfi> I am also confused why it works on one server and not on another!
[14:11] <leftyfb> 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] <leftyfb> macaddress: is used to rename an interace, nothing more
[14:13] <hamidlotfi> yes, I know
[14:13] <leftyfb> and you're not even using it correctly, it should be under a match: section
[14:15] <leftyfb> 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] <leftyfb> hamidlotfi: try this https://serverfault.com/a/955013
[14:17] <leftyfb> 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] <leftyfb> "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] <leftyfb> TIL
[14:18] <leftyfb> hamidlotfi: why do you need to set custom mac's anyway?
[14:19] <hamidlotfi> 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] <hamidlotfi> 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] <leftyfb> hamidlotfi: is this a VM or bare metal install?
[16:13] <ldi-carl> hello
[16:43] <hydrian> Ello all
[16:46] <hydrian> 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] <hydrian> This machine is configured with the FreeIPA client from the 22.04 repos.
[16:49] <hydrian> I've checked /etc/krb5.conf, /etc/pam.d/*, /etc/sssd/sssd.conf. There are no references to KEYRING:persistent:#####
[16:52] <hydrian> Dead in here? Net split?
[16:53] <leftyfb> !patience | hydrian
[16:55] <hydrian> 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] <hydrian> And I know my message is on the more technical side.
[17:14] <oac> 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] <EriC^^> oac: dd should do it
[17:18] <EriC^^> same size disks?
[17:21] <oac> EriC^^: approximately... they're both 1TB, but different manufacturers, so probably not exactly the same number of bytes
[17:22] <hydrian> oac: Better to use clonezilla. Lota gotcha in there
[17:24] <EriC^^> 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] <alkisg> 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] <alkisg> 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] <hydrian> Also there could be difference in sector size too 512 vs 4k.
[17:34] <oac> hydrian: both have a common sector size. It's just two new SSDs
[17:34] <oac> Clonezilla looks quite promising
[17:35] <hydrian> Yea.. Takes a lot of the fringe cases out of it and simplies thing. Been using it for over a decade.
[17:35] <hydrian> Also, is the 'right tool for the job' as you shouldn't be running the drive your a trying to copy.
[17:56] <ruser> how do i upgrade security fix  on openssh on LTS without the premium subscription?
[17:57] <ruser> Critical vuln got fixed it tells me it did but doesn't want to upgrade
[17:57] <hydrian> ruser: What version of ubuntu are you on?
[17:58] <ruser> hydrian:  ISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
[17:58] <hydrian> Is the vulnerablity a code issue or a config issue?
[17:59] <ruser> yes to both
[17:59] <leftyfb> ruser: apt-cache policy openssh-server | nc termbin.com 9999
[17:59] <ruser> leftyfb:  oh hmm https://termbin.com/px4x
[17:59] <ruser> looks like my sources are out of date?
[18:00] <leftyfb> ruser: you have the latest openssh server package available in ubuntu. There is no update.
[18:00] <ruser> nvm, jammy is the codename
[18:01] <hydrian> So it looks like you still have to do the configuration side of it..
[18:01] <leftyfb> ruser: what is the CVE you're referring to?
[18:01] <ruser> 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... <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2650>
[18:02] <ruser> 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. <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38408>
[18:02] <leftyfb> ruser: define "in upgrade"
[18:03] <ruser> leftyfb:  sudo apt upgrade produces https://termbin.com/pm95
[18:03] <leftyfb> ruser: that's openssl, not openssh
[18:04] <leftyfb> ruser: apt-cache policy openssl
[18:04] <leftyfb> ruser: apt-cache policy openssl | nc termbin.com 9999
[18:04] <leftyfb> ruser: if you have version 3.0.2-0ubuntu1.10, you're fine
[18:05] <leftyfb> the message says "Ensure you have updated the package to its latest version"
[18:05] <leftyfb> which means just make sure you are up to date
[18:05] <leftyfb> it does not say you are vulnerable
[18:05] <leftyfb> which you are more than likely not vulnerable
[18:05] <leftyfb> since it was patched in May
[18:06] <ruser> 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] <leftyfb> it's not a warning exactly
[18:06] <leftyfb> it's a message to just check that you are updated
[18:06] <leftyfb> it doesn't actually check anything itself
[18:07] <hydrian> 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] <ruser> thank you both
[18:09] <hydrian> Security tests with RHEL are notorious for this.
[18:41] <Aavar> when I run "systemctl status <something>" in screen the right side is cut off. How can I show the missing text?
[18:44] <leftyfb> Aavar: systemctl status --no-pager --full
 hold down ctrl and try to roll your mouse wheel
[18:47] <leftyfb> casedup: that's not the issue they're having. I already gave the solution
[18:47] <Aavar> leftyfb: tnx :)
[18:48] <casedup> haha whoops
[18:48] <casedup> :(
[18:48] <Aavar> casedup: tnx anyway :)
[18:48] <casedup> im useless dude haha
[18:52] <rfm> 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...
[19:40] <effortDee> best way to find lost data on an external hard drive?
[19:41] <effortDee> 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] <michaeldavis> Hello all
[19:53] <X-REDOC> hey nabersiniz
[20:26] <david85> Is there a 32-bit package/library of the libgc garbage collector so I may use -m32 in gcc?
[20:47] <Jakov> how to get fan speed ?
[20:47] <Jakov> I hear my fan with no reason
[20:47] <Jakov> and laptop seem to work little slower, even when printing here I feel delay
[20:47] <sarnold> 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] <LuckyMan> Jakov, how old is your laptop?
[20:49] <Jakov> its pretty new and it was fine yesterday
[20:49] <sarnold> fans are often vendor-specific interfaces; try find /sys -name '*fan*'  --- that might help you find speeds or controls
[20:52] <Jakov> https://justpaste.it/bmmp4
[20:52] <Jakov> how to use it?
[21:01] <sarnold> d'oh
[21:47] <Jakov> Just tested same on laptop with windows, its quiet
[22:14] <felipe> hola a todos
[23:26] <plt2> .
[23:26] <plt2> Cool now I have 1,000 available ip address I can use
[23:34] <Crell> 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] <Crell> 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] <pratamarizki22> koko
[23:35] <pratamarizki22> hy
[23:35] <mybalzitch> Crell: first of all, what raid implemntation are you leveraging
[23:36] <Crell> RAID5.
[23:36] <mybalzitch> sorry, like, via a hardware raid card? inside linux via mdadm? zfs?
[23:36] <Crell> Software raid with mdadm.
[23:37] <mybalzitch> no underlying luks, or volume groups?
[23:37] <Crell> I don't believe so.
[23:38] <Crell> 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] <Crell> I want to just expand the md1 to use the rest of the available disks.
[23:39] <mybalzitch> have you resized the 5th partition on each disk so it uses the whole drive?
[23:40] <Crell> Not yet.  That's what I'm here to ask how to do safely. :-)
[23:41] <mybalzitch> have you got a gui?
[23:41] <Crell> 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] <mybalzitch> https://www.systutorials.com/docs/linux/man/1-growpart/
[23:43] <Crell> Ah ha.
[23:43] <Crell> So is it safe to run that on all 3 drives separately, or will that confuse the RAID?
[23:44] <mybalzitch> so the order of operations is, assuming the underlying raid is currently healthy
[23:44] <Crell> (It is healthy as far as I can tell.)
[23:45] <mybalzitch> expand the correct partition for md1, tell mdadm to grow, then tell your filesystem to grow.
[23:45] <mybalzitch> do you know if its ext or xfs ?
[23:45] <Crell> Expand the partition?  You mean partitionS?  Or do I expand md1 itself?
[23:45] <mybalzitch> sorry ,expand each partition that is used by md1
[23:46] <Crell> ext4, it looks like.
[23:47] <mybalzitch> okay
[23:47] <Crell> So growpart sda5, growpart sdb5, growpart sdc5, then there's separate commands for mdadm ?
[23:47] <mybalzitch> growpart -N sda 5
[23:47] <mybalzitch> for a dry run
[23:47] <Crell> Wise.
[23:48] <mybalzitch> sda is the device, 5 is the partition you wish to expand
[23:48] <mybalzitch> (-N is dry run)
[23:49] <Crell> Hm, interesting.  It looks like I first need to grow sdX2.  (That's the extended partition, in which sdX5 lives.)
[23:49] <mybalzitch> that makes sense
[23:49] <Crell> 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] <mybalzitch> or
[23:51] <mybalzitch> parted /dev/sda resize 5 100%
[23:51] <mybalzitch> might do it automatically
[23:52] <Crell> Does it have a dry run flag?
[23:52] <mybalzitch> *resizepart
[23:53]  * Crell is so lost with all of the different overlapping commands. :-(
[23:53] <Crell> resizepart seems like it wants a specific length, which I don't know.
[23:53] <mybalzitch> yeah, there's 15 ways to skin a cat most of the time
[23:53] <mybalzitch> I think parted will do the resizing of the extended partition
[23:53] <Crell> growpart seems like the most straightforward so far, so i'll try that.
[23:54] <Crell> After I've grown sdX2, then sdX5, how do I tell mdadm and the file system to grow with it?
[23:54] <Crell> Or does resizing the partition also format the new space?
[23:54] <mybalzitch> mdadm --grow /dev/md1 --size max
[23:55] <mybalzitch> then after that completes, you resize the filesystem thats on top of mdadm, with resize2fs
[23:55] <mybalzitch> resize2fs /dev/md1
[23:56] <Crell> That's the "extend the file system definition as far it it will go" command?
[23:57] <mybalzitch> yep
[23:57] <Crell> OK, so 4 step process.  growpart sdX2, growpart sdX5, mdadm --grow, resize2fs md1
[23:58] <Crell> And then All Should Be Well?
[23:58] <mybalzitch> or your money back
[23:58] <Crell> whee!
[23:58] <mybalzitch> just uh
[23:58] <Crell> OK, I'll go give that a try.  If I come back in a panic you know it didn't work. :-)
[23:58] <mybalzitch> sfdisk -d /dev/sda > sda.partition.table
[23:59] <mybalzitch> to back up yoru partition table before you start
[23:59] <mybalzitch> incase things go pear shaped
[23:59] <Crell> Oh, good thinking.
[23:59] <mybalzitch> and of course you'll need to be root / use sudo for all of this