Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
Thank you for your quick reply.

On Wed, Mar 27, 2024 at 12:22 AM Henning Follmann
 wrote:
> On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote:
> > I changed a gateway on a remote site using /etc/network/interfaces by
> > changing gateway. However, at reboot some old gateway IP reappears. I
> > I have no clue where the wrong 2.43 comes from.
> [...] deleted that nonsense.
Nonsense? I think the lines illustrate the issue to the
experienced eye and in fact, it did, so that Pierre-Elliott
spotted the issue (I tell it in a second).

> why are you making it so difficult to anyone trying to help you?

I don't know, surely not intentional. I just ran out of ideas.

> Nobody is interested in your way how you edit that file.

Sure, except: Emacs or Vim, which is better?
(Just kidding :))

> please show us two versions of that file (pre reboot and after)
> Also tell us any programs you use to manage your network settings

I had told I would use vim to edit the file... but I had been wrong!
The machine I SSH'd to in fact was not a machine, but rather
a container, and the network configured by the virtualisation
environment! That is what changes the IP. The container op
made an error in the IP and I was the unfortunate one just
arriving in time :)

> [] NetworkManager
> [] systemd-networkd
> [] some magic own  scripts
> [] ...
[x] vim
[x] Proxmox (but I didn't know this)
(*1)

(*1) don't work together well :)

Regards,
Steffen



Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
On Tue, Mar 26, 2024 at 11:27 PM Dustin Jenkins  wrote:
> On my Debian 12 system, the connman service was helping itself to interfaces, 
> including my bridge interfaces that I wanted left alone.  Maybe try disabling 
> or removing it?
>
> sudo systemctl stop connman
> sudo systemctl disable connman

Thank you for your help! Yes, good idea!
  (I don't have it, but a good point. Related, I
  read often in internet of similar possible issues with
  some network manager versions)

I couldn't see the cause in the whole file system, and as
Thankfully Pierre-Elliott Bécue correctly saw from a wide
distance that this is because - it is in fact not in the
file system. But outside. Namely a virtualisation
environment set it into a container (the machine
actually is "just" a container).

Regards,
Steffen



Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
Thank your for your quick and detailed reply.

On Tue, Mar 26, 2024 at 7:01 PM Greg Wooledge  wrote:
> On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote:
> > I changed a gateway on a remote site using /etc/network/interfaces by
> > changing gateway. However, at reboot some old gateway IP reappears.
>
> So then the question is *which* of the many different subsystems is in
> use to set the system's default gateway.  It might be coming from /e/n/i
> or from NetworkManager or from systemd-networkd or others.

Yes, but I found nothing in any logfile, the IP did not appear anywhere
in the file system and I had no idea what to do...

It turned out the machine actually is a virtualisation container
and the infrastructure configures the IP (which was incorrectly set in the
virtualization web GUI). Well, and I didn't see this, but
fortunately Pierre-Elliott Bécue (from this list) saw it instead.

> > root@site4-nas:~# ls -l /etc/network/interfaces
> > -rw-r--r-- 1 root root 117 Mar 26 18:19 /etc/network/interfaces
> > root@site4-nas:~# grep gateway /etc/network/interfaces
> > gateway 192.168.2.43
>
> See, that's not useful.  That's not how this file is structured.  It's
> NOT just a series of independent lines.

Yes, thanks, sure, I know. I just wanted to show that it does change
automagically at reboot (it is written by virtualisation environment
when the container is being started). The stanza was correct,
just gateway IP was wrong, because someome made an error
in the container configuration and it just so happend that it was
my little foot where it fell onto...

Best regards,
Steffen



Re: seeding /dev/random from a security key

2024-03-26 Thread Jeffrey Walton
On Tue, Mar 26, 2024 at 7:12 PM Björn Persson  wrote:
>
> Jeffrey Walton wrote:
> > For what you want to do, and if I am parsing it correctly... I would
> > write a daemon in C [...]
>
> Only in the unlikely case that both RNGD and SCDrand turn out unsuitable
> somehow. Writing and compiling a daemon is no less work than compiling
> an already written daemon.
>
> > The part about extracting the entropy from the source would use
> > OpenSSL or GnuPG. I believe you would compile and link to OpenSSL's
> > libcrypto.{a|so}, or GnuPG's libgcrypt.{a|so}.
>
> RNGD 6 actually uses OpenSC's libp11, where it calls the function
> PKCS11_generate_random, which in turn calls the PKCS #11 function
> C_GenerateRandom.

It sounds like you have it sorted out. Good luck with it.

Jeff



Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
On Tue, Mar 26, 2024 at 7:18 PM Pierre-Elliott Bécue  wrote:
> As it's a PVE kernel I guess you rely on Proxmox.
> *Theoretically*, Proxmox VE uses /etc/network/interfaces.new to apply

THIS! (OMG why didn't I see this! Thank you!!)

ohh thanks so much for your quick reply, my "machine" indeed is a
Proxmox-Container, and someone made a typo in the container settings,
so Proxmox configures the container accordingly.
For other files, like resolv.conf, Proxmox adds "# --- BEGIN PVE ---"
lines, but not in interfaces.

Thank you
Steffen



Re: seeding /dev/random from a security key

2024-03-26 Thread Björn Persson
Jeffrey Walton wrote:
> For what you want to do, and if I am parsing it correctly... I would
> write a daemon in C [...]

Only in the unlikely case that both RNGD and SCDrand turn out unsuitable
somehow. Writing and compiling a daemon is no less work than compiling
an already written daemon.

> The part about extracting the entropy from the source would use
> OpenSSL or GnuPG. I believe you would compile and link to OpenSSL's
> libcrypto.{a|so}, or GnuPG's libgcrypt.{a|so}.

RNGD 6 actually uses OpenSC's libp11, where it calls the function
PKCS11_generate_random, which in turn calls the PKCS #11 function
C_GenerateRandom.

Björn Persson


pgpOK5m0QGWIe.pgp
Description: OpenPGP digital signatur


Re: Reverse ftp proxy

2024-03-26 Thread Michel Verdier
Le 26 mars 2024 BERTRAND Joël a écrit :

>   Je peux donc configurer une IP virtuelle sur le port WAN du serveur
> Linux et tout balancer avec du NAT vers le serveur FTP. Mais, à ce
> moment, dans les logs du serveur FTP, je ne vois que l'adresse IP du
> serveur Linux. Or j'aurais besoin de logguer les vraies IP pour les
> transactions.
>   Comment faire ? Si toutefois il est possible de faire... Au pire, des
> logs côté serveur Linux pourraient m'aller, mais si ce serait compliqué
> à gérer.

Tu ne peux pas sinon le FTP répondra directement à l'IP d'origine. Or tu
veux que le trafic ressorte via ton proxy.

Au lieu du NAT, squid peut faire le travail avec en plus filtrage, cache
et logs. Et a priori il règle aussi la bascule ipv6/ipv4

>   Deuxième question : le serveur FTP est un OS un peu spécial qui ne
> comprend pas IPv6. Est-il possible de rediriger IPv6 sur du V4 de
> manière transparente ?

Tu utilises iptables ou nftables ?



Re: Reverse ftp proxy

2024-03-26 Thread BERTRAND Joël
NoSpam a écrit :
> Bonsoir
> 
> Le 26/03/2024 à 18:13, BERTRAND Joël a écrit :
>> [...]
>>
>> Deuxième question : le serveur FTP est un OS un peu spécial qui ne
>> comprend pas IPv6. Est-il possible de rediriger IPv6 sur du V4 de
>> manière transparente ?
> 
> Oui avec socat
> 
> # socat
> #
> iface ens1 inet static
>   address 172.16.30.4/32
> 
> nohup socat UDP-LISTEN:53,bind=172.16.30.4,reuseaddr,fork,su=nobody
> UDP6:[fd77:1234:5678:90ab::4]:53

Je note merci.

JB



signature.asc
Description: OpenPGP digital signature


Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Andy Smith
Hello,

On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote:
> I changed a gateway on a remote site using /etc/network/interfaces by
> changing gateway. However, at reboot some old gateway IP reappears. I
> really hate when some magic knows better than an explicitly set value.
> What happens here? How can I get rid of this? It is 100% reproducible.
> 
> I have no clue where the wrong 2.43 comes from.

Is this actually Debian?

I have vague memories of someone else asking something like this
before, and at the time I wasn't aware of any software packaged in
Debian that alters the user's /etc/network/interfaces file. I think
in that case it turned out to not actually be Debian.

I also think that there is some Debian packaging rule about one
package not altering the config file of another package unless by
co-operation between the maintainers, so if this does actually turn
out to be Debian there might be bugs to report.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Henning Follmann
On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote:
> Hi,
> 
> I changed a gateway on a remote site using /etc/network/interfaces by
> changing gateway. However, at reboot some old gateway IP reappears. I
> really hate when some magic knows better than an explicitly set value.
> What happens here? How can I get rid of this? It is 100% reproducible.
> 
> I have no clue where the wrong 2.43 comes from.
> 
> Any hints appreciated!
> 
> Steffen
> 
> 
[...] deleted that nonsense.

Hello, 
why are you making it so difficult to anyone trying to help you?
Nobody is interested in your way how you edit that file.

please show us two versions of that file (pre reboot and after)
Also tell us any programs you use to manage your network settings

[] NetworkManager
[] systemd-networkd
[] some magic own  scripts
[] ...

-H


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



Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Pierre-Elliott Bécue
As it's a PVE kernel I guess you rely on Proxmox.

*Theoretically*, Proxmox VE uses /etc/network/interfaces.new to apply
its config and potential manual changes made by an administrator
(changes that should be applied afterwards via ifreload).

I'd wonder whether this mechanism is not the cause if your troubles.
-- 
PEB

Steffen Dettmer  wrote on 26/03/2024 at 
18:33:42+0100:
> Hi,
>
> I changed a gateway on a remote site using /etc/network/interfaces by
> changing gateway. However, at reboot some old gateway IP reappears. I
> really hate when some magic knows better than an explicitly set value.
> What happens here? How can I get rid of this? It is 100% reproducible.
>
> I have no clue where the wrong 2.43 comes from.
>
> Any hints appreciated!
>
> Steffen
>
>
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 117 Mar 26 18:19 /etc/network/interfaces
> root@site4-nas:~# grep gateway /etc/network/interfaces
> gateway 192.168.2.43
> root@site4-nas:~# perl -npi -e 's/gateway 192.168.2.43/gateway
> 192.168.2.1/' /etc/network/interface
> s
> root@site4-nas:~# grep gateway /etc/network/interfaces
> gateway 192.168.2.1
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 116 Mar 26 18:21 /etc/network/interfaces
> root@site4-nas:~# sync
> root@site4-nas:~# date; sleep 1m; date
> Tue Mar 26 06:21:47 PM CET 2024
> Tue Mar 26 06:22:47 PM CET 2024
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 116 Mar 26 18:21 /etc/network/interfaces
>
> OK, so gateway is correct in 18:21 timestamped user config file. Lets reboot.
>
> root@site4-nas:~# reboot
> root@site4-nas:~# Connection to site4-nas closed by remote host.
> Connection to site4-nas closed.
> root@site4-pve:~# ssh site4-nas
> Linux site4-nas 6.5.11-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-8
> (2024-01-30T12:27Z) x86_64...
> Last login: Tue Mar 26 18:20:50 2024 from 192.168.2.28
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 117 Mar 26 18:23 /etc/network/interfaces
> root@site4-nas:~# grep gateway /etc/network/interfaces
> gateway 192.168.2.43
>
> root@site4-nas:~# find /etc /lib/systemd/ /var/lib/ -type f -print0 |
> xargs --null grep 192.168.2.43
> /etc/network/interfaces:gateway 192.168.2.43
>
> user config file has updated timestamp and contains bougous gateway.
>
> Help please!



signature.asc
Description: PGP signature


Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Greg Wooledge
On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote:
> I changed a gateway on a remote site using /etc/network/interfaces by
> changing gateway. However, at reboot some old gateway IP reappears.

So then the question is *which* of the many different subsystems is in
use to set the system's default gateway.  It might be coming from /e/n/i
or from NetworkManager or from systemd-networkd or others.

> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 117 Mar 26 18:19 /etc/network/interfaces
> root@site4-nas:~# grep gateway /etc/network/interfaces
> gateway 192.168.2.43

See, that's not useful.  That's not how this file is structured.  It's
NOT just a series of independent lines.

We would need to see the entire /e/n/i file to know which interface
that gateway definition is associated with, and so on.

A gateway definition on an interface that isn't managed by /e/n/i (ifupdown)
will do nothing at all.  For example, you might have an eno1 definition
which includes a gateway line, but which does *not* have an "auto eno1"
line to activate it -- in which case the interface might be managed by
NetworkManager instead, or something else.



Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Dustin Jenkins
On my Debian 12 system, the connman service was helping itself to interfaces, 
including my bridge interfaces that I wanted left alone.  Maybe try disabling 
or removing it?

sudo systemctl stop connman
sudo systemctl disable connman

Best

> On Mar 26, 2024, at 10:33, Steffen Dettmer  wrote:
> 
> Hi,
> 
> I changed a gateway on a remote site using /etc/network/interfaces by
> changing gateway. However, at reboot some old gateway IP reappears. I
> really hate when some magic knows better than an explicitly set value.
> What happens here? How can I get rid of this? It is 100% reproducible.
> 
> I have no clue where the wrong 2.43 comes from.
> 
> Any hints appreciated!
> 
> Steffen
> 
> 
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 117 Mar 26 18:19 /etc/network/interfaces
> root@site4-nas:~# grep gateway /etc/network/interfaces
>gateway 192.168.2.43
> root@site4-nas:~# perl -npi -e 's/gateway 192.168.2.43/gateway
> 192.168.2.1/' /etc/network/interface
>s
> root@site4-nas:~# grep gateway /etc/network/interfaces
>gateway 192.168.2.1
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 116 Mar 26 18:21 /etc/network/interfaces
> root@site4-nas:~# sync
> root@site4-nas:~# date; sleep 1m; date
> Tue Mar 26 06:21:47 PM CET 2024
> Tue Mar 26 06:22:47 PM CET 2024
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 116 Mar 26 18:21 /etc/network/interfaces
> 
> OK, so gateway is correct in 18:21 timestamped user config file. Lets reboot.
> 
> root@site4-nas:~# reboot
> root@site4-nas:~# Connection to site4-nas closed by remote host.
> Connection to site4-nas closed.
> root@site4-pve:~# ssh site4-nas
> Linux site4-nas 6.5.11-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-8
> (2024-01-30T12:27Z) x86_64...
> Last login: Tue Mar 26 18:20:50 2024 from 192.168.2.28
> root@site4-nas:~# ls -l /etc/network/interfaces
> -rw-r--r-- 1 root root 117 Mar 26 18:23 /etc/network/interfaces
> root@site4-nas:~# grep gateway /etc/network/interfaces
>gateway 192.168.2.43
> 
> root@site4-nas:~# find /etc /lib/systemd/ /var/lib/ -type f -print0 |
> xargs --null grep 192.168.2.43
> /etc/network/interfaces:gateway 192.168.2.43
> 
> user config file has updated timestamp and contains bougous gateway.
> 
> Help please!
> 



debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
Hi,

I changed a gateway on a remote site using /etc/network/interfaces by
changing gateway. However, at reboot some old gateway IP reappears. I
really hate when some magic knows better than an explicitly set value.
What happens here? How can I get rid of this? It is 100% reproducible.

I have no clue where the wrong 2.43 comes from.

Any hints appreciated!

Steffen


root@site4-nas:~# ls -l /etc/network/interfaces
-rw-r--r-- 1 root root 117 Mar 26 18:19 /etc/network/interfaces
root@site4-nas:~# grep gateway /etc/network/interfaces
gateway 192.168.2.43
root@site4-nas:~# perl -npi -e 's/gateway 192.168.2.43/gateway
192.168.2.1/' /etc/network/interface
s
root@site4-nas:~# grep gateway /etc/network/interfaces
gateway 192.168.2.1
root@site4-nas:~# ls -l /etc/network/interfaces
-rw-r--r-- 1 root root 116 Mar 26 18:21 /etc/network/interfaces
root@site4-nas:~# sync
root@site4-nas:~# date; sleep 1m; date
Tue Mar 26 06:21:47 PM CET 2024
Tue Mar 26 06:22:47 PM CET 2024
root@site4-nas:~# ls -l /etc/network/interfaces
-rw-r--r-- 1 root root 116 Mar 26 18:21 /etc/network/interfaces

OK, so gateway is correct in 18:21 timestamped user config file. Lets reboot.

root@site4-nas:~# reboot
root@site4-nas:~# Connection to site4-nas closed by remote host.
Connection to site4-nas closed.
root@site4-pve:~# ssh site4-nas
Linux site4-nas 6.5.11-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-8
(2024-01-30T12:27Z) x86_64...
Last login: Tue Mar 26 18:20:50 2024 from 192.168.2.28
root@site4-nas:~# ls -l /etc/network/interfaces
-rw-r--r-- 1 root root 117 Mar 26 18:23 /etc/network/interfaces
root@site4-nas:~# grep gateway /etc/network/interfaces
gateway 192.168.2.43

root@site4-nas:~# find /etc /lib/systemd/ /var/lib/ -type f -print0 |
xargs --null grep 192.168.2.43
/etc/network/interfaces:gateway 192.168.2.43

user config file has updated timestamp and contains bougous gateway.

Help please!



Re: Reverse ftp proxy

2024-03-26 Thread NoSpam

Bonsoir

Le 26/03/2024 à 18:13, BERTRAND Joël a écrit :

[...]

Deuxième question : le serveur FTP est un OS un peu spécial qui ne
comprend pas IPv6. Est-il possible de rediriger IPv6 sur du V4 de
manière transparente ?


Oui avec socat

# socat
#
iface ens1 inet static
  address 172.16.30.4/32

nohup socat UDP-LISTEN:53,bind=172.16.30.4,reuseaddr,fork,su=nobody 
UDP6:[fd77:1234:5678:90ab::4]:53


--

Daniel



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Jeffrey Walton
On Tue, Mar 26, 2024 at 1:17 PM Marco Moock  wrote:
>
> Am 26.03.2024 um 10:33:59 Uhr schrieb Bernard:
>
> > I have the two // in the displayed error messages. However the file
> > is where it should be, without double //
>
> The this seems to be a bug because if it searches for //file it will
> definitely not find it.
> Can you use strace to verify that?

Also see .

Jeff



Reverse ftp proxy

2024-03-26 Thread BERTRAND Joël
Bonjour à tous,

J'essaie d'installer sans succès un reverse ftp proxy et je me demande
si ce que je cherche à faire est possible.

Configuration :

IP publique --- serveur frontal Linux --- LAN --- serveur FTP anonyme

L'IP publique est propre au serveur FTP que je ne veux pas mettre en
frontal sur internet (je suis contraint d'y laisser un telnet ouvert).

Je peux donc configurer une IP virtuelle sur le port WAN du serveur
Linux et tout balancer avec du NAT vers le serveur FTP. Mais, à ce
moment, dans les logs du serveur FTP, je ne vois que l'adresse IP du
serveur Linux. Or j'aurais besoin de logguer les vraies IP pour les
transactions.

Comment faire ? Si toutefois il est possible de faire... Au pire, des
logs côté serveur Linux pourraient m'aller, mais si ce serait compliqué
à gérer.

Deuxième question : le serveur FTP est un OS un peu spécial qui ne
comprend pas IPv6. Est-il possible de rediriger IPv6 sur du V4 de
manière transparente ?

Bien cordialement,

JB



signature.asc
Description: OpenPGP digital signature


Re: seeding /dev/random from a security key

2024-03-26 Thread Jeffrey Walton
On Tue, Mar 26, 2024 at 11:52 AM Björn Persson  wrote:
>
> Jeffrey Walton wrote:
> > Out of morbid curiosity, what hardware are the servers using? RDRAND
> > and RDSEED have been available since about 2012, so it is mostly
> > ubiquitous nowadays.
>
> Do you mean I should add to the e-waste pile by throwing away working
> hardware and buy an entire new computer instead of buying a tiny dongle?

No, I was wondering about the server hardware. I would be surprised to
learn of something without Intel's SecureKey nowadays (assuming it is
x86{-64} based).

> > Be careful of rng-tools. It does not do a good job for non-mainstream
> > generators, like VIA's Padlock Security Engine. And rng-tools did not
> > support generators for architectures, like you would find on ARM,
> > aarch64 and PowerPC.
>
> I figure it can be used with devices it supports even if there are some
> other devices it doesn't support – but it looks like I'd have to build
> it from source myself.

Yeah, I've had to do that in the past. You will also (probably) need
to write a systemd unit file or two.

> > OpenSSL and GnuPG should be
> > able to extract the entropy from the card, and then use it to seed
> > /dev/{u}random.
>
> This job requires a daemon. OpenSSL is a library. Or do you mean its
> command-line tool? So how would I tell that to fetch random data
> through PKCS #11?
>
> GnuPG at least has a daemon called scdaemon. Is that what you mean? So
> how would I tell that to fetch random data through PKCS #11 and write
> to /dev/random?

For what you want to do, and if I am parsing it correctly... I would
write a daemon in C to collect the entropy from the source, then
extract the entropy from the bytes, and then insert the entropy into
the system's random number generator. For entropy extraction, take a
look at HKDF and Krawczyk's paper. Krawczyk does a good job of cleanly
separating entropy extraction from later stage key expansion.

The part about extracting the entropy from the source would use
OpenSSL or GnuPG. I believe you would compile and link to OpenSSL's
libcrypto.{a|so}, or GnuPG's libgcrypt.{a|so}. Since this is a daemon
and not a driver, I believe you can use the shared objects.

I eat my own dog food. I've done similar in the past with both an
EntropyKey and custom on-board generator for a MIPS Creator CI-20 with
the jz4780-rng. For the EntropyKey, I did not even bother decrypting
the stream. I stuffed the encrypted stream right into /dev/random,
because the amount of entropy does not change regardless of the
formatting (encrypted vs unencrypted).

And you may find this interesting... Debian suffers entropy depletion
on /dev/random and can hang components that use it, including
/dev/urandom. It is easy for a userland process to do. All you need is
a stock Debian system _without_ an entropy gatherer like Haveged. Have
your program perform a big read on /dev/random with O_NONBLOCK. The
kernel will return every last bit of entropy it has, and then start
blocking processes. The only way to recover in reasonable time is to
run a daemon like Haveged. I reported it to the devs several years
ago, but there was no interest in fixing it.

Jeff



Re: Ré-installation Debian sur disque chiffré

2024-03-26 Thread Gabriel Moreau

Salut,

Je t'avoue que je n'ai jamais tenté cette approche mais je vais le faire 
dès que possible.

Merci pour cette solution.


Attention que les anciens chiffrements avec LUKS n'utilisait pas pour la 
fonction de dérivation argon2i mais PBKDF2 moins sur. Passer de l'un à 
l'autre est faisable. Cela fait une manip à ne pas oublier... ou a 
minima à vérifier.


https://mjg59.dreamwidth.org/66429.html

A+

gaby

En tant que chargé de la sécurité informatique, je suis parfois amené à
envoyer des courriels en dehors des heures de bureau. Ceux-ci
n’appellent pas de réponses immédiates (la déconnexion est un droit).
--
Gabriel Moreau - IR CNRShttp://www.legi.grenoble-inp.fr
LEGI (UMR 5519) Laboratoire des Ecoulements Geophysiques et Industriels
1209-12011 rue de la piscine, 38400 Saint-Martin-d’Hères, France
mailto:gabriel.mor...@univ-grenoble-alpes.fr  tel:+33.7.82.56.99.11



OpenPGP_0x64D87ABA0B33AA31.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


OT: Lista de correo sobre HARDWARE

2024-03-26 Thread Eduardo Jorge Gil Michelena
Estimada gente:

Disculpen el OT...
¿Conocen alguna lista de correos o foro web sobre Hardware?

Antes había muchos pero ahora... parece que han desaparecido o por lo menos los 
que yo conocía.
Y en la WEB... la información que suelo buscar seguramente debe estar pero... 
con tanta página y sitio con información pobre y claramente comercial, es 
difícil encontrar algo técnico que seguramente debe estar... como lo puede 
estar una aguja en un pajar.

Saludos.



Re: trying to parse lines from an awkwardly formatted HAR file ...

2024-03-26 Thread David Wright
On Sat 23 Mar 2024 at 11:55:04 (-0400), Greg Wooledge wrote:
> On Sat, Mar 23, 2024 at 09:54:05AM -0500, Albretch Mueller wrote:
> >  a) using a chromium-derived browser, which can be used to dump the
> > HAR file log of the network back and forth, go, e. g.:
> >   https://en.wikipedia.org/wiki/Anaxagoras
> >  b) click on the link that says: "Works by or about Anaxagoras" (at
> > Internet Archive)
> >  c) on the archive.org page, select "texts" and "always available"
> > (meaning text which is public domain, he died 25 centuries ago)
> >  d) then to produce the HAR file, go:
> >  d.1) More Tools > Developer Tools;
> >  d.2) click on "Network" tab;
> >  d.3) Filter: GET
> >  d.4) check: "Preserve Log"
> >  d.5) scroll down the page all the way to make the client-server back
> > and forth cascade
> >  d.6) save the network log as HAR file to then open and eyeball it!
> 
> This is incomprehensible to me.  What the hell is d.5 supposed to be?
> Even if I close the Shift-Ctrl-I window, and Ctrl-R to reload the page,

