/srv/irclogs.ubuntu.com/2024/04/14/#ubuntu.txt

webchat24bprompt: because I didn't mount them, and they aren't showing up in list of mounted drives when I run "mount" \00:01
bpromptwebchat24: I ask, because, hmmm some applications like the file manager can mount a filesystem without warning upon request on user interaction00:01
webchat24oerheks: I'll look into hdparm settings that might be able to stop it. thanks00:01
bpromptwebchat24: how old are the HDDs btw?00:02
webchat24bprompt: brand new -- I just finished building this PC this week00:02
bpromptwebchat24: generic brand?   seagate? or something?   I mean, HDDs usually can have a lifespan of 10 years or more, depending on use, just "consumer market" usage, you can pretty much go with it for 10 years fine00:04
=== miceiken1 is now known as miceiken
webchat24western digital red pro 20TB00:04
bpromptwebchat24: and no switch on the enclosure?   well, most don't come with one I think00:05
webchat24I won't be using them all the time, but when I am, it will be heavy moving (basically I'll be moving a few TB a day on them back and forth from SSD raid array, but most of the time outside of this they'll be idle)00:05
webchat24it is for loading large multi-TB datasets for machine learning / LLMS00:06
webchat24yeah, there is no switch on enclosure.00:07
webchat24they are just open mounted on a disk rack in the case00:07
bpromptright00:08
bpromptwebchat24: https://linuxconfig.org/change-hard-drive-s-sleep-standby-mode-timer-to-reduce-power-consumption     <---- as suggested by oerheks00:11
bpromptand don't forget the "sudo hdparm --yes-i-know-what-i-am-doing -s 1" switch =)00:11
bpromptis a a good thing the switch isn't "--yes-dude-just-freaking-do-it-already"00:13
=== esv_ is now known as esv
aukany suggestions on tools to autogenerate packaging metadata? preferably with multiple distro support. E.g. i write one manifest, and then the tool can output a `debian/` dir, an RPM spec file, etc.00:37
aukI've seen several (for example, FPM, pacur), but they all seem to want to handle the build step themselves -- I'm looking for something that will autogenerate metadata suitable for inclusion in the distro's upstream build and packaging processes00:38
aukthis appears to be in the spirit of what i want, but not clear if maintained: https://github.com/castedo/clump01:09
=== chris14_ is now known as chris14
=== Josephur_ is now known as Josephur
Guest96hey01:58
=== NoiseAxis is now known as Noise_Axis
foxjazztest04:10
arraybolt3foxjazz: test successful04:10
Noise_Axistest04:11
Cacing_Servertest04:34
rock8787i found bugs. when you open videos they open off screen04:39
rock878724.04 beta04:40
rock8787vlc and mpv do it04:40
Cacing_Serverrock8787: I was just updated the 22.04 to 23.10 last night. Probably would upgrade again into 24.04 today.04:45
toddc24.04 has not been released check #ubuntu-next for debugging and more info05:24
=== alucardromero1 is now known as alucardromero
JohnsonHello07:27
JohnsonI'm having issue07:27
akikjohnson: #ubuntu is here to help you07:31
akikoh he left07:56
=== miceiken3 is now known as miceiken
=== miceiken3 is now known as miceiken
=== miceiken3 is now known as miceiken
davros1Years ago I put ubuntu on a  laptop.. I suspect it contributed to it dying (fan control/overheat?) .. is such a hazard likely to be diminished today10:03
mandem0110davros1: no, Ubuntu would NOT have killed your laptop.10:04
davros1I've used ubuntu for 10+ years on desktops, just to confirm I'm not ubuntu-phobic10:05
mandem0110Then you'd know it couldn't "kill" a laptop...10:06
davros1(My suspicion was there might have been something about fan control going wrong, again this was probably 10+ years ago )10:06
davros1I can well believe "stuff that didn't work back then works fine now"10:07
mandem0110davros1: do you have a support question?10:07
* respawn needs to turn my lubuntu 24.04 machine on10:08
mandem0110respawn: nice, looking forward to running 24 on a rpi5 :D10:09
respawnit runs like achamp on my old pc10:10
akikcontrolled speech. love it10:48
itu hi11:17
itui have ubuntu 22.04 installed on this laptop11:18
itunow i am strongly wondering. i found that apache2 is active11:19
ituwhy and how could this happen?11:19
lotuspsychjeitu: desktop or server?11:19
itudesktop of course11:21
lotuspsychjeitu: you might have installed a software package, that had apache as dependency?11:21
akikitu: if you want to stop it, run "systemctl stop apache2; systemctl mask apache2"11:22
akikitu: then it won't start up11:22
akikitu: read the apt logs to see when it was installed11:23
lotuspsychjegood idea yeah, dpkg logs11:25
akikno, apt11:25
* itu ist about to investigate the case 11:26
ituhttps://yopad.eu/p/apachgate11:31
itusmokeping did it ...11:37
ituconclusion: no need to worry about the running apache, nothing bad happening11:47
daoumilseitekhi there11:48
daoumilseitekdo you know why Lutris is in multiverse instead of universe ? Lutris is GPL afaik11:48
lotuspsychjeitu: if the apache service keeps running a lot, you might wann ask the volunteers for possible security measures perhaps11:49
akikto me it sounded like he wouldn't want it running12:02
itui just worried about having some malware active12:06
akikand security-wise it's wise to keep it stopped if you don't need it12:07
ituyes12:07
BluesKajHi all12:09
akikBluesKaj: hey did you get the sudo issue fixed you asked about yesterday?12:10
BluesKajhi asik, do you mean the sudoers ALLNOPASSWD issue?12:11
akikBluesKaj: just NOPASSWD12:12
BluesKajno I did not, the settings I used were a duplicare of the same line that works on my laptop but fails after a few mins on my pc12:14
akikBluesKaj: it doesn't accept your passwd after a few mins?12:14
BluesKajit asks for my passwd12:16
BluesKajwhen that line is supposed to prevent it from asking12:16
akikBluesKaj: see journalctl -b 0 -ef when the error happens12:17
BluesKajthere are over 100 lines after that command12:24
=== nykma47725 is now known as nykma4772
akikBluesKaj: i meant run it first, then wait for sudo to fail12:33
BluesKajyeah it failed immediately12:36
ioriaBluesKaj, using directly /etc/sudoers or a  file in /etc/sudoers.d ?12:41
BluesKajakik: using sudo visudo in the terminal12:43
BluesKajso direct I guess12:44
ioriaBluesKaj, i'd try to add an entry in /etc/sudoers.d12:44
BluesKajioria: there' 3 files in the /etc/sudoers.d folder, but none will open12:52
ioriaBluesKaj, normally, there should be none , only a README12:53
ioriaBluesKaj, become root ; sudo -i12:53
BluesKajheh permission denied13:00
ioriaBluesKaj, can you ls -l ?13:01
BluesKajas root ?13:02
BluesKajioria: ^13:04
ioriaBluesKaj, after the sudo -i, yes13:04
daoumilseitekgot an irc client notification for this channel but no mention ... weird13:04
ioriaBluesKaj, permissions should be 044013:06
BluesKajioria:13:06
BluesKajtotal 413:06
BluesKajdrwx------ 5 root root 4096 Apr  8 11:19 snap13:06
ioriaBluesKaj, let's try this; cd /etc/sudoers.d ; visudo -f myfile; add your command; chmod 0440 myfile13:08
pycuriousmy lxd container does not have internet (ubuntu host and ubuntu guest) - any ideas on how to debug this?13:12
ioriaafk, sy13:13
=== duckworld_ is now known as duckworld
=== donzwei is now known as dtw0
=== donzwei is now known as dtw0
=== solsTiCe0 is now known as solsTiCe
Dr-007hello, i did something dumb. i made an image from one partition of a USB and restored it on antoher USB. But now instead of the partition showing up numbered (/dev/sdc1) the whole /dev/sdc is used by that image. The USB now says that it is read-only and i cannot find a way to disable the read-only to re-create partitions. All tools simply say that it's read-only. So am i screwed?14:54
jcduttonDr-007, so to fix it you probably need to wipe the usb stick to wrote stuff to and start again14:58
Dr-007yes, i tried that but then it tells me that it's read-only14:58
jcduttonDr-007, on the destination USB, you will need to create a new partition table first.14:59
Dr-007with fdisk i assume?14:59
jcduttonYes, or gparted or something similar.   Be very careful to get the correct device name.15:00
Dr-007fdisk: cannot open /dev/sdc: Read-only file system15:00
Dr-007it is the right drive: /dev/sdc on /media/friso/retropie type ext4 (ro,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)15:01
jcduttonDr-007, unmount it first15:01
Dr-007i did15:02
jcduttontype "mount"  is the /dev/sdc entry been removed?15:05
arraybolt3Dr-007: you may have burnt out your flash drive writing a partition image to it. It has nothing to do with the data that you wrote (you could write anything to the flash drive and you should have no problems), but rather the amount of writing you did probably pushed the flash memory over the edge into failure.15:06
arraybolt3Even if it was still mounted, it shouldn't do *that*.15:06
arraybolt3USB flash drives are somewhat notorious for failing in this way eventually - they lock into read-only mode so you can recover data and don't write any more to the drive (which would cause it to fail entirely and your data would become inaccessible).15:06
Dr-007jcdutton, yes it was removed / unmounted15:06
Dr-007aaaah.. lame.15:07
jcduttonDr-007, how old is this problem usb disk ?15:07
Dr-007i wasted another USB thumbdrive this way15:07
jcduttonDr-007, arraybolt3 is right. When usb disks can old or faulty, their normal failure mode is to go RO.15:07
Dr-007about 7 years15:08
arraybolt3yep, sounds like your drive just finally had enough.15:09
arraybolt3(I've had relatively new flash memory fail in this way too, they just put cruddy flash in most flash drives if I understand correctly.)15:09
Dr-007ah, oh well. then i'll use my last USB drive. i hope i dont screw this one up too!15:12
Dr-007thanks anyway15:13
mandem0110!bugs15:57
ubottuIf you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.15:57
mandem0110Nice, hopefully the bug I have will be fixed if I report it :D15:57
=== bill is now known as Guest7970
=== mandem0110 is now known as nandem0110
=== nandem0110 is now known as mandem0110
=== pushkarnk1 is now known as pushkarnk
=== Rahoul0 is now known as Rahoul
=== miceiken2 is now known as miceiken
Guest61Hi guys, I could use some help fixing grub. I have an EFI system and LUKS encryption on a single ssd. Now I just installed another ubuntu on an external disk (kind of like a live usb, just persistent boot up and more disk space). Problem: after unplugging the external disk, I cannot boot back into the original system. instead I get some kind of18:36
Guest61grub shell saying "Minimal BASH like ...".18:36
Guest61I found this guide [1], with looks helpful, but it does not say anything about luks encryption. any suggestions?18:36
=== dongcarl3 is now known as dongcarl
=== realies12 is now known as realies1
=== miceiken1 is now known as miceiken
=== realies15 is now known as realies1
=== realies16 is now known as realies1
=== docmax_ is now known as docmax

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!