Re: /etc/fstab question (problem)?

2023-04-18 Thread Max Nikulin
On 18/04/2023 22:37, Charles Curley wrote: 1) Preserve the current contents of /tmp, 2) Adjust fstab to include the /tmp partition, 3) Mount the /tmp partition 4) Restore the contents of /tmp Some issues may arise due to files (regular ones, already deleted, sockets, fifos) opened by running

Re: "Bug" in Debian Installer?

2023-04-17 Thread Max Nikulin
On 17/04/2023 15:27, David Christensen wrote: On 4/16/23 22:08, Max Nikulin wrote: On 17/04/2023 09:18, David Christensen wrote: On 4/16/23 03:41, Max Nikulin wrote: On 16/04/2023 05:51, David Christensen wrote: When I moved the 2.5" SATA SSD to a homebrew Intel DQ67SW computer ... Th

Re: "Bug" in Debian Installer?

2023-04-16 Thread Max Nikulin
On 17/04/2023 09:18, David Christensen wrote: On 4/16/23 03:41, Max Nikulin wrote: On 16/04/2023 05:51, David Christensen wrote: When I moved the 2.5" SATA SSD to a homebrew Intel DQ67SW computer and configured BIOS Setup: "Boot" -> "UEFI Boot" -> "En

Re: "Bug" in Debian Installer?

2023-04-16 Thread Max Nikulin
On 16/04/2023 05:51, David Christensen wrote: I installed a 2.5" SATA SSD, inserted a debian-11.6.0-amd64-netinst CD, booted the CD, and installed Debian:     "Debian GNU/Linux UEFI Installer menu" -> "Install"     ...     "Partitioning method" -> "Manual" -> <2.5" SATA SSD> Perhaps at

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-15 Thread Max Nikulin
On 15/04/2023 19:37, Greg Wooledge wrote: On Sat, Apr 15, 2023 at 11:02:12AM +, davidson wrote: On Sat, 15 Apr 2023 Max Nikulin wrote: The problem is to prevent history expansion while keeping pattern matching (glob) active. du -ks -- .[!.]* | sort -n | tail Are there versions

Re: Commands service and systemctl.

2023-04-15 Thread Max Nikulin
On 14/04/2023 22:05, peter wrote: https://en.wikipedia.org/wiki/Systemd has many occurrences of "service", none referring to the service command. See systemd.unit(5). Besides services, systemd has sockets, timers and other unit types. For several somethings, the result of command, service

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-15 Thread Max Nikulin
On 15/04/2023 12:02, to...@tuxteam.de wrote: On Fri, Apr 14, 2023 at 11:02:03PM -0400, Greg Wooledge wrote: On Sat, Apr 15, 2023 at 09:44:03AM +0700, Max Nikulin wrote: As to [^c] vs. [!c], unfortunately the latter can not be always used as portable variant. It is treated as history expansion

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread Max Nikulin
On 14/04/2023 09:36, Greg Wooledge wrote: On Fri, Apr 14, 2023 at 09:08:08AM +0700, Max Nikulin wrote: https://www.shellcheck.net/wiki/SC3026 Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc Well, it's not clear how to actually add such a link. I guess you're supposed

Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-13 Thread Max Nikulin
On 13/04/2023 08:07, Greg Wooledge wrote: On Thu, Apr 13, 2023 at 12:12:23AM +, David wrote: $ echo [^0-9]* 11 22 <-- new behaviour by dash [...] The correct negation syntax in POSIX sh globs is [!chars]. The shellcheck utility gives this suggestion as well. Their wiki

Re: how to change default nameserver?

2023-04-11 Thread Max Nikulin
On 12/04/2023 00:36, Andrew M.A. Cater wrote: If you're deafblind and using a Braille reader - it looks for a serial tty. That's the only way it can work. It can't ask you first necessarily. Since new class of users has been identified, namely those who have serial port adapters, but no

Re: questions about cron.daily

2023-04-11 Thread Max Nikulin
On 09/04/2023 14:54, Michel Verdier wrote: Le 8 avril 2023 Max Nikulin a écrit : There is ready to use one: /usr/lib/systemd/user/emacs.service Perhaps there is no such file in buster. /usr/lib/systemd/user is for global system running. If you want to change something in the service you copy

Re: how to limit a CPU temperature?

2023-04-10 Thread Max Nikulin
On 11/04/2023 07:12, songbird wrote: the bios did let me turn down the temperature so we'll see how that works next time i need to do an upload. I am curious if it affects /sys/class/thermal/thermal_zone* I have never tried to do anything with this interface. I decided to look into sysfs

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Max Nikulin
On 08/04/2023 23:20, Greg Wooledge wrote: One of the basic goals of structured programming languages was to eliminate reliance on line numbers -- which were the hallmark of many other languages in use at the time. or reliance on labels (represented by numbers) for goto destination as in early