Some web pages don't load completely unless you scroll down them,
whereupon more of the page is loaded. Even if you press End, you may
not get the whole page loaded. One method of completion is to
repeatedly press End and PageUp until no more content appears
(or you observe some sort of bottom-of-page indication).

You'll recognise this if you shop with Kroger™/Dillons™/Fry's™
( in the US).

Ctrl-R is of no help: it can merely reload as much of the page as has
been visited so far. So there is some method in their madness (for
this one step—I don't know about the rest).

> and then reopen Shift-Ctrl-I, and click the down-arrow-in-a-dish icon
> whose tooltip says "Export HAR..." all I get in the resulting file
> is this:

Cheers,
David.



Re: testing new sdm drive

2024-03-26 Thread David Wright
On Tue 26 Mar 2024 at 04:38:52 (-0400), gene heskett wrote:
> On 2/9/24 20:36, Alexander V. Makartsev wrote:
[ … ]
> > It's not possible for me to know what went wrong.
> > Have you created "reftestfile" inside "/mnt/disktest" directory?
> > How many "testfile*" files, if any, were created on the filesystem
> > mounted at "/mnt/disktest"?
> > Was there anything relevant in the syslog about "sdm" drive after the test?
> > If you'd followed my instructions step by step, you'd end up
> > inside "/mnt/disktest" directory and for the last step all you had
> > to do is copy and paste that one-liner 'for' loop into the command
> > line.
> > It's a long line and it really meant to be copied and pasted not
> > typed by hand, and also to give you the idea of the process, so
> > you could adjust it if needed.
> > I've tested it again on my computer and it worked as expected,
> > synchronously created "testfiles" inside current directory and
> > calculated their hashes one by one.
> > 
> And by now, I've forgotten what it was that we were trying to
> accomplish.  One of the hazards of my next b-day being the 90'th.
> Sorry. Or t-bird is messing  with my mind by reserectiing older messages.

You seem to have mislaid your first reply to Alexander, at:
  https://lists.debian.org/debian-user/2024/02/msg00422.html
which appears to show that the drive was a dud 64GB disk, and
not 2TB in capacity.

Cheers,
David.



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread David Wright
On Tue 26 Mar 2024 at 09:43:37 (-0400), Cindy Sue Causey wrote:
> On Tue, Mar 26, 2024 at 6:04 AM Bernard  wrote:
[ … ]
> > $ php -m | grep mysqli
> >
> > "If the MySQLi extension is enabled, we’ll see mysqli in the output. 
> > Otherwise, the output will be empty."
> >
> > php -m grep mysqli
> >
> > PHP Warning:  PHP Startup: Unable to load dynamic library 
> > '//usr/lib/php/20190902/mysqli.so' (tried: //usr/lib/php/20190902/mysqli.so 
> > (//usr/lib/php/20190902/mysqli.so: undefined symbol: mysqlnd_global_stats), 
> > /usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so 
> > (/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open 
> > shared object file: No such file or directory)) in Unknown on line 0
> > PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' (tried: 
> > /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: cannot open 
> > shared object file: No such file or directory), 
> > /usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: undefined 
> > symbol: mysqlnd_global_stats)) in Unknown on line 0
> > mysqli
> 
> Just observing out loud: What's generating that double slash, i.e. "//usr,"
> in the start of the message? That seems like a possible show stopper.

