Re: [gentoo-user] long compiles

2023-09-11 Thread Ramon Fischer
You may also want to take a look at "distcc", with which you can set up compiler farms; this can be even combined with "ccache":     https://wiki.gentoo.org/wiki/Distcc#With_ccache -Ramon On 11/09/2023 23:46, Alan McKinnon wrote: On Mon, Sep 11, 2023 at 11:23 PM Michael wrote: On

Re: [gentoo-user] long compiles

2023-09-11 Thread Ramon Fischer
oogled-chromium: 1:52:16     2022-10-21T17:58:43 >>> www-client/ungoogled-chromium: 9:24:55     2022-12-16T17:47:27 >>> www-client/ungoogled-chromium: 20:56:08     2023-03-20T14:12:02 <<< www-client/ungoogled-chromium: 2s Since I am using "ccache", the comp

Re: [gentoo-user] long compiles

2023-09-11 Thread Ramon Fischer
Hi Alan, just quick and dirty, I am too tired for formalities. :) The following list contains packages, that may be too big for tmpfs and are most probably very time consuming to compile:     $ < /etc/portage/package.env/no_tmpfs.conf     # custom - 20181121 - rfischer: list packages, which

Re: [gentoo-user] Highlight certain packages being upgraded

2023-07-08 Thread Ramon Fischer
Hello Dale, I solved it like this: https://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg186292.html I have reused the configuration file "/etc/portage/package.env/no_tmpfs.conf"[1], which already contains a list of packages, which need hours to compile. -Ramon [1]

Re: [gentoo-user] Joining PDFs and/or jpegs together. Help, please!

2022-11-26 Thread Ramon Fischer
If you use "convert"[1], you should use the parameter "-density" with a decent value. "150" was always good enough for me:     $ convert -density 150 *.png some_document.pdf Also, XSane is capable of creating multipages, while scanning[2]. -Ramon [1] From the package "media-gfx/imagemagick"

Re: [gentoo-user] where is 'mke2fs' ?

2022-11-17 Thread Ramon Fischer
In addition to this, you might also want to take a look at "e-file", which comes from the package "app-portage/pfl" in order to find parent packages of binary files: $ e-file e-file [I] app-portage/pfl     Seen Versions:  2.3 2.4-r4 2.4-r5 3.0-r1 3.0-r2 3.0.1-r2

Re: [gentoo-user] Re: Update to /etc/sudoers disables wheel users!!!

2022-10-27 Thread Ramon Fischer
How about "gvim"?: https://github.com/vim/vim-win32-installer/releases -Ramon On 27/10/2022 09:55, Ramon Fischer wrote: You just invented a new torture method. :D Write down the house rules with standard vim with as less key strokes as possible. Every mistake gives you an elec

Re: [gentoo-user] Re: Update to /etc/sudoers disables wheel users!!!

2022-10-27 Thread Ramon Fischer
You just invented a new torture method. :D Write down the house rules with standard vim with as less key strokes as possible. Every mistake gives you an electric shock. -Ramon On 27/10/2022 05:01, Dale wrote: Ramon Fischer wrote: Do you also use "vim" from time to time? Because

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-27 Thread Ramon Fischer
n 10/26/22 7:27 PM, Ramon Fischer wrote: Sure, you cannot cover everything, but mitigating at least a little bit would be OK or not? :) I don't know.  :-/ It's the proverbial problem of spam / virus filtering and a spam / virus gets through the filters and someone saying "But it's your fau

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Sure, you cannot cover everything, but mitigating at least a little bit would be OK or not? :) -Ramon On 27/10/2022 01:06, Grant Taylor wrote: On 10/26/22 3:48 PM, Ramon Fischer wrote: I have created an issue at their Git repository. Maybe there will be solution for this:     https