Re: questions about cron.daily

2023-04-08 Thread Max Nikulin
On 08/04/2023 22:17, Kushal Kumaran wrote: Have you ever actually *made* a systemd --user unit file? If so, for what purpose? I have one. It starts emacs server for me when I login. There is ready to use one: /usr/lib/systemd/user/emacs.service Perhaps there is no such file in buster.

Re: questions about cron.daily

2023-04-08 Thread Max Nikulin
On 08/04/2023 19:39, Greg Wooledge wrote: Have you ever actually *made* a systemd --user unit file? If so, for what purpose? For LXC unprivileged containers that are stopped on logout. Do you mean it is exceptional case when default user units need adjustment? /usr/lib/systemd/user

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Max Nikulin
On 01/04/2023 14:59, DdB wrote: In fact, unfortunately, i did not understand the necessity to wrap the output, as i am happily using the synchronised scrollbar (inside meld) in such cases, but ofc, that may not fit your use case. If it is prose text formatted as a line per paragraph then

Re: Unable to open Thunderbird as default calendar app

2023-03-29 Thread Max Nikulin
On 30/03/2023 08:01, John Boxall wrote: "xdg-mime query default x-scheme-handler/webcal org.gnome.Evolution.desktop" To express it explicitly: handling of "text/calendar" .ics files and webcal: (webcals:) URI schemes are configured independently. From your original message it was

Re: Unable to open Thunderbird as default calendar app

2023-03-28 Thread Max Nikulin
On 29/03/2023 05:01, John Boxall wrote: I am trying to launch Thunderbird as my calendar application when opening a webcal link. Your description is too general, it lacks details. E.g. you did not provide exact commands and their output that you use to check that defaults are set properly.

Re: Playing Card Symbols

2023-03-27 Thread Max Nikulin
On 28/03/2023 03:10, Greg Wooledge wrote: In all 3 terminals, Ctrl-Shift-U simply acts like Ctrl-U. If there's already text typed at the bash prompt, it's all erased. If there's no text typed at the bash prompt, it beeps. It may depend on X inputMethod setting in xterm, whether ibus or some

Re: differences between hwclock <-> date due to time zone issues? ...

2023-03-25 Thread Max Nikulin
On 25/03/2023 10:39, Albretch Mueller wrote: You can't physically alter a DVD[+|-]R once it is burned ... Do you customize images to change preferences, e.g. to make OS aware that hardware clock is set to local time? If you do not than OS almost certainly assumes that system time is in

Re: differences between hwclock <-> date due to time zone issues? ...

2023-03-24 Thread Max Nikulin
On 25/03/2023 10:39, Albretch Mueller wrote: On 3/25/23, Max Nikulin wrote: - Both Debian and Windows installed on the hard drive ... Thank you for the steps and the logical elucidations that may certainly help someone else, but I can't do that "because" all electronic devices w

Re: shim boot-loader problem

2023-03-24 Thread Max Nikulin
On 25/03/2023 04:48, KCB Leigh wrote:     > Through about May of 2022 I was able to also boot with       Ubuntu, with no problems... but some time in the last half       of 2022, I updated Debian, & now, although the Ubuntu option       exists in the GRUB boot loader menu, when I select it,

Re: differences between hwclock <-> date due to time zone issues? ...

2023-03-24 Thread Max Nikulin
On 25/03/2023 07:07, Albretch Mueller wrote: I am using right now a DELL laptop which had Windows 11 installed but I expect that the following should work smoothly enough: - Hardware clock is in UTC - Both Debian and Windows installed on the hard drive are configured to your local time zone

Re: PDF on debian

2023-03-10 Thread Max Nikulin
On 09/03/2023 21:29, tomas wrote: TeX is perfectly fine as a PDF backend. Especially if you go for the more "modern" variants, like LuaTeX, which grok UTF-8 natively. I am curious if you can provide preamble with font configuration working for most of users for documents including non-latin

Re: PDF on debian

2023-03-09 Thread Max Nikulin
On 09/03/2023 22:11, Vincent Lefevre wrote: libreoffice --headless --convert-to pdf file.txt produces a PDF of better quality (fewer spacing issues). I was assuming something like markdown/reStructuredText/asciidoc/etc. instead of plain text. As the last resort :TOhtml vim command

Re: PDF on debian

2023-03-09 Thread Max Nikulin
On 09/03/2023 17:32, Corey Hickman wrote: What's the suggested PDF generator in Debian (without desktop)? And is there a VIM plugin for that? If you use some markup language that can be converted to HTML then there is an alternative to LaTeX workflow: chromium --headless --disable-gpu

Re: Forcing dhclient to not ignore tun0 interface when it's available