At a glance, the first warning looks like it might be the
unsophisticated concatenation and substitution of paths,
without regard for either leading and trailing delimiters
or filename extensions:

  null plus /usr/lib/php/20190902/mysqli.so

  /usr/lib/php/20190902/ plus /usr/lib/php/20190902/mysqli.so plus .so
  ---
substitution ↗

The second warning looks more significant, but mysqli is outside my
area of knowledge. Nonetheless, "mysqli" was seen in the last line,
though without any context: grep might be helped along by -A and -B.

Cheers,
David.



Re: seeding /dev/random from a security key

2024-03-26 Thread Björn Persson
Jeffrey Walton wrote:
> Out of morbid curiosity, what hardware are the servers using? RDRAND
> and RDSEED have been available since about 2012, so it is mostly
> ubiquitous nowadays.

Do you mean I should add to the e-waste pile by throwing away working
hardware and buy an entire new computer instead of buying a tiny dongle?

> Be careful of rng-tools. It does not do a good job for non-mainstream
> generators, like VIA's Padlock Security Engine. And rng-tools did not
> support generators for architectures, like you would find on ARM,
> aarch64 and PowerPC.

I figure it can be used with devices it supports even if there are some
other devices it doesn't support – but it looks like I'd have to build
it from source myself.

> OpenSSL and GnuPG should be
> able to extract the entropy from the card, and then use it to seed
> /dev/{u}random.

