Re: How to run automatically a script as soon root login
On Sun 12/05/2024 at 22:52, Mario Marietto wrote: > I want that the warp script is run everytime root is logged in,not more,not > less. The second half of this seems to do what you want https://stackoverflow.com/a/39024841
Re: Kvm Bridge Network Problem
On Tue 07/05/2024 at 01:51, Gareth Evans wrote: I did miss a step. > Start VM, check DHCP address assigned should be > Edit the VM NIC settings and choose your routed network connection from the > "Network Source" dropdown. Apply changes. > Start VM, check DHCP address assigned I actually deleted other vibrX devices and networks before starting, but I don't think that matters. G
Re: Kvm Bridge Network Problem
On host: $ ip a|grep wl 3: wlp1s0: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.168.1.100/24 ... Using: virt-manager > Edit > Connection Details > Virtual Networks > Add network Mode: Routed Network: 192.168.200.0/24 Accept default DHCP range Forward to: physical device Device: wlp1s0 [this is my physical wifi card] Then: $ sudo sysctl -w net.ipv4.ip_forward=1 Then check: $ ip link 6: virbr0: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 52:54:00:54:ed:48 brd ff:ff:ff:ff:ff:ff 7: vnet0: mtu 1500 qdisc noqueue master virbr0 state UNKNOWN mode DEFAULT group default qlen 1000 link/ether fe:54:00:9b:a7:8e brd ff:ff:ff:ff:ff:ff Start VM, check DHCP address assigned On VM guest: $ ip a|grep enp 2: enp1s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000 inet 192.168.200.151/24 ... At this point (with firewalls temporarily off) I was able to ssh to and from host and VM guest using their respective IP addresses. After adding a static route on my wireless router: 192.168.200.0/24 via 192.168.1.100 (to paraphrase the web form) I installed apache2 on the VM guest and was able to access http://192.168.200.151 from my phone over wifi, and websites on the host from the VM guest. Firewalld actived on host with ssh and https services allowed - ssh and web browsing worked as before. No nf/iptables jiggery-pokery, but static route on router required. Perhaps not the most efficient solution, but I try to avoid too many firewall rules because they make my head spin :) Don't think I've omitted any steps. Does that help? Best wishes, Gareth
Re: Kvm Bridge Network Problem
On Sun 05/05/2024 at 07:53, Gareth Evans wrote: > That might suggest NAT is still operative for the VM. Ah, I hadn't seen Geert's reply, which I think is closer to the mark :) This gives a routing-based approach: https://www.linux-kvm.org/page/Networking This creates an isolated network between host and guest, which without routing presumably is additional to the default network, and the (Ubuntu-based) netplan stuff needs substituting with /e/n/i adjustments: https://www.nodinrogers.com/post/2022-01-06-enabling-kvm-host-to-vm-communcation/ All of which I have yet to test but have been meaning to look into this again. HTH
Re: Kvm Bridge Network Problem
On Sat 04/05/2024 at 21:26, Stephen P. Molnar wrote: > ... > I have managed to follow the > instructions in: > > https://www.cyberciti.biz/faq/how-to-add-network-bridge-with-nmcli-networkmanager-on-linux/ > > ... > I was able to use the LAN > printer and the 40" TV , but could not access the Host. Hi Stephen, That might suggest NAT is still operative for the VM. Did you do the "optional" part of the tutorial in your link too, re KVM network config? What is the output of # nmcli con show # nmcli device # virsh net-list --all # virsh net-dumpxml yourNetworkName I don't have a network cable to hand to test this at the moment (wifi NIC bridging is complex if possible with KVM [1] and apples and oranges and all that) but will do later if your problem is not solved. I think the presence of enp2s0 in /e/n/i (which your attachment seems to be) prevents NM from managing it, but if I'm wrong about that, could it be getting an address (static or otherwise) from NM? Gareth [1] https://hacktivate.it/posts/kvm-bridge-wireless/
Re: QEMU/KVM virt-manager Problem
On Thu 02/05/2024 at 20:14, Gareth Evans wrote: > On Thu 02/05/2024 at 19:57, Stephen P. Molnar wrote: >> On 05/02/2024 12:54 PM, Gareth Evans wrote: >>> >>> >>>> On 2 May 2024, at 17:47, Gareth Evans wrote: >>>> >>>> >>>> >>>>> On 2 May 2024, at 15:43, Stephen P. Molnar >>>>> wrote: >>>>> >>>>> I am running Bookworm and have implemented QEMU/KVM virt-manager. >>>>> When I install a client I have been using virt-manager --> View >>>>> -->Scale Display --> Always. However, now the 'Always ', the only >>>>> option available is the default 'Only when Fullscreen'. >>>> >>>> Is Bookworm the VM client too? With GUI? Does this happen for all >>>> clients, just one, or one type? >>>> >>>> Off the top of my head, I think the scale always option may disappear >>>> if the guest display doesn't support it - I seem to recall VirtualBox >>>> Guest Additions being required for this functionality for some guests >>>> in VirtualBox (which I acknowledge you are not using, I'm just >>>> saying...) so I don't think it's "straightforward" functionality >>> >>> What video protocol are you using? >>> >>> spice-vdagent is mentioned here a few comments down >>> >>> https://forum.manjaro.org/t/virt-manager-scale-display-not-working/138275/3 >> I am using the procedure in >> https://getlabsdone.com/install-windows-10-on-ubuntu-kvm/ >> >> I am most interested in installing Windows 10, as there computation >> chemistry windows apps that I want to use on Bookworm. However, the same >> problem is resent for Linux clients that I've installed. > > In > > virt-manager > Edit > Preferences > [console tab] > > I see options for > > Graphical console scaling [ Never / Fullscreen only / Always] > Resize guest with window [System default / Off / On] > > This looks like it might just set defaults for options accessible from > the VM view menu, but perhaps worth experimenting with? > > The only Linux VM I have in virt-manager used the spice display manager > by default. > > If you are using spice too, this > > https://stackoverflow.com/questions/41990600/virt-manager-guest-resize-not-working > > suggests spice-guest-tools is required for Windows clients, with link > to download page > > Does any of that help? > > Best wishes > Gareth Just noticed the link you provided includes a ref to spice-guest-tools. With an Alpine client (and no "tools") I get less than optimal scaling from virt-manager - some black space at the horizontal edges, but there is a scaling of sorts going on, just not entirely using the available window space. Are you using the stock version of virt-manager? $ apt policy virt-manager virt-manager: Installed: 1:4.1.0-2
Re: QEMU/KVM virt-manager Problem
On Thu 02/05/2024 at 19:57, Stephen P. Molnar wrote: > On 05/02/2024 12:54 PM, Gareth Evans wrote: >> >> >>> On 2 May 2024, at 17:47, Gareth Evans wrote: >>> >>> >>> >>>> On 2 May 2024, at 15:43, Stephen P. Molnar >>>> wrote: >>>> >>>> I am running Bookworm and have implemented QEMU/KVM virt-manager. >>>> When I install a client I have been using virt-manager --> View >>>> -->Scale Display --> Always. However, now the 'Always ', the only >>>> option available is the default 'Only when Fullscreen'. >>> >>> Is Bookworm the VM client too? With GUI? Does this happen for all >>> clients, just one, or one type? >>> >>> Off the top of my head, I think the scale always option may disappear >>> if the guest display doesn't support it - I seem to recall VirtualBox >>> Guest Additions being required for this functionality for some guests >>> in VirtualBox (which I acknowledge you are not using, I'm just >>> saying...) so I don't think it's "straightforward" functionality >> >> What video protocol are you using? >> >> spice-vdagent is mentioned here a few comments down >> >> https://forum.manjaro.org/t/virt-manager-scale-display-not-working/138275/3 > I am using the procedure in > https://getlabsdone.com/install-windows-10-on-ubuntu-kvm/ > > I am most interested in installing Windows 10, as there computation > chemistry windows apps that I want to use on Bookworm. However, the same > problem is resent for Linux clients that I've installed. In virt-manager > Edit > Preferences > [console tab] I see options for Graphical console scaling [ Never / Fullscreen only / Always] Resize guest with window [System default / Off / On] This looks like it might just set defaults for options accessible from the VM view menu, but perhaps worth experimenting with? The only Linux VM I have in virt-manager used the spice display manager by default. If you are using spice too, this https://stackoverflow.com/questions/41990600/virt-manager-guest-resize-not-working suggests spice-guest-tools is required for Windows clients, with link to download page Does any of that help? Best wishes Gareth
Re: QEMU/KVM virt-manager Problem
> On 2 May 2024, at 17:47, Gareth Evans wrote: > > > >> On 2 May 2024, at 15:43, Stephen P. Molnar wrote: >> >> I am running Bookworm and have implemented QEMU/KVM virt-manager. When I >> install a client I have been using virt-manager --> View -->Scale Display >> --> Always. However, now the 'Always ', the only option available is the >> default 'Only when Fullscreen'. > > Is Bookworm the VM client too? With GUI? Does this happen for all clients, > just one, or one type? > > Off the top of my head, I think the scale always option may disappear if the > guest display doesn't support it - I seem to recall VirtualBox Guest > Additions being required for this functionality for some guests in VirtualBox > (which I acknowledge you are not using, I'm just saying...) so I don't think > it's "straightforward" functionality What video protocol are you using? spice-vdagent is mentioned here a few comments down https://forum.manjaro.org/t/virt-manager-scale-display-not-working/138275/3
Re: QEMU/KVM virt-manager Problem
> On 2 May 2024, at 15:43, Stephen P. Molnar wrote: > > I am running Bookworm and have implemented QEMU/KVM virt-manager. When I > install a client I have been using virt-manager --> View -->Scale Display --> > Always. However, now the 'Always ', the only option available is the default > 'Only when Fullscreen'. Is Bookworm the VM client too? With GUI? Does this happen for all clients, just one, or one type? Off the top of my head, I think the scale always option may disappear if the guest display doesn't support it - I seem to recall VirtualBox Guest Additions being required for this functionality for some guests in VirtualBox (which I acknowledge you are not using, I'm just saying...) so I don't think it's "straightforward" functionality
Re: Debian 11 Xfce panel Network Manager applet has disappeared
> On 20 Apr 2024, at 16:49, David Christensen wrote: > > On 4/14/24 05:29, David Christensen wrote: >> debian-user: >> I have a Dell Latitude E6520: >> 2024-04-14 04:28:39 dpchrist@laalaa ~ >> $ cat /etc/debian_version ; uname -a >> 11.9 >> Linux laalaa 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 >> GNU/Linux >> 2024-04-14 04:34:40 dpchrist@laalaa ~ >> $ dpkg-query -l xfce4 network-manager network-manager-gnome >> Desired=Unknown/Install/Remove/Purge/Hold >> | >> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) >> ||/ Name Version Architecture Description >> +++-=---= >> ii network-manager 1.30.6-1+deb11u1 amd64network management >> framework (daemon and userspace tools) >> ii network-manager-gnome 1.20.0-3 amd64network management >> framework (GNOME frontend) >> ii xfce4 4.16 all Meta-package for the >> Xfce Lightweight Desktop Environment >> I have used the Xfce panel Network Manager applet for many years. Tonight, I >> noticed that it has disappeared (!). > > > I compared the problem machine against another with a working Xfce panel > Network Manager applet, and discovered that the Status Tray Plugin was > missing. I may have deleted Status Tray Plugin while cleaning, but did not > notice the change immediately (?). > > > So, I added Status Tray Plugin and now Network Manager has returned Glad you solved it and thanks for explaining how. I hadn't twigged that "status tray" was a separate thing to "notification plugin" in XFCE (hence my earlier nomenclature) though on inspection, there it is indeed!
Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared
On Thu 18/04/2024 at 11:05, David Christensen wrote: > Move aside the ~/.config/xfce4 directory: > ... > Restart -- screen with wallpaper alone. > ... Hi David, Starting from Mate DE only and some old (bookworm) XFCE config files, if I: $ sudo apt install task-xfce-desktop then log out and into XFCE, I get an XFCE desktop with wallpaper, desktop icons, panel, main menu, launchers, window buttons, notification area. Then I: $ mv ~/.config/xfce4 ~/.config/xfce4.old then logout and into XFCE again, I get wallpaper, desktop icons, panel, main menu, window buttons, notification area, but only non-functional launcher placeholder icons. $ diff ~/.config/xfce4 ~/.config/xfce4.old Common subdirectories: /home/user/.config/xfce4/desktop and /home/user/.config/xfce4.old/desktop Only in /home/user/.config/xfce4.old: panel } Only in /home/user/.config/xfce4.old: src } <-- these are subdirectories Only in /home/user/.config/xfce4.old: terminal} Common subdirectories: /home/user/.config/xfce4/xfconf and /home/user/.config/xfce4.old/xfconf Common subdirectories: /home/user/.config/xfce4/xfwm4 and /home/user/.config/xfce4.old/xfwm4 $ (though there probably wasn't much there to start with) I'm not sure what would cause this difference in behaviour (though wonder if this might suggest more amiss with your XFCE installation) and I will watch this thread with interest. Also I just "rediscovered" that reinstalling task-xfce-desktop doesn't reinstall those packages which it brings in in the first place, though I'm sure you knew that :) Sorry I couldn't be of more help. Best wishes, Gareth
Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared
On Wed 17/04/2024 at 19:41, David Christensen wrote: > Forwarded Message > Subject: Re: Debian 11 Xfce panel Network Manager applet has disappeared > Date: Wed, 17 Apr 2024 11:38:49 -0700 > From: David Christensen > To: Gareth Evans > > On 4/17/24 03:47, Gareth Evans wrote: >> On Wed 17/04/2024 at 09:18, David Christensen >> wrote: >>> On 4/16/24 08:56, Gareth Evans wrote: >>>> On 16 Apr 2024, at 00:18, David Christensen >>>> wrote: >>>>> On 4/15/24 09:21, Gareth Evans wrote: >>>>>>> On Sun 14/04/2024 at 13:29, David Christensen wrote: >>>>>>> ... >>>>>>> I have used the Xfce panel Network Manager applet for many years. >>>>>>> Tonight, I noticed that it has disappeared (!). >>>>>>> ... >>>>> 2024-04-15 16:08:23 dpchrist@laalaa ~ >>>>> $ ps aux | grep nm-applet >>>>> dpchrist1518 0.1 0.2 426500 35380 ?Sl 16:06 0:00 >>>>> nm-applet >>>>> dpchrist1940 0.0 0.0 3240 644 pts/0S+ 16:15 0:00 grep >>>>> nm-applet >>>>> >>>>> 2024-04-15 16:15:12 dpchrist@laalaa ~ >>>>> $ nm-applet >>>>> >>>>> 2024-04-15 16:15:31 dpchrist@laalaa ~ >>>>> $ ps aux | grep nm-applet >>>>> dpchrist1518 0.1 0.2 426500 35380 ?Sl 16:06 0:00 >>>>> nm-applet >>>>> dpchrist1952 0.0 0.0 3240 644 pts/0S+ 16:15 0:00 grep >>>>> nm-applet >>>> >>>> That seems to show it's running from the outset, just not being displayed >>>> on the panel. >>>> >>>> Does rebooting (or logging out and in again) bring it back? >>> >>> >>> No. >> >> OK. You may have checked this already, but in case not, if I install XFCE >> and go to >> >> Settings > Session and Startup > Application Autostart >> >> there is an entry in the list called >> >> "Network (Manage your network connections)" > > > It is checked. > > >> which shows a tooltip of "command: nm-applet" > > > Command: nm-applet > > >> Might this somehow have become unset? >> >> I'm not sure if it's possible for GUI config helpers to become detached from >> actual settings - this seems to describe the relevant locations: >> >> https://unix.stackexchange.com/questions/669372/xfce4-session-and-startup-where-are-autostart-items-saved > > > 2024-04-17 11:21:06 dpchrist@laalaa ~ > $ grep nm-applet ~/.config/autostart > grep: /home/dpchrist/.config/autostart: No such file or directory > > 2024-04-17 11:33:11 dpchrist@laalaa ~ > $ find .config -name autostart > > 2024-04-17 11:33:22 dpchrist@laalaa ~ > $ > > > 2024-04-17 11:34:14 dpchrist@laalaa ~ > $ grep -r nm-applet /etc/xdg/autostart > /etc/xdg/autostart/nm-applet.desktop:Exec=nm-applet > /etc/xdg/autostart/nm-applet.desktop:X-GNOME-Bugzilla-Component=nm-applet > > > My WAG is that nm-applet is failing to start, but I have been unable to > find if and where any error message is reported. There is apparently a long history of nm-applet/XFCE panel-related issues (and not many great answers), as evidenced by such as https://bbs.archlinux.org/viewtopic.php?id=161998 https://forum.xfce.org/viewtopic.php?id=6105 https://superuser.com/questions/900490/networkmanager-icon-on-notification-area-is-not-present If you get ps output like this directly after a reboot: >>>>> $ ps aux | grep nm-applet >>>>> dpchrist1518 0.1 0.2 426500 35380 ?Sl 16:06 0:00 >>>>> nm-applet then I don't think the issue is with the starting/running of nm-applet itself, but rather some issue with the notification plugin, which I'm not sure how to begin troubleshooting. I reluctantly abandoned XFCE partly due to panel instability some time ago. The advice in the final link to rm -rf ~/.config/xfce* might be a bit extreme, but I might try renaming it to force a rebuild on next login, and possibly reinstall task-xfce-desktop (or selected packages) Would be interesting to hear from anyone with XFCE panel troubleshooting experience. Best wishes, Gareth
Re: Debian 11 Xfce panel Network Manager applet has disappeared
On Sun 14/04/2024 at 13:29, David Christensen wrote: > debian-user: > > I have a Dell Latitude E6520: > > 2024-04-14 04:28:39 dpchrist@laalaa ~ > $ cat /etc/debian_version ; uname -a > 11.9 > Linux laalaa 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) > x86_64 GNU/Linux > > 2024-04-14 04:34:40 dpchrist@laalaa ~ > $ dpkg-query -l xfce4 network-manager network-manager-gnome > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version Architecture Description > +++-=---= > ii network-manager 1.30.6-1+deb11u1 amd64network > management framework (daemon and userspace tools) > ii network-manager-gnome 1.20.0-3 amd64network > management framework (GNOME frontend) > ii xfce4 4.16 all Meta-package > for > the Xfce Lightweight Desktop Environment > > > I have used the Xfce panel Network Manager applet for many years. > Tonight, I noticed that it has disappeared (!). > > > But, the machine is connected to my LAN: > > 2024-04-14 05:24:10 root@laalaa ~ > # ifconfig wlp3s0 > wlp3s0: flags=4163 mtu 1500 > inet 192.168.REDACTED netmask 255.255.255.0 broadcast > 192.168.REDACTED > inet6 REDACTED prefixlen 64 scopeid 0x20 > ether REDACTED txqueuelen 1000 (Ethernet) > RX packets 5786 bytes 2830592 (2.6 MiB) > RX errors 0 dropped 119 overruns 0 frame 0 > TX packets 3897 bytes 518278 (506.1 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > > Looking in the the Xfce panel Application Menu, I am unable to find > Network Manager. > > > Looking at the Debian WIKI page "NetworkManager": > > https://wiki.debian.org/NetworkManager > > > It looks like the Network Manager daemon is running: > > 2024-04-14 04:32:49 dpchrist@laalaa ~ > $ ps -A | grep -i network > 828 ?00:00:00 NetworkManager > > > nm-applet(1) looks like the program I want (?). Attempting to start it > via a terminal has no effect: > > 2024-04-14 04:40:25 dpchrist@laalaa ~ > $ which nm-applet > /usr/bin/nm-applet > > 2024-04-14 05:27:05 dpchrist@laalaa ~ > $ nm-applet > > 2024-04-14 05:27:08 dpchrist@laalaa ~ > $ > > > RTFM nm-applet(1), it seems the desktop session manager is failing to > start nm-applet(1) (?): > > 2024-04-14 04:58:49 dpchrist@laalaa ~ > $ man nm-applet | cat > ... > DESCRIPTION > nm-applet is a GTK-based GUI applet to monitor network status > and devices and to start and stop network connections managed > by NetworkManager. nm-applet is normally started at login by > the desktop session manager and does not need to be run manu- > ally. nm-applet conforms to the XDG System Tray specification > and requires that the desktop environment provide a System Tray > implementation in which the applet will be embedded. > > > I am unable to find relevant error messages under /var/log. > > > The network Connection Editor can be run via a terminal: > > 2024-04-14 04:55:29 dpchrist@laalaa ~ > $ which nm-connection-editor > /usr/bin/nm-connection-editor > > 2024-04-14 04:55:38 dpchrist@laalaa ~ > $ nm-connection-editor > > > Does anyone know why the Network Manager Xfce panel applet is missing, > how to get it back, and/or how to start it some other way? > > > David Hi David, I can't speak for XFCE, but certainly for Mate there was a time when multiple notification area panel widgets were available, not all of which would show everything to be expected. Is that a possibility? Does $ ps aux |grep nm-applet show anything? Before or after $ nm-applet ?
Re: Debian 12.5.0 amd64 and OpenZFS bug #15526
On Mon 25/03/2024 at 23:40, David Christensen wrote: > On 3/25/24 15:05, Gareth Evans wrote: >> On Fri 22/03/2024 at 21:01, Gareth Evans wrote: >>> As anyone interested can see from the ref to #15933 in the below, there >>> seems to have been considerable effort in getting to grips with this bug >>> (actually multiple bugs), and it looks like a fix may be forthcoming, >>> though not sure at the time of writing if there may be some further >>> polishing first >>> >>> https://github.com/openzfs/zfs/pull/16019 >> >> https://github.com/openzfs/zfs/issues/15933 >> >> is now closed as completed with fix >> >> https://github.com/openzfs/zfs/commit/102b468b5e190973fbaee6fe682727eb33079811 >> >> which for the moment necessarily adds synchronous writes. >> >> FYI. >> Gareth > > > Thank you for keeping an eye on this. > > > Looking at the github commit, the C code makes me worry -- it does not > appear to use traditional C/C++ thread-safe programming techniques such > as I learned in CS and used when I did systems programming (e.g. guard > functions, critical sections, locks, semaphores, etc.). > Do I need to > look at more enclosing code to see such, are those techniques missing, > are there some newer techniques I do not understand, or something else? I don't know, I will have a look too, though my C[++] is almost as rusty as my Rust :) G
Re: Debian 12.5.0 amd64 and OpenZFS bug #15526
On Fri 22/03/2024 at 21:01, Gareth Evans wrote: > As anyone interested can see from the ref to #15933 in the below, there seems > to have been considerable effort in getting to grips with this bug (actually > multiple bugs), and it looks like a fix may be forthcoming, though not sure > at the time of writing if there may be some further polishing first > > https://github.com/openzfs/zfs/pull/16019 https://github.com/openzfs/zfs/issues/15933 is now closed as completed with fix https://github.com/openzfs/zfs/commit/102b468b5e190973fbaee6fe682727eb33079811 which for the moment necessarily adds synchronous writes. FYI. Gareth
Re: Debian 12.5.0 amd64 and OpenZFS bug #15526
> On 27 Feb 2024, at 23:47, Gareth Evans wrote: > On Tue 27/02/2024 at 22:52, David Christensen > wrote: >> ... >> These appear to be the ZFS packages for the available Debian releases: >> >> https://packages.debian.org/buster/zfs-dkms >> >> busterzfs-dkms (0.7.12-2+deb10u2) >> buster-backportszfs-dkms (2.0.3-9~bpo10+1) >> bullseyezfs-dkms (2.0.3-9+deb11u1) >> bullseye-backportszfs-dkms (2.1.11-1~bpo11+1) >> bookwormzfs-dkms (2.1.11-1) >> bookworm-backportszfs-dkms (2.2.2-4~bpo12+1) >> trixiezfs-dkms (2.2.2-4) >> >> >> The question is, how far back to go? Is OpenZFS 2.1.x buggy? OpenZFS >> 2.0.x? What is 0.7.12 -- OpenZFS, ZFS-on-Linux, or something else -- >> and is it buggy? > > This seems to be very "involved"! The discussion in #15526 suggests a > coreutils upgrade (particularly re. "cp") in combination with the addition of > the zpool block cloning feature seems to have triggered the issue, which may > have gone undetected for some time. > >>> After downgrading coreutils from 9.3 to 8.32, I am no longer able to >>> reproduce this corruption. >> This seems to solve the corruption issue on my end too. > -- https://github.com/openzfs/zfs/issues/15526#issuecomment-1810472547 > > See also > https://www.reddit.com/r/zfs/comments/1826lgs/psa_its_not_block_cloning_its_a_data_corruption/ > > Debian users can't follow the gentoo/emerge-based reproduction/trigger steps > for build of golang in > https://github.com/openzfs/zfs/issues/15526 (for zfs 2.2.0) > and > https://github.com/openzfs/zfs/issues/15933 (for 2.2.3) > > If anyone can recommend steps to debianise these (15933 seem most likely to > be useful, and slightly different), I would be happy to test openzfs 2.2.2-4 > from bookworm-backports on deb 12.5 > > Given that the original gentoo reporter, who seems to have tested > extensively, considered the issue closed after upgrade to openzfs 2.2.2 > > https://bugs.gentoo.org/917224#c26 > > I wonder if the 2.2.3 issue is similar/related, or perhaps there are multiple > triggers. > > Watching with interest. > > Best wishes, > Gareth > As anyone interested can see from the ref to #15933 in the below, there seems to have been considerable effort in getting to grips with this bug (actually multiple bugs), and it looks like a fix may be forthcoming, though not sure at the time of writing if there may be some further polishing first https://github.com/openzfs/zfs/pull/16019
Re: images in Perl/Tk
On Tue 19/03/2024 at 12:00, mick.crane wrote: > On 2024-03-19 00:42, Michael Lange wrote: >> Hi, >> >> On Mon, 18 Mar 2024 19:23:39 + >> "mick.crane" wrote: >> >>> I try to load images with Perl/Tk but there is message, >>> "couldn't recognize data in image file "test.jpeg" at >>> /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21" >>> I've tried different images/pngs/jpgs with same error. >>> images load OK in other viewers. >>> Installed tkpng with apt. >>> >>> Anybody successfully used images with Perl/Tk? >>> Would Tk::JPEG/Tk::PNG from cpan be happy with the Debian Tk and may >>> possibly help recognise the file format? >>> Or is there some 'pruning' of the images, made with Gimp, needed to >>> work with Tk? >>> >>> mick >>> >> >> I never used Tk with Perl, but first, you do not need tkpng for png >> images anymore, pngs have been supported natively by Tk for years. >> Maybe >> tkpng is broken (as at least some versions of img::png that came with >> debian have been)? >> Second, Tk does not support jpegs without third-party >> extensions; probably img::jpeg can help, so you could try to >> install libtk-img with apt and then do the Perl equivalent of >> >>package require img::jpeg > > Made an image, saved as .bmp, gif, ppm, pnm, tif, png, jpg > #!/usr/bin/perl > use warnings; > use strict; > use Image::Imlib2; > my $image=Image::Imlib2->new(400,400); > $image->has_alpha(1); > $image->set_color(255,0,0,255); > $image->fill_rectangle(0,0,400,400); > $image->save('./images/red.png'); > > try to display image in Perl/Tk > #!/usr/bin/perl > use strict; > use warnings; > use Tk; > my $mw = MainWindow->new; > $mw->title("Test"); > my $image = $mw->Photo(-file => "images/red.bmp"); > my $image_label = $mw->Label(-image => $image)->pack; > MainLoop; > > Only the .bmp file displays other files have error. > > "Uncaught exception from user code: > couldn't recognize data in image file "images/red.png" at > /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21. > Tk::Image::new("Tk::Photo", MainWindow=HASH(0x560632dc9098), "-file", > "images/red.png") called at > /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 63 > Tk::Image::__ANON__(MainWindow=HASH(0x560632dc9098), "-file", > "images/red.png") called at ./test-image.pl line 8" > > I've installed > Tk, libgraphics-magick-perl, libimage-imlib2-perl, tkagif, tkblt, tklib, > libtk-img, tkpng. > > Now that I know .bmp works I can use that. > Wonder tho' why others don't display, Bookworm and Trixie. > If there is some other module to include I can't discover what it's name > is as yet. > Tk::Photo is a module but seems to be included in Perl/Tk > I'm not really understanding if the Perl/Tk is a rewrite or an interface > to Tk modules. > mick Hi Mick, With the qualification that it's been years since I've done anything much with Perl... $ apt search perl-tk perl-tk/stable,now 1:804.036-1+b2 amd64 [installed,automatic] Perl module providing the Tk graphics library $ apt search tkpng tkpng/stable 0.9-3+b1 amd64 PNG photo image support to Tcl/Tk<--- isn't this "not for perl"? I couldn't find any reference to "tkpng" in https://metacpan.org/dist/Tk but there is: Tk::PNG - PNG loader for Tk::Photo (in the table there is no hyphen but wider gap) Someone had a similar problem with Strawberry Perl on Windows. Does this help? https://www.perlmonks.org/?node_id=1233724 HTH Gareth
Re: /boot/grub/grub.cfg hex number reference
> On 13 Mar 2024, at 19:00, Gareth Evans wrote: > > Hi Michael, I'm sorry - Michel
Re: /boot/grub/grub.cfg hex number reference
On Wed 13/03/2024 at 12:50, Michel Verdier wrote: > On 2024-03-13, Gareth Evans wrote: > >> That suggests perhaps something to do with an FS UUID, but it doesn't seem >> to appear in the output of any of >> >> # blkid > > Here I have them shown as UUID by blkid > > # grep root /boot/grub/grub.cfg > ... > search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 > --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 > 5210342e-548e-4c4d-a0e9-a5f6d13888d6 > ... > > # blkid|grep -i 5210342e > /dev/sdb2: UUID="5210342e-548e-4c4d-a0e9-a5f6d13888d6" ... > > hint-bios=hd0,gpt3 suggests its your 3rd partition on your first disk. > > Do you use raid ? Hi Michael, I'm currently using a single disk with ZFS, partitioned as $ sudo fdisk -l /dev/sda Disk identifier: 3405... Device Start End Sectors Size Type /dev/sda1 48 2047 2000 1000K BIOS boot /dev/sda2 2048 1050623 1048576 512M EFI System /dev/sda3 1050624 3147775 2097152 1G Solaris /usr & Apple ZFS /dev/sda4 3147776 250069646 246921871 117.7G Solaris root $ sudo grep root /boot/grub/grub.cfg search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 9cbef743dfafd874 <-- $ sudo blkid|grep 9cbe $ $ lsblk -o MODEL,NAME,LABEL,WWN,UUID,SERIAL,PTTYPE,PTUUID,PARTUUID|grep 9cbe $ /# ls -R|grep 9cbe some filenames contain a match to the substring searched for, but none match the 16-digit hex number fully. This excludes it appearing in any of the /dev/disk/by-*/ identifiers, which I have also checked separately just in case. I git cloned grub to see if I could make sense of how grub.cfg is generated. $ git clone https://git.savannah.gnu.org/git/grub.git According to NEWS for v1.97: > * update-grub is replaced by grub-mkconfig So after making some sense of grub-mkconfig.in, it turns out the 16-digit hex number is returned by # grub-probe --device /dev/sda3 --target=fs_uuid 9cbef743dfafd874 Given that the above command fails with --device /dev/sda4 (which is the running system's /), gpt3 appears to be sda3, ie. the boot partition, so --set=root in the grub.cfg search line presumably relates to the root of /boot. I'm still curious as to why it doesn't seem to appear anywhere else, how it was applied, and what exactly it applies to - a filesystem? This is not aiui the usual form of a UUID either. grub-probe.in or grub-install.c might hold answers. I will reply again if I discover anything informative. Thanks, Gareth
/boot/grub/grub.cfg hex number reference
Does anyone know what the 16-digit hex number (truncated below to 9cbe...) refers to in /boot/grub/grub.cfg, where it makes several appearances? # grep 9cbe -A2 -B2 /boot/grub/grub.cfg if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 9cbe... <--- else search --no-floppy --fs-uuid --set=root 9cbe... <--- fi That suggests perhaps something to do with an FS UUID, but it doesn't seem to appear in the output of any of # blkid # lsblk -o MODEL,NAME,LABEL,WWN,UUID,SERIAL,PTUUID,PARTUUID # zfs get all bpool|grep 9cbe # zfs get all rpool|grep 9cbe # zpool get all bpool|grep 9cbe # zpool get all rpool|grep 9cbe The previous hex number appeared in a grub error ("no such device: ") after a failed update-grub, either after recreating the boot partition or the ZFS boot pool on it, or both. This caused a delay during boot of approx 10s while being invited to "press any key to continue" immediately. After running update-grub, the hex number was replaced with another in grub.cfg, and the error message and boot delay disappeared. For info: There is currently a bug in grub whereby if a ZFS boot pool is snapshotted at the top level, the compression type "inherit" can result in the grub error "compression algorithm inherit not supported", and a broken boot process, which is what I was sorting out when I noticed this. https://github.com/openzfs/zfs/issues/13873 https://savannah.gnu.org/bugs/index.php?64297 According to some comments on github, it doesn't seem to be definitively fixed in grub 2.12, not that I have tried. Snapshotting boot pool datasets is said to be OK. Thanks, Gareth
Re: debian-devel wishlist "bugs"
On Fri 01/03/2024 at 05:30, Jeffrey Walton wrote: > On Fri, Mar 1, 2024 at 12:22 AM Gareth Evans wrote: >> >> I'm subscribed to debian-devel for entertainment purposes and see regular >> wishlist "bug" reports, eg. >> >> https://lists.debian.org/debian-devel/2024/02/msg00321.html >> >> Can anyone advise of the appropriate way for non-developers to >> request/suggest inclusion of packages? > > Open a bug report against the wnpp package. See > <https://wiki.debian.org/RFP> and <https://wiki.debian.org/WNPP>. > >> Freenginx doesn't seem to be in testing but might be a worthwhile addition. > > <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063916> > > Jeff I asked if the project might provide debs/rpms which resulted in a response re Debian-legal. Not looking good for Debian/Ubuntu inclusion at least in binary form. https://freenginx.org/pipermail/nginx/2024-March/60.html Just FYI Gareth
Re: {OT] Mailing lists etc for postmasters
On Fri 01/03/2024 at 11:16, Andy Smith wrote: > Hi, > > On Fri, Mar 01, 2024 at 11:00:13AM +0000, Gareth Evans wrote: >> "Don’t impersonate Gmail From: headers. Gmail will begin using a DMARC >> quarantine enforcement policy, and impersonating Gmail From: headers might >> impact your email delivery." > > Talks about gmail's own use of DMARC, not the sender's. That makes perfect sense :) >> Can a "DMARC quarantine enforcement policy" operate, if the sender >> doesn't use DMARC? This idea seems to relate more to SPF than >> anything? > > gmail's own policy is quarantine so if you send from somewhere that > isn't gmail, while pretending to be from a gmail property, gmail > indicates that it wishes¹ for your email to be quarantined by the > recipient. So does that. > Thanks,. > Andy > > ¹ Even receiving sites that process DMARC sometimes don't carry out > the DMARC author's wishes. As a common example that most of us > will have seen, Mailman mailing lists will often just selectively > rewrite the headers. Yes. Thanks very much. G > > -- > https://bitfolk.com/ -- No-nonsense VPS hosting
Re: {OT] Mailing lists etc for postmasters
On Fri 01/03/2024 at 11:00, Gareth Evans wrote: > This idea seems to relate more to SPF than anything? Or DKIM, indeed, as you say Andy, at least one of which is the authentication component. Documentation could be clearer. Thanks G
Re: {OT] Mailing lists etc for postmasters
On Fri 01/03/2024 at 09:18, Andy Smith wrote: > Just for the record, the Authentication part of DMARC is done with > SPF and/or DKIM; the large mailbox providers actually (since 1 Feb) > require *either* SPF *or* DKIM passes, or both if you are a bulk > sender (thousands of mails per day). > > DMARC itself remains optional (but recommended) and once taken > separately from SPF and DKIM is mainly a reporting mechanism. https://support.google.com/a/answer/81126?hl=en#requirements-5k=%2Crequirements-for-sending-or-more-messages-per-day%2Crequirements-for-all-senders mentions DMARC in requirements for all senders: "Don’t impersonate Gmail From: headers. Gmail will begin using a DMARC quarantine enforcement policy, and impersonating Gmail From: headers might impact your email delivery." but only explicitly requires it in requirements for senders of >5,000 messages a day: "Set up DMARC email authentication for your sending domain ..." ...which is not quite as clear as it might be. Can a "DMARC quarantine enforcement policy" operate, if the sender doesn't use DMARC? This idea seems to relate more to SPF than anything?
Re: debian-devel wishlist "bugs"
> On 1 Mar 2024, at 02:29, John Hasler wrote: > > https://wiki.debian.org/RFP > -- > John Hasler > j...@sugarbit.com > Elmwood, WI USA Excellent thanks G
debian-devel wishlist "bugs"
I'm subscribed to debian-devel for entertainment purposes and see regular wishlist "bug" reports, eg. https://lists.debian.org/debian-devel/2024/02/msg00321.html Can anyone advise of the appropriate way for non-developers to request/suggest inclusion of packages? Freenginx doesn't seem to be in testing but might be a worthwhile addition. https://freenginx.org/ Thanks, Gareth
{OT] Mailing lists etc for postmasters
I have somehow only just discovered that Gmail, Apple and Yahoo are introducing, or have recently introduced, DMARC requirements for senders. See for exmaple https://www.proofpoint.com/us/blog/email-and-cloud-threats/google-and-yahoo-set-new-email-authentication-requirements Can anyone recommend good mailing lists or other resources for people who look after email servers/services? It takes up little of my work, but an area of interest. I half expected to be able to find mailing lists for postmasters run by the big email service providers, but ddg was bare. Gmail's blog looks more marketingy than anything, but potentially useful https://blog.google/products/gmail/ I am subscribed to mailop (though don't read it as often as I should!) but from a mail search there doesn't seem to have been anything there about this recently. Many thanks, Gareth
Re: Debian 12.5.0 amd64 and OpenZFS bug #15526
On Tue 27/02/2024 at 22:52, David Christensen wrote: > ... > These appear to be the ZFS packages for the available Debian releases: > > https://packages.debian.org/buster/zfs-dkms > > busterzfs-dkms (0.7.12-2+deb10u2) > buster-backports zfs-dkms (2.0.3-9~bpo10+1) > bullseye zfs-dkms (2.0.3-9+deb11u1) > bullseye-backportszfs-dkms (2.1.11-1~bpo11+1) > bookworm zfs-dkms (2.1.11-1) > bookworm-backportszfs-dkms (2.2.2-4~bpo12+1) > trixiezfs-dkms (2.2.2-4) > > > The question is, how far back to go? Is OpenZFS 2.1.x buggy? OpenZFS > 2.0.x? What is 0.7.12 -- OpenZFS, ZFS-on-Linux, or something else -- > and is it buggy? This seems to be very "involved"! The discussion in #15526 suggests a coreutils upgrade (particularly re. "cp") in combination with the addition of the zpool block cloning feature seems to have triggered the issue, which may have gone undetected for some time. >> After downgrading coreutils from 9.3 to 8.32, I am no longer able to >> reproduce this corruption. > This seems to solve the corruption issue on my end too. -- https://github.com/openzfs/zfs/issues/15526#issuecomment-1810472547 See also https://www.reddit.com/r/zfs/comments/1826lgs/psa_its_not_block_cloning_its_a_data_corruption/ Debian users can't follow the gentoo/emerge-based reproduction/trigger steps for build of golang in https://github.com/openzfs/zfs/issues/15526 (for zfs 2.2.0) and https://github.com/openzfs/zfs/issues/15933 (for 2.2.3) If anyone can recommend steps to debianise these (15933 seem most likely to be useful, and slightly different), I would be happy to test openzfs 2.2.2-4 from bookworm-backports on deb 12.5 Given that the original gentoo reporter, who seems to have tested extensively, considered the issue closed after upgrade to openzfs 2.2.2 https://bugs.gentoo.org/917224#c26 I wonder if the 2.2.3 issue is similar/related, or perhaps there are multiple triggers. Watching with interest. Best wishes, Gareth
Re: Debian 12.5.0 amd64 and OpenZFS bug #15526
On Tue 27/02/2024 at 04:52, Gareth Evans wrote: > https://github.com/openzfs/zfs/issues/15933 > > seems to suggest that or a similar issue is still ongoing with Open ZFS > 2.2.3 ... I wonder if that might be a regression, since what I think is the same issue as openzfs #15526 appeared to be resolved in ZFS 2.2.2 "I've been unable to reproduce this after upgrading to zfs-2.2.2" https://bugs.gentoo.org/917224 I imagine openzfs problems (and solutions) are likely to be the same across distributions? Kind regards, G
Re: Debian 12.5.0 amd64 and OpenZFS bug #15526
Replied to OP by mistake, reposting to list. On Sun 25/02/2024 at 05:34, David Christensen wrote: > debian-user: > > Is Debian 12.5.0 amd64 affected by OpenZFS bug #15526? > > https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.5.0-amd64-netinst.iso > > https://packages.debian.org/bookworm/zfs-dkms > > https://github.com/openzfs/zfs/issues/15526 Hi David, Given the complexity of the issues, I'm not sure if this truly answers your question, but https://github.com/openzfs/zfs/issues/15933 seems to suggest that or a similar issue is still ongoing with Open ZFS 2.2.3, which is later than the version currently available from bookworm or bookworm-backports. It seems bookworm-backports might eventually provide the solution, if at all, per the Debian wiki on ZFS: "it is recommended by Debian ZFS on Linux Team to install ZFS related packages from Backports archive. Upstream stable patches will be tracked and compatibility is always maintained." https://wiki.debian.org/ZFS Currently: $ apt policy zfs-dkms zfs-dkms: Installed: 2.2.2-4~bpo12+1 Candidate: 2.2.2-4~bpo12+1 Version table: *** 2.2.2-4~bpo12+1 100 100 https://deb.debian.org/debian bookworm-backports/contrib amd64 Packages 100 https://deb.debian.org/debian bookworm-backports/contrib i386 Packages 100 /var/lib/dpkg/status 2.1.11-1 500 500 https://deb.debian.org/debian bookworm/contrib amd64 Packages 500 https://deb.debian.org/debian bookworm/contrib i386 Packages Hope that helps. Gareth
Re: script/history
On Mon 05/02/2024 at 00:45, Greg Wooledge wrote: ... > If you're one of these "I want every command I ever run to be in my > shell history, retained forever, and I don't care how much space it > takes" people, then there are web pages out there that can help you. > I don't follow that philosophy myself, so I can't give you specific > variables and settings. But Google can. I find a long history useful, and have already googled for such, though I should perhaps rotate it at some point :) Thanks for the detailed explanation. G
Re: script/history
(Re)posting the below as requested, and can confirm history -r seems to have the desired effect. Thanks. - Original message - From: Will Mengarini To: Gareth Evans Cc: debian-user@lists.debian.org Subject: Re: script/history Date: Monday, 5 February 2024 01:02 * Gareth Evans [24-02/04=Su 09:46 +]: > Re the script command, does anyone know of a way to make > commands run during a script session appear in bash history too? You want the 'history -r' command, "explained" by `help history`. After you end the script, you're back in the bash instance you ran 'script' from. When you ended the script & therefore the bash being run in that script, that bash wrote its commands to ~/.bash_history; but the bash you're running, which is the one you ran script from, hasn't read that ~/.bash_history. Running 'history -r' will cause it to do so. BTW I've got some kind of email configuration problem that usually prevents me from posting to debian-user, even though I can usually email individual users. Gareth, if you get this, and it's the correct solution to your original problem, perhaps you could post it to the list; this email is CCd to debian-user, but I expect the CC to bounce.
Re: script/history
On Sun 04/02/2024 at 19:45, David Wright wrote: ... > According to this man page for csh (but includes tcsh): > > https://linux.die.net/man/1/csh > > the "a" that modifies modifiers is a "[feature] of tcsh not found > in most csh(1) implementations (specifically, the 4.4BSD csh)". It > appears that bash supports it syntactically, but not its semantics. > I'm not sure why you mentioned this shell detail specifically. I was just highlighting a way to see if behaviour differs between bash "proper" and script running in bash. cf. "a (+) Apply the following modifier as many times as possible to a single word ..." https://linux.die.net/man/1/csh "a Cause changes to be applied over the entire event line ..." https://www.gnu.org/software/bash/manual/bash.html#Word-Designators Thanks Gareth
Re: script/history
On Sun 04/02/2024 at 17:33, Greg Wooledge wrote: ... > The script(1) utility has NOTHING to do with running ordinary shell > scripts. I understand that. I was trying to view the history of commands run during a script session. user@qwerty:~$ script foo Script started, output log file is 'foo'. user@qwerty:~$ date Mon 5 Feb 00:21:16 GMT 2024 user@qwerty:~$ exit exit Script done. user@qwerty:~$ history |tail -n3 30914 2024-02-04 23:44:24 man script 30915 2024-02-05 00:21:15 script foo 30916 2024-02-05 00:21:25 history |tail -n3 # NB "date" is missing Michael Grant pointed out (among other things) that the history is available, but not in the terminal in which script has just exited. Meanwhile, I read man script and wondered if csh, or even just csh's approach to history manipulation, was somehow involved. I was then a little surprised to see user@qwerty:~$ csh # bash prompt % script foo # csh prompt Script started, output log file is 'foo'. user@qwerty:~$ date# bash prompt in script in csh in bash Sun 4 Feb 23:25:14 GMT 2024 user@qwerty:~$ exit exit Script done. % exit % exit user@qwerty:~$ although on a "native" csh system, I would expect script to "present" csh, not bash. I I am left with the impression that script may impose csh's history substitution/manipulation approach/syntax (for what differences there may be) regardless of which shell it's running from, and that that is the reason for the reference to csh for the "history mechanism" in man script. Thanks Gareth
Re: script/history
On Sun 04/02/2024 at 13:24, Max Nikulin wrote: > On 04/02/2024 16:46, Gareth Evans wrote: >> Re the script command, does anyone know of a way to make commands run during >> a script session appear in bash history too? > [...] >> man script says >> >> "SEE ALSO >> csh(1) (for the history mechanism)" >> >> but >> >> $ man csh >> No manual entry for csh > > echo $SHELL > > If you really use BASH then install bash-doc, it contains manual in > various formats, including texinfo (info "bash") or read it online > https://www.gnu.org/software/bash/manual/ > it describes some options related to history handling Actually "man > bash" is something rather close, but it does not allow to save links to > specific sections. Hi Max, Thanks for links and suggestions. It seemed to me initially (as I should perhaps have stated) that man script was suggesting that csh was a component or depedency (of script), which seemed to be contradicted by it not being installed. On reflection, possibly, it's just a way of doing things in script. The reference in man script now seems to imply the latter. The fact that script scripts bash on my machine made me not think about the fact that it probably scripts whatever shell it's running from, and was doubtless written with one in mind/as inspiration - csh might make a certain sense in that respect. script runs in bash if run from csh run from bash, but I suppose csh in that chain of shells isn't a proper [do I mean login?] shell. (Got that? :p) The function of the "a" option in History Substitution in man csh seems different in the bash version.(under "Word Designators" in man bash/gnu online manual) It'll be interesting to test when I can make sense of it :p Anyway, my orginal question has been answered. Thanks all. Gareth
script/history
Re the script command, does anyone know of a way to make commands run during a script session appear in bash history too? $ script foo.txt Script started, output log file is 'foo.txt'. $ date Sun 4 Feb 09:44:00 GMT 2024 $ exit exit Script done. $ history|tail -n2 30797 2024-02-04 09:43:57 script foo.txt 30798 2024-02-04 09:44:21 history|tail -n2 I did try to search on this but just got lots of "bash history" and "history in bash script" references. man script says "SEE ALSO csh(1) (for the history mechanism)" but $ man csh No manual entry for csh Thanks Gareth
Re: Probelms with apparmor
> On 1/31/24 17:58, Gareth Evans wrote: >> >>> On 31 Jan 2024, at 22:27, Steven Truppe wrote: >>> >>> Hey, >>> >>> >>> i've the follwoing trouble: when i try to run certain apps it takes >>> forever tostart. i can get rid of the troble by typing $service apparmor >>> reload but that's not a partmanent soutoin. >>> >>> can someone pleae help me out here ? >>> >>> >>> best regards! >>> >> Which apps? >> >> Is there any relevant output at the point at which a delay occurs, and >> perhaps just afterwards, if you start an affected program from the terminal? >> >> I wonder if aa-complain may be of use to you, but first things first... >> >> Thanks, >> Gareth Steven replied off-list, reposted here with permission: On Thu 01/02/2024 at 01:46, Steven Truppe wrote: > most of the time iit hands when he tried to open up a file selection dialog This doesn't sound like an apparmor issue to me, but it would be good to know if there is anything suggestive (of any issue) in the logs. # cat /var/log/syslog or # journalctl --system --no-pager You can append "|grep apparmor" to both of the above to filter for apparmor-related output, but it might be interesting to see if anything else is happening too. "|grep -v apparmor" will filter OUT apparmor stuff, which might be useful once you've seen it. What sort of disks does the system have, and how many? Do you have any remote filesystems, cloud "sync" facilities, etc, such as Google Drive? Which desktop environment are you using, if any? Thanks, Gareth
Re: Probelms with apparmor
On Wed 31/01/2024 at 23:04, Gareth Evans wrote: > On Wed 31/01/2024 at 22:11, Steven Truppe wrote: >> Hey, >> >> >> i've the follwoing trouble: when i try to run certain apps it takes >> forever tostart. i can get rid of the troble by typing $service apparmor >> reload but that's not a partmanent soutoin. >> >> can someone pleae help me out here ? >> >> >> best regards! > > I accidentally replied to the OP, rather than the list, with the below: > > Which apps? > > Is there any relevant output at the point at which a delay occurs, and > perhaps just afterwards, if you start an affected program from the > terminal? > > I wonder if aa-complain may be of use to you, but first things first... > > Thanks, > Gareth Also, anything relevant in /var/log/syslog or # journalctl --system ? G
Re: Probelms with apparmor
On Wed 31/01/2024 at 22:11, Steven Truppe wrote: > Hey, > > > i've the follwoing trouble: when i try to run certain apps it takes > forever tostart. i can get rid of the troble by typing $service apparmor > reload but that's not a partmanent soutoin. > > can someone pleae help me out here ? > > > best regards! I accidentally replied to the OP, rather than the list, with the below: Which apps? Is there any relevant output at the point at which a delay occurs, and perhaps just afterwards, if you start an affected program from the terminal? I wonder if aa-complain may be of use to you, but first things first... Thanks, Gareth
Re: su su- sudo dont work
> On 23 Jan 2024, at 18:30, Hans wrote: > > Am Dienstag, 23. Januar 2024, 13:54:25 CET schrieb Schwibinger Michael: > For gvetting root as normal user, best is use "su -". > > Note: It is not "su-", but "su -", with a space between su and the minus sign. Also su requires root's password, not the user's, just in case that's worth mentioning...
Re: Debian 12 System Requirement
Hi Keith, The versions of Nginx and MariaDB in Debian 12 are those you quoted below. The current version of PHP is 8.2. If you particularly need 8.2.7 this could be containerised. Information on Debian packages is available from https://www.debian.org/distrib/packages Debian 12 is the current "stable" distribution, which is the default option when searching. Best wishes, Gareth On Tue 23/01/2024 at 04:09, CHENG YING KIT KEITH wrote: > Dear Colleagues, > > Can I install Debian 11 or 12 with “Intel(R) Xeon(R) CPU E5-2699 v3 @ > 2.30GHz” CPU? > Do they both support the following application > Nginx 1.22.1 > PHP 8.2.7 > Mariadb 10.11.4 > > On the other hand, may I know the minimum requirement of Debian 11 and 12? > > Best Regards, > **Keith Cheng** | Officer (IT)/HQIP > Tel: 3907 6721 | Fax: 3165 1106 >
Re: no sound
> On 19 Jan 2024, at 05:56, Maureen L Thomas wrote: > > … I used Lucky Backup but I cannot figure out how to restore. I read the > book and it is confusing … Do you mean this? https://luckybackup.sourceforge.net/manual.html#restore If not, is it helpful? Best wishes, Gareth
Re: smartctl cannot access my storage, need syntax help
On Sat 13/01/2024 at 02:42, gene heskett wrote: > I just found an mbox file in my home directory, containing about 90 days > worth of undelivered msgs from smartctl running as root. > > smartctl says my raid10 is dying, but will not access the drives for > detail. The -d /dev/sde1 for instance generates a help msg saying it > needs a devicename as final argument, being run as "sudo smartctl -i -d > /dev/sde1". or as -i -d /dev/md0p1??? > Typical: sudo smartctl -i -d /dev/md0p1: > gene@coyote:~$ sudo smartctl -i -d /dev/md0p1 > smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) > Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org > > ERROR: smartctl requires a device name as the final command-line argument. > > > Use smartctl -h to get a usage summary > > > Instructions please... Hi Gene, You seem to be asking it to operate on partitions. smartctl -options /dev/sdX is the form, I believe, in which sdX must be a device, not a virtual thing such as MD, LVM etc.
Re: Bookworm and ZFS (zfs-dkms 2.1.11) data corruption bug
On Sat 13/01/2024 at 02:32, Gareth Evans wrote: > use of the actual "stable-backports" repo is not > recommended or implied. "implied" might be debatable given that was indeed my first thought, but not intended to be implied, it seems. Certainly not necessary.
Re: Bookworm and ZFS (zfs-dkms 2.1.11) data corruption bug
On Fri 12/01/2024 at 06:49, Jan Ingvoldstad wrote: > ... > It is far more concerning that one cannot trust that cp actually copies a > file, and this is a blocker for installing the ZFS packages in Debian. The update in bookworm-backports to 2.2.2-3 allegedly fixes this issue. I have installed it and at least rebooted :) I have had ZFS on root since Buster, and have upgraded to each new stable release since then. I had wondered recently if the Debian wiki's recommendation [1] of installing from "stable-backports", and the statement that "Upstream stable patches will be tracked and compatibility is always maintained" was to suggest use of the actual "stable-backports" repo, and that the compatibility guarantee meant that they cater for any potential ZFS issues arising for non-upgraded systems after new release time. On closer inspection, the line the wiki provides to add this to sources.list actually adds the codename-backports repo (currently "bookworm-backports"). "stable-backports" also appears to be an alias that apt understands as referring to {codename}-backports for whatever current stable is, and use of the actual "stable-backports" repo is not recommended or implied. Is the Debian wiki advice re installing ZFS from backports applicable in all circumstances? What would be the suggested approach for installing with ZFS on root or re-pointing apt at backports for ZFS immediately after [upgrading to] a new stable release? Do backports even exist at that point? If so, after a release upgrade, can you install the same version of eg. zfs-dkms from backports as a sort of special case for the purposes of changing the repo? Or do you just have to watch and wait for new ZFS backports? OpenZFS instructions [2] for root on ZFS suggest using bookworm not bookworm-backports, so I wondered if an initial lack of backports might be the reason. Thanks, Gareth [1] https://wiki.debian.org/ZFS#Status [2] https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bookworm%20Root%20on%20ZFS.html#step-1-prepare-the-install-environment
Re: Bookworm and ZFS (zfs-dkms 2.1.11) data corruption bug
> On 9 Jan 2024, at 06:41, Jan Ingvoldstad wrote: > > Hi, > > It seems that Bookworm's zfs-dkms package (from contrib) has the data > corruption bug that was fixed with OpenZFS 2.1.14 (and 2.2.2) on 2023-11-30. > > https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14 > > However, I see no relevant bug report in the bug tracker - have my searching > skills failed? > > -- > Jan This prompted me to look for updates. 2.2.2-3 is available in bookworm-backports. Is this, or a later version, likely to be made available in bookworm-updates? Does anyone have experience with the backports version? Thanks Gareth
Re: bookworm No printer, No sound
> On 8 Jan 2024, at 00:21, Thomas George wrote: > > nmap finds printer ,printer ip lan address. with lan address printer's state > can be read and test page printed > > Cups can install printer with a long ipp address, not wifi. Only the lpinfo > command works, the others are deprectiated, not working so it is not > possible to set an lp destination. > > xsane finds no devices > > gnome settings sound finds output device Speakers - Built-in audio > > pulseaudio volume port shows Speakers (plugged in) > > Both these show a fluctuating signal when mpv plays an audio file but > speakers are silent > > uname -a shows Debian 6.1.0-amd64 (2023-12--2) This does not change after > update and dist-upgrade. > > Any comments welcomed, > > Tom George > Hi Tom, Can you give the make and model of the printer please? What do you mean by > Cups can install printer with a long ipp address, not wifi. ? Do you mean cups doesn't automatically detect the printer? Also, have you tried the other lp... commands you refer to (I presume you mean lpadmin etc) with sudo, or as root? Thanks Gareth
Re: The bug (was: Is it safe to install Bookworm on a new machine now?)
Can anyone please explain: 1. Why upgrades of stable into a potentially seriously compromised state were allowed to continue, twice, rather than pulling the upgrades? or... 2. Why the best temporary solution isn't to revert the kernel to the last known good version so upgrades-other-than-kernel can continue? There may be some versioning jiggery-pokery needed, but doesn't the +deb12xxx (or other) naming convention take care of that? I'm sure I've seen packages previously with names like foo-1.3-really-1.2 This really doesn't seem to have been handled well from an official mitigation/communication pov. There only seems to have been a debian-announce announcement re 12.3 issues. I'm inclined to think there must be reasons why things that seem obvious have not been done, and keen to understand why, if so. Do 1 or 2 above involve disproportionate effort? Were there backwards-incompatible changes to other things (such as filesystems) in the latest kernel(s), so reversion = breakage for some upgraded systems unaffected by recent issues? Thanks, Gareth
Re: Recommended simple PDF viewer to replace Evince
On Mon 04/12/2023 at 23:12, Tom Browder wrote: > I have used Evince as my PDF viewer and printer program for many > years. It still works, but it has been spitting out error messages for > a very long time. to wit: > > (evince:81435): EvinceView-CRITICAL **: 16:44:57.520: \ > ev_pixbuf_cache_set_selection_list: \ > assertion 'EV_IS_PIXBUF_CACHE (pixbuf_cache)' failed > > The help option doesn't shed any light to me, but it does reference > the website. However, every time I've tried the site throws an error. > That also has been happening for a LONG time. > > I would like to use another program which is similar but has good > documentation. I don't need a heavy duty program like LibreOffice, > Just something for viewing and printing. > Hi Tom, I find Atril and Okular to be capable viewers, both with CLI options detailed in $ man {atril|okular} I sometimes find Atril less than snappy in displaying (and repainting) graphic-intensive PDFs. > A bonus would be one with documented CLI use with CUPS printers. What do you want to do that can't be done with (for example) $ lp file.pdf ? I'm not sure what you mean by "CLI use with CUPS printers". $ man evince includes "Print preview options [...] --print-settings %s %f This sends the full path of the PDF file, f, and the settings of the print dialog, s, to evince." If that was what you meant, I note there seems to be no equivalent documented for atril or okular, but I don't quite understand how "%s" is to be identified/specified etc. Some other application's print dialog? Perhaps you or other(s) can enlighten me. Thanks, Gareth
Re: Print flakes off mailing labels, use a fixative?
> On 3 Dec 2023, at 12:06, Gareth Evans wrote: > > ... I've never had a problem with laser-designated labels. I do have experience of toner falling off non-laser labels, so perhaps your laser labels are a duff batch, or perhaps they were mis-labelled :p G
Re: Print flakes off mailing labels, use a fixative?
> On 3 Dec 2023, at 11:39, Tom Browder wrote: > On Sat, Dec 2, 2023 at 5:17 PM Gareth Evans wrote: >> Are your labels "laser" labels? > > Yes, DUAL INKJET and LASER OK. I don't have much experience of label printing, but I've never had a problem with laser-designated labels. I would probably try a different brand. I wouldn't imagine it's a hardware issue if the toner fuses properly to paper. What's the printer model and type of toner in use? Thanks Gareth
Re: Print flakes off mailing labels, use a fixative?
> On 2 Dec 2023, at 19:37, Tom Browder wrote: > > I’ve had a print flaking problem with my old HP laser which has a fairly new > toner cartridge. I have a set of brand new Office Depot labels. > > I intend to try a “fixative” on them to see if that will help. > > Any other suggestions? > > Thanks. > > Happy Christmas! > > -Tom > > Hi Tom, Are your labels "laser" labels? Gareth
Re: Alpine/Gmail/Imap expert needed.
On Mon 27 Nov 2023, at 14:43, Karen Lewellen wrote: > Garret, > This is perfection! > It also made me cry. > detailed step by step instructions.. I can just hand this over to the > person constructing things and we will be good to go. > I appreciate the addition of how to capture that password, I will be in > one country, with the person getting into my gmail account in another, so > they will have to capture it, and email it elsewhere for the third person > to secure it. > YOu are amazing! > Thank you, > Kare Hi Karen, I hope it goes as smoothly as possible - please let us know how you get on. Best wishes, Gareth
Re: Alpine/Gmail/Imap expert needed.
> On 27 Nov 2023, at 09:32, Gareth Evans wrote: > > More on Google's app passwords (with link to 2FA instructions) for anyone > interested: > > https://support.google.com/accounts/answer/185833?hl=en > In case it wasn't clear, app passwords do not require two-factor authentication when used to sign in, but two-factor authentication must be on for app passwords to be available as an authentication method. G
Re: Alpine/Gmail/Imap expert needed.
More on Google's app passwords (with link to 2FA instructions) for anyone interested: https://support.google.com/accounts/answer/185833?hl=en
Re: Alpine/Gmail/Imap expert needed.
I should have said, after > Press Ctrl+X to send you first need to enter the alpine master password before it can save the gmail app password for "outgoing" use. Sorry! Gareth
Re: Alpine/Gmail/Imap expert needed.
t Choose gmail or whatever Nickname you entered earlier INBOX option is your inbox Gmail option shows other folders - all mail, sent, bin, drafts etc. Go back to main menu Press C to compose message Write yourself or someone else a message Press Ctrl+X to send Paste or fill in the app password when asked Press Y when asked to save the password to disk for future used After that, you shouldn't need to enter the app password again. I tried that myself and wrote instructions as I went along, hope I haven't missed anything - and hope that helps. Steps from https://www.ubuntumint.com/alpine-gmail-imap-in-linux Best wishes, Gareth
Re: it: perhaps? gmail issues.
> On 20 Nov 2023, at 16:23, Karen Lewellen wrote: > > ... > thinking of Debian shells or Ubuntu ones, how would you find a path to gmail > firmly? Hi Karen, Alpine and Mutt, amongst others, are terminal-based email clients, though I can't vouch for their accessibility. I can't remember if or how they handle graphics either. Roundcube, a browser-based client, may also be of interest: https://roundcube.net/ but I'm not sure how it compares to Google's HTML interface for your requirements. Best wishes, Gareth
Re: Upgrade my distribution
On 16 Nov 2023, at 20:28, William Torrez Corea wrote:How can I upgrade my distribution?I have Debian 11 bullseye. I want have Debian 12 "bookworm"I execute the command:apt-get update apt upgrade apt dist-upgrade But I don't get any change in my distribution. Hi William,https://www.debian.org/releases/bookworm/amd64/release-notes/index.en.htmlAssuming you have a 64-bit AMD or Intel system, sections 5, 4, 2 and Appendix A of the above may be of particular interest, if not necessarily in that order.Best wishes,Gareth-- With kindest regards, William.⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org⠈⠳⣄
Re: limit on attachment in mail to list
On Sat 11 Nov 2023, at 20:56, Thomas Schmitt wrote: On Sat 11 Nov 2023, at 20:23, Greg Wooledge wrote: >> Telnet to bendel, port 25. Wait for the banner. Type "EHLO your.domain". >> Type "quit" to get out. > > The protocol is named SMTP. > https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol Oh yes ;) Thanks to Greg and Thomas. Gareth
Re: limit on attachment in mail to list
> On 9 Nov 2023, at 13:47, Byung-Hee HWANG wrote: > > [...] > > 220 bendel.debian.org ESMTP Postfix > ehlo penguin > 250-bendel.debian.org > 250-PIPELINING > 250-SIZE 3072 > 250-STARTTLS > 250-ENHANCEDSTATUSCODES > 250-8BITMIME > 250 CHUNKING > quit > 221 2.0.0 Bye > Hi Byung-Hee, How did you generate that, assuming it's a response to some command(s)? Thanks, Gareth > > So 3072 bytes? > > Still it was not tested myself... > > > Sincerely, Byung-Hee >
Re: I uninstalled OpenMediaVault (because totally overkill for me) and replaced it with borgbackup and rsyncq
> On 3 Sep 2023, at 19:16, David wrote: [...] > I have a Dell R320 fitted with 8 1T SAS drives, the hardware raid is > turned off as OpenMediaVault uses sorfware RAID. > If I turn the hardware raid on can I use Debian as the opperating > system? Hi David, In general, outside of certain relatively niche use cases, I believe software raid is to be preferred due to comparable performance and lack of future hardware compatibility/availability issues. See for example (if with some contradictions) https://www.techtarget.com/searchstorage/tip/Key-differences-in-software-RAID-vs-hardware-RAID Debian supports software raid, in the form of MDRAID. I seemm to recall this is usually combined with LVM. OpenZFS may be of interest, possibly root on ZFS too. https://en.m.wikipedia.org/wiki/OpenZFS https://openzfs.org/wiki/System_Administration https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/index.html There doesn't seem to be documentation for root on zfs for bookworm yet. I imagine the bullseye instructions, suitably adapted for repositories etc, might suffice, but I upgraded a root on ZFS installation from Buster to Bullseye to Bookworm (following the release notes in each case) so haven't tried to install from scratch in years. You will need to turn hardware raid off in either case (MDRAID or ZFS) If you have actual raid controller cards, that may not be possible iiuc - I'm sure someone (maybe even me) could advise if you provide details of raid hardware if relevant. Best wishes, Gareth > > Thank you for any help, > > David.
Re: apt policy / listing packages from repo
On Thu 10 Aug 2023, at 18:54, Sven Joachim wrote: > On 2023-08-10 09:30 -0500, David Wright wrote: > >>> I was looking for a way to list packages installed from a particular >>> repo and/or sub-repo or whatever it's called (eg. main, non-free). >>> >>> Does anyone know of a way to do this, with apt policy or otherwise? >> >> What I do in this situation is to type "apt" and press TAB twice. >> Look at the resulting list of commands and check the man page for >> the most likely looking, in this case apt-cache. >> >> An alternative method of course is to type apt policy into any >> search engine. This will typically tell you not only how to invoke >> the command, but also more about what it produces. >> >> As for your listing, I've done this in the past with a script that >> runs apt-cache dump, grepping the Package/Version/File lines, >> concatenating and sorting them, then filtering that list against >> the output of dpkg-query -W -f to include only installed packages. >> This yields a list like: >> >> Package: acl Version: 2.2.53-10 File: >> /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-amd64_Packages >> Package: adduser Version: 3.118 File: >> /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-amd64_Packages >> [ … … ] >> Package: xtoolwait Version: 1.3-6.2 File: /var/lib/dpkg/status >> [ … … ] >> Package: yt-dlp Version: 2023.03.04-1~bpo11+1 File: /var/lib/dpkg/status >> >> which you can grep for particular subsets, though I'm usually more >> interested in grep -v for packages originating from elsewhere, >> like xtoolwait (squeeze) and yt-dlp (backports) there. >> >> There may well be better ways. > > I would probably use "apt list" with a search pattern described in > apt-patterns(7), e.g. the following command lists all installed packages > from non-free: > > $ apt list '~i ~snon-free/' > > Lots of interesting possibilities one can toy with. :-) I will look into both approaches - my thanks to you and David. G
apt policy / listing packages from repo
There seems to be no mention of apt policy in either man apt or apt --help. I was looking for a way to list packages installed from a particular repo and/or sub-repo or whatever it's called (eg. main, non-free). Does anyone know of a way to do this, with apt policy or otherwise? Thanks, Gareth
Re: Debian, Awstats, Nginx server blocks?
> On 17 Jul 2023, at 02:29, David Mehler wrote: > > Hello, > > Does anyone have the above working? I've read several howtos on this > and use to (way back) have it going on a *BSD with Apache setup, but > I'm wanting to get Awstats going on Debian with Nginx and multiple tls > server blocks each a different domain. Manually running awstats.pl on > my test domain I can get a text database output but when running from > the CGI get the message datadir doesn't exist or is nonwritable it > does and nginx can. Anything in nginx's logs? G > > Confused. > Thanks. > Dave. >
Re: latest upgrade to systemd 252.12-1 error about invalid attributes /var/log/journal and slow sshd connections
On Sat 15 Jul 2023, at 17:52, David Mehler wrote: [...] > Regarding the original issue of the systemd upgrade and the invalid > attributes [...] here is the output that I've got: > [...] > Cannot set file attributes for '/var/log/journal', maybe due to > incompatibility in specified attributes, previous=0x0008, > current=0x0008, expected=0x0088, ignoring. > Cannot set file attributes for > '/var/log/journal/390b00d843d3401094a8fd44f1b7de82', maybe due to > incompatibility in specified attributes, previous=0x0008, > current=0x0008, expected=0x0088, ignoring. > Obsolete conffile /etc/systemd/resolved.conf has been modified by you. > Saving as /etc/systemd/resolved.conf.dpkg-bak ... User "seth" at https://bbs.archlinux.org/viewtopic.php?id=272893 suggests "The error itself is harmless; systemd tries to set an attribute on a filesystem that doesn't support it" which seems to go along with it being ignored. and later: "0x0080 is FS_NOCOW_FL - what is not a thing on directories. Edit except for apparently btrfs - what also seems the only supported FS here. Otherwise you get an error [...]" User j1simon suggests in https://bbs.archlinux.org/viewtopic.php?pid=2013787#p2013787 that the errors are present at boot. (I presume journalctl -b is how that output was obtained) I use ZFS and can't find any similar errors in boot log $ sudo journalctl -b|grep incompat $ so I wonder if ZFS supports it on directories too. man ioctl_iflags: "FS_NOCOW_FL 'C' (since Linux 2.6.39) The *file* will not be subject to copy-on-write updates. This flag has an effect only on filesystems that support copy-on-write semantics, such as Btrfs. See chattr(1) and btrfs(5)." https://man7.org/linux/man-pages/man2/ioctl_iflags.2.html The reporter in the first link above is asked if the bug has been reported to systemd developers. In another bug report re the same error (if in a slightly different context) on F2FS, systemd developer Lennart Poettering says "[...] this is a bug in the filesystem - They should not just eat up requests to set flags, but return an error. Please ping the f2fs maintainers." https://github.com/systemd/systemd/issues/26318 It looks like the same bug/issue on ext4 to me, and I imagine safe to ignore. Best wishes, Gareth
Re: latest upgrade to systemd 252.12-1 error about invalid attributes /var/log/journal and slow sshd connections
On Sat 15 Jul 2023, at 13:09, Gareth Evans wrote: > > 2. "I noticed that when I change UsePAM yes to UsePAM no then this > issue is resolved." > > There may be security (or other) issues with (2). See, for example: https://unix.stackexchange.com/questions/673153/sshd-what-are-the-practical-effects-of-setting-usepam-no
Re: latest upgrade to systemd 252.12-1 error about invalid attributes /var/log/journal and slow sshd connections
On Wed 12 Jul 2023, at 18:29, Gareth Evans wrote: >> On 12 Jul 2023, at 15:12, David Mehler wrote: >> [sshd login takes a long time] > [...] > Does > > ssh -vvv ... > > (at client) shed any light? Replying to an off-list message from David in which he stated ssh -vvv waits after > debug1: Entering interactive session. > debug1: pledge: network The same symptoms appear in an answer to https://superuser.com/questions/166359/why-is-my-ssh-login-slow which includes various solutions, some more permanent/apparently likely to help you than others. Just out of interest, is the su command (on the ssh server machine) also affected by authentication delays? This apparently suggests a PAM issue. If you start a new ssh server on a different port and enable debugging: $ sudo /usr/sbin/sshd -ddd -p1234 then at what point does it hang when you ssh from the other machine? Don't forget to specify target port (with -p1234) If PAM-related, then answers at the above link suggest: 1. "I found that PAM was reading the file /var/log/btmp, which had become huge as a result of people trying to brute-force my server. This was leading to login times of a minute. Clearing this file solved the problem." 2. "I noticed that when I change UsePAM yes to UsePAM no then this issue is resolved." There may be security (or other) issues with (2). To avoid the risk of locking yourself out of VPS I would Copy /etc/ssh/sshd_config elsewhere Amend the copy to include UsePAM no $ sudo /var/sbin/sshd -f /path/to/sshd_config_copy -ddd -p1235 (NB use new port number if previous command still running) then see if you can ssh to it. If the issue is not solved by either of the above, please give any sshd debug output that seems relevant for a few lines before/after the wait. To view the systemd journal, see man journalctl You may however like to install rsyslog to get /var/log/syslog back. Not sure if it's retro-active though. HTH Gareth
Re: latest upgrade to systemd 252.12-1 error about invalid attributes /var/log/journal and slow sshd connections
> On 12 Jul 2023, at 15:12, David Mehler wrote: > > Hello, > > I'm running Debian 12 on a vps. I just upgraded it and am now > apparently running the latest systemd version 252.12-1. I saw an error > about invalid attributes on /var/log/journal then it said ignoring. > I've seen others with this error but only in reference as far as I can > tell to the btrfs filesystem which I'm not using. I've got a single > drive running ext4. I'm also seeing very slow like over a minute > connection times between when I authenticate via sshd and I get a > terminal prompt which is also since this upgrade. The initial server > connection goes as normal, it gets my public key then a good long > delay and then I finally get my terminal prompt. > > Any comments on either of these appreciated. Hi Dave, Can you specify the journal error messages? This suggests ssh login delay may be a DNS issue https://superuser.com/questions/166359/why-is-my-ssh-login-slow Does ssh -vvv ... (at client) shed any light? Thanks, Gareth > Thanks. > Dave. >
Re: Out of Range Monitor Problim
On Thu 29 Jun 2023, at 22:00, Gareth Evans wrote: [...] > If [using a DM], either X or Wayland is running at the > point of "login screen", isn't it? At some "standard" (high-ish, > working) resolution? > > "[...] systemd [...] starts all the important system processes > and then starts X11 [...] > which in turn starts a login manager [eg.] LightDM [...] > The login manager starts a session manager [...] > which starts a window manager and usually a menu bar, a desktop [...]" > > https://dev.to/jfhbrook/what-s-a-desktop-session-manager-and-why-do-i-want-one-agl LightDM (for example) combines some of this "under one roof/umbrella/[process?]": "LightDM is a lightweight, cross-desktop display manager. A display manager is a daemon that: Runs display servers (e.g. X) where necessary. Runs greeters to allow users to pick which user account and session type to use. Allows greeters to perform authentication using PAM. Runs session processes once authentication is complete ..." but I don't think my point re indication of config issues is affected, is it? Thanks G > > Doesn't this suggest a display configuration problem rather than a > hardware issue? > > Thanks > Gareth
Re: Out of Range Monitor Problim
> On 29 Jun 2023, at 20:21, Stephen P. Molnar wrote: > > I'm running Debian 11, but I was going to install Debian 12 on another drive > in the computer. > As I quered anther person responding to this thread, would that solve the > problem or exacerbate it? Stephen said this happened "when [he] logged in." Stephen, assuming you actually logged in before the issue occurred, did you log in to a login/display manager such as LightDM or did you log in to a console/CLI prompt and subsequently run startx, whereupon the issue occurred? If the former, either X or Wayland is running at the point of "login screen", isn't it? At some "standard" (high-ish, working) resolution? "[...] systemd [...] starts all the important system processes and then starts X11 [...] which in turn starts a login manager [eg.] LightDM [...] The login manager starts a session manager [...] which starts a window manager and usually a menu bar, a desktop [...]" https://dev.to/jfhbrook/what-s-a-desktop-session-manager-and-why-do-i-want-one-agl Doesn't this suggest a display configuration problem rather than a hardware issue? Thanks Gareth
Re: Out of Range Monitor Problim
On Thu 29 Jun 2023, at 16:50, Stephen P. Molnar wrote: > OK, Here we go. > > First of all, I don't have a cat, so let's forego any further cattiness. > > I built the system on 6/26/2015 and have kept up on maintenance > > ASUS M5 A97 R2.0 Motherboard BIOS 2603 > > AMD FX-8320 Eight-Core Processor 3500MHz > > 8179 MB (DDR 1600MHz) > > The display is a 23 in LG flat screen (3 years old). > > All the cables are firmly attached. My previous message suggested xrandr -q but this https://unix.stackexchange.com/questions/651209/how-change-monitors-from-terminal-xrandr-cant-open-display suggests xrandr expects to run from within a running X session. If no other displays are available to test the system (or systems available to test the display) do you get the same behaviour from a live cd/usb if you have or can make one? I was going to ask about logs but Felix has already done so. Best wishes, Gareth
Re: Out of Range Monitor Problim
On 29 Jun 2023, at 13:58, Stephen P. Molnar wrote: I should have added that I can get into the rescue mode. Unfortunately, I don't what to do at that point, and Google is of no help. Forwarded Message Subject: Out of Range Monitor Problim Resent-Date: Thu, 29 Jun 2023 10:56:02 + (UTC) Resent-From: debian-user@lists.debian.org Date: Thu, 29 Jun 2023 06:55:35 -0400 From: Stephen P. Molnar To: debian-user@lists.debian.org I have Bullseye currently installed on my main Linux platform. When I logged in this morning I got an Out of Range 95.3 kHz/60 kHz error. Although I have been using Linux since the early days of Slackware and the Red Hat Mother's day release, I'm strictly a user. I googled the problem and got answers that I don't understand. I can boot into the rescue mode but can go no further.Hi Stephen,It seems strange that you monitor config should "just change" but is this of any use?https://linuxconfig.org/how-to-configure-your-monitors-with-xrandr-in-linuxNot sure off the top of my head how you persist changes, or whether xrandr is (initially) the correct tool with which to persist changes on your system, but that may give you some clues to check your DE/wm config if nothing else.Kind regards,Gareth Suggestions would be much appreciated. Thanks in advance. -- Stephen P. Molnar, PhD https://insilicochemistry.net (614)-312-7528 Skype: smolnar1
Re: Hddtemp in Bookworm
On Mon 26 Jun 2023, at 21:13, piorunz wrote: > On 26/06/2023 19:17, Gareth Evans wrote: >> ...but this "recommends" presumably won't be available in a fresh Bookworm >> installation, since >> >> $ apt policy hddtemp >> hddtemp: >>Installed: 0.3-beta15-54 >>Candidate: 0.3-beta15-54 >>Version table: >> *** 0.3-beta15-54 100 >> 100 /var/lib/dpkg/status >> $ > > Exactly. hddtemp is dormant, won't be included in current stable and > future releases: > Is this documented anywhere in relation to the current release? Your link > https://sources.debian.org/src/hddtemp/0.3-beta15-54/debian/NEWS/ got me searching for some of its key terms (linux drivetemp hwmon) which led to https://www.kernel.org/doc/html/latest/hwmon/drivetemp.html which says: "[...] This driver supports reporting the temperature of disk and solid state drives with temperature sensors. If supported, it uses the ATA SCT Command Transport feature to read the current drive temperature and, if available, temperature limits as well as historic minimum and maximum temperatures. If SCT Command Transport is not supported, the driver uses SMART attributes to read the drive temperature. [...] Sysfs entries Only the temp1_input attribute is always available. Other attributes are available only if reported by the drive. All temperatures are reported in milli-degrees Celsius. --- temp1_input | Current drive temperature --- [...]" There are various temp1_input files under /sys/... and it wasn't immediately clear where to look. After some failed experimentation and a web search, I found https://unix.stackexchange.com/questions/558112/standard-way-to-check-the-hard-drive-temperature-without-installing-additional-p which suggests (as adapted for my machine) $ cat /sys/class/scsi_disk/1:0:0:0/device/hwmon/hwmon3/temp1_input 35000 which matches (at different magnitude) $ sudo smartctl -a /dev/sda |grep -i tem 194 Temperature_Celsius 0x0022 065 039 000Old_age Always - 35 (Min/Max 11/61) ...which seems like a lot of effort to discover something that should (shouldn't it?) be documented somewhere in relation to Bookworm? I couldn't find anything in the release notes except some "notable" obsolete packages at s5.3, which didn't include hddtemp. https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#noteworthy-obsolete-packages Just out of interest, is there an authoritative list of packages removed per Debian version? The Bookworm release announcement says 'over 6,296 packages have been removed as "obsolete"' https://www.debian.org/News/2023/20230610 I tried searching with both google and ddg and couldn't find anything authoritative looking. That seems to invite a lot of detective work :) Thanks, Gareth
Re: Hddtemp in Bookworm
On Mon 26 Jun 2023, at 17:53, Stephen P. Molnar wrote: > I have been testing Bullseye This contrasts with the subject's mention of Bookworm, so I am assuming you mean Bookworm (that is, Debian 12) > in a VM and haven't encountered any > problems, at least not until now. > > It would appear that hddtemp has not been included. If this is the case, > what is an alternate method for monitoring drive temperatures? $ cat /etc/debian_version 12.0 Using sudo or "su -": smartctl -a /dev/sda|grep Tem 194 Temperature_Celsius 0x0022 066 039 000Old_age Always - 34 (Min/Max 11/61) works, though it doesn't respond normally to "| cut -fx" where x is a field number. Values don't seem to be tab-separated, so some jiggery-pokery may be required if you're recording the output somewhere. I still have hddtemp installed having upgraded from Buster > Bullseye > Bookworm $ aptitude why hddtemp i mate-desktop-environmentSuggests mate-desktop-environment-extras ( >= 1.26) p mate-desktop-environment-extras Recommends mate-sensors-applet (>= 1.26) p mate-sensors-applet Recommends hddtemp and indeed: $ sudo hddtemp /dev/sda /dev/sda: TOSHIBA THNSNH128GMCT: 35°C ...but this "recommends" presumably won't be available in a fresh Bookworm installation, since $ apt policy hddtemp hddtemp: Installed: 0.3-beta15-54 Candidate: 0.3-beta15-54 Version table: *** 0.3-beta15-54 100 100 /var/lib/dpkg/status $ Hope that helps. Best wishes, Gareth > > Thanks in advance > > -- > Stephen P. Molnar, PhD > https://insilicochemistry.net > (614)-312-7528 > Skype: smolnar1
Re: Bullseye to Bookworm upgrade [apache 503 issue solved]
On Fri 2 Jun 2023, at 03:58, Gareth Evans wrote: > Firefox at http(s)://localhost/sitename gives a 503 > Neither /var/log/apache2/error.log nor /var/log/syslog seem to provide > any clues to the problem. I take that back, and apache 503 issue solved - /etc/apcache2/conf-available/php7.4-fpm.conf is not purged during/after upgrade. $ sudo cat /var/log/apache2/error.log [Sat Jun 03 01:16:18.274637 2023] [proxy:error] [pid 681699] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.4-fpm.sock (*:80) failed [Sat Jun 03 01:16:18.274742 2023] [proxy_fcgi:error] [pid 681699] [client 127.0.0.1:44366] AH01079: failed to make connection to backend: httpd-UDS user@qwerty:~$ sudo apt remove php7.4-fpm Package 'php7.4-fpm' is not installed, so not removed user@qwerty:~$ sudo a2dismod php7.4-fpm ERROR: Module php7.4-fpm does not exist! user@qwerty:~$ apt policy php7.4-fpm php7.4-fpm: Installed: (none) Candidate: (none) Version table: 7.4.33-1+deb11u3 -1 100 /var/lib/dpkg/status user@qwerty:~$ apt policy php7.4 php7.4: Installed: (none) Candidate: (none) Version table: user@qwerty:~$ user@qwerty:~$ sudo a2dismod php7.4 Module php7.4 already disabled user@qwerty:~$ ls /etc/apache2/conf-avail*|grep php7 php7.4-fpm.conf user@qwerty:/etc/apache2/conf-available$ sudo mv php7.4-fpm.conf php7.4-fpm.conf.ignore user@qwerty:/etc/apache2/conf-available$ sudo service apache2 restart Works as expected, except may need to change AllowOverride None to AllowOverride [your settings of choice] in /etc/apache2/apache2.conf for .htaccess to be honoured. HTH someone. Gareth
Re: Bullseye to Bookworm upgrade issues
On Sat 3 Jun 2023, at 01:15, Gareth Evans wrote: > On Fri 2 Jun 2023, at 03:58, Gareth Evans wrote: >> I have upgraded Bullseye with root on ZFS to Bookworm, but I wonder if >> the 4 upgrade issues I encountered are worth reporting? >> >> If so, which packages would be advisable to report against, please? > > I forgot to mention, after the upgrade failure after DM restart, on > logging in again I was "required by the administrator" to change my > password. This seems odd. And syslog shows repeatedly: 2023-06-03T01:16:33.008969+01:00 qwerty mariadbd[2469]: 2023-06-03 1:16:33 1793 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'hist_type' at position 9 to have type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'), found type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB'). 2023-06-03T01:16:33.009050+01:00 qwerty mariadbd[2469]: 2023-06-03 1:16:33 1793 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255). ...which I think may pertain to the apache 503 issue.
Re: Bullseye to Bookworm upgrade issues
On Fri 2 Jun 2023, at 03:58, Gareth Evans wrote: > I have upgraded Bullseye with root on ZFS to Bookworm, but I wonder if > the 4 upgrade issues I encountered are worth reporting? > > If so, which packages would be advisable to report against, please? I forgot to mention, after the upgrade failure after DM restart, on logging in again I was "required by the administrator" to change my password. This seems odd. Thanks, Gareth
Bullseye to Bookworm upgrade issues
proxy.conf actions.conf echo.load proxy_connect.load actions.load env.load proxy_express.load alias.confexpires.load proxy_fcgi.load alias.loadext_filter.load proxy_fdpass.load allowmethods.load fcgid.confproxy_ftp.conf asis.load fcgid.loadproxy_ftp.load auth_basic.load file_cache.load proxy_hcheck.load auth_digest.load filter.load proxy_html.conf auth_form.loadheaders.load proxy_html.load authn_anon.load heartbeat.loadproxy_http2.load authn_core.load heartmonitor.load proxy_http.load authn_dbd.loadhttp2.confproxy.load authn_dbm.loadhttp2.loadproxy_scgi.load authn_file.load ident.loadproxy_uwsgi.load authn_socache.loadimagemap.load proxy_wstunnel.load authnz_fcgi.load include.load ratelimit.load authnz_ldap.load info.conf reflector.load authz_core.load info.load remoteip.load authz_dbd.loadlbmethod_bybusyness.load reqtimeout.conf authz_dbm.loadlbmethod_byrequests.load reqtimeout.load authz_groupfile.load lbmethod_bytraffic.load request.load authz_host.load lbmethod_heartbeat.load rewrite.load authz_owner.load ldap.conf sed.load authz_user.load ldap.load session_cookie.load autoindex.conflog_debug.loadsession_crypto.load autoindex.loadlog_forensic.load session_dbd.load brotli.load lua.load session.load buffer.load macro.loadsetenvif.conf cache_disk.conf md.load setenvif.load cache_disk.load mime.conf slotmem_plain.load cache.loadmime.load slotmem_shm.load cache_socache.loadmime_magic.conf socache_dbm.load cern_meta.loadmime_magic.load socache_memcache.load cgid.conf mpm_event.confsocache_redis.load cgid.load mpm_event.loadsocache_shmcb.load cgi.load mpm_prefork.conf speling.load charset_lite.load mpm_prefork.load ssl.conf data.load mpm_worker.conf ssl.load dav_fs.conf mpm_worker.load status.conf dav_fs.load negotiation.conf status.load dav.load negotiation.load substitute.load dav_lock.load php7.4.conf suexec.load dbd.load php7.4.load unique_id.load deflate.conf php8.2.conf userdir.conf deflate.load php8.2.load userdir.load dialup.load proxy_ajp.loadusertrack.load dir.conf proxy_balancer.conf vhost_alias.load dir.load proxy_balancer.load xml2enc.load user@qwerty:/etc/apache2/mods-available$ sudo apt install php8.2-mysql php8.2-mysql is already the newest version (8.2.5-2). user@qwerty:/etc/apache2/mods-available$ sudo a2enmod php8.2-mysql ERROR: Module php8.2-mysql does not exist! user@qwerty:/etc/apache2/mods-available$ sudo a2enmod php-mysql ERROR: Module php-mysql does not exist! Any ideas re this last (Apache) point would be particularly appreciated. Many thanks, Gareth
Re: Buster / Google Remote Desktop
> On 4 May 2023, at 22:20, Geert Stappers wrote: > > On Thu, May 04, 2023 at 10:10:51PM +0100, Gareth Evans wrote: >>> On 4 May 2023, at 22:00, zithro wrote: >>> 29 Apr 2023 05:31, Gareth Evans wrote: >>>> It seems Google Remote Desktop, a Chrome extension, does not work >>>> properly with Buster + Mate. I haven't tried with Bullseye, which >>>> is not an option in the environment concerned due to CUPS bugs, >>>> but in Buster there is about 5 seconds of remote-mouse-movement >>>> then no more. >>>> Does anyone know of a way to fix this, or any other approach that >>>> might work through a mobile broadband router (at the 'controlled' >>>> end) where there is no option to fwd ports? >>>> Thanks, >>>> Gareth >>> >> >>> Teamviewer ? >>> https://www.teamviewer.com/en-us/download/linux/ >>> >> >> Why didn't I think of that?! Thanks. >> >> I actually replaced the OS at the controlled end with Ubuntu 22.04 >> for the time being (where Google Remote Desktop works flawlessly with >> Chrome) but will look into things again when Bookworm is released. > > And have a look at https://rustdeck.com/ > It is a open source TeamViewer alternative. Thanks, I will do, though I think you mean rustdesk.com - the above link (...deck.com) leads to unrelated ads > > >> Many thanks, >> Gareth > > > May the fourth be with you > Geert Stappers > -- > Silence is hard to parse >
Re: Buster / Google Remote Desktop
> On 4 May 2023, at 22:00, zithro wrote: > > On 29 Apr 2023 05:31, Gareth Evans wrote: >> It seems Google Remote Desktop, a Chrome extension, does not work properly >> with Buster + Mate. I haven't tried with Bullseye, which is not an option >> in the environment concerned due to CUPS bugs, but in Buster there is about >> 5 seconds of remote-mouse-movement then no more. >> Does anyone know of a way to fix this, or any other approach that might work >> through a mobile broadband router (at the 'controlled' end) where there is >> no option to fwd ports? >> Thanks, >> Gareth > > Teamviewer ? > https://www.teamviewer.com/en-us/download/linux/ > Why didn't I think of that?! Thanks. I actually replaced the OS at the controlled end with Ubuntu 22.04 for the time being (where Google Remote Desktop works flawlessly with Chrome) but will look into things again when Bookworm is released. Many thanks, Gareth
Buster / Google Remote Desktop
It seems Google Remote Desktop, a Chrome extension, does not work properly with Buster + Mate. I haven't tried with Bullseye, which is not an option in the environment concerned due to CUPS bugs, but in Buster there is about 5 seconds of remote-mouse-movement then no more. Does anyone know of a way to fix this, or any other approach that might work through a mobile broadband router (at the 'controlled' end) where there is no option to fwd ports? Thanks, Gareth
Re: https://: vs. https://:.
> On 10 Apr 2023, at 20:30, pe...@easthope.ca wrote: > > Noticed this oddity when working with the new service. > > $ nslookup hornby.islandhosting.com > Server: 192.168.0.1 > Address:192.168.0.1#53 > > Non-authoritative answer: > Name: hornby.islandhosting.com > Address: 158.69.159.172 > Name: hornby.islandhosting.com > Address: 2607:5300:203:66b5:: > > $ nslookup mail.easthope.ca > Server: 192.168.0.1 > Address:192.168.0.1#53 > > Non-authoritative answer: > mail.easthope.cacanonical name = easthope.ca. > Name: easthope.ca > Address: 158.69.159.172 > > As expected, login at https://hornby.islandhosting.com:2096 and at > https://mail.easthope.ca:2096 appear equivalent. > > But for URL https://158.69.159.172:2096 Firefox warns, > > "Warning: Potential Security Risk Ahead > > Firefox detected a potential security threat and did not continue to > 158.69.159.172. If you visit this site, attackers could try to steal > information like your passwords, emails, or credit card details. > > What can you do about it? > > The issue is most likely with the website, and there is nothing you > can do to resolve it. You can notify the website’s administrator > about the problem." > > What is the risk from an IP address? Misconfiguration at Island Hosting > as Firefox suggests? > > Thx, ... P. > What reason is given for the warning? There's usually an "advanced" or "more info" etc button underneath the message you quoted. Thanks, Gareth
Re: cups not sharing printers with other bullseye machines
On Sat 8 Apr 2023, at 22:12, gene heskett wrote: > On 4/8/23 02:40, Gareth Evans wrote: >> On Sat 8 Apr 2023, at 03:20, gene heskett wrote: >>> Greetings all; >>> >>> Where do I turn on cups debugging so I'll see every bit of traffic >>> addressed to cups from my local 192.168/xx.yy network? >>> >>> The problem is: other buster machines on this local network can see and >>> use the two brother printers just as if the printer was local to that >>> buster machine. >>> >>> But no bullseye, debian or armbian can see anything at >>> localhost:631/printers except the search screen when there are no printers. >>> >>> These printers are marked as shared in this bullseye machines /etc/cups >>> files. >>> >>> There's a new roadblock someplace, I've asked about before. I'd like to >>> find it. >>> >>> Buster machines can, other bullseye machines can't. >>> >>> Thank you. >>> >>> Cheers, Gene Heskett. >>> -- >>> "There are four boxes to be used in defense of liberty: >>>soap, ballot, jury, and ammo. Please use in that order." >>> -Ed Howdershelt (Author, 1940) >>> If we desire respect for the law, we must first make the law respectable. >>>- Louis D. Brandeis >>> Genes Web page <http://geneslinuxbox.net:6309/> >> >> Hi Gene, >> >> Not sure if CUPS debugging may be helpful, see eg. >> >> https://sysadminera.com/2020/09/10/linux-how-to-enable-and-capture-cups-debugging-logs/ >> > The most intelligent output I can get from the error_log on one of the > armbian bullseye machines is a garbled attempt to open a pipe (I think) > from that log a snippet is attached. Tail end of a cups restart. Looks > like something in the name resolution is totally fubar to me. > > But, I can send ff to the exact entry in client.conf, and it can see all > the shared printers here on this machine. But cups on that machine can't. > >> But first, I seem to recall you removed avahi and cups-browsed from Bullseye >> machines. Is that correct? Do the Buster machines have either or both of >> those installed? > > avahi and cups-browsed have both been re-installed on that armbian machine. > And its networking continues to work thru a reboot, something I could > not do at the original install. > Then I check this machines error_log which is flooded with thousands of > lines of this from my attempts to get a printer list on the armbian machine: > > E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP > server-error-version-not-supported for CUPS-Get-Printers (no URI) from > 192.168.71.12. > E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP > server-error-version-not-supported for CUPS-Get-Default (no URI) from > 192.168.71.12. > E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP > server-error-version-not-supported for CUPS-Get-Printers (no URI) from > 192.168.71.12. > E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP > server-error-version-not-supported for CUPS-Get-Default (no URI) from > 192.168.71.12. > E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP > server-error-version-not-supported for CUPS-Get-Printers (no URI) from > 192.168.71.12. > > So the armbian machine is trying, and its this machine that is rejecting > its attempts. That's progress ;o)> > > Whats next? > > Thanks Gareth, take care and stay well. > > Cheers, Gene Heskett. > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/> > > Attachments: > * cups-error-log > server-error-version-not-supported for CUPS-Get-Printers (no URI) from > 192.168.71.12. The only reference to this error I could find was this https://bbs.archlinux.org/viewtopic.php?id=168485 which (a long time ago) seems to have been resolved by using matching cups versions. I find my Brother MFC-L2740DW is only detected on Bullseye if both devices use the same wifi band (the printer supports only 2.4GHz). I'm sure this was never a thing in Buster, but I may have switched bands at some point and forgotten about having done that. I imagine it could conceivably be due to a dodgy ISP router firmware update too. Are either of the printers you want access to from Bullseye currently shared via Buster CUPS, or Bullseye CUPS, or just via own wifi? HL-L2320D seems to be USB
Re: cups not sharing printers with other bullseye machines
On Sat 8 Apr 2023, at 03:20, gene heskett wrote: > Greetings all; > > Where do I turn on cups debugging so I'll see every bit of traffic > addressed to cups from my local 192.168/xx.yy network? > > The problem is: other buster machines on this local network can see and > use the two brother printers just as if the printer was local to that > buster machine. > > But no bullseye, debian or armbian can see anything at > localhost:631/printers except the search screen when there are no printers. > > These printers are marked as shared in this bullseye machines /etc/cups > files. > > There's a new roadblock someplace, I've asked about before. I'd like to > find it. > > Buster machines can, other bullseye machines can't. > > Thank you. > > Cheers, Gene Heskett. > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/> Hi Gene, Not sure if CUPS debugging may be helpful, see eg. https://sysadminera.com/2020/09/10/linux-how-to-enable-and-capture-cups-debugging-logs/ But first, I seem to recall you removed avahi and cups-browsed from Bullseye machines. Is that correct? Do the Buster machines have either or both of those installed? What are the exact models of the Brother printers "missing" from Bullseye systems? Do other printers appear on Bullseye systems? Thanks, Gareth
Re: apache2: fix the regressions introduced by security upgrade in Bullseye?
On Mon 3 Apr 2023, at 16:28, Gareth Evans wrote: > On Mon 3 Apr 2023, at 13:27, Harald Dunkel wrote: >> Hi folks, >> >> AFAIU apache2 2.4.56-1 has been included in Bullseye to mitigate >> CVE-2023-27522 and CVE-2023-25690 (both some mod_proxy issue >> with high severity). Good thing. >> >> Unfortunately this introduced 2 regressions for mod_rewrite and >> http2, see >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033284 >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033408 >> https://metadata.ftp-master.debian.org/changelogs//main/a/apache2/apache2_2.4.56-2_changelog >> >> Would it be possible to fix the upgrade? I can turn off http2, >> but I feel *very* bad about running an apache with a broken >> mod_rewrite in production. >> >> >> Thank you very much >> >> Harri > > > "In Mitre's CVE dictionary: [..] CVE-2023-25690, CVE-2023-27522 [...] > > For the stable distribution (bullseye), these problems have been fixed > in version 2.4.56-1~deb11u1. > > We recommend that you upgrade your apache2 packages." > > https://www.debian.org/security/2023/dsa-5376 > > $ apt policy apache2 > apache2: > Installed: 2.4.56-1~deb11u1 > Candidate: 2.4.56-1~deb11u1 > Version table: > *** 2.4.56-1~deb11u1 500 > 500 http://security.debian.org/debian-security > bullseye-security/main amd64 Packages > > You will need at least > > deb http://security.debian.org/debian-security/ bullseye-security main > > in /etc/apt/sources.list if not there already, though I think "contrib" > and certainly "non-free" are unnecessary in this particular case. > > Best wishes, > Gareth Sorry, you were talking about regressions - concentration lapse on my part. G
Re: apache2: fix the regressions introduced by security upgrade in Bullseye?
On Mon 3 Apr 2023, at 13:27, Harald Dunkel wrote: > Hi folks, > > AFAIU apache2 2.4.56-1 has been included in Bullseye to mitigate > CVE-2023-27522 and CVE-2023-25690 (both some mod_proxy issue > with high severity). Good thing. > > Unfortunately this introduced 2 regressions for mod_rewrite and > http2, see > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033284 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033408 > https://metadata.ftp-master.debian.org/changelogs//main/a/apache2/apache2_2.4.56-2_changelog > > Would it be possible to fix the upgrade? I can turn off http2, > but I feel *very* bad about running an apache with a broken > mod_rewrite in production. > > > Thank you very much > > Harri "In Mitre's CVE dictionary: [..] CVE-2023-25690, CVE-2023-27522 [...] For the stable distribution (bullseye), these problems have been fixed in version 2.4.56-1~deb11u1. We recommend that you upgrade your apache2 packages." https://www.debian.org/security/2023/dsa-5376 $ apt policy apache2 apache2: Installed: 2.4.56-1~deb11u1 Candidate: 2.4.56-1~deb11u1 Version table: *** 2.4.56-1~deb11u1 500 500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages You will need at least deb http://security.debian.org/debian-security/ bullseye-security main in /etc/apt/sources.list if not there already, though I think "contrib" and certainly "non-free" are unnecessary in this particular case. Best wishes, Gareth
Re: Limiting ssh access: by MAC Address?
> On 3 Jan 2023, at 22:07, Tom Browder wrote: > I ... would like to access my home server from my laptop ... > On 5 Jan 2023, at 04:13, Jeffrey Walton wrote: > ... > Avoiding the key exchange is a big win > since those public key operations are so costly. Costly in what sense and circumstances? For interactive, real-user-at-the-end ssh logins, key checking delays are negligible in my experience - certainly no longer than it would take to type a password... Kind regards, Gareth > > Jeff
Re: Independent menu system
> On 14 Dec 2022, at 00:09, pa...@quillandmouse.com wrote: > > [...] > Does anyone know of a menu system/program which > reads *.desktop files, and can supply categorized menus, but doesn't > insist on being run under a non-i3wm desktop environment? Hi Paul, fbpanel might be worth a look https://packages.debian.org/bullseye/fbpanel http://aanatoly.github.io/fbpanel/docs.html#configglobal This user's config shows how to add a "systemmenu" (despite main query being re tint2) https://unix.stackexchange.com/questions/589988/tint2-add-systemmenu-to-panel Best wishes Gareth
Re: tbird AND javamail both broken
On Thu 1 Dec 2022, at 21:13, David Wright wrote: [...] > I think we're in agreement that everything is /defined/ in this > set of RFCs ... Yes. > As for lengthy explanations, I think you have to > bear in mind that the earlier RFCs often introduced concepts and > material that were quite new at the time, whereas later ones > might have been written when it could be assumed readers were > more familiar with the matter, and it could be presented in > a more cut and dried manner. Otherwise an evolutionary sequence > of RFCs would grow even faster than they currently do. > (This set is already 50% longer than RFC1521/2 that it supersedes.) That makes sense. I'm not sure the haircut couldn't have been lighter in this case, but there we are :) Best wishes, Gareth
Re: tbird AND javamail both broken
On Tue 29 Nov 2022, at 16:52, David Wright wrote: > On Sat 26 Nov 2022 at 19:45:37 (+), Gareth Evans wrote: >> On Sat 26 Nov 2022, at 16:01, David Wright wrote: >>> On Sat 19 Nov 2022 at 20:38:46 (+), Gareth Evans wrote: >>>> On Sat 19 Nov 2022, at 20:15, Gareth Evans wrote: >>>> [...] >>>>> I'm not sure this is a Tb bug, just perhaps a "purist" way of doing >>>>> things ... >>>> I had assumed no blank line preceding a boundary was required as Tb still >>>> processes the boundary without one, but >>>> https://www.rfc-editor.org/rfc/rfc2049.html#page-15 >>>> suggests this is in fact a requirement. So perhaps a bug. >>> I don't see where the RFC talks about blank lines. >> It doesn't, save for one mention in the appendix, and that was sort of my >> point... >>> The text part of my emails (where they include an attachment) end >>> as usual with the characters "David.", and that Newline >>> is the last character of mine. It's then followed by another >>> Newline which is the start of the Unique Boundary Marker. >>> David.BOUNDARY MARKER >>>↑ ↑↑ ↑ >>>minemarker's >>> That pair of Newlines give the appearance of a blank line, which >>> you assume is necessary. >> Well... I meant "suggests" literally, because... >> At the time of writing the message you refer to above, I had taken the >> Appendix A example in RFC2049 ("[MIME] ... Conformance criteria and >> examples") to be prescriptive by example (a "conformance example"!), given >> blank line requirements are less than definitively spelt out there. >> RFC1521, obsoleted by 2049, includes: >> " 7.2 ... Each part >> starts with an encapsulation boundary, and then contains a body part >> consisting of header area, *a blank line*, and a body area ... >> NO header fields are actually required in body parts. A body part that >> starts with a blank line, therefore, is allowed ..." >> https://www.rfc-editor.org/rfc/rfc1521 > > Yes, but my post responded to, and only concerned, what lies between > the end of the body area and the next boundary marker, whereas your > quotation here from RFC1521 (which I haven't consulted) is about the > beginning of the body area and any header preceding it. Sorry, the point I was getting at didn't quite emerge! I meant the fact that there are blank lines in the example https://www.rfc-editor.org/rfc/rfc2049#page-15 before each boundary, as well as after all of the part field headers, it being a conformance example, initially suggested requirement to me. But I now realise that the example's blank lines before the part boundaries are there for readability purposes, and form part of the sections including the text preceding them. So the example leaves that at least for the reader to interpret correctly. I discovered last night that the BNF for the formal definitions, which you have to string together to generate a blank line from concatenating CRLFs, appears in RFC 2046. This isn't named or linked to in 2049's Abstract, as the other docs in the latest MIME "set" are. I was skimming a bit and didn't see the other references to it. >> but this text does not appear in RFC2049, where the notion is merely implied >> in a bracketed note in an example in an appendix, which also contains the >> only appearance of "blank". >> "Appendx A -- A Complex Multipart Example >> [...] >> --unique-boundary-1 >> ... Some text appears here ... >> *[Note that the blank between the boundary and the start >>of the text in this part means no header fields were >>given* [...] > > Yes, there must be a blank line there because it either terminates > this part's header fields (as shown next), or indicates that > there are no header fields for this part (as shown above). >> There are blank lines between part header fields and content - but this >> requirement is implied rather than specified in terms, as it is in 1521. > > But surely you just quoted the specification: >> " 7.2 ... >> and then contains a body part >> consisting of header area, *a blank line*, and a body area ... That quote was from 1521: >> RFC1521, obsoleted by 2049, includes: >> " 7.2 ... Each part ..." - whereas afaics, 2049 only offers the note in Appendix A, from which the necessity for a blank line following part headers can be deduced, but you have to think about it, and know that it needs to be thought about. I thought the idea of RFCs was at least partly to explain thing
Re: tbird AND javamail both broken
On Sat 26 Nov 2022, at 16:01, David Wright wrote: > On Sat 19 Nov 2022 at 20:38:46 (+), Gareth Evans wrote: >> On Sat 19 Nov 2022, at 20:15, Gareth Evans wrote: >> [...] >> > I'm not sure this is a Tb bug, just perhaps a "purist" way of doing >> > things ... >> >> I had assumed no blank line preceding a boundary was required as Tb still >> processes the boundary without one, but >> >> https://www.rfc-editor.org/rfc/rfc2049.html#page-15 >> >> suggests this is in fact a requirement. So perhaps a bug. > I don't see where the RFC talks about blank lines. Hi David, It doesn't, save for one mention in the appendix, and that was sort of my point... > The text part of my emails (where they include an attachment) end > as usual with the characters "David.", and that Newline > is the last character of mine. It's then followed by another > Newline which is the start of the Unique Boundary Marker. > > David.BOUNDARY MARKER > ↑ ↑↑ ↑ > minemarker's > > That pair of Newlines give the appearance of a blank line, which > you assume is necessary. Well... I meant "suggests" literally, because... At the time of writing the message you refer to above, I had taken the Appendix A example in RFC2049 ("[MIME] ... Conformance criteria and examples") to be prescriptive by example (a "conformance example"!), given blank line requirements are less than definitively spelt out there. RFC1521, obsoleted by 2049, includes: " 7.2 ... Each part starts with an encapsulation boundary, and then contains a body part consisting of header area, *a blank line*, and a body area ... NO header fields are actually required in body parts. A body part that starts with a blank line, therefore, is allowed ..." https://www.rfc-editor.org/rfc/rfc1521 but this text does not appear in RFC2049, where the notion is merely implied in a bracketed note in an example in an appendix, which also contains the only appearance of "blank". "Appendx A -- A Complex Multipart Example [...] MIME-Version: 1.0 From: Nathaniel Borenstein To: Ned Freed Date: Fri, 07 Oct 1994 16:15:05 -0700 (PDT) Subject: A multipart example Content-Type: multipart/mixed; boundary=unique-boundary-1 This is the preamble area of a multipart message. Mail readers that understand multipart format should ignore this preamble. If you are reading this text, you might want to consider changing to a mail reader that understands how to properly display multipart messages. --unique-boundary-1 ... Some text appears here ... *[Note that the blank between the boundary and the start of the text in this part means no header fields were given* [...] --unique-boundary-1 Content-type: text/enriched This is enriched. as defined in RFC 1896" https://www.rfc-editor.org/rfc/rfc2049.html#page-15 There are blank lines between part header fields and content - but this requirement is implied rather than specified in terms, as it is in 1521. There are blank lines between content and following boundaries - this may be for readability purposes, but at the time, I thought this suggestive of requirement. I read somewhere else (which I now can't find) that a boundary must be preceded by a CRLF, which is considered part of the boundary - but not necessarily a blank line. Best wishes, Gareth > > If there were only one Newline, it would belong to the marker, > and my text would finish at the Period. You can sometimes > observe this with non-text parts because, for example, HTML > parsers don't necessarily care whether is followed > by Newline. > > Cheers, > David.
Re: tbird AND javamail both broken
> On 22 Nov 2022, at 02:07, gene heskett wrote: > > On 11/21/22 06:07, Gareth Evans wrote: >> On Mon 21 Nov 2022, at 07:26, gene heskett wrote: >> [...] > global, persistent setting. >> If you still don't see the HTML version after doing that, please would you >> confirm which version of Thunderbird you are using? >> Thanks, >> Gareth > > 102.5.0(64bit) OK thanks. I wonder if there may be some anomaly in the true source which doesn't make it through "view source", the clipboard, you sending the paste, the mailing list servers, and other people's mail clients. I don't know if you've tried viewing a .eml containing a paste from your earlier message containing the source, but that's the only difference I can see at this point. As you have now deciphered the message, you may of course not want to bother! And if that doesn't work, I'm out of ideas. Best wishes, G >> . > > Cheers, Gene Heskett. > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/> >
Re: tbird AND javamail both broken
On Mon 21 Nov 2022, at 07:26, gene heskett wrote: [...] > I do not want to > send html email, so the prefs here are set to send plain text. > > However I did change that setting momentarily, making no difference, I > was still looking at a blank screen [...] > Those prefs in t-bird, should NOT effect how it treats incoming email [...] Hi Gene, Sending format preferences should have no effect on display, I agree, and I don't think they do. I'm not sure if you have actually tried setting View > Message Body As > Original HTML as when I suggested it, you replied that "... there is NO html content in the messages, not even a mimetype boundary for it." It works for me, and I presume others who are able to see the HTML version immediately, have it set to HTML. I didn't understand at first that View > Message Body As ... is a global, persistent setting. If you still don't see the HTML version after doing that, please would you confirm which version of Thunderbird you are using? Thanks, Gareth
Re: FIREFOX is killing the whole PC PART II
On Mon 21 Nov 2022, at 06:56, Gareth Evans wrote: > On Sun 20 Nov 2022, at 10:53, Schwibinger Michael wrote: >> Hello >> and thank You. >> >> >> >> >> Thank you, this did help. > >> Two Questions more. > >> How can I find by terminal all dirt which is produced by browsers (Chrome, >> Firefox, Midori ...)? >> I did try something like cache, but there were no new files. > > I think it would be easier to clear the cache and other data (possibly > including history if you wish) automatically when the browsers close. > There are usually settings available to do that. > > See below. > >> How can I tell the browser (Firefox, Chrome and so on): Do not save any >> information. >> Example: >> I do open www.hotmail.de, sending Emails, and close hotmail. >> No there should be no information left on the pc abour hotmail. Only the >> bookmark www.hotmail.de. > > If you mean an actual bookmark, clearing the history will not remove this. > > For Firefox: > > Settings > Privacy and Security > > - Delete cookies and site data when Firefox is closed > > - History Make sure "Firefox will: Use custom settings for history" is selected, to see further options
Re: FIREFOX is killing the whole PC PART II
On Sun 20 Nov 2022, at 10:53, Schwibinger Michael wrote: > Hello > and thank You. > > > > > Thank you, this did help. > Two Questions more. > How can I find by terminal all dirt which is produced by browsers (Chrome, > Firefox, Midori ...)? > I did try something like cache, but there were no new files. I think it would be easier to clear the cache and other data (possibly including history if you wish) automatically when the browsers close. There are usually settings available to do that. See below. > How can I tell the browser (Firefox, Chrome and so on): Do not save any > information. > Example: > I do open www.hotmail.de, sending Emails, and close hotmail. > No there should be no information left on the pc abour hotmail. Only the > bookmark www.hotmail.de. If you mean an actual bookmark, clearing the history will not remove this. For Firefox: Settings > Privacy and Security - Delete cookies and site data when Firefox is closed - History -- Clear history when Firefox closes [Settings...] There are options for what to clear if you click the "settings" button, such as - browsing history - cookies - cache So there seem to be two ways to clear cookies and site data when closing Firefox, but I'm not sure if the options under History > Settings include all the "site data" removed by the other setting. Best wishes, Gareth > > > Thank you. > > > Reards, > Sophie > > > > *Von:* Gareth Evans > *Gesendet:* Samstag, 19. November 2022 14:12 > *An:* debian-user@lists.debian.org > *Betreff:* Re: FIREFOX is killing the whole PC > > On Sat 19 Nov 2022, at 13:14, DdB > wrote: > > Am 19.11.2022 um 10:34 schrieb Schwibinger Michael: > >> Hello > >> > >> Any idea? > >> > >> What did happen? > >> FF did open a page with bad PC, > >> so it needs 5 minutes to open it. > >> We killed the tab. > >> When we now try to open FF > >> whole PC is blocked. > >> How can we clean FF > >> because bad page is in it. > >> > >> Regards > >> Sophie > >> > > > Did you try to start it from the commandline with the option safe-mode? > > > > firefox --safe-mode > > If the idea is to prevent previous tabs from opening on startup, that only > works for me if firefox is already running when I run > > firefox --safe-mode > > ...which may not be possible for Sophie. > > Removing the line: > > user_pref("browser.startup.page", 3); > > from > > /home/username/.mozilla/firefox/XXX.default-esr/prefs.js > > has the desired effect (where "XXX" is the appropriate string of letters and > numbers). > > There may be more than one such profile directory, in which case, if other > users don't rely on tabs being restored, then remove that line from all the > > XXX.whatever/prefs.js > > files you can find. > > It may also be necessary to add the line > > user_pref("browser.sessionstore.resume_from_crash", false); > > I don't know if the order of lines matters. In my prefs.js, this appears in > the sequence > > user_pref("browser.search.region", "GB"); > user_pref("browser.search.widget.inNavBar", true); > user_pref("browser.sessionstore.resume_from_crash", false); > > when added from about:config, but the 2nd line is non-default as well as the > 3rd, and these are only present if added manually or set in settings or > about:config, as appropriate. > > Hope that helps > Gareth > > >
Re: tbird AND javamail both broken
On Sun 20 Nov 2022, at 07:08, Tom Dial wrote: > On 11/19/22 10:09, gene heskett wrote: >> On 11/19/22 11:45, gene heskett wrote: >>> On 11/19/22 06:45, Gareth Evans wrote: >>>> >>>>> On 19 Nov 2022, at 10:17, Gareth Evans wrote: >>>>> >>>>> >>>>>> On 19 Nov 2022, at 04:08, gene heskett wrote: >>>>>> >>>>>> On 11/18/22 19:05, Gareth Evans wrote: >>>>>>>>> [...] >>>>>>> iirc, headers (that is, the lot of them) are supposed to be terminated >>>>>>> by a blank line (double line break) before message content/multipart >>>>>>> boundaries/blocks begin >>>>> >>>>> [...] >>>>> >>>>>> You're right of coarse, and yes, that was a straight copy paste from a >>>>>> geany session on the saved message [...] >>>>> >>>>> If you view the message source in Thunderbird, are the individual headers >>>>> still separated by blank lines? Saving the message and examining the >>>>> output introduces the possibility of CRLF line endings, which Geany may >>>>> not convert. >>>> >>>> I think David Wright is correct that Tb is showing the (empty) plain text >>>> section. I didn't notice this at first as I was struck by the blank lines >>>> and didn't look any further. >>>> >>>> If there were blank lines between headers in the raw message, I think Tb >>>> would be displaying the contents of the raw message after the first blank >>>> line, in plaintext, because the chain of headers had been broken at that >>>> point, and multipart boundaries etc not interpreted. >>>> >>>> So I think the blank lines in headers are probably a red herring, however >>>> they got there. >>>> >>>> The base64-encoded string in the text/html part (which begins "PEhUT...") >>>> converts to HTML: >>>> >>>> https://devpal.co/base64-decode/?data=PEhUTUw%2BPEJPRFk%2BPHNwYW4gc3R5bGU9ImNvbG9yOiMwMDAwMDA7Ij48c3BhbiBzdHlsZT0iZm9u%0A%0AdC1mYW1pbHk6QXJpYWwsSG >>>> >>>>>> =_Part_164_535344686.1668739861264 >>>>>> Content-Type: text/html;charset=UTF-8 >>>>>> Content-Transfer-Encoding: base64 >>>>>> PEhUT... >>>> >>>> What happens if you try (in Tb) >>>> >>>> View > Message Body As > Original HTML >>>> >>>> ? >>> >>> And I'll repeat one more time, then I'm done, there is NO html content in >>> the messages, not even a mimetype boundary for it. >>> >>> Here is a verbatum copy/paste of the most recent msg of several I have >>> received from this online seller: >>> == >>> Return-Path: >>> Received: from 216.163.176.191 unverified ([216.163.176.191]) by >>> mwweb09oc.mail2world.com with Mail2World SMTP Server; >>> Sat, 19 Nov 2022 07:08:13 -0800 >>> Received: from [47.90.198.27] (port=48703 >>> helo=out198-27.us.a.mail.aliyun.com) >>> by prd-mail2world-inbound-ash1-008.ash1.cynet with esmtps (TLS1.2) >>> tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 >>> (Exim 4.94.2) >>> (envelope-from ) >>> id 1owPSF-0002kY-Pd >>> for ghesk...@shentel.net; Sat, 19 Nov 2022 15:08:28 + >>> X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R191e2;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018047206;MF=c...@omc-stepperonline.com;NM=1;PH=DS;RN=1;RT=1;SR=0;TI=SMTPD_---.QBl8rV7_1668870493; >>> Received: from iZuf677iw3xihpZ(mailfrom:c...@omc-stepperonline.com >>> fp:SMTPD_---.QBl8rV7_1668870493) >>> by smtp.aliyun-inc.com; >>> Sat, 19 Nov 2022 23:08:13 +0800 >>> Date: Sat, 19 Nov 2022 23:08:13 +0800 (CST) >>> From: c...@omc-stepperonline.com >>> To: gene heskett >>> Message-ID: <457669489.89.1668870493425@iZuf677iw3xihpZ> >>> Subject: Re:We found the problem as to why I cannot "see" your emails. >>> MIME-Version: 1.0 >>> Content-Type: multipart/alternative; >>> boundary="=_Part_88_360748977.1668870493425" >>> X-mailer: javamail@rebee >>> X-CTCH-Spam: Unknown >>> X-CTCH-VOD: Unknown >>> x-ctasd: uncategorized >&
Re: tbird AND javamail both broken
On Sat 19 Nov 2022, at 20:15, Gareth Evans wrote: [...] > I'm not sure this is a Tb bug, just perhaps a "purist" way of doing > things ... I had assumed no blank line preceding a boundary was required as Tb still processes the boundary without one, but https://www.rfc-editor.org/rfc/rfc2049.html#page-15 suggests this is in fact a requirement. So perhaps a bug. G
Re: tbird AND javamail both broken
On Sat 19 Nov 2022, at 17:09, gene heskett [...] >> received from this online seller: [...] Hi Gene, If I copy the message source you posted above, starting from "Return Path:..." and ending at the end of "--=_Part_88_360748977.1668870493425--" then - paste that into a into a text file - save it as gene.eml - double-click gene.eml ...it opens with Thunderbird in plaintext view and appears to be empty. If I then go to View > Message Body As > Original HTML I can see your original email and their reply, in HTML format. If you haven't already tried View > Message Body As > Original HTML when viewing the "empty" plaintext version of the message, I think it should produce the same result as I got from saving the source to a separate file. If not, I'm afraid I can't suggest any reason for that. > [...] javamail is base64'ing all of the html composed reply to my query. But > because t-bird is broken and not re-entrant as it should be, I'm not seeing > it. It's sometimes necessary to "base64" messages from web-based wrappers to avoid bugs in header/message formatting. I've had this experience with PHPMailer. But the failure of "re-entrance" is because one of the blank lines in the text/plain multipart section of the raw message is interpreted as content, and Tb is displaying it (and more). If I click on the "blank" plaintext version's window in the (would-be) message display area, to give it focus, then select all copy paste into a text editor ...two line breaks are pasted. I'm not convinced *two* line breaks should be pasted, but there we are. I use MATE DE and the Caja file manager. Tb is my default email client. Evolution offers to import the message from mbox format when I: - right-click gene.eml - Open with... > other application > Evolution Mail and Calendar ...and it shows a preview of the HTML version immediately. I'm not sure this is a Tb bug, just perhaps a "purist" way of doing things which avoids "knowing what the user really wants", which (more generally) seems liable to unintended consequences. > Or, is there some option I can set that will enable its display. Much as I seem to recall one, I can't find a way to make Tb display HTML by default if it exists. This rather old forum post suggests that's the way things are, or at least were: "'View' > 'Message Body As' > 'Original HTML' is the setting to display received emails in HTML format" https://support.mozilla.org/en-US/questions/1113744 The reply there refers to a Tb extension "Allow HTML Temp" https://addons.thunderbird.net/en-GB/thunderbird/addon/allow-html-temp/?src=cb-dl-mostpopular?src=cb-dl-mostpopular but from the description, I'm not sure if this does quite what you want. Best wishes, Gareth
Re: FIREFOX is killing the whole PC
> On 19 Nov 2022, at 15:44, Gareth Evans wrote: > > > >>> On 19 Nov 2022, at 15:25, Andrew M.A. Cater wrote: >>> >>> On Sat, Nov 19, 2022 at 09:34:40AM +, Schwibinger Michael wrote: >>> Hello >>> >>> Any idea? >>> >>> What did happen? >>> FF did open a page with bad PC, >>> so it needs 5 minutes to open it. >>> We killed the tab. >>> When we now try to open FF >>> whole PC is blocked. >>> How can we clean FF >>> because bad page is in it. >>> >>> Regards >>> Sophie >>> >> >> Hi Sophie, >> > >> If you can start the machine and leave it for ten minutes to let Firefox run >> you may find that you can clear the cache and history. > > Hi Andy, > > How could history be related? > > Might it be worth just deleting > > /home/username/.cache/mozilla/firefox > (And switching off restoring previous tabs) > ? > > Thanks > Gareth