Re: [gentoo-user] Re: Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Do you also use "vim" from time to time? Because it is also able to compare two (or more?) files, similiar to "sdiff": $ vi -d file1 file2 or: $ vi file1 :diffthis :vsplit CTRL+w + right arrow key :e file2 :diffthis -Ramon On 27/10/2022 00:44, Dale wrote: I'd like

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
I have created an issue at their Git repository. Maybe there will be solution for this: https://github.com/sudo-project/sudo/issues/190 -Ramon On 26/10/2022 21:28, Grant Taylor wrote: On 10/26/22 12:22 PM, Neil Bothwick wrote: You need to be root to write to /etc/sudoers.d. If someone

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Ah, of course! Why was I thinking of a chroot? Maybe because of reading "grup/grub" a few e-mails before and thinking of "grub-mkconfig"... -Ramon On 26/10/2022 22:06, Neil Bothwick wrote: On Wed, 26 Oct 2022 20:38:35 +0200, Ramon Fischer wrote: I thought in a too c

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Of course, that would be sufficient. I thought in a too complicated way. Why not just remove the entry from "/etc/sudoers.d/zzz", while being in a "chroot"? -Ramon On 26/10/2022 20:35, Jack wrote: Could you not interrupt  grup and append "single" or "init=/bin/bash" to the kernel

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Indeed, an intersting question, which you actually already answered yourself. I just tested it myself:    $ visudo -f /etc/sudoers.d/00-wheel     %wheel ALL=(ALL) ALL    $ sudo --list     User ramon may run the following commands on :     (ALL) ALL    $ sudo -f

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Also a very interesting question! I just tested this with "visudo" and it does not intercept this. If "su" is disabled, you are locked out and you are forced to enter your system via a live USB stick and a "chroot" in order to edit "/etc/shadow" to set a root password via "mkpasswd" and

Re: [gentoo-user] Re: Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Of course, you are free to do so, but then blindly overwriting default configuration files is a Layer 8 problem. -Ramon On 26/10/2022 19:12, Grant Edwards wrote: On 2022-10-26, Grant Taylor wrote: To the sudo developers, the /etc/sudoers file is *SUPPOSED* *TO* /be/ /edited/. And editing

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
Interesting! Thank you for your research! After working 20 hours straight - uptime said so - I did not feel like it to do deeper research myself. :) -Ramon On 26/10/2022 13:31, Rich Freeman wrote: On Wed, Oct 26, 2022 at 3:42 AM Ramon Fischer wrote: I do not know, what the developers were

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-26 Thread Ramon Fischer
ngers are sometimes faster. I go with the more locked down approach This is the best way. Try to be as precise as possible, but be aware of wildcards![1] -Ramon [1] https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-4-wildcards/ On 26/10/2022 08:31, Walter Dnes wrote

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-25 Thread Ramon Fischer
Good question, which confused me as well, when I was looking into the file. Maybe ask the package maintainer or the developers? -Ramon On 26/10/2022 05:34, Ramon Fischer wrote: Then why in the world does the /default/ file, as installed by Gentoo, include directions to edit the the file

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-25 Thread Ramon Fischer
r me as well. -Ramon On 26/10/2022 05:15, Grant Taylor wrote: On 10/25/22 9:04 PM, Ramon Fischer wrote: I do not think, that this is a bug, since it is the default file, which should not be edited by the user. I *STRONGLY* /OBJECT/ to the notion that users should not edit configuration fil

Re: [gentoo-user] Update to /etc/sudoers disables wheel users!!!

2022-10-25 Thread Ramon Fischer
Hello Walter, I do not think, that this is a bug, since it is the default file, which should not be edited by the user. All changes should be done in "/etc/sudoers.d/" to avoid such cases. I kept mine unchanged from 2nd October and only have two uncommented lines:     [...]     root

Re: [gentoo-user] Dolphin and adding a option, if it exists.

2022-10-06 Thread Ramon Fischer
I corrected some typos. This one is syntactically correct:     $ mv file.txt{,.bak}     file.txt.bak     $ mv file.txt.{bak,img}     file.txt.img     $ mv file.txt{.img,}     file.txt -Ramon On 06/10/2022 17:19, Ramon Fischer wrote: And if you like Bash brace expansions; this one is sometimes

Re: [gentoo-user] Dolphin and adding a option, if it exists.

2022-10-06 Thread Ramon Fischer
And if you like Bash brace expansions; this one is sometimes quicker, than tab-completion and removing characters:     $ mv file.txt{,.bak}     file.txt.bak     $ mv file.txt,{bak,img}     file.txt.img     $ mv file.txt{img,}     file.txt -Ramon On 06/10/2022 14:45, Neil Bothwick wrote: This

Re: [gentoo-user] Getting printer working, the road of Pain.

2022-09-08 Thread Ramon Fischer
Hello Alan, (meanwhile, Windows can print to the thing effortlessly) I guess, that you are going to configure a network printer. I will try to explain you my setup; maybe you or others can derive something from this. Make sure, that the user, which you configure the printer with, is a

Re: [gentoo-user] rsync not deleting removed directory and drive PW DIS 3.3v question

2022-09-02 Thread Ramon Fischer
Hello Dale, if I understand you correctly, you had renamed the source directory "/home/dale/Desktop/Crypt/Video/" to "/home/dale/Desktop/Crypt/Video-1/" and want to have it removed in the target directory, which is still "/mnt/10tb/Video/"? Important!: Please read everything first,

