[00:03] <BlackOps> .... Well, I may be figuring it out. Stack Exchange safari
[00:09] <arraybolt3> BlackOps: You probably already know this, but do yourself a favor and make sure that any compromised important data on this system has been sufficiently locked down/reset/reported/etc. Knowing how some keen-eyed black hat got you hacked is no good if you lose your email password...
[00:10] <BlackOps> Yeah, my identity was stolen by a blackhat about three weeks ago and I caught him within about two hours of him opening up a checking account in my name.
[00:10] <BlackOps> So, haha, I learned the hard way that I'd make a decent threat hunter.
[00:11] <arraybolt3> +1, and yikes!
[00:11] <BlackOps> So, recruiters in the states ask for the last four of your soc and part of your DOB. Some of them have to and they're not social engineers. Some of them legitimately have to to put you in a database. But others are using them to crack then infiltrate
[00:11] <BlackOps> And you cannot tell for sure
[00:11] <BlackOps> *job recruiters
[00:11] <BlackOps> It's a weird thing and there was a paper in a Cornell publication about it
[00:12] <BlackOps> I can try to find it. But, they got me for two hours
[00:12] <arraybolt3> (Just as a side-note, off-topic conversation is sometimes frowned upon in this room. Glad you got yourself un-messed up, though.)
[00:13] <BlackOps> There is only an advantage because my preferred OS is always Ubuntu or a Linux variant so the trojans and other malware typically won't get me since the binaries are all for the most part .exe targetted to Windows. Yes, I won't go off topic. Sorry. This is an Ubuntu issue but I will stop. I don't want to break channel rules
[00:51] <rodybig> Not sure if this is the right channel but here goes:
[00:51] <rodybig> I'm running a K8s cluster on some Ubuntu VMs. I want network metrics for each container/pod, how do I get that?
[00:51] <rodybig> I have cAdvisor running (cAdvisor is now integrated into Kubelet it seems) and I have prometheus querying and storing the metrics exposed by cAdvisor.
[00:51] <rodybig> But looks like cAdvisor only reports network metrics at the host interface level?
[00:51] <rodybig> Is there any special flags (like NET_ADMIN) that I need to start the pods or cAdvisor with?
[00:52] <rodybig> In my local docker environment, I pass --NET_ADMIN on starting docker and it seems to be able to grab the right network stats.
[01:28] <BlackOps> I want to point out that this is the most specific channel in terms of the ops and users being very very extremely hardcore ad naueam for on-topic. Either way, several channels have cross-over like #linux will include programmers and #programming is heavy on Linux. I think this channel is mostly troubleshooting Ubuntu issues
[02:36] <Mechanismus> I'm connecting from Windows 11 to XRDP 0.9.17 and KDE Plasma 5.24.6 on Ubuntu 22.04.1 and the Meta key does not bring up the Application Launcher but Alt+F1 does.  Not sure which of these things is the problem here.
[02:37] <Mechanismus> Also, Meta+arrow works to snap windows to edges, so the key at least sort of works.
[03:43] <Nautilus> I'm migrating from an old Debian VirtualBox system to a new Xubuntu 22.04 system. On the old debian system I have some files in /home/username/.ssh, and I'm wondering if that's the appropriate place to put them in Xubuntu, since I don't see an already existing .ssh dir in the Xubuntu install.
[03:52] <lolok> this folder is normally created by ssh, you can try to generate a new key with your user and youll see this happen, afaik there is no reason you cant create it yourself 1st tho as long as the user ids match what they should and the permissions are sane
[03:53] <Nautilus> I would like to generate a key for myself, unsure how to do that. Secondarily, I have placed the info for a server I ssh into which I later placed in that dir.
[03:54] <Nautilus> googling for info on the first
[03:54] <Nautilus> got it
[04:00] <lolok> ssh-keygen, all this stuff is in the manuals too, google is great but the authoritative documentation is distributed with the package
[04:01] <Nautilus> How does a command like this look?  ssh-keygen -t rsa -b 4096 -C "myemail@example.com"
[04:01] <bsmith0931> you can absolutely just copy the entire /home/user directory. thats where nearly everything stores your configs
[04:01] <Nautilus> I need to exclude some things from the migration, so a step at a time
[04:02] <bsmith0931> when installing ubuntu and its derivatives, good practice is to split the / directory into its own partition, and home into the other.
[04:03] <Nautilus> I'd still have to exclude stuff ... I have too many archives in my home
[04:03] <lolok> i prefer ed25519 but that should work
[04:03] <Nautilus> ed25519?
[04:03] <lolok> "better" than rsa
[04:04] <Nautilus> ah, huh.
[04:04] <lolok> its eliptic curve encryption instead of discrete logarithms
[04:05] <lolok> now that you might have to google lol
[04:05] <Nautilus> yea, twisted Edwards curves
[04:05] <lolok> https://en.wikipedia.org/wiki/EdDSA#Ed25519
[04:06] <Nautilus> so just change the -t param?
[04:06] <Nautilus> oh it might not like the -b 4096 hmm
[04:06] <bsmith0931> rsa is fine. 8192 bits ftw!
[04:06] <lolok> iirc all the keys are the same size in this format
[04:07] <bsmith0931> 16384 is the max supported by spec.
[04:08] <lolok> 16k of keyfile lmao may as well be an otp
[04:08] <Nautilus> so is the -b param not needed? Or should be 8192, or good lord so many Qs
[04:09] <lolok> if using ed25519 -b is not needed
[04:09] <Nautilus> is the -C useful for later? Maybe not, I might just need to keep notes
[04:12] <lolok> that all depends if you use it or not lol, if youre gonna publish your public key somewhere, its nice to have your contact info embedded
[04:13] <Nautilus> ah I see, does it need to be an email addy per the sample I found? I'm guessing no, now.
[04:14] <Nautilus> eg: example.com (where current contact info could be found)
[04:14] <lolok> its technically a comment line, like the one in /etc/passwd was for gecos info, i usually put what i intend to use the key for in there if im not publishing it
[04:15] <Nautilus> no idea what I'd use it for <grin>
[04:16] <lolok> which is usually the name or address of the server im using it to connect with or whatever i might call the purpose that server has
[04:16] <Nautilus> I have a different rsa file for the server I want to connect to, that's the other files in my .ssh
[04:17] <Nautilus> but it seems time to gen one for this machine
[04:17] <lolok> -C 'home.router' | -C 'gaming.vps'
[04:18] <lolok> if you let it idle it will tkae longer, ironically, using linux while its making the key will help it generate randomness
[04:19] <lolok> because of how the kernel derives randomness, and when is low on entropy, it will block
[04:19] <Nautilus> So I have this ready to go...  ssh-keygen -t ed25519 -C "example.com"
[04:19] <lolok> yep looks good to me
[04:19] <lolok> that will make the folder and a new key, and you can move your old keys to this folder, just match up the userid
[04:20] <Nautilus> yup
[04:21] <Nautilus> should I have a passphrase? That would be something randomly related to me, yes?
[04:22] <lolok> it doesnt have to be, it can be whatever you want, i highly recommend using a password for your key, and i highly recommend it be something you never used before, but wont forget...
[04:23] <Nautilus> 10-4 thanks
[04:26] <Nautilus> got it done, dir and keys generated. Now I'm stumped why I can't copy and paste to/from the VirtualBox VMs when I have bi-dir enabled.
[04:28] <Nautilus> Trying to type out the rsa key for the server I want to get to is no bueno. lol
[04:30] <Nautilus> Trying to find a #VirtualBox channel
[04:36] <Nautilus> back to the .ssh dir topic, the old debian had a config file where I defined hostname, port, user, and rsa file. Does that config work the same in ubuntu?
[04:37] <Nautilus> that's for the server I need to connect to
[04:38] <Nautilus> eg: /home/username/.ssh/config
[05:03] <osiris> #wunclub
[05:09] <lolok> Nautilus i would be surprised if it didnt work but without looking at the diff of which versions of ssh you had idk for sure
[05:10] <Nautilus> yea, wish I could just try it but am stuck trying to copy&paste files between two VMs. sheesh
[05:12] <Nautilus> thing is, I never know anything. came in to ask about rsa and ended up going ed25519
[05:14] <Nautilus> back when my first computer was a KIM-1 I could keep up   ;)
[05:37] <Nautilus> one more dumb question. The key's randomart is just a thing for fun, right? I don't need to keep that?
[05:39] <Diagon> Anyone point me to how I might add something to the nautilus context menu that appears on Alt-Left_Mouse-Drag_to_other_folder?
[05:41] <Nautilus> sorry, but my nick is about the cephalopod, not the UI   ;)
[05:44] <Diagon> Funny guy.
[05:44] <Diagon> Any idea what happened to nautilus-actions package?
[05:53] <Guest6668> Hi, my laptop stopped being able to join the wifi network, and started automatically cycling through all networks in its reach (none of which it could join). When I restarted it, it no longer sees my wifi adapter. Can anyone think of anything I could do?
[06:07] <arraybolt3> Guest6668: Did this happen right after updating Ubuntu?
[06:09] <Guest6668> arraybolt3, after I turned my computer on today. I don't remember if I updated it at some point yesterday. I just tried a live flash drive with Ubuntu now, the one I installed from few months ago, and it doesn't see wifi either, so it looks like it's probably hardware.
[06:10] <arraybolt3> Guest6668: Oh crud. That sounds correct, sadly. If even a live USB doesn't see it, then the problem is probably your hardware.
[06:11] <Guest6668> arraybolt3, still, thanks!
[06:11] <arraybolt3> Guest6668: Do you have any other way to connect to the Internet with this system?
[06:11] <arraybolt3> If not, I can try to find a cheap WiFi dongle that should be likely to work out of the box with Ubuntu.
[06:11] <arraybolt3> (I guess, why not look anyway?)
[06:13] <Guest6668> arraybolt3, thanks, I don't. No, just wifi.
[06:13] <Guest6668> that would be great if you found something
[06:13] <arraybolt3> Guest6668: What brand of WiFi card was already in your system, do you know?
[06:14] <arraybolt3> (The USB adapters are either expensive or appear to get poor reviews, so I'm thinking maybe finding a suitable replacement internal card might be better.)
[06:15] <Guest6668> arraybolt3, no... but maybe BIOS/EFI could remember it... it's still in warranty though, I!m just not very keen right now on the idea of parting with it the company gets around to fixing it
[06:16] <arraybolt3> Ah, OK.
[06:17] <Guest6668> until*
[06:19] <arraybolt3> Guest6668: Still looking, sorry for the delay.
[06:19] <Guest6668> arraybolt3, it's ok, thanks a lot!
[06:33] <arraybolt3> Guest6668: Hmm. The problem here is most everyone uses Realtek or Mediatek chips for their USB WiFi adapters, and Realtek and Mediatek are **not** out-of-the-box compatible with Linux. So I'm looking for something with an Atheros, Intel, or (worse case scenario) Broadcom chipset. Thus the delay.
[06:35] <Guest6668> arraybolt3, thanks a lot, I really appreciate it : )
[06:36] <arraybolt3> Thanks for your patience with me. I feel bad that you're just stuck waiting, but hopefully something good will pop up!
[06:36] <arraybolt3> Hmph, looks like I was mistaken about Mediatek, this might be a quick solution then!
[06:37] <arraybolt3> Guest6668: What version of Ubuntu are you using?
[06:38] <Guest6668> arraybolt3, Ubuntu Budgie 22.04
[06:38] <arraybolt3> Nice, thank you!
[06:42] <arraybolt3> Guest6668: One last thing, what nation are you in? That will influence which marketplace I look for an adapter in.
[06:52] <Guest6666> arraybolt3, hi, sorry, I lost connection after your "nice, thank you" message, since I tried to turn the router off and on (which didn't help, of course)
[06:52] <arraybolt3> Guest6668: One last thing, what nation are you in? That will influence which marketplace I look for an adapter in.
[06:53] <arraybolt3> Guest6666: (sorry wrong nick, see message above)
[06:53] <Guest6666> arraybolt3, Czech Republic
[07:00] <arraybolt3> Guest6666: Alright, I think we have a winner! Look for the Panda Wireless pau04 adapter. That one should just plug in and work.
[07:01] <Kottizen> Hello! I just updated from Ubuntu 18.04 to Ubuntu 20.04 in my virtual machine in AWS EC2, and now I am unable to reach the server when I have start it. According to the EC2 console, the server is running, but any network connections to it time out. There is no particular firewall on the machine, so I suspect it's not booting properly. I am, however, able to mount the system disk in another VM to
[07:01] <Kottizen> examine the files. What should I look for to troubleshoot this?
[07:02] <Guest6666> arraybolt3, thanks, I'll check it out!
[07:02] <arraybolt3> Kottizen: Is there any web console you can get access to? Seeing the exact errors the system spits out as it boots can be very helpful for this sort of thing.
[07:03] <Kottizen> arraybolt3: I'm afraid there isn't... Is that the same information as in /var/log/dmesg, though, or would I see more information with a console?
[07:03] <Kottizen> $ cat etc/os-release
[07:03] <Kottizen> NAME="Ubuntu"
[07:03] <Kottizen> VERSION="20.04.5 LTS (Focal Fossa)"
[07:03] <arraybolt3> Kottizen: You would indeed see more info with a console. If a kernel panic is happening, the only place it will appear is the console.
[07:04] <arraybolt3> Kottizen: The dmesg file would be worth a shot though, pastebin it and let's see.
[07:04] <Kottizen> arraybolt3: https://klistra.in/d4O5AitY
[07:06] <arraybolt3> Kottizen: I am really sorry to say this, but I'm a bit paranoid about unfamiliar links, and I can't find that pastebin website on Google. Would it be awful if I wanted you to use something like bpa.st or dpaste.com?
[07:06] <Kottizen> I am able to get screenshots of the console, but it just shows an empty "_" character. I am thinking the issue could be related to Grub, or its replacement if Grub is no longer used (?)
[07:07] <Kottizen> arraybolt3: It's my own pastebin :) but no worries! https://dpaste.com/FE4HRSRA3
[07:07] <arraybolt3> Grub is still used. Maybe it's getting hung up.
[07:07] <arraybolt3> Kottizen: Oh, that makes sense. OK, I'll trust it from now on.
[07:08] <arraybolt3> Kottizen: Good news, looks like it's booting! The problem appears to be related to network configuration.
[07:08] <Kottizen> (I think I am its only user, but I wanted a pastebin without advertisements and/or tracking mechanisms)
[07:08] <arraybolt3> I see tons of "stat() failed on /etc/init.d/resolvconf, ignoring: No such file or directory"
[07:08] <Kottizen> Ah, oh. That feels relieving!
[07:08] <Kottizen> Yes, maybe NetworkManager isn't starting (?)
[07:09] <arraybolt3> So... that's the good news, the bad news is I don't have a clue in the world how to fix that :) Thankfully, there's tons of other people here who may be able to help out.
[07:10] <Kottizen> Do you think a good idea could be to specify a static IP address in /etc/network/interfaces and create a sample /etc/resolv.conf? Then, I guess it should work if somehow understand how to disable NetworkManager and/or /etc/init.d/resolvconf.
[07:10] <Kottizen> Ah hehe :) I'll try my own suggestion then! I can't imagine it would break anything, at least
[07:25] <Rico> hello
[07:25] <Rico> I've enabled screen sharing in ubuntu (+ disabled screensaver and enabled autologin)
[07:26] <Rico> but I'm unable to connect to remote desktop (on ubuntu server) just after startup
[07:27] <Rico> can anyone help me with that please ?
[07:29] <arraybolt3> Rico: Are you running Ubuntu Desktop on a physical computer, or a virtual machine? Also, are you trying to access the system from another computer on the same network?
[07:30] <Rico> arraybolt3: vm
[07:30] <Rico> it seems it's related to the keyring manager
[07:30] <Rico> https://askubuntu.com/questions/1396745/21-10-make-screen-share-password-permanent
[07:31] <arraybolt3> Rico: Oh. Sadly, I don't have experience using GNOME Remote Desktop, but it looks like you found a hopeful answer!
[07:31] <Rico> I hope so
[09:30] <lucagi> Salve a tutti e perdonate la mia incompetenza e lentezza, è la prima volta che scrivo in chat.
[09:30] <lucagi> Ho un problema con una USB HUAWEI E8372 LTE Wingle, non viene identificata come modem, riesco a connettere il wi-fi ma non viene rilevata la sim.
[09:30] <lucagi> Ho provato a seguire quanto riportato alla pagina di ask ubuntu: https://askubuntu.com/questions/790893/huawei-usb-4g-modem-not-detected
[09:30] <lucagi> questo il risultato:
[09:30] <lucagi> $ sudo lsusb | grep Huawei
[09:30] <lucagi> Bus 003 Device 005: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131
[09:30] <EriC^^> !it | lucagi
[10:13] <s28mannigoskar> sg
[10:13] <s28mannigoskar> #er
[10:13] <s28mannigoskar> g
[10:13] <s28mannigoskar> eg
[10:13] <s28mannigoskar> g
[10:13] <s28mannigoskar> rgdgbfghnjkdff
[10:24] <Diagon> How do I find out if this package morphed into something new?
[10:25] <Diagon> https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=filemanager-actions&searchon=names
[10:29] <guiverc[m]> Diagon: why not look at the changelog found on a package on the site you mention
[10:30] <ogra> https://launchpad.net/ubuntu/+source/filemanager-actions
[10:30] <ogra> does not look like it was continued at all
[10:31] <ogra> but i'd ask in #ubuntu-desktop about it (since there are commits from one of the team members in this package), perhaps they know more
[10:35] <Diagon> guiverc - I'm not seeing a changelog.  all I'm seeing is nautilus-actions becomes filemanager-actions, and then seems to disappear.
[10:35] <Diagon> Thanks, orga.  Appreciated.
[10:36] <guiverc[m]> Diagon: pick a package; eg. https://packages.ubuntu.com/focal/filemanager-actions and top right you'll see a link for changelog just under bug reports... ogra's advice will be more helpful though
[10:39] <Diagon> guiverc TY!
[12:12] <podeni> Hi everyone. I have an EC2 Ubuntu AMI which I configured to only use 2GB of space for savings purposes. I'm now trying to upgrade that machine to the latest LTS, but the update crashes because of a lack of space. What could I do, apart fro, creating a new image and shrinking that?
[12:20] <prologic> I have a program I wrote that brings up another virtual ethernet interface. The moment it does that DNS stops working on Ubuntu 22.04 (fresh VM). Any ideas how I can debug/fix this? I find it very strange that just brining up another interface can break SystemD's resolver so badly :/
[12:21] <prologic> https://files.mills.io/download/Screen%20Shot%202022-09-19%20at%2022.20.46.png
[12:23] <prologic> Sep 19 12:20:49 box-ubuntu2204 systemd-resolved[637]: Got packet on unexpected (i.e. non-localhost) IP range, ignoring.
[12:23] <prologic> hmm
[12:25] <prologic> Oh
[12:25] <prologic> https://unix.stackexchange.com/questions/466105/iptables-masquerade-breaks-dns-lookups
[12:25] <prologic> I think this is my problem
[13:32] <Teckla> Super dumb question time: How can I set a solid color for my desktop background on Ubuntu?
[13:33] <Teckla> I think there's some kind of optional GNOME program for it, though the name escapes me...
[13:44] <brkcore> I masked accounts.daemon.service and cant load ubuntu. How do I use live usb session to access /dev/null and /etc/systemd and remove the symlink?. any good guide avaible online?
[13:47] <brkcore> the only error message on boot is "failed to start Apply Kernal Variables"
[13:48] <Teckla> Ah, it looks like a command line solution is available: gsettings set org.gnome.desktop.background primary-color '#000000'
[13:53] <alkisg> brkcore: can you get a shell by putting an init=/bin/bash in grub?
[13:54] <brkcore> alkisg: I don't know how to get to shell, because on boot I don't have any input.
[13:54] <alkisg> brkcore: if you press esc while it boots, you should see the grub menu. There you should be able to press "e" to edit the grub menu. OK so far?
[13:56] <brkcore> alkisg: I don't think grub is avaible at this point as it isnt loaded yet. But I will try now and will be back!
[13:56] <alkisg> Then when you get a shell, run: mount -o remount,rw /; systemctl enable --root=/ --no-reload accounts-daemon; sync; reboot
[13:56] <brkcore> alkisg: ok, great I will run it if I get to shell.
[13:56] <alkisg> brkcore: grub is the boot manager, it's loaded before the kernel, a whole lot before systemd
[13:57] <brkcore> oh thats good news then
[13:57] <brkcore> ill be back shortly
[13:59] <Teckla> It looks like there's also a tool called "dconf Editor" for lower level access to changing things.
[13:59] <Teckla> (super weird that you can't change the desktop background to a solid color, though!  what a strange design!)
[14:10] <Teckla> Ok, both gsettings and dconf Editor work, if anyone else was wondering  :)
[14:14] <brkroot> alkisg, it didnt help, it didnt enable the daemon, perhaps because it was masked instead of just disabled
[14:21] <alkisg> brkroot: then use "unmask"
[14:23] <brkroot> ".. mask -o unmask,rw/;" ....?
[14:44] <alkisg> No, where it says "enable" replace it with "unmask"
[14:46] <alkisg>  mount -o remount,rw /; systemctl unmask --root=/ --no-reload accounts-daemon; sync; reboot
[14:47] <brkroot> I just went though a rescue option and with root i was able to unmask and enable the service. Its all sorted now.
[14:47] <brkroot> I will mask it again, just so I can try unmasking and enabling it your way, as it seems much quicker and easier.
[14:47] <brkroot> let me try
[14:48] <ufk> pleaset ell me there is an apt mirror for groovy packages still alive somewhere
[14:49] <ravage> ufk, https://old-releases.ubuntu.com/releases/groovy/
[14:49] <ufk> yay! thanks
[14:50] <ravage> !eolupgrade | ufk
[14:51] <ufk> yeah i know i just need some package and some dependencies.. thank you so much
[14:53] <brkroot> alkisg, its not working that way either. Can we add something to the string to actually enable and start the service on boot. As if its unmasked, normmaly its not enabled until manually do so
[14:54] <ufk> ravage: that's the release.. that's not the apt repository
[14:54] <alkisg> brkroot: what's your end goal?
[14:54] <ufk> ahh ok found it there thanks
[14:56] <brkroot> alkisg, to make your suggested string work, as its quicker to boot into the system, if a masked service prevent loading it
[14:57] <alkisg> brkroot: my command unmasks a unit; if it showed an error for you, tell us the error; if it "didn't work", do you mean the unit is still masked?
[14:57] <alkisg> If you want to both unmask and enable a unit, you need two commands
[15:01] <brkroot> alkisg, I cant see any errors on the screen, apart from Failed - failed to start apply kernal variables. How to i check for other errors at this point?
[15:02] <alkisg> brkroot:  # systemctl enable asdf
[15:02] <alkisg> Failed to enable unit: Unit file asdf.service does not exist.
[15:02] <alkisg> When you run a command, if it writes any line below that, it's an error
[15:02] <alkisg> If not, then it worked
[15:02] <alkisg> We don't care about previous kernel errors, they are not related to this issue
[15:07] <brkroot> alkisg, all im saying, is that the command, has no output when I put it in the grub. (is it because of the reboot option at the end)?  So I can't really see if the service was unmasked or enabled. As on reboot, I am back to the loading screen where it hangs with no errors, apart from the one that it says fail to start apply kernal variables
[15:07] <alkisg> brkroot: you only put init=/bin/bash at grub, not the rest of the command
[15:08] <alkisg> Where it says linux .... quiet splash, you edit that line to say linux ... init=/bin/bash
[15:08] <alkisg> Then you get a shell; there, you can type the command. You don't type it at grub
[15:09] <brkroot> oh man, ok sorry
[15:19] <Nautilus> darn, my icon was flashing like someone said soething to me, but it seemed to be out of scrollback. Or maybe someone just mentioned the file manager
[15:20] <jhutchins> Nautilus: Maybe you want to configure a larger buffer.
[15:20] <Nautilus> more to figure out later
[15:24] <brkroot> alkisg, so ...systemctl enable... says that failed to enabled the service because is masked. System has not been booted with systemd (PID1) ..so cant operate.
[15:24] <brkroot> its the same with unmasking the service, PID1 cant operate
[15:25] <alkisg> Did you use the full command I gave? With root=/ etc?
[15:26] <brkroot> yes, the full command
[15:27] <brkroot> mount -o remount,rw /; systemctl unmask --root=/ --noreload accounts-daemon; sync; reboot
[15:28] <brkroot> root@(none):/# .....
[15:31] <brkroot> the syntax is right, I typed it with --no-reload on the other computer
[16:05] <hays> anyone know anything about ubuntu-core? like is there a way to mount the .img?
[16:06] <ogra> hays, the image is partitioned ... you can not mount it but you can mount its partitions ... read up about kpartx
[16:09] <ogra> hays, also forum.snapcraft.io has a "devices" category where you can ask questions about UbuntuCore
[16:15] <brkroot> how to make cat print first 10 lines and then continuing to the next 10 lines , when reading a big output?
[16:21] <arraybolt3> brkroot: I think you're looking for "cat <file> | less".
[16:21] <arraybolt3> Not sure that will do exactly what you want, but it should let you scroll through the output.
[16:22] <rob0> cat might not be the best tool for that. head(1) prints 10 lines. more(1) prints a page at a time, which depends on how big your terminal is. Also less(1) is a full service pager with basic features plus search, backscroll and more.
[16:23] <rob0> BTW less(1) can directly read a file, "less filename"
[16:23] <brkroot> arraybolt3, yes, it helps, thank you
[16:24] <brkroot> rob0, and if I use grep with -m10 ... how can use that option do show lines 10 to 20, 20 to 30 etc
[16:33] <nteodosio> brkroot: What do you mean? grep -m10 will dump a max of 10 lines and quit. There is no line 10 to 20, 20 to 30 etc.
[16:33] <brkroot> nteodosio, that what i was thinking, if there is other option for grep, to show lines per intervals of 10 for example
[16:34] <brkroot> but I realise now grep is not interactive so that wont be possible
[16:34] <arraybolt3> rob0: (re: BTW less(1) can directly read a file...) Oh cool, didn't know that! Thanks!
[16:34] <nteodosio> brkroot: Doesn't 'grep pattern file | less' do that for you?
[16:34] <brkroot> let me see
[16:40] <brkroot> nteodosio, I cant figure out how to use it
[16:41] <nteodosio> brkroot: How were you using it before, when you suggested grep -m10?
[16:41] <brkroot> for examble how to grep "reached" from boot.log, on intervals
[16:42] <brkroot> if i use grep with -m10, just shows 10 lines and then hitting enter to print nect lines
[16:42] <nteodosio> brkroot: grep reached boot.log | less
[16:43] <nteodosio> If you need line numbers, grep reached boot.log | less -N
[16:43] <nteodosio> Ah, if you an interval of exactly ten lines per time, I'd have to ask why.
[16:45] <brkroot> do you know why grep reached boot.log | less doesn't print anything?  just empty lines
[16:46] <nteodosio> No I don't. Piping to less should give you the same, but paged output.
[16:46] <hggdh> brkroot: two options: (1) there are binary (non-displayable) charaters in the file; (2) there are no "reached" strings in the file
[16:47] <rfm> another possibity is brkroot is running grep in a user that can't read boot.log...
[16:48] <adam_> is it possible to cluster an Ubuntu pc to a Fedora pc?
[16:48] <brkroot> rfm, i use sudo.
[16:50] <nteodosio> brkroot: But wait, does 'grep reached boot.log' output something in the first place?
[16:50] <rfm> I note there are no lines containing "reached" in my boot.log...  lots of lines with "Reached" tho.  Maybe "grep -i reached boot.log | less" ?
[16:51] <brkroot> cat displays all boot.log. ... cat boot.log | grep "reached" gives me permission denied. Using it with sudo, doesnt priunt anything
[16:52] <brkroot> nteodosio, permission denied on grep reached boot.log
[16:53] <brkroot> hggdh, yes, all the files are flagged as binary, your right
[16:53] <nteodosio> cat can read the file but piping it into grep gives permission denied? That's absolutely crazy. Sorry, can't help you further.
[16:53] <hggdh> brkroot: try grep --binary-files=text reached boot.log
[16:55] <brkroot> nteodosio, its not crazy, im not searching for text in a file, but for a ...variable or something like that
[16:57] <brkroot> hggdh, grep --binary-files=text reached boot.log ... that works!
[16:58] <hggdh> cool. One less hurdle in the way :-)
[16:59] <brkroot> yeah, you guys are crazy knowledgeable, thanks a lot!
[16:59] <brkroot> have a good one
[16:59] <brkroot> exit
[17:21] <dabbler> In the past, /etc/fstab used to specify the mounting of procfs. Looking at my new 22.04 installation, that's not in there anymore. Is it now specified in a different fstab kept more away from the user?
[17:21] <dabbler> Or is procfs itself not a thing anymore?
[17:28] <dabbler> Rather, does it not need to be mounted at all anymore
[17:37] <brkroot> do you know if I disable or even mask debug-shell.service, will I be able to access bash shell, if something go wrong with the system?
[17:39] <rfm> dabbler, well, it's still mounted, as "mount | grep /proc" will show.  I don't know, but I assume either systemd (which is what processes /etc/fstab these days) or the kernel itself just always mounts it at startup.
[17:44] <rfm> dabbler, yeah, "man systemd" says "It also sets up and mounts various API file systems, such as /sys/ or /proc/."
[17:44] <ogra> dabbler, https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/
[17:47] <brkroot> I got it. It wont be able to use the root. the shell wont be automatically logged it and so wont be able to execute any root level commands. But would it be asking for a root password at least? or is it the entire shell be disabled at early boot ?
[17:57] <rfm> brkroot, I found https://fedoraproject.org/wiki/Systemd_early_debug-shell  looks like it is not enabled by default, and never should be unless you're trying to debug a broken systemd...
[18:03] <brkroot> rfm, i found that too. It is currently disabled by default on the system. I was thinking this is responsible for the root password at bash shell when automatically logged with root
[18:05] <brkroot> but it is not, because root is automatically logged with no password required
[18:15] <rpnx> Does anyone work for Canonical? What is it like?
[18:16] <leftyfb> !ot | rpnx
[18:16] <leftyfb> !discuss | rpnx
[18:20] <oxphi> Is there a way to "install" a .appimage on ubuntu, and also is there a way to set default "open with" on files as an .appimage ? I'm having trouble finding that
[18:26] <leftyfb> oxphi: no and that would depend on the program
[18:26] <leftyfb> oxphi: appimages don't get installed.
[18:29] <brkroot> where else i can questions and opinions apart from ubuntu and ubuntu-offtopic
[18:30] <brkroot> *ask
[18:30] <brkroot> and does it matter, its the same users on all channels i gues
[18:35] <leftyfb> brkroot: this channel is for support questions. #ubuntu-offtopic is for basically everything else and opinions
[19:51] <Ajinomoto> How to run memtest?
[19:52] <tomreyn> Ajinomoto: depends on which one you mean, there are multiple.
[19:53] <Ajinomoto> tomreyn the one that tells me all about why my apps crash after isntalling new ram sticks
[19:54] <tomreyn> what cpu architecture / family is this?
[19:55] <tomreyn> some recent amd64?
[19:55] <Ajinomoto> tomreyn amd ryzen
[19:55] <Ajinomoto> 3400G
[19:56] <Ajinomoto> tomreyn ok will give complete info: I had 32g ram (16x 2 sticks). All were running fine. I bought 2 more to make it 64g. Now my browsers, VMs crash at some load (when cpu goes at peak). How exactly can I know whats wrong? Old ram:  BL16G32C16U4R.M16FE1 (slot 1, 3)  new ram:  BL16G32C16U4B.16FE (slots 2,4).  full dmidecode: https://termbin.com/r2zs
[19:56] <tomreyn> Ajinomoto: use the free version of https://www.memtest86.com/download.htm
[19:56] <sarnold> Ajinomoto: I installed the jammy package of pcmemtest onto an 18.04 machine without trouble: https://launchpad.net/ubuntu/+source/pcmemtest
[19:59] <Ajinomoto> tomreyn sarnold shouldn't I go with the first option at the boot ? https://linuxhint.com/run_memtest_ubuntu/
[19:59] <sarnold> Ajinomoto: yeah if it's available that'd be fine
[20:00] <morganu> 20.04 (with tweaks doing dashtodock) The brightness control in top panel does nothing. How Could I Dim My Screen? dell desktop9020 and acer monitor
[20:00] <tomreyn> not for this cpu family, i don't think
[20:00] <sarnold> Ajinomoto: there's enough complications around which one works on uefi vs legacy boot vs free vs not-free etc. pcmemtest just worked for me, so I thought i'd share it around and save the trouble ;)
[20:00] <Ajinomoto> sarnold ok!
[20:01] <tomreyn> sarnold: did you see the NOTICE at https://github.com/martinwhitaker/pcmemtest ?
[20:01] <sarnold> Ajinomoto: but if you've got something in your boot menu already, go for it ;)
[20:01] <Ajinomoto> the symptoms I am describing are usually due to ?
[20:01] <sarnold> tomreyn: yeah, but I don't think that new thing is packaged in debian yet, maybe I'm out of date there
[20:02] <sarnold> tomreyn: yeah, not in debian yet :( https://launchpad.net/debian/+source/memtest86%2B
[20:02] <Ajinomoto> system error logs won't tell? if so, which logs?
[20:02] <tomreyn> Ajinomoto: broken or incompatible DIMMs, too high frequency, insufficient power supply, something along these lines.
[20:02] <Ajinomoto> tomreyn ok  , btw, it only happens at high cpu usage.
[20:03] <sarnold> Ajinomoto: I *think* dmesg may show you the bad memory address if you've got ecc; rasdaemon may also have it logged, if you've got that installed
[20:03] <Ajinomoto> sarnold ok command?
[20:04] <sarnold> Ajinomoto: try: ras-mc-ctl --errors
[20:04] <Ajinomoto> sarnold no errors
[20:05] <sarnold> dang. check dmesg then?
[20:05] <tomreyn> https://github.com/memtest86plus/memtest86plus#trouble-shooting-memory-errors looks useful
[20:06] <tomreyn> dmesg | grep RAS     # shoould say whether it was loaded
[20:06] <Ajinomoto> [    1.160578] RAS: Correctable Errors collector initialized. [    2.195807] amdgpu 0000:08:00.0: amdgpu: RAS: optional ras ta ucode is not available
[20:07] <arraybolt3> Ajinomoto: Quick thought for you, if you're using anything like RAM overclocking, maybe that's part of the problem.
[20:07] <tomreyn> and    journalctl -b | grep RAS     should say that systmed started the RAS daemon to log RAS events
[20:08] <arraybolt3> (CPU overclocking might cause the problem too?)
[20:08] <tomreyn> it could
[20:10] <tomreyn> lsmod | grep edac    should list edac_mce_amd, amd64_edac_mod
[20:10] <Ajinomoto> 3400g kernel: RAS: Correctable Errors collector initialized.400g kernel: amdgpu 0000:08:00.0: amdgpu: RAS: optional ras ta ucode is not available
[20:10] <Ajinomoto> systemd[1]: Starting RAS daemon to log the RAS events...systemd[1]: Started RAS daemon to log the RAS events.
[20:11] <Ajinomoto> arraybolt3 the ram is 3200Mhz, but bios didn't had that option. I made it 3200 from 2600 I think.. But the old 2 were wokring fine
[20:14] <tomreyn> "Error Correction Type: None"
[20:15] <Ajinomoto> tomreyn I recall when the inital2 rams were new, I had this issue, I changed slots, it went away. Maybe MB slots are bad. But I hope memtest will tell about it. Will it?
[20:16] <tomreyn> Ajinomoto: the first thing you should do before installing new memory is to consult your mainboard manual to understand how to install it, and how to install it in a way that it can be working next to other memory
[20:17] <Ajinomoto> tomreyn "push in the slot"?
[20:17] <Ajinomoto> MB: asus x570 gaming wifi
[20:18] <tomreyn> now you just need to look up the manual.
[20:18] <Ajinomoto> MB: asus TUF x570 gaming wifi
[20:18] <Ajinomoto> tomreyn ok
[20:20] <Ajinomoto> https://www.asus.com/Motherboards-Components/Motherboards/TUF-Gaming/TUF-GAMING-X570-PLUS-WI-FI/
[20:25] <Ajinomoto> tomreyn no such thing https://dlcdnets.asus.com/pub/ASUS/mb/SocketAM4/PRIME_X570-P/E15829_PRIME_PRO_TUF_GAMING_X570_Series_BIOS_EM_WEB.pdf
[20:25] <jamiew0w> hello. i upgraded from 20.04 to 22.04 yesterday and it appears that smooth scrolling has somehow been enabled, i can't figure out how to disable it. anyone have any ideas?
[20:26] <tomreyn> Ajinomoto: that#s the bios manual, not the mainboard manual
[20:27] <tomreyn> Ajinomoto: https://dlcdnets.asus.com/pub/ASUS/mb/SocketAM4/TUF_GAMING_X570-PLUS_WI-FI/E15236_TUF_GAMING_X570-PLUS_WI-FI_UM_WEB_060319.pdf sections 1.1.4 and 2.1.4
[20:27] <tomreyn> Ajinomoto: there's #hardware for hardware help, too
[20:27] <tomreyn> and i got to go - read carefully, good luck!
[20:40] <Ajinomoto> tomreyn thanks
[20:44] <ArtfulDodger> Hi! The logs of systemd-timesyncd are unclear to me: Does message "Initial synchronization to time server" actually means that the time sync is successful or just that it has begun?
[20:44] <ArtfulDodger> See logs extract http://paste.debian.net/1254422/
[21:06] <ppw> hi. anyone know how to hide the battery indicator in gnome?
[21:12] <OerHeks>  ppw see system settings > power https://ubuntuhandbook.org/index.php/2022/03/battery-percentage-ubuntu-2204/
[21:44] <ppw> OerHeks: I do actually have that turned off. There's still a battery icon there.
[21:46] <enigma9o7[m]> I think you need a shell extenion to hide it.  You still wanna keep the other things in that group right?
[21:48] <enigma9o7[m]> theres probably several extensions that offer that feature, pretty sure "just perfection" has it, it has on/off switches for everything
[21:50] <enigma9o7[m]> ppw:
[21:50] <ppw> enigma9o7[m]: I'll look it up, thanks
[23:21] <hans_> what's the difference between "jammy-server-cloudimg-amd64.tar.gz" and "jammy-server-cloudimg-amd64-root.tar.xz"  ?    (the root is about 300MB smaller)
[23:21] <hans_> over at https://cloud-images.ubuntu.com/jammy/current/
[23:22] <sarnold> hans_: check the .manifest files there, that might show you what the difference is
[23:23] <sarnold> https://termbin.com/5wro
[23:23] <sarnold> mostly stuff that involves booting
[23:26] <hans_> thanks
[23:29] <hans_> booting is overrated anyway :p
[23:30] <sarnold> booting brings nothing but trouble
[23:30] <hans_> indeed
[23:44] <cnnx> where can I find an .iso I can write on my ssd as my regular primary drive? i dont want to install to a usb and then to ssd
[23:44] <cnnx> the os directly on the ssd
[23:44] <cnnx> is htat possibled
[23:47] <OerHeks> cnnx, only when you have grub2 already installed, isoboot
[23:51] <cnnx> so install xubuntu on the ssd
[23:51] <cnnx> the run isoboot?
[23:55] <OerHeks> https://help.ubuntu.com/community/Grub2/ISOBoot