Re: systemd/dhcp v. ntpd
On Wed, 9 Feb 2022, Lee wrote: Any idea what the chances are of getting an enhancement request for the dhcp client to add an ignore option; that says not use the option given by the dhcp server? isc-dhcp-client? zero. https://www.isc.org/dhcp/ The client and relay portions of ISC DHCP are no longer maintained. It's on my todo list, along with ntp, to move to something else...
Re: Request free live CD
On 2022-02-10 21:25, Celejar wrote: I do understand and agree with this, but my point was that we (at least the more helpful of us) on this list are perfectly willing to freely give of our time to help others, so why would we (at least those of us fortunate enough to have disposable income to spare) not be willing to give of our money as well to help others who need it? This does bring up two related points: 1. When you give time to help someone else it generally helps you too. In the sense that if you help out on this mailing list, trying to figure out how to help solve other people's problems, you learn about solutions that can be helpful to you as well. And you learn more about how systems work in general. If you maintain a package or write free software, it's generally packages or software that you yourself would find useful. When it comes to money, it often does not help you. Burning a live CD and mailing it to someone else, involves both time and money but doesn't help you. 2. In this specific scenario of live CD, there's an element of the saying, give someone a fish and you feed them for a day, teach them how to fish and you feed them for a lifetime. So you send this CD and they run or install the current version of the OS. Later on their system breaks down or they get a new one, or they want the next version of the OS, and what do they do then? Bijan
[solved] privoxy fails to resolve hostnames after update to bullseye
it was an apparmor thing...
Re: Plop in Debian install HDD into entirely new system
On 2/11/22 16:28, David Christensen wrote: On 2/11/22 12:34, Thomas Anderson wrote: Hello friends, I was curious what would happen if I threw my server HDD, into an entirely new system: different motherboard, different CPU (Intel instead of AMD), Ram, video card, everything. I would like to upgrade my system, and ideal case, this would simply work. I think I have done it in the past, but with less variables. I have never done it with EVERYTHING outside of the hard drive being different. Thanks. If both machines are the same architecture (e.g. x64_64/amd64), Correction x86_64/amd64. both use the same style firmware (e.g. BIOS or UEFI), and both are configured to boot from the same partitioning scheme (e.g. MBR or GPT), the system instance should boot and you should be able to log in from the console. As other readers have noted, you may need to install/ configure/ reconfigure networking, graphics, sound, and/or other drivers; and hypervisor optimizations may be different (if you are running virtual machines). David
Re: Plop in Debian install HDD into entirely new system
On 2/11/22 12:34, Thomas Anderson wrote: Hello friends, I was curious what would happen if I threw my server HDD, into an entirely new system: different motherboard, different CPU (Intel instead of AMD), Ram, video card, everything. I would like to upgrade my system, and ideal case, this would simply work. I think I have done it in the past, but with less variables. I have never done it with EVERYTHING outside of the hard drive being different. Thanks. If both machines are the same architecture (e.g. x64_64/amd64), both use the same style firmware (e.g. BIOS or UEFI), and both are configured to boot from the same partitioning scheme (e.g. MBR or GPT), the system instance should boot and you should be able to log in from the console. As other readers have noted, you may need to install/ configure/ reconfigure networking, graphics, sound, and/or other drivers; and hypervisor optimizations may be different (if you are running virtual machines). David
Re: solid state storage device with USB type-A plug for use as OS drive (was Re: Installation "Bullseye")
On 2/11/22 05:30, Dan Ritter wrote: Stefan Monnier wrote: David Christensen [2022-02-10 18:22:46] wrote: On 2/10/22 01:37, Andrew M.A. Cater wrote: What's high-endurance in your terms? I am unable to find manufacturer specifications to quantify what "high endurance" means, but I do own a 128 GB SanDisk High Endurance microSD card and that is where I heard the phrase: But you said you wanted high-endurance, so presumably you have some idea of what you mean by that? Otherwise it would sound like you just want to check someone else's buzzwords. The relevant stat is the total data written specification. It's usually in "terabytes written". For a 1 TB SSD, 300TBW is bad. 600 is pretty bad. 1200 is okay for a desktop. 1800 is reasonable for some server applications. A Seagate Firecuda 520 specifies 1800. An XPG Gammix specifies 740. A Micron 9300 MAX is about 10,000. -dsr- Thank you for providing engineering data that demonstrates the "endurance" of various products. Unfortunately, such specifications are not available for every flash, solid-state, etc., storage device that can be accessed via a USB Type A connector (directly, or indirectly via an adapter). David
Re: Request free live CD
On Friday, February 11, 2022 02:44:26 PM Celejar wrote: > Fair enough, although the question then is why we enjoy giving of our > time but not our money. I assume that a primary motive of many (I can't > speak for anyone in particular, of course) who give of their time is a > desire to help others, and the act of helping others is what provides > enjoyment to them, so then the question is why they would not enjoy > helping others with financial contributions. For me, it is easier (emotionally) to give time rather than money. Although I'm not too bad off re money, I don't get my supply renewed everyday (well, for the most part, I do now get SS (in the US).
Re: Memory leak
On Friday 11 February 2022 11:06:01 am Celejar wrote: > I seem to have a serious memory leak on my system (Lenovo W550s) - the > memory usage seems to slowly but more or less steadily keep increasing. > > This is a more or less normal (I think) desktop installation of Sid, > running Xfce4. Typical applications used are Firefox (currently with > just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, Xfce4 > Terminal, and Liferea, all from the official repos. I have noticed similar behavior here, and the culprit seems to be firefox. If I ignore it things get sluggish, and then the machine starts to thrash, until the only recourse is the power switch. If I notice it in time, close firefox and restart it, the memory used after I do that is significantly less than it was before. Somewhere in their help or documentation they even say that you shouldn't leave it running for extended periods of time. I wish they'd fix it! -- Member of the toughest, meanest, deadliest, most unrelenting -- and ablest -- form of life in this section of space, a critter that can be killed but can't be tamed. --Robert A. Heinlein, "The Puppet Masters" - Information is more dangerous than cannon to a society ruled by lies. --James M Dakin
Re: Installing bullseye into previously existing encrypted disk with buster
On Sat, 12 Feb 2022 at 02:54, Nitebirdz wrote: > On Thu, Feb 10, 2022 at 04:37:55PM -0500, Dan Ritter wrote: > > Nitebirdz wrote: > > > I currently have a laptop running buster on an encrypted disk that boots > > > via EFI. The filesystems look like this: > > > > > > /dev/mapper/tangier--vg-root/ > > > /dev/mapper/tangier--vg-home/home > > > /dev/sda1 /boot/efi > > > /dev/sda2 /boot > > > > > > I know I can easily upgrade to bullseye from the running system. However, > > > what I usually do when it's time to upgrade Debian on a laptop is to start > > > from a clean slate. It's my chance to clean up and remove old cruft (well, > > > with the exception of my own home partition, of course). So, instead of > > > upgrading, I just install the new version of Debian. > > > > > > Now, my problem is that, whenever I launch the installer, it wants to > > > partition the disk. Is there a way to tell the installer to leave the > > > existing partitioning scheme alone? Also, I'd need the installer to leave > > > the home partition alone, and format and install over the other > > > partitions. Is this possible? If so, how? I've been trying different > > > approaches, and I don't seem to be able to find the way to do it. > > > > Yes. Tell the installer you want to partition the disks > > manually, and then select each one and assign it to the role > > that you want. For /home, either don't assign it or make sure > > that you mark it as "leave the contents alone". > > Thanks. But it doesn't appear to work. The disk partitioning tool > only shows the actual partitions, but no trace of the already existing > encrypted volumes. See the screenshot attached. > > I'm testing this using QEMU. No matter what entry I select on that > screen, it wants me to continue partitioning, and ends up destroying the > previous setup. I cannot see a way to just get it to notice the already > existing layout. That does work for more simple setups, but not for > encrypted volumes, it seems. Hi Nitebirdz, For people quickly scanning through a lot of messages that they aren't heavily interested in, I suspect it was easy to overlook the crucial word "encrypted" in your first message. I know I didn't notice that until your second message, which used that word a few more times. I'm not really paying attention to the latest capabilites that the installer might have, or to what any other distros are doing, but when I have attempted this in the past it appeared to me that the Debian installer does not directly support installing a fresh installation into a previously created LUKS encrypted volume. However it is certainly "possible" with some complicated tricks, and if you are prepared to risk accidentally destroying the whole encrypted volume if you make a mistake. That's what happened to me the first time I tried it. But I have adequate backups and alternative machines, so that didn't bother me. It is possible to trick the installer into opening the existing encrypted volume. Then (with numerous fiddly steps and using great caution not to make a mistake) the installer can then install into a new partition inside that, in the usual way. However the installation it creates will be broken and likely not bootable. Because we have tricked the installer beyond what it understands, it makes many mistakes. There will be problems with grub, with the cryptsetup configuration, and with the initramfs. That all then needs to be fixed by rebooting into an alternative environment that has cryptsetup tools available. Maybe the installer rescue system is capable of doing that, but I'm not sure because ... The way I currently manage my machines (which are single-user, not servers) is that for convenience I always have a minimal bootable linux rescue system including the cryptsetup tools available on the disk in a small partition outside the encrypted volume, and I use this for that purpose (I also run the installer from there). But I expect it could be done with any other alternative boot method. So, being totally unaware of your level of skill and interest, I want to strike a balance in the information that I'm giving you here ... If you have adequate backups and are interested in learning more about how your system works, this could be a good project for doing that. Your desired end goal is possible. I spent time doing it and I'm happy I did that, because now all my stuff is configured and encrypted the way I want it, and that feels good. On the other hand, my reaching that goal involved developing the skills required. I don't have time to write out a detailed recipe for you on how to do it, and I don't remember all the detailed steps without some effort which I don't have time for. I can only offer occasional hints like this message. I can't guarantee that any hints given will be correct or will not cause catastropic data loss. There's probably no shortage of people arou
Re: Memory leak
On Fri, 11 Feb 2022 15:00:39 -0500 Celejar wrote: > There are several reasons I'm not ready to do that: Fine, get another browser. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Installation on a Lenovo IdeaPad Yoga 13
I have a Lenovo IdeaPad Yoga 13, with a Realtek RTL8723A wifi/bluetooth adapter, and an Intel 3rd gen core processor graphics controller. I have firmware-11.2.0-amd64-netinst.iso from https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.2.0+nonfree/amd64/iso-cd/. I did find this report, https://wiki.debian.org/InstallingDebianOn/Lenovo/IdeaPad%20Yoga%2013%20(Wheezy). Has there been no progress on this hardware since? Should I get a USB-> Ethernet adapter for this beast? If so, is there one that d-i is known to support? Some issues: 1) The graphics are terrible. Both graphical and text mode are scrunched into the top third or so of the screen, with two copies across the top. They are damn near unreadable. 2) How do I tell it how to pre-seed? In booting I never get access to the boot command line. 3) The network device is never correctly detected, automatically or manually. I think it figures out that it is a Realtek, but doesn't go any further. I was unable to find the WiFi adapter in the manual selector, probably due to the atrocious graphics. I tried several 8723X drivers, but d-i didn't like any of them. I think the firmware package supports it, and I think the driver (8723au) is in the kernel. On my desktop, also running Bullseye: root@hawk:~# apt show firmware-realtek | grep -i RTL8723A WARNING: apt does not have a stable CLI interface. Use with caution in scripts. * Realtek RTL8723AU rev A Bluetooth firmware (rtl_bt/rtl8723a_fw.bin) * Realtek RTL8723AU rev A wifi-with-BT firmware (rtlwifi/rtl8723aufw_A.bin) * Realtek RTL8723AU rev B wifi-with-BT firmware (rtlwifi/rtl8723aufw_B.bin) * Realtek RTL8723AU rev B wifi-only firmware (rtlwifi/rtl8723aufw_B_NoBT.bin) * Realtek RTL8723AE rev B firmware (rtlwifi/rtl8723fw_B.bin) * Realtek RTL8723AE rev A firmware (rtlwifi/rtl8723fw.bin) root@hawk:~# locate 8723au /usr/lib/firmware/rtlwifi/rtl8723aufw_A.bin /usr/lib/firmware/rtlwifi/rtl8723aufw_B.bin /usr/lib/firmware/rtlwifi/rtl8723aufw_B_NoBT.bin root@hawk:~# uname -a Linux hawk 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux root@hawk:~# Thinkwiki doesn't seem to mention this beast. Thoughts? -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Plop in Debian install HDD into entirely new system
Dan Ritter composed on 2022-02-11 15:52 (UTC-0500): > Thomas Anderson wrote: >> I was curious what would happen if I threw my server HDD, into an entirely >> new system: >>... intel ... > This will usually mostly work. Things to think about: ... > - you'll need to install different video drivers ... Unless you've installed proprietary drivers, this is highly unlikely. The kernel selects the only appropriate hardware module (driver), which is provided with each individual kernel, automatically. The X systems are highly competent at selecting an appropriate display driver for Intel IGPs. There are only two that matter, one of which (intel) hasn't had an official release in going on a decade and is unofficially deprecated, the other, which is the default, being of younger technology and applicable to AMD, Intel and NVidia GPUs, as well as others. > - disk names may change But not UUIDs, so it shouldn't matter, but could. Plopping a disk from one PC into another is pretty routine here, not a big deal in most cases, but could be if you've set MODULES=dep instead of MODULES=most in /etc/initramfs-tools/initramfs.conf. Traditionally it's been necessary to restore most and rebuild initrd before the switch when going between AMD and Intel. I haven't tested in a while whether that's still true. IMO, NIC poses the biggest potential nuisance, if your new hardware is too new. If network works, other things are usually easily fixed, if they even broke. A quite new potential obstacle is newer Intel motherboard chipsets do not enable the UEFI BIOS to provide a CSM boot option. The B560 chipset in my Rocket Lake LGA1200 does not. According to Asus, all 500 series Intel chipsets are this way. If you put your disk with an MBR configuration in and it isn't recognized as bootable, this could be the reason, and a pain to correct. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: Unable to boot UEFI laptop from Debian 11 Live USB stick
Thank you! I was using the 32-bit image! Duh!!! I retried with the 64-bit image and it is all good! On Fri, Feb 11, 2022 at 11:16 AM Andrew M.A. Cater wrote: > On Thu, Feb 10, 2022 at 07:43:56PM -0600, Flacusbigotis wrote: > > Thomas and Andrew, thanks for your reply. > > > > > > The laptop is no more than two years old and it has an Intel Core > i3-1005G1 > > processor. > > Also, I checked the USB stick and it only has the 32-bit EFI program in > the > > EFI boot folder. > > > > I assume based on what Andrew said that maybe the UEFI needs to be > 64-bit. > > I guess I will take the thread to the debian-live mailing list and ask > why > > there is no 64-bit UEFI program and their plans to add one. > > > > On Tue, Feb 8, 2022 at 5:18 AM Thomas Schmitt wrote: > > > > > Hi, > > > > > > Andrew M.A. Cater wrote: > > > > I had a similar issue the other day with an old Intel Baytrail > > > > notebook where the UEFI is 32 bit and the processor is 64 bit - > using a > > > > Debian multi-arch installer worked. I used the one with firmware. > > > > > > This would match the observation that Knoppix 9.1 works. > > > I have Knoppix 9.0 and 9.2 ISOs. On both the EFI partition has start > > > programs for 64 bit and for 32 bit: > > > /mnt/fat/efi/boot/BOOTIA32.efi > > > /mnt/fat/efi/boot/BOOTX64.efi > > > > > > > > > Have a nice day :) > > > > > > Thomas > > > > > > > > Check which Debian live image you downloaded - I think there are two > versions > -- one 32 bit, one 64 bit. > > To be honest, I'd be tempted to just use a standard Debian installer. > > If you have a machine which only has UEFI and refuses to boot a 64 bit > Debian live at any point - at that point, you can look to say whether it's > one of the outliers with a 32 bit BIOS and 64 bit CPU. > > There was a rash of netbooks a few years ago with 2GB RAM for just this > reason > they were sold with cut down 32 bit Windows versions. > > Hope this helps, all the very best, as ever, > > Andy C. > >
Re: Memory leak
On Fri, 11 Feb 2022 15:57:58 -0500 Bijan Soleymani wrote: > On 2022-02-11 14:52, Celejar wrote: > > As I mentioned in another post, I do this occasionally, but I'm not > > sure how to interpret the results. I just killed firefox; I got back > > about 3.5 GB, but the system is still using about 4.8, and Xorg's usage > > hasn't changed: ~ 4436M / 3081M / 105M. > > Closing Firefox returns 100% of Firefox memory to OS (as long as all the > processes are killed). I don't know that it would affect Xorg's usage > though. I understand, but apparently sometimes application memory leaks show up as increased Xorg memory usage: https://unix.stackexchange.com/questions/6538/xorg-memory-leaks This is admittedly old, and xrestop doesn't show anything too suspicious. > A lot of memory in Linux (and other OS's) is allocated to cache/buffers > to speed things up. As programs use more memory the amount for that goes > down. > > For example on my system now with 16GB I have: > MiB Mem : 16007.9 total, 4564.8 free, > 6306.2 used, 5136.9 buff/cache > > (with thunderbird, chrome, etc. open). > > So 5GB is used for cache and 6GB is used for programs and about 4GB is free. I understand this, but as I've been saying, I have the impression that too much memory is being actually used outside buffers and cache. Celejar
Re: Request free live CD
Hi, Celejar wrote: > the question then is why we enjoy giving of our > time but not our money. In my case it is because contributing to free software is not the same as sacrificing something that i could use more selfishly. I want it, i do it. That's paradise for a limited time. > why they would not enjoy > helping others with financial contributions. I have helped friends in need in the past. It has its own emotional rewards to do the right thing when necessary and possible. But i would not compare them with the state of mind when thinking about software or other interesting riddles. Have a nice day :) Thomas
Re: Plop in Debian install HDD into entirely new system
Thomas Anderson wrote: > I was curious what would happen if I threw my server HDD, into an entirely > new system: > > different motherboard, different CPU (Intel instead of AMD), Ram, video > card, everything. > > I would like to upgrade my system, and ideal case, this would simply work. I > think I have done > > it in the past, but with less variables. I have never done it with > EVERYTHING outside of the hard drive > > being different. This will usually mostly work. Things to think about: - you'll need to install different microcode - you'll need to install different video drivers - you may need to adjust settings on virtual machines that you are running, if you have any and you set them to copy the host cpu - disk names may change - network interface names may change, and you may need different firmware for the NICs All of these things can be fixed; in the cases of the drivers and firmware, you can pre-install them before doing the transfer. -dsr-
Re: Memory leak
On 2022-02-11 14:52, Celejar wrote: As I mentioned in another post, I do this occasionally, but I'm not sure how to interpret the results. I just killed firefox; I got back about 3.5 GB, but the system is still using about 4.8, and Xorg's usage hasn't changed: ~ 4436M / 3081M / 105M. Closing Firefox returns 100% of Firefox memory to OS (as long as all the processes are killed). I don't know that it would affect Xorg's usage though. A lot of memory in Linux (and other OS's) is allocated to cache/buffers to speed things up. As programs use more memory the amount for that goes down. For example on my system now with 16GB I have: MiB Mem : 16007.9 total, 4564.8 free, 6306.2 used, 5136.9 buff/cache (with thunderbird, chrome, etc. open). So 5GB is used for cache and 6GB is used for programs and about 4GB is free. Bijan
Re: Plop in Debian install HDD into entirely new system
On 2022-02-11 21:34 UTC+0100, Thomas Anderson wrote: > I was curious what would happen if I threw my server HDD, into an > entirely new system: I would guess it would work, with some minor adjustmenst being necessary. Typically, all needed kernel modules for hardware support are available and Debian is much less hard-wired to the hardware which it runs on than, for example, MS Windows. -- http://www.cb-fraggle.de
Plop in Debian install HDD into entirely new system
Hello friends, I was curious what would happen if I threw my server HDD, into an entirely new system: different motherboard, different CPU (Intel instead of AMD), Ram, video card, everything. I would like to upgrade my system, and ideal case, this would simply work. I think I have done it in the past, but with less variables. I have never done it with EVERYTHING outside of the hard drive being different. Thanks.
privoxy fails to resolve hostnames after update to bullseye
hey, i used privoxy 3.0.28 with buster (10.11) w/o any problems, but after upgrading to bullseye (11.2), privoxy 3.0.32 suddenly complains about not being able to resolve hostnames (see log at the end). the configuration for privoxy has not changed, and neither have /etc/resolv.conf or /etc/hosts. on the same host, name resolution works just fine: > host debian.org debian.org has address 149.20.4.15 debian.org has address 130.89.148.77 debian.org has address 128.31.0.62 debian.org has IPv6 address 2001:67c:2564:a119::77 debian.org has IPv6 address 2001:4f8:1:c::15 debian.org has IPv6 address 2603:400a::bb8::801f:3e debian.org mail is handled by 0 mailly.debian.org. debian.org mail is handled by 0 muffat.debian.org. i'd really appreciate it, if someone could enlighten me, where the problem is greetings... privoxy logfile: 2022-02-11 20:53:58.621 9y5ostdB4Ocu Info: Privoxy version 3.0.32 2022-02-11 20:53:58.621 9y5ostdB4Ocu Info: Program name: /usr/sbin/privoxy 2022-02-11 20:53:58.621 9y5ostdB4Ocu Info: Loading filter file: /etc/privoxy/default.filter 2022-02-11 20:53:58.632 9y5ostdB4Ocu Info: Loading filter file: /etc/privoxy/user.filter 2022-02-11 20:53:58.633 9y5ostdB4Ocu Info: Loading actions file: /etc/privoxy/match-all.action 2022-02-11 20:53:58.633 9y5ostdB4Ocu Info: Loading actions file: /etc/privoxy/default.action 2022-02-11 20:53:58.637 9y5ostdB4Ocu Info: Loading actions file: /etc/privoxy/user.action 2022-02-11 20:53:58.641 9y5ostdB4Ocu Info: Listening on port 8118 on IP address 127.0.0.1 2022-02-11 20:53:58.641 9y5ostdB4Ocu Info: Listening on port 8118 on IP address 10.1.1.10 2022-02-11 20:59:56.757 9y5ostdB4Ocu Request: debian.org:443/ 2022-02-11 20:59:56.757 9y5ostdB4Ocu Info: Can not resolve debian.org: Temporary failure in name resolution 2022-02-11 20:59:56.758 9y5ostdB4Ocu Crunch: DNS failure: debian.org:443
Re: Memory leak
On 11/02/2022 18:40, Charles Curley wrote: My solution is simple: I switched to Vivaldi over a year ago, and haven't looked back. https://vivaldi.com. They have packages for Debian, and run a roughly two week release cycle. It's based on Chromium, but with better privacy settings for the defaults. Unfortunately, Vivaldi is not acceptable for inclusion in Debian project, because it's not GPL licensed. It's not fully open source, it comes with EULA and privacy policy which you must accept in order to use it. Binaries are not reproducible due to lack of 100% source code. Therefore I must stay with Firefox for now, it's 100% FOSS, it's maintained by Debian as well. I won't entrust commercial company, Vivaldi Technologies AS from Oslo, with my browsing data. -- With kindest regards, Piotr. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄
Re: Request free live CD
On Fri, 11 Feb 2022 14:44:26 -0500 Celejar wrote: Hello Celejar, >enjoyment to them, so then the question is why they would not enjoy >helping others with financial contributions. Most of us can afford to give up some time. Not everyone can afford to give up money. I'm fortunate in being able to give up some of both. For that reason, I donate to various FLOSS projects annually. It changes year to year, but I've donated to various FLOSS projects over the years. -- Regards _ / ) "The blindingly obvious is never immediately apparent" / _)rad "Is it only me that has a working delete key?" They really dig me man, and I dig them To Be Someone (Didn't We Have A Nice Time) - The Jam pgp8bJtuBK1NF.pgp Description: OpenPGP digital signature
Re: Memory leak
On Fri, 11 Feb 2022 11:40:15 -0700 Charles Curley wrote: > On Fri, 11 Feb 2022 12:01:59 -0500 > Celejar wrote: > > > So I've heard. So is this something I just have to live with? Does > > everyone have this problem? > > It is widely rumored, backed by experiments I've done here. I've not > seen anything official from the Mozilla folks, but then I don't pay > close attention to them. > > My solution is simple: I switched to Vivaldi over a year ago, and > haven't looked back. https://vivaldi.com. They have packages for > Debian, and run a roughly two week release cycle. It's based on > Chromium, but with better privacy settings for the defaults. There are several reasons I'm not ready to do that: 1) Vivaldi is not open source. 2) It's based on Chrome, which empowers Google and its ability to control web standards. 3) I am worried about a web monoculture. Celejar
Re: Memory leak
On Fri, 11 Feb 2022 09:58:40 -0800 Charlie Gibbs wrote: > On Fri Feb 11 09:43:03 2022 Celejar wrote: > > > On Fri, 11 Feb 2022 09:53:17 -0700 > > Charles Curley wrote: > > > >> On Fri, 11 Feb 2022 11:06:01 -0500 > >> Celejar wrote: > >> > >>> I seem to have a serious memory leak on my system (Lenovo W550s) - > >>> the memory usage seems to slowly but more or less steadily keep > >>> increasing. > >>> > >>> This is a more or less normal (I think) desktop installation of Sid, > >>> running Xfce4. Typical applications used are Firefox (currently with > >>> just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, > >>> Xfce4 Terminal, and Liferea, all from the official repos. > >> > >> Firefox left running for days on end is a possible culprit. > > > > So I've heard. So is this something I just have to live with? Does > > everyone have this problem? I actually did used to kill firefox > > when I was experiencing memory pressure - it certainly relieved > > the immediate problem, but I think I found that not all the memory > > used was returned, and when I restarted firefox, the problem of > > running out of memory often returned before long (i.e., in much > > less time than after a fresh install). > > You can quickly test this by taking Firefox down. If the problem is > indeed with Firefox (as opposed to Debian), this isn't the place to > discuss it. As I mentioned in another post, I do this occasionally, but I'm not sure how to interpret the results. I just killed firefox; I got back about 3.5 GB, but the system is still using about 4.8, and Xorg's usage hasn't changed: ~ 4436M / 3081M / 105M. Celejar
Re: Memory leak
On Fri, 11 Feb 2022 18:06:52 + piorunz wrote: > On 11/02/2022 17:01, Celejar wrote: > > So I've heard. So is this something I just have to live with? Does > > everyone have this problem? I actually did used to kill firefox when I > > was experiencing memory pressure - it certainly relieved the immediate > > problem, but I think I found that not all the memory used was returned, > > and when I restarted firefox, the problem of running out of memory > > often returned before long (i.e., in much less time than after a fresh > > install). > > Yes that's typical for today's browsers. I never close browsers/reboot > my home-work computer, right now I have 2 days uptime and 17 GB memory > allocated between my normal day to day tools. > > > Go to Firefox Settings / Performance > Untick Recommended settings and change Content process limit to 1. Like > in the screenshot. > That will decrease memory usage. Thanks - I'll look into this. Celejar
Re: Memory leak
On Fri, 11 Feb 2022 13:43:55 -0500 Stefan Monnier wrote: > > I used to have 8 GB on the system, and it would start to thrash at > > about 7+ GB usage. I recently ugrade to 16 GB; memory usage is > > currently over 8 GB, and it seems to be slowly but steadily increasing. > > Presumably you bought 16GB to make use of it, right? Yes, and so I can do things like development, with IDEs and emulators that consume additional GBs of RAM, while leaving my usual applications running. > So it's only natural for your OS to try and put that memory to use. > Any "free memory" is memory that could potentially be used for something > more useful (IOW "free" = "wasted" in some sense). > > It's normal for memory use to increase over time, as your OS finds more > things to put into it. > > Of course, that doesn't mean that the concept of excessive memory use > doesn't exist. Just that it's hard to characterize. I understand all this, at least in general terms. > Do you actually experience a concrete problem (like your system getting > sluggish and making too many disk accesses to swap things in&out of the > RAM)? As I mentioned (briefly) in my original post, yes, I experience concrete problems: the system either grinds to a halt or becomes unresponsive, or hits swap and becomes intolerably slow. Since upgrading to 16 GB a couple of days ago, I haven't had problems yet, but I used to see the problems I mentioned when I had "only" 8 GB ;/ Celejar
Re: Request free live CD
On Fri, 11 Feb 2022 20:33:45 +0100 "Thomas Schmitt" wrote: > Hi, > > i wrote: > > > Clara Oswald: "You're not my boss, you're my hobby." > > Celejar wrote: > > I think I'm missing your point. Explain, please? > > I contribute time because i like to do so. > Less entertaining would be to give away an optical medium, > to buy post stamps, and to reveil my real world postal address. Fair enough, although the question then is why we enjoy giving of our time but not our money. I assume that a primary motive of many (I can't speak for anyone in particular, of course) who give of their time is a desire to help others, and the act of helping others is what provides enjoyment to them, so then the question is why they would not enjoy helping others with financial contributions. Celejar
Re: Request free live CD
Hi, i wrote: > > Clara Oswald: "You're not my boss, you're my hobby." Celejar wrote: > I think I'm missing your point. Explain, please? I contribute time because i like to do so. Less entertaining would be to give away an optical medium, to buy post stamps, and to reveil my real world postal address. Have a nice day :) Thomas
Re: /etc/adjtime (setting the hardware clock to local time on Debian 11)
On 2/11/22, Anssi Saari wrote: > José Luis González writes: > >> According to >> >> https://wiki.debian.org/DateTime >> >> There should be an /etc/adjtime file to configure the timezone for the >> hardware clock. I have no such file in my Debian 11 laptop. May I know >> if the file was removed and what was it replaced with? > > >From what I can tell, it's created by hwclock. If you run hwclock --set > it should be created. Possibly you can also run > > timedatectl set-local-rtc 0 > > but I don't know if that works if the file doesn't exist. > >> I just want to set the hardware clock to local time since this machine >> is shared with Windows and the clock is actually local time. > > You might consider telling Windows to use UTC as well. For example here: > https://feldspaten.org/2019/11/03/windows-10-clock-in-utc/ I debootstrap** Debian for those times I need a new installation. These were the instructions I'd been using up until last time (maybe a year ago): https://www.debian.org/releases/stretch/amd64/apds03.html.en#idm4468 Basically that says; === BEGIN SNIPPET # editor /etc/adjtime Populate that with: 0.0 0 0.0 0 UTC To configure timezone; # dpkg-reconfigure tzdata === END SNIPPET During debootstrap, the /etc/adjtime file doesn't exist until that step is run, but it's also a brand new install that hasn't been booted a first time yet. That manually created file then works flawlessly for me here, but my needs are simple. I think the hardware clock is set to UTC, by the way. Cindy :) ** N.B. Debootstrap was priceless as a method of installing Linux on dialup Internet connections.. in case that still helps anyone else. -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * runs with birdseed *
Re: One-user system. Was "One user system."
On Jo, 10 feb 22, 11:11:01, rhkra...@gmail.com wrote: > On Wednesday, February 09, 2022 06:08:16 AM Andrei POPESCU wrote: > > I've switched to using sudo because it encourages me to use root only > > when strictly required. > > That's a good idea, but I'll mention what I do -- I may have started before > sudo existed (or, at least, before I knew about it). > > I use kde and keep several konsole (terminals) open, at on one, I open it as > root and set the background to be a different color than the non-root konsole > (a shade of yello). > > (Once you pick a color for the background (or any of variety of other user > preferences), you can save those so, for example, every time I open a konsole > as root, it gets those preferences. I did use to have a root window constantly open and "Ctrl-a r" is still opening a 'sudo -i' window in tmux. The trouble with that is that I would tend to use the root console for non-root things. Besides, it's annoying to 'cd' in the non-root terminal in some deep directory structure only to find out you need root permissions to do what you actually needed to do when you got there. With sudo I'm incentivized to use non-root as much as possible, even if only because I'm too lazy to switch terminals or type 4 letters and a space ;) Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Memory leak
Stefan Monnier writes: > I used to have 8 GB on the system, and it would start to thrash at > about 7+ GB usage. I recently ugrade to 16 GB; memory usage is > currently over 8 GB, and it seems to be slowly but steadily increasing. Presumably you bought 16GB to make use of it, right? So it's only natural for your OS to try and put that memory to use. Any "free memory" is memory that could potentially be used for something more useful (IOW "free" = "wasted" in some sense). It's normal for memory use to increase over time, as your OS finds more things to put into it. That was my first intuition, too. There is even a classic website about this very topic: https://www.linuxatemyram.com/ HOWEVER, given that the OP mentions looking at the RSS sizes I think the classic "all memory used" issue is already ruled-out. The issue seems to be modern webbrowsers which could be considered OSes on their own already hence they also claim more resources whenever it is useful for them. Firefox takes just above 1600 MiB here with only six tabs open for four hours. Yet I am pretty sure it would take less were this a "lower-end" system e.g. fewer CPU cores would cause fewer processes to be spawned and hence the memory efficiency might be better in such cases. HTH and YMMV Linux-Fan öö [...] pgpNyJMgXvFcU.pgp Description: PGP signature
Re: Memory leak
On Fri, 11 Feb 2022 12:01:59 -0500 Celejar wrote: > So I've heard. So is this something I just have to live with? Does > everyone have this problem? It is widely rumored, backed by experiments I've done here. I've not seen anything official from the Mozilla folks, but then I don't pay close attention to them. My solution is simple: I switched to Vivaldi over a year ago, and haven't looked back. https://vivaldi.com. They have packages for Debian, and run a roughly two week release cycle. It's based on Chromium, but with better privacy settings for the defaults. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Memory leak
On 11/02/2022 17:58, Charlie Gibbs wrote: It seems to be the fashion nowadays to leave one's web browser up 24/7, with dozens of tabs open. Personally I can't understand this - I seldom have more than two or three tabs open at once, and most of the time I have only one open, which is why I treasure the option to not display a tab bar when only one tab is open. That would be very very ineffective for me. I work with dozens of things all over internet everyday. Opening these pages every day again and again would take time to find the bookmarks, click each of them or load entire tree, wait for entire tree of bookmarks to load.. Why? I just keep tabs open. Most used tabs which I check every few hours I keep pinned, they change from tab into an icon only. Also, I shut down my browser (Seamonkey, for what it's worth) when I'm not using it; this reduces load on the system and might even help security a little bit. You seem to have very limited internet usage. This is unlike many of us here. I keep my e-mail client and browser profiles (separate profiles for each multi-tab window, each profile has separate purpose also for security reasons) open 24/7. Also I run entire flock under firejail, that keeps it very secure. However, if this is a non-negotiable item for you, and the problem is with Firefox, I suggest you either take the discussion to a Firefox forum or just learn to live with it. Firefox ESR has a setting in GUI where you can decrease max. number of processes spawned, as I mentioned in my previous message, that helps a lot when you have limited memory. I run my work PC with 64 GB ECC. Enough for everything. :) -- With kindest regards, Piotr. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄
Re: Memory leak
On Fri Feb 11 09:43:03 2022 Celejar wrote: > On Fri, 11 Feb 2022 09:53:17 -0700 > Charles Curley wrote: > >> On Fri, 11 Feb 2022 11:06:01 -0500 >> Celejar wrote: >> >>> I seem to have a serious memory leak on my system (Lenovo W550s) - >>> the memory usage seems to slowly but more or less steadily keep >>> increasing. >>> >>> This is a more or less normal (I think) desktop installation of Sid, >>> running Xfce4. Typical applications used are Firefox (currently with >>> just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, >>> Xfce4 Terminal, and Liferea, all from the official repos. >> >> Firefox left running for days on end is a possible culprit. > > So I've heard. So is this something I just have to live with? Does > everyone have this problem? I actually did used to kill firefox > when I was experiencing memory pressure - it certainly relieved > the immediate problem, but I think I found that not all the memory > used was returned, and when I restarted firefox, the problem of > running out of memory often returned before long (i.e., in much > less time than after a fresh install). You can quickly test this by taking Firefox down. If the problem is indeed with Firefox (as opposed to Debian), this isn't the place to discuss it. It seems to be the fashion nowadays to leave one's web browser up 24/7, with dozens of tabs open. Personally I can't understand this - I seldom have more than two or three tabs open at once, and most of the time I have only one open, which is why I treasure the option to not display a tab bar when only one tab is open. Also, I shut down my browser (Seamonkey, for what it's worth) when I'm not using it; this reduces load on the system and might even help security a little bit. However, if this is a non-negotiable item for you, and the problem is with Firefox, I suggest you either take the discussion to a Firefox forum or just learn to live with it. -- /~\ Charlie Gibbs | Life is perverse. \ /| It can be beautiful - X I'm really at ac.dekanfrus | but it won't. / \ if you read it the right way. |-- Lily Tomlin
Re: Memory leak
On 11/02/2022 17:01, Celejar wrote: So I've heard. So is this something I just have to live with? Does everyone have this problem? I actually did used to kill firefox when I was experiencing memory pressure - it certainly relieved the immediate problem, but I think I found that not all the memory used was returned, and when I restarted firefox, the problem of running out of memory often returned before long (i.e., in much less time than after a fresh install). Yes that's typical for today's browsers. I never close browsers/reboot my home-work computer, right now I have 2 days uptime and 17 GB memory allocated between my normal day to day tools. Go to Firefox Settings / Performance Untick Recommended settings and change Content process limit to 1. Like in the screenshot. That will decrease memory usage. -- With kindest regards, Piotr. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄
Re: Unable to boot UEFI laptop from Debian 11 Live USB stick
On Thu, Feb 10, 2022 at 07:43:56PM -0600, Flacusbigotis wrote: > Thomas and Andrew, thanks for your reply. > > > The laptop is no more than two years old and it has an Intel Core i3-1005G1 > processor. > Also, I checked the USB stick and it only has the 32-bit EFI program in the > EFI boot folder. > > I assume based on what Andrew said that maybe the UEFI needs to be 64-bit. > I guess I will take the thread to the debian-live mailing list and ask why > there is no 64-bit UEFI program and their plans to add one. > > On Tue, Feb 8, 2022 at 5:18 AM Thomas Schmitt wrote: > > > Hi, > > > > Andrew M.A. Cater wrote: > > > I had a similar issue the other day with an old Intel Baytrail > > > notebook where the UEFI is 32 bit and the processor is 64 bit - using a > > > Debian multi-arch installer worked. I used the one with firmware. > > > > This would match the observation that Knoppix 9.1 works. > > I have Knoppix 9.0 and 9.2 ISOs. On both the EFI partition has start > > programs for 64 bit and for 32 bit: > > /mnt/fat/efi/boot/BOOTIA32.efi > > /mnt/fat/efi/boot/BOOTX64.efi > > > > > > Have a nice day :) > > > > Thomas > > > > Check which Debian live image you downloaded - I think there are two versions -- one 32 bit, one 64 bit. To be honest, I'd be tempted to just use a standard Debian installer. If you have a machine which only has UEFI and refuses to boot a 64 bit Debian live at any point - at that point, you can look to say whether it's one of the outliers with a 32 bit BIOS and 64 bit CPU. There was a rash of netbooks a few years ago with 2GB RAM for just this reason they were sold with cut down 32 bit Windows versions. Hope this helps, all the very best, as ever, Andy C.
Re: Memory leak
On Fri, 11 Feb 2022 09:53:17 -0700 Charles Curley wrote: > On Fri, 11 Feb 2022 11:06:01 -0500 > Celejar wrote: > > > I seem to have a serious memory leak on my system (Lenovo W550s) - the > > memory usage seems to slowly but more or less steadily keep > > increasing. > > > > This is a more or less normal (I think) desktop installation of Sid, > > running Xfce4. Typical applications used are Firefox (currently with > > just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, > > Xfce4 Terminal, and Liferea, all from the official repos. > > Firefox left running for days on end is a possible culprit. So I've heard. So is this something I just have to live with? Does everyone have this problem? I actually did used to kill firefox when I was experiencing memory pressure - it certainly relieved the immediate problem, but I think I found that not all the memory used was returned, and when I restarted firefox, the problem of running out of memory often returned before long (i.e., in much less time than after a fresh install). Celejar
Re: Memory leak
On Fri, 11 Feb 2022 11:06:01 -0500 Celejar wrote: > I seem to have a serious memory leak on my system (Lenovo W550s) - the > memory usage seems to slowly but more or less steadily keep > increasing. > > This is a more or less normal (I think) desktop installation of Sid, > running Xfce4. Typical applications used are Firefox (currently with > just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, > Xfce4 Terminal, and Liferea, all from the official repos. Firefox left running for days on end is a possible culprit. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: addendum, Re: One-user system.
On Fri, 11 Feb 2022 07:36:10 -0500 Greg Wooledge wrote: > That makes me curious about what has been done to your system, which > is clearly behaving differently from mine. "su" with no arguments > preserves the environment, but "su -" establishes a new environment > and launches a login shell. The XAUTHORITY variable should be lost, > but perhaps something in your shell profile(s) is recreating it. Indeed. In my /etc/bash.bashrc, I have: # Allow su to use the display, i.e. whitelist the relevant variables. alias su="su --whitelist-environment=DISPLAY,XAUTHORITY" We had a discussion on this list after I had problems with su and running X clients after moving from Buster to Bullseye. The alias above came out of that discussion. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: /etc/adjtime (setting the hardware clock to local time on Debian 11)
CC'ing back to the list. On Fri, Feb 11, 2022 at 03:34:35PM +0100, José Luis González wrote: > Would creating an /etc/adjtime as done by the postinst script be fine? As far as I know, yes. Try it and see. The worst that can happen is your clock will be wrong, but that's already the case, right?
Memory leak
Hello, I seem to have a serious memory leak on my system (Lenovo W550s) - the memory usage seems to slowly but more or less steadily keep increasing. This is a more or less normal (I think) desktop installation of Sid, running Xfce4. Typical applications used are Firefox (currently with just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, Xfce4 Terminal, and Liferea, all from the official repos. I used to have 8 GB on the system, and it would start to thrash at about 7+ GB usage. I recently ugrade to 16 GB; memory usage is currently over 8 GB, and it seems to be slowly but steadily increasing. I have never been able to wrap my head around linux memory usage reporting. htop currently reports about 8.13 GB used (up from about 8.03 when I began this email). I sorted the processes by PERCENT_MEM, and here are the leaders (VIRT / RES / SHR): A half dozen or so Xorg processes: 4340M / 2947M / 90948 Numerous 'firefox' processes: 5102M / 1068M / 369M. Some soffice.bin processes: 1096M / 301M / 128M. A bunch more '/usr/lib/firefox/firefox' processes: 27.2G / 213M / 88620. Some webkit processes: 100G / 212M / 143M. Some liferea processes: 84.3G / 198M / 112M A bunch *more* '/usr/lib/firefox/firefox' processes: 2835M / 186M / 127M And a bunch *more* '/usr/lib/firefox/firefox' processes: 2456M / 180M / 150M And then several more bunches of '/usr/lib/firefox/firefox' processes, with values of the same orders of magnitude to the preceeding ones. My understanding is that it's the RES and SHR values that are important, not the VIRT ones. I have the impression that the Xorg values are high. I saw recommendations to use xrestop to check things like pixmap usage. I don't really know much about this, but currently the total pixmap usage is about 360M, mostly used by a Writer process, and about 40M for Xfwm4 and 30M by Firefox. Any ideas? Celejar
Re: solid state storage device with USB type-A plug for use as OS drive (was Re: Installation "Bullseye")
On Fri, Feb 11, 2022, 7:48 AM Dan Ritter wrote: > Stefan Monnier wrote: > > David Christensen [2022-02-10 18:22:46] wrote: > > > On 2/10/22 01:37, Andrew M.A. Cater wrote: > > >> What's high-endurance in your terms? > > > I am unable to find manufacturer specifications to quantify what "high > > > endurance" means, but I do own a 128 GB SanDisk High Endurance microSD > card > > > and that is where I heard the phrase: > > > > But you said you wanted high-endurance, so presumably you have some idea > > of what you mean by that? > > Otherwise it would sound like you just want to check someone > > else's buzzwords. > > The relevant stat is the total data written specification. It's > usually in "terabytes written". > The general idea is that EEPROM can sustain a finite number of rewrites before failure. In many (older?) cases the claimed rewrite count was hugely inflated or simply couldn't be maintained in the manufacturing process. For a 1 TB SSD, 300TBW is bad. 600 is pretty bad. 1200 is okay > for a desktop. 1800 is reasonable for some server applications. > > A Seagate Firecuda 520 specifies 1800. > > An XPG Gammix specifies 740. > > A Micron 9300 MAX is about 10,000. > > -dsr- > >
Re: Installing bullseye into previously existing encrypted disk with buster
On Thu, Feb 10, 2022 at 04:37:55PM -0500, Dan Ritter wrote: > Nitebirdz wrote: > > I currently have a laptop running buster on an encrypted disk that boots > > via EFI. The filesystems look like this: > > > > /dev/mapper/tangier--vg-root/ > > /dev/mapper/tangier--vg-home/home > > /dev/sda1 /boot/efi > > /dev/sda2 /boot > > > > I know I can easily upgrade to bullseye from the running system. However, > > what I usually do when it's time to upgrade Debian on a laptop is to start > > from a clean slate. It's my chance to clean up and remove old cruft (well, > > with the exception of my own home partition, of course). So, instead of > > upgrading, I just install the new version of Debian. > > > > Now, my problem is that, whenever I launch the installer, it wants to > > partition the disk. Is there a way to tell the installer to leave the > > existing partitioning scheme alone? Also, I'd need the installer to leave > > the home partition alone, and format and install over the other > > partitions. Is this possible? If so, how? I've been trying different > > approaches, and I don't seem to be able to find the way to do it. > > Yes. Tell the installer you want to partition the disks > manually, and then select each one and assign it to the role > that you want. For /home, either don't assign it or make sure > that you mark it as "leave the contents alone". > Thanks. But it doesn't appear to work. The disk partitioning tool only shows the actual partitions, but no trace of the already existing encrypted volumes. See the screenshot attached. I'm testing this using QEMU. No matter what entry I select on that screen, it wants me to continue partitioning, and ends up destroying the previous setup. I cannot see a way to just get it to notice the already existing layout. That does work for more simple setups, but not for encrypted volumes, it seems. > But if you're going to do that, why not try a nice in-place > upgrade first? I bet you'll be happy with it, and if not, you've > lost maybe an hour over what you were going to do anyway. > Yes, I've done Debian upgrades before, and they are quite reliable. As mentioned in my original message, though, I take this as an opportunity to "clean up house", and remove all the cruft that I have been accumulating for the last couple of of years. That's the reason why, when a new Debian release comes out, I prefer to reinstall (well, on this particular system; I usually do standard upgrades on others). -- Nitebirdz
Re: addendum, Re: One-user system.
Greg Wooledge wrote: > On Thu, Feb 10, 2022 at 06:37:04PM -0800, pe...@easthope.ca wrote: > > root@joule:~# su peter > > peter@joule:~$ firefox-esr --display=:0 > > Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: > > Connection refused > > Error: cannot open display: :0 > > > > peter, logged in directly, can run firefox. > > root, logged in directly, can run firefox. > > The above is from a security mechanism in firefox? > > No, you simply haven't provided enough credentials to the X server. > It's the X server who's rejecting connections from "peter", because > "peter" has not presented the correct MIT-MAGIC-COOKIE (auth token). A different solution, with less security, especially on multi-user system might be: enable access for a specific user by "xhost". In your case, do before "su peter", as user root: xhost +si:localuser:peter This prevents the X server security mechanism, which Greg explains. Beaware, it's more dangerous, opening it X this way. Best regards, Klaus. -- Klaus Singvogel GnuPG-Key-ID: 1024R/5068792D 1994-06-27
Re: Request free live CD
On Fri, 11 Feb 2022 09:00:22 -0500 Dan Ritter wrote: > Celejar wrote: > > > > I do understand and agree with this, but my point was that we (at least > > the more helpful of us) on this list are perfectly willing to freely > > give of our time to help others, so why would we (at least those of us > > fortunate enough to have disposable income to spare) not be willing to > > give of our money as well to help others who need it? > > That's easy: time is much more effective than money in this > context. > > If you answer a question on this mailing list, it is recorded > and can be searched; hundreds or thousands of people can be > helped. > > If you fix a bug in a major package, millions of people will be > helped. Fair points, certainly, although many people spend much time even on very minor packages, and on helping people with very niche questions, where their answers are really unlikely to help hundreds or thousands of people. > If you donate the money that you make in an hour to postage and > media for DVDs or USB sticks, somewhere between a fraction of a > person and a couple of hundred will be helped -- for an average > US income, about 2 USB sticks. > > Money is great, but it is needed in business-sized quantities. > Any individual person with skills makes the community better off by > answering questions and fixing bugs than they would by donating > the equivalent time in money. > > As a corollary, if you can spend a couple of hours convincing a > business that runs Debian to donate some money, that's probably > an excellent use of your time. Indeed. Celejar
Re: Request free live CD
Celejar wrote: > > I do understand and agree with this, but my point was that we (at least > the more helpful of us) on this list are perfectly willing to freely > give of our time to help others, so why would we (at least those of us > fortunate enough to have disposable income to spare) not be willing to > give of our money as well to help others who need it? That's easy: time is much more effective than money in this context. If you answer a question on this mailing list, it is recorded and can be searched; hundreds or thousands of people can be helped. If you fix a bug in a major package, millions of people will be helped. If you donate the money that you make in an hour to postage and media for DVDs or USB sticks, somewhere between a fraction of a person and a couple of hundred will be helped -- for an average US income, about 2 USB sticks. Money is great, but it is needed in business-sized quantities. Any individual person with skills makes the community better off by answering questions and fixing bugs than they would by donating the equivalent time in money. As a corollary, if you can spend a couple of hours convincing a business that runs Debian to donate some money, that's probably an excellent use of your time. -dsr-
Re: solid state storage device with USB type-A plug for use as OS drive (was Re: Installation "Bullseye")
Stefan Monnier wrote: > David Christensen [2022-02-10 18:22:46] wrote: > > On 2/10/22 01:37, Andrew M.A. Cater wrote: > >> What's high-endurance in your terms? > > I am unable to find manufacturer specifications to quantify what "high > > endurance" means, but I do own a 128 GB SanDisk High Endurance microSD card > > and that is where I heard the phrase: > > But you said you wanted high-endurance, so presumably you have some idea > of what you mean by that? > Otherwise it would sound like you just want to check someone > else's buzzwords. The relevant stat is the total data written specification. It's usually in "terabytes written". For a 1 TB SSD, 300TBW is bad. 600 is pretty bad. 1200 is okay for a desktop. 1800 is reasonable for some server applications. A Seagate Firecuda 520 specifies 1800. An XPG Gammix specifies 740. A Micron 9300 MAX is about 10,000. -dsr-
Re: Request free live CD
On Fri, 11 Feb 2022 08:58:51 +0100 "Thomas Schmitt" wrote: > Hi, > > Celejar wrote: > > Why is there an assumption that people will gladly > > donate of their time to help others, but not their money? > > Let me quote from a classic british play: > > The Doctor: "Do i pay you ? I should give you a raise." > Clara Oswald: "You're not my boss, you're my hobby." I found the quote: https://www.tvfanatic.com/quotes/youre-not-my-boss-youre-my-hobby/ But I think I'm missing your point. Explain, please? Celejar
Re: /etc/adjtime (setting the hardware clock to local time on Debian 11)
José Luis González writes: > According to > > https://wiki.debian.org/DateTime > > There should be an /etc/adjtime file to configure the timezone for the > hardware clock. I have no such file in my Debian 11 laptop. May I know > if the file was removed and what was it replaced with? >From what I can tell, it's created by hwclock. If you run hwclock --set it should be created. Possibly you can also run timedatectl set-local-rtc 0 but I don't know if that works if the file doesn't exist. > I just want to set the hardware clock to local time since this machine > is shared with Windows and the clock is actually local time. You might consider telling Windows to use UTC as well. For example here: https://feldspaten.org/2019/11/03/windows-10-clock-in-utc/
Re: addendum, Re: One-user system.
On Fri, Feb 11, 2022 at 07:36:10AM -0500, Greg Wooledge wrote: > On Thu, Feb 10, 2022 at 09:48:40PM -0700, Charles Curley wrote: [...] > > So I expect that something has already done the export for me, and it > > is unnecessary. > > unicorn:~$ echo "$XAUTHORITY" > /home/greg/.Xauthority > unicorn:~$ su > Password: > root@unicorn:/home/greg# echo "$XAUTHORITY" > /home/greg/.Xauthority > root@unicorn:/home/greg# > exit > unicorn:~$ su - > Password: > root@unicorn:~# echo "$XAUTHORITY" > > root@unicorn:~# > logout > > That makes me curious about what has been done to your system, which > is clearly behaving differently from mine. "su" with no arguments > preserves the environment, but "su -" establishes a new environment > and launches a login shell. The XAUTHORITY variable should be lost, > but perhaps something in your shell profile(s) is recreating it. I'd look in the general direction of pam_env and its corresponding config file /etc/security/pam_env.conf Cheers -- t signature.asc Description: PGP signature
Re: /etc/adjtime (setting the hardware clock to local time on Debian 11)
On Fri, Feb 11, 2022 at 12:54:01PM +0100, José Luis González wrote: > According to > > https://wiki.debian.org/DateTime > > There should be an /etc/adjtime file to configure the timezone for the > hardware clock. That's... not how I'd describe that file, but I suppose "telling whether the HW clock is on UTC or not" is indeed one of its features. > I have no such file in my Debian 11 laptop. May I know > if the file was removed and what was it replaced with? unicorn:~$ ls -l /etc/adjtime -rw-r--r-- 1 root root 46 Jan 11 2018 /etc/adjtime unicorn:~$ cat /etc/adjtime 0.00 1515718148 0.00 1515718148 LOCAL unicorn:~$ dpkg -S /etc/adjtime dpkg-query: no path found matching pattern /etc/adjtime unicorn:~$ grep adjtime /var/lib/dpkg/info/*.postinst /var/lib/dpkg/info/systemd.postinst:if [ "$UTC" = "no" ] && [ ! -e /etc/adjtime ]; then /var/lib/dpkg/info/systemd.postinst:printf "0.0 0 0.0\n0\nLOCAL\n" > /etc/adjtime Are you running systemd, or some other init system?
Re: Stalled system shutdown
On Thu, 10 Feb 2022 21:03:14 -0600 Flacusbigotis wrote: > Just a question to help you start troubleshooting: > > Does the shutdown finish quickly/quicker if you first stop the ntopng > systemd service manually before doing the full shutdown? I did a "# service status ntopng" and it seems the daemon is dead and it has errors: === • ntopng.service - ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool Loaded: loaded (/lib/systemd/system/ntopng.service; enabled; vendor preset: enabled) Active: inactive (dead) since Fri 2022-02-11 11:24:19 CET; 2h 3min ago Docs: man:ntopng(8) file:/usr/share/doc/ntopng/README.Debian file:/usr/share/doc/ntopng/UserGuide.pdf.gz Process: 698 ExecStart=/usr/sbin/ntopng /etc/ntopng.conf (code=exited, status=0/SUCCESS) CPU: 22ms feb 11 11:24:19 tierra systemd[1]: Starting ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool... feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Ntop.cpp:1902] Setting local networks to 127.0.0.0/8 feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:111] ERROR: ntopng requires redis server to be up and running feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:112] ERROR: Please start it and try again or use -r feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:113] ERROR: to specify a redis server other than the default feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:111] ERROR: ntopng requires redis server to be up and running feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:112] ERROR: Please start it and try again or use -r feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:113] ERROR: to specify a redis server other than the default feb 11 11:24:19 tierra systemd[1]: ntopng.service: Succeeded. feb 11 11:24:19 tierra systemd[1]: Started ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool. === I wonder if the package ntopng is necessary for something. If I remove it nothing else complains. I didn't know this package before. By the way, with ntopng uninstalled my system shuts down normally. Thanks for your help. > On Thu, Feb 10, 2022, 5:59 PM José Luis González wrote: > > > Hi, > > > > When shutting down, after upgrading to Debian 11, system shutdown hangs > > (freezes) for some time (about 1-2 minutes) anytime, making it > > bothersome to shut the system down. > > > > The freeze happens afther the "Stopped target remote filesystems" > > status line. After a while "A stop job is running for ntopng" is > > printed with an "in progress" status in red and a timeout of 1 minute > > 30 seconds, which is exhausted. So everyt time I shut down I get a 1 > > minute and 30 seconds delay. > > > > Anyone can help, please? > > > >
Re: addendum, Re: One-user system.
On Thu, Feb 10, 2022 at 09:48:40PM -0700, Charles Curley wrote: > Interesting. I routinely log in as my non-root user, charles, and then > 'su -', which gets me a root shell. I can then run X programs just > fine. So your comment above got me curious. > > charles@jhegaala:~/Desktop$ su - > Password: > > Today is Sweetmorn, the 41st of Chaos, 3188. Lies and slander, sire! > root@jhegaala:~# echo $XAUTHORITY > /home/charles/.Xauthority > root@jhegaala:~# > > So I expect that something has already done the export for me, and it > is unnecessary. unicorn:~$ echo "$XAUTHORITY" /home/greg/.Xauthority unicorn:~$ su Password: root@unicorn:/home/greg# echo "$XAUTHORITY" /home/greg/.Xauthority root@unicorn:/home/greg# exit unicorn:~$ su - Password: root@unicorn:~# echo "$XAUTHORITY" root@unicorn:~# logout That makes me curious about what has been done to your system, which is clearly behaving differently from mine. "su" with no arguments preserves the environment, but "su -" establishes a new environment and launches a login shell. The XAUTHORITY variable should be lost, but perhaps something in your shell profile(s) is recreating it.
/etc/adjtime (setting the hardware clock to local time on Debian 11)
According to https://wiki.debian.org/DateTime There should be an /etc/adjtime file to configure the timezone for the hardware clock. I have no such file in my Debian 11 laptop. May I know if the file was removed and what was it replaced with? I just want to set the hardware clock to local time since this machine is shared with Windows and the clock is actually local time. Thanks in advance, and best regards.
Re: Pasenme la descarga directa, por favor.
On Fri, Feb 11, 2022 at 10:16:13AM +0100, José Manuel Garrochena Boza wrote: > Necesito el firmware realtek rtl_nic/rt18168g.fw para poder instalar > kalinux 2021 net installer con mi TP-LINK USB Internet. Esto es una lista de correos para usuarios de Debian GNU/Linux. Creo que kalinux está por aquí: https://forums.kali.org/ Si buscas una lista de usuarios de Debian en lengua castellana, la encontrarás por allí: https://lists.debian.org/debian-user-spanish/ ¡Espero que encuentres lo que buscas! -- tomás signature.asc Description: PGP signature
Re: Stalled system shutdown
On 2/11/22, Tixy wrote: > On Fri, 2022-02-11 at 00:58 +0100, José Luis González wrote: >> Hi, >> >> When shutting down, after upgrading to Debian 11, system shutdown hangs >> (freezes) for some time (about 1-2 minutes) anytime, making it >> bothersome to shut the system down. >> >> The freeze happens afther the "Stopped target remote filesystems" >> status line. After a while "A stop job is running for ntopng" is >> printed with an "in progress" status in red and a timeout of 1 minute >> 30 seconds, which is exhausted. So everyt time I shut down I get a 1 >> minute and 30 seconds delay. >> >> Anyone can help, please? > > Do you have any network filesystems mounted? I've found that systemd > takes down the network connections before it unmounts disks, so if I > forget to unmount them before shutting down I get this delay. Mine hangs because it's shutting down Firefox (Nightly from their website these days). Just as example, if I log out then log back in and run "ps aux|grep firefox" after logouts that take a long time, there will most likely be a long list of associated PIDs still in operation. If I try to launch Firefox at that moment, it will most likely fail with an advisement that a Firefox instance is already running. If I wait a few more seconds then try again, Firefox will FINALLY have shut down the rest of the way. It's been ages since I first realized that was occurring. It was an eye opener into that there's still a lot to learn about how operating systems and their packages work under the hood. :) Cindy :) -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * runs with birdseed *
Pasenme la descarga directa, por favor.
Necesito el firmware realtek rtl_nic/rt18168g.fw para poder instalar kalinux 2021 net installer con mi TP-LINK USB Internet. Gracias
Re: Stalled system shutdown
On Fri, 2022-02-11 at 00:58 +0100, José Luis González wrote: > Hi, > > When shutting down, after upgrading to Debian 11, system shutdown hangs > (freezes) for some time (about 1-2 minutes) anytime, making it > bothersome to shut the system down. > > The freeze happens afther the "Stopped target remote filesystems" > status line. After a while "A stop job is running for ntopng" is > printed with an "in progress" status in red and a timeout of 1 minute > 30 seconds, which is exhausted. So everyt time I shut down I get a 1 > minute and 30 seconds delay. > > Anyone can help, please? Do you have any network filesystems mounted? I've found that systemd takes down the network connections before it unmounts disks, so if I forget to unmount them before shutting down I get this delay. -- Tixy