Re: [gentoo-user] Selective news?

2022-08-01 Thread Ramon Fischer
Take a look in "/etc/pulse/client.conf". You can either set "autospawn = yes" or comment it. "pulseaudio" is automatically started via "/etc/xdg/autostart/pulseaudio.desktop"; at least in my case. -Ramon On 31/07/2022 14:33, Alexander Puchmayr wrote: Not sure which start script to add it

Re: [gentoo-user] plasmashell becomes sluggish with 100% CPU usage

2022-05-25 Thread Ramon Fischer
Hello Nikos, a malfunctioning widget could cause this issue. A few years ago, I experienced this with "plasmoid-gentoo-sync-reminder"[1]. If it does not find the file "/usr/portage/metada/timestamp.chk", the CPU usage went up to 200%. Maybe it could be related with your issue? -Ramon [1]

Re: [gentoo-user] Any way to run multiple commands from single script in parallel?

2022-03-14 Thread Ramon Fischer
Hello Joost, I suppose, that you are talking about Bash scripts. If so, you may put each individual command in a subshell by using an ampersand ("&") at the end of the line. This example[1] shows it nicely. -Ramon [1] 3. Parallelize running commands by grabbing PIDs.:

Re: [gentoo-user] Options for "emerge"

2022-02-22 Thread Ramon Fischer
Is it a good practise to update @system first? I always update @world almost every seven days and I only get into package conflicts, if I do not update for more than 60 days or so. Last time was 99 days ago and I had to resolve circular package dependencies and so forth manually. I wrote

Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Ramon Fischer
Addendum: To complete the list. Here the parallel implementation of "lzip": "plzip": https://www.nongnu.org/lzip/plzip.html -Ramon On 26/09/2021 14:23, Ramon Fischer wrote: In addition to this, you may want to use the parallel implementations of "gzip",

Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Ramon Fischer
In addition to this, you may want to use the parallel implementations of "gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are "pigz"[1], "pixz"[2], "pbzip2"[3], or "zstmt" (within package "app-arch/zstd")[4] in order to increase performance: $ cd $ for tar_archive in *.tar;

Re: [gentoo-user] Advice sought on the use of a VCS (specifically git) to keep track of my Softscroll patch.

2021-09-23 Thread Ramon Fischer
If GitHub is preferred, there is also an official GitHub repository of the Linux Kernel: https://github.com/torvalds/linux -Ramon On 23/09/2021 21:27, Marco Rebhan wrote: On Thursday, 23 September 2021 20:23:57 CEST Alan Mackenzie wrote: Where would I find a suitable kernel git repository to

Re: [gentoo-user] Re: Compile large packages as last package [SOLVED]

2021-09-08 Thread Ramon Fischer
/bin/emerge --ask --update --deep --newuse --tree --verbose --exclude="${large_package_list//$'\n'/ }" @world /usr/bin/emerge --ask --update --deep --newuse --tree --verbose @world -Ramon On 15/08/2021 17:48, Nikos Chantziaras wrote: On 14/08/2021 22:20, Ramon Fischer wrote:

Re: [gentoo-user] Re: Compile large packages as last package

2021-09-08 Thread Ramon Fischer
d -Ramon On 15/08/2021 17:48, Nikos Chantziaras wrote: On 14/08/2021 22:20, Ramon Fischer wrote: Is there any way to tell "portage", that packages like "qtwebengine", "(ungoogled-)chromium", "firefox" and so on are always compiled as last package? The s

[gentoo-user] Compile large packages as last package

2021-08-14 Thread Ramon Fischer
Hello list, I would like to tag or be able to prioritise (not via "nice" or "renice") large packages. Currently, one system is compiling package 245 of 279 and nothing else. "qlop --running --verbose --time" shows me, that it is "qtwebengine", which will compile for a few hours, blocking

Re: [gentoo-user] cryptsetup close and device in use when it is not

2021-08-09 Thread Ramon Fischer
    15:21   0:02 [kworker/u16:5-kcryptd/253:1] 8. Does not work: kill 150 9. Does not work and could be dangerous: kill -9 150 So, there was still one "kcryptd" process left, accessing the hard drive, but I found no way to kill it. Maybe this could be helpful? -Ramon On 02/08/2

Re: [gentoo-user] cryptsetup close and device in use when it is not

2021-07-12 Thread Ramon Fischer
asted UUID from "/etc/crypttab" and rebooting, I was able to use the hard drive without issues again. Maybe this is something, where you could poke around? :) -Ramon On 12/07/2021 10:31, Dale wrote: Ramon Fischer wrote: Interesting. I have some other ideas, but this is really grasping at straw

