Re: bookworm and network connections

2023-09-01 Thread D. R. Evans

David Wright wrote on 9/1/23 19:40:


I don't see that the OP is doing anything complicated that requires
rc.local to run at all. They just need to distinguish between the two


Correct. I was simply trying to workaround the problem by putting commands 
into rc.local that are known to work when I type them manually.


I wish I had never mentioned rc.local. It seems to have taken over the thread, 
whereas it's not the problem that I'm trying to fix at all :-(


Regarding the whole "Network Manager versus old-style" thing, I would gladly 
have done it all old style, except that when I first installed debian on the 
system, it went the Network Manager route. And because that all worked until 
today's upgrade (which was, I think, the third upgrade upgrade of debian 
stable on the machine; so it worked correctly for a lustrum or so), I didn't 
pay much attention to it apart from being mildly annoyed that it looked a lot 
more complicated than old-style network management.


The real problem remains, per the original post, that Network Manager isn't 
configuring the interfaces properly and seems to be sort-of setting one 
interface to be the same as the other, with the result that neither of them 
work. I'm going to try switching to old-style when I feel confident that I 
have enough high-quality time to make the switch, and I expect that to work.


It would be nice to really fix the Network Manager misconfiguration; but it 
seems that the expertise here is all with old-style. Which is fine. I'm happy 
to go back to old-style.


I probably need to file some sort of bug report against the upgrade, but I'd 
like to get a better feel for how the misconfiguration is happening before I 
do that.


  Doc

--
Web:  http://enginehousebooks.com/drevans



Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Max Nikulin

On 02/09/2023 04:15, Mario Marietto wrote:
I've got a crazy idea : I see that Ubuntu has a 5.4 kernel source and 
header package. Is there a method or tool to convert these packages to 
debian packages so that I can use them on Debian ?


Kernel image from one project and headers+sources from another one may 
be a call to trouble due to different config and set of patches.


I suspect that kernel image+modules packages from Ubuntu would not work 
for you.


Having config for your current kernel in /boot you may try to rebuild 
the whole suite from sources (if you can get applied patches).




Re: Sleep: out of control

2023-09-01 Thread Max Nikulin

On 01/09/2023 18:08, Tom Browder wrote:
When switching the KVM between the Win and Deb hosts, I could see the 
mouse was not getting power (no sensor light) nor was the keyboard or 
monitor screen. So that is probably why I could not wake up the Debian 
PC by stirring the mouse or hitting a key.


My conclusion: I need to find out which sleep modes turn off power to 
the external input devices.


It might depend on USB hubs on motherboards (wiring and whether 
particular chips retain power and support switching off power on 
particular ports) and on wake on USB implementation and settings in 
firmware.


An example: an external keyboard is connected through a USB hub built-in 
into a monitor. The laptop may be waked up by pressing any key on the 
external keyboard. However if monitor is powered off (using its power 
button or the switch on a AC power line filter) then wake on USB does 
not work any more after the monitor switched on again.


Once I tried if I can power off laptop USB ports to avoid battery drain 
in sleep state by an external USB hub. I was unable to do it for a 
particular laptop. The uhubctl project has some list of supported hardware.




Re: bookworm and network connections

2023-09-01 Thread Greg Wooledge
On Fri, Sep 01, 2023 at 08:40:43PM -0500, David Wright wrote:
> I know you have a low opinion of allow-hotplug, but I can't see that
> auto/allow-auto is necessarily better for the naive user that doesn't
> install a DE for whatever reason.
> 
> AIUI auto gives you a one-shot attempt to start the network at boot
> time, and if that fails for any reason (eg USB not yet plugged in/
> not detected/hardblocked on/etc), you get a long timeout before the
> login prompt, and may have to reboot to get it to attempt again.
> 
> OTOH allow-hotplug gets you to a login prompt as normal, without the
> network being up, and then rectifying the problem makes ifupdown/udev
> automatically have another go.

It depends on the hardware, and how the system is going to be used.
A built-in ethernet interface SHOULD NOT be configured as "allow-hotplug".
It should be "auto".  I'd argue that the same applies to a PCI card or
other non-built-in but internal device.  If you have to take the machine
apart to remove the device, it's "auto".

allow-hotplug is intended for things like USB ethernet interfaces, as
you mention.  They're literally hot-pluggable, and may not be present
when the system is booted.  If you're dealing with one of those, then
by all means, use allow-hotplug for it.  That's what it's for.

My gripe is that the installer has (traditionally?) used allow-hotplug for
ALL ethernet interfaces, including the built-in interfaces on a server.
This causes massive problems with the ordering of service initializations
at boot.  It took me a *long* time and a lot of digging to figure out why
things were breaking, so I try to pass that knowledge along for others.



Re: bookworm and network connections