This job requires a daemon. OpenSSL is a library. Or do you mean its
command-line tool? So how would I tell that to fetch random data
through PKCS #11?

GnuPG at least has a daemon called scdaemon. Is that what you mean? So
how would I tell that to fetch random data through PKCS #11 and write
to /dev/random?

Björn Persson


pgpia22PvZ5bD.pgp
Description: OpenPGP digital signatur


Re: Alternative à Dropbox

2024-03-26 Thread Sébastien NOBILI

Bonjour,

Le 2024-03-25 18:12, Alex PADOLY a écrit :

Existe-t-il une alternative à Dropbox qui permettrait aussi d'avoir
accès à ses documents sur une tablette.


Seafile n'a pas encore été cité. Il y a une appli Android (qui ne fait 
pas

de synchro locale, juste de la navigation).

Sébastien



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Marco Moock
Am 26.03.2024 um 10:33:59 Uhr schrieb Bernard:

> I have the two // in the displayed error messages. However the file
> is where it should be, without double //

The this seems to be a bug because if it searches for //file it will
definitely not find it.
Can you use strace to verify that?

-- 
Gruß
Marco

Send unsolicited bulk mail to 1711445639mu...@cartoonies.org



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Cindy Sue Causey
On Tue, Mar 26, 2024 at 6:04 AM Bernard  wrote:
>
> I have progressed a little in my trials.
>
> mysqli.so still shows the previously described problems, and I thought that 
> this was responsible of the fact that mysqli functions were apparently 
> discarded in the test programs I wrote.
>
> I discovered that this was due to errors I made in the php program. The 
> errors in the script being corrected, mysqli_connect, mysqli_select_db, 
> mysqli_query... now do operate... despite the errors concerning mysqli.so 
> that I discovered when running the tests which are proposed by 'baeldung.com'
>
> "
>
> $ php -m | grep mysqli
>
> "If the MySQLi extension is enabled, we’ll see mysqli in the output. 
> Otherwise, the output will be empty."
>
> php -m grep mysqli
>
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '//usr/lib/php/20190902/mysqli.so' (tried: //usr/lib/php/20190902/mysqli.so 
> (//usr/lib/php/20190902/mysqli.so: undefined symbol: mysqlnd_global_stats), 
> /usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so 
> (/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open 
> shared object file: No such file or directory)) in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' (tried: 
> /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: cannot open 
> shared object file: No such file or directory), 
> /usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: undefined 
> symbol: mysqlnd_global_stats)) in Unknown on line 0
> mysqli