Re: [gentoo-user] Inquiry about gentoo kernel configuration

2021-07-11 Thread Ramon Fischer
/07/2021 15:11, Dongliang Mu wrote: On Sun, Jul 11, 2021 at 1:23 AM Ramon Fischer wrote: In addition to this: I did some further research about this, since I actually never thought about getting the Kernel sources without having an installed Gentoo system: You may take a look at one of the HTTP

Re: [gentoo-user] Inquiry about gentoo kernel configuration

2021-07-10 Thread Ramon Fischer
from "/usr/src/linux/.config". -Ramon [1] https://www.gentoo.org/downloads/mirrors/ On 10/07/2021 14:24, William Kenworthy wrote: On 10/7/21 7:40 pm, Ramon Fischer wrote: Hello Dongliang, you could retrieve kernel configuration files from a "Minimal Installation CD"[1] of

Re: [gentoo-user] Inquiry about gentoo kernel configuration

2021-07-10 Thread Ramon Fischer
Hello Dongliang, you could retrieve kernel configuration files from a "Minimal Installation CD"[1] of Gentoo. Mount it and look for "/boot/gentoo-config". But I guess, you want a untouched version, don't you? -Ramon [1] https://www.gentoo.org/downloads/ On 10/07/2021 11:15, Dongliang Mu

Re: [gentoo-user] cryptsetup close and device in use when it is not

2021-07-08 Thread Ramon Fischer
drive and try to mount the second one I think, this would entirely cover Layer 1 of the OSI Layer Model[1]. :) -Ramon [1] https://en.wikipedia.org/wiki/OSI_model On 07/07/2021 20:08, Dale wrote: Dr Rainer Woitok wrote: Ramon, Dale, On Tuesday, 2021-07-06 20:40:32 +0200, Ramon Fischer

Re: [gentoo-user] cryptsetup close and device in use when it is not

2021-07-06 Thread Ramon Fischer
This is just a guess. Maybe you have two devices with the same UUID? If so, you can change it with: $ cryptsetup --uuid="" luksUUID "/dev/sdx1" -Ramon On 05/07/2021 05:19, Dale wrote: Dale wrote: Dale wrote: After staring at it a while, it hit me that lsblk is showing it as still

Re: [gentoo-user] cryptsetup close and device in use when it is not

2021-06-15 Thread Ramon Fischer
If the "umount" command seems to be hanging next time, it is most likely due to cache writebacks. You can monitor this like so: $ watch "grep 'Dirty\|Writeback' /proc/meminfo" -Ramon On 15/06/2021 17:26, Dale wrote: Jack wrote: On 6/15/21 10:21 AM, Dale wrote:

Re: [gentoo-user] cryptsetup close and device in use when it is not

2021-06-15 Thread Ramon Fischer
Hello Dale, this also happens to me sometimes and the culprit was an open process still accessing the hard drive. Maybe you can solve it like this: $ lsof /mnt/8tb zsh   8390 root  cwd    DIR  253,2  4096 27787265 /mnt/8tb $ kill 8390 $ lsof /mnt/8tb After that, you

Re: [gentoo-user] Disable password required to mount removable hard disk. (solved)

2021-04-01 Thread Ramon Fischer
ments on the web, but nothing yet on how to deal with this issue. BillK On 1/4/21 3:21 pm, Ramon Fischer wrote: Addendum: I forgot to answer your other question: Maybe you also have set some rules in "/etc/polkit/rules.d/"[1], which allows your unprivileged user to mount USB drives

Re: [gentoo-user] Disable password required to mount removable hard disk.

2021-04-01 Thread Ramon Fischer
Addendum: I forgot to answer your other question: Maybe you also have set some rules in "/etc/polkit/rules.d/"[1], which allows your unprivileged user to mount USB drives and SD cards without any password. -Ramon [1] https://wiki.gentoo.org/wiki/Polkit On 01/04/2021 09:13, Ram

Re: [gentoo-user] Disable password required to mount removable hard disk.

2021-04-01 Thread Ramon Fischer
Hello BillK, I guess, that you are looking for the mount option "user": /etc/fstab /dev/sdx     /   ext4 noauto,user,relatime 0   2 In this way, I can mount "/dev/sdx" with an unprivileged user: $ mount / See also "man 8 mount" ("Non-superuser mounts"). I am not sure,

Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes

2021-02-05 Thread Ramon Fischer
Awesome stuff! It might be unrelated, but I would like to mention a script[1] here, which I have written in Bash to analyse process signals. It is called "psig", which mimics some of the behaviour of Solaris' "psig" binary: $ psig 23024 PID: 23024 Name: chrome Queued: 0/63858