2023-09-01 Thread David Wright
On Fri 01 Sep 2023 at 17:38:48 (-0400), Greg Wooledge wrote:
> On Fri, Sep 01, 2023 at 03:18:47PM -0600, D. R. Evans wrote:
> > [[ I speculate wildly that systemd or something doesn't complete configuring
> > the network until after rc.local has finished processing (I know that
> > rc.local executes late in the boot process, but I don't think that that
> > means that everything else has *finished* executing when rc.local runs). I
> > may easily be wrong, but really I don't think I care. ]]
> 
> On Debian, there's an override file:
> 
> unicorn:~$ cat /usr/lib/systemd/system/rc-local.service.d/debian.conf 
> [Unit]
> # not specified by LSB, but has been behaving that way in Debian under SysV
> # init and upstart
> After=network-online.target
> 
> # Often contains status messages which users expect to see on the console
> # during boot
> [Service]
> StandardOutput=journal+console
> StandardError=journal+console
> 
> 
> The "After=network-online.target" line is supposed to ensure that
> rc-local.service doesn't run until the network configuration has been
> completed.  However, the definition of "completed" here can be murky.
> In particular, when using /etc/network/interfaces, only interfaces that
> are marked as "auto" need to be up, to satisfy this criterion.  An
> interface that's only "allow-hotplug" isn't required to be up.
> 
> Also, since the issue here involves network configuration, it would
> seem counterintuitive to expect it to be done in a service that runs
> *after* the network is supposed to be up.

I don't see that the OP is doing anything complicated that requires
rc.local to run at all. They just need to distinguish between the two
interfaces, and then configure them in a conventional manner. A .link
file and the ifupdown package should be able to cope with that.
(I haven't used the buster-onwards interface matching/renaming
facility myself, which could replace using the .link file.)

On Fri 01 Sep 2023 at 18:33:51 (-0400), Greg Wooledge wrote:
> On Fri, Sep 01, 2023 at 04:16:46PM -0600, D. R. Evans wrote:
> > Greg Wooledge wrote on 9/1/23 15:38:
> > 
> > > In particular, when using /etc/network/interfaces, only interfaces that
> > > are marked as "auto" need to be up, to satisfy this criterion.  An
> > 
> > I don't think that debian has used used /etc/network/interfaces for a while,
> > at least not by default. Certainly there's nothing useful there on the
> > machine that I just upgraded and whose networking is failing to configure
> > itself correctly.
> > 
> > Network Manager -- I think -- uses some completely different mechanism for
> > managing networking (although I have no idea what that mechanism is.)
> 
> Debian *absolutely* uses /etc/network/interfaces.  By default, in a
> Standard installation.  But as you noted, it's optional.  Debian *also*
> allows the use of Network Manager, systemd-networkd, and probably several
> other systems for configuring one's network(s).
> 
> I haven't installed Debian 12 yet (upgraded to it, but haven't installed
> it), but I did a Debian 11 install yesterday.  And I can assure you,
> that system uses /etc/network/interfaces just like every other Debian
> system I've ever run.  I used a Standard install, then booted it to
> confirm that all the necessary firmware was present, and then installed
> KDE (among other things).  I don't know whether N-M is installed on
> that system -- I didn't check -- but it doesn't matter, because the
> machine's sole ethernet interface is configured in /e/n/i and therefore
> N-M would skip it.

Installing bookworm (standard packages, no DE) installed and
configured ifupdown as per usual here.

> Returning to the previous topic, I have no idea how
> After=network-online.target interacts with N-M.  I have experience with
> network-online.target vs. /e/n/i and its absurd "allow-hotplug" default
> setting, but I don't use N-M so I don't know how that works.

I know you have a low opinion of allow-hotplug, but I can't see that
auto/allow-auto is necessarily better for the naive user that doesn't
install a DE for whatever reason.

AIUI auto gives you a one-shot attempt to start the network at boot
time, and if that fails for any reason (eg USB not yet plugged in/
not detected/hardblocked on/etc), you get a long timeout before the
login prompt, and may have to reboot to get it to attempt again.

OTOH allow-hotplug gets you to a login prompt as normal, without the
network being up, and then rectifying the problem makes ifupdown/udev
automatically have another go.

Cheers,
David.



Re: bookworm and network connections

2023-09-01 Thread D. R. Evans

Michel Verdier wrote on 9/1/23 15:06:



If you want old names put in /etc/default/grub

GRUB_CMDLINE_LINUX="net.ifnames=0"



Nice to know, but I'll stay with the new names, I think.


network manager is good for changing networks. For a server the network
must not change normally. So you could put configuration in
/etc/network/interfaces.d/ with something like :

auto enp11s0
iface enp11s0 inet static
mtu 1500
metric 101
address 209.97.232.18/24
netmask 255.255.255.0
gateway 209.97.232.1

auto enp12s0
iface enp12s0 inet static
mtu 1500
metric 100
address 192.168.0.1/24
netmask 255.255.0.0



When I'm feeling less tired and prone to making a mistake, I'll do this.

The old method seems so much simpler, so I'd be happy to go back to it. It 
seems that enough people are using it that it doesn't seem likely that it'll 
go away anytime soon.


When I installed debian on this computer -- quite a few years ago -- I'm 
pretty sure it just went off and installed all the Network Manager stuff 
without asking. And, to be honest, it's worked fine for the last several 
years. I can't imagine why its so messed up now. I (obviously) didn't change 
anything related to Network Manager myself; the upgrade is entirely 
responsible for its now-non-functioning state.



I you want IPv6 add :

iface enp11s0 inet6 auto
iface enp12s0 inet6 auto



I would love IPv6, but my ISP doesn't support it, and has no plans to do so, 
so for now I'm stuck in IPv4 land.



Once it works you can then remove network manager



That sounds like something to celebrate. I'll try to get time to work on all 
this over the weekend, and let everyone know how it turns out.


Thanks to everyone for their suggestions.

  Doc

--
Web:  http://enginehousebooks.com/drevans



Re: bookworm and network connections

2023-09-01 Thread D. R. Evans

Andy Smith wrote on 9/1/23 16:32:


Your situation appears to have been triggered by the renaming of
your network interfaces (which was warned about in the release


These weird names like "Wired connection enp11s0(eth0)" were names that the 
debian installer came up with several OS versions ago (stretch, perhaps?).


Anyway, they haven't changed since bullseye, when everything worked (i.e., 
early this morning, before I ran the upgrade :-( ).




Both of these are worth reading:

 https://wiki.debian.org/NetworkConfiguration
 https://wiki.debian.org/NetworkInterfaceNames


I'll take a look at those.

  Doc

--
Web:  http://enginehousebooks.com/drevans



Re: Grub

2023-09-01 Thread latincom
> El 2023-08-30 a las 16:50 -0700, latin...@vcn.bc.ca escribió:
>
>> Necesito instalar Grub u otro Boot Loader, en /dev/sda2, como se hace
>> por
>> favor?
>
> Desde un sistema arrancable:
>
> grub-install /dev/sda2
>
> Desde un sistema que no inicia, recomiendo Super Grub2 Disk¹ o alguna
> versión LiveCD de linux para instatarlo desde línea de órdenes, ya que
> de manera predeterminada (si no se especifica nada), se suele instalar
> en el sector de arranque del disco marcado como de inicio, no en la
> partición, que es lo que buscas.
>
> Antes de hacer nada, a tener en cuenta varias cosas, como si se trata
> de un sistema con BIOS o UEFI, si hay otros sistemas operativos o
> discos, si hay RAID (hardware o software), volúmenes (LVM), cifrado,
> etc²...

>
> ¹https://www.supergrubdisk.org/super-grub2-disk/
> ²https://wiki.archlinux.org/title/GRUB#Install_grub2-bios_package
>
> Saludos,
>
> --
> Camaleón
>

Gracias Camaleon

Pero no me funciona nada!

Mejor voy a sustituirlo, gracias de nuevo.

PD:
Este es el error de lilo:
Fatal: First sector of /dev/sda2 doesn't have a valid boot signature




Re: bookworm and network connections

2023-09-01 Thread Greg Wooledge
On Fri, Sep 01, 2023 at 04:16:46PM -0600, D. R. Evans wrote:
> Greg Wooledge wrote on 9/1/23 15:38:
> 
> > In particular, when using /etc/network/interfaces, only interfaces that
> > are marked as "auto" need to be up, to satisfy this criterion.  An
> 
> I don't think that debian has used used /etc/network/interfaces for a while,
> at least not by default. Certainly there's nothing useful there on the
> machine that I just upgraded and whose networking is failing to configure
> itself correctly.
> 
> Network Manager -- I think -- uses some completely different mechanism for
> managing networking (although I have no idea what that mechanism is.)

Debian *absolutely* uses /etc/network/interfaces.  By default, in a
Standard installation.  But as you noted, it's optional.  Debian *also*
allows the use of Network Manager, systemd-networkd, and probably several
other systems for configuring one's network(s).

I haven't installed Debian 12 yet (upgraded to it, but haven't installed
it), but I did a Debian 11 install yesterday.  And I can assure you,
that system uses /etc/network/interfaces just like every other Debian
system I've ever run.  I used a Standard install, then booted it to
confirm that all the necessary firmware was present, and then installed
KDE (among other things).  I don't know whether N-M is installed on
that system -- I didn't check -- but it doesn't matter, because the
machine's sole ethernet interface is configured in /e/n/i and therefore
N-M would skip it.

Returning to the previous topic, I have no idea how
After=network-online.target interacts with N-M.  I have experience with
network-online.target vs. /e/n/i and its absurd "allow-hotplug" default
setting, but I don't use N-M so I don't know how that works.



Re: bookworm and network connections

2023-09-01 Thread Andy Smith
Hello,

On Fri, Sep 01, 2023 at 04:16:46PM -0600, D. R. Evans wrote:
> I don't think that debian has used used /etc/network/interfaces for a while,
> at least not by default.

All of my Debian servers (and desktops) have an
/etc/network/interfaces file and ifupdown installed. It depends upon
choices made in the installer as to whether ifupdown is installed at
all.

> Network Manager -- I think -- uses some completely different mechanism for
> managing networking (although I have no idea what that mechanism is.)

Yes, it is ifupdown which uses that file. NetworkManager is
configured another way. Uusally NetworkManager will ignore
interfaces which are mentioned in /etc/network/interfaces, so if you
have ifupdown installed and put stuff in /etc/network/interfaces, it
should be ifupdown (and only that) that configures them.

As others have mentioned, NetworkManager is not usually considered a
good choice for servers with a static networking environment.

You need to decide whether you are going to persevere with
configuring NetworkManager, or switch to something else (generally
ifupdown or systemd-networkd).

I don't know enough about NetworkManager to advise you how to get
out of the situation you are in. I only use it on laptops and
generally don't touch it, there.

Your situation appears to have been triggered by the renaming of
your network interfaces (which was warned about in the release
notes). You should decide whether to revert that (it's already been
posted how to do that, also see the wiki link below), or go with it.

Both of these are worth reading:

https://wiki.debian.org/NetworkConfiguration
https://wiki.debian.org/NetworkInterfaceNames

Cheers,
Andy

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



Re: bookworm and network connections

2023-09-01 Thread D. R. Evans

Greg Wooledge wrote on 9/1/23 15:38:


In particular, when using /etc/network/interfaces, only interfaces that
are marked as "auto" need to be up, to satisfy this criterion.  An


I don't think that debian has used used /etc/network/interfaces for a while, 
at least not by default. Certainly there's nothing useful there on the machine 
that I just upgraded and whose networking is failing to configure itself 
correctly.


Network Manager -- I think -- uses some completely different mechanism for 
managing networking (although I have no idea what that mechanism is.)


  Doc

--
Web:  http://enginehousebooks.com/drevans



Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Andrew M.A. Cater
On Fri, Sep 01, 2023 at 11:15:38PM +0200, Mario Marietto wrote:
> Hello.
> 
> I've got a crazy idea : I see that Ubuntu has a 5.4 kernel source and
> header package. Is there a method or tool to convert these packages to
> debian packages so that I can use them on Debian ? That's because I prefer
> Debian over Ubuntu. Thanks.
> 
> 

It looks as if the image you installed was using the Ubuntu kernel and
header - maybe look to see if there's a pure Debian image somewhere.

I've never owned a Chromebook of any kind and can't remember what
the solution allowing you to run a Debian VM under ChromeOS is.

> On Fri, Sep 1, 2023 at 10:25 PM Andrew M.A. Cater 
> wrote:
> 
> > On Fri, Sep 01, 2023 at 01:16:31PM +0200, Mario Marietto wrote:
> > > Hello to everyone.
> > >
> > > I've just installed Debian Buster on my ARM Chromebook,using this image :
> > >
> > > https://github.com/hexdump0815/imagebuilder/releases?page=12
> > >
> > > He says that the image is based on the kernel 5.4 and it is. Infact the
> > > default running kernel is 5.4.14. But for the project that I'm working
> > on,I
> > > also need to install the linux source and the headers packages for the
> > same
> > > kernel (5.4.14),but unfortunately,between the packages I only see
> > versions
> > > 4.19 and 5.10. Is there a method to install the sources and headers
> > > packages also for the kernel 5.4.14 ?
> > >
> >
> > You're out of luck - Debian doesn't offer 5.4 but does offer 5.10 - and
> > what you've got is not from Debian.
> >
> > You might be able to install debootstrap and current kernel sources
> > and build your own. I'd suggest starting from Debian 12 to build a
> > current image.
> >
> > In the interim, you need to ask the person who provided that image
> > where the source and headers are.
> >
> > > The point is that for the project that I'm working on (using qemu 5.1 +
> > > enabling kvm + kernel 5.4 + libvirt on my ARM chromebook) I need the
> > kvm.h
> > > header,that's provided by the linux-headers (5.4.14) package. I can't
> > use a
> > > version of qemu greater than 5.1 and a version of the kernel greater than
> > > 5.4. That's the reason why I'm asking this question.
> > >
> >
> > Go and ask, maybe - we can't really help.
> >
> > PS: Thanks very much for clear formatting of this message which is much
> > easier to read than some of your prior messages.
> >
> > > Thanks very much.
> > >
> > > --
> > > Mario.
> >
> > With every good wish, as ever,
> >
> > Andy Cater
> >
> >
> 
> -- 
> Mario.
as above :) Andy




Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Greg Wooledge
On Fri, Sep 01, 2023 at 11:15:38PM +0200, Mario Marietto wrote:
> I've got a crazy idea : I see that Ubuntu has a 5.4 kernel source and
> header package. Is there a method or tool to convert these packages to
> debian packages so that I can use them on Debian ? That's because I prefer
> Debian over Ubuntu. Thanks.