2023-03-07 Thread Max Nikulin
On 06/03/2023 19:17, davenull wrote: On 2023-03-03 06:22, Max Nikulin wrote: Perhaps the opposite. dhclient running for enp2s0f0 should detect that VPN is active and to avoid overwriting DNS settings that direct requests to tun0. Yes, indeed. I want dhclient to NOT overwrite /etc/resolv.conf

Re: Looking for "Package Verification with dpkg: Implementation" Document

2023-03-07 Thread Max Nikulin
On 07/03/2023 18:19, Cédric Van Rompay wrote: > This program implements the verification specs defined in the document, "Package Verification with dpkg: Implementation", which is a more complete reference for the verification procedure. ... Any idea which document is this refering to? From

Re: what method do you prefer for data transfer between nodes?

2023-03-06 Thread Max Nikulin
On 05/03/2023 15:22, Ken Young wrote: 1. scp Notice that in bookworm (next release) scp uses SFTP protocol. This ssh-based protocol can be used in the current stable release as well. Do not confuse it with ftps that is traditional FTP over TLS.

Re: besides ping/nslookup, any other tools to resolve a hostname?

2023-03-03 Thread Max Nikulin
On 04/03/2023 07:53, Ken Young wrote: Do you know any other way to resolve a hostname by manual  on this container? systemd-resolve However I am unsure concerning k8s containers. Some interpreters: python3 -c 'import socket as s, sys; print(s.gethostbyname(sys.argv[1]))' debian.net

Re: unbound and fetchmail (was: Re: Remove route '169.254.0.0/16 dev ovs-system')

2023-03-03 Thread Max Nikulin
On 02/03/2023 22:27, Christoph Brinkhaus wrote: Am Thu, Mar 02, 2023 at 09:26:33PM +0700 schrieb Max Nikulin: On 28/02/2023 17:25, Christoph Brinkhaus wrote: I will just inform about the status. Everything is fine now. A word about systemd-networkd-wait-online: With this service running

Re: Forcing dhclient to not ignore tun0 interface when it's available

