Ramen_LadyHKG

joined 1 year ago
[–] [email protected] 2 points 7 months ago (1 children)

Real exploiters go bug hunting for zero days. The XZ thing was a humorous clown dancing a jig in a minefield. The clown spent 5 years on the sideline, then stepped on a mine immediately upon entry.

I like your last statement.

I agree that users should take responsibility for their system, I myself learned to fully encrypt my Linux with luks2 and things about secure boot, tpm2 or so.

That's why I'm making assumption of the need for non-tech savvy users, like most Windows users if they come to Linux world.

 

I understand that no Operating System is 100% safe. Although this backdoor is likely only affects certain Linux desktop users, particularly those running unstable Debian or testing builds of Fedora (like versions 40 or 41), **Could this be a sign that antivirus software should be more widely used on Linux desktops? ** ( I know this time is a zero-day attack)

What if, malicious code like this isn't discovered until after it's released to the public? For example, imagine it was included in the initial release of Fedora 40 in April. What if other malware is already widespread and affects more than just SSH, unlike this specific case?

My point is,

  • Many people believe that Linux desktops don't require antivirus software.
  • Antivirus can at least stop malware once it's discovered.
  • Open-source software is protected by many parties, but a backdoor like this one, which reportedly took 2 years to plan and execute, raises my concern about being more cautious when choosing project code maintainers.
  • Linux desktops will likely be targeted by more attacks as they become more popular.

IMO, antivirus does not save stupid people(who blindly disable antivirus // grant root permission) but it does save some lazy people.

OS rely heavily on users practicing caution and up-to-date(both knowledge and the system). While many users don't follow tech news, they could unknowingly be running (this/any) malware without ever knowing. They might also neglect system updates, despite recommendations from distro maintainers.

This is where antivirus software can be useful. In such cases, users might be somewhat protected once the backdoor signature is added to the antivirus database.

Thankfully, the Linux community and Andres Freund responded quickly to this incident.

[–] [email protected] 1 points 11 months ago

What the hell is going on????

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

Idle:

Screenshot_20231201_084852}

Run full load for 1min:

Screenshot_20231201_085653}

[–] [email protected] 1 points 11 months ago (1 children)

Certain laptop CPUs are not adequately supported on linux.

This is really sad. I found almost all **Intel Kaby Lake R ** processor suffer this problem.

Intel Core i7-8550U cpu frequency drops on high loads on Ubuntu 20.04 | AskUbuntu

[–] [email protected] 2 points 11 months ago

opped working, and I couldn’t make it permanent. I would think you’d have to understand a bit of kernel development to be able to mitigate this is

Thank you for your share! I've seen those links before, no luck.

I think modifying MSR is what this script does. Throttled / Erpalma - Github

 

It's a laptop from Microsoft, Surface Book 2. I run Fedora Linux and Arch Linux, both of them have this issue. Either vanilla kernel or surface kernel has the same problem.

I've tried most solution: cpupower tlp thermald throttled power-profiles-daemon intel-pstate s-tui turbostat disable SecureBoot I still cannot get it working.

The CPU is not hot, neither power throttling. I can get it up to 4.2GHz, 35W package on Windows with Throttlestop These digits are What I've never seen on Linux.

It always stays below 2.1GHz, 1.3GHz when all core are stressed, always below 55C. I've made sure, TurboBoost is on.

I've opened these post looking for similar experience, not many responds.

I cannot get Turbo Boost working on Linux for my Intel Kaby Lake R processor (i7-8650u), always below 10W, 2.1GHz. Current throttling. #Surface #Laptop

techpowerup

Book2 (15") - No CPU Turbo Boost (always below 2.0GHz)

What's the maximum CPU frequency you can get on Linux with your Surface?

This is the performance I got on Windows

Surface Book 2 Users, Please post your Cinebench R23 Score here. For Compare and verify Win11 impact | Reddit r/Surface

[–] [email protected] 1 points 1 year ago

I need to find a way to let pacman check free space before update as for now, I will use /tmp as cache

[–] [email protected] 1 points 1 year ago

Error I got libxxx.so is not an ELF file xxxxx file is already exist, cannot process the update

[–] [email protected] 1 points 1 year ago (1 children)

Last night, I run pacman -Syu update and let it run overnight.

it failed when I woke up, I didn't notice it and restart for newer kernel. Then the WM (sddm) fxxked up. I try to reboot it into mutli-user mode and reinstall kde plasma. it shows bunch of corrupted libraries errors LOL.

I took some time on internet looking for solution, finally found one. Reinstall all dependencies + pacman update cache in ram. https://www.reddit.com/.../recover_system_from_crash.../

pacman -Qqdn > pkglist_deps.txt

pacman --asdeps -S $(< pkglist_deps.txt)


pacman --cachedir /tmp/pacmancache -Syu

 

I guess 100GB isn't enough for me

#flatpak #btrfs #cuda #swap #snapper #pacman #systemd #dumpcore #wine #lutris #windows #waydroid

I've cleaned all caches (pacman, firefox...etc), still takes up 83GB. Summary:

  • My swap is 16GB is the biggest file on this partition.(I needed that)
    
  • Flatpak repo is ridiculously fat, I've not installed too much apps from it. But OBS alone is gonna take 1~2GB due to sandboxed video codec and nvidia driver.
  • Waydroid takes some spaces but not too crazy
  • I also have installed full CUDA toolkit for AI purposes. (That's another 6GB, ouch)
  • Lutris: it created a new container for each game if you don't manually configure it. Each wineprefix takes up to 700MB~2GB. (I've already deleted couple of them in the screenshot)
  • all snapshots were deleted due to no space to update

btrfs assistant duf Lutris Game Directory https://github.com/sysnux/btrfs-snapshots-diff

[–] [email protected] 1 points 1 year ago (1 children)

In the case of laptops with integtrated graphics + nvidia graphics (soldered) (so called “optimus laptops”),

my case is In the case of laptops with integtrated graphics + nvidia graphics (soldered) (so called “optimus laptops”)

I thought optimus laptops is old kind of laptop. Newer laptop, like mine (Surface Book 2) use another thing call Prime offload might be same thing? IDK

when I want to run apps with nvidia gpu, I will have to use environment variables, ex __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia osu

 

If you shutdown/reboot without closing the running process (any wine process MOTT) first

It will halt at here for quite awhile, sometimes stuck there forever.

On Windows, there is a button Force Shutdown.

Is there a similar thing or I can config it to happen. ( I'm okay with the default behavior for waiting but sometimes I just want to skip it)

Thanks a lot

 

I have this laptop (Surface Book 2), a Intel iGPU and Nvidia dGPU.

Whenever I need to update the Nvidia driver/ hotplug the dGPU. I need to first systemctl stop sddm.

I thought the WM/DE only use my iGPU. (sorry for bringing Win logic here)

I'm using Arch & Fedora. Plasma/Gnome+Wayland.