Re: ASCII formatting for plain text email

2023-01-31 Thread Anssi Saari
Pierre Willaime  writes:

> 1- a simple way to draw a line (without pressing 72 times on "-")
> ---
>
> 2- a simple way to align some text to the right (that is to say to
> automatically calculate how many spaces are needed to fill the gap
> between the text on the left an the text on the right for 72 characters
> line.
>
> 3- a simple way to do boxes (no present in debian-annouce header)

Since you mentioned Emacs, I'd say artist-mode for the lines and
boxes. See the manual but mouse-2 for a menu where you can select, say,
a rectangle or line and mouse-1 to draw. Shift with those for straight
lines and squares.

   To right justtify a paragraph or region, well, I didn't find anything
   ready to go except the little function below. Works great
   though. Fill-column controls the right margin, default is 70.

(defun right-region (from to)
  "Right-justify each nonblank line starting in the region."
  (interactive "r")
  (if (> from to)
  (let ((tem to))
(setq to from from tem)))
  (save-excursion
(save-restriction
  (narrow-to-region from to)
  (goto-char from)
  (while (not (eobp))
(or (save-excursion
  (skip-chars-forward " \t") (eolp))
(justify-current-line 'right))
(forward-line 1)

From
https://emacs.stackexchange.com/questions/3540/how-to-right-align-region-and-or-line



Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread debian



Le 31/01/2023 à 19:29, Greg Wooledge a écrit :



Requires=syslog.socket

This is the only part of it that looks like a "dependency".  Maybe
this is the thing that's breaking?  You can try
"systemctl status syslog.socket" and see if it gives anything useful.

Here is the result:

❯ systemctl status syslog.socket
● syslog.socket - Syslog Socket
 Loaded: loaded (/lib/systemd/system/syslog.socket; static)
 Active: failed (Result: resources)
   Triggers: ● rsyslog.service
   Docs: man:systemd.special(7)
https://www.freedesktop.org/wiki/Software/systemd/syslog
 Listen: /run/systemd/journal/syslog (Datagram)

And same for cat:

❯ systemctl cat syslog.socket
# /lib/systemd/system/syslog.socket
#  SPDX-License-Identifier: LGPL-2.1-or-later
#
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Syslog Socket
Documentation=man:systemd.special(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/syslog
DefaultDependencies=no
Before=sockets.target

# Don't allow logging until the very end
Conflicts=shutdown.target
Before=shutdown.target

# Don't try to activate syslog.service if sysinit.target has failed.
Conflicts=emergency.service
Before=emergency.service

[Socket]
ListenDatagram=/run/systemd/journal/syslog
SocketMode=0666
PassCredentials=yes
PassSecurity=yes
ReceiveBuffer=8M

# The default syslog implementation should make syslog.service a
# symlink to itself, so that this socket activates the right actual
# syslog service.
#
# Examples:
#
# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
# /etc/systemd/system/syslog.service -> 
/lib/systemd/system/syslog-ng.service

#
# Best way to achieve that is by adding this to your unit file
# (i.e. to rsyslog.service or syslog-ng.service):
#
# [Install]
# Alias=syslog.service
#
# See https://www.freedesktop.org/wiki/Software/systemd/syslog for details.


And trying to start it:
❯ systemctl start syslog.socket
Job failed. See "journalctl -xe" for details.

Nothing in journalctl, and nothings in any logs related to this issue at 
this specific time



I'm pretty sure the issue is not with Rsyslog, but with another service that
cannot start preventing rsyslog to start through systemctl (a dependency).
Starting Rsyslog by hand is just fine.

How did you do that?  "By hand" can mean a lot of different things.



As root: "/usr/sbin/rsyslogd -i /run/rsyslogd.pid"

I know it's not the best but I was hoping to see things in the logs 
related to the issues :/

Re: Reporte bug

2023-01-31 Thread Leo Marín
Hola Juan, gracias por confirmar el bug,

Comentarte que en una actualización de hoy día el problema por lo menos en
mi caso desapareció, por ahora parece que funciona bien,
saludos!

El mar, 31 ene 2023 a las 13:16, juan martinez ()
escribió:

> Hola Leo ,mi caso es igual a tratar de entrar a editar las ventanas en KDE
> de debían testing se presenta ese error muchas gracias saludos
>
> On Sun, Jan 29, 2023, 3:24 PM Leo Marín  wrote:
>
>> En mi caso pasa cuando selecciono "Decoración de las ventanas" al
>> seleccionar se cierra inmediatamente con error,
>>
>> y otra cosa que pasa y no se si será solo en mi caso, es que desde hace
>> unas semanas tengo un stuttering cada tanto,
>> dura algunos segundos y después continua normal, y no hablo de la parte
>> del video, es en todo el equipo en general (va a tirones por algunos
>> segundos),
>>
>> en la laptop se nota más, descarté el navegador y el driver de nvidia,
>> usando el driver amdgpu se nota un poco menos pero sigue pasando,
>> en el equipo de escritorio pasa igual con grafica solo de amd, pero si es
>> bastante menos,
>>
>> saludos.
>>
>>
>> El dom, 29 ene 2023 a las 16:57, juan martinez ()
>> escribió:
>>
>>> hola chicos,
>>>
>>> es mi primera vez pasandome a debian testing y me gusto mucho debian,
>>> pero me pasa algo curioso, cada vez que trato de cambiar los iconos en el
>>> menú de configuración de kde se cierra de forma inesperada, no se si sea un
>>> bug o si ya esta reportada perdonen en si no es bug pero soy nuevo en este
>>> mundo
>>>
>>> --
>>> *Juan C. Martínez Anaya*
>>> * Ingeniero  civil*
>>> "Se oyen pasos de alguien que no llega nunca "
>>>
>>>
>>>
>>
>> --
>> L.J.Marín
>> Usando: Debian Testing
>>
>

-- 
L.J.Marín
Usando: Debian Testing


Re: OT: Charities (a rant) (was: Re: Who pays Debian developement)

2023-01-31 Thread Timothy M Butterworth
On Tue, Jan 31, 2023 at 2:54 PM Dan Ritter  wrote:

> to...@tuxteam.de wrote:
> > On Tue, Jan 31, 2023 at 02:05:16PM -0500, rhkra...@gmail.com wrote:
> >
> > [...]
> >
> > > The reasons that there are quite a few charities that I do not
> contribute to
> > > has to do with two (related) things:
> >
> > Quite the Scientific Method (TM). Making a few things up to make your
> > point :-)
> >
> > Now: Pick one. Prove that it's bad (for a 501, as the SPI is, it
> > should be feasible: AFAIK their records are open)
>
> Because SPI is a US registered charity, it is covered by
> charitynavigator.or g
>

I use Amazon Smile with SPI so my shopping benefits open source.


> https://www.charitynavigator.org/ein/113390208
>
> which says that as of the last tax failing, SPI spent 94% of
> income on their purpose, rather than overhead.
>
> -dsr-
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: locating blocked port

2023-01-31 Thread tv.debian

Le 31/01/2023 à 16:31, Casey Deccio a écrit :




On Jan 31, 2023, at 8:05 AM, Haines Brown  wrote:

I have an  application that refuses to start because  its port is
blocked. But I have difficulty knowing what port it is


I would try strace, which shows you all system calls being made.  In this case, 
it is probably bind() that is returning an error.

strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar

Or

strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar 2>&1 | 
grep bind

For example:

$ cat test.py
#!/usr/bin/env python3

import socket
s = socket.socket()
try:
 s.bind(('0.0.0.0', 56))
except:
 pass
$ python3 test.py # doesn't print any output
$ strace -e trace=%net python3 test.py 2>&1 | grep bind
bind(3, {sa_family=AF_INET, sin_port=htons(56), sin_addr=inet_addr("0.0.0.0")}, 
16) = -1 EACCES (Permission denied)

The value of sin_port is what you are looking for.


How do I know from this what port the java application tried to use?

I try:

  $ strings $(which jabref) | wc -l
56



strings might be helpful (maybe?), but in this case, you are piping it to wc 
-l, which is simply counting the number of printable character sequences that 
were found in jabref.  If that also happens to be the port number, then it is 
coincidental.


  So I try:

$ sudo ss -pt state listening 'sport = :56'
Recv-Q   Send-QLocal Address:Port   Peer Address:Port Process

  This seems a null return. Dores this mean jabref is not using port
  56?


Well, it tells you that nothing (including jabref) is listening on TCP port 56, 
but it won't tell you about why something *failed* to listen.  See strace above.

Casey


If you want an easy way to tell what program is trying to send data 
through which port(s), aside from all the command line utilities linux 
is known for you can use "opensnitch" which comes with a nice UI. It is 
in Debian but in Unstable [1] only for now, however the upstream website 
[2] provides .deb packages [3] and instructions. "Wireshark" or 
"iptraf-ng" also offer UI but are less intuitive to use, and 
"opensnitch" allows you to create rules from the UI to allow/block traffic.


[1] 
https://packages.debian.org/search?keywords=opensnitch=names=unstable=all


[2] https://github.com/evilsocket/opensnitch

[3] https://github.com/evilsocket/opensnitch/releases



Re: Instalación de tor mediante terminal

2023-01-31 Thread tomas
On Wed, Feb 01, 2023 at 05:23:35AM +, tvcasaraf1 tvcadaraf1 wrote:
> Buenos días, soy usuario de Debian recientemente aunque anteriormente he 
> usado ubuntu y Linux mint. Estoy intentando instalar tor y otros paquetes 
> mediante terminal con usuario root y no funciona con dpkg -i ni con sido 
> apt-get instalo. Me gustaría saber cómo instalar paquetes nuevos mediante 
> terminal o snap que tampoco logro instalar.  Gracias de antemano.

Hola.

No tengo idea de Tor, lo siento.

Pero la mayoría aquí habla inglés. Encontrarás más gente que hable
castellano aquí:

  https://lists.debian.org/debian-user-spanish/

> Get Outlook for Android

Creo que no es necesario anunciar Outlook. No te pagan
para eso :-)

Saludos
-- 
tomás


signature.asc
Description: PGP signature


Re: initrd sizes mushroomed several months ago

2023-01-31 Thread Felix Miata
David Wright composed on 2023-01-31 22:56 (UTC-0600):

> On Tue 31 Jan 2023 at 18:31:15 (-0500), Felix Miata wrote:

>> David Wright composed on 2023-01-28 09:10 (UTC-0600):

>>> On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrote:
 
 I thought only Windows was like that, but apparently not always. I keep my
 initramfs configuration set to =dep.
  
>>> And is that the reason behind, and cure for, your mushrooming initrd
>>> size complaint in https://lists.debian.org/debian-user/2022/11/msg00331.html
  
>> More detail follows:
 
>> # inxi -S --vs
>> inxi 3.3.24-00 (2022-12-10)
>> System:
>>   Host: big31 Kernel: 6.0.0-6-amd64 arch: x86_64 bits: 64 Desktop: Trinity
>> Distro: Debian GNU/Linux bookworm/sid
>> # ls -Gg /etc/initramfs-tools/initramfs.conf
>> -rw-r--r-- 1 1582 Sep 12 04:21 /etc/initramfs-tools/initramfs.conf
>> # diff -u1 /etc/initramfs-tools/.initramfs.conf.07dpkg-dist 
>> /etc/initramfs-tools/initramfs.conf
>> --- /etc/initramfs-tools/.initramfs.conf.07dpkg-dist2022-06-20 
>> 16:54:17.0 -0400
>> +++ /etc/initramfs-tools/initramfs.conf 2022-09-12 04:21:09.0 -0400
>> @@ -19,3 +19,3 @@
 
>> -MODULES=most
>> +MODULES=dep
>> # ls -Gg /boot/initrd.img-5.16.0-6* /boot/initrd.img-5.19* 
>> /boot/initrd.img-6*
>> -rw-r--r-- 1  7554203 Apr 22  2022 /boot/initrd.img-5.16.0-6-amd64
>> -rw-r--r-- 1  8324160 Sep 12 04:26 /boot/initrd.img-5.19.0-1-amd64
>> -rw-r--r-- 1 34597945 Nov  2 17:57 /boot/initrd.img-5.19.0-2-amd64
>> -rw-r--r-- 1 23955561 Jan 31 17:58 /boot/initrd.img-6.0.0-6-amd64

I think 6.0's is smaller because that upgrade cycle is when I installed zstd
before the newer kernel. It's specified by default in initramfs.conf, but the
upgrades from 11 to 12 here have only been including libzstd1, which apparently
is not used for initrd construction.
 
> I was under the impression that mushrooming occurred after 17, yet
> your 19…1 is small again.
 
> It's a simple matter to
 
>   $ lsmkinitramfs -l /boot/initrd.img-5.19.0-2-amd64
 
> for 19…1 and 19…2, and compare their contents. Are there more modules
> included in the second one, or has each module expanded in size?
> Or is something included in the initrd that's unexpected? Has someone
> replaced busybox by ~250 different binaries? These are the obvious
> things to investigate.
 
Unexpected: giant firmware increase. :(

# lsinitramfs initrd.img-5.19.0-1-amd64 | grep mwar | wc -l
1
# lsinitramfs initrd.img-5.19.0-2-amd64 | grep mwar | wc -l
655
# lsinitramfs initrd.img-6.0.0-6-amd64 | grep mwar | wc -l
655
#

I'm not aware of whatever controls whether mountains of firmware
are stuffed into initrds or not. I can't make enough sense of what
/usr/share/initramfs-tools/ contains to know if there's something
in it that controls. Grepping busy in all three produces same result.
Installed sizes in /lib/modules vary nominally, 0.1MiB between the
two 5.19s, 468.9MiB & 468.8MiB, 452.4MiB for 6.0, 426.8 for 5.16, so it
doesn't look like installed firmware would have changed significantly.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Instalación de tor mediante terminal

2023-01-31 Thread tvcasaraf1 tvcadaraf1
Buenos días, soy usuario de Debian recientemente aunque anteriormente he usado 
ubuntu y Linux mint. Estoy intentando instalar tor y otros paquetes mediante 
terminal con usuario root y no funciona con dpkg -i ni con sido apt-get 
instalo. Me gustaría saber cómo instalar paquetes nuevos mediante terminal o 
snap que tampoco logro instalar.  Gracias de antemano.

Get Outlook for Android


Re: ASCII formatting for plain text email

2023-01-31 Thread tomas
On Tue, Jan 31, 2023 at 05:14:01PM -0700, Charles Curley wrote:
> On Tue, 31 Jan 2023 23:06:44 +0100
> Pierre Willaime  wrote:
> 
> > 1- a simple way to draw a line (without pressing 72 times on "-")
> > ---
> 
> In emacs, ctl-u 7 2 -

In vi 72a-ESC

:-)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Who pays Debian developement

2023-01-31 Thread tomas
On Tue, Jan 31, 2023 at 02:53:46PM -0500, Miles Fidelman wrote:
> rhkra...@gmail.com wrote:
> > On Tuesday, January 31, 2023 05:34:49 AM Pierre-Elliott Bécue wrote:
> > > There are also individuals making such donations.
> > > 
> > > That being said, these donations can't be used to pay a Developer for
> > > its work in the project.
> 
> That being said, there are certainly developers out there, who are working
> on company time, to make contributions to Debian (and other) open source
> software.  And folks at places that host the work - like the OSU OSL - are
> certainly drawing salaries from their parent institutions.  I expect a lot
> of that work is grant funded.

And there are enough free software (excuse me if I prefer that spelling)
friendly companies. Redhat pours a lot into Linux kernel development,
which makes Debian better; many Canonical employees have been also Debian
developers; Freexian [1] has a business model which benefits Debian,
yadda, yadda. Then there are those companies selling pre-installed hardware
(System76, around here it's Tuxedo). Then more education oriented
(Linux hotel, again, around here).

It's not for lack of choices.

Cheers

[1] https://www.freexian.com/
-- 
t


signature.asc
Description: PGP signature


Re: initrd sizes mushroomed several months ago (was: switch from IDE to AHCI...)

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 18:31:15 (-0500), Felix Miata wrote:
> David Wright composed on 2023-01-28 09:10 (UTC-0600):
> > On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrote:
> 
> >> I thought only Windows was like that, but apparently not always. I keep my
> >> initramfs configuration set to =dep.
>  
> > And is that the reason behind, and cure for, your mushrooming initrd
> > size complaint in https://lists.debian.org/debian-user/2022/11/msg00331.html
>  
> More detail follows:
> 
> # inxi -S --vs
> inxi 3.3.24-00 (2022-12-10)
> System:
>   Host: big31 Kernel: 6.0.0-6-amd64 arch: x86_64 bits: 64 Desktop: Trinity
> Distro: Debian GNU/Linux bookworm/sid
> # ls -Gg /etc/initramfs-tools/initramfs.conf
> -rw-r--r-- 1 1582 Sep 12 04:21 /etc/initramfs-tools/initramfs.conf
> # diff -u1 /etc/initramfs-tools/.initramfs.conf.07dpkg-dist 
> /etc/initramfs-tools/initramfs.conf
> --- /etc/initramfs-tools/.initramfs.conf.07dpkg-dist2022-06-20 
> 16:54:17.0 -0400
> +++ /etc/initramfs-tools/initramfs.conf 2022-09-12 04:21:09.0 -0400
> @@ -19,3 +19,3 @@
> 
> -MODULES=most
> +MODULES=dep
> # ls -Gg /boot/initrd.img-5.16.0-6* /boot/initrd.img-5.19* /boot/initrd.img-6*
> -rw-r--r-- 1  7554203 Apr 22  2022 /boot/initrd.img-5.16.0-6-amd64
> -rw-r--r-- 1  8324160 Sep 12 04:26 /boot/initrd.img-5.19.0-1-amd64
> -rw-r--r-- 1 34597945 Nov  2 17:57 /boot/initrd.img-5.19.0-2-amd64

I was under the impression that mushrooming occurred after 17, yet
your 19…1 is small again.

It's a simple matter to

  $ lsmkinitramfs -l /boot/initrd.img-5.19.0-2-amd64

for 19…1 and 19…2, and compare their contents. Are there more modules
included in the second one, or has each module expanded in size?
Or is something included in the initrd that's unexpected? Has someone
replaced busybox by ~250 different binaries? These are the obvious
things to investigate.

(mc can show you the listing just by tapping F3.)

Cheers,
David.


Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-31 Thread Timothy M Butterworth
On Tue, Jan 31, 2023 at 9:42 AM Shalom Ben-Zvii Kazaz 
wrote:

>
> On Mon, Jan 30, 2023 at 6:00 PM Alexandre Rossi  wrote:
>
>> Hi,
>>
>> > In the past week my laptop freezes randomly, I can say it happens every
>> 2-3
>> > hours. but there are actions that consistently always cause a freeze,
>> like
>> > opening Zoom or executing lspci in Terminator.
>>
>> I would suggest:
>> - try to get more debugging info using SysRQ keys [1]
>> - try to get more debugging info using netconsole[2] (needs wired
>> connection)
>> - try another OS (Ubuntu live CD, Windows) to rule out hardware problem
>>
>
> following the suggestion to try another OS i booted the computer with
> ubuntu 22.4 live usb, i'm working with since yesterday with no issues. i
> have enough memory so i installed some of the applications i use like
> slack,zoom,terminator and more, i even installed intellij idea and worked
> on my project for hours. zoom works with video ,slack works, there is no
> freeze , the computer is up with ubuntu 22.4 for almost 24 hours and
> everything looks ok.
> So i guess there is no hardware problem.
> So i don't know what to do, I'm thinking to reinstall debian but I'm not
> sure the problem will disappear because it may be something with the kernel
> of some package.
>

Try booting with Debian 11 Bullseye live images.
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0-live+nonfree/amd64/iso-hybrid/
If
all your hardware works with Bullseye then go with it. Debian testing is
nice but it can from time to time get hosed. Since you have been running
testing since Bullseye was in testing it should be good to go for you.

I have debian testing running on AMD Ryzen 7 4700U with Radeon Graphics
with 16 Gig's of RAM and I have had some shell crashes recently. The
background turns grey and everything freezes except the mouse. I am able to
switch to a command line terminal without issue. TOP and free -h both show
that I have lots of available resources and there isn't any one run away
process using all my resources.

I am also having a problem with KDE's instant messenger complaining that I
do not have kaccounts-integration installed. I tried reinstalling it and it
still reports that it is not installed. Trying to launch "Instant Messaging
Settings" caused the system shell to crash and appear to be locked up. The
mouse still moves just fine.

I would move to Bullseye but I need Firmware in Bookworm to run my Sound
and WiFi. I am not a fan of backports, I have never had a good experience
with it. Installing software with backports is no trouble but keeping them
up to date is an issue because it does not automatically want to install
newer versions even when the package was installed form backports.



>
>> [1] https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
>> [2] https://debamax.com/blog/2019/01/03/debugging-with-netconsole/
>>
>> Alex
>>
>>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: ASCII formatting for plain text email

2023-01-31 Thread Charles Curley
On Tue, 31 Jan 2023 23:06:44 +0100
Pierre Willaime  wrote:

> 1- a simple way to draw a line (without pressing 72 times on "-")
> ---

In emacs, ctl-u 7 2 -



-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: initrd sizes mushroomed several months ago (was: switch from IDE to AHCI...)

2023-01-31 Thread Felix Miata
David Wright composed on 2023-01-28 09:10 (UTC-0600):

> On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrote:

>> I thought only Windows was like that, but apparently not always. I keep my
>> initramfs configuration set to =dep.
 
> And is that the reason behind, and cure for, your mushrooming initrd
> size complaint in https://lists.debian.org/debian-user/2022/11/msg00331.html
 
More detail follows:

# inxi -S --vs
inxi 3.3.24-00 (2022-12-10)
System:
  Host: big31 Kernel: 6.0.0-6-amd64 arch: x86_64 bits: 64 Desktop: Trinity
Distro: Debian GNU/Linux bookworm/sid
# ls -Gg /etc/initramfs-tools/initramfs.conf
-rw-r--r-- 1 1582 Sep 12 04:21 /etc/initramfs-tools/initramfs.conf
# diff -u1 /etc/initramfs-tools/.initramfs.conf.07dpkg-dist 
/etc/initramfs-tools/initramfs.conf
--- /etc/initramfs-tools/.initramfs.conf.07dpkg-dist2022-06-20 
16:54:17.0 -0400
+++ /etc/initramfs-tools/initramfs.conf 2022-09-12 04:21:09.0 -0400
@@ -19,3 +19,3 @@

-MODULES=most
+MODULES=dep
# ls -Gg /boot/initrd.img-5.16.0-6* /boot/initrd.img-5.19* /boot/initrd.img-6*
-rw-r--r-- 1  7554203 Apr 22  2022 /boot/initrd.img-5.16.0-6-amd64
-rw-r--r-- 1  8324160 Sep 12 04:26 /boot/initrd.img-5.19.0-1-amd64
-rw-r--r-- 1 34597945 Nov  2 17:57 /boot/initrd.img-5.19.0-2-amd64
-rw-r--r-- 1 23955561 Jan 31 17:58 /boot/initrd.img-6.0.0-6-amd64
#
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 05:32:07PM -0500, Greg Wooledge wrote:
> Again, a programming language can easily take an input string, measure
> its length in characters, and produce an output string that looks like
> a "box" around the input string.  (Less easily if full Unicode is in play.)

Here's a simple bash function:

tbox() {
  local len=$((${#1}+4)) row=''
  while ((${#row} < len)); do row+=$row; done
  printf "%.${len}s\n# %s #\n%.${len}s\n" "$row" "$1" "$row"
}

Add that to your .bashrc and source it (or however you prefer to deal
with bash functions), and then:

unicorn:~$ tbox 'hello world'
###
# hello world #
###

Feel free to adapt it however you see fit.



Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 11:06:44PM +0100, Pierre Willaime wrote:
> I do not want to do ASCII art, I am only searching a simple way to do
> something close to the debian-annouce emails.
> 
> 
> The Debian Project   https://www.debian.org/
> Updated Debian 11: 11.6 releasedpr...@debian.org
> December 17th, 2022https://www.debian.org/News/2022/20221217
> 
> 
> How this header is generated?

I see 3 constant fields and 3 variable fields in there, so I'm guessing
this header is generated by software.  Like, someone is using an
*application* to write those announcements, so that they're stored in
a database, formatted in a consistent way, propagated to that URL you
see in the header, and so on.  Might be a web-based app, might not.

> 1- a simple way to draw a line (without pressing 72 times on "-")
> ---

In the programming language used to write whatever application is
generating those announcements, I'm sure there are several ways to
produce a string of hyphens of a given length.

But you seem to want to use a text editor, rather than an application.
In a text editor, you either press - 72 times, or you hold - down until
approximately the right number of hyphens appears (and then fix it up),
or you paste a line of hyphens from an outside source, or you have some
kind of macro or other editor-specific feature.

If you do periodic announcement emails, perhaps you have one from last
month (or last week, or whenever).  You could copy the top of that one
and then edit it.  Or at least copy the formatting characters.

> 2- a simple way to align some text to the right

In many languages, printf.  If it's not printf, then it'll be some
other function or method that's designed for producing very simple
formatted text strings.

In a text editor?  Type a bunch of spaces.

> 3- a simple way to do boxes (no present in debian-annouce header)

Again, a programming language can easily take an input string, measure
its length in characters, and produce an output string that looks like
a "box" around the input string.  (Less easily if full Unicode is in play.)

In a text editor?  See previous answers.



Re: ASCII formatting for plain text email

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 15:03:30 (-0500), Greg Wooledge wrote:
> On Tue, Jan 31, 2023 at 01:42:10PM -0600, David Wright wrote:
> > The question then is why emacs uses ; as a comment character.
> 
> Because of LISP.
> 
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Comments.html

I had assumed people write their emails in text-mode.

Cheers,
David.



Re: locating blocked port

2023-01-31 Thread debian-user
Haines Brown wrote:
>   $ jabref
>   15:43:56.614 [AWT-EventQueue-0] WARN  
> net.sf.jabref.logic.remote.server.RemoteListenerServerLifecycle - 
> Port is blocked
>   java.net.BindException: Address already in use
> at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
> at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
> at sun.nio.ch.Net.bind(Net.java:544) ~[?:?]
> at sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
> ~[?:?] at java.net.ServerSocket.bind(ServerSocket.java:388) ~[?:?]
> at java.net.ServerSocket.(ServerSocket.java:274) ~[?:?]
> at
> net.sf.jabref.logic.remote.server.RemoteListenerServer.
> (RemoteListenerServer.java:26) ~[JabRef-3.8.2.jar:?] ...
> 
>[Many more lines for jav.awt]
> 
>  at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:90) ~[?:?]
> 15:43:56.628 [AWT-EventQueue-0] INFO  net.sf.jabref.JabRefMain -
> Arguments passed on to running JabRef instance. Shutting down.

The last line there seems to imply there is already another instance of
jabref running. Is that the case? What does

$ ps -fe | grep jabref

show, for example?



Re: ASCII formatting for plain text email

2023-01-31 Thread err404

On 1/31/23 23:07, err...@free.fr wrote:

On 1/31/23 19:49, Pierre Willaime wrote:

(...)
For example I am looking for a convenient way to
"draw" some ASCII boxes such as

#
## some title here ##
#

(...)

the package 'figlet' is what you want


hum, sorry, figlet is for drawing big letters
there is another package for drawing box, not remember wich name



Re: ASCII formatting for plain text email

2023-01-31 Thread Pierre Willaime
Le 31/01/2023 à 20:44, Jude DaShiell a écrit :
> chafa may help

https://hpjansson.org/chafa/

Thanks!

Not exactly what I am looking for (cf. my other answer) but very useful.




Re: ASCII formatting for plain text email

2023-01-31 Thread err404

On 1/31/23 19:49, Pierre Willaime wrote:

(...)
For example I am looking for a convenient way to
"draw" some ASCII boxes such as

#
## some title here ##
#

(...)

the package 'figlet' is what you want



Re: ASCII formatting for plain text email

2023-01-31 Thread Pierre Willaime
Le 31/01/2023 à 21:14, Greg Wooledge a écrit :
> A .signature file is only written once, so it doesn't matter how
> tedious it is to produce the desired formatting.  That said, I would
> imagine relatively few people have octothorpe boxes around text in their
> .signature files these days.  Even back in the 1990s, that would have
> been considered a bit on the tacky side.

Of course, I misspoke about the signature. I often see *some* formatting
(such as some text aligned to the left and some other text aligned to
the right, same line).

But you are right, .signature file is only written once and I am looking
for a simple way to write email with some minimal ASCII formatting. This
is why I am looking for an automatic solution.

I do not want to do ASCII art, I am only searching a simple way to do
something close to the debian-annouce emails.


The Debian Project   https://www.debian.org/
Updated Debian 11: 11.6 releasedpr...@debian.org
December 17th, 2022https://www.debian.org/News/2022/20221217


How this header is generated?


So do someone knows:


1- a simple way to draw a line (without pressing 72 times on "-")
---

2- a simple way to align some text to the right (that is to say to
automatically calculate how many spaces are needed to fill the gap
between the text on the left an the text on the right for 72 characters
line.

3- a simple way to do boxes (no present in debian-annouce header)




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

2023-01-31 Thread stand...@gmx.net
missed grub cmdline:
[0.00] Command line: 
vfio-pci.ids=8086:8cb1,1458:5007,8086:8cad,1458:5006,8086:8ca6,1458:5006



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

2023-01-31 Thread didier gaumet

Hello,

You will probably find the dedicated Qemu doc helpful:
https://www.qemu.org/docs/master/system/devices/usb.html

I don't use Qemu directly, I use virtmanager, so I am not familiar with 
Qemu syntax and howto.
But I would launch qemu with the "-device qemu-xhci" parameter (you only 
need xhci, not ehci, uhci, ohci, it seems)
and then I would carefully follow instructions that figure in the "Using 
host USB devices on a Linux host" paragraph.







No USB with qemu+macOS+USB+iPads

2023-01-31 Thread stand...@gmx.net
Hi from Germany.
Sorry, I found no other way/group to ask.

I want to use macOS to maintain some iPads for my school. I have not found a 
way to address them via USB in the VM. Even a simple stick does not appear.

I've tried some solutions, which I found via google, but no luck.

some examples:

  -usb -device usb-kbd -device usb-tablet
  -device usb-ehci,id=ehci
  -device usb-kbd,bus=ehci.0
  -device usb-mouse,bus=ehci.0
  -device nec-usb-xhci,id=xhci
  -global nec-usb-xhci.msi=off
  -device usb-host,vendorid=0x8086,productid=0x0808


My hardware:
Linux debwin 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 
GNU/Linux

QEMU emulator version 5.2.0 (Debian 1:5.2+dfsg-11+deb11u2)

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller 
(rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor 
PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI 
Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME 
Interface #1
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI 
Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio 
Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root 
Port 1 (rev d0)
00:1c.2 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root 
Port 3 (rev d0)
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root 
Port 4 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI 
Controller #1
00:1f.0 ISA bridge: Intel Corporation H97 Chipset LPC Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA 
Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] 
(rev a1)
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)

Bus 003 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 012: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 002 Device 003: ID 046d:c34b Logitech, Inc. USB Keyboard
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 2: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 9: Dev 12, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M 



Re: locating blocked port

2023-01-31 Thread Haines Brown
On Tue, Jan 31, 2023 at 12:13:03PM -0500, Henning Follmann wrote:
 
> I think this is just futile. Why would you do all this painful stuff,
> which might not get you close to what you really want - running that app.

Are you implying the problem should not occur?
 
> For now I just assume you installed jabref via the debian packaging system?
> Please just try to start jabref through the system menu.

Yes, I did a normal # aptitude install of jabref. I don't have a 
desktop manager but my window manager has an applications menu. I've 
never used it but I look for jabref and its not in the mentu. The 
jabref command is in my path and so I simply do:

  $ jabref
  15:43:56.614 [AWT-EventQueue-0] WARN  
net.sf.jabref.logic.remote.server.RemoteListenerServerLifecycle - 
Port is blocked
  java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:544) ~[?:?]
at sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643) ~[?:?]
at java.net.ServerSocket.bind(ServerSocket.java:388) ~[?:?]
at java.net.ServerSocket.(ServerSocket.java:274) ~[?:?]
at net.sf.jabref.logic.remote.server.RemoteListenerServer.
(RemoteListenerServer.java:26) ~[JabRef-3.8.2.jar:?]
...

   [Many more lines for jav.awt]

   at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) 
~[?:?]
   15:43:56.628 [AWT-EventQueue-0] INFO  net.sf.jabref.JabRefMain - 
 Arguments passed on to running JabRef instance. Shutting down.
-- 

 Haines Brown 
 /"\
 \ /  ASCII Ribbon Campaign
  Xagainst HTML e-mail 
 / \



Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 07:49:18PM +0100, Pierre Willaime wrote:
> #
> ## some title here ##
> #
> 
> (I am using emacs comment-box feature in a buffer to do this and I
> replace ; by #, I suppose there is nicer way to do this).
> 
> I often see email signature using this kind of formatting.

A .signature file is only written once, so it doesn't matter how
tedious it is to produce the desired formatting.  That said, I would
imagine relatively few people have octothorpe boxes around text in their
.signature files these days.  Even back in the 1990s, that would have
been considered a bit on the tacky side.

If you're seeing it "often", then I suppose you're hanging with different
communities than I am.

Consider that the standard etiquette rules for .signature files, as they
were taught to me back in the 1990s, recommended that a .signature be
no more than 4 lines (and of course a line must *always* contain fewer
than 80 characters, with exceptions only for pasted shell commands,
command output/errors, configuration file contents, and so on).



Re: Who pays Debian developement

2023-01-31 Thread Miles Fidelman

rhkra...@gmail.com wrote:

On Tuesday, January 31, 2023 05:34:49 AM Pierre-Elliott Bécue wrote:

There are also individuals making such donations.

That being said, these donations can't be used to pay a Developer for
its work in the project.


That being said, there are certainly developers out there, who are 
working on company time, to make contributions to Debian (and other) 
open source software.  And folks at places that host the work - like the 
OSU OSL - are certainly drawing salaries from their parent 
institutions.  I expect a lot of that work is grant funded.


Miles Fidelman


--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 01:42:10PM -0600, David Wright wrote:
> The question then is why emacs uses ; as a comment character.

Because of LISP.

https://www.gnu.org/software/emacs/manual/html_node/elisp/Comments.html



Re: OT: Charities (a rant)

2023-01-31 Thread James H. H. Lampert

On 1/31/23 11:38 AM, Dan Ritter wrote:
. . .

Because SPI is a US registered charity, it is covered by
charitynavigator.org:

. . .

And its numbers are impressive. Although it appears to have been rather 
lavishly overfunded in 2018.


--
JHHL



Re: OT: Charities (a rant) (was: Re: Who pays Debian developement)

2023-01-31 Thread Dan Ritter
to...@tuxteam.de wrote: 
> On Tue, Jan 31, 2023 at 02:05:16PM -0500, rhkra...@gmail.com wrote:
> 
> [...]
> 
> > The reasons that there are quite a few charities that I do not contribute 
> > to 
> > has to do with two (related) things:
> 
> Quite the Scientific Method (TM). Making a few things up to make your
> point :-)
> 
> Now: Pick one. Prove that it's bad (for a 501, as the SPI is, it
> should be feasible: AFAIK their records are open)

Because SPI is a US registered charity, it is covered by
charitynavigator.org:

https://www.charitynavigator.org/ein/113390208

which says that as of the last tax failing, SPI spent 94% of
income on their purpose, rather than overhead.

-dsr-



Re: ASCII formatting for plain text email

2023-01-31 Thread Jude DaShiell
boxes specializes in that.  chafa may help those that get your ascii boxes
put those characters into the printable set.



Jude 
"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)

.

On Tue, 31 Jan 2023, rhkra...@gmail.com wrote:

> On Tuesday, January 31, 2023 01:49:18 PM Pierre Willaime wrote:
> > ... I am looking for a convenient way to
> > "draw" some ASCII boxes such as
> >
> > #
> > ## some title here ##
> > #
>
> > Do you know dedicated tools or text editor to do such things the easy
> > way on an everyday basis?
>
> I know there are (or at least have been, even back in the days of dos) such
> tools (I can't remember any names atm).
>
> Try googling for "ascii art".
>
>



Re: ASCII formatting for plain text email

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 19:49:18 (+0100), Pierre Willaime wrote:
> 
> I would like to format plain text emails to increase readability and
> information separation. The idea is to go beyond markdown and to have
> more visible elements. For example I am looking for a convenient way to
> "draw" some ASCII boxes such as
> 
> #
> ## some title here ##
> #
> 
> (I am using emacs comment-box feature in a buffer to do this and I
> replace ; by #, I suppose there is nicer way to do this).

The question then is why emacs uses ; as a comment character. If
you're composing an email, I would expect to see another prompt:

  No comment syntax is defined.  Use:

unless you'd set up comment syntax for Text. I would only expect a
; or % or # box, or whatever, when emacs knew what language syntax
was in the buffer, or has been given one already in its setup.

Cheers,
David.



Re: Who pays Debian developement

2023-01-31 Thread gene heskett

On 1/31/23 09:04, Thomas Schmitt wrote:

Hi,


how does it actually work?


Most of the software in the Debian operating system is taken by Debian
for free from "upstream" projects.

For example i maintain as upstream developer libburn, lisofs, and
libisoburn with their applications cdrskin and xorriso. They are not
specific to Debian or to GNU/Linux.
I support Debian especially by preparing the Debian packages of my
upstream projects. Those get signed and uploaded by Dominique Dumont
who holds a Debian rank, unlike me. See what Debian makes out of my
upstream package libisoburn:
   https://tracker.debian.org/pkg/libisoburn

I don't get paid for this. It's for fun, curiosity, and conscience.
An easy way to pay back to the world for what i take from it for free.
During the years i got some donations for hardware costs. But that's not
a significant motivation for me.

Aside from getting upstream's work for free, it is quite some work to
prepare all the Debian packages and to coordinate their dependencies (the
further software which a package needs to work). That's why several other
GNU/Linux distros take the bulk of their packages from Debian for free.

So everybody is taking advantage of everybody. Those who don't maintain
software can contribute by submitting bug reports or other feedback.


Of course, one has to be able to afford giving away ones work.

I still work in the proprietary IT industry. The customers see no
problem with paying my employer and to charge their customers.
A completely different social model.
Free software development in large parts swims on top of that model.
It is quite astounding that this coexistence works since decades.
Obviously it benefits both sides.


Have a nice day :)
You too Thomas. Very well said Thomas, clarify's it pretty well for the 
newcomer trying to figure out our model of TANSTAAFL.


Take care and stay well.

I do much of my support by running the current master of linuxcnc, which 
is in the process of being inducted into debian bookworm, updated from 
the buildbot many times weekly, on 4 machines I rebuilt and cnc'd as a 
hobby, reporting bugs or in one case, after a couple years complaining 
about it, getting two things fixed recently, making it a bit easier for 
newcomers to cnc to configure their machines to do the work they may do 
for a living. I am in fact a retired for over 20 years, broadcast 
engineer, and a CET. I fix EE's mistakes cuz the school's profs didn't 
teach them well enough, passing out sheepskins that weren't always 
deserved. That obviously is a different subject. And one I cannot 
readily fix. So I'll shaddup now.


Thomas

.


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 



Re: OT: Charities (a rant) (was: Re: Who pays Debian developement)

2023-01-31 Thread tomas
On Tue, Jan 31, 2023 at 02:05:16PM -0500, rhkra...@gmail.com wrote:

[...]

> The reasons that there are quite a few charities that I do not contribute to 
> has to do with two (related) things:

Quite the Scientific Method (TM). Making a few things up to make your
point :-)

Now: Pick one. Prove that it's bad (for a 501, as the SPI is, it
should be feasible: AFAIK their records are open)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: ASCII formatting for plain text email

2023-01-31 Thread rhkramer
On Tuesday, January 31, 2023 01:49:18 PM Pierre Willaime wrote:
> ... I am looking for a convenient way to
> "draw" some ASCII boxes such as
> 
> #
> ## some title here ##
> #

> Do you know dedicated tools or text editor to do such things the easy
> way on an everyday basis?

I know there are (or at least have been, even back in the days of dos) such 
tools (I can't remember any names atm).

Try googling for "ascii art".

-- 
rhk 

(sig revised 20221206)

If you reply: snip, snip, and snip again; leave attributions; avoid HTML; 
avoid top posting; and keep it "on list".  (Oxford comma (and semi-colon) 
included at no charge.)  If you revise the topic, change the Subject: line.  
If you change the topic, start a new thread.

Writing is often meant for others to read and understand (legal documents 
excepted?) -- make it easier for your reader by various means, including 
liberal use of whitespace (short paragraphs, separated by whitespace / blank 
lines) and minimal use of (obscure?) jargon, abbreviations, acronyms, and 
references.

If someone has already responded to a question, decide whether any response 
you add will be helpful or not ...

A picture is worth a thousand words.  A video (or "audio"): not so much -- 
divide by 10 for each minute of video (or audio) or create a transcript and 
edit it to 10% of the original.

A speaker who uses ahhs, ums, or such may have a real physical or mental 
disability, or may be showing disrespect for his listeners by not properly 
preparing in advance and thinking before speaking.  (Remember Cicero who did 
not have enough time to write a short missive.)  (That speaker might have been 
"trained" to do this by being interrupted often if he pauses.)

A radio (or TV) station which broadcasts speakers with high pitched voices (or 
very low pitched / gravelly voices) (which older people might not be able to 
hear properly) disrespects its listeners.   Likewise if it broadcasts 
extraneous or disturbing sounds (like gunfire or crying), or broadcasts 
speakers using their native language (with or without an overdubbed 
translation).

A person who writes a sig this long probably has issues and disrespects (and 
offends) a large number of readers. ;-)
'



OT: Charities (a rant) (was: Re: Who pays Debian developement)

2023-01-31 Thread rhkramer
On Tuesday, January 31, 2023 08:00:14 AM gene heskett wrote:
> It does, but we should all remember that TANSTAAFL is a universal law.
> It cannot be broken.

Aside: Not the purpose of my response here, so plaese do not reply, but I 
believe that I am supplying some free lunches.  If not, I'll have to think 
about and figure out in what way those lunches are not free.  (I am not 
charging anyone any kind of fee, nor asking for anything like recognition (I 
guess I might sometime get some recognition), but I don't feel like that is a 
motivation for my efforts.  (And I'm intentionally not describing those 
efforts, 
they are not related to my comments on this (or any other) mailing list.)

> We are also very aware that info on the suppliers of such funds is a
> valuable commodity to the hacker. There are quite a number of American
> based charities I do not contribute to simply because they insist on
> ones social security number. That ain't gonna happen. Make it the equ of
> me handing you a $50 bill, untraceable cash, no strings attached. It's
> my thank you.

The reasons that there are quite a few charities that I do not contribute to 
has to do with two (related) things:

   * How much of my contribution actually makes it through to the targeted 
(trying to think of the right word) -- maybe just the target -- actually to a 
disabled veteran, or starving child, or ...

   * How much money the top executives of the organization make.  I won't get 
into detail here, but if they are taking home $350,000 a year and expecting 
donations from people making $30,000 a year (by advertising on TV looking for 
contributions of, for example, $19 a month, I have a problem with that.

Further (is this #3? -- I can't count ;-) in some cases those charities 
advertising on TV use names similar to the names of some actual charitable 
organiztion, but they are not actually that organization and they pass through 
only a very small portion of their income to that charitable organization.

Just to make up an example (and picking on maybe a recognizable name just so 
the example is, I hope, easeir to understand:

There is a St. Jude's (children's?) hospital.

Imgaine that there is also an organization named "Friends of St. Jude's" 
(completely made up as far as I know).  Imagine that they advertise on TV 
seeking $19 per month contributions, and then pass on a fraction of that to 
St. Judes?

Your contribution is diluted twice -- by the overhead of St. Jude's Hospital 
itself and the overhead of "Friends of St. Judes"  (and it is quite possible 
(I've found several examples) that the top (5?) executives are taking home 
upwards of $350,000 / year each.

-- 
rhk 

(sig revised 20221206)

If you reply: snip, snip, and snip again; leave attributions; avoid HTML; 
avoid top posting; and keep it "on list".  (Oxford comma (and semi-colon) 
included at no charge.)  If you revise the topic, change the Subject: line.  
If you change the topic, start a new thread.

Writing is often meant for others to read and understand (legal documents 
excepted?) -- make it easier for your reader by various means, including 
liberal use of whitespace (short paragraphs, separated by whitespace / blank 
lines) and minimal use of (obscure?) jargon, abbreviations, acronyms, and 
references.

If someone has already responded to a question, decide whether any response 
you add will be helpful or not ...

A picture is worth a thousand words.  A video (or "audio"): not so much -- 
divide by 10 for each minute of video (or audio) or create a transcript and 
edit it to 10% of the original.

A speaker who uses ahhs, ums, or such may have a real physical or mental 
disability, or may be showing disrespect for his listeners by not properly 
preparing in advance and thinking before speaking.  (Remember Cicero who did 
not have enough time to write a short missive.)  (That speaker might have been 
"trained" to do this by being interrupted often if he pauses.)

A radio (or TV) station which broadcasts speakers with high pitched voices (or 
very low pitched / gravelly voices) (which older people might not be able to 
hear properly) disrespects its listeners.   Likewise if it broadcasts 
extraneous or disturbing sounds (like gunfire or crying), or broadcasts 
speakers using their native language (with or without an overdubbed 
translation).

A person who writes a sig this long probably has issues and disrespects (and 
offends) a large number of readers. ;-)
'



ASCII formatting for plain text email

2023-01-31 Thread Pierre Willaime
Hi,

--
Warning: I hope you will forgive me for this email not really related to
debian. I just think people from this community could likely have good
advice about this question.
--

I would like to format plain text emails to increase readability and
information separation. The idea is to go beyond markdown and to have
more visible elements. For example I am looking for a convenient way to
"draw" some ASCII boxes such as

#
## some title here ##
#

(I am using emacs comment-box feature in a buffer to do this and I
replace ; by #, I suppose there is nicer way to do this).

I often see email signature using this kind of formatting.

Do you know dedicated tools or text editor to do such things the easy
way on an everyday basis?


Have a nice day



Re: Who pays Debian developement

2023-01-31 Thread rhkramer
On Tuesday, January 31, 2023 05:34:49 AM Pierre-Elliott Bécue wrote:
> There are also individuals making such donations.
> 
> That being said, these donations can't be used to pay a Developer for
> its work in the project. 

Well that may be true in the case of certain Debian organizations, but I doubt 
there is any "universal" rule that would keep me from making a donation to 
some Debian organization specifically for the purpose of paying a developer for 
developing (or maintaining), for example, some specific package / software.

> At best it can be used to reimburse some
> specific expenses the Developer would make to contribute to the project
> (a flight ticket to go to a BSP, some specific hardware, ...).

-- 
rhk 

(sig revised 20221206)

If you reply: snip, snip, and snip again; leave attributions; avoid HTML; 
avoid top posting; and keep it "on list".  (Oxford comma (and semi-colon) 
included at no charge.)  If you revise the topic, change the Subject: line.  
If you change the topic, start a new thread.

Writing is often meant for others to read and understand (legal documents 
excepted?) -- make it easier for your reader by various means, including 
liberal use of whitespace (short paragraphs, separated by whitespace / blank 
lines) and minimal use of (obscure?) jargon, abbreviations, acronyms, and 
references.

If someone has already responded to a question, decide whether any response 
you add will be helpful or not ...

A picture is worth a thousand words.  A video (or "audio"): not so much -- 
divide by 10 for each minute of video (or audio) or create a transcript and 
edit it to 10% of the original.

A speaker who uses ahhs, ums, or such may have a real physical or mental 
disability, or may be showing disrespect for his listeners by not properly 
preparing in advance and thinking before speaking.  (Remember Cicero who did 
not have enough time to write a short missive.)  (That speaker might have been 
"trained" to do this by being interrupted often if he pauses.)

A radio (or TV) station which broadcasts speakers with high pitched voices (or 
very low pitched / gravelly voices) (which older people might not be able to 
hear properly) disrespects its listeners.   Likewise if it broadcasts 
extraneous or disturbing sounds (like gunfire or crying), or broadcasts 
speakers using their native language (with or without an overdubbed 
translation).

A person who writes a sig this long probably has issues and disrespects (and 
offends) a large number of readers. ;-)
'



[OT] ¿Que ha pasado con la versión «still» de LibreOffice?

2023-01-31 Thread Camaleón
Hola,

He ido a dar una vuelta por la web de LibreOffice y veo que sólo 
aparece anunciada de manera preeminente la versión 7.4.5 (la «fresca») 
para descargar, lo que he hecho y tras lo cual he actualizado cruzando 
los dedos porque últimamente estaba usando la «paradita» (still) por 
errores feos, que no graves, en la versión para los frescos :-P

¿Sabéis si ha habido algún cambio en la política de LibreOffice al 
respecto? ¿Querrán dar prioridad a una sola versión? ¿O querrán dejar 
la 7.4.5 como «still» con la llegada inminente de la 7.5?

Misterios sin resolver...

Saludos,

-- 
Camaleón 



Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 05:22:23PM +0100, Sioban wrote:
> Here is the output.
> 
> ❯ systemctl cat rsyslog.service

That looks exactly like mine.  So that's probably fine.

> Requires=syslog.socket

This is the only part of it that looks like a "dependency".  Maybe
this is the thing that's breaking?  You can try
"systemctl status syslog.socket" and see if it gives anything useful.

> I'm pretty sure the issue is not with Rsyslog, but with another service that
> cannot start preventing rsyslog to start through systemctl (a dependency).
> Starting Rsyslog by hand is just fine.

How did you do that?  "By hand" can mean a lot of different things.



Re: locating blocked port

2023-01-31 Thread Henning Follmann
On Tue, Jan 31, 2023 at 11:30:02AM -0500, Haines Brown wrote:
> On Tue, Jan 31, 2023 at 08:31:38AM -0700, Casey Deccio wrote:
> > 
> > 
> > > On Jan 31, 2023, at 8:05 AM, Haines Brown  wrote:
> > > 
> > > I have an  application that refuses to start because  its port is 
> > > blocked. But I have difficulty knowing what port it is
> 
> > I would try strace, which shows you all system calls being made.  In 
> > this case, it is probably bind() that is returning an error.
> 
> I do   
> 
>   $ strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar 
> 2>&1 | grep bind
> at java.base/sun.nio.ch.Net.bind0(Native Method)
> at java.base/sun.nio.ch.Net.bind(Net.java:555)
> at java.base/sun.nio.ch.Net.bind(Net.java:544)
> at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
> at java.base/java.net.ServerSocket.bind(ServerSocket.java:388)
> 
> But this does not tell me what is bound to what port. 
> 
> > For example:
> > 
> > $ cat test.py 
> > #!/usr/bin/env python3
> 
> In /usr/bin there is a jabref file, but it does not specify what port 
> it uses.
> 
> > import socket
> > s = socket.socket()
> > try:
> > s.bind(('0.0.0.0', 56))
> > except:
> > pass
> > $ python3 test.py # doesn't print any output
> 
> > $ strace -e trace=%net python3 test.py 2>&1 | grep bind
> > bind(3, {sa_family=AF_INET, sin_port=htons(56), 
> > sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
> > 
> > The value of sin_port is what you are looking for.
> 
> My run of the strace command as above does not return the string 
> sin_port.,
> > 
> > > How do I know from this what port the java application tried to use?
> 
> > >  So I try:
> > > 
> > >$ sudo ss -pt state listening 'sport = :56'
> > >Recv-Q   Send-QLocal Address:Port   Peer Address:Port Process
> > > 
> > >  This seems a null return. Dores this mean jabref is not using port 
> > >  56?
> > 
> > Well, it tells you that nothing (including jabref) is listening on 
> > TCP port 56, but it won't tell you about why something *failed* to listen.  
> > See strace above. 
> 
> I don't see in refurn for strace that anyhing is not listening to 
> port 56.
> 
>  Casey, thanks for your effort to help, but I'm too ill infomred to 
> benefit from your advice.
> 

I think this is just futile. Why would you do all this painful stuff,
which might not get you close to what you really want - running that app.

For now I just assume you installed jabref via the debian packaging system?
Please just try to start jabref through the system menu.


-H

-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: what do I need to add to my sources.list for the new non-free-firmware repository?

2023-01-31 Thread Brad Rogers
On Tue, 31 Jan 2023 04:03:51 -0800
"Rick Thomas"  wrote:

Hello Rick,

>So what do I need to add to my sources.list file to get them back now?

There was an announcement a few days ago, saying what to do.  Typically,
I cannot find it ATM.

However, you simply need to add;
   non-free-firmware
To the relevant part(s) of your sources.list file.

How you go about that may depend on what you use to do software updates.

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
You said you ain't had none for weeks, but baby I seen your arms
Deny - The Clash


pgpOJhmuJuNrk.pgp
Description: OpenPGP digital signature


Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 14:41:24 (+), Shalom Ben-Zvii Kazaz wrote:
> On Mon, Jan 30, 2023 at 6:00 PM Alexandre Rossi  wrote:
> > > In the past week my laptop freezes randomly, I can say it happens every
> > 2-3
> > > hours. but there are actions that consistently always cause a freeze,
> > like
> > > opening Zoom or executing lspci in Terminator.
> >
> > I would suggest:
> > - try to get more debugging info using SysRQ keys [1]
> > - try to get more debugging info using netconsole[2] (needs wired
> > connection)
> > - try another OS (Ubuntu live CD, Windows) to rule out hardware problem
> >
> 
> following the suggestion to try another OS i booted the computer with
> ubuntu 22.4 live usb, i'm working with since yesterday with no issues. i
> have enough memory so i installed some of the applications i use like
> slack,zoom,terminator and more, i even installed intellij idea and worked
> on my project for hours. zoom works with video ,slack works, there is no
> freeze , the computer is up with ubuntu 22.4 for almost 24 hours and
> everything looks ok.
> So i guess there is no hardware problem.
> So i don't know what to do, I'm thinking to reinstall debian but I'm not
> sure the problem will disappear because it may be something with the kernel
> of some package.

Earlier you wrote "I've been using this laptop for the past 3 years
with the same setup with debian testing since its new", which means
that you should be able to run this machine with bullseye.

If you run testing, do full-upgrades, and expect full-upgrades are
going to fix things, then you might be better off sticking with
the stable distribution, assuming you were to go back to Debian.

Cheers,
David.



Re: locating blocked port

2023-01-31 Thread Henning Follmann
On Tue, Jan 31, 2023 at 10:05:12AM -0500, Haines Brown wrote:
> I have an  application that refuses to start because  its port is 
> blocked. But I have difficulty knowing what port it is
> 
>$ java -jar /usr/local/share/JabRef/JabRef-3.2.jar &
>   [1] 4831
>   haines@lenin:~$ Jan 31, 2023 8:36:39 AM  
> net.sf.jabref.logic.remote.server.Remote
>   ListenerServerLifecycle open
>   WARNING: Port is blocked
>   java.net.BindException: Address already in use
> at java.base/sun.nio.ch.Net.bind0(Native Method)
> at java.base/sun.nio.ch.Net.bind(Net.java:555)
> at java.base/sun.nio.ch.Net.bind(Net.java:544)
> at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
> at java.base/java.net.ServerSocket.bind(ServerSocket.java:388)
> at java.base/java.net.ServerSocket.(ServerSocket.java:274)
> at 
> net.sf.jabref.logic.remote.server.RemoteListenerServer.(RemoteListenerServer.java:40)
> at 
> net.sf.jabref.logic.remote.server.RemoteListenerServerThread.(RemoteListenerServerThread.java:33)
> at 
> net.sf.jabref.logic.remote.server.RemoteListenerServerLifecycle.open(RemoteListenerServerLifecycle.java:41)
> at net.sf.jabref.JabRef.start(JabRef.java:137)
> at net.sf.jabref.JabRefMain.main(JabRefMain.java:8)
> 
>   Arguments passed on to running JabRef instance. Shutting down.
> 
> How do I know from this what port the java application tried to use?
> 
> I try:
> 
>   $ strings $(which jabref) | wc -l
> 56

Oh boy,
why would the number of strings in that binary ever relate to the port
being used?

How about looking at the documentation instead?
https://docs.jabref.org



> 
>   So I try:
> 
> $ sudo ss -pt state listening 'sport = :56'
> Recv-Q   Send-QLocal Address:Port   Peer Address:Port Process
> 
>   This seems a null return. Dores this mean jabref is not using port 
>   56?
> 
>

NC 


-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: locating blocked port

2023-01-31 Thread Haines Brown
On Tue, Jan 31, 2023 at 08:31:38AM -0700, Casey Deccio wrote:
> 
> 
> > On Jan 31, 2023, at 8:05 AM, Haines Brown  wrote:
> > 
> > I have an  application that refuses to start because  its port is 
> > blocked. But I have difficulty knowing what port it is

> I would try strace, which shows you all system calls being made.  In 
> this case, it is probably bind() that is returning an error.

I do 

  $ strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar 2>&1 
| grep bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.Net.bind(Net.java:544)
at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
at java.base/java.net.ServerSocket.bind(ServerSocket.java:388)

But this does not tell me what is bound to what port. 

> For example:
> 
> $ cat test.py 
> #!/usr/bin/env python3

In /usr/bin there is a jabref file, but it does not specify what port 
it uses.

> import socket
> s = socket.socket()
> try:
> s.bind(('0.0.0.0', 56))
> except:
> pass
> $ python3 test.py # doesn't print any output

> $ strace -e trace=%net python3 test.py 2>&1 | grep bind
> bind(3, {sa_family=AF_INET, sin_port=htons(56), 
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
> 
> The value of sin_port is what you are looking for.

My run of the strace command as above does not return the string 
sin_port.,
> 
> > How do I know from this what port the java application tried to use?

> >  So I try:
> > 
> >$ sudo ss -pt state listening 'sport = :56'
> >Recv-Q   Send-QLocal Address:Port   Peer Address:Port Process
> > 
> >  This seems a null return. Dores this mean jabref is not using port 
> >  56?
> 
> Well, it tells you that nothing (including jabref) is listening on 
> TCP port 56, but it won't tell you about why something *failed* to listen.  
> See strace above. 

I don't see in refurn for strace that anyhing is not listening to 
port 56.

 Casey, thanks for your effort to help, but I'm too ill infomred to 
benefit from your advice.

-- 

 Haines Brown 
 /"\
 \ /  ASCII Ribbon Campaign
  Xagainst HTML e-mail 
 / \



Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread Sioban

Here is the output.

❯ systemctl cat rsyslog.service
# /lib/systemd/system/rsyslog.service
[Unit]
Description=System Logging Service
Requires=syslog.socket
Documentation=man:rsyslogd(8)
Documentation=man:rsyslog.conf(5)
Documentation=https://www.rsyslog.com/doc/

[Service]
Type=notify
ExecStart=/usr/sbin/rsyslogd -n -iNONE
StandardOutput=null
Restart=on-failure

# Increase the default a bit in order to allow many simultaneous
# files to be monitored, we might need a lot of fds.
LimitNOFILE=16384

[Install]
WantedBy=multi-user.target
Alias=syslog.service

I'm pretty sure the issue is not with Rsyslog, but with another service 
that cannot start preventing rsyslog to start through systemctl (a 
dependency).

Starting Rsyslog by hand is just fine.

PS: thanks for trying to help me and apology for my previous 
mis-targeted email, I'm in a very bad day :/


Le 31/01/2023 à 16:32, Greg Wooledge a écrit :

On Tue, Jan 31, 2023 at 03:52:32PM +0100,deb...@sioban.net  wrote:

❯ df /var/log /var/log/journal
Filesystem 1K-blocks    Used Available Use% Mounted on
/dev/md24   46096212 1620728  42101496   4% /var/log
/dev/md24   46096212 1620728  42101496   4% /var/log

OK, not out of disk space.  That's good.  Also, interesting that you have
/var/log as a separate file system.  That's uncommon (but nothing wrong
with it).


❯ systemctl status rsyslog.service
● rsyslog.service - System Logging Service
  Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor
preset: enabled)
  Active: inactive (dead)
TriggeredBy: ● syslog.socket
    Docs: man:rsyslogd(8)
  man:rsyslog.conf(5)
https://www.rsyslog.com/doc/

Frustratingly devoid of details.  It says "enabled" though, which is
normal.


❯ journalctl -u rsyslog.service | tail
-- Journal begins at Sun 2022-10-23 19:55:11 CEST, ends at Mon 2022-10-24
14:14:33 CEST. --
Oct 24 14:14:02 shax systemd[1]: Stopping System Logging Service...
Oct 24 14:14:02 shax systemd[1]: rsyslog.service: Succeeded.
Oct 24 14:14:02 shax systemd[1]: Stopped System Logging Service.
Oct 24 14:14:02 shax systemd[1]: rsyslog.service: Consumed 47.066s CPU time.

--

Unfortunately the 24 oct is too far for me to remember exactly what happened 
there.
There is nothing in journalct -xe which might explain.

How about:

systemctl cat rsyslog.service

Maybe you've customized or changed something that will be visible.
Another approach you can take is to Google your error message, and see
if any of the results are helpful.  The idea that the unit file may have
been customized came from one of the Google results that I got.



Re: locating blocked port

2023-01-31 Thread Casey Deccio



> On Jan 31, 2023, at 8:05 AM, Haines Brown  wrote:
> 
> I have an  application that refuses to start because  its port is 
> blocked. But I have difficulty knowing what port it is

I would try strace, which shows you all system calls being made.  In this case, 
it is probably bind() that is returning an error.

strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar

Or

strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar 2>&1 | 
grep bind

For example:

$ cat test.py 
#!/usr/bin/env python3

import socket
s = socket.socket()
try:
   s.bind(('0.0.0.0', 56))
except:
   pass
$ python3 test.py # doesn't print any output
$ strace -e trace=%net python3 test.py 2>&1 | grep bind
bind(3, {sa_family=AF_INET, sin_port=htons(56), sin_addr=inet_addr("0.0.0.0")}, 
16) = -1 EACCES (Permission denied)

The value of sin_port is what you are looking for.

> How do I know from this what port the java application tried to use?
> 
> I try:
> 
> $ strings $(which jabref) | wc -l
>   56
> 

strings might be helpful (maybe?), but in this case, you are piping it to wc 
-l, which is simply counting the number of printable character sequences that 
were found in jabref.  If that also happens to be the port number, then it is 
coincidental.

> So I try:
> 
>   $ sudo ss -pt state listening 'sport = :56'
>   Recv-Q   Send-QLocal Address:Port   Peer Address:Port Process
> 
> This seems a null return. Dores this mean jabref is not using port 
> 56?

Well, it tells you that nothing (including jabref) is listening on TCP port 56, 
but it won't tell you about why something *failed* to listen.  See strace above.

Casey


Re: locating blocked port

2023-01-31 Thread Klaus Singvogel


Hi,

Haines Brown wrote:
> I have an  application that refuses to start because  its port is 
> blocked. But I have difficulty knowing what port it is
> 
[...]
> 
>   $ strings $(which jabref) | wc -l
> 56

This "56" does NOT mean, jabref is listening on Port 56.
It only means, that the jabref command contains 56 lines of human readable 
characters.

You might want to look out for a config file for jabref to get the port number, 
or read the source code, especially for lines like: listen() or bind().

Sorry, but your way wasn't that helpful to get some clues about the required 
port.

Btw. ports below 1024 are only allowed for system services. Which means they 
require adminstration rights (= you must be root), to get such a port.
I doubt that this is the case here.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: locating blocked port

2023-01-31 Thread Celejar
On Tue, 31 Jan 2023 10:05:12 -0500
Haines Brown  wrote:

> I have an  application that refuses to start because  its port is 
> blocked. But I have difficulty knowing what port it is
> 
>$ java -jar /usr/local/share/JabRef/JabRef-3.2.jar &
>   [1] 4831
>   haines@lenin:~$ Jan 31, 2023 8:36:39 AM  
> net.sf.jabref.logic.remote.server.Remote
>   ListenerServerLifecycle open
>   WARNING: Port is blocked
>   java.net.BindException: Address already in use
> at java.base/sun.nio.ch.Net.bind0(Native Method)
> at java.base/sun.nio.ch.Net.bind(Net.java:555)
> at java.base/sun.nio.ch.Net.bind(Net.java:544)
> at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
> at java.base/java.net.ServerSocket.bind(ServerSocket.java:388)
> at java.base/java.net.ServerSocket.(ServerSocket.java:274)
> at 
> net.sf.jabref.logic.remote.server.RemoteListenerServer.(RemoteListenerServer.java:40)
> at 
> net.sf.jabref.logic.remote.server.RemoteListenerServerThread.(RemoteListenerServerThread.java:33)
> at 
> net.sf.jabref.logic.remote.server.RemoteListenerServerLifecycle.open(RemoteListenerServerLifecycle.java:41)
> at net.sf.jabref.JabRef.start(JabRef.java:137)
> at net.sf.jabref.JabRefMain.main(JabRefMain.java:8)
> 
>   Arguments passed on to running JabRef instance. Shutting down.
> 
> How do I know from this what port the java application tried to use?

The documentation is surprisingly poor, but it looks like 6050 is the
default:

https://github.com/JabRef/jabref/issues/2698
https://github.com/JabRef/jabref/issues/8653

-- 
Celejar



Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 03:52:32PM +0100, deb...@sioban.net wrote:
> ❯ df /var/log /var/log/journal
> Filesystem 1K-blocks    Used Available Use% Mounted on
> /dev/md24   46096212 1620728  42101496   4% /var/log
> /dev/md24   46096212 1620728  42101496   4% /var/log

OK, not out of disk space.  That's good.  Also, interesting that you have
/var/log as a separate file system.  That's uncommon (but nothing wrong
with it).

> ❯ systemctl status rsyslog.service
> ● rsyslog.service - System Logging Service
>  Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor
> preset: enabled)
>  Active: inactive (dead)
> TriggeredBy: ● syslog.socket
>    Docs: man:rsyslogd(8)
>  man:rsyslog.conf(5)
> https://www.rsyslog.com/doc/

Frustratingly devoid of details.  It says "enabled" though, which is
normal.

> ❯ journalctl -u rsyslog.service | tail
> -- Journal begins at Sun 2022-10-23 19:55:11 CEST, ends at Mon 2022-10-24
> 14:14:33 CEST. --
> Oct 24 14:14:02 shax systemd[1]: Stopping System Logging Service...
> Oct 24 14:14:02 shax systemd[1]: rsyslog.service: Succeeded.
> Oct 24 14:14:02 shax systemd[1]: Stopped System Logging Service.
> Oct 24 14:14:02 shax systemd[1]: rsyslog.service: Consumed 47.066s CPU time.
> 
> --
> 
> Unfortunately the 24 oct is too far for me to remember exactly what happened 
> there.
> There is nothing in journalct -xe which might explain.

How about:

systemctl cat rsyslog.service

Maybe you've customized or changed something that will be visible.
Another approach you can take is to Google your error message, and see
if any of the results are helpful.  The idea that the unit file may have
been customized came from one of the Google results that I got.



Re: locating blocked port

2023-01-31 Thread Casey Deccio



> On Jan 31, 2023, at 8:05 AM, Haines Brown  wrote:
> 
> I have an  application that refuses to start because  its port is 
> blocked. But I have difficulty knowing what port it is

I would try strace, which shows you all system calls being made.  In this case, 
it is probably bind() that is returning an error.

strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar

Or

strace -e trace=%net java -jar /usr/local/share/JabRef/JabRef-3.2.jar 2>&1 | 
grep bind

For example:

$ cat test.py 
#!/usr/bin/env python3

import socket
s = socket.socket()
try:
s.bind(('0.0.0.0', 56))
except:
pass
$ python3 test.py # doesn't print any output
$ strace -e trace=%net python3 test.py 2>&1 | grep bind
bind(3, {sa_family=AF_INET, sin_port=htons(56), sin_addr=inet_addr("0.0.0.0")}, 
16) = -1 EACCES (Permission denied)

The value of sin_port is what you are looking for.

> How do I know from this what port the java application tried to use?
> 
> I try:
> 
>  $ strings $(which jabref) | wc -l
>56
> 

strings might be helpful (maybe?), but in this case, you are piping it to wc 
-l, which is simply counting the number of printable character sequences that 
were found in jabref.  If that also happens to be the port number, then it is 
coincidental.

>  So I try:
> 
>$ sudo ss -pt state listening 'sport = :56'
>Recv-Q   Send-QLocal Address:Port   Peer Address:Port Process
> 
>  This seems a null return. Dores this mean jabref is not using port 
>  56?

Well, it tells you that nothing (including jabref) is listening on TCP port 56, 
but it won't tell you about why something *failed* to listen.  See strace above.

Casey


locating blocked port

2023-01-31 Thread Haines Brown
I have an  application that refuses to start because  its port is 
blocked. But I have difficulty knowing what port it is

   $ java -jar /usr/local/share/JabRef/JabRef-3.2.jar &
  [1] 4831
  haines@lenin:~$ Jan 31, 2023 8:36:39 AM  
net.sf.jabref.logic.remote.server.Remote
  ListenerServerLifecycle open
  WARNING: Port is blocked
  java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.Net.bind(Net.java:544)
at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
at java.base/java.net.ServerSocket.bind(ServerSocket.java:388)
at java.base/java.net.ServerSocket.(ServerSocket.java:274)
at 
net.sf.jabref.logic.remote.server.RemoteListenerServer.(RemoteListenerServer.java:40)
at 
net.sf.jabref.logic.remote.server.RemoteListenerServerThread.(RemoteListenerServerThread.java:33)
at 
net.sf.jabref.logic.remote.server.RemoteListenerServerLifecycle.open(RemoteListenerServerLifecycle.java:41)
at net.sf.jabref.JabRef.start(JabRef.java:137)
at net.sf.jabref.JabRefMain.main(JabRefMain.java:8)

  Arguments passed on to running JabRef instance. Shutting down.

How do I know from this what port the java application tried to use?

I try:

  $ strings $(which jabref) | wc -l
56

  So I try:

$ sudo ss -pt state listening 'sport = :56'
Recv-Q   Send-QLocal Address:Port   Peer Address:Port Process

  This seems a null return. Dores this mean jabref is not using port 
  56?


-- 

 Haines Brown 
 /"\
 \ /  ASCII Ribbon Campaign
  Xagainst HTML e-mail 
 / \



Re: Who pays Debian developement

2023-01-31 Thread Pierre-Elliott Bécue


"Thomas Schmitt"  wrote on 31/01/2023 at 15:01:15+0100:
> I don't get paid for this. It's for fun, curiosity, and conscience.

I'd add "and because I rely on it", from my point of view.

All my systems run Debian, having a nice OS is the guarantee that my
systems will keep working a way I like them to be.
-- 
PEB



Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread debian

Hi Greg,

I'm sorry, I was unsure what kind of logs to give, thanks for giving me some
instructions.

❯ df /var/log /var/log/journal
Filesystem 1K-blocks    Used Available Use% Mounted on
/dev/md24   46096212 1620728  42101496   4% /var/log
/dev/md24   46096212 1620728  42101496   4% /var/log


❯ systemctl status rsyslog.service
● rsyslog.service - System Logging Service
 Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor
preset: enabled)
 Active: inactive (dead)
TriggeredBy: ● syslog.socket
   Docs: man:rsyslogd(8)
 man:rsyslog.conf(5)
https://www.rsyslog.com/doc/


❯ journalctl -u rsyslog.service | tail
-- Journal begins at Sun 2022-10-23 19:55:11 CEST, ends at Mon 2022-10-24
14:14:33 CEST. --
Oct 24 14:14:02 shax systemd[1]: Stopping System Logging Service...
Oct 24 14:14:02 shax systemd[1]: rsyslog.service: Succeeded.
Oct 24 14:14:02 shax systemd[1]: Stopped System Logging Service.
Oct 24 14:14:02 shax systemd[1]: rsyslog.service: Consumed 47.066s CPU time.

--

Unfortunately the 24 oct is too far for me to remember exactly what happened 
there.
There is nothing in journalct -xe which might explain.


Le 31/01/2023 à 14:00, Greg Wooledge a écrit :

On Tue, Jan 31, 2023 at 11:09:59AM +0100,deb...@sioban.net  wrote:

Le 31/01/2023 à 11:08, Nicolas George a écrit :

deb...@sioban.net   (12023-01-31):

A dependency job for rsyslog.service failed. See 'journalctl -xe' for
details.

Have you considered seeing journalctl -xe for details?


Hi,

Yes, that was my first action.
The last line of log is from Oct 24 :/

I don't know how you expect anyone to help you if you don't provide
any details.  Try some or all of these commands:

df /var/log /var/log/journal
systemctl status rsyslog.service
journalctl -u rsyslog.service | tail

Also note that some of these commands give additional detail when run
as root.

Solving your problem may involve figuring out *which* "dependency job"
failed, and why.  So, once you identify what's actually failing, you
may have to drill down into that one, the same way you started out
drilling down into rsyslog.service.



Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-31 Thread Shalom Ben-Zvii Kazaz
On Mon, Jan 30, 2023 at 6:00 PM Alexandre Rossi  wrote:

> Hi,
>
> > In the past week my laptop freezes randomly, I can say it happens every
> 2-3
> > hours. but there are actions that consistently always cause a freeze,
> like
> > opening Zoom or executing lspci in Terminator.
>
> I would suggest:
> - try to get more debugging info using SysRQ keys [1]
> - try to get more debugging info using netconsole[2] (needs wired
> connection)
> - try another OS (Ubuntu live CD, Windows) to rule out hardware problem
>

following the suggestion to try another OS i booted the computer with
ubuntu 22.4 live usb, i'm working with since yesterday with no issues. i
have enough memory so i installed some of the applications i use like
slack,zoom,terminator and more, i even installed intellij idea and worked
on my project for hours. zoom works with video ,slack works, there is no
freeze , the computer is up with ubuntu 22.4 for almost 24 hours and
everything looks ok.
So i guess there is no hardware problem.
So i don't know what to do, I'm thinking to reinstall debian but I'm not
sure the problem will disappear because it may be something with the kernel
of some package.


>
> [1] https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
> [2] https://debamax.com/blog/2019/01/03/debugging-with-netconsole/
>
> Alex
>
>


Re: Who pays Debian developement

2023-01-31 Thread Thomas Schmitt
Hi,

> how does it actually work?

Most of the software in the Debian operating system is taken by Debian
for free from "upstream" projects.

For example i maintain as upstream developer libburn, lisofs, and
libisoburn with their applications cdrskin and xorriso. They are not
specific to Debian or to GNU/Linux.
I support Debian especially by preparing the Debian packages of my
upstream projects. Those get signed and uploaded by Dominique Dumont
who holds a Debian rank, unlike me. See what Debian makes out of my
upstream package libisoburn:
  https://tracker.debian.org/pkg/libisoburn

I don't get paid for this. It's for fun, curiosity, and conscience.
An easy way to pay back to the world for what i take from it for free.
During the years i got some donations for hardware costs. But that's not
a significant motivation for me.

Aside from getting upstream's work for free, it is quite some work to
prepare all the Debian packages and to coordinate their dependencies (the
further software which a package needs to work). That's why several other
GNU/Linux distros take the bulk of their packages from Debian for free.

So everybody is taking advantage of everybody. Those who don't maintain
software can contribute by submitting bug reports or other feedback.


Of course, one has to be able to afford giving away ones work.

I still work in the proprietary IT industry. The customers see no
problem with paying my employer and to charge their customers.
A completely different social model.
Free software development in large parts swims on top of that model.
It is quite astounding that this coexistence works since decades.
Obviously it benefits both sides.


Have a nice day :)

Thomas



Re: Who pays Debian developement

2023-01-31 Thread songbird
gene heskett wrote:
...
> So something like this needs to be said:
>
> Make it easier for John Q. Public's like me to contribute to those 
> support funds. I'm not Elon Musk, but I could manage a $50 bill from 
> time to time.  Make it easier for the users who have benefited greatly, 
> to supply some of those expenses, please.
>
> We are also very aware that info on the suppliers of such funds is a 
> valuable commodity to the hacker. There are quite a number of American 
> based charities I do not contribute to simply because they insist on 
> ones social security number. That ain't gonna happen. Make it the equ of 
> me handing you a $50 bill, untraceable cash, no strings attached. It's 
> my thank you.


  https://www.spi-inc.org/donations/

  they will take checks or money orders, no cash, that's silly
but i guess it would be hard to keep track of anyone handling
the mail not lifting funds if people sent cash.

  another approach would be to ask if there are any people
you know who will send the money order or check for you.
sure it's an extra step and a bit of an impediment that is
not a reason not to contribute.

  in the past the other way i normally would send an amount
to Debian was through the websites that would offer disks
for sale and they often had an additional entry for an
extra amount to go to Debian.

  and for those in the techie field or work for larger 
corporations you could ask your company to make the donation
and then give the corporation the extra funds to go along
with whatever they're willing to send.

  some local chapters may take paypal or cash and be
willing to pass it along.


  songbird  (more than one way to get it done



Re: Who pays Debian developement

2023-01-31 Thread Pierre-Elliott Bécue


gene heskett  wrote on 31/01/2023 at 14:00:14+0100:

> On 1/31/23 05:43, Pierre-Elliott Bécue wrote:
>> Hi,
>> krys...@ibse.cz wrote on 31/01/2023 at 10:51:10+0100:
>> 
>>> Hello everyone,
>>> I ran into argument with my father about who pays Debian
>>> developement. He says everyone want to eat something and since only
>>> donation won't cut it, corporations and companies which use Debian
>>> need to fund the developement. I understand that some task like kernel
>>> maintanace are full-time job and someone needs to pay those people,
>>> but I always thaught that since Debian is community software project,
>>> most of the work comes from volunteers and enthusiasts. So my qustion
>>> is - how does it actually work? Thank you for your answers.
>>>
>>> Best regards,
>> Debian is a volunteer-run project and therefore, the standard
>> situation
>> is that people who build and maintain the Debian Ecosystem are doing it
>> for free. True, some people are allowed by their employeer to do it on
>> their work time, which could be seen as a sponsorship of the project,
>> and there's even some who are paid specifically by their employeer to
>> package some stuff in Debian, but this is not the majority of the
>> Contributors.
>> So, on the specific aspect of the development, I guess we can agree
>> that
>> it's, indeed, *NOT* funded by any corporation.
>> That being said, many companies are making donations to the project
>> (or,
>> to be specific, to its Trusted Organizations - SPI/Debian
>> France/Debian.ch), as a sponsorship, and to help the project covering
>> its hosting costs (we need servers, hosting places, etc, to provide our
>> websites and our packages/installers/...).
>> There are also individuals making such donations.
>> That being said, these donations can't be used to pay a Developer
>> for
>> its work in the project. At best it can be used to reimburse some
>> specific expenses the Developer would make to contribute to the project
>> (a flight ticket to go to a BSP, some specific hardware, ...).
>> I hope this makes things clearer.
>
> It does, but we should all remember that TANSTAAFL is a universal
> law. It cannot be broken.
>
> So something like this needs to be said:
>
> Make it easier for John Q. Public's like me to contribute to those
> support funds. I'm not Elon Musk, but I could manage a $50 bill from
> time to time.  Make it easier for the users who have benefited
> greatly, to supply some of those expenses, please.
>
> We are also very aware that info on the suppliers of such funds is a
> valuable commodity to the hacker. There are quite a number of American
> based charities I do not contribute to simply because they insist on
> ones social security number. That ain't gonna happen. Make it the equ
> of me handing you a $50 bill, untraceable cash, no strings
> attached. It's my thank you.
>
> Cheers, Gene Heskett.

That's nice to read,thanks. We actually take bills from people attending
the events where Debian's booth is. In Europe, generally the bill ends
up in Debian France's (the Euro Zone Trusted Organization for Debian)
account and is credited to Debian's budget.

The swag we sell (tshirts, hoodies, others) is bought and sold by Debian
France, so the money goes in Debian France's own budget. Generally as
soon as our own budget exceeds €40.000, we give €20.000 to Debian by
moving the amount on Debian's budget.

As a US resident, if you don't go to FOSS events in Europe, you should
have a look at the events that occur in the US & Canada and see if a
Debian booth is there, if so there's a great chance they'd accept your
bill.

Also, you can do a wire transfer, no strings attached, we ask nothing
for donations we receive via bank transfer. We have a name, but we make
no use of it outside of our ledger, which is not public and won't be
(French law, yadda yadda).

Cheers!
-- 
PEB



Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 11:09:59AM +0100, deb...@sioban.net wrote:
> 
> Le 31/01/2023 à 11:08, Nicolas George a écrit :
> > deb...@sioban.net  (12023-01-31):
> > > A dependency job for rsyslog.service failed. See 'journalctl -xe' for
> > > details.
> > Have you considered seeing journalctl -xe for details?
> > 
> Hi,
> 
> Yes, that was my first action.
> The last line of log is from Oct 24 :/

I don't know how you expect anyone to help you if you don't provide
any details.  Try some or all of these commands:

df /var/log /var/log/journal
systemctl status rsyslog.service
journalctl -u rsyslog.service | tail

Also note that some of these commands give additional detail when run
as root.

Solving your problem may involve figuring out *which* "dependency job"
failed, and why.  So, once you identify what's actually failing, you
may have to drill down into that one, the same way you started out
drilling down into rsyslog.service.



Re: Who pays Debian developement

2023-01-31 Thread gene heskett

On 1/31/23 05:43, Pierre-Elliott Bécue wrote:

Hi,

krys...@ibse.cz wrote on 31/01/2023 at 10:51:10+0100:


Hello everyone,
I ran into argument with my father about who pays Debian
developement. He says everyone want to eat something and since only
donation won't cut it, corporations and companies which use Debian
need to fund the developement. I understand that some task like kernel
maintanace are full-time job and someone needs to pay those people,
but I always thaught that since Debian is community software project,
most of the work comes from volunteers and enthusiasts. So my qustion
is - how does it actually work? Thank you for your answers.

Best regards,


Debian is a volunteer-run project and therefore, the standard situation
is that people who build and maintain the Debian Ecosystem are doing it
for free. True, some people are allowed by their employeer to do it on
their work time, which could be seen as a sponsorship of the project,
and there's even some who are paid specifically by their employeer to
package some stuff in Debian, but this is not the majority of the
Contributors.

So, on the specific aspect of the development, I guess we can agree that
it's, indeed, *NOT* funded by any corporation.

That being said, many companies are making donations to the project (or,
to be specific, to its Trusted Organizations - SPI/Debian
France/Debian.ch), as a sponsorship, and to help the project covering
its hosting costs (we need servers, hosting places, etc, to provide our
websites and our packages/installers/...).

There are also individuals making such donations.

That being said, these donations can't be used to pay a Developer for
its work in the project. At best it can be used to reimburse some
specific expenses the Developer would make to contribute to the project
(a flight ticket to go to a BSP, some specific hardware, ...).

I hope this makes things clearer.


It does, but we should all remember that TANSTAAFL is a universal law. 
It cannot be broken.


So something like this needs to be said:

Make it easier for John Q. Public's like me to contribute to those 
support funds. I'm not Elon Musk, but I could manage a $50 bill from 
time to time.  Make it easier for the users who have benefited greatly, 
to supply some of those expenses, please.


We are also very aware that info on the suppliers of such funds is a 
valuable commodity to the hacker. There are quite a number of American 
based charities I do not contribute to simply because they insist on 
ones social security number. That ain't gonna happen. Make it the equ of 
me handing you a $50 bill, untraceable cash, no strings attached. It's 
my 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 



Re: what do I need to add to my sources.list for the new non-free-firmware repository?

2023-01-31 Thread David
On Tue, 31 Jan 2023 at 23:21, Rick Thomas  wrote:

> I've got a couple of Debian systems that (for various reasons) are running 
> "testing" or "sid".
> I recently did
>  apt update && apt upgrade && aptitude search '~o'
> on these machines and found that a number of firmware packages are considered
> "obsolete", presumably because they are no longer in any of the repositories 
> listed
> in sources.list.
>
> So what do I need to add to my sources.list file to get them back now?

Hi, I'm not running testing or sid, so I can't be sure, but I suggest to
start with this recent thread:
  https://lists.debian.org/debian-user/2023/01/msg00706.html
followed by 'apt update'.



what do I need to add to my sources.list for the new non-free-firmware repository?

2023-01-31 Thread Rick Thomas
I've got a couple of Debian systems that (for various reasons) are running 
"testing" or "sid".  I recently did
 apt update && apt upgrade && aptitude search '~o'
on these machines and found that a number of firmware packages are considered 
"obsolete", presumably because they are no longer in any of the repositories 
listed in sources.list.

So what do I need to add to my sources.list file to get them back now?

Here's what I see:

root@kmac:~# aptitude search '~o'
i A  firmware-amd-graphics - Binary firmware for 
AMD/ATI graphics chips
i firmware-linux - Binary firmware 
for various drivers in the Linux kernel (metapackage) 
i A  firmware-linux-nonfree  - Binary firmware for 
various drivers in the Linux kernel (metapackage) 
i A  firmware-misc-nonfree  - Binary firmware for 
various drivers in the Linux kernel   
root@kmac:~# 

Any thoughts?
Rick



Re: systemd systemd-random-seed.service et mount

2023-01-31 Thread Christophe Maquaire
Le mardi 31 janvier 2023 à 11:49 +0100, didier gaumet a écrit :
> 

> *hypothèses* (vu mes connaissances sur le sujet) :-) :
> 
> - ton lien vers /var est *peut-être* la cause parce qu'il serait
> présent 

C'est bien la cause.

> en situation ordinaire mais absent lors du début du boot?
> - donc dans ton cas *peut-être* que créer ce lien dans l'initramfs
> (je 
> n'ai jamais fait mais je suppose que c'est possible?) pourrait
> résoudre 
> ton problème sans nécessité de passer un paramètre d'entropie au 
> bootloader (peut-être d'ailleurs grub2 aussi est-il capable de gérer
> ça...)?
> - par contre tu aurais *peut-être* besoin d'en passer par là si tu 
> utilisais un swap chiffré à chiffrement aléatoire?
> 
> 
En fait en remplaçant le lien par un montage bind dans le fstab, le
problème disparaît.

Merci pour ton aide.

Christophe



Re: systemd systemd-random-seed.service et mount

2023-01-31 Thread Christophe Maquaire
Le mardi 31 janvier 2023 à 11:42 +0100, Basile Starynkevitch a écrit :
> 
> 
> A mon avis le problème est là! Avoir mis un lien symbolique sur /var
> est probablement une mauvaise idée!
> 
Probablement.

> Toutes les fois où (sous Debian comme Ubuntu) /var est un lien
> symbolique (vers un autre système de fichier que la racine) j'ai eu
> des problèmes.
> On pourrait peut-être (mais c'est compliqué) envisager un montage
> bind.

Bin ça marche... 
Après avoir supprimé le lien , mis en options du montage dans mon fstab
defaults,bind pour /lent/var sur /var et après un premier boot pendant
lequel systemd-journal-flush a coincé tout est rentré dans l'ordre. 

> Personnellement je suggère de laisser /var dans le système de fichier
> racine et peut-être d'utiliser des montages bind pour des parties
> moins importantes, par exemple /usr/src 
> Dans mon /etc/fstab j'ai mis la ligne suivante:
> /home/UsrSrc /usr/src none    bind
>  
> Certains d'entre vous pourraient être intéressés par mon utilitaire
> sync-periodically.c ou par le projet logiciel libre RefPerSys.
> Dans ce cas, n'hésitez pas à me contacter (pour vos questions ou
> améliorations) par courriel vers bas...@starynkevitch.net
> Librement

Merci pour la piste.

Christophe



Re: systemd systemd-random-seed.service et mount

2023-01-31 Thread didier gaumet

Le 31/01/2023 à 10:37, Christophe Maquaire a écrit :


Moui mais:
- Il n'y a pas de raison, même si l'entropie générée est faible, que le
service ne démarre pas correctement, j' ai vérifié sur d'autres
machines (bon en stable, certes), et c'est un service "standard" de
systemd installé par debian

[...]

*hypothèses* (vu mes connaissances sur le sujet) :-) :

- ton lien vers /var est *peut-être* la cause parce qu'il serait présent 
en situation ordinaire mais absent lors du début du boot?
- donc dans ton cas *peut-être* que créer ce lien dans l'initramfs (je 
n'ai jamais fait mais je suppose que c'est possible?) pourrait résoudre 
ton problème sans nécessité de passer un paramètre d'entropie au 
bootloader (peut-être d'ailleurs grub2 aussi est-il capable de gérer ça...)?
- par contre tu aurais *peut-être* besoin d'en passer par là si tu 
utilisais un swap chiffré à chiffrement aléatoire?





Re: systemd systemd-random-seed.service et mount

2023-01-31 Thread Basile Starynkevitch


On 31/01/2023 10:48, Christophe Maquaire wrote:

Le lundi 30 janvier 2023 à 13:13 +0100, ajh-valmer a écrit :
Bonjour et merci de t'être peché sur la question

Désolé, ce lien (désolé sur Ubuntu) semble répondre à la question :

https://askubuntu.com/questions/1404691/fwupd-refresh-service-failed

Oui, mais ici il est proposé de de considérer le code de sortie comme
un succès, réel ou non.

Dans mon cas l'échec est réel. en fait après réflexion, mon problème
est lié à mon arborescence de fichiers, mon /var est en fait un lien;



A mon avis le problème est là! Avoir mis un lien symbolique sur /var est 
probablement une mauvaise idée!



Toutes les fois où (sous Debian comme Ubuntu) /var est un lien 
symbolique (vers un autre système de fichier que la racine) j'ai eu des 
problèmes.


On pourrait peut-être (mais c'est compliqué) envisager un montage bind.

Personnellement je suggère de *laisser **/var**dans le système de 
fichier racine* et peut-être d'utiliser des montages bind pour des 
parties moins importantes, par exemple /usr/src


Dans mon /etc/fstab j'ai mis la ligne suivante:

/home/UsrSrc /usr/src none    bind

Certains d'entre vous pourraient être intéressés par mon utilitaire 
sync-periodically.c 
 
ou par le projet logiciel libre RefPerSys .


Dans ce cas, n'hésitez pas à me contacter (pour vos questions ou 
améliorations) par courriel vers bas...@starynkevitch.net 



Librement

--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/


Re: Who pays Debian developement

2023-01-31 Thread Pierre-Elliott Bécue
Hi,

krys...@ibse.cz wrote on 31/01/2023 at 10:51:10+0100:

> Hello everyone,
> I ran into argument with my father about who pays Debian
> developement. He says everyone want to eat something and since only
> donation won't cut it, corporations and companies which use Debian
> need to fund the developement. I understand that some task like kernel
> maintanace are full-time job and someone needs to pay those people,
> but I always thaught that since Debian is community software project,
> most of the work comes from volunteers and enthusiasts. So my qustion
> is - how does it actually work? Thank you for your answers.
>
> Best regards,

Debian is a volunteer-run project and therefore, the standard situation
is that people who build and maintain the Debian Ecosystem are doing it
for free. True, some people are allowed by their employeer to do it on
their work time, which could be seen as a sponsorship of the project,
and there's even some who are paid specifically by their employeer to
package some stuff in Debian, but this is not the majority of the
Contributors.

So, on the specific aspect of the development, I guess we can agree that
it's, indeed, *NOT* funded by any corporation.

That being said, many companies are making donations to the project (or,
to be specific, to its Trusted Organizations - SPI/Debian
France/Debian.ch), as a sponsorship, and to help the project covering
its hosting costs (we need servers, hosting places, etc, to provide our
websites and our packages/installers/...).

There are also individuals making such donations.

That being said, these donations can't be used to pay a Developer for
its work in the project. At best it can be used to reimburse some
specific expenses the Developer would make to contribute to the project
(a flight ticket to go to a BSP, some specific hardware, ...).

I hope this makes things clearer.
-- 
PEB
Treasurer of Debian France and Debian Developer on his free time.



Who pays Debian developement

2023-01-31 Thread krystof
Hello everyone,
I ran into argument with my father about who pays Debian developement. He says 
everyone want to eat something and since only donation won't cut it, 
corporations and companies which use Debian need to fund the developement. I 
understand that some task like kernel maintanace are full-time job and someone 
needs to pay those people, but I always thaught that since Debian is community 
software project, most of the work comes from volunteers and enthusiasts. So my 
qustion is - how does it actually work? Thank you for your answers.

Best regards,
KS




Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread debian


Le 31/01/2023 à 11:08, Nicolas George a écrit :

deb...@sioban.net  (12023-01-31):

A dependency job for rsyslog.service failed. See 'journalctl -xe' for
details.

Have you considered seeing journalctl -xe for details?


Hi,

Yes, that was my first action.
The last line of log is from Oct 24 :/

Re: Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread Nicolas George
deb...@sioban.net (12023-01-31):
> A dependency job for rsyslog.service failed. See 'journalctl -xe' for
> details.

Have you considered seeing journalctl -xe for details?

-- 
  Nicolas George



Re: systemd systemd-random-seed.service et mount

2023-01-31 Thread Christophe Maquaire
Le lundi 30 janvier 2023 à 13:13 +0100, ajh-valmer a écrit :
> 
Bonjour et merci de t'être peché sur la question
> Désolé, ce lien (désolé sur Ubuntu) semble répondre à la question :
> 
> https://askubuntu.com/questions/1404691/fwupd-refresh-service-failed

Oui, mais ici il est proposé de de considérer le code de sortie comme
un succès, réel ou non.

Dans mon cas l'échec est réel. en fait après réflexion, mon problème
est lié à mon arborescence de fichiers, mon /var est en fait un lien;
il semble que le montage de toute l'arborescence soit postérieur à
l'execution du service; donc en continuant ma reflexion je me dis qu'il
faudrait que je sache comment faire pour que l'execution du service
soit postérieure au montage complet de l'arborescence. 

Bon, bin je vais regarder de plus près cette section de systemd-random-
seed.service, bien que ça sorte largement de mon domaine de compétence
sur systemd...



[Unit]
Description=Load/Save Random Seed
Documentation=man:systemd-random-seed.service(8) man:random(4)
DefaultDependencies=no
RequiresMountsFor=/var/lib/systemd/random-seed
Conflicts=shutdown.target
After=systemd-remount-fs.service
Before=first-boot-complete.target shutdown.target
Wants=first-boot-complete.target
ConditionVirtualization=!container
ConditionPathExists=!/etc/initrd-release

Merci encore,
Christophe



Syslog/Rsyslog/Systemctl issue

2023-01-31 Thread debian

Hi everyone,

I'm contacting you because I'm clueless on what's happening.
Basically my issue is I don't have logs anymore :/

I'm using rsyslog but since some times, I'm getting only this message 
when I try to start it:


--
> systemctl start rsyslog.service
A dependency job for rsyslog.service failed. See 'journalctl -xe' for 
details.

--

Also I have several services that do not want to start too:

--
❯systemctl --failed
  UNIT    LOAD   ACTIVE SUB    DESCRIPTION
● fail2ban.service    loaded failed failed Fail2Ban Service
● dbus.socket loaded failed failed D-Bus System 
Message Bus Socket

● syslog.socket   loaded failed failed Syslog Socket
● systemd-fsckd.socket    loaded failed failed fsck to fsckd 
communication Socket

● systemd-journald-audit.socket   loaded failed failed Journal Audit Socket
● systemd-journald-dev-log.socket loaded failed failed Journal Socket 
(/dev/log)

● systemd-journald.socket loaded failed failed Journal Socket
● systemd-udevd-control.socket    loaded failed failed udev Control Socket
● systemd-udevd-kernel.socket loaded failed failed udev Kernel Socket
● uuidd.socket    loaded failed failed UUID daemon 
activation socket


LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
10 loaded units listed.
--

A month ago I've managed to start manually and to start most of the 
services (except systemd-udevd-control.socket and 
systemd-udevd-kernel.socket) because I've seen some errors linked to a 
selinux filesystem missing.


But this morning I've seen that I wasn't getting any emails logs so I 
tried to restart my server. And now, despite the fact the selinux 
filesystem is up, I can't start any of the services :/


I don't know where to look at as I don't have ANY logs, even in 
journalctl :/


Please help :'(



Re: systemd systemd-random-seed.service et mount

2023-01-31 Thread Christophe Maquaire
Le lundi 30 janvier 2023 à 12:53 +0100, didier gaumet a écrit :
> 
> Bonjour,
> 
> pour situer mon niveau: tu viens de m'apprendre l'existence de ce
> service, donc ne t'attends à des conseils pointus de ma part ;-)
> 
Bonjour, et merci de ta proposition de réponse.

> mais le deuxième paragraphe de la page man du service semble pointer
> vers l'origine de ton souci:
> [...]
> Note that this service runs relatively late during the early boot
> phase, i.e. generally after the initial RAM disk (initrd) completed
> its
> work, and the /var/ file system has been mounted writable. Many
> system
> services require entropy much earlier than this — this service is
> hence
> of limited use for complex system. It is recommended to use a
> bootloader that can pass an initial random seed to the kernel to
> ensure
> that entropy is available from earliest boot on, for example systemd-
> boot(7), with its bootctl random-seed functionality.
> [...]

Moui mais:
- Il n'y a pas de raison, même si l'entropie générée est faible, que le
service ne démarre pas correctement, j' ai vérifié sur d'autres
machines (bon en stable, certes), et c'est un service "standard" de
systemd installé par debian
- pour changer de bootloader, humm... disons que grub ne m'a pas posé
de problèmes depuis longtemps et systemd, en général, c'est bien quand
ça marche mais en cas de problème, on a bien du mal à suivre le fil
pour retrouver qui fait quoi... 

Bon en regardant de plus près, mon /var est un lien sur /lent/var...
root@salicyline:~# ls -la /
lrwxrwxrwx   1 root root 9 26 mars   2014 var -> /lent/var

Je suppose que c'est l'origine de mon problème...

Merci encore

Christophe