2023-03-03 Thread Max Nikulin
On 03/03/2023 13:29, Tim Woodall wrote: On Fri, 3 Mar 2023, Max Nikulin wrote: dhclient running for enp2s0f0 should detect that VPN is active and to avoid overwriting DNS settings that direct requests to tun0. The hook can create and delete a file like rhis: tim@dirac:/etc/dhcp (none

Re: Forcing dhclient to not ignore tun0 interface when it's available

2023-03-02 Thread Max Nikulin
On 03/03/2023 10:08, Tim Woodall wrote: New to this thread, so might be totally off-piste but openvpn has hooks to run scripts like this: ... This is server side but the route-up/pre-down work client side too. Presumably you can do something here to renew dhcp leases or restore resolv.conf.

Re: unbound and fetchmail (was: Re: Remove route '169.254.0.0/16 dev ovs-system')

2023-03-02 Thread Max Nikulin
On 28/02/2023 17:25, Christoph Brinkhaus wrote: I will just inform about the status. Everything is fine now. A word about systemd-networkd-wait-online: With this service running there has been even a delay of 1-2 seconds when switching from one console to a different one (the consoles when X is

unbound and fetchmail (was: Re: Remove route '169.254.0.0/16 dev ovs-system')

2023-02-26 Thread Max Nikulin
On 25/02/2023 19:49, Christoph Brinkhaus wrote: Now there are no messages reported by journald as above. I am curious if fixing unbound and so network-online.target helped to avoid 169.254.x.y address in your case. Can fetchmail work without a kludge you added to achieve some delay? My

Re: Remove route '169.254.0.0/16 dev ovs-system'

2023-02-26 Thread Max Nikulin
On 26/02/2023 18:18, Geert Stappers wrote: AIUI is systemd-networkd the main player, dhcpcd some helper and NetworkManager for contact with user. First of all, I would not touch dhcpcd.conf for a while. Is it assumed that ovs-system should get its IP address from DHCP? If I understand it

Re: Virtual machine affects client screen resolution

2023-02-24 Thread Max Nikulin
On 25/02/2023 00:55, Roy J. Tellason, Sr. wrote: On Wednesday 22 February 2023 09:24:17 pm Max Nikulin wrote: On 19/02/2023 01:01, Roy J. Tellason, Sr. wrote: So this got me curious, and I tried it out. In the terminal that's running inside of the virtualbox instance where I'm doing emails

Re: Remove route '169.254.0.0/16 dev ovs-system'

2023-02-24 Thread Max Nikulin
On 25/02/2023 04:43, Geert Stappers wrote: Having `apt purge avahi-autoipd` still gets me "auto IPv4 address" Ideas how to avoid it are welcome. Have you checked "journalctl --boot" for logs which component assigns 169.254.x.y address and for various errors related to network? I am not

Re: Remove route '169.254.0.0/16 dev ovs-system'

2023-02-24 Thread Max Nikulin
On 22/02/2023 23:45, Christoph Brinkhaus wrote: Am Wed, Feb 22, 2023 at 10:24:59PM +0700 schrieb Max Nikulin: On 22/02/2023 01:26, Christoph Brinkhaus wrote: [Unit] Description=A remote mail retrieval and forwarding utility After=network-online.target opensmtpd.service unbound.service Requires

Re: Virtual machine affects client screen resolution

2023-02-22 Thread Max Nikulin
On 19/02/2023 01:01, Roy J. Tellason, Sr. wrote: On Saturday 18 February 2023 12:17:20 am Max Nikulin wrote: echo "$DISPLAY" So this got me curious, and I tried it out. In the terminal that's running inside of the virtualbox instance where I'm doing emails, it comes back with:

Re: Where to look into when system crashes

2023-02-22 Thread Max Nikulin
On 22/02/2023 11:34, Qiming Ye wrote: I have a Debian box running for 280+ days without rebooting, recently it crashes pretty much everyday.  Where should I look for the reason of crashing? sudo journalctl You may limit logs to specific boot by adding option like "--boot=-1". Scroll to

Re: Remove route '169.254.0.0/16 dev ovs-system'

2023-02-22 Thread Max Nikulin
On 22/02/2023 01:26, Christoph Brinkhaus wrote: I have no idea if it is possible to estimate a DHCP response time. Since static IP address is assigned, it does not matter. I expected DHCP configuration and that delay may be noticed in `journalctl -b 0` logs. [Unit] Description=A remote

Re: Remove route '169.254.0.0/16 dev ovs-system'

2023-02-21 Thread Max Nikulin
On 20/02/2023 21:44, Christoph Brinkhaus wrote: Am Mon, Feb 20, 2023 at 09:59:20AM +0700 schrieb Max Nikulin: Perhaps to get rid of 169.254.x.y addresses, it is enough to properly configure network interface, either to ensure that DHCP server is available or to assign a static address. After

Re: Fw: python thinking at debian

2023-02-21 Thread Max Nikulin
On 20/02/2023 20:59, Vic Cekvenich wrote: ... I think that is the goal for all of us. ... I did/do apt install python3-pip and python3-venv and python ensurepip still does not work. But if I do pyenv to build, all of python works well. There is large gap between too generic goal "can

Re: Remove route '169.254.0.0/16 dev ovs-system'

2023-02-19 Thread Max Nikulin
On 20/02/2023 01:57, Geert Stappers wrote: feb 19 18:46:18 trancilo systemd-networkd-wait-online[601]: ovs-system: Failed to update link state, ignoring: No such file or directory feb 19 18:46:18 trancilo systemd-networkd-wait-online[601]: ovs-system: Failed to update link state, ignoring: No

Re: Remove route '169.254.0.0/16 dev ovs-system'

2023-02-19 Thread Max Nikulin
On 19/02/2023 23:35, Christoph Brinkhaus wrote: Am Sun, Feb 19, 2023 at 05:21:47PM +0100 schrieb Geert Stappers: Having installed package openvswitch-switch and doing `ip route` I do get 169.254.0.0/16 dev ovs-system scope link src 169.254.201.7 metric 1004 Please have a look at

Re: CUPS - how to match autodetected printers to physical ones

2023-02-18 Thread Max Nikulin
On 16/02/2023 22:41, Greg Wooledge wrote: 2) Also suggested: avahi-browse -rt _ipp._tcp This year, the output of that command no longer contains my printer's IP address. Last year, it did. I have no idea why this has changed. Avahi was mentioned in the ipv6 thread, so I decided to

Re: snapd vs apt

2023-02-18 Thread Max Nikulin
On 18/02/2023 13:33, tomas wrote: On Sat, Feb 18, 2023 at 12:50:12PM +0700, Max Nikulin wrote: When some application is packaged for Linux distributions it is easier to rebuild it with a custom patch. I suspect that a developer distributing a snap package may use specific and not well

Re: hard disk installation method fails

2023-02-18 Thread Max Nikulin
On 18/02/2023 12:26, Charles Curley wrote: menuentry "Install Debian 12 OS (preseeded)" { set root='hd0,msdos5' set isofile=/firmware-testing-i386-netinst.iso insmod part_msdos insmod loopback loopback loop (hd0,msdos5)$isofile linux (loop)/install.386/vmlinuz

Re: snapd vs apt

2023-02-17 Thread Max Nikulin
On 17/02/2023 00:48, winnie hw wrote: When both snapd and apt sources are available, which one should I choose for package installation? Though I found the package versions in snapd are a bit newer than apt. With snapd you do not have full control when an application is updated. The daemon

Re: Partitioning an SSD?

2023-02-17 Thread Max Nikulin
On 16/02/2023 22:25, Joe wrote: Stretch installed perfectly dual-boot with Win 10 on an EFI Acer netbook, but upgrading to Buster broke booting to grub. It actually broke EFI booting completely, but I've been able to restore booting at least to Windows. And yes, I've tried everything the Net can

Re: Virtual machine affects client screen resolution

2023-02-17 Thread Max Nikulin
On 18/02/2023 08:57, Albert S. wrote: If you think I issued the xrandr command on the wrong machine, that was not the case: history makes it clear. Behavior depends on the DISPLAY environment value at the moment when xrandr was executed. Likely it was pointed not to vnc Xserver, but to the

Why users uninstall avahi

2023-02-16 Thread Max Nikulin
On 14/02/2023 22:48, David Wright wrote: On Mon 13 Feb 2023 at 11:39:31 (+0100), Christoph Brinkhaus wrote: Today I have deleted almost everything of avahi and xfce4. After a reboot the 169.254.xxx.yyy is no more configured. Yes, and that's a problem for anyone trying to replicate the

Upgrades of Debian and Ubuntu

2023-02-16 Thread Max Nikulin
On 16/02/2023 14:59, Nicolas George wrote: Debian is not Ubuntu, major upgrade do not break the system. Perhaps the issue is not Ubuntu per se, but e.g. number of 3rd-party repositories. Ubuntu users may be more frequently affected by suggestions to add a ppa repository. I have heard

Re: New Dell Inspiron 15 3000 Series 3511 sound problem on Debian 11 Stable

2023-02-11 Thread Max Nikulin
On 12/02/2023 05:46, Default User wrote: [14777.998904] Modules linked in: ctr ccm nls_ascii nls_cp437 vfat fat ext4 mbcache jbd2 ses enclosure scsi_transport_sas rfcomm cmac algif_hash algif_skcipher af_alg bnep x86_pkg_temp_thermal intel_powerclamp coretemp rtw88_8821ce btusb kvm_intel

Re: No USB with qemu+macOS+USB+iPads

2023-02-09 Thread Max Nikulin
On 09/02/2023 01:23, Charles Curley wrote: On Wed, 8 Feb 2023 22:07:37 +0700 Max Nikulin wrote: Does it work if you pass a USB device to a Linux guest (e.g. boot some live image)? Yes. I can hand a USB memory stick to a Debian guest, Debian installer, bullseye and bookworm. Host is bullseye

Re: No USB with qemu+macOS+USB+iPads

2023-02-08 Thread Max Nikulin
On 08/02/2023 01:15, stand...@gmx.net wrote: Max Nikulin schrieb am Montag, 6. Februar 2023 um 13:30:06 UTC+1: sudo -A setfacl -m u:`id -un`:rw /dev/bus/usb/002/007 I think running as root doesn't requirte this change, or? Then I have no idea. Does it work if you pass a USB device

Re: kernel errors

2023-02-06 Thread Max Nikulin
On 06/02/2023 00:11, Richmond wrote: Max Nikulin writes: On 05/02/2023 03:12, Richmond wrote: The errors about sr0 come before the stuff about resume. Does the following command generate similar errors (taken from initrd scripts, UUID is intentionally not from the set of existing partitions

Re: No USB with qemu+macOS+USB+iPads

2023-02-06 Thread Max Nikulin
On 02/02/2023 23:00, stand...@gmx.net wrote: (qemu) info usbhost Bus 2, Addr 4, Port 9, Speed 480 Mb/s Class 00: USB device 058f:6387, Mass Storage Bus 2, Addr 3, Port 3, Speed 1.5 Mb/s Class 00: USB device 046d:c34b, USB Keyboard Bus 2, Addr 2, Port 2, Speed 12 Mb/s

Re: OT: repair/replace cell in Li-ion battery?

2023-02-06 Thread Max Nikulin
On 05/02/2023 23:32, gene heskett wrote: Speaking as a CET with some knowledge of battery degradation, the thought of replacing an individual cell in a li-ion battery scares me. That new battery will have a bit more capacity, which in turn may force other older cells into reverse polarity,

Re: kernel errors

2023-02-05 Thread Max Nikulin
On 05/02/2023 03:12, Richmond wrote: The errors about sr0 come before the stuff about resume. Does the following command generate similar errors (taken from initrd scripts, UUID is intentionally not from the set of existing partitions)? blkid -l -t UUID=----

Re: OT: repair/replace cell in Li-ion battery?

2023-02-05 Thread Max Nikulin
On 05/02/2023 17:37, Yvan Masson wrote: I don't know anything about battery, but I can do easy soldering. 1. Proper technology for rechargeable batteries is welding, not soldering (to prevent overheating). 2. If you just disconnect a cell then a chip monitoring health status of the assembly

Re: kernel errors

2023-02-03 Thread Max Nikulin
On 03/02/2023 01:47, Richmond wrote: It might be a good way for someone to reproduce the error on some other machine. I have no problems with the CD/DVD writer and have used it a few times recently. Do you see the same errors if kernel command line is edited from grub to pass non-existing

Re: Syslog/Rsyslog/Systemctl issue

2023-02-02 Thread Max Nikulin
On 01/02/2023 21:48, Freyja wrote: Instead of just creating the folders, I've reinstalled some packages: I would consider complete reinstall (install from scratch). It may be faster even for a person having experience with systemd troubleshooting. Something low level is affected. However I

Re: Web page management. Was: Re: Debian release criteria.

2023-02-01 Thread Max Nikulin
On 30/01/2023 10:32, Celejar wrote: For those who may not be aware, the developer of uBlock Origin and uMatrix, Raymond Hill, has ceased work on uMatrix: https://github.com/uBlockOrigin/uMatrix-issues/issues/291#issuecomment-694988696 It is really sour. On a lot of sites, including github,

Re: ASCII formatting for plain text email

2023-02-01 Thread Max Nikulin
On 01/02/2023 01:49, Pierre Willaime wrote: I would like to format plain text emails to increase readability and information separation. The following message is result of ascii export from Emacs Org mode, the source file is attached. Export backend is customizable.

Re: Syslog/Rsyslog/Systemctl issue

2023-02-01 Thread Max Nikulin
On 31/01/2023 16:57, deb...@sioban.net wrote: I'm contacting you because I'm clueless on what's happening. Basically my issue is I don't have logs anymore :/ ... > systemctl start rsyslog.service A dependency job for rsyslog.service failed. See 'journalctl -xe' for details. ❯systemctl

Re: Unexpected permission denied

2023-01-26 Thread Max Nikulin
On 26/01/2023 11:04, Greg Wooledge wrote: On Thu, Jan 26, 2023 at 10:26:34AM +0700, Max Nikulin wrote: Greg, I agree with your warnings. Just out of curiosity, is there a reason why the following variant may still be unsafe? runas() { local who=$1; shift; su --login "$who" --shell

Re: Unexpected permission denied

2023-01-25 Thread Max Nikulin
On 25/01/2023 21:52, Greg Wooledge wrote: On Wed, Jan 25, 2023 at 03:36:33PM +0100, Yassine Chaouche wrote: runas_wwwdata () { echo su - www-data -s /bin/bash -c "$*"; su - www-data -s /bin/bash -c "$*" } ... su(1) is pretty much the WORST possible choice for this, as it forces you

Re: Postfix fails after upgrade from bullseye to bookworm

2023-01-20 Thread Max Nikulin
On 21/01/2023 01:55, Charles Curley wrote: root@white:~# ps aux | grep -i openssl root 4586 5.8 0.9 8256 2064 pts/3S+ 11:48 0:00 grep --colour=auto -i openssl root 4587 150 2.1 4720 ?R11:48 0:00 /usr/bin/openssl x509 -subject_hash_old

Re: Setting up bindfs mount in LXC container

2023-01-19 Thread Max Nikulin
On 18/01/2023 13:02, Richard Hector wrote: I have a Wordpress site. The directory /srv/sitename/doc_root, and most of the directories under it, are owned by user 'sitename'. PHP runs as 'sitename-run', which has access (via group 'sitename') to read all of that, but not write it. Some

Re: Setting up bindfs mount in LXC container

2023-01-17 Thread Max Nikulin
On 18/01/2023 03:52, Richard Hector wrote: On 17/01/23 23:52, Max Nikulin wrote: lxc.idmap = u 0 10 1000 lxc.idmap = u 1000 1000 1 lxc.mount.entry = /home/richard/sitename/doc_root srv/sitename/doc_root none bind,optional,create=dir My goal is not to map container users to host users

Re: Setting up bindfs mount in LXC container

2023-01-17 Thread Max Nikulin
On 17/01/2023 17:52, Max Nikulin wrote: lxc.mount.entry = /home/richard/sitename/doc_root /srv/sitename/doc_root none bind,optional,create=dir Sorry, path inside the container should be without the leading slash. lxc.mount.entry = /home/richard/sitename/doc_root srv/sitename/doc_root none

Re: Setting up bindfs mount in LXC container

2023-01-17 Thread Max Nikulin
On 17/01/2023 04:06, Richard Hector wrote: I'm using bindfs in my web LXC containers to allow particular users to write to their site docroot as the correct user. I am not familiar with bindfs, so I may miss something important for your use case. First of all I am unsure why you prefer

Re: Why Debian packaging structure is so difficult

2023-01-13 Thread Max Nikulin
On 09/01/2023 13:20, Sadhu Santh wrote: If not, why the upstream structure is not made simpler? If I remember correctly, current repository layout minimizes traffic at the moment of new release. .deb packages are already synced as a part of testing suite. Almost certainly it is explained

Re: problem with loading installer (hard disk method)

2022-12-30 Thread Max Nikulin
rd On Thu 29 Dec 2022 at 22:07:15 +0700, Max Nikulin wrote: Notice that you having an .iso file stored on a hard drive, it is possible to boot it directly. ... GRUB's loopback facility will not work with installer images. They do not contain iso-scan. https://bugs.debian.org/618000 https

Re: problem with loading installer (hard disk method)

2022-12-29 Thread Max Nikulin
On 29/12/2022 10:55, lou wrote: i have solved my 2nd problem on my own, thanks anyway! Great i have 2 suggestions: https://www.debian.org/releases/bullseye/amd64/apes02.en.html E.2. Contributing to This Document If you have problems or suggestions regarding this document, you should

Re: What layout should I use to emulate a German keyboard but also be able to type other European characters?

2022-12-29 Thread Max Nikulin
On 29/12/2022 18:23, to...@tuxteam.de wrote: I mapped the compose key to CAPS LOCK (who needs that, right?) /etc/default/keyboard: XKBOPTIONS="grp:shift_caps_switch,compose:ralt" - [CapsLock] to select first layout - [Shift+CapsLock] to select second layout - [RightAlt] for Compose Gnome can

Re: problem with loading installer (hard disk method)

2022-12-28 Thread Max Nikulin
On 29/12/2022 08:10, lou wrote: set root='(hd0,msdos1)' i boot installer from buster, installed at sda4, i wonder if i shall change hd0 to hd3 in line 4 above If you have multiple hard drives you may need to change hd0, but at first it is necessary to change partition from msdos1 to msdos4

Re: colorscheme in vi

2022-12-24 Thread Max Nikulin
On 24/12/2022 03:49, Pierre Frenkiel wrote: if I put in .vimrc "colorscheme white" or any unknown color (qwert for example) I get a message "cannot find colorscheme xxx", but I have  black on white characters with vim. I am curious what is the output of :colorscheme (without argument) when

Re: colorscheme in vi

2022-12-23 Thread Max Nikulin
On 23/12/2022 18:36, Pierre Frenkiel wrote: I wanted to open vi with a white background and a black fg to do that, Do you mean graphical gvim window or vim running in a terminal? In the latter case which one and should vim follow terminal background? Is tmux or screen involved? Besides

Re: loss of screen resolution, part 2

2022-12-22 Thread Max Nikulin
On 21/12/2022 00:26, Kleene, Steven (kleenesj) wrote: On Tuesday, December 20, 2022 10:36 AM, Max Nikulin wrote: get-edid | parse-edid edid-decode /sys/class/drm/card0-HDMI-A-1/edid Thanks. get-edid doesn't find any EDIDs, and there are no edid files under /sys/devices. Have you checked

Re: loss of screen resolution, part 2

2022-12-20 Thread Max Nikulin
On 20/12/2022 09:49, Timothy M Butterworth wrote: Newer Intel graphics require closed source binary blobs. Try installing firmware-linux-nonfree. In the previous thread somebody spotted an issue with fetching modes supported by the monitor. Examples of commands to debug such problem:

Re: Independent menu system

2022-12-14 Thread Max Nikulin
On 14/12/2022 06:22, pa...@quillandmouse.com wrote: I prefer to run i3wm, but it has no native menu system. Like Openbox, GNOME, Plasma, etc. 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

Re: installation partition recommendations

2022-12-11 Thread Max Nikulin
On 11/12/2022 22:01, Semih Ozlem wrote: Basically the menu that offers choices for where to boot the machine appears. If Debian or USB drive is chosen the menu comes back with no progress at all. Directory structure for UEFI boot (sdd4 in your case) depends on whether it is internal disk

Re: bash read and field separator

2022-12-10 Thread Max Nikulin
On 09/12/2022 23:20, Greg Wooledge wrote: On Fri, Dec 09, 2022 at 10:23:29PM +0700, Max Nikulin wrote: find dir dir/ dir// -printf '%T@/%TY-%Tm-%Td/%TT/%p\0' | sort -zn | while IFS=/ read -rd '' _ day time path; do printf '%s %s %s\n' "$day" "${time%.*}" &quo

Re: bash read and field separator

2022-12-09 Thread Max Nikulin
On 08/12/2022 23:52, Greg Wooledge wrote: On Thu, Dec 08, 2022 at 09:53:37PM +0700, Max Nikulin wrote: I have tried slash (a character disallowed in file names) instead of space as field separator: The "problem" with that is we have slashes in our pathnames (%p) in almost

bash read and field separator

2022-12-08 Thread Max Nikulin
On 07/12/2022 19:18, Greg Wooledge wrote: rlart() { local day time path find "${1:-.}" -type f -printf '%T@ %TY-%Tm-%Td %TT %p\0' | sort -zn | while read -rd '' _ day time path; do printf '%s %s %s\n' "$day" "${time%.*}" "$path" done } I was not aware of the "read

Re: hard disk and sub flash disk issues

2022-12-08 Thread Max Nikulin
On 08/12/2022 20:38, Semih Ozlem wrote: (i) I accidentally turned one of the partitions on the hard disk of the machine I currently have to linux swap. That partition contained files that I may need to review or use later. Is there a way to recove those files and if so how A chance is

Re: TBird mail (was: user perms)

2022-12-07 Thread Max Nikulin
On 07/12/2022 15:02, gene heskett wrote: And when I find it. the prefs.js file does not contain any of the strings mentioned in the reply I quoted and everyone but you have clipped. Am I to add these below? According to the top of the file, t-bird must be stopped before editing as it saves

Re: TBird mail (was: user perms)

2022-12-06 Thread Max Nikulin
On 07/12/2022 06:58, gene heskett wrote: profiledir: what or where is this "profiledir:"? after sudo updatedb today, I find Querying search engine "thunderbird profile directory" gives https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data

Re: tbird broken

2022-11-19 Thread Max Nikulin
On 19/11/2022 18:59, Kamil Jońca wrote: On 18/11/2022 14:42, Kamil Jońca wrote: user_pref("mailnews.nntp.jsmodule", false); ... But old implementation works, at least for me, while new not. I would say that both implementations have issues and I faced more painful bugs in the older one.

Re: tbird broken

2022-11-19 Thread Max Nikulin
On 18/11/2022 14:42, Kamil Jońca wrote: user_pref("mailnews.nntp.jsmodule", false); might help Notice that Thunderbird developers are closing bugs related to the old NNTP implementation marking them WONTFIX.

Re: How to can make a partition in my hard disk ?

2022-10-27 Thread Max Nikulin
On 28/10/2022 05:19, William Torrez Corea wrote: Only use my laptop in my desktop and when i going to sleep in a night table for watch a movie. Compare G-Sense_Error_Rate attribute value in smartctl output in the beginning and at the end. In some buildings a train line nearby may cause

Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image

2022-10-27 Thread Max Nikulin
On 28/10/2022 07:07, Mario Marietto wrote: find . | cpio --create I rarely use cpio, but recently there was a thread on tar and unwanted hard links in the created archive. "find" output mixes regular files and directories. If the archiver recursively walks through received directories then

Re: Peculiarities of Toshiba L200 2.5in HDD

2022-10-26 Thread Max Nikulin
On 26/10/2022 17:21, Dan Ritter wrote: Max Nikulin wrote: On 26/10/2022 10:42, David Christensen wrote: So, you own one of these drives? I do not expect anything directly related to the original subject in this thread, but to not hijack this thread, you may ask your questions e.g

Peculiarities of Toshiba L200 2.5in HDD

2022-10-25 Thread Max Nikulin
On 26/10/2022 10:42, David Christensen wrote: P.S. I have not managed to change heads unload timeout for Toshiba L200 using hdparm. In your case due to high G-Sense_Error_Rate increasing timeout might be dangerous. So, you own one of these drives? I have a Toshiba L200 HDWK105 SATA 3 500G

Re: How to can make a partition in my hard disk ?

2022-10-25 Thread Max Nikulin
On 26/10/2022 04:34, William Torrez Corea wrote: Model Family: Toshiba L200 (SMR) I would not consider a HDD with shingled magnetic recording as a storage to install OS. This series has a CMR product, but it has another problem: 3 Spin_Up_TimePOS--K 100 100 001-

Re: Remove Network Manager panel icon in Mate 1.24.1 Desktop

2022-10-25 Thread Max Nikulin
On 25/10/2022 15:50, jeremy ardley wrote: My only problem now is the annoying NetworkManager icon in the Mate panel. I want to remove it and I have gone through various advice pages but nothing seems to work. The NetworkManager icon seems permanently wedged into the panel. Something like

Re: grep replacement using sed is behaving oddly

2022-10-22 Thread Max Nikulin
On 22/10/2022 20:23, Gary Dale wrote:     sed -i '//d' *.html did the trick. I would suggest you to use more specific pattern to avoid removing of meaningful text due to a lost newline character: sed -i -e '/^\s*]*>\s*$/d' "." in regexp may be a source of surprises (or catastrophic

<    1   2   3   4   5   6   7   >