Just observing out loud: What's generating that double slash, i.e. "//usr,"
in the start of the message? That seems like a possible show stopper.

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *



Re: Alternative à Dropbox

2024-03-26 Thread Belaïd
Pour moi l'interface Shadow Drive est trop rudimentaire pour le moment et
depuis le changement de nom !

Le mar. 26 mars 2024 à 10:32, Gaëtan Perrier  a
écrit :

> Shadow Drive d'OVH. Il offre 20 G gratuitement.
>
>
> Le 26 mars 2024 09:05:03 GMT+01:00, bernardo  a
> écrit :
>
>> zaclys.com, 10€ par an, ils sont supers !
>>
>> Le 25/03/2024 à 18:27, Tulum a écrit :
>>
>>> Le lundi 25 mars 2024, 18:12:59 CET Alex PADOLY a écrit :
>>>
 Bonsoir à tous,

 Existe-t-il une alternative à Dropbox qui permettrait aussi d'avoir
 accès à ses documents sur une tablette.

 Je n'aime pas le programme propriétaire qu'installe Dropbox à
 l'installation ainsi que sa politique commerciale.

 Merci pour vos conseils.

>>> Nextcloud, tu choisis ton serveur
>>>
>>>
>>>
>> --
> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma
> brièveté.
>


Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard

I have progressed a little in my trials.

mysqli.so still shows the previously described problems, and I thought 
that this was responsible of the fact that mysqli functions were 
apparently discarded in the test programs I wrote.


I discovered that this was due to errors I made in the php program. The 
errors in the script being corrected, mysqli_connect, mysqli_select_db, 
mysqli_query... now do operate... despite the errors concerning 
mysqli.so that I discovered when running the tests which are proposed by 
'baeldung.com'


"

|$ php -m | grep mysqli|

"If the MySQLi extension is enabled, we’ll see /mysqli/ in the output. 
Otherwise, the output will be empty."


php -m grep mysqli

PHP Warning:  PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' (tried: 
//usr/lib/php/20190902/mysqli.so (//usr/lib/php/20190902/mysqli.so: 
undefined symbol: mysqlnd_global_stats), 
/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so 
(/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open 
shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' 
(tried: /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: 
cannot open shared object file: No such file or directory), 
/usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: 
undefined symbol: mysqlnd_global_stats)) in Unknown on line 0

mysqli

"

On 24/03/2024 19:51, Bernard wrote:


Hi to Everyone !

*PHP Warning: PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' * *However, the file is there... 
not human readable as expected* *and mysqli_connect doesn't operate.*


*Thanks in advance for your help*
*Bernard*


Re: Alternative à Dropbox

2024-03-26 Thread Jean Bernon
Nextcloud est un système de services en ligne (messsagerie, fichiers, 
agenda...) alternatif aux clouds des Gafam. C'est proposé par différentes 
sociétés de service. Voir https://www.chatons.org/
zaclys.com est un chaton. J'en utilise un autre nuage.liiib.re. Je ne connais 
pas shadow drive.
Pour les serveurs Nextcloud, une fois l'abonnement réglé, tu installes le 
client Nextcloud sur tous les appareils dont tu veux synchroniser une partie 
des fichiers avec ton espace perso chez l'hébergeur. Le client Nextcloud 
s'installe sur linux (paquet Debian standard), sur windows, sur android, sur 
les OS apple...
C'est mieux que Dropbox.