Re: [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing [RESOLVED]

2021-01-31 Thread Ramon Fischer
in new applications unless you require     functionality that has not already been moved elsewhere. It have been un-recommended for a long time. Thanks for the clarification! -Ramon On 31/01/2021 13:43, Wynn Wolf Arbor wrote: On 2021-01-31 13:03, Ramon Fischer wrote: The USE flag "gtk" was

[gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing

2021-01-31 Thread Ramon Fischer
Hello list, I recently updated "app-crypt/pinentry" and suddenly "/usr/bin/pinentry-gtk-2" was missing. I am using "pinentry-gtk-2", so I can enter the passphrase for my GPG private key, when using the browser extension "Gopass Bridge". Taking a look at the commit of the package[1], it

Re: [gentoo-user] ebuild : how to check for python version

2020-08-02 Thread Ramon Fischer
Hi Helmut, maybe "python_is_python3"[1] will help? I am still new to creating ebuilds. :) -Ramon [1] https://devmanual.gentoo.org/eclass-reference/python-utils-r1.eclass/index.html On 02/08/2020 16:47, Helmut Jarausch wrote: Hi, in an ebuild I have to apply a patch only if this package

[SOLVED] Re: [gentoo-user] Ebuild: How to deal with external repositories properly (best practise)?

2020-08-02 Thread Ramon Fischer
I decided to use "EGIT_COMMIT" to let the ebuild pulling a certain commit. Using the archive tarball is indeed interesting! Thank you for your help! -Ramon On 28/07/2020 15:32, Ramon Fischer wrote: Oh yeah, as Neil was pointing that out. I will give it a try and report soon. -Ra

Re: [gentoo-user] Ebuild: How to deal with external repositories properly (best practise)?

2020-07-28 Thread Ramon Fischer
Oh yeah, as Neil was pointing that out. I will give it a try and report soon. -Ramon On 28/07/2020 14:52, tastytea wrote: On 2020-07-28 12:02+0200 Ramon Fischer wrote: Hello tastytea, I am aware of this "workaround", thank you. :) I guess, I was not precise enough:

Re: [gentoo-user] Ebuild: How to deal with external repositories properly (best practise)?

2020-07-28 Thread Ramon Fischer
ster_util/drm_master_util-.ebuild#L27 [2] https://github.com/gch1p/drm_master_util.git On 28/07/2020 10:53, tastytea wrote: On 2020-07-28 06:47+0200 Ramon Fischer wrote: […] The thing I am concerned about, is, that I am pulling something from an external source, which I am installing o

[gentoo-user] Ebuild: How to deal with external repositories properly (best practise)?

2020-07-27 Thread Ramon Fischer
Hello list, I have set up my first ebuild repository[1] with one package "x11-misc/drm_master_util" to run "X" without root privileges. I am still making it to work[2]. The ebuild file accesses an external git repository[3]. The thing I am concerned about, is, that I am pulling something

[gentoo-user] Colorized output when piping to tee

2017-12-18 Thread Ramon Fischer
Hi there, I am looking for a way to have a colorized output when piping to tee, e.g.: /usr/bin/emerge --ask --update --deep --newuse --tree --verbose @world | tee --append nom.txt I already tried installing "dev-tcltk/expect" which should actually contain "unbuffer" which can help me out.

Re: [gentoo-user] Userspace CPU frequency scaling not available on one machine

2017-10-31 Thread Ramon Fischer
You can disable the intel p state driver by adding an additional kernel parameter through your bootloader. For GRUB2 you can do the following: /etc/default/grub: GRUB_CMDLINE_LINUX="intel_pstate=disable" terminal: sudo grub-mkconfig -o /boot/grub/grub.cfg sudo reboot After

[gentoo-user] eix: coloured output of package versions

2017-10-18 Thread Ramon Fischer
Hi everyone, I was just wondering what the colouring of the different versions means and I could not find any documentation about it or I cannot formulate my search keywords precisely. What I can guess is that: green is stable, yellow is testing and red is unstable I am going

Re: [gentoo-user] Re: Plasma5: Missing shutdown, restart and suspend button

2017-10-14 Thread Ramon Fischer
.gentoo.org/wiki/KDE/Troubleshooting#Missing_shutdown.2Freboot.2Fsuspend.2Fhibernate_buttons_.28with_consolekit.29 4) Reboot Thank you very much for the help! -Ramon On 10/14/2017 03:27 AM, Michael Palimaka wrote: On 10/14/2017 09:25 AM, Daniel Frey wrote: On 10/13/2017 03:10 PM, Ramon Fi