Re: [gentoo-user] New profiles 23.0
Hi folks, my current profile is default/linux/amd64/17.1, but I already migrated to merged-usr some while ago (I know, that is not supported, really). Any advice how to migrate to 23.0? Cheers, Björn
Re: [gentoo-user] Don't be like stupid me!
On 2/11/24 03:14:49, William Kenworthy wrote: [...] It occurred to me fairly quickly after that press of RET that I could have done well with a COW snapshot facility, something which has been discussed at length on another recent thread. I even have LVM on my machine for its RAID capabilities. But I've never bothered before. I mean "I'm too careful", amn't I? ;-( At least I do a weekly backup, though. [...] No, you don't need a snapshot system - you need a proper backup system that stores the proper metadata. When I was experimenting with snapshots (btrfs and moosefs) at different times I lost everything a few times with filesystem corruption which meant I lost the snapshots too. Snapshots are NOT safe backups - treat them as a convenient copy ... Snapshots are as reliable as the underlying file system. Here at CeBiTec we use snapshots on several PB CephFS and ZFS with great success. And yes, I completely agree with Alan, snapshots would have saved his day as they provide excellent and cost efficient protection against pilot errors. Our users restore lost data from snapshots themselves in seconds, while it usually takes several hours to restore data from tape. Snapshots and tape backups complement each other perfectly and both strategies provide means of protection the other lacks. Cheers Björn
Re: [gentoo-user] can't start X as user
Hi Philip, My user is in 'tty wheel usb input video' (among others). that shoud suffice. You need to use '-keeptty' for xinit and preselect a TTY. For myself I have put this into my bashrc and it works quite well: xinit () { local VT; local DISPLAY; VT=vt$(tty | sed 's/.*tty//'); DISPLAY=:$(pgrep -cf 'X.*keeptty.*vt'); /usr/bin/xinit -- $DISPLAY -keeptty -wr $VT } Cheers Björn
Re: [gentoo-user] need help with amdgpu driver
Klaus, [ 0.760009] amdgpu :0d:00.0: amdgpu: RAS: optional ras ta ucode is not available [ 0.767012] amdgpu :0d:00.0: amdgpu: RAP: optional rap ta ucode is not available [ 0.767016] amdgpu :0d:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available It seems I made a step forward and I will try to get get X11 up next. yep, that is normal. The firmware for encrypted display connection is not released yet. Cheers, Björn
Re: [gentoo-user] need help with amdgpu driver
Hi Klaus, CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam19h.bin amdgpu/psp_13_0_5_toc.bin" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" [...] What firmware blobs of linux-firmware has to be installed to support the gpu of a ryzen-7900X? CONFIG_EXTRA_FIRMWARE=? I do not use initrd nor initramfs and all neccessary drivers are not installed as modules but compiled into the kernel. like you, I also use amdgpu hardcompiled into the kernel. It seems to be safe to include _all_ blobs in /lib/firmware/amdgpu. Then you can boot that kernel and check which blobs are actually necessary just by grepping though dmesg. Then you can boil down CONFIG_EXTRA_FIRMWARE to that set. This worked with several different AMD GPUs, RX 7900 included, but I never tried an integrated GPU/APU. Cheers Björn
Re: [gentoo-user] Any way to run multiple commands from single script in parallel?
Hello Joost, Is there a tool/method to execute multiple lines/commands simultaneously? Like having 3 or 4 run together and when 1 is finished, it will grab the next one in the list? probably, GNU Parallel is what you are looking for: https://www.gnu.org/software/parallel/parallel.html#examples The tool can handle most variants of batch processing scenarios without the steep learning curve of fully fledged (clustered) job schedulers. Cheers, Björn
Re: [gentoo-user] Re: Root can't write to files owned by others?
Hello Rainer, Big thanks to all kind people making suggestions. But up to now nothing helped. on my rig I can fully reproduce Nikos' statement. Additionally, on 5.15.16 "fs.protected_regular" defaults to "0" while on 5.15.27 it defaults to "1". Cheers, Björn
[gentoo-user] Rootless X without elogind
Hi folks, on my laptops and other private computers I normally just login on the virtual console and "startx" or "xinit" -- no fancy stuff like display managers. Recently I switched to rootless X (finally, after gentoo dropped "suid" by default on Xorg long ago). But I did not want to bloat my system with elogind (not to mention systemd), so I came up with a much less complex solution: I created a small PAM module "pam_tty.so", which simply chowns the corresponding /dev/ttyN on a successful login on a virtual console. All other privileges can be granted by Unix groups. So yes, rootless X without elogind is possible. pam_tty.so is available on github: https://github.com/bjorn-fischer/pam_tty Any thoughts on this? Cheers, Björn