[00:42] <dongle> running ubuntu sway remix 22.04 on qemu and it says 'unable to create backend'. anyone know what is wrong?
[00:42] <dongle> cant even load up
[00:59] <dongle> nevermind it was a qemu error
[01:01] <Bashing-om> dongle: :D
[01:03] <dongle> :)
[02:05] <kotgc> Hello, Gparted vs Disks?
[02:05] <xmetal> personal preference i suppose
[02:06] <kotgc> Trying to reformat USB storage and Disks seems not as intuitive as Gparted. Disks showing me options to partition,resize, but no option to just reformat the disk?
[02:07] <kotgc> So I resized the EFI FAT Partition and error: GNU Parted cannot resize this partition to this size.
[02:09] <kotgc> I with Gparted and Disks would have a simple guide on how to easily just reformat and what the different formats are for.
[02:12] <kotgc> My notes show Fat32 works for Linux, Mac and Windows.
[02:25] <kotgc> ...but FAT32 has a 4GB file size limit that can be copied to it. I need to transfer ~1TB?
[02:26] <leftyfb> kotgc: what exactly are you trying to accomplish with this flash drive? What will it be used for?
[02:28] <kotgc> leftyfb, have an old 3TB USB external disk drive, to use as storage for some old analogue video converted to digital.
[02:28] <leftyfb> kotgc: format it as NTFS
[02:29] <kotgc> leftyfb, thx, think I'll use Gparted, Disks isn't intuitive.
[02:30] <kotgc> leftyfb, that's for windows isn't it. I need to view the files on Ubuntu and Mac though?
[02:30] <kotgc> kotgc, moved away from Windows ages ago.
[02:30] <leftyfb> NTFS is supported on all 3 OS's
[02:30] <kotgc> leftyfb, thx :-)
[02:34] <arraybolt3> I'd *personally* use exFAT if I could... but yeah, NTFS should work here.
[02:35] <arraybolt3> and exFAT doesn't like certain filenames.
[02:36] <kotgc> arraybolt3, why exFAT?
[02:36] <arraybolt3> More cross-platform, should be writable from macOS
[02:36] <leftyfb> so is NTFS
[02:36] <arraybolt3> (you can't write to NTFS from macOS without either using experimental options or third-party software)
[02:36] <JanC> so why not use exfat then?
[02:37] <arraybolt3> leftyfb: did something change with the ability to write to NTFS from macOS recently?
[02:37] <arraybolt3> JanC: Why not exFAT? No file permissions, certain filenames can't be used.
[02:37] <arraybolt3> So it depends on what you're doing.
[02:38] <JanC> well, that would be even worse on FAT32
[02:38] <leftyfb> oh, lame. I thought it had write out of the box but I guess not
[02:38] <leftyfb> FAT32 is not good for large drives
[02:39] <kotgc> Thx, NTFS it is, just figuring out Gparted.
[02:40] <JanC> anyway, you'd probably have to install 'exfatprogs' to format as that...
[03:38] <whoaru> yo
[03:38] <whoaru> how are you guys?
[03:59] <Guest92343> hello
[04:07] <gry> Guest92343: hi
[04:07] <gry> Guest92343: how may i help you?
[04:10] <Guest92343> gry: I want to block traffik coming from docker. basically I am making a bot that will execute arbitary commands in a docker, I have hosted the bot in my home network and I don't want other people to scan my homenetwork
[04:24] <gry> Guest92343: sounds like a task for a firewall
[04:25] <gry> Guest92343: do you have a separate interface for docker? perhaps output of command 'ip a'
[04:33] <trollage> Hey 👋
[05:01] <Guest92343> 3: lxcbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen ... https://paste.gg/p/anonymous/b55315bc3967498ab49d6f19029bbc06
[05:01] <Guest92343> maybe I should use pastebin
[05:01] <Guest92343> https://0x0.st/HvKw.txt
[05:01] <Guest92343> here
[05:02] <Guest92343> gry:
[09:11] <alocer> Has anyone integrate NDES Server for certificate enrollment to any ubuntu devices?
[10:08] <cxl> Hi all, how can I generate a ~/.ssh/known_hosts entry with the command line only? I'd like to create a known_hosts file to copy over on a new machine so I don't get the prompt to accept the key when a script connects to the ssh server for the first time.
[10:09] <cxl> I'd like the hashed form, like `|1|HbD....|.... ssh-ed25519 AAAAC3...`; not the way it is in the public key
[10:31] <geirha> ssh-keyscan -H host.example.com >> known_hosts
[11:11] <paul424> hello, hello I ve got script xrandr I put it in /etc/xdg/autostart but it doesn't execute ... /etc/xdg/autostart/xrandr-setup-resolution.desktop
[11:12] <paul424> what do I do wrong ... the ls -la list that filename with a colour ... hmmm
[11:14] <gry> can you run it yoursekf manually from a terminal
[11:15] <paul424> gry arght ! those aren't regular shell script files ....
[11:15] <paul424> what shall I do if I have regular X11, xrandr based script which should start after the X11 server starts ?
[11:15] <paul424> where to put the script and hook ?
[11:15] <gry> well, however you are starting it in autostart, start it manually in the same way
[11:16] <gry> arandr can make you a regular shell script file if you like
[11:17] <paul424> gry, WHAAAT ? I have a regular script which only requires sudo ./xrandr.sh "1600 900 60"
[11:18] <paul424> how do I hook that so the other users don't have to run it ...
[11:18] <paul424> :(
[11:20] <gry> add these users to a group like myxrandr
[11:20] <gry> setup passwordless sudo for that group, then it may start working
[11:25] <paul424> oki I have solved that problem ; another one is : how do I make the 5.15 a default kernel loading kernel and not 6.0.* ?
[11:31] <paul424> I mean both are installed , ... how do  I make grub choosing the 5.15 and not the higher version ?
[11:34] <EriC^^> paul424: in /etc/default/grub change GRUB_DEFAULT
[11:34] <paul424> yeah ... so far so good , I have discovered that
[11:34] <paul424> but which one ? the Nth menu entry you mean ?
[11:34] <paul424> would have to restart the computer to see what 's what
[11:34] <EriC^^> GRUB_DEFAULT='Advanced options for Ubuntu>Ubuntu, with Linux 6.2.0-36-generic' for instance
[11:35] <paul424> but it can be a number .. wait I see
[11:35] <EriC^^> paul424: see it in "cat /boot/grub/grub.cfg"
[11:35] <EriC^^> number's change, better to use the name
[11:36] <paul424> oki
[11:36] <paul424> EriC^^++
[11:36] <EriC^^> finally "sudo update-grub"
[11:38] <paul424> yes yes
[11:39] <paul424> oki time to restart keep the fingers crossed
[11:48] <paul424> EriC^^, is such an entry fine  : GRUB_DEFAULT='Ubuntu, with Linux 5.15.0-86-generic'
[11:48] <paul424> also my dvdrom keeps poping off randomly
[11:49] <EriC^^> paul424: can you pastebin 'cat /boot/grub/grub.cfg'
[11:49] <paul424> that's copied and pasted from /boot/grub/grub.cfg
[11:49] <EriC^^> you probably need advanced options>ubuntu, with linux
[11:50] <paul424> anyway here it is
[11:50] <paul424> https://pastebin.com/w58nTwVs
[11:51] <EriC^^> yeah you need advanced options
[11:52] <paul424> oki I set GRUB_DEFAULT = 2
[11:52] <EriC^^> this might work too, GRUB_DEFAULT='gnulinux-5.15.0-86-generic-advanced-81983a02-0f74-46c2-9b01-4b0a6f5415ec'
[11:54] <paul424> that does not work
[11:54] <EriC^^> ...
[11:54] <paul424> sow hat shouled be with that GRUB_DEFAULT
[11:55] <EriC^^> i'm telling you but you keep doing something else
[11:55] <jailbreak> EriC^^: give up then.
[11:55] <EriC^^> EriC^^> this might work too, GRUB_DEFAULT='gnulinux-5.15.0-86-generic-advanced-81983a02-0f74-46c2-9b01-4b0a6f5415ec'
[11:56] <EriC^^> jailbreak: t3aj
[11:56] <jailbreak> ?
[11:56] <paul424>  GRUB_DEFAULT='gnulinux-5.15.0-86-generic-advanced-81983a02-0f74-46c2-9b01-4b0a6f5415ec' this didn't work
[11:57] <EriC^^> paul424: when did you try that? :D
[11:57] <jailbreak> Define "didn't work"
[11:58] <paul424> between lines :D
[11:58] <paul424> between my logins and logouts
[11:58] <paul424> in here :D
[11:58] <EriC^^> ?
[11:58] <paul424> naah only a black screen with white prompt shows up
[11:58] <paul424> but I hope that GRUB_DEFAULT='Advanced options for Ubuntu>Ubuntu, with Linux 5.15.0-86-generic'
[11:59] <paul424> will work this time , right  ?
[12:00]  * paul424 reboots
[12:01] <paul424> oki this time it works , it works
[12:01] <paul424> many thanks for you patience !
[12:02] <paul424> now I only need to enable autologin for xfce4...
[12:02] <gry> :)
[12:02] <gry> how did you solve xrandr problem ?
[12:11] <paul424> oki bye to all
[12:29] <lacrymology> for a while now I've been seeing issues in my browser: rendering glitches, text boxes that sort of "revert back" to a previous content for an instant, the kind of issue that in my experience with other distros usually meant that the compositer was having trouble. I don't know how to debug or fix them, can someone point me in the right direction?
[12:31] <lacrymology> another common one is that if I scroll down while in the middle of a long webpage, and it jumps up before scrolling down, so that I end up further up than I started. This might or might not be after the page structure changed, such as by collapsing some elements (e.g, marking some files as viewed in a github PR)
[12:31] <lacrymology> I'm using chrome
[12:31] <lacrymology> uname -a: Linux hex 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[12:33] <lacrymology> I'm using the -47-generic kernel because whenever I start the latest (51 in 22.04) I get 640x480 on my screen, I've never been able to fix that one either
[13:48] <BluesKaj> Hi all
[14:00] <BinarySavior> hello, I have a brand new SanDisk Extreme Pro 128G USB flash drive, and when I plug it into my OS I am getting a message from Storage `Device Health Monitoring` application saying, "A device is showing signs of imminent failure"
[14:00] <BinarySavior> how can I dig deeper into this to find the actual signal that is causing this?
[14:01] <leftyfb> BinarySavior: make a backup of the data on that flash drive and prepare to replace it
[14:01] <centHOGG> hiya, SMART drive test
[14:02] <BinarySavior> but it's brand new, leftyfb, I bought this specifically to be my backup usb drive lol
[14:02] <centHOGG> sh$t happens
[14:02] <leftyfb> BinarySavior: good, then it should be under warranty
[14:02] <BinarySavior> is there anything else that could cause this? like undervoltage supplied to the device?
[14:02] <centHOGG> u could try it on another system
[14:03] <leftyfb> BinarySavior: possibly. Do you suspect you pc of having a faulty usb port?
[14:04] <BinarySavior> leftyfb, no this is coming from my monitor which has a USB connection to my computer, I will try another port, but other USB drives work on this port just fine.  However, this new usb drive has an LED on it and I'm wondering if this USB drive wants a little more voltage than other devices I've plugged into my monitor
[14:05] <BinarySavior> little more power*** not voltage
[14:07] <BinarySavior> ok still getting same message when plugged directly into mobo
[14:09] <BinarySavior> I purchased 2 identical USB drives, both brand new, and both are showing the same error
[14:09] <paul424> helllo, I m going absolutly crazy, How I can set the autologin for xfce4 ?
[14:09] <centHOGG> what brand?
[14:09] <BinarySavior> I think this might be software issue
[14:09] <leftyfb> BinarySavior: got another computer/OS to test them with?
[14:10] <BinarySavior> leftyfb, yes, I can test on my laptop with Ubuntu 20.04, FYI I was able to format, partition, and write to this USB drive despite this message
[14:11] <centHOGG> paul424, I do that at xubuntu install for htpc (and the like)
[14:17] <BinarySavior> leftyfb, this must be a Ubuntu Studio issue, trying to perform SMART check automatically when I insert my USB drive, I think because the disk is encrypted, SMART check is failing
[14:17] <BinarySavior> my laptop with Ubuntu 20.04 did not display the same message
[14:19] <BinarySavior> well, actually that might not be true, because I got this popup the first time I inserted the usb drive into my computer, before writing / encrypting anything
[14:19] <leftyfb> BinarySavior: SMART doesn't care about the filesystem, whether it's encrypted or not
[14:19] <BinarySavior> but still, this only happens on my Ubuntu Studio 22.04 Desktop, not my Ubuntu 20.04 laptop
[14:19] <leftyfb> BinarySavior: then maybe the usb ports on your laptop are faulty
[14:20] <BinarySavior> the laptop is the device that's working, the desktop is displaying the warning
[14:20] <leftyfb> sorry, desktop
[14:21] <BinarySavior> when I opened up the disk utility in Ubuntu the SMART check was greyed out for this disk, I was unable to perform a SMART scan on the USB drive
[14:21] <BinarySavior> (on my laptop)
[14:22] <toddc> BinarySavior: smart can be turned off in bios
[14:22] <leftyfb> BinarySavior: maybe try doing a BIOS upgrade on the desktop
[14:24] <BinarySavior> I updated the BIOS earlier this year when I purchased the mobo
[14:24] <leftyfb> see if there's another update
[14:25] <toddc> I would also check bios for power settings I have seen some disabling power settings that may aslo affect usb use
[14:27] <BinarySavior> also worth noting the usb drives I'm having problems with are USB 3.2 (my motherboard supports USB 3.2: MSI MEG Z690 ACE)
[14:28] <BinarySavior> The USB 2.1 drive I also use has no warnings
[14:28] <BinarySavior> Next time I reboot I will check BIOS for anything that stands out at me
[14:31] <BinarySavior> ahh found the smartctl output: https://bpa.st/3GRA
[14:32] <leftyfb> looks like a firmware/BIOS bug to me
[14:35] <toddc> I do have a opinion of SanDisk drives   or should I say I have pile of bad ones to send back
[14:36] <centHOGG> flash drives = bios updates, linux distros and windows
[14:36] <centHOGG> bbout it
[14:46] <AngryTom> I have several Sandisk Extreme drives for backups and installer images.
[14:47] <AngryTom> They are more expensive than a ssd.
[14:48] <centHOGG> i hope they are fast enough
[14:49] <AngryTom> the Extreme Pro are relatively fast
[14:52] <centHOGG> but not as fast as an ssd-on-a-usb3 adapter?
[14:53] <AngryTom> I think not, I have to check that.
[14:54] <centHOGG> yeah, i use an ssd on usb3 alot nowadays, speed
[14:54] <centHOGG> they have nvme on usb3 too
[14:55] <leftyfb> feel free to discuss further in #ubuntu-offtopic
[14:56] <AngryTom> why offtopic, I can put an Ubuntu installer image on it :-)
[14:56] <centHOGG> hehe
[14:57] <Eickmeyer> No
[14:57] <leftyfb> AngryTom: it's not a support topic. Unless you need help putting the installer image on it
[14:57] <AngryTom> I see
[15:08] <jedorf> Hello !
[15:09] <jedorf> I have a little problem, I can't boot my computer, I have an encrypted partition with LVM, and after the grub part, I have: "volume group vgubuntu not found"
[15:09] <jedorf> I checked /etc/fstab, /etc/crypttab /etc/grub/grub.cfg
[15:10] <jedorf> and everything seems normal
[15:11] <jedorf> so, I booted on ubuntu live CD, mount partition, chroot /mnt and I have a warning it don't found "luks-XXXX" when I do "update-initramfs -c -k all"
[15:11] <jedorf> if someone have the solution, I wont refuse
[15:15] <zaggynl> hi jedorf, if I'd have this issue I would likely try these instructions: https://unix.stackexchange.com/a/688786
[15:39] <jedorf> zaggynl > ok, I don't have the error on update-initramfs I rebooted and it work ! thank you !
[15:40] <zaggynl> nice
[15:41] <jedorf> the problem was just the name you put in /etc/crypttab "sdb3_crypt UUID=<UUID> none luks,discard" who didn't match the "decrypt" name during the "cryptsetup open /dev/nvme2n1p3 sdb3_crypt" (the name = sdb3_crypt)
[15:43] <jedorf> this is weird initramfs need link the "crypttab" name with the "crypt name of the actual mount"
[16:23] <JanC> USB disks don't always support SMART
[16:34] <BinarySavior> JanC, this one says it supports, and it's actually running and Failing
[16:36] <Jaffo> good morning. i'm going to setup k8s on 4 or 5 hp prodesks we threw away at work.
[16:36] <Jaffo> so all these prodesks have a 256gb nvme and a 1TB ssd. ubuntu server iso does not have zfs only ext4 xfs and btfrs? how should i partition and format the two drives. I won't need a huge /home so whats your take on how you would partition them
[16:37] <Jaffo> should i make the nvme ext4 and mount at /var or /something else and make the 1TB / and format ext4
[16:38] <JanC> but you said: <BinarySavior> when I opened up the disk utility in Ubuntu the SMART check was greyed out for this disk, I was unable to perform a SMART scan on the USB drive
[16:39] <JanC> is that also true on the computer where you didn't get an error?
[16:39] <BinarySavior> JanC, yea I'm not sure why, might be proprietary software pre-installed on the usb drive
[16:41] <JanC> if it doesn't show SMART support there, there are two possible reasons: either the drive doesn't support SMART, or something is too broken for SMART to work (but it should not work at all then)
[16:42] <BinarySavior> JanC, I suspect due to proprietary SanDisk security on the USB drive
[16:42] <JanC> or maybe the "drive" has multiple modes that you need to switch between using special software maybe (so that the actual disk isn't seen until you switch)
[16:43] <JanC> what proprietary security does it have?
[16:43] <BinarySavior> SanDisk SecureAccess TM
[16:44] <BinarySavior> only supported OS are Windows and Mac
[16:46] <ravage> samsung has the same feature. its useless on linux. but smart works fine here
[16:46] <ravage> dotn have a "secure" sandisk device to test
[16:47] <BinarySavior> lsusb I see the device, but smartctl --scan I don't see the device listed
[16:47] <JanC> it seems like it creates a special encrypted folder, so it should not affect operation of the hardware?
[16:49] <JanC> and I think the device doesn't support SMART
[16:49] <JanC> BinarySavior: can you return those devices for being defective?
[16:51] <JanC> I wonder where the errors came from
[16:51] <JanC> if SMART isn't accessible
[16:52] <JanC> where do you see this """when I plug it into my OS I am getting a message from Storage `Device Health Monitoring` application saying, "A device is showing signs of imminent failure" """?
[16:53] <BinarySavior> JanC, it's a popup notification from Ubuntu Studio
[16:53] <BinarySavior> the application has a title "Storage Device Health Monitoring"
[16:55] <JanC> so something in KDE
[16:56] <Jaffo> any suggestions please
[16:57] <BinarySavior> JanC, https://binarysavior.neocities.org/scan
[16:57] <BinarySavior> yes, KDE System Settings Module: Storage Device Health Monitoring
[16:58] <JanC> so it does have very limited SMART...
[16:59] <JanC> I wonder how "Unrecoverable ECC Count" got to 10k sectors
[17:00] <nicoz> +
[17:01] <BinarySavior> let me try running smart on my laptop again
[17:01] <JanC> Jaffo: maybe ask in a channel that is more specific for servers/cloud?
[17:04] <JanC> BinarySavior: one other possibility is that SanDisk uses unusual/non-standard codes for its SMART data, and it's being misinterpreted...
[17:08] <JanC> seems like 234 might not be standardised and/or some hardware manufacturers (ab?)use it for proprietary data?
[17:08] <JanC> https://www.bleepingcomputer.com/forums/t/654973/what-does-uncorrectable-ecc-count-mean/ has a similar issue
[17:09] <BinarySavior> https://bpa.st/2BYA
[17:09] <BinarySavior> maybe because it's nvme, nvme smart-log doesn't display any warnings
[17:09] <JanC> is that the same device?
[17:09] <BinarySavior> JanC, yes
[17:10] <JanC> I didn't know the 'nvme' utility worked for USB devices  :)
[17:11] <JanC> so it might be a false positive
[17:12] <BinarySavior> JanC, https://askubuntu.com/questions/909823/smart-data-self-test-is-greyed-out-in-disks
[17:13] <JanC> that is about SMART not being there at all
[17:14] <BinarySavior> it's talking about it being greyed out, that's how it appeared on my laptop too (running ubuntu 20.04 LTS)
[17:20] <Jaffo> #debian says its not a debian question, go ask in #ubuntu and here says go ask somewhere else. I swear places like this used to be more helpful years ago when I used them
[17:20] <Jaffo> Have a great day everyone. !
[17:20] <jailbreak> !next
[17:21] <jailbreak> Didn't work out the way I wanted it to. Oh well...
[17:21] <lotuspsychje> Jaffo: you're on ubuntu-server?
[17:22] <Jaffo> i'm not on anything i'm trying to partition a system that has two drives, ignore the flavor of linux. so its a 256gb nvme and a 1TB ssd
[17:22] <Jaffo> same issue no matter which linux i use
[17:22] <JanC> Jaffo: I suggested a server/cloud channel because more people there would have experience with this sort of things
[17:23] <Jaffo> theres over 1000 in here and not one has two drives. man I'm a unicorn I guess
[17:23] <JanC> (and if it is linux distro-independent, there is also #linux )
[17:23] <JanC> you want to use it for a specific purpose, which is relevant here...
[17:32] <seere> JanC: so, ask yourself some questions. Where does your installation put which of it's files? Does anything running on it benefit from the extended throughput and IOPS of the NVME? Then put the NVME disk there.
[17:33] <JanC> seere: you mean Jaffo, I presume  :)
[17:33] <seere> JanC: of course ;)
[17:34] <seere> damn autocomplete
[17:36] <seere> Jaffo: so, ask yourself some questions. Where does your installation put which of it's files? Does anything running on it benefit from the extended throughput and IOPS of the NVME? Then put the NVME disk there.
[17:37] <jailbreak> seere: they're in #linux getting help now :-)
[18:50] <Guest77> hello
[18:51] <lotuspsychje> welcome Guest77
[18:56] <de-facto> is there something like a web development group on ubuntu?
[18:56] <de-facto> trying to figure out how to pin down perms for a wsgi app with apache2 (running as www-data)
[18:57] <de-facto> i need to allow rw access for a group of users, i think apache2 does not need to write
[18:57] <de-facto> but of course read
[18:58] <de-facto> hmm maybe could need write, not sure, its a python virtual env
[18:58] <gry> thats an ubuntu question :)
[19:00] <gry> are you gettimg an error message?
[19:00] <de-facto> i mean i can create my own group architecture for this, my question is if there already is a pre-defined solution for that
[19:01] <de-facto> e.g. does ubuntu provide a way to do this or are users supposed to come up with their own solution e.g. creating a "webdev" group or such
[19:01] <de-facto> just want to avoid collisions
[19:16] <JanC> de-facto: there already is the www-data group, of course, but if you need something more fine-grained you'll have to make it yourself, I suppose
[19:18] <de-facto> JanC, what would be the canonical way to do this? chown -R www-data:www-data and join the webdev users to group www-data?
[19:23] <arraybolt3> Principle of least privilege. A user should have as little access as they need to do their job right.
[19:24] <arraybolt3> So whatever configuration does that, is the right one.
[19:24] <JanC> I'm not sure there really is a "canonical way", but maybe check Ubuntu & Debian server/user manuals
[19:25] <JanC> also depends on how much you trust various people   :)
[19:51] <rfm> de-facto, as well as adding the users to www-data and chowning the current thing, make all the directories setgid (chmod g+s); That way if when the devs create new files they get the right group ownership.
[19:58] <de-facto> that is probably a very good idea thanks
[21:45] <Kexoni> hi, I created backup of home directory. If I migrate to another computer with different hardware, is it good option to restore backup of home directory?
[21:47] <mtn_> Kexoni: sure, nothing in your home directory cares about the hardware
[21:48] <Kexoni> thanks mate mtn_
[22:34] <jumpcutking> I'm attempting to supply command arguments in my npm start. It seems only the first argument is accessible. Printing the arguments for the command (using process.argv) "npm start env=this debug" only shows the node process, the script file, and "env=this". Nothing else.
[22:34] <jumpcutking> So sorry wrong chan.
[22:35] <Habbie> no worries, thanks for reporting back on that, i was just wondering about it :D
[22:40] <jumpcutking> It's a node.js command
[23:07] <shaddow> Moin