[00:03] <sybariten> Ravage: thank you... what does it do more precisely?  Also, can i mount something directly under /mnt ?
[00:04] <sybariten> its basically mounting up a lot of stuff from the drive, and then chrooting, which allows it to do what?
[00:04] <oerheks> use /mnt/ for fstab entries, /media/ for temporary mounts
[00:05] <sybariten> oerheks: yeah this was for a specific procedure i guess
[00:06] <Ravage> the commands will try to fix your boot problem
[00:11] <yukiup> do you guy know if 22.04 will also removing favorites in nautilus?
[00:11] <yukiup> will alow*
[00:12] <sybariten> so, i read about two ways to check if i'm running a classical BIOS or UEFI system. I am currently booting from USB though. first i mounted the inernal HD and looked for sys/firmware/efi. My whole (mounted) sys was empty.
[00:13] <sybariten> Second i tried installing efibootmgr . Then while running it, with sudo, i get "EFI variables are not supported on this system." . Is this a test i can trust, given that i'm booting from a USB memeory here, or do i need to actually boot from the internal HD ?
[00:17] <Bashing-om> sybariten: Mount the root file system and look if its /etc/fstab file contains an EFI partition (mount point: /boot/efi) is another way to see.
[00:27] <sybariten> Bashing-om: hm, do you think you could explain a bit more how to do that? shall i mount sda1 or sda2, considering that sda2 is "the big part" of the disk
[00:27] <sybariten> well you prolly mean sda2
[00:29] <EriC^> sybariten: what's the actual problem you're having
[00:30] <EriC^> sybariten: a better way to see what the install is, is to do 'grep efi /mountpoint/etc/fstab' and see if there's an efi partition being mounted
[00:30] <EriC^> what's the issue you're having though, why do you want to know if it's efi/legacy?
[00:31] <sybariten> EriC^: well it's a boot failure, immediately when turning on the machine. Used to be a working ubuntu system but i think i shut it off a bit violently or something. There was some discussions indicating that its good to know if its legacy bios or UEFI ...  but i should probably just follow the grub reinstall instructions that ravager posted above
[00:31] <Bashing-om> sybariten: "/dev/sda2  1050624 625141759 624091136 297.6G Linux filesystem" .
[00:31] <EriC^> sybariten: i see, what happens when you try to boot now?
[00:32] <sybariten> Bashing-om: i'm looking at the fstab file from the mounted disk, it has this line for instance    UUID=97C1-7C0F  /boot/efi       vfat    umask=0077      0       1
[00:32] <sybariten> EriC^: "boot failure, press any key to continue"
[00:34] <EriC^> sybariten: so you mounted the root fs at /mnt?
[00:34] <Bashing-om> sybariten: EriC^ is the EFI booting guru - I bow out to him :D
[00:34] <sybariten> EriC^: at /media/newhd , in fact ... just now
[00:34] <sybariten> Bashing-om: aha aha
[00:34] <EriC^> the more the merrier, what i always say
[00:35] <sybariten> is there an english saying/proverb that indicates the opposite of that? We have one in my language
[00:35] <EriC^> sybariten: type "for i in /dev /proc /sys; do sudo mount -R $i /media/newhd$i; done"
[00:36] <sybariten> "the more chefs, the worse the soup"   :-D
[00:36] <sybariten> EriC^: ok! worked with no complaints
[00:37] <EriC^> sybariten: alright, type 'sudo chroot /media/newhd'
[00:38] <sybariten> EriC^: are we gonna do this?  https://p.haxxors.com/y2cc7uh4.txt    cause i havent really mounted stuff like that yet
[00:39] <EriC^> we already did
[00:39] <sybariten> i mean, not the other partition, and not in that same mount point (which perhaps is less important)
[00:39] <EriC^> it doesnt matter really
[00:39] <sybariten> ok, but i dont need to mount sda1 ?
[00:39] <EriC^> getting there ;)
[00:39] <sybariten> aha aha
[00:40] <sybariten> aiight the partition is chrooted... which i've never understood exactly what it means
[00:40] <EriC^> it literally just means change root, so now '/media/newhd' is the new "/" root dir
[00:41] <EriC^> sybariten: type 'mount /boot/efi'
[00:41] <sybariten> but i feel like i also become root when doing it?
[00:42] <EriC^> yeah it runs bash by default and we used sudo, so you get a root shell
[00:42] <sybariten> ok yep. Change root dir, i'll try to remember that.    Okay i mounted /boot/efi , no complaints
[00:42] <EriC^> ok, try "grub-install
[00:43] <EriC^> "grub-install"
[00:43] <sybariten> hm. Got an interesting error.    rub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
[00:44] <sybariten> ls /usr/lib/grub/  -->   grub-mkconfig_lib  x86_64-efi  x86_64-efi-signed
[00:45] <EriC^> type 'grub-install --target=x86_64-efi'
[00:45] <sybariten> gotcha
[00:45] <sybariten> Hmmmmmmmmm
[00:46] <EriC^> what happened?
[00:47] <sybariten> well it was chewing for a while but eventually i got this   https://pastebin.com/Vuj5qKBs
[00:47] <jailbreak> sybariten: use ubuntu's paste, not pastebin.
[00:48] <sybariten> could i have created some mysterious uefi/legacy mismatch on this machine, a while ago? and thus breaking it?
[00:48] <EriC^> sybariten: type 'ls /sys/firmware/efi'
[00:48] <Eickmeyer> jailbreak: We welcome any and all pastebins here, please don't gatekeep. :)
[00:48] <EriC^> i think you booted the live usb in legacy mode sybariten
[00:49] <sybariten> jailbreak: hmmm seems i need an account, so...
[00:49] <jailbreak> Eickmeyer: pastebin.com is full of cancer ads
[00:49] <Eickmeyer> jailbreak: We still welcome its use for our purposes.
[00:49] <EriC^> +1
[00:49] <jailbreak> okay...
[00:50] <sybariten> EriC^: hm no /sys only contains  acpi  dmi  memmap
[00:51] <EriC^> sybariten: hmm, could you share a paste of 'parted -ls' ?
[00:51] <EriC^> curious if it might give any useful info
[00:51] <sybariten> EriC^: i still don't have a good understanding of this efi/legacy thing - can i choose how to boot a usb distro? Isn't the efi/legacy thing a quality of the motherboard or something, and thus soemthing which is either one or the other?
[00:52] <EriC^> sybariten: yeah new mb's are uefi, but they have csm legacy (compatibility module), and typically you can choose how to boot the usb, and the system also has a main setting which it uses when you turn it on
[00:53] <EriC^> usb usually in the one-time boot menu it gives something like "usb..blabla, and UEFI usb blabla"
[00:54] <sybariten> EriC^: parted output: https://pastebin.com/HzPNUACX     btw the machine definitely looks like it's more than ten years old, if that's interesting. I could maybe try to figure out exactly..
[00:54] <EriC^> sybariten: im thinking, really grub is now in the efi partition which is good, the last thing it was trying to do was edit the uefi entries (in the motherboard) and add ubuntu and set it as default
[00:55] <EriC^> sybariten: you were using efi for sure, the partition table is gpt, and for gpt + legacy to work you need a special partition called a bios_boot and it isnt there
[00:56] <sybariten> aha
[00:56] <EriC^> sybariten: which kind of laptop or motherboard is it?
[00:56] <EriC^> sometimes they can let you browse for the efi file, in case it's missing from the menu you could use that
[00:58] <sybariten> Lets see... the machine is a fujitsu esprimo q900.....  "mainboard chipset" may be called Intel® QM67 , dunno if that's a lead... checking some other info...
[00:58] <EriC^> sybariten: you can also copy the efi file to the 'standard' locations, it would usually look there by default
[00:59] <EriC^> sybariten: type 'mkdir /boot/efi/efi/boot; mkdir -p /boot/efi/efi/microsoft/boot'
[00:59] <sybariten> yeah its a mini machine and unless the moterhboard is called mini itx or something, i'm guessing it goes by the name intel qm67
[01:00] <sybariten> mkdir: cannot create directory ‘/boot/efi/efi/boot’: File exists
[01:00] <EriC^> ok type 'cp /boot/efi/efi/ubuntu/shimx64.efi /boot/efi/efi/boot/bootx64.efi'
[01:01] <EriC^> also 'cp /boot/efi/efi/ubuntu/shimx64.efi /boot/efi/efi/microsoft/boot/bootmgfw.efi'
[01:02] <sybariten> both operations worked. So i'm taking an existing "efi file" and putting it in a coupla other places too
[01:02] <EriC^> exactly
[01:03] <EriC^> ok, type 'exit' to exit the chroot then restart, make sure uefi is enabled in the bios, or csm legacy is disabled
[01:04] <EriC^> you could run 'update-grub' if you want for good measure, wont harm
[01:06] <EriC^> it's not really needed so dont sweat it
[01:07] <EriC^> if you rebooted before typing it
[01:07] <EriC^> any luck sybariten ?
[01:11] <xstasy> Is there any way to have ipv6 prefix delegations + hint work with just netplan?
[01:12] <sybariten> sorry was in the kitchen
[01:13] <EriC^> no worries
[01:13] <sybariten> EriC^: ok i shall reboot. But i shall make sure to get into the bios, and look for uefi/legacy settings?
[01:13] <EriC^> yeah, try rebooting, if it doesnt work, enter the bios
[01:13] <sybariten> and this i can pretty much expect to find?
[01:13] <sybariten> Ah ok
[01:13] <sybariten> i'll run the updategrub thing too first
[01:13] <EriC^> yeah should be under boot options
[01:14] <EriC^> alright
[01:14] <sybariten> thats still from the chroot environment right?
[01:14] <EriC^> yup
[01:15] <sybariten> OK yeah it did some stuff. I'm exiting and rebooting, lets see what happens.
[01:23] <sybariten> hmmmm ok so i still got the boot failure actually. And i went into the bios after that, but this is frustrating, i can not really see very obviously where the uefi settings would be?  Its an american megatrends blah balh, i could probably find screenshots of the exact same bios
[01:27] <EriC^> sybariten: it seems that f8 should give you the boot menu
[01:27] <sybariten> aha yeah i'm not really in the boot menu i think, no. I'm in the bios...
[01:27] <EriC^> other sites mention f7
[01:28] <EriC^> sybariten: it might show you the uefi menu
[01:29] <sybariten> should i try to go there instead. My only clue here in the bios is that under the second menu choice, "advanced", there is cpu, grpahics, SATA etc confogurtaton, and under one of them, USB .. there is some "usb efi legacy" setting IIRC (cant see the monitor right now when i
[01:29] <sybariten> im chatting)
[01:29] <sybariten> but    OK i
[01:30] <sybariten> bloody bluetooth keyboard... but OK ill hunt for the boot menu instead
[01:32] <EriC^> sybariten: dunno if this helps https://docs.oracle.com/cd/E23161_01/html/E37044/figures/mblegacyboot.jpg
[01:33] <EriC^> i think that's like an early 2000's pc or something though
[01:40] <sybariten> Hmm well this is frustrating. There is indeed a boot menu, i get it from F12. I mean first theres that blade runner style page with the red triangle logo and it says del/f2 for bios, f12 for boot menu
[01:40] <xstasy> Ok so I have the following netplan config: https://static.ftown.cloud/netplan.yml that gives ipv4/ipv6 on the VLAN wan definition. I'm also told by my ISP that I can get a IPv6PD of ::/56, is there any way to achieve this with just plain netplan or do I have to resort to wide-dhcpv6 or something else?
[01:41] <sybariten> if i go to the boot menu i have only three choices as of now: the HD, the network boot, or "bios settings" . And this ofcourse brings me to the normal bios. I took photos of all the pages in the bios though EriC^
[01:42] <EriC^> ah cool
[01:42] <EriC^> you could upload to imgur.com if you want
[01:43] <sybariten> OK hang on i'll see what i can do. There is indeed a boot tab like in your screenshot, but it does not have the same choices...at all
[01:44] <EriC^> aha
[01:48] <sybariten> EriC^: i think this may work ...?  https://photos.app.goo.gl/Ne4Vw9YGVJLg2tBo7    NB: no pic of the separate boot menu but it really wasnt so interesting
[02:08] <sybariten> uhm ok so i gotta hit the sack.... i dunno if theres a system for leaving messages for offline users here on the libera services....
[02:09] <sybariten> ...but if anyone would happen to see EriC^ log back in, please tell him that i needed to sleep, couldnt find any uefi settings in my BIOS, and that i
[02:09] <sybariten> ...i'm very thankful for his help
[02:10] <Bashing-om> sybariten: /msg memoserv send <nick> <message>
[02:11] <sybariten> ah, thank you Bashing-om .
[02:12] <Bashing-om> sybariten: np -- eric may be sufferribg connectuon issues :(
[02:13] <sybariten> Bashing-om: gotcha. Sent him a memo, we'll see if he gets it. Peace
[02:55] <Aarch64debian> !jammy
[04:40] <stats4647> Hi, I have a Linux VM on the Google cloud (only terminal access, no Google administration atm) and I am trying to understand / benchmark the disk. I ran fio but am a bit confused by the output. What should I compare it to? I am running a database doing lots of reads/writes. I know this is a bit nebulous, but would appreciate some guidance on what modern database servers need. Part of the exercise is to figure out whether th
[04:40] <stats4647> e engineers have allocated SSD or not. TIA
[04:44] <morganu> 20.04 I want to make a persisten usb. https://itechbrand.com/how-to-create-a-live-ubuntu-usb-drive-with-persistent-storage/  -- it says The mkusb icon will appear on the screen. -- I dont get a window on top  AND i DONT KNOW A COMMAND TO SHOW THE DESKTOP. (FULLSTOP)
[04:45] <morganu> nope, nothing on the desktop either.
[04:52] <Flannel> morganu: I believe that's just telling you to run mkusb.  The super key (and typing) will search applications, etc.  Depending on your setup, you may have to install it first.  This page will walk you through installing (and using, including a handful of other references): https://help.ubuntu.com/community/mkusb
[05:05] <b100s> hi2all; why my `sudo apt update` crashes with Segmentation fault? https://gist.github.com/b10s/2e74f38c015cf4e7e2a44f67f18d4c4d
[05:06] <leftyfb> b100s: you'll need to contact Canonical for ESM support
[05:06] <b100s> leftyfb, do you think there is something wrong with /etc/apt/preferences.d/ubuntu-esm-infra ?
[05:06] <leftyfb> b100s: you are running an EOL version of ubuntu. The only support is through Canonical
[05:08] <b100s> leftyfb, I see. Interesting, EOL shouldn't crash per my understanding but it's better to update, right : ) What is the best, safest way to upgrade ubuntu to latest one but preserve all current soft and settings?
[05:09] <leftyfb> b100s: since you're running a version of ubuntu that was released over 6 years ago, I would highly recommend installing 20.04 from scratch and restoring from backup. Or wait till next month and install 22.04 when it is released
[05:13] <b100s> I see, thank you for advice. Got it. Now I'm wondering, just out of curiousity, why it may crash with segmentation fault
[05:17] <mr_lou> When I press the superkey to do a search for an application, there are absolutely no results anymore after upgrading to 20.04 - is there some command I can call to rescan/reindex that?
[05:27] <mr_lou> Got it. Reinstalled the lens files.
[05:27] <mr_lou> Now I "just" need to get back my blu-ray burner.
[06:00] <morganu> Flannel, hi I HAVE installed mkusb. Yes it IS telling me HOW to run mkusb but that doesnt work.
[06:02] <b100s> leftyfb, seems here is a way to be updated without reinstallation: https://ubuntu.com/tutorials/upgrading-ubuntu-desktop#1-before-you-start
[06:10] <morganu> 20.04 I want to make a persisten usb. https://itechbrand.com/how-to-create-a-live-ubuntu-usb-drive-with-persistent-storage/  -- iThanks  Flannel. so I just forgot the super key and typed it in and it ran and did all the things the page did and now is installing 21.10 on a persistent drive.  -- And I do believe I can also use that USB to install a 21.10 partition (crossed fingers)
[07:22] <ZombieRyushu> Do any of you use DoveCot and Fetchmail/
[07:46] <Luther> hello
[07:50] <mr_lou> Next problem: After upgradin to 20.04 my audio is gone.
[07:51] <ZombieRyushu> Do any of you use DoveCot and Fetchmail?
[07:51] <ZombieRyushu> mr_lou, Check PulseAudio
[07:52] <alocer[m]> mr_lou: how did you upgrade ?
[07:52] <alocer[m]> ZombieRyushu: why are you asking?
[07:52] <mr_lou> alocer[m], Using Update Manager
[07:53] <alocer[m]> mr_lou: you can try troubleshooting by checking if pulseaudio is running or not? try restarting pulseaudio and see if helps or not. also pavucontrol might help too.
[07:53] <ZombieRyushu> alocer[m], I migrated to Ubuntu from another distro, and was trying to reuse configs for contnuity
[07:54] <ZombieRyushu> Since Migrating, Fetchmail gives permissions erroes
[07:54] <alocer[m]> ZombieRyushu: what are the errors ?
[08:00] <ZombieRyushu> ar 07 03:00:10 olympia procmail[12423]: Insufficient privileges to deliver to "Dad"
[08:00] <ZombieRyushu> Mar 07 03:00:11 olympia procmail[12424]: Insufficient privileges to deliver to "Dad"
[08:00] <ZombieRyushu> Mar 07 03:00:13 olympia procmail[12432]: Insufficient privileges to deliver to "Mom"
[08:05] <alocer[m]> It seems Dad and Mom are not in the 'mail' group. ZombieRyushu
[08:07] <mr_lou> Nothing. Tried a few things from here: https://stackoverflow.com/questions/63028055/sound-not-working-focal-fossa-ubuntu-20-04
[08:07] <mr_lou> Still nothing. But now I have two network icons in the top bar.... tsk.
[08:08] <alocer[m]> lmc
[08:09] <ZombieRyushu> alocer[m], these are AD accounts
[08:09] <alocer[m]> mr_lou: does the `pulseaudio --check; echo $?` returns zero?
[08:10] <alocer[m]> ZombieRyushu: can you run `id Dad` ? it tells you which groups their in. This was my problem back in the days.
[08:11] <ZombieRyushu> uid=509(Dad) gid=504(Domain Users) groups=504(Domain Users),514(Domain Guests)
[08:11] <ZombieRyushu> THese are Domain accounts, but delivery takes place in /opt
[08:12] <alocer[m]> ZombieRyushu: you probably need to contact the AD admin to make sure they are inthe right group and etc. can't think of more things.
[08:12] <alocer[m]> ZombieRyushu: did you google the errors ?
[08:12] <ZombieRyushu> Yes.
[08:28] <mr_lou> alocer[m], sudo alsa force-reload seemed to do the trick. Hope it'll stay that way after reboot.
[08:31] <mr_lou> Nope. After reboot audio is gone again.
[08:31] <alocer[m]> alsa problem ! weird.
[08:32] <mr_lou> I hate upgrading. I always spend days afterwards on problems like this. I only upgraded because I hoped it would fix another problem that I've experienced before: Blu-ray burner doesn't work anymore.
[08:33] <alocer[m]> it shouldn't have anything with alsa
[08:33] <mr_lou> alocer[m], But yes, `pulseaudio --check; echo $?` returns 0
[08:34] <alocer[m]> seems your are using lots of 3rd party tools.
[08:34] <mr_lou> Probably...  because everytime there's a problem, I search the net and try all sorts of suggested solutions.
[08:34] <mr_lou> Already tried many this time too.
[08:35] <mr_lou> I would have stuck with 18.04 forever if no other problems came along.
[08:35] <mr_lou> I hate upgrading.
[08:35] <mr_lou> I'm a musician, so obviously I need working audio.
[08:40] <alocer[m]> hmm, you sound right, upgrading will cause lots of trouble for all the customization you have done.
[08:40] <alocer[m]> i think lessons are learned.
[08:51] <mr_lou> Oh I already knew that. That's why I hate upgrading. That's why I stay with old versions for many years.
[08:51] <mr_lou> Something always goes wrong and forces me to do various workarounds.
[08:51] <mr_lou> And these workarounds cause even more problems lever.
[08:51] <mr_lou> *later
[08:51] <mr_lou> I see no way around it.
[08:51] <mr_lou> Except don't upgrade.
[08:52] <mr_lou> New plan is to set up a machine that is always offline for certain things.
[08:55] <mr_lou> Oh great, now I'm also missing a harddisk....
[08:58] <aurora_> salve
[08:58] <aurora_> !list
[09:06] <alocer[m]> oh boy
[09:06] <alocer[m]> i think reinstall is easier :-D
[09:14] <mr_lou> Well yes, probably. Except I'll need to buy a new harddisk then, to make sure I don't lose anything.
[09:14] <mr_lou> And it still won't fix my blu-ray burner issue.
[09:15] <mr_lou> Unless I install an older version and stick with that.
[09:17] <sudorm> hi
[09:19] <sudorm> do some of you use bottle or web frameworks?
[09:19] <Pierre94> HI I don,t know if I am out of line. but I am running out of options and need guidance, so at my work we use wifi certificates for laptops, on the laptop I create a certificate request that I then submit to the windows CA via a browser and then manually download and "install" the certificate on the laptop. everything works perfectly. now, how do I
[09:19] <Pierre94> automate that process. I want to be able to automate the part of sending the certificate request to windows CA and getting back the Wifi-certificate to the laptop. I have googled for hours, but all guides are basic and stops at the "manual" posting, and download part.
[10:12] <Heston> is memtest still broken on 21.10?
[10:15] <willcl_ark> I am running 21.10 and Kernel 5.13.0-30-generic, but I don't seem to have this rename utility installed: https://manpages.ubuntu.com/manpages/impish/man2/rename.2.html Does anyone know how I can get it? It appears that it should be included with the kernel, but I can't find it or any packages that include it seemingly anywhere...
[10:27] <lotuspsychje> !info rename
[10:27] <lotuspsychje> this what you seek willcl_ark ^
[10:35] <willcl_ark> lotuspsychje: really that looks like something totally different ?
[10:38] <Ravage> it is exactly what you sent us
[10:39] <EriC^^> sybariten: hey did you fix the pc? i got dc yesterday, ups battery ran out
[10:40] <scortal> hi
[10:40] <EriC^^> hello
[10:40] <scortal> ubuntu.
[10:58] <willcl_ark> lotuspsychje: I really think you are mistaken here. The programs look totally different? Your package also does not install `renameat` and `renameat2` which my linked one purports to. One is c, one is perl.  Your perl one seems to be focussed on changing file names rather than atomically renaming via unlink and new symlink to new inode...
[11:01] <lotuspsychje> !info renameat
[11:08] <Ravage> willcl_ark: your link refers to the C function rename. it is not a standalone util. example code: https://www.tutorialspoint.com/c_standard_library/c_function_rename.htm
[11:20] <Heston> I have confirmed memtest86 is still broken in 21.10
[11:20] <Heston> pretty annoying
[11:23] <oerheks> Heston, memtest for UEFI machines?
[11:23] <oerheks> known issue, use memtest iso from their site
[11:24] <Heston> its not even uefi. i known its known but its been known for a couple years
[11:24] <oerheks> oh standard memtest works fine, no idea
[11:26] <Heston> I wonder if 20.04.4 has it patched
[11:27] <oerheks> which version?  https://launchpad.net/ubuntu/+source/memtest86+
[11:30] <Heston> 5.01 but i dont know if there's an updated point release
[11:33] <Heston> yeah i doubt it's updated, 20.04.4 is using a patch from 2020 when it was discovered
[11:39] <lotuspsychje> Heston: check if your bug is on the recent added bugs yet? https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bugs?orderby=importance&start=0
[11:42] <Guest500> Hello, I have old wireless usb adapter its philips SNU6600 and the computer could not recognize it
[11:43] <Guest500> lsusb output : Bus 001 Device 005: ID 0471:1235 Philips (or NXP) AR552
[11:43] <lotuspsychje> wich kernel are you on Guest500
[11:44] <Guest500> 5.13
[11:44] <lotuspsychje> Guest500: you might wanna try other kernel tests, see what the module does there
[11:45] <Guest500> module empty : Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 480M
[11:46] <Guest500> also dmesg output : [  322.768663] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[11:46] <Guest500> [  322.920549] usb 1-1: New USB device found, idVendor=0471, idProduct=1235, bcdDevice= 0.01
[11:46] <Guest500> [  322.920560] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[11:46] <Guest500> [  322.920564] usb 1-1: Product: AR5523
[11:46] <Guest500> [  322.920566] usb 1-1: Manufacturer: Atheros Communications Inc
[11:46] <lotuspsychje> think i've solved an AR chipset once, installing !HWE
[11:46] <Guest500> [  322.920569] usb 1-1: SerialNumber: 1.0
[11:46] <lotuspsychje> !paste | Guest500 use a
[11:47] <Guest500> Ok alright.
[11:49] <Guest500> I think it has x32 system drive in windows but cannot find x64 in linux
[11:50] <lotuspsychje> Guest500: try a few tests with ubuntu release from our topic, see if you can make it work on another kernel, or more advanced play with !mainline kernels
[11:51] <Guest500> how I can make another kernel?
[11:53] <lotuspsychje> Guest500: you are not supposed to make another kernel, just do some tests with other ubuntu releases, !HWE or !mainline
[11:54] <Guest500> For example this hardware for oldsystems, which kernel versions should I prefer?
[12:08] <Guest500> Is there any pro who can help me on dm?
[12:41] <ice9> i get recent asus laptop with 12 hours battery life, but in real test it stay only for 5-6 hours without high load, any idea?
[12:42] <sybariten> EriC^^: whoa how does that work, with your UPS? They are generally rather big things arent they
[12:43] <Ravage> ice9: google for results other users have with it. tests of the product?
[12:44] <sybariten> EriC^^: hmmm no not solved it yet. Since you mentioned i should check that i'm booting in UEFI mode and not , uh, legacy BIOS, i looked around for this in my BIOS but there really are no obviuos UEFI settings. Its weird. Dunno if you saw my gallery of bios pics there
[12:44] <EriC^^> sybariten: it's a smaller one made for just pc's
[12:44] <sybariten> EriC^^: but you need this, cause you have power dropouts sometimes or what?
[12:44] <EriC^^> sybariten: if you want you could install grub-pc and let it try to boot in legacy mode
[12:45] <EriC^^> sybariten: yeah exactly, electricity is on/off alot here (lebanon
[12:45] <EriC^^> sybariten: if you want boot the live usb again to chroot and try to get it to boot in legacy mode
[12:46] <EriC^^> sybariten: btw it might be also a good idea to first reset the bios to default settings in case that helps, it might just do it
[12:54] <sybariten> EriC^^: hm, could you explain this again please. I boot off the USB distro as usual, go into the terminal set up the mounts as yesterday, chroot to the mounted dirs, and then what?
[12:55] <sybariten> I mean how do i differ between legacy or UEFI at all when i do something now
[12:57] <sybariten> EriC^^: oh i see, interesting, I've been wanting to go to Beirut for quite a while now
[13:01] <EriC^^> sybariten: i'd try honestly to reset bios first, it might just need some reset, after you chroot basically you create a 1-2MB partition (you have like 500mb free at the end of your disk iirc) create it then for the partition type enter 'ef02' which designates it as a bios_boot, then install grub-pc and use grub-pc --target=i386-pc /dev/sda to install grub in legacy mode to the gpt partition table+bios_boot, and then you can boot in both modes
[13:01] <EriC^^> *grub-install --target=...../dev/sda
[13:04] <Xeonvl> hi all, im completely stuck with a server machine containing 2 5218R Xeons. The CPUs are stuck on 800Mhz. I have searched the internet and tried putting performance governor, then tried disabling disabling intel_pstate and manually enforcing a clock freq, I attempted to disable the PROCHOT thing but im not sure if I did it right
[13:05] <Xeonvl> im running a stress on all cores now and temperatures are between 34 and 46 degrees
[13:06] <Xeonvl> im running out of ideas. I dont know if its the BIOS or the OS, in IPMI it claims that the current speed is 2100Mhz but I dont know if I should trust that
[13:09] <Ravage> Xeonvl: watch -n1 "grep \"^[c]pu MHz\" /proc/cpuinfo"
[13:09] <Ravage> what does that output for you?
[13:12] <sybariten> EriC^^: sorry, listening to a lecture about data network technology... brb
[13:24] <Xeonvl> all cores emit 799-800Mhz Ravage
[13:29] <Ravage> Xeonvl: printf "$(cat /etc/os-release)\n$(uname -a)\n" | nc termbin.com 9999
[13:31] <Xeonvl> https://termbin.com/tyfn
[13:31] <Ravage> !hwe
[13:31] <Ravage> try to use the HWE kernel. maybe even hwe-edge
[13:32] <Ravage> the latest available version should be 5.13
[13:32] <Xeonvl> ok ill give it a try, first time I go on a kernel ride on ubuntu
[13:32] <hans> dfsvb
[13:33] <Ravage> https://packages.ubuntu.com/focal/linux-generic-hwe-20.04
[13:33] <Ravage> thats the package you want
[13:33] <Xeonvl> jep, installing
[13:33] <hans> 20.04, i want Chromium, i tried installing it as `apt install chromium-browser` and it's been hanging for a long time on 20% "2022-03-07T14:30:59+01:00 INFO Waiting for automatic snapd restart..."
[13:34] <Xeonvl> gonna take a moment, ill get back when up and running and rebooted
[13:34] <hans> ahh nvm it just finished!
[13:42] <Xeonvl> Ravage Linux schmidhuber 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[13:43] <Xeonvl> ow... i think euh
[13:43] <Ravage> so far so good. any changes about your cpu speeds?
[13:43] <Xeonvl> well... checking, the command you gave me now gives 2100 for all cores
[13:44] <Xeonvl> but in i7z they are still at 800
[13:44] <Ravage> i dont know what i7z is but my command outputs the currently running core speed
[13:44] <hans> fwiw a lot of intel cpus "sleep" at 800mhz - a core that isn't really doing anything runs at 800
[13:44] <Ravage> so you should be fine
[13:44] <Xeonvl> i think it may be fixed
[13:44] <Xeonvl> because your command is giving me a nice mix
[13:45] <Xeonvl> some are at 800, some arent
[13:45] <Ravage> mix is good. the cores clock down when idle
[13:45] <Xeonvl> im gonna ask one of the guys to drop one of his spark bombs on the machine which led us to discover the issue
[13:45] <Xeonvl> because they were executing faster on a 6 core cpu from 2013
[14:03] <Xeonvl> we are going to try and test this evening, thanks nonetheless!
[14:04] <Xeonvl> I have a feeling its probably solved
[14:26] <ubu> Hi folks, I set up cross-compile linux enivironment for backpors module but there is make error "Kernel version parse failed"
[14:28] <ubu> How I can solve this error? Backports version : 4.4.2.1
[14:36] <scortal> hi all
[14:36] <scortal> scortal here
[14:45] <Xeonvl> Ravage there is one strange thing, if the system is idle, all cores show up at 2100mhz. when we put a stress on it for every thread (80) the cpu is capable of, they all show up as 800
[14:45] <Xeonvl> I expected the opposite :)
[15:02] <Ravage> Xeonvl: echo ondemand | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
[15:02] <Ravage> You can try this and see if it changes the behavior
[15:05] <Xeonvl> Ravage i only have performance / powersafe governors
[15:05] <Xeonvl> Ravage i only have performance / powersafe governors available
[15:06] <Ravage> Try powersafe then
[15:06] <sybariten> EriC^^: sorry, had a bit of an intense lecture there.... so i should start by going into bios and trying to reset it, right?  And see if even that helps, perhaps
[15:06] <Ravage> If you don't pay the power bill performance should be ok though :)
[15:08] <sybariten> EriC^^: and then if not, boot into usb memory, mount the partitions like yesterday and then chroot ... and use the most basic partition tools to create a partition at the end of my disk space. Choose type ef02 . But how do i install grub-pc? Or that's something i install into my running system, via apt?
[15:08] <Xeonvl> still, watch -n1 "grep \"^[c]pu MHz\" /proc/cpuinfo" gives me 2.1ghz when doing nothing
[15:08] <Xeonvl> but if i load the cores they run slower
[15:09] <Ravage> It's possible they clock down when they get too hot
[15:09] <sybariten> EriC^^: ....and, if i have that, a simple "grub-pc --target=i386-pc /dev/sda" is enough to get the right things in place for a boot, hgopefully?
[15:09] <Xeonvl> no throttling in dmesg, and the hottest < 50 degress
[15:10] <scortal> hi
[15:10] <scortal> scortal here
[15:10] <sybariten> EriC^^: the command seems to adress the whole disk (volume?) ... what will happen  if i try to run that , but the aforementioned partition creating wasnt succesful?
[15:14] <Xeonvl> also cpufreq-info claims they all run 800mhz all the time
[15:15] <Xeonvl> its getting hard to know what they are al doing heh
[15:17] <Xeonvl> ran the same test on another machine and there the values i get are more dynamic for the cores
[15:17] <Xeonvl> here in idle they all run perfectly 2100 mhz
[15:17] <Xeonvl> its a bit odd :p
[15:20] <zen_coder> following package is down: http://security.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1-dev_2.2.5-3ubuntu0.2_amd64.deb is this a bug?
[15:25] <EriC^^> sybariten: you're correct on all fronts
[15:26] <EriC^^> sybariten: you could use gdisk/cgdisk to create the partition, if you dont create it, then grub-install would fail as gpt doesnt have a place to put grub's loader like mbr
[15:27] <sybariten> EriC^^: i see
[15:27] <sybariten> i think i will give this a shot
[15:28] <ioria> zen_coder, Superseded   : https://answers.launchpad.net/ubuntu/bionic/amd64/libexpat1-dev/2.2.5-3ubuntu0.2
[15:28] <Ravage> zen_coder: try "apt update"
[15:28] <sybariten> EriC^^: but what is essentially the reason for chrooting, i mean lets say in this specific case. As long as a disk is physically connected to my PC, i could still create new partitions to them right?
[15:29] <sybariten> well okay, maybe grub-pc would be a bit confuised cause it wants to operate in its "root environment" or something....?
[15:30] <EriC^^> sybariten: yeah, exactly, it's to install grub-pc, when you chroot this time you'll want to do "for i in /dev /proc /sys /run; do sudo mount -R $i /media/newhd$i' done" so you have internet access in the chroot for apt
[15:30] <EriC^^> if it says grub-pc is already installed do apt-get install --reinstall, since it was whining about i386-pc libs yesterday
[15:31] <EriC^^> sybariten: missed a ";" before done in the line above, but you get the idea, add "/run"
[15:34] <sybariten> EriC^^: you already mentioned /run in the for loop though ?
[15:39] <scortal> scortal here
[15:39] <leftyfb> scortal: please stop
[15:39] <EriC^^> sybariten: oh ok, thought i didnt put it yesterday
[15:52] <Xeonvl> Ravage we are going to run some workloads and time. the numbers coming out of the tools to monitor clock speed are highly confusing
[15:53] <Xeonvl> you mentioned perhaps trying hwe-edge? would that be the next thing if its somehow still running on 800 mhz?
[16:01] <Ravage> I think edge is also 5.13
[16:01] <Ravage> No difference at the moment
[16:02] <Ravage> You can try to setup 22.04 if the system is not super important
[16:02] <Xeonvl> I see, hm. its really odd, cpufreq-info claims its still down. /proc/cpuinfo doesnt
[16:02] <Xeonvl> but it has really weird behavior compared to what i would expect and what other machines do
[16:02] <Ravage> That comes with 5.15 and is the next LTS release next month
[16:02] <Xeonvl> can we simply check with a live cd?
[16:03] <Ravage> Yes sure
[16:03] <Ravage> There are daily builds
[16:03] <Xeonvl> hmm then ill think we'll try that tomorrow
[16:03] <Xeonvl> its not that the setup is already super complicated but the machine is already in ldap etc
[16:03] <Ravage> https://cdimage.ubuntu.com/daily-live/current/
[16:04] <Xeonvl> thanks, ill be off now but get back and report how it goes
[16:04] <Ravage> But go to #ubuntu-next for bug reports about that :)
[16:04] <Ravage> Good luck :)
[16:12] <boblamont> I have a formmail script on my server and it isn't working. I suppose its the permissions. I have them at 755. Is that wrong?
[16:25] <FastZ> Hello. I have an Ubuntu Server here that I am trying to extend the disk space of a particular partition. On this server, I have sda partions 1 through 5. sda2 is not the lask partition on the disk and I need to extend that partition.
[16:26] <FastZ> What is the proper way to do this? I do not have LVM in use on this server.
[16:26] <FastZ> the boot volume is sda4
[16:26] <FastZ> root is sda5
[16:30] <oerheks> FastZ, do this from a live iso, partitions must not be mounted
[16:31] <oerheks> also do you have free space next to that partition? fdisk-l would show sector numbers
[16:36] <boblamont> I've  tried multiple permissions, but I can't get the formmail script to work. It was just a minor update to one that worked fine before, but ownership and permissions changed when I reuploaded...
[16:39] <EriC^^> FastZ: can you pastebin 'sudo parted -ls' output?
[16:40] <FastZ> Thanks oerheks, I am in gparted in a live ISO. The free space is at the end of the disk (this is a VM). The partition order from left to right is sda2, sda3, sda4, sda5, free space. I need to add the free space to sda2.
[16:40] <FastZ> EriC^^: unfortunately, i cannot since I'm on a separate computer.
[16:41] <EriC^^> FastZ: does the vm have internet access?
[16:41] <FastZ> it does not
[16:42] <EriC^^> ok, well in gparted you would have to move sda3 and sda4 and sda5 to the right of the disk, so the free space becomes next to sda2, then extend it and its fs
[16:42] <FastZ> let me try that.
[16:42] <EriC^^> i'd backup the vm before doing any moving operations on it
[16:43] <FastZ> alright have snapshots made
[16:44] <FastZ> already, that is.
[16:53] <ubuntu> hi
[16:54] <Guest5925> 1
[16:54] <Guest5925> )
[16:54] <Guest5925> cull thing
[16:54] <Guest5925> cool
[16:54] <Guest5925> *
[16:57] <dirtcastle> is there a button I can press in ubuntu to quit xorg and go to login screen
[16:59] <|san|> Hello folks
[16:59] <dirtcastle> I'm in a window manager. i want to go to the login screen (gdm?) and switch to ubuntu. i can go from gnome to wm but i don't know how to do that from wm to gnome.
[17:00] <oerheks> dirtcastle, just logout?
[17:00] <dirtcastle> in terminal?
[17:00] <|san|> Im playing around with a dial up server with asterisk, and i've setup ufw and a masquerade, but having trouble with ufw blocking something it shouldn't.
[17:00] <leftyfb> dirtcastle: CTRL+ALT+F2
[17:00] <|san|> is there anyway to interpret from the following:
[17:00] <|san|> [UFW BLOCK] IN=enp6s0 OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:00:00 SRC=192.168.1.12 DST=192.168.1.3 LEN=200 TOS=0x18 PREC=0xA0 TTL=250 ID=10692 PROTO=UDP SPT=16384 DPT=13056 LEN=180
[17:00] <leftyfb> dirtcastle: that doesn't kill the Desktop though, it's still running
[17:01] <|san|> what i should add in ufw to not block this?`
[17:01] <dirtcastle> in the wm I'm in ctrl + alt + f2 doesn't work
[17:03] <quba> Hello everyone. I am currently working with Ubuntu on GKE. My node there runs the 5.4.0-1054.57 kernel, and I would like to download the headers for it. My problem is that when I run `apt source linux-headers-$(uname -r)`, it fetches 5.4.0-1063.66 for me, which is the last available kernel for GKE. That obviously leads to issues when I build my
[17:03] <quba> kernel module. How can I fetch the headers for the kernel that I am currently running?
[17:04] <dirtcastle> i figured it out. oerheks , leftyfb , thanks for your time
[17:05] <alkisg> quba: https://launchpad.net/~canonical-kernel-security-team/+archive/ubuntu/ppa3/+build/21783407
[17:05] <alkisg> quba: although can't you just tell them to update the kernel to the latest one?
[17:07] <filim> goodbye
[17:07] <quba> alkisg your link is for AWS, I think. And I think they will update eventually, but for now I would like to get the headers for that specific kernel. There might be situations where I need to work before GKE updates the Ubuntu kernel they're using.
[17:08] <oerheks> quba, why don't you update to that  5.4.0-1063.66 kernel to begin with?
[17:08] <quba> I appreciate your help. Those nodes are managed.
[17:08] <alkisg> quba: https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/23153439
[17:09] <alkisg> Eh, you know, just find the version/variant you want from similar links
[17:09] <quba> Sorry, I guess I wasn't clear enough, I'm looking for the source packages for the headers
[17:09] <alkisg> There's also a release history page that you can use; the idea is that you download them from launchpad instead of with apt
[17:10] <alkisg> quba: search on launchpad for a minute, and if you don't find them, I'll search and find them for you
[17:10] <alkisg> quba: e.g. https://launchpad.net/ubuntu/+source/linux-gke/5.4.0-1063.66 => replace the version you want in the URL
[17:11] <alkisg> I don't think you want the source for the headers though. You want the binary header packages, which contain the linux source code
[17:11] <quba> yep, that looks good indeed, many thanks.
[17:11] <alkisg> I.e. you should download the headers.deb, not the headers.tar.gz
[17:12] <quba> The headers might not be enough indeed. I thought they were, because running `apt source linux-headers-$(uname -r)` does actually download the whole linux source
[17:13] <alkisg> You want to compile kernel modules, right?
[17:14] <alkisg> Don't use apt source. Don't download the tar.gz. Go to https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/22237437 and download the linux-headers-5.4.0-1054-gke_5.4.0-1054.57_amd64.deb and linux-gke-headers-5.4.0-1054_5.4.0-1054.57_amd64.deb files.
[17:15] <alkisg> Then dpkg -i them, and you'll have your kernel sources, which are used to compile kernel modules
[17:16] <quba> This looks hard to do programmatically :/
[17:17] <alkisg> Hmm? You want to automate downloading the deb for your kernel?
[17:17] <quba> Precisely!
[17:17] <alkisg> That doesn't make sense, officially the obsolete debs are deleted from the archives
[17:18] <alkisg> They're only kept on launchpad for posterity
[17:18] <quba> What I ultimately want is a `kernel-src.tgz` for the kernel I am running. Unpacking this should give me the linux source against which I can build my module.
[17:18] <alkisg> You should automate the UPDATE process instead, not the "download obsolete debs" process
[17:19] <quba> I think that makes sense. Let me look if that's even doable in GKE.
[17:20] <alkisg> Also do note what I'm saying about the kernel headers being provided in .deb form. You don't want the .tgz unless you're going to modify it and build your own kernel variant.
[17:21] <alkisg> This is ensured by a just `apt install linux-gke` or `apt install linux-aws` etc; these also fetch the headers
[17:21] <quba> That also makes sense :)
[17:26] <quba> Hmmm, I don't think I'm supposed to mess with the GKE nodes, so upgrading is likely not an option. I doubt most users can even SSH there.
[17:34] <rpnx-phone> Why is it so hard to buy a phone with ubuntu touch preinstalled?
[17:34] <rpnx-phone> or even buy a phone that supports it?
[17:35] <lotuspsychje> rpnx-phone: ubuntu touch is now ubports
[17:35] <lotuspsychje> !ubports | rpnx-phone
[17:36] <lotuspsychje> rpnx-phone: canonical is planning a new cloud phone in the future also
[17:37] <rpnx-phone> Is there any non-discontinued device that's supported?
[17:37] <quba> alkisg any idea why ubuntu deletes old packages from the repos? I can think of several situations where I'd like to download archives. CI is one of them; I have no control on the kernel there, yet I'd like to build my module and insert it there.
[17:39] <lotuspsychje> rpnx-phone: check ubports website to see all supported devices
[17:39] <alkisg> quba: archives are mirrored all over the world. The universities and companies that mirror them wouldn't want to waste space just for the use case you mention. Also, the apt lists would get huge and unmanagable at the user level
[17:39] <alkisg> quba: it's very good (and enough) that canonical keeps them in launchpad
[17:40] <alkisg> quba: if you really want to automate the "download old debs from launchpad" process, you'll just need a bit of html-scraping
[17:40] <alkisg> We really should NOT have these in apt lists
[17:40] <quba> It seems so, right? I cannot see a craft-able URL for those packages in launchpad
[17:42] <alkisg> quba: you can start with this one, it's craft-able: https://launchpad.net/ubuntu/+source/linux-gke/5.4.0-1063.66 => then, html-scrape and follow it from there
[17:42] <alkisg> quba: there's also this one, if it suits you better: https://launchpad.net/ubuntu/+source/linux-gke/+publishinghistory
[17:44] <quba> I think I'll have to scrape this https://launchpad.net/ubuntu/focal/amd64/linux-headers-5.4.0-1054-gke/5.4.0-1054.57  but that complicates my CI workflow a lot :/
[17:45] <quba> If someone has a better idea, I'm all ears. And alkisg thank you very much for your help already.
[19:12] <jailbreak> how can I check my external IP address with a command in bash? I'm connected to a VPN and "curl icanhazip.com" says connection refuses so guess the VPN is blocking it/they're blocking them VPN.
[19:12] <jailbreak> refused*
[19:12] <jailbreak> the*
[19:12] <jailbreak> sorry can't type
[19:14] <sarnold> https://www.google.com/search?channel=fs&client=ubuntu&q=whatsmyip ?
[19:14] <jailbreak> sarnold: yeah... no
[19:15] <jailbreak> this works: curl https://ipinfo.io/ip but it outputs below/front, not like icanhazip
[19:24] <oerheks> external ip and vpn, funny question
[19:26] <raymondillo> Hi all been a few years since I was on here. Forgotten all the commands. :)
[19:27] <leftyfb> jailbreak: curl checkip.amazonaws.com
[19:29] <Ravage> legacy v4 only is a bit of a bummer for an IP check :)
[19:47] <boblamont> can anyone help? I have a formmail script, but I can't get it to work. It displays, I can fill it out, but it doesn't do anything but refresh the page when I click send.
[19:50] <ahasenack> assuming it's a web form, check the apache error log in /var/log/apache2/
[19:50] <leftyfb> boblamont: also mail.log
[19:50] <ahasenack> and /var/log/syslog might also help, as well as /var/log/mail.log
[19:50] <ahasenack> yep
[19:50] <leftyfb> boblamont: also, the log for whatever MTA you are using
[19:50] <ahasenack> depending on how far the script got
[19:51] <leftyfb> (postifx), (ssmpt), etc
[19:51] <mahmoud_> Hello
[19:51] <mahmoud_> Anyone there from Barcelona
[19:52] <leftyfb> mahmoud_: please ask your ubuntu support question. It shouldn't matter where people are from
[19:53] <mahmoud_> Actually I am curious about the switching in Barcelona government from Windows to Linux and open source, are there any signs in schools and offices.
[19:54] <leftyfb> mahmoud_: you probably want #ubuntu-offtopic or #ubuntu-discuss then
[20:04] <boblamont> I checked sys.log, I don't have a mail log, and I can't get into the apache2 directory
[20:05] <leftyfb> boblamont: is this a VPS or shared hosting?
[20:06] <boblamont> vps
[20:06] <leftyfb> boblamont: since you have limited access to your machine and what it does, you'll need to contact your VPS provider for support
[20:06] <boblamont> the forms have worked for years, I downloaded the directory, updated them, reuploaded them and now they don't
[20:07] <jhutchins> Maybe he could just try sudo.
[20:07] <boblamont> I did try sudo to get into the apache directory
[20:08] <boblamont> at first, the owner/group were wrong, so I fixed that, then I tried to set the right permissions, but maybe I have them wrong
[20:09] <jhutchins> boblamont: What were they and what did you change them to?
[20:09] <jhutchins> boblamont: Chances are there was a good reason for the way they were set by default.
[20:10] <boblamont> I uploaded via Filezilla, which always sets them to the non-root user, so I had to change them to www-data. That happens whenever I upload web files.
[20:17] <boblamont> they should be www-data, right>
[20:17] <boblamont> ?
[20:21] <boblamont> everybody got so quiet
[20:21] <sarnold> I strongly dislike the debian policy of having the web server process own the files, I think that's very poor decision
[20:22] <leftyfb> boblamont: you probably want #ubuntu-server to better fit your environment
[20:23] <boblamont> leftyfb: that's intimidating. I'm dumb enough around here.... the server people will make mince meat of me
[20:30] <boblamont> it has to be ownership and or permissions.... it always is
[20:32] <alkisg> boblamont: you can `ssh www-data@server` instead of `ssh user@server` if you want to transfer files directly with the correct owner
[20:33] <alkisg> (or scp or filezilla or whatever you use)
[20:34] <boblamont> alkisg: Well, I haven't had any trouble changing it after the fact, so it isn't a big deal
[20:34] <alkisg> Indeed it's not
[20:35] <boblamont> alkisg: I do appreciate the tip
[20:36] <rfm> boblamont, the files need to have group www-data, doesn't really matter what the user is.  What I did was put the user used for uploading in www-data group, then chgrp all the files to www-data, and make all the directories group www-data, and make the directories setgid  (chmod g+s /directory/path).  Then all uploaded files get group www-data.
[20:38] <boblamont> rfm: thank you
[20:39] <boblamont> what about permissions?
[20:40] <rfm> boblamont, g+rw (or g+rwx for directories)
[20:40] <boblamont> can I have that as  a number?
[20:44] <rfm> boblamont, I'd have to look it up in the chmod man page, which you could do as well as me.
[20:45] <boblamont> rfm: doesn't matter, I did it the way you gave it to me and it took it
[20:45] <boblamont> form still not working
[20:46] <boblamont> it's supposed to say "Donation Submitted" at the top after it refreshes if succcessful, and it doesn't. I also doesn't write to a file it is supposed to.
[20:51] <plujon> I am using Ubuntu 20.04 LTS and Wayland.  Using Vivaldi, my desktop sometimes completely.  I can ssh into the machine and see that vivaldi is using 100% CPU and gnome-shell is growing in memory (e.g., 10GB+).  Is the bug in vivaldi, gnome-shell, wayland, or something else..?
[20:51] <rfm> boblamont, writing to a file sounds like some script is involved.  been a long long time since I did CGI in Apache but maybe the script needs to be executable? (chmod g+x)
[20:53] <sarnold> plujon: if you're running gnome, try disabling gnome extensions, or maybe create a brand new user account for testintg
[20:53] <boblamont> still not working
[20:55] <plujon> sarnold: Thanks.  I should have said "freezes completely..."
[20:55] <plujon> gnome-extensions list # desktop-icons@csoriano ubuntu-appindicators@ubuntu.com ubuntu-dock@ubuntu.com
[20:56] <sarnold> plujon: hehe, I figured that was likely the missing words :)
[20:57] <rfm> boblamont, time to start looking at the apache logs, can't tell from here what could be wrong.
[20:58] <boblamont> rfm: it wouldn't let me into the directory, when I tried sudo, it said sudo cd was unknown but without sudo I get permission denied
[20:59]  * plujon ran: for i in ubuntu-dock@ubuntu.com ubuntu-appindicators@ubuntu.com desktop-icons@csoriano; do gnome-extensions disable $i; done
[20:59] <plujon> gnome-extensions list # still shows the same three extensions, but the sidebar on the desktop is now gone, as is the CPU monitor from the top right.
[20:59] <plujon> I'll see if the vivaldi induced problem persists.  If it does, I'll disappear from this chat...
[21:01] <rfm> boblamont, "sudo cd" can't work (sudo starts a shell to run the cd, the shell does the cd, then exits with nothing else to do.  "sudo -i" to get a root shell may be easier for you
[21:03] <edlou> ubrbu
[21:04] <boblamont> I don't think I see anything relevant in the error log
[21:07] <boblamont> aside from minor changes to the form fields, these exact same forms worked fine last year
[21:08] <sarnold> languages change, a lot of stuff that worked in php5 doesn't work in php7
[21:11] <boblamont> sarnold: that was the one possibility that I dreaded. I do have a different php now.
[21:13] <boblamont> But one more easier possibility. What should the permissions be on the files the script writes to? Based on the command history, I set them at 666. Does that sound right (if ominous)?
[21:14] <jhutchins> boblamont: What are you actually building that's supposed to use this script?
[21:14] <sarnold> that lets anyone else on the system scribble all over those files, too. that's probably a bad idea, unless this system exists solely for that purpose, and nothing else is ever done on this machine
[21:15] <boblamont> sarnold: nothing else is ever doe on the machine
[21:15] <jhutchins> php email on apache is like the #1 candidate for zombie spam generators.
[21:15] <sarnold> yeah
[21:15] <boblamont> jhutchins: it is a donation form for an annual fundraiser
[21:15] <sarnold> "formmail" things especially
[21:17] <boblamont> I have used it for years, it has not been hijacked or abused so far. I understand it isn't the safest thing in the world, but I need it to do the job I need it to do, and I need it now. Only a few weeks to go.
[21:17] <leftyfb> boblamont: if you don't know how to access logs, how do you know it hasn't been abused already?
[21:18] <boblamont> leftyfb: I suppose I don't. I don't know.
[21:19] <leftyfb> boblamont: I take it you are a web developer and not a sysadmin? Do you have any sysadmins helping to manage this server?
[21:19] <boblamont> I am on my own here.
[21:19] <boblamont> It has worked fine for years.
[21:20] <leftyfb> boblamont: I would highly recommend getting a linux admin involved. "worked fine for year" does not mean it's built properly or safe from abuse or destruction
[21:20] <boblamont> I have no way of getting anyone to help.
[21:21] <leftyfb> boblamont: what is this site for exactly?
[21:21] <boblamont> a college radio station
[21:22] <leftyfb> boblamont: and out of your entire college, not a single student or professor has rudimentary linux admin skills and the interest to help out?
[21:22] <boblamont> it doesn't work that way, it is a student group, it isn't integrated into the university itself
[21:23] <gordonjcp> boblamont: this sounds horrific and you need to fix it properly
[21:23] <leftyfb> ^
[21:24] <gordonjcp> boblamont: you know the correlations between risk and impact right?
[21:24] <hacks> my mom is trying to "extract here" a multipart rar, but when she selects the '.rar' it's only extracting a 250MB file. If she multi-selects all of the rar parts, extract here extracts each part to its own file. what gives?
[21:25] <hacks> the whole thing should be about 2.5gb as a single file
[21:26] <jhutchins> boblamont: If I understand that you had the mail script working, upgraded including PHP, and now it doesn't, then the most practical solution is to rebuild it from scratch following a current guide.
[21:26] <jhutchins> boblamont: Trying to kludge an old configuration to work with new PHP is only going to bring you pain.
[21:27] <jhutchins> boblamont: PHP was frozen for a long time to accomodate historical sites, but they finally had to break things to move forward.
[21:27] <boblamont> yes, it is horrific. thanjhutchins: it wasn't my design, it was the Dagon Design Secure Form Mail script. Unfortunately, Dagon Design's website no longer appears to be live.
[21:27] <leftyfb> boblamont: then you immediately stop using that product
[21:28] <leftyfb> boblamont: also, as I'm looking back on logs, you're running Ubuntu 18.04 and tried to show-horn php8.1 onto it. Don't do this
[21:28] <tomreyn> hacks: rar is a proprietary compression format, there is limited support to it. if you have control over the compression format, use tar+xz or 7zip instead.
[21:29] <boblamont> I didn't put it on intentionally.
[21:29] <tomreyn> hacks: for the current file, you may have better luck using the CLI
[21:29] <boblamont> I just wanted 7.4
[21:29] <leftyfb> boblamont: step #1 rebuild with Ubuntu 20.04, Step #2, find another proper web email form      Step #0, get a linux admin to do all of the above
[21:29] <hacks> thanks! I'll do that
[21:29] <jhutchins> leftyfb: You don't live very close to the real world at all, do you?
[21:30] <boblamont> leftyfb: isn't there at least a slight possibility that updating to 20.04 will screw even more stuff up?
[21:30] <leftyfb> jhutchins: I find it very hard to believe they can't find a single student in a college able (even with limited experience) and able to setup a website properly
[21:31] <leftyfb> boblamont: I didn't say update to 20.04. I said rebuild
[21:31] <leftyfb> jhutchins: sorry, able and willing*
[21:31] <jhutchins> leftyfb: Perhaps if you spent a couple of years working in an academic environment you'd have some insight.
[21:32] <leftyfb> jhutchins: you might be right there. I've only spend some times in the dorms. I never attended college
[21:33] <leftyfb> boblamont: either way, you have an unsupportable mess on your hands
[21:34] <sarnold> boblamont: maybe it's worth putting together a quick google forms thing? users see a simple webpage, you get a spreadsheet
[21:34] <boblamont> sarnold: I can look into it.
[21:35] <boblamont> Is there a way to roll back my php so that it is what it used to be?
[21:35] <tomreyn> boblamont: and if you're just hosting a website there, managed web hosting will be the better option than a virtual server - unless you actually *want* to learn server administration (my guess so far would be no)
[21:36] <tomreyn> there's no downgrade support, no. if a migration fails you'd restore backups.
[21:37] <tomreyn> if you're using oktay surys PHP PPA, you can possible move between php versions, though.
[21:38] <Xeonvl> Ravage I don't think the HWE worked. I never see the CPUs going for higher clock speeds, it almost feels like they show up as 2100mhz by default in /proc/cpuinfo, then when they are used they report their real freq (around 800)
[21:38] <leftyfb> tomreyn: that is what got them into this mess
[21:38] <boblamont> ^
[21:38] <Xeonvl> its odd, according to the ubuntu website 20.04 should support the cpu just fine
[21:38] <Xeonvl> im gonna try 22.04 tomorrow but im starting to worry
[21:39] <tomreyn> leftyfb / boblamont: i see. well, managing that isn't easier, rather more difficult, i'd say.
[21:39] <gordonjcp> boblamont: this sounds horrific and you need to pay someone to fix it properly before it really bites you on the arse
[21:39] <gordonjcp> boblamont: and this is a when not an if
[21:40] <leftyfb> if it isn't already contributing to spam as we speak
[21:40] <boblamont> but I installed 7.4 from the ppa and it coexists with 8 whitch it autoupdated to. I was able to have Wordpress use 7.4. Why can't I make the form use an older version of php?
[21:41] <leftyfb> boblamont: ask the defunct form developer
[21:41] <webchat62> Hi. Is there anyone who can help me solve my sound card problems?
[21:41] <tomreyn> i think the 'google forms' suggesiton was a good one.
[21:43] <tomreyn> webchat62: install package alsa-utils, then run    sudo alsa-info   and have it post the output online, and post the internet address here, together with a description of the problem.
[21:43] <leftyfb> boblamont: even if you go the completely insecure, horrible route of not rebuilding your system from the ground up, continuing with a defunct web form applicaton is not an option
[21:44] <jhutchins> boblamont: One notes that full site backups for a public web site are a requirement, not an option, and reconfiguring a financial web site without a full back up is ... let us say ill-advised.
[21:44] <boblamont> leftyfb: so I'm stuck with php 8, and need to use a form script that works with 8?
[21:45] <boblamont> jhutchins: well, it isn't financial, no financial information is included on the form. It's just a pledge sheet.
[21:45] <jhutchins> boblamont: Involves money.
[21:45] <leftyfb> boblamont: rebuild from scratch. Ubuntu 20.4, php7.4, and go with the google web form. And get a linux admin to help you
[21:46] <webchat62> tomreyn I was watching a course and suddenly my laptop rebooted and after that, just dummy output showed to me and there is no sound. http://alsa-project.org/db/?f=c1f8704d8f15e0d3726736c30162c2cdfec6d0ee
[21:46] <boblamont> leftyfb: I don't think I have time to rebuild from scratch. I could do it over the summer, but I can't take it down now.
[21:47] <leftyfb> boblamont: you do not have a choice. Not unless you bring on someone that knows what they are doing
[21:48] <boblamont> everything else works. just not this form. it seems extreme. best practice or not.
[21:48] <boblamont> For all I know, the form won't work with 7.4, either.
[21:48] <leftyfb> boblamont: removing the form is a given at this point. Just make a page with a link to a google form
[21:49] <leftyfb> boblamont: you cannot use the web form software from a defunct project
[21:49] <boblamont> no, but perhaps I could find something similar that works with php 8
[21:49] <leftyfb> boblamont: google form
[21:49] <tomreyn> webchat62: well, there is an intel audio chipset which is properly detected and looks like it should just work., from what i can tell.
[21:49] <leftyfb> boblamont: otherwise, hire someone that knows what they are doing
[21:49] <scortal> hi
[21:50] <leftyfb> scortal: stop
[21:50] <boblamont> you must be pretty well off with your hire this hire that. not every person or organization has a lot of money, you know.
[21:50] <leftyfb> boblamont: hire != paid
[21:51] <boblamont> well finding volunteers isn't any easier
[21:52] <boblamont> maybe a bit
[21:52] <gordonjcp> boblamont: yes, I'm extremely well off
[21:52] <tomreyn> webchat62: when you run    pavucontrol    from a terminal, does this help managing the intel sound card?
[21:52] <webchat62> tomreyn unfortunately, it not working, as you can see from the output of `aplay` there is just HDMI output, not analog and I can't hear anything. (I also purged alsa and reinstall and it does not work)
[21:52] <gordonjcp> boblamont: do you want to know why?
[21:52] <gordonjcp> boblamont: or, perhaps you've already guessed
[21:52] <boblamont> gordonjcp: I have a strong suspicion you are you to tell me a most condescending way.
[21:53] <gordonjcp> boblamont: not necessarily
[21:53] <webchat62> tomreyn I also have this links: `aplay -l` output: https://pastebin.ubuntu.com/p/X3M23w6b4d/
[21:53] <webchat62> `pacmd list-cards` output: https://pastebin.ubuntu.com/p/CGss74Dt4n/
[21:53] <webchat62> `pacmd list-sinks` output: https://pastebin.ubuntu.com/p/ntX3wWDKN2/
[21:53] <gordonjcp> boblamont: I'm the person you get to stitch up the wounds when this sort of thing bites you on the arse
[21:53] <webchat62> `pulseaudio -vvv` output: https://pastebin.ubuntu.com/p/JN2vz4Pq8Z/
[21:53] <gordonjcp> boblamont: and I charge a *lot* of money for that
[21:53] <tomreyn> webchat62: hmm, right, just hdmi outputs
[21:54] <gordonjcp> boblamont: although I'd recommend paying someone before it gets to that stage; fixing the problem before it's a problem is practically free
[21:55] <tomreyn> webchat62:can you check whether you have pending updates? i assume you're not running the latest kernel there
[21:55] <leftyfb> boblamont: I don't try to do my own taxes or run for office. Do you know why? Because I am not qualified, nor have interest in becoming qualified. If I attempt to do my own taxes, there are consequences and/or some things I just won't be able to accomplish. Because I am not qualified and I prefer them to be done correctly. In your case, you need to get someone who is qualified to accomplish your goal or spend the time becoming qualified. But it
[21:55] <leftyfb> doesn't sound like that is something you are interested in
[21:55] <boblamont> I'm sorry I've bothered everyone.
[21:55] <webchat62> tomreyn How I can check for that? I run two command `apt-get upgrade` and `apt-get dist-upgrade`
[21:56] <gordonjcp> boblamont: what exactly is the state of the server just now, and what are you trying to do?
[21:56] <boblamont> gordonjcp: what do you mean?
[21:56] <tomreyn> webchat62: sudo apt update    then   sudo apt dist-upgrade
[21:56] <tomreyn> webchat62: make sure there are no warnings or errors reported also
[21:57] <gordonjcp> boblamont: well, what are you trying to run, and what are you trying to run it *on*, and what is preventing you from doing so?
[21:57] <i-garrison> webchat62: anything you remember your system was doing around 'sudden reboot' ?
[21:58] <webchat62> tomreyn I did that and there are no errors and seems it's updated.
[21:58] <tomreyn> webchat62: to list currently installed kernel images, run    apt list --installed linux-image*    (the newer one may already be installed, but maybe it was not booted to)
[21:58] <boblamont> the state of it is that everything works. Once a year, I do minor updates to the form. This time, I'm not getting them to work. It sometimes is because the permissions or ownership is wrong, but it seems not to be the case, so it has been decided it is because my active version of php has changed. So as far as I know, what I'm trying to do is simply have these damn forms ready and working.
[21:58] <gordonjcp> boblamont: okay
[21:59] <gordonjcp> boblamont: so this sounds not entirely related to #ubuntu support, so we should move it over to #ubuntu-offtopic
[21:59] <webchat62> i-garrison I was watching a video
[21:59] <boblamont> So it seems like I just need a new form
[21:59] <gordonjcp> perhaps
[21:59] <gordonjcp> but let's do this in #u-ot
[21:59] <boblamont> ok, I'll go to off-topic
[21:59] <leftyfb> gordonjcp: FYI, the form they are trying to use is by a developer who's webpage is now gone
[22:00] <webchat62> tomreyn Is this currect? https://pastebin.ubuntu.com/p/5X3Hb2V375/
[22:00] <gordonjcp> leftyfb: you know how Django 4 is out?
[22:00] <gordonjcp> leftyfb: one of my old Django 0.9 projects came back to me a few months ago, needing migrated to newer hosting
[22:01] <boblamont> leftyfb: it is a widely known and used script. I would be rather surprised if nobody has modified it for later php versions
[22:02] <plujon> sarnold: my desktop still froze
[22:02] <bobdobbs> Hi all. I'm trying to install ubuntu virtually using virtualbox. I'm following this tutorial: https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox . I've created a virtual machine and configured it to take a linux install. However, when I start the virtual machine, I get a message telling me that there is nothing bootable. I'm expecting to be prompted for the location of installable media, but the
[22:02] <bobdobbs> prompt doesn't happen.
[22:02] <plujon> The problem seems to be triggered by scrolling down in Vivaldi.
[22:02] <bobdobbs> The prompt I'm expecting is described at the first step here: https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox#3-install-your-image
[22:03] <bobdobbs> I have installed OS's using virtualbox before. But I can't remember the trick to begin the actual OS installation after setting up the VM.
[22:03] <tomreyn> webchat62: yes, you actually have the latest installed. 5.13.0.30.33~20.04.17 - and that's apparently what's running, too. so it has to be something else. maybe a hardware or firmware issue. you could look into how to reset the nvram on this computer.
[22:06] <tomreyn> webchat62: lenovo support for this laptop is available here https://pcsupport.lenovo.com/uk/en/products/laptops-and-netbooks/500-series/520-15ikb-type-81bf/81bf
[22:09] <plujon> Brave does not seem to suffer the same problem.  Hmm.
[22:12] <tomreyn> bobdobbs: this really sounds like you're looking for help with configuring virtualbox on some other (?) OS.
[22:13] <sarnold> plujon: dang :(
[22:13] <plujon> sarnold: After my desktop freezes, I can kill vivaldi via ssh from another machine, but the desktop remains frozen.  After I kill gnome-session, I can then log back in.
[22:13] <tomreyn> bobdobbs: if you're running virtualbox on ubuntu, to boot a guest system, you'd "insert" (load, from file) the installers' ISO file into the (virtual) cd-rom drive and set the right boot mode (defaults to bios, uefi is available).
[22:14] <bobdobbs> tomreyn: not so much with configuring it. Just figuring out how to get it to install an os
[22:14] <plujon> I can reproduce the problem at will.  It seems like gnome-session should be resilient in the face of a misbehaving app, but I don't know much about how windowing on Linux works.
[22:14] <plujon> I kinda suspect Vivaldi goes into an infinite loop while holding some resource that gnome-session also uses.
[22:15] <tomreyn> bobdobbs: there is documentation by virtualbox, which is not bad, and there is a self-support channel on the irc.oftc.net IRC network. in #vbox
[22:16] <bobdobbs> tomreyn: I've got an iso sitting on my hard drive. When the VM I've configured is running, I can't see a way to load it.
[22:16] <tomreyn> iso needs to be on a cd-rom drive, not a hard drive
[22:17] <bobdobbs> tomreyn: are you certain? I'm sure I remember installing OS's on virtualbox using iso files from my hard-drive
[22:17] <bobdobbs> tomreyn: it's been a whlie though. I could be wrong.
[22:17] <tomreyn> crontroller: IDE -> storage attachment: optical drive
[22:18] <tomreyn> bobdobbs: oh, i misunderstood what you said. yes, you can load the iso file from a file system on your physical hard drive
[22:18] <tomreyn> bobdobbs: anyways, this really is a matter of virtualbox support
[22:19] <bobdobbs> tomreyn: ah! thanks. I think I see what you mean.
[22:19] <bobdobbs> tomreyn: I know I'm being a bit cheeky posting here. But I figured that this task would be something that many people here are very au fait wth
[22:20] <tomreyn> many people here are probably experienced with binding their shoes, too
[22:21] <tomreyn> (but please don't ask your shoe binding questions here)
[22:28] <alquimistadeacer> hola
[22:29] <alquimistadeacer> alguien podria ayudarme ya instale por la terminar el servipack de virtualbox para que me reconozca los puertos usb
[22:29] <alquimistadeacer> pero no funciona
[22:29] <tomreyn> !es | alquimistadeacer
[22:29] <alquimistadeacer> ok gracias/ thanks
[22:30] <tomreyn> de nada / you're welcome
[22:31] <webchat62> tomreyn resetting not make it work :(( it make me crazy, I tried almost all links from google I think it is a software problem. `pualseaudio -vvv` has an error
[22:32] <webchat62> the error come in last two lines: https://pastebin.ubuntu.com/p/JN2vz4Pq8Z/
[22:44] <jhutchins> webchat62: Not necessarily an error.
[22:44] <jhutchins> webchat62: Is pulseaudio running?
[22:45] <webchat62> Yes, it seems to be running
[22:46] <jhutchins> webchat62: So it can't start again if it's alredy started, so not really an error.
[22:47] <oingoboingo> running into a strange issue. when i plug in my USB DAC into my front panel USB3, all my USB devices power off. don't have the same issue with backpanel USB2. there are warnings in dmesg after I plug it in on USB2.
[22:48] <leftyfb> oingoboingo: would a keyboard be one of the devices that stops working?
[22:48] <jhutchins> oingoboingo: Possibly a physical problem with the front port?  Is there any other device you can try, or maybe just a cable?
[22:48] <oingoboingo> leftyfb: both keyboard and mouse
[22:48] <jhutchins> oingoboingo: If you unplug the device does the system recover?
[22:49] <leftyfb> oingoboingo: perfect, boot into your BIOS and perform the same action. If your keyboard stops working there, the issue is with hardware/power and not software or the OS
[22:49] <oingoboingo> jhutchins: no i have to reboot
[22:49] <oingoboingo> thx ill try that
[22:53] <tomreyn> webchat62 / webchat6282: did it reboot again?
[22:53] <webchat6282> tomreyn yes
[22:54] <tomreyn> webchat62 / webchat6282: so... by itself?
[22:54] <webchat6282> No, I rebooted my self
[22:55] <tomreyn> webchat6282: oh, ok. well, you could look at or post your logs, you cuold try an earlier kernel image from the grub menu, if still installed, or a live iso.
[22:56] <jhutchins> webchat6282: I suppose you could try powering off, plugging it in, and booting with it connected.
[22:57] <webchat6282> jhutchins It always plugged in
[22:58] <webchat6282> so I must plugged it out and power off and on?
[22:58] <tomreyn> journalctl -b    shoould all logs since system booted. to see logs around a specific time (like when your computer rebooted unexpectedly), use --since= and --until=    - to list when the system rebooted, use --list-boots
[22:59] <tomreyn> shoould -> shows
[23:02] <webchat62> tomreyn: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory
[23:02] <webchat62> I found it in logs
[23:03] <webchat62> It is normal that istead of writing my username it writed 'nonexistent'?
[23:07] <tomreyn> webchat62: this might be related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939563
[23:07] <tomreyn> but i'm not sure that's related to your main issue
[23:13] <jhutchins> webchat6282: Just ignore me, I got my streams crossed.
[23:25] <sybariten>        EriC^  uuuhh i think i done goofed up