Kernel packages tend to be very self-contained.  It's likely that an
Ubuntu kernel package would work on Debian without any changes.

Try It And See.  Make sure you have another kernel installed that you
know can boot, and that you have the ability to boot into it, should
the Ubuntu kernel fail.



Re: bookworm and network connections

2023-09-01 Thread Greg Wooledge
On Fri, Sep 01, 2023 at 03:18:47PM -0600, D. R. Evans wrote:
> [[ I speculate wildly that systemd or something doesn't complete configuring
> the network until after rc.local has finished processing (I know that
> rc.local executes late in the boot process, but I don't think that that
> means that everything else has *finished* executing when rc.local runs). I
> may easily be wrong, but really I don't think I care. ]]

On Debian, there's an override file:


unicorn:~$ cat /usr/lib/systemd/system/rc-local.service.d/debian.conf 
[Unit]
# not specified by LSB, but has been behaving that way in Debian under SysV
# init and upstart
After=network-online.target

# Often contains status messages which users expect to see on the console
# during boot
[Service]
StandardOutput=journal+console
StandardError=journal+console


The "After=network-online.target" line is supposed to ensure that
rc-local.service doesn't run until the network configuration has been
completed.  However, the definition of "completed" here can be murky.
In particular, when using /etc/network/interfaces, only interfaces that
are marked as "auto" need to be up, to satisfy this criterion.  An
interface that's only "allow-hotplug" isn't required to be up.

Also, since the issue here involves network configuration, it would
seem counterintuitive to expect it to be done in a service that runs
*after* the network is supposed to be up.



Re: I uninstalled OpenMediaVault (because totally overkill for me) and replaced it with borgbackup and rsyncq

2023-09-01 Thread Linux-Fan

Michel Verdier writes:


On 2023-09-01, Default User wrote:

> Yes, it does require considerable space (no data de-duplication), and
> the rsync of the backup drives does take considerable time.  But to me,
> it is worth it, to avoid the methodological equivalent of "vendor lock-
> in".

You must have a bad configuration : rsnaphot de-duplicate using hard
links so you never have duplicated files. Keeping 52 weekly and 7 daily
and 24 hourly I need only 130% of original space. And it takes minimal
time as it transfers only changes and can use ssh compression.


It highly depends on the type of data that is being backed up.

For my regular user files, I think a file-based deduplication works OK. But  
for my VM images, hardlinks would only save space for those VMs which did  
not run between the current and the preceding backup.


Btw.: I am personally not using any hard-link based approach, mostly due to  
the missing encryption and integrity protection of data and metadata.


HTH
Linux-Fan

öö


pgp_XdT1JGgxv.pgp
Description: PGP signature


Re: bookworm and network connections

2023-09-01 Thread D. R. Evans

Thank you for your thoughts...

As people are addressing the rc.local issue (I now realise that I shouldn't 
have mentioned it :-) )... I just checked, and:


1. rc.local is being executed;
2. it is executing the nmcli commands;
3. the commands are successful.

But it remains true that when the boot is fully complete, the networking is 
still hosed in the way that I described. So, apparently, putting commands in 
rc.local doesn't provide the workaround that I expected. I think that we 
should concentrate on the underlying networking issue so that it comes up 
properly rather than being derailed by trying to fix the networking after the 
fact.


[[ I speculate wildly that systemd or something doesn't complete configuring 
the network until after rc.local has finished processing (I know that rc.local 
executes late in the boot process, but I don't think that that means that 
everything else has *finished* executing when rc.local runs). I may easily be 
wrong, but really I don't think I care. ]]


I just want to get the networking to come up properly :-)

I don't understand modern systemd-controlled networking initiation well enough 
to know where to look for something that the upgrade might have clobbered, nor 
how I might go about fixing it.


  Doc

--
Web:  http://enginehousebooks.com/drevans



Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Mario Marietto
Hello.

I've got a crazy idea : I see that Ubuntu has a 5.4 kernel source and
header package. Is there a method or tool to convert these packages to
debian packages so that I can use them on Debian ? That's because I prefer
Debian over Ubuntu. Thanks.


On Fri, Sep 1, 2023 at 10:25 PM Andrew M.A. Cater 
wrote:

> On Fri, Sep 01, 2023 at 01:16:31PM +0200, Mario Marietto wrote:
> > Hello to everyone.
> >
> > I've just installed Debian Buster on my ARM Chromebook,using this image :
> >
> > https://github.com/hexdump0815/imagebuilder/releases?page=12
> >
> > He says that the image is based on the kernel 5.4 and it is. Infact the
> > default running kernel is 5.4.14. But for the project that I'm working
> on,I
> > also need to install the linux source and the headers packages for the
> same
> > kernel (5.4.14),but unfortunately,between the packages I only see
> versions
> > 4.19 and 5.10. Is there a method to install the sources and headers
> > packages also for the kernel 5.4.14 ?
> >
>
> You're out of luck - Debian doesn't offer 5.4 but does offer 5.10 - and
> what you've got is not from Debian.
>
> You might be able to install debootstrap and current kernel sources
> and build your own. I'd suggest starting from Debian 12 to build a
> current image.
>
> In the interim, you need to ask the person who provided that image
> where the source and headers are.
>
> > The point is that for the project that I'm working on (using qemu 5.1 +
> > enabling kvm + kernel 5.4 + libvirt on my ARM chromebook) I need the
> kvm.h
> > header,that's provided by the linux-headers (5.4.14) package. I can't
> use a
> > version of qemu greater than 5.1 and a version of the kernel greater than
> > 5.4. That's the reason why I'm asking this question.
> >
>
> Go and ask, maybe - we can't really help.
>
> PS: Thanks very much for clear formatting of this message which is much
> easier to read than some of your prior messages.
>
> > Thanks very much.
> >
> > --
> > Mario.
>
> With every good wish, as ever,
>
> Andy Cater
>
>

-- 
Mario.


Re: I uninstalled OpenMediaVault (because totally overkill for me) and replaced it with borgbackup and rsyncq

2023-09-01 Thread Linux-Fan

Default User writes:


On Fri, 2023-09-01 at 07:25 -0500, John Hasler wrote:
> Jason writes:
> > Or how does your backup look like?


See https://lists.debian.org/debian-user/2019/11/msg00073.html
and https://lists.debian.org/debian-user/2019/11/msg00420.html


> Just rsync.


Sorry, I just couldn't resist chiming in here.

I have never used OpenMediaVault.

I HAVE used a number of other backup methodologies, including
Borgbackup, for which I had high hopes, but was highly disappointed.


Would you care to share in what regards BorgBackup failed you?

I am currently using `bupstash` (not in Debian unfortunatly) and `jmbb`  
(which I wrote for myself in 2013) in parallel and am considering switching  
to `bupstash` which provides just about all features that I need.


Here are my notes on these programs:
* https://masysma.net/37/backup_tests_borg_bupstash_kopia.xhtml
* https://masysma.net/32/jmbb.xhtml

And also the Bupstash home page:
* https://bupstash.io/

IMHO borg is about the best backup program that you can get from the Debian  
repositories (if you need any of the modern features that is). The only  
issue I really had with it is that it was too slow for my use cases.



In the end, I currently have settled upon using rsnapshot to back up my
single-machine, single-user setup to external external usb hard drive
A, which is then copied to external usb hard drive B, using rsync.  If
you can do rsync, you can do rsnapshot.  

It's easy, especially when it comes to restoring, verifying, and
impromptu access to data, to use random stuff, or even to just "check
on" your data occasionally, to reassure yourself that it is still
there.

Yes, it does require considerable space (no data de-duplication), and
the rsync of the backup drives does take considerable time.  But to me,
it is worth it, to avoid the methodological equivalent of "vendor lock-
in".


Yes, the “vendor lock-in” is really a thing especially when it comes to  
restoring a backup but the fancy backup software just does not compile for  
the platform or is not available for other reasons or you are stuck on a  
Windows laptop without Admin permissions (wost case scenario?).


I mitigated this with `jmbb` by providing for a way to restore individual  
files also using third-party utilities and I intend to mitigate this for  
`bupstash` by writing my own restore program

(work-in progress: https://masysma.net/32/maxbupst.xhtml)


INB4:  No, I don't do online backups. If people or organizations with
nose problems want my data they are going to have to make at least a
little effort to get it. And yes, I do know the 1-2-3 backup
philosophy, which does seem like a good idea for many (most?) users.


The problem I have with offline backups that it is an inconvenience to carry  
around copies and that this means they are always more out of date than I  
want them to be. Hence I rely on encryption to store backups on untrusted  
storages.


[...]

Short but comprehensive resource on the subject (includes some advertising /  
I am not affiliated / maybe this has outlived the product it advertises for?):

http://www.taobackup.com/index.html

YMMV
Linux-Fan

öö


pgptt2qvn0tQe.pgp
Description: PGP signature


Re: bookworm and network connections

2023-09-01 Thread Michel Verdier
On 2023-09-01, D. R. Evans wrote:

> The machine has two ethernet ports, which used to be eth0 and eth1 in the old
> days, but are now magically called "Wired connection enp11s0(eth0)" and "Wired
> connection enp12s0(eth1)".

If you want old names put in /etc/default/grub

GRUB_CMDLINE_LINUX="net.ifnames=0"

(add other parameters if you have some)
and do update-grub

> zserver# nmcli networking connectivity
> full

network manager is good for changing networks. For a server the network
must not change normally. So you could put configuration in
/etc/network/interfaces.d/ with something like :

auto enp11s0
iface enp11s0 inet static
   mtu 1500
   metric 101
   address 209.97.232.18/24
   netmask 255.255.255.0
   gateway 209.97.232.1

auto enp12s0
iface enp12s0 inet static
   mtu 1500
   metric 100
   address 192.168.0.1/24
   netmask 255.255.0.0

auto lo
iface lo inet loopback

I you want IPv6 add :

iface enp11s0 inet6 auto
iface enp12s0 inet6 auto

Once it works you can then remove network manager



Re: bookworm and network connections

2023-09-01 Thread The Wanderer
On 2023-09-01 at 16:50, Greg Wooledge wrote:

> On Fri, Sep 01, 2023 at 08:32:40PM +, Michael Kjörling wrote:
>
>> I don't think /etc/rc.local is executed by default on modern Debian
>> systems. Have you checked to make sure that rc-local.service is
>> enabled and actually gets started during boot? Is there anything
>> relevant in the logs for that? Is /etc/rc.local set as executable?
> 
> The rc-local.service is enabled by default.  It will execute /etc/rc.local
> if it exists and is executable.
> 
> The Debian installer used to create a stub /etc/rc.local file which had
> a correct shell script shebang, and the necessary permissions.  This is
> longer created during installation, so the user would need to create
> it themselves, if they want to have it.  They'd also have to know enough
> to put a correct shebang on it, and to do chmod +x.  That's not a huge
> barrier to entry, but it's just enough to confuse some people.

It's actually still available, although I expect you're right that in a
default configuration it won't be installed during Debian installation:

$ dlocate /etc/rc.local
initscripts: /etc/rc.local
$ apt-cache policy initscripts
initscripts:
  Installed: 3.07-1
  Candidate: 3.07-1
  Version table:
 *** 3.07-1 900
900 http://ftp.us.debian.org/debian testing/main amd64 Packages
900 http://ftp.us.debian.org/debian testing/main i386 Packages
100 /var/lib/dpkg/status
$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.

if test -d /etc/boot.d ; then
run-parts /etc/boot.d
fi

This is in an environment that's running sysvinit, not systemd;
'sysvinit-core' currently depends on the 'initscripts' package. I'm not
in a position to tell whether there would be issues trying to install
'initscripts' in a systemd environment, but I just offhand wouldn't
particularly expect there to be.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: bookworm and network connections

2023-09-01 Thread Greg Wooledge
On Fri, Sep 01, 2023 at 08:32:40PM +, Michael Kjörling wrote:
> I don't think /etc/rc.local is executed by default on modern Debian
> systems. Have you checked to make sure that rc-local.service is
> enabled and actually gets started during boot? Is there anything
> relevant in the logs for that? Is /etc/rc.local set as executable?

The rc-local.service is enabled by default.  It will execute /etc/rc.local
if it exists and is executable.

The Debian installer used to create a stub /etc/rc.local file which had
a correct shell script shebang, and the necessary permissions.  This is
longer created during installation, so the user would need to create
it themselves, if they want to have it.  They'd also have to know enough
to put a correct shebang on it, and to do chmod +x.  That's not a huge
barrier to entry, but it's just enough to confuse some people.

Double-checking "systemctl status rc-local.service" certainly wouldn't
hurt, just to make sure everything's working as desired.



Re: bookworm and network connections

2023-09-01 Thread Michael Kjörling
On 1 Sep 2023 14:02 -0600, from doc.ev...@gmail.com (D. R. Evans):
> Well, great, sort-of, except that every time I reboot I have to manually
> issue the two above nmcli commands to take down and bring back up enp11s.
> 
> I tried putting them in my rc.local file, but that had no effect (for
> reasons that I don't understand; I was sure that that would paper over the
> problem).

Well, as you note, it's not a fix. Still, if a workaround gets you
closer to where you want to be...

I don't think /etc/rc.local is executed by default on modern Debian
systems. Have you checked to make sure that rc-local.service is
enabled and actually gets started during boot? Is there anything
relevant in the logs for that? Is /etc/rc.local set as executable?

-- 
Michael Kjörling  https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”



Re: bookworm and network connections

2023-09-01 Thread Brad Rogers
On Fri, 1 Sep 2023 14:02:31 -0600
"D. R. Evans"  wrote:

Hello D.,

>So how do I fix this so that the networking is configured to work
>correctly during the boot sequence, as it has always done before?

I had changing ethernet port issues and found that creating
/etc/systemd/network/99-default.link

with the stanza

--8X-

[Match]
MACAddress=AA:BB:CC:DD:EE:FF
# Substitute the real MAC address

[Link]
Name=ethN
# Replace N with something unique (e.g. 0)

--8X---

works well.  I see no reason that creating two stanzas with (I hope) the
obvious changes, one for each i/f, should fail.


Now somebody's bound to come along and say
 "No, there's a better way."

:-)

-- 
 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?"
Every single one of us
Devil Inside - INXS


pgpWQA_JWIojc.pgp
Description: OpenPGP digital signature


Re: Fout tijdens apt upgrade

2023-09-01 Thread Richard Lucassen
On Fri, 01 Sep 2023 22:17:34 +0200
Cecil Westerhof  wrote:

> > Wellicht een nieuwe dependency dat-ie wil installeren? Wat doet 
> >
> > apt full-upgrade
> 
> apt full-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
>   firefox-esr
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

En een:

apt install -f

Of wat volgens mij ook wel werkt is:

apt install firefox-esr

Maar ik ben geen apt guru, anderen hebben wellicht een fraaiere
oplossing

-- 
richard lucassen
http://contact.xaq.nl/



Re: Fout tijdens apt upgrade

2023-09-01 Thread Cecil Westerhof
Richard Lucassen  writes:

> On Fri, 01 Sep 2023 21:07:39 +0200
> Cecil Westerhof  wrote:
>
>> Tijdens een apt upgrade krijg ik:
>> libdvd-pkg: Checking orig.tar integrity...
>> /usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
>> libdvd-pkg: `apt-get check` failed, you may have broken packages.
>> Aborting...
>> 
>> Als ik dan doe:
>> apt-get check
>> 
>> Dan krijg ik:
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> 
>> En als ik doe:
>> apt upgrade
>> 
>> Dan krijg ik:
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> Calculating upgrade... Done
>> The following packages have been kept back:
>>   firefox-esr
>> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>> 
>> Wat kan hier aan de hand zijn?
>> Is het iets om me zorgen over te maken?
>
> Wellicht een nieuwe dependency dat-ie wil installeren? Wat doet 
>
> apt full-upgrade

apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  firefox-esr
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



bookworm and network connections

2023-09-01 Thread D. R. Evans
I just upgraded my main server to bookworm, having successfully, over the 
course of the past couple of months, methodically upgraded my other machines 
with only minor issues.


Unfortunately, the upgrade of the server, the most important of my machines, 
has not been smooth at all, even though no important errors appeared during 
the upgrade process.


So right now the thing I want to fix is networking (which of course worked 
fine in the last few releases of debian, until now).


The machine has two ethernet ports, which used to be eth0 and eth1 in the old 
days, but are now magically called "Wired connection enp11s0(eth0)" and "Wired 
connection enp12s0(eth1)".


When I booted the machine after the upgrade, no networking was working at all, 
on either interface, even though:




zserver# nmcli networking connectivity
full
zserver#



which was definitely a lie, as nothing was successfully going in or out of the 
machine.


Looking in more detail:



[Z:~] nmcli
enp12s0: connected to Wired connection enp11s0(eth0)
"Intel I210"
ethernet (igb), D8:50:E6:C2:76:03, hw, mtu 1500
ip4 default
inet4 209.97.232.18/24
route4 209.97.232.0/24 metric 100
route4 default via 209.97.232.1 metric 100
inet6 fe80::e0c1:20a:c535:873c/64
route6 fe80::/64 metric 1024

lo: connected (externally) to lo
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
inet4 127.0.0.1/8
inet6 ::1/128

enp11s0: disconnected
"Intel I210"
1 connection available
ethernet (igb), D8:50:E6:C2:76:02, hw, mtu 1500

enp13s0: unavailable
"Intel I210"
ethernet (igb), D8:50:E6:C2:76:04, hw, mtu 1500

enp14s0: unavailable
"Intel I210"
ethernet (igb), D8:50:E6:C2:76:05, hw, mtu 1500

DNS configuration:
servers: 127.0.0.1 209.97.224.2 209.97.224.3
interface: enp12s0



Somehow, it had got into a state where enp12s0 was connected to enp11s0 
(whatever that means), with the result that nothing worked.


So, after a bit of messing around with an increasing sense of desperation, I 
discovered that:




[Z:~] sudo nmcli connection down "Wired connection enp11s0(eth0)"
Connection 'Wired connection enp11s0(eth0)' successfully deactivated (D-Bus 
active path: /org/freedesktop/NetworkManager/ActiveConnection/2)


[Z:~] sudo nmcli connection up "Wired connection enp11s0(eth0)"
Connection successfully activated (D-Bus active path: 
/org/freedesktop/NetworkManager/ActiveConnection/4)




resulted in:



[Z:~] nmcli
enp11s0: connected to Wired connection enp11s0(eth0)
"Intel I210"
ethernet (igb), D8:50:E6:C2:76:02, hw, mtu 1500
ip4 default
inet4 209.97.232.18/24
route4 209.97.232.0/24 metric 101
route4 default via 209.97.232.1 metric 101
inet6 fe80::1ae1:dfcf:be36:f72f/64
route6 fe80::/64 metric 1024

enp12s0: connected to Wired connection enp12s0(eth1)
"Intel I210"
ethernet (igb), D8:50:E6:C2:76:03, hw, mtu 1500
inet4 192.168.0.1/24
route4 192.168.0.0/24 metric 100
inet6 fe80::d30e:86f6:ca86:8986/64
route6 fe80::/64 metric 1024

lo: connected (externally) to lo
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
inet4 127.0.0.1/8
inet6 ::1/128

enp13s0: unavailable
"Intel I210"
ethernet (igb), D8:50:E6:C2:76:04, hw, mtu 1500

enp14s0: unavailable
"Intel I210"
ethernet (igb), D8:50:E6:C2:76:05, hw, mtu 1500

DNS configuration:
servers: 127.0.0.1 209.97.224.2 209.97.224.3
interface: enp11s0



and indeed, everything was now working. Which was good, because I was running 
out of ideas, and had no way to reach the Internet to look for more help.


Well, great, sort-of, except that every time I reboot I have to manually issue 
the two above nmcli commands to take down and bring back up enp11s.


I tried putting them in my rc.local file, but that had no effect (for reasons 
that I don't understand; I was sure that that would paper over the problem).


So how do I fix this so that the networking is configured to work correctly 
during the boot sequence, as it has always done before?


(I suppose it has to be said explicitly: I did not change any configuration 
files ... indeed, these days I don't even know where the files are that 
control the network devices.)


All the other machines that I have upgraded to bookworm have only a single 
ethernet port, which may be why I have not seen this issue after any other 
upgrade.


  Doc

--
Web:  http://enginehousebooks.com/drevans



Re: Fout tijdens apt upgrade

2023-09-01 Thread Richard Lucassen
On Fri, 01 Sep 2023 21:07:39 +0200
Cecil Westerhof  wrote:

> Tijdens een apt upgrade krijg ik:
> libdvd-pkg: Checking orig.tar integrity...
> /usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
> libdvd-pkg: `apt-get check` failed, you may have broken packages.
> Aborting...
> 
> Als ik dan doe:
> apt-get check
> 
> Dan krijg ik:
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> 
> En als ik doe:
> apt upgrade
> 
> Dan krijg ik:
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
>   firefox-esr
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 
> Wat kan hier aan de hand zijn?
> Is het iets om me zorgen over te maken?

Wellicht een nieuwe dependency dat-ie wil installeren? Wat doet 

apt full-upgrade

R.

-- 
richard lucassen
http://contact.xaq.nl/



Re: I uninstalled OpenMediaVault (because totally overkill for me) and replaced it with borgbackup and rsyncq

2023-09-01 Thread Default User
On Fri, 2023-09-01 at 07:25 -0500, John Hasler wrote:
> Jason writes:
> > Or how does your backup look like?
> 
> Just rsync.


Sorry, I just couldn't resist chiming in here.

I have never used OpenMediaVault.  

I HAVE used a number of other backup methodologies, including
Borgbackup, for which I had high hopes, but was highly disappointed.  

In the end, I currently have settled upon using rsnapshot to back up my
single-machine, single-user setup to external external usb hard drive
A, which is then copied to external usb hard drive B, using rsync.  If
you can do rsync, you can do rsnapshot.  

It's easy, especially when it comes to restoring, verifying, and
impromptu access to data, to use random stuff, or even to just "check
on" your data occasionally, to reassure yourself that it is still
there. 

Yes, it does require considerable space (no data de-duplication), and
the rsync of the backup drives does take considerable time.  But to me,
it is worth it, to avoid the methodological equivalent of "vendor lock-
in". 

INB4:  No, I don't do online backups. If people or organizations with
nose problems want my data they are going to have to make at least a
little effort to get it. And yes, I do know the 1-2-3 backup
philosophy, which does seem like a good idea for many (most?) users. 

Also, I really like Clonezilla for occasional brute-force, scorched-
earth backups, such as when preparing for a complete reinstall or
release upgrade, or when switching to a new computer. 

(Note: everything above applies to backing up my data: (/home/[user]
only). For backing up the actual system: (/ except for /home/[user]), I
use (and like) Timeshift. It has saved my donkey more than once!)

Well, that's what works for me.  Feel free to disregard this. It may
not work for you.  And, "if it breaks, you get to keep both pieces"!




Nettoyage du spam : août 2023

2023-09-01 Thread Étienne Mollier
Bonjour,

Nous sommes désormais en septembre, et (si je n'ai pas commis
d'impair en prenant des initiatives inconsidérées :) , il est
désormais possible de traiter les archives du mois d'août 2023
des listes francophones.

Comme toujours, n'oubliez pas d'ajouter votre nom à la liste des
relecteurs pour que nous sachions où nous en sommes.

Les détails du processus de nettoyage du spam sont disponibles
sur la page wiki dédiée [1].

[1] : https://wiki.debian.org/I18n/FrenchSpamClean

Bonne journée,  :)
-- 
  .''`.  Étienne Mollier 
 : :' :  gpg: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-


signature.asc
Description: PGP signature


Re: systemd service user uit configuratie bestand indirect zoeken

2023-09-01 Thread Geert Stappers
On Fri, Sep 01, 2023 at 02:03:31PM +0200, Paul van der Vlis wrote:
> Op 01-09-2023 om 10:44 schreef Paul van der Vlis:
> 
> > Zou zoiets niet kunnen?
> > ExecStart="su - baz -c /usr/bin/foo /etc/foo/config"
> 
> Nee fout. Ik had je vraag niet goed gelezen.

Nou, het is wel een mogelijkheid om bij oplossing te komen.
Namelijk 'User=' weg uit systemd unit en met su, switch user,
het proces onder de gewenste user te laten draaien.
 

> Groet,
> Paul van der Vlis Linux systeembeheer Groningen
> https://vandervlis.nl/
 

Groeten
Geert Stappers
-- 
Silence is hard to parse



Fout tijdens apt upgrade

2023-09-01 Thread Cecil Westerhof
Tijdens een apt upgrade krijg ik:
libdvd-pkg: Checking orig.tar integrity...
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
libdvd-pkg: `apt-get check` failed, you may have broken packages. 
Aborting...

Als ik dan doe:
apt-get check

Dan krijg ik:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

En als ik doe:
apt upgrade

Dan krijg ik:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  firefox-esr
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Wat kan hier aan de hand zijn?
Is het iets om me zorgen over te maken?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Andrew M.A. Cater
On Fri, Sep 01, 2023 at 01:16:31PM +0200, Mario Marietto wrote:
> Hello to everyone.
> 
> I've just installed Debian Buster on my ARM Chromebook,using this image :
> 
> https://github.com/hexdump0815/imagebuilder/releases?page=12
> 
> He says that the image is based on the kernel 5.4 and it is. Infact the
> default running kernel is 5.4.14. But for the project that I'm working on,I
> also need to install the linux source and the headers packages for the same
> kernel (5.4.14),but unfortunately,between the packages I only see versions
> 4.19 and 5.10. Is there a method to install the sources and headers
> packages also for the kernel 5.4.14 ?
> 

You're out of luck - Debian doesn't offer 5.4 but does offer 5.10 - and
what you've got is not from Debian.

You might be able to install debootstrap and current kernel sources
and build your own. I'd suggest starting from Debian 12 to build a
current image. 

In the interim, you need to ask the person who provided that image
where the source and headers are.

> The point is that for the project that I'm working on (using qemu 5.1 +
> enabling kvm + kernel 5.4 + libvirt on my ARM chromebook) I need the kvm.h
> header,that's provided by the linux-headers (5.4.14) package. I can't use a
> version of qemu greater than 5.1 and a version of the kernel greater than
> 5.4. That's the reason why I'm asking this question.
> 

Go and ask, maybe - we can't really help.

PS: Thanks very much for clear formatting of this message which is much
easier to read than some of your prior messages.

> Thanks very much.
> 
> -- 
> Mario.

With every good wish, as ever,

Andy Cater



Monthly FAQ for Debian-user mailing list (Unmodified August 2023)

2023-09-01 Thread Andrew M.A. Cater
Debian-user is a mailing list provided for support for Debian users,
and to facilitate discussion on relevant topics. 

Some guidelines which may help explain how the list works:

* The language on this mailing list is English. There may be other mailing 
  lists that are language-specific, for example, debian-user-french 

* It is common for users to be redirected here from other lists, for example,
  from debian-project. It is also common for people to be posting here when 
  English is not their primary language. Please be considerate.

* The list is a Debian communication forum. As such, it is subject to both 
  the Debian mailing list Code of Conduct and the main Debian Code of Conduct
  https://www.debian.org/MailingLists/#codeofconduct
  https://www.debian.org/code_of_conduct

* This is a fairly busy mailing list and you may have to wait for an
  answer - please be patient. Please post answers back to the list so
  others can benefit; private conversations don't benefit people who
  may be following along on the list or reading the archives later.

* Help and advice on this list is provided by volunteers in their own time.
  It is common for there to be different opinions or answers provided.

 * Please try to stay on topic. Arguments for the sake of it are not
   welcome here. Partisan political / religious / cultural arguments
   do not belong here either. Debian's community is world wide; do not
   assume others will agree with your views or need to read them on a
   Debian list.

* There is an FAQ on the Debian wiki derived from some questions asked on this
  list at https://wiki.debian.org/FAQsFromDebianUser

* One question that comes up on almost all Debian lists from time to time
  is of the form:

  "I have done something wrong / included personal details in an email.
   Could you please delete my name / details / remove the mail"

Practically, this is impossible: the mailing lists are archived, potentially
cached by Google and so on.

Unfortunately, there is nothing much we can do to ensure that all copies
anywhere on the Internet are deleted. Asking to do this may only serve to
draw further attention - the so-called "Streisand effect"
See:  https://en.wikipedia.org/wiki/Streisand_effect

Problems?
=

Complaints about inappropriate behaviour should be referred to the
Debian Community Team .

Inappropriate behaviour on the list may lead to warnings; repeated bad
behaviour may lead to temporary or permanent bans for offenders.



Re: Problem with libreoffice and localisation - LO hangs

2023-09-01 Thread Brad Rogers
On Fri, 01 Sep 2023 14:57:29 +0200
Hans  wrote:

Hello Hans,

>thanks for the fast response. Yes, you are correct, my information was
>not much.

No probs.

>This issue appeared suddenly from one day to another and he swore, he
>had nothing done except shutting down and starting.

When someone swears they "only $AnyThing" it's almost axiomatic they
did something - whatever it might be..

>It might be, that I installed the localisation from 7.5 on LO-7.4, as
>both are in the repo. At the moment, I can not recheck it.

OTOH, if you/they installed LO from (say) stable, and the
localisation from backports, that may explain the issue.

Can't check here, as I'm on Testing (which doesn't exhibit the fault
you're encountering).

>Libreoffice started, then the splash screen appeared and the progress
>bar was a fifth of the whole bar. Here it hangs for about 10 minutes

Sounds almost as if LO had shut down improperly and is trying to
rebuild/create the database.   However, the crash dialog usually comes
up pretty quickly, IME.

The only way beyond this point is to get hold of the machine, I think.


-- 
 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?"
Did you do it for fame, did you do it in a fit?
Identity - X-Ray Spex


pgpQczacGwNeu.pgp
Description: OpenPGP digital signature


Re: Problem with libreoffice and localisation - LO hangs

2023-09-01 Thread Christoph Brinkhaus
Am Fri, Sep 01, 2023 at 02:57:29PM +0200 schrieb Hans:

Hello Hans,

[...]

> It might be, that I installed the localisation from 7.5 on LO-7.4, as both 
> are 
> in the repo. At the moment, I can not recheck it.

Just as reference: I run Bookworm and I have installed the metapackage.
I have no issues running libreoffice.
dpkg -l lists almost everything as

ii  liblibreoffice-java  4:7.4.7-1  all  LibreOffice UNO runtime 
environment -- Java library
ii  libreoffice  4:7.4.7-1  amd64office productivity suite 
(metapackage)
ii  libreoffice-base 4:7.4.7-1  amd64office productivity suite -- 
database
ii  libreoffice-help-de  4:7.4.7-1  all  office productivity suite -- 
German help
ii  libreoffice-l10n-de  4:7.4.7-1  all  office productivity suite -- 
German language package
...
Just two parts look different
ii  libreoffice-nlpsolver   4:0.9+LibO7.4.7-1all "Solver for Nonlinear 
Programming" extension for LibreOffice
ii  libreoffice-wiki-publisher  4:1.2.0+LibO7.4.7-1  all  LibreOffice extension 
for working with MediaWiki articles

I hope it helps at least a little bit.

Viele Grüße,
Christoph
-- 
Ist die Katze gesund
schmeckt sie dem Hund.


signature.asc
Description: PGP signature


Re: Problem with libreoffice and localisation - LO hangs

2023-09-01 Thread Hans
Hi Brad, 

thanks for the fast response. Yes, you are correct, my information was not 
much.

The computer is one of my customers, so I have no access to it at the moment. 
However, it is running debian/stable, amd64. 

This issue appeared suddenly from one day to another and he swore, he had 
nothing done except shutting down and starting.

But of course I can not be sure. 

It might be, that I installed the localisation from 7.5 on LO-7.4, as both are 
in the repo. At the moment, I can not recheck it.

My goal was first to explore, if someone else ran into the same issue. In the 
web I found several similar issues, the most reason was the change of some 
databases.

When I first explored the issue (his message was: Does not start and hang), it 
shows the issue in anaother way:.

Libreoffice started, then the splash screen appeared and the progress bar was a 
fifth of the whole bar. Here it hangs for about 10 minutes and then a popup 
appeared, asking me to create a database. However, I did not start Libreoffice 
Base, I just wanbted to open an ODS File with CALC!

As I could not find a solution and wanted to help thje customer quickly, I 
first 
removed all ~/.config/libreoffice/ with no success.

Then deinstalled everything of libreoffice and reinstalled. 

After installing the localisation I ran into the issue again. Tried all 
several times to confirm it is AFTER installing localisation package.

At the moment the customer is running the English version and waits for me to 
fix it.

Thats the actual status, hope, it helps.

Best regards

Hans

> With little in the way of information from you, we can only guess, but
> the first thing to check is that the localisation package is the same
> version as the rest of LO.
> 
> Further; Stable, Testing or Sid?






Re: Problem with libreoffice and localisation - LO hangs

2023-09-01 Thread Brad Rogers
On Fri, 01 Sep 2023 13:51:35 +0200
Hans  wrote:

Hello Hans,

>I also discovered, that the installation of libreoffice-l10n-de will
>deinstall several lib

With little in the way of information from you, we can only guess, but
the first thing to check is that the localisation package is the same 
version as the rest of LO.

Further; Stable, Testing or Sid?

-- 
 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?"
It's got nothing to do with the need to impress
Titanic (My Over) Reaction - 999


pgpksg5xD90PU.pgp
Description: OpenPGP digital signature


Re: I uninstalled OpenMediaVault (because totally overkill for me) and replaced it with borgbackup and rsyncq

2023-09-01 Thread John Hasler
Jason writes:
> Or how does your backup look like?

Just rsync.
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



Re: systemd service user uit configuratie bestand indirect zoeken

2023-09-01 Thread Paul van der Vlis

Op 01-09-2023 om 10:44 schreef Paul van der Vlis:


Zou zoiets niet kunnen?
ExecStart="su - baz -c /usr/bin/foo /etc/foo/config"


Nee fout. Ik had je vraag niet goed gelezen.

Groet,
Paul


--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/



Re: Sleep: out of control

2023-09-01 Thread Tom Browder
On Fri, Sep 1, 2023 at 06:08 Tom Browder  wrote:

My conclusion: I need to find out which sleep modes turn off power to the
> external input devices.
>

I forgot to mention that my problem child is all SSD, no moving parts (from
SilentPC).

-Tom


Problem with libreoffice and localisation - LO hangs

2023-09-01 Thread Hans
Dear list,

I discovered a strange problem with libreofffice. 

When I install libreoffice (apt install libreoffice) everything works fine.

But as soon as I have installed the localisation file (apt install libreoffice-
l10n-de) Libreofffice hangs at start for several minutes.

I purged all LO-installations and reinstalled, to verify this issue

I also discovered, that the installation of libreoffice-l10n-de will deinstall 
several libs. IMHO I believe, there is some incompabilty with the libs and it 
would be nice, if someoene might confirm this behavior.

Strange thing on my own computer with the same configuration everything works 
fine, even with the localisation.

Thanks for reading this and any help.

Best regards

Hans




How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Mario Marietto
Hello to everyone.

I've just installed Debian Buster on my ARM Chromebook,using this image :

https://github.com/hexdump0815/imagebuilder/releases?page=12

He says that the image is based on the kernel 5.4 and it is. Infact the
default running kernel is 5.4.14. But for the project that I'm working on,I
also need to install the linux source and the headers packages for the same
kernel (5.4.14),but unfortunately,between the packages I only see versions
4.19 and 5.10. Is there a method to install the sources and headers
packages also for the kernel 5.4.14 ?

The point is that for the project that I'm working on (using qemu 5.1 +
enabling kvm + kernel 5.4 + libvirt on my ARM chromebook) I need the kvm.h
header,that's provided by the linux-headers (5.4.14) package. I can't use a
version of qemu greater than 5.1 and a version of the kernel greater than
5.4. That's the reason why I'm asking this question.

Thanks very much.

-- 
Mario.


Re: Sleep: out of control

2023-09-01 Thread Tom Browder
On Fri, Sep 1, 2023 at 01:15 The Wanderer  wrote:

> On 2023-08-31 at 13:03, zithro wrote:

...

Tom, does your version of that file not include a comment with that same
> information?


Yes, and they are uncommented and set to 'no'.

So far all seems to be working. Now I need to study and understand those
sleep options. I also realize I didn't report some other details.

I have three hosts (Debian PC, Window PC, and Debian laptop)  connected to
a single monitor, keyboard, and mouse via a KVM switch. The other day, when
I finally emailed for advice, I had noticed the following:

When switching the KVM between the Win and Deb hosts, I could see the mouse
was not getting power (no sensor light) nor was the keyboard or monitor
screen. So that is probably why I could not wake up the Debian PC by
stirring the mouse or hitting a key.

My conclusion: I need to find out which sleep modes turn off power to the
external input devices.

-Tom


Re: I uninstalled OpenMediaVault (because totally overkill for me) and replaced it with borgbackup and rsync

2023-09-01 Thread Manphiz
Jason  writes:

> Hi
>
> I was a user of OpenMediaVault for several years. I even donated money to the
> developer.
>
> But very provocatively OpenMediaVault is bloatware, way too big. The only 
> thing
> I need is a reliable backup.
>
> I had pure Debian (minimal installation, very few packages) installed with
> borgbackup and rsync.
>
> I am now very satisfied, much more streamlined than OpenMediaVault.
>
> Am I wrong, are my statements completely off?
>
> Or how does your backup look like?
>
> cheers
> Jason
>
>

Another OMV user for several years and have been happy about it.  It's a
NAS system based on Debian (latest version based on Buster), on top of
which it provides its NAS management layer and you can control what to
install or not.  There is no ads, no telemetry, and it manages my ZFS
raidz1 cluster without any issue for several years, and the system
itself takes less than 5GB space, so I'm not sure why you'd call it
bloatware.

-- 
Manphiz



Re: systemd service user uit configuratie bestand indirect zoeken

2023-09-01 Thread Paul van der Vlis

Hallo Geert en anderen,

Op 30-08-2023 om 19:43 schreef Geert Stappers:

Hoi,

Hoe in systemd service bestand de waarde voor 'User' zetten
met wat nog opgezocht moet worden?


Lange versie van dezelfde vraag:

Er is bestand  `/etc/foo/config` met een inhoud als:

```yaml
foo:
   topdir: /srv/foo
   interval: 3600
```

Command `ls -ld /srv/foo/` geeft
```text
drwxr-xr-x 3 baz www-data 4096 27 aug 10:26 /srv/foo/
```

Het is die `baz`, eigenaar van "topdir", die op de plaats van de puntjes
in systemd service unit zou moeten komen.
```text
[Unit]
Description=Foo-tastic

[Service]
ExecStart=/usr/bin/foo/etc/foo/config
User=


Zou zoiets niet kunnen?
ExecStart="su - baz -c /usr/bin/foo /etc/foo/config"

Of eventueel een script aanroepen wat dit uitvoert?

Groet,
Paul


[Install]
WantedBy=multi-user.target
```

Hoe zou dat kunnen?

  
Groeten

Geert Stappers


--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/



Re: Fallos en mi Debian

2023-09-01 Thread Abogado



El 31/8/23 a las 18:29, Camaleón escribió:

El 2023-08-31 a las 17:19 +0100, José Manuel (Abogado) escribió:

El 30/8/23 a las 7:58, Camaleón escribió:

(...)

Gracias por contestar a Fran y Camaleón

Poniendo los comandos que me indicas sale lo siguiente:

eb8cxw@debianPAPA:~$ systemctl list-units --failed
   UNIT    LOAD   ACTIVE SUB    DESCRIPTION
● accounts-daemon.service loaded failed failed Accounts Service

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.
1 loaded units listed.

Hum... no sé qué hace ese servicio. De hecho no tengo instalado el paquete, voy 
a
instruirme...

***
https://packages.debian.org/bookworm/accountsservice

Package: accountsservice (22.08.8-6)
query and manipulate user account information

The AccountService project provides a set of D-Bus interfaces for
querying and manipulating user account information and an
implementation of these interfaces, based on the useradd, usermod and
userdel commands.
***

Pues muy bien (me quedo igual) :-)

Pero bueno, ahora que ya sabes cuál falla, y siempre que quieras
invocar a la bestia, intenta iniciar el servicio para ver qué te dice:

systemctl restart accounts-daemon

No hace nada:

eb8cxw@debianPAPA:~$  systemctl restart accounts-daemon
eb8cxw@debianPAPA:~$

¿Y ejecutado como root?


Si no saca nada, revisa el registro con:

journalctl -n

Y manda la salida.

Esto es lo que sale:

eb8cxw@debianPAPA:~$ journalctl -n
Hint: You are currently not seeing messages from other users and the system.
  Users in the 'systemd-journal' group can see all messages. Pass -q to
  turn off this notice.

(...)

Ejecuta esta orden también como root, mejor. No vaya a ser que nos
estemos perdiendo lo sustancial :-)


ago 31 17:11:15 debianPAPA polkit-kde-authentication-agent-1[1528]:> Finishing 
obtaining privileges
ago 31 17:11:15 debianPAPA polkit-kde-authentication-agent-1[1528]: Listener 
adapter polkit_qt_listener_initi>
ago 31 17:11:15 debianPAPA polkit-kde-authentication-agent-1[1528]: 
polkit_qt_listener_initiate_authenticatio>
ago 31 17:11:15 debianPAPA polkit-kde-authentication-agent-1[1528]: Finish 
obtain authorization: true
ago 31 17:11:15 debianPAPA kwin_x11[1483]: kwin_core: XCB error: 152 (BadDamage), 
sequence: 41240, resource i>
ago 31 17:11:42 debianPAPA kwin_x11[1483]: qt.qpa.xcb: QXcbConnection: XCB error: 
3 (BadWindow), sequence: 48>
ago 31 17:11:52 debianPAPA kwin_x11[1483]: qt.qpa.xcb: QXcbConnection: XCB error: 
3 (BadWindow), sequence: 52>
ago 31 17:13:16 debianPAPA plasmashell[1509]: Could not find the Plasmoid for 
Plasma::FrameSvgItem(0x55aacb88>
ago 31 17:13:16 debianPAPA plasmashell[1509]: Could not find the Plasmoid for 
Plasma::FrameSvgItem(0x55aacb88>
ago 31 17:13:21 debianPAPA kwin_x11[1483]: qt.qpa.xcb: QXcbConnection: XCB 
error: 3 (BadWindow), sequence: 10 lines 1-10/10 (END)

(...)


ago 29 16:46:47 debianPAPA plasmashell[4181]: libva error:> 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
ago 29 16:47:38 debianPAPA plasmashell[4181]: libva error:  
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
ago 29 16:47:39 debianPAPA plasmashell[4181]: libva error: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
ago 29 16:48:42 debianPAPA plasmashell[4181]: libva error: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
ago 29 16:49:02 debianPAPA plasmashell[4181]: libva error: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

No entiendo mucho pero parece que esta en el vídeo, ya me diréis,

Sí, esto parece más importante.

Ese archivo que falla al inicializar está en el paquete
«intel-media-va-driver» y también en «intel-media-va-driver-non-free»
que es para la aceleración de la gráfica (Intel).

Veo varios bugs abiertos en Ubuntu, Archlinux, Fedora... con ese mismo
error que te aparece, pero mi recomendación es que si no experimentas
ningún problema evidente y efectivo (más allá del mensaje), si no notas
mal rendimiento en el sistema gráfico ni se bloquea el equipo o las
aplicaciones, esperes a que lo corrijan en una actualización de la
versión de los paquetes (falla en la 23.1.1+dfsg1-1, corregido en la
23.2.3+dfsg1):

Salvo los que  indique al inicio de este hilo no he notada de momento nada
más

libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init
failed
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1966571

Entonces mejor espera.

Si ves alguna actualización del paquete cuando te lo notifique Debian,
una vez que se actualice a la nueva versión, comprueba si sigue
apareciendo el mismo mensaje que ya debería estar corregido

Así lo haré

Saludos,


Gracias por todo

--
Un saludo,
José Manuel
Gran Canaria/España




Si vas a escribir.. piensa en esto:
no digas nada que no sea mas precioso que el silencio!!!



Re: Emacsclient bug in sid

2023-09-01 Thread Michel Verdier
On 2023-08-31, Charles Curley wrote:

> You need an emacs process running in order to use emacsclient. It need
> not be a daemon. -a="" will launch a daemon process if there isn't a
> process already running, daemon or otherwise.

emacs is enough if you put start-server in init file. Else it don't
listen for emacsclient. With it emacs acts as display + daemon.



Re: Re : Re: Re : Re : Re : Re : FFMPEG ?

2023-09-01 Thread steve

Le 01-09-2023, à 00:00:19 -0700, ptilou a écrit :



Il n'y a pas d'avantage a utiliser le format RAW, sauf a achete des
mass storages !



Donc l'image avec par exemple la detection de tumeurs vous depasse,
mais vous me suivaient, ou vous etes rellement du proget Debian ?



ffmeg, ne supporte pas le RAW, qui n'est pas choisie, le plus complexe
en film, est d'obtenir plus de 120 images par secondes, tous
informations disponible par les images de la NASA, par contre je ne
connais pas de service de balistique qui partage leurs technologie pour
capturer les images, une balle d'arme a feux je crois que c'est 900
metres seconde, et l'argentique fait 90 images secondes, en jpg
Photoshop avec un script corrige les flous, et Imagemagick ?


Oui, on est tout à fait d'accord.



Re: Re : Re: Re : Re : Re : Re : FFMPEG ?

2023-09-01 Thread ptilou
Le samedi 19 août 2023 à 17:30:03 UTC+2, benoit a écrit :
> Petite astuce, pour cataloguer digikam ou darktable est super, mais si on 
> veux juste visionner des RAW au format fermé de Nikon (NEF) avec une 
> visionneuse libre, légère et rapide, geeqie fait très bien le taf. 
> https://packages.debian.org/bookworm/geeqie 
> 
> -- 
> Benoît
> Envoyé avec la messagerie sécurisée Proton Mail. 
> 
> --- Original Message ---
> Le vendredi 18 août 2023 à 15:21, Norbert Ponce  a 
> écrit : 
> 
> 
> > Lorsque je recherche ufraw sur synaptic il me sélectionne darktable, et 
> > quand je tente d'ouvrir un raw nikon dans gimp, celui-ci me demande 
> > d'installer darktable. 
> > Donc le remplacement est acté. Je suis encore en Bullseye. 
> > 
> > Le 17/08/2023 à 07:14, nicolas...@gmail.com a écrit : 
> > 
> > > On 16/08/2023 21:20:41, didier gaumet wrote: 
> > > 
> > > > tu ne dois pas avoir nettoyé ton cache depuis au moins quatre ans ;-) 
> > > > ufraw a bien été retiré de testing et unstable il y a quatre ans: 
> > > > https://tracker.debian.org/pkg/ufraw 
> > > > Il est installé et comme il est en conflit avec personne, il est 
> > > > toujours là. 
> > > > C’est pour ça. 
> > > 
> > > nicolas patrois : pts noir asocial 
> > 
> >

Il n'y a pas d'avantage a utiliser le format RAW, sauf a achete des mass 
storages !

Donc l'image avec par exemple la detection de tumeurs vous depasse, mais vous 
me suivaient, ou vous etes rellement du proget Debian ?

ffmeg, ne supporte pas le RAW, qui n'est pas choisie, le plus complexe en film, 
est d'obtenir plus de 120 images par secondes, tous informations disponible par 
les images de la NASA, par contre je ne connais pas de service de balistique 
qui partage leurs technologie pour capturer les images, une balle d'arme a feux 
je crois que c'est 900 metres seconde, et l'argentique fait 90 images secondes, 
en jpg Photoshop avec un script corrige les flous, et Imagemagick ?

Merci, bon jour saint !

-- 
Ptilou



Fix for bug in r8168-dkms with kernel 6.4.0.2-amd64

2023-09-01 Thread Sam Varghese
I am posting this to the list in the hope that it will help someone who 
has encountered

the same issue I did.

I am running the testing stream and a few days back, during a regular 
update, I encountered a

kernel panic. The error appeared to be in the r8168-dkms package.

I searched around for a few days and found the solution at this link:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050287

Specifically it was this bit that fixed the issue:


Package: r8168-dkms
Version: 8.051.02-3
Severity: important

Dear Maintainer,

I confirm that the bug is present.
"PascalHambourg" on our forum found a workaround by directly editing the
file /usr/src/r8168-8.051.02/r8168_n.c

Replace
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)

By
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10)

And the compilation of the module happens without error.

Best regards,
Lol.
--

I am not subscribed to the list.

Sam Varghese



Re: I uninstalled OpenMediaVault (because totally overkill for me) and replaced it with borgbackup and rsync

2023-09-01 Thread jeremy ardley



On 1/9/23 12:44, Jason wrote:


Or how does your backup look like?



I had a QNAP NAS but it became so incredibly slow I replaced it with 
Debian using Samba and SSH.


The backups are managed by the clients, but periodically I save part of 
the NAS to Amazon S3.


I also have a remote Nextcloud server which my clients use to share a 
small working set of documents and files. It's on Akami (nee Linode) and 
is very fast in my region and pretty cheap. I used to do this on AWS but 
Linode is cheaper and simpler for my applications


I'm also in the process of converting some of my storage from Dropbox to 
Nextcloud