[00:42] running ubuntu sway remix 22.04 on qemu and it says 'unable to create backend'. anyone know what is wrong? [00:42] cant even load up [00:59] nevermind it was a qemu error [01:01] dongle: :D [01:03] :) [02:05] Hello, Gparted vs Disks? [02:05] personal preference i suppose [02:06] 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] So I resized the EFI FAT Partition and error: GNU Parted cannot resize this partition to this size. [02:09] 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] My notes show Fat32 works for Linux, Mac and Windows. [02:25] ...but FAT32 has a 4GB file size limit that can be copied to it. I need to transfer ~1TB? [02:26] kotgc: what exactly are you trying to accomplish with this flash drive? What will it be used for? [02:28] leftyfb, have an old 3TB USB external disk drive, to use as storage for some old analogue video converted to digital. [02:28] kotgc: format it as NTFS [02:29] leftyfb, thx, think I'll use Gparted, Disks isn't intuitive. === chris14_ is now known as chris14 [02:30] leftyfb, that's for windows isn't it. I need to view the files on Ubuntu and Mac though? [02:30] kotgc, moved away from Windows ages ago. [02:30] NTFS is supported on all 3 OS's [02:30] leftyfb, thx :-) [02:34] I'd *personally* use exFAT if I could... but yeah, NTFS should work here. [02:35] and exFAT doesn't like certain filenames. [02:36] arraybolt3, why exFAT? [02:36] More cross-platform, should be writable from macOS [02:36] so is NTFS [02:36] (you can't write to NTFS from macOS without either using experimental options or third-party software) [02:36] so why not use exfat then? [02:37] leftyfb: did something change with the ability to write to NTFS from macOS recently? [02:37] JanC: Why not exFAT? No file permissions, certain filenames can't be used. [02:37] So it depends on what you're doing. [02:38] well, that would be even worse on FAT32 [02:38] oh, lame. I thought it had write out of the box but I guess not [02:38] FAT32 is not good for large drives [02:39] Thx, NTFS it is, just figuring out Gparted. [02:40] anyway, you'd probably have to install 'exfatprogs' to format as that... === icedtea2 is now known as peacefulman [03:38] yo [03:38] how are you guys? [03:59] hello [04:07] Guest92343: hi [04:07] Guest92343: how may i help you? [04:10] 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] Guest92343: sounds like a task for a firewall [04:25] Guest92343: do you have a separate interface for docker? perhaps output of command 'ip a' [04:33] Hey 👋 [05:01] 3: lxcbr0: mtu 1500 qdisc noqueue state DOWN group default qlen ... https://paste.gg/p/anonymous/b55315bc3967498ab49d6f19029bbc06 [05:01] maybe I should use pastebin [05:01] https://0x0.st/HvKw.txt [05:01] here [05:02] gry: === JoeBk_ is now known as JoeBk [09:11] Has anyone integrate NDES Server for certificate enrollment to any ubuntu devices? [10:08] 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] I'd like the hashed form, like `|1|HbD....|.... ssh-ed25519 AAAAC3...`; not the way it is in the public key [10:31] ssh-keyscan -H host.example.com >> known_hosts [11:11] 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] what do I do wrong ... the ls -la list that filename with a colour ... hmmm [11:14] can you run it yoursekf manually from a terminal [11:15] gry arght ! those aren't regular shell script files .... [11:15] what shall I do if I have regular X11, xrandr based script which should start after the X11 server starts ? [11:15] where to put the script and hook ? [11:15] well, however you are starting it in autostart, start it manually in the same way [11:16] arandr can make you a regular shell script file if you like [11:17] gry, WHAAAT ? I have a regular script which only requires sudo ./xrandr.sh "1600 900 60" [11:18] how do I hook that so the other users don't have to run it ... [11:18] :( [11:20] add these users to a group like myxrandr [11:20] setup passwordless sudo for that group, then it may start working [11:25] 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] I mean both are installed , ... how do I make grub choosing the 5.15 and not the higher version ? [11:34] paul424: in /etc/default/grub change GRUB_DEFAULT [11:34] yeah ... so far so good , I have discovered that [11:34] but which one ? the Nth menu entry you mean ? [11:34] would have to restart the computer to see what 's what [11:34] GRUB_DEFAULT='Advanced options for Ubuntu>Ubuntu, with Linux 6.2.0-36-generic' for instance [11:35] but it can be a number .. wait I see [11:35] paul424: see it in "cat /boot/grub/grub.cfg" [11:35] number's change, better to use the name [11:36] oki [11:36] EriC^^++ [11:36] finally "sudo update-grub" [11:38] yes yes [11:39] oki time to restart keep the fingers crossed [11:48] EriC^^, is such an entry fine : GRUB_DEFAULT='Ubuntu, with Linux 5.15.0-86-generic' [11:48] also my dvdrom keeps poping off randomly [11:49] paul424: can you pastebin 'cat /boot/grub/grub.cfg' [11:49] that's copied and pasted from /boot/grub/grub.cfg [11:49] you probably need advanced options>ubuntu, with linux [11:50] anyway here it is [11:50] https://pastebin.com/w58nTwVs [11:51] yeah you need advanced options [11:52] oki I set GRUB_DEFAULT = 2 [11:52] this might work too, GRUB_DEFAULT='gnulinux-5.15.0-86-generic-advanced-81983a02-0f74-46c2-9b01-4b0a6f5415ec' [11:54] that does not work [11:54] ... [11:54] sow hat shouled be with that GRUB_DEFAULT [11:55] i'm telling you but you keep doing something else [11:55] EriC^^: give up then. [11:55] EriC^^> this might work too, GRUB_DEFAULT='gnulinux-5.15.0-86-generic-advanced-81983a02-0f74-46c2-9b01-4b0a6f5415ec' [11:56] jailbreak: t3aj [11:56] ? [11:56] GRUB_DEFAULT='gnulinux-5.15.0-86-generic-advanced-81983a02-0f74-46c2-9b01-4b0a6f5415ec' this didn't work [11:57] paul424: when did you try that? :D [11:57] Define "didn't work" [11:58] between lines :D [11:58] between my logins and logouts [11:58] in here :D [11:58] ? [11:58] naah only a black screen with white prompt shows up [11:58] but I hope that GRUB_DEFAULT='Advanced options for Ubuntu>Ubuntu, with Linux 5.15.0-86-generic' [11:59] will work this time , right ? [12:00] * paul424 reboots [12:01] oki this time it works , it works [12:01] many thanks for you patience ! [12:02] now I only need to enable autologin for xfce4... [12:02] :) [12:02] how did you solve xrandr problem ? [12:11] oki bye to all [12:29] 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] 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] I'm using chrome [12:31] 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] 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 === filo is now known as Filohuhum [13:48] Hi all [14:00] 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] how can I dig deeper into this to find the actual signal that is causing this? [14:01] BinarySavior: make a backup of the data on that flash drive and prepare to replace it [14:01] hiya, SMART drive test [14:02] but it's brand new, leftyfb, I bought this specifically to be my backup usb drive lol [14:02] sh$t happens [14:02] BinarySavior: good, then it should be under warranty [14:02] is there anything else that could cause this? like undervoltage supplied to the device? [14:02] u could try it on another system [14:03] BinarySavior: possibly. Do you suspect you pc of having a faulty usb port? [14:04] 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] little more power*** not voltage [14:07] ok still getting same message when plugged directly into mobo [14:09] I purchased 2 identical USB drives, both brand new, and both are showing the same error [14:09] helllo, I m going absolutly crazy, How I can set the autologin for xfce4 ? [14:09] what brand? [14:09] I think this might be software issue [14:09] BinarySavior: got another computer/OS to test them with? [14:10] 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] paul424, I do that at xubuntu install for htpc (and the like) [14:17] 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] my laptop with Ubuntu 20.04 did not display the same message [14:19] 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] BinarySavior: SMART doesn't care about the filesystem, whether it's encrypted or not [14:19] but still, this only happens on my Ubuntu Studio 22.04 Desktop, not my Ubuntu 20.04 laptop [14:19] BinarySavior: then maybe the usb ports on your laptop are faulty [14:20] the laptop is the device that's working, the desktop is displaying the warning [14:20] sorry, desktop [14:21] 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] (on my laptop) [14:22] BinarySavior: smart can be turned off in bios [14:22] BinarySavior: maybe try doing a BIOS upgrade on the desktop [14:24] I updated the BIOS earlier this year when I purchased the mobo [14:24] see if there's another update [14:25] I would also check bios for power settings I have seen some disabling power settings that may aslo affect usb use [14:27] 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] The USB 2.1 drive I also use has no warnings [14:28] Next time I reboot I will check BIOS for anything that stands out at me [14:31] ahh found the smartctl output: https://bpa.st/3GRA [14:32] looks like a firmware/BIOS bug to me [14:35] I do have a opinion of SanDisk drives or should I say I have pile of bad ones to send back [14:36] flash drives = bios updates, linux distros and windows [14:36] bbout it [14:46] I have several Sandisk Extreme drives for backups and installer images. [14:47] They are more expensive than a ssd. [14:48] i hope they are fast enough [14:49] the Extreme Pro are relatively fast [14:52] but not as fast as an ssd-on-a-usb3 adapter? [14:53] I think not, I have to check that. [14:54] yeah, i use an ssd on usb3 alot nowadays, speed [14:54] they have nvme on usb3 too [14:55] feel free to discuss further in #ubuntu-offtopic [14:56] why offtopic, I can put an Ubuntu installer image on it :-) [14:56] hehe [14:57] No [14:57] AngryTom: it's not a support topic. Unless you need help putting the installer image on it [14:57] I see [15:08] Hello ! [15:09] 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] I checked /etc/fstab, /etc/crypttab /etc/grub/grub.cfg [15:10] and everything seems normal [15:11] 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] if someone have the solution, I wont refuse [15:15] hi jedorf, if I'd have this issue I would likely try these instructions: https://unix.stackexchange.com/a/688786 === ubu_ is now known as ubu === filo is now known as Filohuhum [15:39] zaggynl > ok, I don't have the error on update-initramfs I rebooted and it work ! thank you ! === itu is now known as Guest2209 [15:40] nice [15:41] the problem was just the name you put in /etc/crypttab "sdb3_crypt 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] this is weird initramfs need link the "crypttab" name with the "crypt name of the actual mount" [16:23] USB disks don't always support SMART === Guest2209 is now known as itu [16:34] JanC, this one says it supports, and it's actually running and Failing [16:36] good morning. i'm going to setup k8s on 4 or 5 hp prodesks we threw away at work. [16:36] 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] should i make the nvme ext4 and mount at /var or /something else and make the 1TB / and format ext4 [16:38] but you said: 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] is that also true on the computer where you didn't get an error? [16:39] JanC, yea I'm not sure why, might be proprietary software pre-installed on the usb drive [16:41] 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] JanC, I suspect due to proprietary SanDisk security on the USB drive [16:42] 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] what proprietary security does it have? [16:43] SanDisk SecureAccess TM [16:44] only supported OS are Windows and Mac [16:46] samsung has the same feature. its useless on linux. but smart works fine here [16:46] dotn have a "secure" sandisk device to test [16:47] lsusb I see the device, but smartctl --scan I don't see the device listed [16:47] it seems like it creates a special encrypted folder, so it should not affect operation of the hardware? [16:49] and I think the device doesn't support SMART [16:49] BinarySavior: can you return those devices for being defective? [16:51] I wonder where the errors came from === justache is now known as justThanks [16:51] if SMART isn't accessible [16:52] 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] JanC, it's a popup notification from Ubuntu Studio [16:53] the application has a title "Storage Device Health Monitoring" [16:55] so something in KDE [16:56] any suggestions please [16:57] JanC, https://binarysavior.neocities.org/scan [16:57] yes, KDE System Settings Module: Storage Device Health Monitoring [16:58] so it does have very limited SMART... [16:59] I wonder how "Unrecoverable ECC Count" got to 10k sectors [17:00] + [17:01] let me try running smart on my laptop again [17:01] Jaffo: maybe ask in a channel that is more specific for servers/cloud? [17:04] BinarySavior: one other possibility is that SanDisk uses unusual/non-standard codes for its SMART data, and it's being misinterpreted... [17:08] seems like 234 might not be standardised and/or some hardware manufacturers (ab?)use it for proprietary data? [17:08] https://www.bleepingcomputer.com/forums/t/654973/what-does-uncorrectable-ecc-count-mean/ has a similar issue [17:09] https://bpa.st/2BYA [17:09] maybe because it's nvme, nvme smart-log doesn't display any warnings [17:09] is that the same device? [17:09] JanC, yes [17:10] I didn't know the 'nvme' utility worked for USB devices :) [17:11] so it might be a false positive [17:12] JanC, https://askubuntu.com/questions/909823/smart-data-self-test-is-greyed-out-in-disks [17:13] that is about SMART not being there at all [17:14] it's talking about it being greyed out, that's how it appeared on my laptop too (running ubuntu 20.04 LTS) [17:20] #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] Have a great day everyone. ! [17:20] !next [17:20] Noble N is the codename for Ubuntu 24.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. [17:21] Didn't work out the way I wanted it to. Oh well... [17:21] Jaffo: you're on ubuntu-server? [17:22] 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] same issue no matter which linux i use [17:22] Jaffo: I suggested a server/cloud channel because more people there would have experience with this sort of things [17:23] theres over 1000 in here and not one has two drives. man I'm a unicorn I guess [17:23] (and if it is linux distro-independent, there is also #linux ) === icedtea is now known as peacefulman [17:23] you want to use it for a specific purpose, which is relevant here... [17:32] 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] seere: you mean Jaffo, I presume :) [17:33] JanC: of course ;) [17:34] damn autocomplete [17:36] 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] seere: they're in #linux getting help now :-) === jfsimon1981_c is now known as jfsimon [18:50] hello [18:51] welcome Guest77 [18:56] is there something like a web development group on ubuntu? [18:56] trying to figure out how to pin down perms for a wsgi app with apache2 (running as www-data) [18:57] i need to allow rw access for a group of users, i think apache2 does not need to write [18:57] but of course read [18:58] hmm maybe could need write, not sure, its a python virtual env [18:58] thats an ubuntu question :) [19:00] are you gettimg an error message? [19:00] 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] 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] just want to avoid collisions [19:16] 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] 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] Principle of least privilege. A user should have as little access as they need to do their job right. [19:24] So whatever configuration does that, is the right one. [19:24] I'm not sure there really is a "canonical way", but maybe check Ubuntu & Debian server/user manuals [19:25] also depends on how much you trust various people :) [19:51] 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] that is probably a very good idea thanks === JanC is now known as Guest7162 === JanC_ is now known as JanC [21:45] 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] Kexoni: sure, nothing in your home directory cares about the hardware [21:48] thanks mate mtn_ [22:34] 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] So sorry wrong chan. [22:35] no worries, thanks for reporting back on that, i was just wondering about it :D [22:40] It's a node.js command [23:07] Moin === KNERD_ is now known as KNERD