- Mail original - 

> De: "bernardo" 
> À: debian-user-french@lists.debian.org
> Envoyé: Mardi 26 Mars 2024 09:05:03
> Objet: Re: Alternative à Dropbox

> zaclys.com, 10€ par an, ils sont supers !

> Le 25/03/2024 à 18:27, Tulum a écrit :
> > Le lundi 25 mars 2024, 18:12:59 CET Alex PADOLY a écrit :
> >> Bonsoir à tous,
> >>
> >> Existe-t-il une alternative à Dropbox qui permettrait aussi
> >> d'avoir
> >> accès à ses documents sur une tablette.
> >>
> >> Je n'aime pas le programme propriétaire qu'installe Dropbox à
> >> l'installation ainsi que sa politique commerciale.
> >>
> >> Merci pour vos conseils.
> > Nextcloud, tu choisis ton serveur
> >
> >



Re: Alternative à Dropbox

2024-03-26 Thread Olivier Humbert

Salut,

Si tu cherches un service que tu n'as pas besoin d'héberger toi même, 
voici plusieurs possibilités, qui plus est autour des valeurs du libre 
et des communs numériques :

https://www.chatons.org/search/by-service?service_type_target_id=147

a+
Olivier

Le 2024-03-26 10:07, Gaëtan Perrier a écrit :

Shadow Drive d'OVH. Il offre 20 G gratuitement.

Le 26 mars 2024 09:05:03 GMT+01:00, bernardo  a
écrit :


zaclys.com, 10€ par an, ils sont supers !

Le 25/03/2024 à 18:27, Tulum a écrit :

Le lundi 25 mars 2024, 18:12:59 CET Alex PADOLY a écrit :

Bonsoir à tous,

Existe-t-il une alternative à Dropbox qui permettrait aussi d'avoir
accès à ses documents sur une tablette.

Je n'aime pas le programme propriétaire qu'installe Dropbox à
l'installation ainsi que sa politique commerciale.

Merci pour vos conseils.

Nextcloud, tu choisis ton serveur


--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
excuser ma brièveté.




Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard

ls -Al /usr/lib/php/20190902
total 7732
-rw-r--r-- 1 root root   34920  9 juin   2023 calendar.so
-rw-r--r-- 1 root root   14440  9 juin   2023 ctype.so
-rw-r--r-- 1 root root   92264  9 juin   2023 exif.so
-rw-r--r-- 1 root root  161896  9 juin   2023 ffi.so
-rw-r--r-- 1 root root 5744752  9 juin   2023 fileinfo.so
-rw-r--r-- 1 root root   67688  9 juin   2023 ftp.so
-rw-r--r-- 1 root root   14440  9 juin   2023 gettext.so
-rw-r--r-- 1 root root   51304  9 juin   2023 iconv.so
-rw-r--r-- 1 root root   47208  9 juin   2023 json.so
-rw-r--r-- 1 root root  145512  9 juin   2023 mysqli.so
-rw-r--r-- 1 root root  255832  9 juin   2023 mysqlnd.so
-rw-r--r-- 1 root root  551440  9 juin   2023 opcache.so
-rw-r--r-- 1 root root   34920  9 juin   2023 pdo_mysql.so
-rw-r--r-- 1 root root  112744  9 juin   2023 pdo.so
-rw-r--r-- 1 root root  280680  9 juin   2023 phar.so
-rw-r--r-- 1 root root   39016  9 juin   2023 posix.so
-rw-r--r-- 1 root root   34920  9 juin   2023 readline.so
-rw-r--r-- 1 root root   14440  9 juin   2023 shmop.so
-rw-r--r-- 1 root root   96360  9 juin   2023 sockets.so
-rw-r--r-- 1 root root   22632  9 juin   2023 sysvmsg.so
-rw-r--r-- 1 root root   14440  9 juin   2023 sysvsem.so
-rw-r--r-- 1 root root   14440  9 juin   2023 sysvshm.so
-rw-r--r-- 1 root root   26728  9 juin   2023 tokenizer.so

On 24/03/2024 23:04, Jeffrey Walton wrote:

ls -Al
/usr/lib/php/20190902

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard



On 24/03/2024 20:02, Marco Moock wrote:

Am Sun, 24 Mar 2024 19:51:05 +0100
schrieb Bernard :


'//usr/lib/php/20190902/mysqli.so'

Is that really the path in the message?
The 2 // must not be there.


I have the two // in the displayed error messages. However the file is 
where it should be, without double //





Re: Installation minimaliste

2024-03-26 Thread François LE GAD

Le 25/03/2024 à 13:10, Michel Verdier a écrit :

Le 25 mars 2024 François LE GAD a écrit :





Encore plus léger : un simple gestionnaire de fenêtres.


Tout à fait et c'est d'ailleurs ce que j'utilise. Mais il n'y a pas ce
choix dans l'installateur je crois ? J'utilise l'install serveur ssh en
général pour ça.

Il y a plusieurs années, sur un Pentium, j'avais fait d'abord une 
installation de base (sans serveur graphique), puis Xorg, un 
gestionnaire de fenêtres et les programmes dont j'avais besoin.


--
François




Re: Alternative à Dropbox

2024-03-26 Thread Gaëtan Perrier
Shadow Drive d'OVH. Il offre 20 G gratuitement.

Le 26 mars 2024 09:05:03 GMT+01:00, bernardo  a écrit :
>zaclys.com, 10€ par an, ils sont supers !
>
>Le 25/03/2024 à 18:27, Tulum a écrit :
>> Le lundi 25 mars 2024, 18:12:59 CET Alex PADOLY a écrit :
>>> Bonsoir à tous,
>>> 
>>> Existe-t-il une alternative à Dropbox qui permettrait aussi d'avoir
>>> accès à ses documents sur une tablette.
>>> 
>>> Je n'aime pas le programme propriétaire qu'installe Dropbox à
>>> l'installation ainsi que sa politique commerciale.
>>> 
>>> Merci pour vos conseils.
>> Nextcloud, tu choisis ton serveur
>> 
>> 
>

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma 
brièveté.

Re: testing new sdm drive

2024-03-26 Thread gene heskett

On 2/9/24 20:36, Alexander V. Makartsev wrote:

On 10.02.2024 03:34, gene heskett wrote:

On 2/8/24 07:22, Alexander V. Makartsev wrote:

This is how I would test it.
First create a new GPT partition table and a new 2TB partition:
 $ sudo gdisk /dev/sdX check

/!\  Make double sure you've selected the right device by using 
"lsblk" and "blkid" utilities.  /!\
/!\    It could change from 'sdm' to another 
name after reboot.      /!\


At gdisk prompt press "o" to create a new GPT table, next press "n" 
to create a new partition, accept default values by pressing "enter".
To verify setup press "p", to accept configuration and write it to 
device press "w". check


Next format partition to ext4 filesystem:
 $ sudo mkfs.ext4 -m 0 -e remount-ro /dev/sdX1 check

Next mount the filesystem:
 $ sudo mkdir /mnt/disktest check
 $ sudo mount /dev/sdX1 /mnt/disktest check

Next create reference 1GB file filled with dummy data:
 $ cd /mnt/disktest check
 $ sudo fallocate -l 1G ./reftestfile check
 $ sudo badblocks -w -s -t random ./reftestfile check

Now we can use script to create 1830 1GB files and check their checksum:
 $ for i in $(seq 1830); do sudo dd if="./reftestfile" 
of="./testfile${i}" status=none; md5sum -b "./testfile${i}" ;done


This procedure will take a very long time to complete. "md5sum" will 
output the checksum for each file and they should be equal to 
checksum of "reftestfile":

 $ md5sum -b ./reftestfile

Got a problem Alexander:
I had to put the script someplace else. So I put it in my private 
/home/gene/bin as disktest.txt with nano. couldn't find it.

But:
gene@coyote:/mnt/disktest$ sudo /home/gene/bin/disktest.txt
sudo: /home/gene/bin/disktest.txt: command not found
If you put that 'for' loop one-liner inside, I think you forgot to make 
"/home/gene/bin/disktest.txt" executable:

     $ chmod +x /home/gene/bin/disktest.txt


And:
gene@coyote:/mnt/disktest$ ls /home/gene/bin/disktest.txt
/home/gene/bin/disktest.txt
So I think I found the problem with my script, ancient eyeballs can't 
tell the diff between () and{} so I fixed that but it still won't run 
or be killed. I don't care how big you've made the t-bird font, by the 
time you've read 2 more msgs, its back to about 6 point text.  Grrr.


So I fired up a root session of htop, found about 8 copies of dd 
showing and started killing them but cannot kill the last 2 in the D 
state.


And cannot find .disktest.txt running in a root htop and the2 copy's 
of dd can't be killall'd.



It's not possible for me to know what went wrong.
Have you created "reftestfile" inside "/mnt/disktest" directory?
How many "testfile*" files, if any, were created on the filesystem 
mounted at "/mnt/disktest"?

Was there anything relevant in the syslog about "sdm" drive after the test?
If you'd followed my instructions step by step, you'd end up inside 
"/mnt/disktest" directory and for the last step all you had to do is 
copy and paste that one-liner 'for' loop into the command line.
It's a long line and it really meant to be copied and pasted not typed 
by hand, and also to give you the idea of the process, so you could 
adjust it if needed.
I've tested it again on my computer and it worked as expected, 
synchronously created "testfiles" inside current directory and 
calculated their hashes one by one.


And by now, I've forgotten what it was that we were trying to 
accomplish.  One of the hazards of my next b-day being the 90'th.

Sorry. Or t-bird is messing  with my mind by reserectiing older messages.


--
With kindest regards, Alexander.

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


Cheers, Gene Heskett, CET.
--
"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



Re: Alternative à Dropbox

2024-03-26 Thread bernardo

zaclys.com, 10€ par an, ils sont supers !

Le 25/03/2024 à 18:27, Tulum a écrit :

Le lundi 25 mars 2024, 18:12:59 CET Alex PADOLY a écrit :

Bonsoir à tous,

Existe-t-il une alternative à Dropbox qui permettrait aussi d'avoir
accès à ses documents sur une tablette.

Je n'aime pas le programme propriétaire qu'installe Dropbox à
l'installation ainsi que sa politique commerciale.

Merci pour vos conseils.

Nextcloud, tu choisis ton serveur






Re: Debian 12.5.0 amd64 and OpenZFS bug #15526

2024-03-26 Thread Gareth Evans
On Mon 25/03/2024 at 23:40, David Christensen  wrote:
> On 3/25/24 15:05, Gareth Evans wrote:
>> On Fri 22/03/2024 at 21:01, Gareth Evans  wrote:
>>> As anyone interested can see from the ref to #15933 in the below, there 
>>> seems to have been considerable effort in getting to grips with this bug 
>>> (actually multiple bugs), and it looks like a fix may be forthcoming, 
>>> though not sure at the time of writing if there may be some further 
>>> polishing first
>>>
>>> https://github.com/openzfs/zfs/pull/16019
>> 
>> https://github.com/openzfs/zfs/issues/15933
>> 
>> is now closed as completed with fix
>> 
>> https://github.com/openzfs/zfs/commit/102b468b5e190973fbaee6fe682727eb33079811
>> 
>> which for the moment necessarily adds synchronous writes.
>> 
>> FYI.
>> Gareth
>
>
> Thank you for keeping an eye on this.
>
>
> Looking at the github commit, the C code makes me worry -- it does not 
> appear to use traditional C/C++ thread-safe programming techniques such 
> as I learned in CS and used when I did systems programming (e.g. guard 
> functions, critical sections, locks, semaphores, etc.).  

> Do I need to 
> look at more enclosing code to see such, are those techniques missing, 
> are there some newer techniques I do not understand, or something else?

I don't know, I will have a look too, though my C[++] is almost as rusty as my 
Rust :)

G