Re: 60-serial.rules, broken

2023-06-08 Thread tomas
On Thu, Jun 08, 2023 at 09:08:59PM -0400, gene heskett wrote:

[...]

> Perhaps I've ben mistaken, but the files in /etc/udev/rules.d are not the
> same as /lib/udev/rules.d, so which one actually rules?

The one in /etc, as David said. Unless it doesn't exist.

This is actually the classical pattern of "layered configuration", which
is widespread in the UNIX world. You see that often with a system config
which can be overridden by a user config.

Sometimes you have even three layers: distro (e.g. lib), local (etc) and
user.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Running Debian without initramfs?

2023-06-08 Thread tomas
On Thu, Jun 08, 2023 at 09:57:31PM +0100, James Addison wrote:

[...]

> Naturally a block device isn't a game cartridge - the former could
> contain many different operating systems, with the potential for
> dynamic resizing.  But it feels like we haven't landed on the simplest
> way to approximate the straightforward (and I think generally fairly
> efficient and safe) experience of choosing and loading game cartridges
> with boot configuration.  It's not a criticism of Debian per-se - we
> are following standards as opposed to setting them.

What you should consider is that this initramfs setup allows you to
pull the disk from your (possibly dead) computer and stuff it into
some other (with hopefully similar architecture) and you have at
least a fair chance that the thing will boot, because at initramfs
time some modules are magically available.

And even if things have changed a bit, you are dropped into a
command line where you may fix things.

Stuff like encrypted root partitions and similar are made much
easier this way, too.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: fancontrol

2023-06-08 Thread Aleix Piulachs
El El vie, 9 jun 2023 a las 3:02, Aleix Piulachs 
escribió:

> i’ m with a hp 6830s computer bullseye i386
> and the fan services are not working.i write system to enable fancontrol
> and systemctl lm-sensors enable but worse when i write systemctl status
> fancontrol, i see Active failed Result exit-code and i write
> /usr/sbin/fancontrol —check and i see some mandatory settings are missing
> and in /etc/fancontrol i have:
> [Unit]
>  Description=Start fancontrol, if configured
> ConditionFileNotEmpty=/etc/fancontrol
> After=lm_sensors.service
> [Service]
> Type=simple
> PIDFile=/var/run/fancontrol.pid
> ExecStart=/usr/sbin/fancontrol
> [Install]
> WantedBy=multi-user.target
>

And when i start the computer fails fan speed regulator

>


Re: 2012 MacBook Pro Debian Bookworm Install

2023-06-08 Thread Timothy M Butterworth
On Thu, Jun 8, 2023 at 9:27 PM Dan Ritter  wrote:

> Timothy M Butterworth wrote:
> > All,
> >
> > I have a 2012 MacBook Pro that I am going to install Debian Bookworm on.
> I
> > will not be keeping OSX on the Mac as it is no longer supported for
> > updates. Does anyone have any tips or tricks for installing Debian on a
> > MacBook Pro?
>
> There's a page in the wiki!
>
> https://wiki.debian.org/InstallingDebianOn/Apple
>
> with several subpages for the 2012 models.
>

 Thanks Dan I will take a look.

-dsr-
>


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


Re: fancontrol

2023-06-08 Thread Dan Ritter
Aleix Piulachs wrote: 
> i’ m with a hp 6830s computer bullseye i386
> and the fan services are not working.i write system to enable fancontrol
> and systemctl lm-sensors enable but worse when i write systemctl status
> fancontrol, i see Active failed Result exit-code and i write
> /usr/sbin/fancontrol —check and i see some mandatory settings are missing
> and in /etc/fancontrol i have:
> [Unit]
>  Description=Start fancontrol, if configured


Configure fancontrol with:

sudo pwmconfig

Tell us if that doesn't work.

-dsr-



Re: 2012 MacBook Pro Debian Bookworm Install

2023-06-08 Thread Dan Ritter
Timothy M Butterworth wrote: 
> All,
> 
> I have a 2012 MacBook Pro that I am going to install Debian Bookworm on. I
> will not be keeping OSX on the Mac as it is no longer supported for
> updates. Does anyone have any tips or tricks for installing Debian on a
> MacBook Pro?

There's a page in the wiki!

https://wiki.debian.org/InstallingDebianOn/Apple

with several subpages for the 2012 models.

-dsr-



fancontrol

2023-06-08 Thread Aleix Piulachs
When i start my computer fails fan speed regulator


Re: 60-serial.rules, broken

2023-06-08 Thread gene heskett

On 6/8/23 18:35, David Wright wrote:

On Thu 08 Jun 2023 at 11:47:25 (-0400), gene heskett wrote:

On 6/7/23 14:04, Darac Marjal wrote:

On 07/06/2023 15:37, gene heskett wrote:


/dev/serial/by-id has not been created for quite some time.
The arm folks have had a patch script for quite a while but it
has not been fixed in debian that we know of. I have 4
identical banana pi's, 3 of which seem to work, but the patch
has not fixed the 4th on for some unk reason.

When a serial device is plugged into a usb point, /dev/ttyACM#
is created on all 4 machines, but /dev/serial/by-id entries
are not. Some of the 3d printer stuff uses that by-id thing to
separate printers plugged into the same host, and the lack of
a /dev/serial entry kills the 3d printer drivers.

Can anyone give us a hint as to when this will be addressed?


The subject suggest that it's "60-serial.rules" which is broken.
This would be a udev rules file.

If you know the contents of the patch, couldn't you just create
your own rules file which implements this patch? Is there any
particular reason why you need to wait for Debian to make the
change?


biggest reason is to prevent its (60-serial.rules) being overwritten
by an update if apt discovers we've overwritten its broken defaults,
or if replaced, is replaced by an even better version.


Of course it won't. The package provides /usr/lib/udev/rules.d/60-serial.rules
which you should leave strictly alone for APT to handle. You would
create /etc/udev/rules.d/60-serial.rules and APT will never touch that.
Files under /etc/ take priority over those under /usr/lib/ when their
filenames are the same. That's how both udev and systemd work.
See RULES FILES under man 7 udev.



Perhaps I've ben mistaken, but the files in /etc/udev/rules.d are not 
the same as /lib/udev/rules.d, so which one actually rules?

Cheers,
David.

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



fancontrol

2023-06-08 Thread Aleix Piulachs
i’ m with a hp 6830s computer bullseye i386
and the fan services are not working.i write system to enable fancontrol
and systemctl lm-sensors enable but worse when i write systemctl status
fancontrol, i see Active failed Result exit-code and i write
/usr/sbin/fancontrol —check and i see some mandatory settings are missing
and in /etc/fancontrol i have:
[Unit]
 Description=Start fancontrol, if configured
ConditionFileNotEmpty=/etc/fancontrol
After=lm_sensors.service
[Service]
Type=simple
PIDFile=/var/run/fancontrol.pid
ExecStart=/usr/sbin/fancontrol
[Install]
WantedBy=multi-user.target


Re: how to change boot screen image?

2023-06-08 Thread DdB
Am 09.06.2023 um 01:45 schrieb hlyg:
> i've installed deb11 for i386 from live lxde CD
> 
> i want to change boot screen image
> 
> i browse /boot/grub, can't get clue
> 
> lxde has many menus to change appearance, but i can't find menu to
> change boot screen
> 
> btw is it possible to show kernel msg during boot?
> 
> 
STFW: https://www.youtube.com/watch?v=xAi2UfUkp_A
 +
https://unix.stackexchange.com/questions/349234/how-to-show-kernel-boot-messages-by-modifying-grub-config-files



how to change boot screen image?

2023-06-08 Thread hlyg

i've installed deb11 for i386 from live lxde CD

i want to change boot screen image

i browse /boot/grub, can't get clue

lxde has many menus to change appearance, but i can't find menu to 
change boot screen


btw is it possible to show kernel msg during boot?



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Joseph Loo
You might want to read the manual with the computer. My Lenovo would boot
automatically to Windows. In the manual, it had a hold on the side, trusty
paperwork clip press the hole, boots into bios. Install Linux

On Thu, Jun 8, 2023, 2:51 PM Bret Busby  wrote:

> On 9/6/23 05:18, Bret Busby wrote:
> > On 9/6/23 05:02, Bret Busby wrote:
> >> On 9/6/23 04:52, Rodolfo Medina wrote:
> >>> Bret Busby  writes:
> >>>
>  My understanding is that Windows 11 computers have malware that is
>  designed
>  to prevent booting into anything other than the malicious Windows 11.
> 
>  A procedure to get around the Windows 11 malware, and to be able to
>  boot into
>  Linux, has, I believe, been described on the Ubuntu Users mailing
> list.
> >>>
> >>>
> >>> Can you perhaps point out a link to read that procedure?  Thanks!
> >>>
> >>> Rodolfo
> >>>
> >> I have posted a query to the Ubuntu list, asking the person who I
> >> believe, provided the procedure on that list, and, who has published
> >> equivalent information for Windows 10.
> >>
> >> I seek his response.
> >>
> >> ..
> >> Bret Busby
> >> Armadale
> >> West Australia
> >> (UTC+0800)
> >> ..
> > Have you disabled "secure boot" on your Windows 11 PC?
> >
> > ..
> > Bret Busby
> > Armadale
> > West Australia
> > (UTC+0800)
> > ..
>
> If you go to
>
> https://lists.ubuntu.com/archives/ubuntu-users/2022-July/thread.html
>
> and scroll down to the thread starting with the subject "Questions about
> Linux Mint and this list", read that message, and, work your way through
> the responses, especially, the ones from Liam Proven, you should be able
> to get the answer that you seek.
>
> ..
> Bret Busby
> Armadale
> West Australia
> (UTC+0800)
> ..
>
>


2012 MacBook Pro Debian Bookworm Install

2023-06-08 Thread Timothy M Butterworth
All,

I have a 2012 MacBook Pro that I am going to install Debian Bookworm on. I
will not be keeping OSX on the Mac as it is no longer supported for
updates. Does anyone have any tips or tricks for installing Debian on a
MacBook Pro?

Thanks

Tim

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


Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread David Christensen

On 6/8/23 11:36, Rodolfo Medina wrote:

I want to install Debian on a new machine but don't manage to boot from USB
stick.  (I can do so regularly with another machine, so the USB stick is ok and
so is the Debian netinst I burned onto it.)  At the boot I press F9 and a menu
appears where I can choose to boot from USB stick; but then it doesn't so at all
booting instead into Windows 11.  In BIOS I enabled the CSM protocol but
nothing.  Please help as I don't know what to do: thanks.


On 6/8/23 13:01, Rodolfo Medina wrote:
> 
https://www.amazon.it/KUU-Notebook-Prozessor-Bluetooth-portatile/dp/B0C4TGXKBC/ref=sr_1_2_sspa?crid=3PK1MW55MAOA



Do you want Windows/Debian dual-boot, or Debian only?


David



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread David Wright
On Thu 08 Jun 2023 at 15:36:27 (-0600), Charles Curley wrote:
> On Thu, 08 Jun 2023 23:15:36 +0200 "Thomas Schmitt" wrote:
> 
> > I understand from the link that it has a 64 bit Celeron J4105 CPU.
> > So its EFI would want an "amd64" ISO.
> 
> A Celeron should be able to run i386 Debian. But the amd64 might be a
> better use of its capabilities.

Perhaps we have to distinguish between "CPU can run 32-bits too"
and "a particular UEFI can boot into a 32-bit OS".

Cheers,
David.



Re: 60-serial.rules, broken

2023-06-08 Thread David Wright
On Thu 08 Jun 2023 at 11:47:25 (-0400), gene heskett wrote:
> On 6/7/23 14:04, Darac Marjal wrote:
> > On 07/06/2023 15:37, gene heskett wrote:
> > > 
> > > /dev/serial/by-id has not been created for quite some time.
> > > The arm folks have had a patch script for quite a while but it
> > > has not been fixed in debian that we know of. I have 4
> > > identical banana pi's, 3 of which seem to work, but the patch
> > > has not fixed the 4th on for some unk reason.
> > > 
> > > When a serial device is plugged into a usb point, /dev/ttyACM#
> > > is created on all 4 machines, but /dev/serial/by-id entries
> > > are not. Some of the 3d printer stuff uses that by-id thing to
> > > separate printers plugged into the same host, and the lack of
> > > a /dev/serial entry kills the 3d printer drivers.
> > > 
> > > Can anyone give us a hint as to when this will be addressed?
> > 
> > The subject suggest that it's "60-serial.rules" which is broken.
> > This would be a udev rules file.
> > 
> > If you know the contents of the patch, couldn't you just create
> > your own rules file which implements this patch? Is there any
> > particular reason why you need to wait for Debian to make the
> > change?
> > 
> biggest reason is to prevent its (60-serial.rules) being overwritten
> by an update if apt discovers we've overwritten its broken defaults,
> or if replaced, is replaced by an even better version.

Of course it won't. The package provides /usr/lib/udev/rules.d/60-serial.rules
which you should leave strictly alone for APT to handle. You would
create /etc/udev/rules.d/60-serial.rules and APT will never touch that.
Files under /etc/ take priority over those under /usr/lib/ when their
filenames are the same. That's how both udev and systemd work.
See RULES FILES under man 7 udev.

Cheers,
David.



Re: Running Debian without initramfs?

2023-06-08 Thread Michel Verdier
On 2023-06-08, James Addison wrote:

> Basically what I'm wondering about is whether there's some kind of
> future utopia where operating system filesystem images -- and the
> process of managing and booting from them -- could be made
> significantly simpler.

You can already do that. Compile a kernel with all drivers needed and it
will boot without initramfs. Initramfs is still usefull in a lots of
special situations. So it's not an utopia it's a real thing: we have the
better from both world.



Re: BIOS version

2023-06-08 Thread Geert Stappers
On Thu, Jun 08, 2023 at 10:09:47PM +0100, Mick Ab wrote:
> Is there a command that can be used to determine the BIOS version being
> used on the motherboard.
> 
> I have used dmidecode,

OKay

> but at the bottom of the man page for dmidecode there is :-
> 
> "More often than not, information contained in the DMI tables is
> inaccurate, incomplete or simply wrong."

Translated:

  dmidecode just decodes.
  When others have put in garbage, we report that garbage ...


Groeten
Geert Stappers
-- 
Silence is hard to parse



Re: BIOS version

2023-06-08 Thread Dan Ritter
Mick Ab wrote: 
> Is there a command that can be used to determine the BIOS version being
> used on the motherboard.
> 
> I have used dmidecode, but at the bottom of the man page for dmidecode
> there is :-
> 
> "More often than not, information contained in the DMI tables is
> inaccurate, incomplete or simply wrong."

The information on the BIOS version is generally correct,
though.

-dsr-



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Bret Busby

On 9/6/23 05:18, Bret Busby wrote:

On 9/6/23 05:02, Bret Busby wrote:

On 9/6/23 04:52, Rodolfo Medina wrote:

Bret Busby  writes:

My understanding is that Windows 11 computers have malware that is 
designed

to prevent booting into anything other than the malicious Windows 11.

A procedure to get around the Windows 11 malware, and to be able to 
boot into

Linux, has, I believe, been described on the Ubuntu Users mailing list.



Can you perhaps point out a link to read that procedure?  Thanks!

Rodolfo

I have posted a query to the Ubuntu list, asking the person who I 
believe, provided the procedure on that list, and, who has published 
equivalent information for Windows 10.


I seek his response.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..

Have you disabled "secure boot" on your Windows 11 PC?

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..


If you go to

https://lists.ubuntu.com/archives/ubuntu-users/2022-July/thread.html

and scroll down to the thread starting with the subject "Questions about 
Linux Mint and this list", read that message, and, work your way through 
the responses, especially, the ones from Liam Proven, you should be able 
to get the answer that you seek.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Bret Busby

On 9/6/23 05:26, Bret Busby wrote:

On 9/6/23 05:18, Bret Busby wrote:

On 9/6/23 05:02, Bret Busby wrote:

On 9/6/23 04:52, Rodolfo Medina wrote:

Bret Busby  writes:

My understanding is that Windows 11 computers have malware that is 
designed

to prevent booting into anything other than the malicious Windows 11.

A procedure to get around the Windows 11 malware, and to be able to 
boot into
Linux, has, I believe, been described on the Ubuntu Users mailing 
list.



Can you perhaps point out a link to read that procedure?  Thanks!

Rodolfo

I have posted a query to the Ubuntu list, asking the person who I 
believe, provided the procedure on that list, and, who has published 
equivalent information for Windows 10.


I seek his response.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..

Have you disabled "secure boot" on your Windows 11 PC?

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..


If you go to

https://lists.ubuntu.com/archives/ubuntu-users/2022-July/thread.html

and scroll down to the thread starting with the subject "Questions about 
Linux Mint and this list", read that message, and, work your way through 
the responses, especially, the ones from Liam Proven, you should be able 
to get the answer that you seek.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..
I should have included, in my previous posts about this, that the 
imperative first step, before either using a newly purchased computer, 
or, trying to add an extra booting operating system to any computer, new 
or otherwise, is to ensure that you have the latest available UEFI/BIOS 
installed on the computer.


The computer manufacturer's web site should have the applicable 
procedures involved,  for both checking the installed and latest 
UEFI/BIOS versions for the computer, and, for upgrading it as needed.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Charles Curley
On Thu, 08 Jun 2023 23:15:36 +0200
"Thomas Schmitt"  wrote:

> I understand from the link that it has a 64 bit Celeron J4105 CPU.
> So its EFI would want an "amd64" ISO.

A Celeron should be able to run i386 Debian. But the amd64 might be a
better use of its capabilities.

-- 
Does anybody read signatures any more?

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



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Charles Curley
On Thu, 08 Jun 2023 20:01:20 +
Rodolfo Medina  wrote:

> Here it is:
> 
>  
> https://www.amazon.it/KUU-Notebook-Prozessor-Bluetooth-portatile/dp/B0C4TGXKBC/ref=sr_1_2_sspa?crid=3PK1MW55MAOA

Hmm, never heard of that vendor. You might do better with one of the
Debian Italian language lists.
https://lists.debian.org/completeindex.html

-- 
Does anybody read signatures any more?

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



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Bret Busby

On 9/6/23 05:02, Bret Busby wrote:

On 9/6/23 04:52, Rodolfo Medina wrote:

Bret Busby  writes:

My understanding is that Windows 11 computers have malware that is 
designed

to prevent booting into anything other than the malicious Windows 11.

A procedure to get around the Windows 11 malware, and to be able to 
boot into

Linux, has, I believe, been described on the Ubuntu Users mailing list.



Can you perhaps point out a link to read that procedure?  Thanks!

Rodolfo

I have posted a query to the Ubuntu list, asking the person who I 
believe, provided the procedure on that list, and, who has published 
equivalent information for Windows 10.


I seek his response.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..

Have you disabled "secure boot" on your Windows 11 PC?

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Thomas Schmitt
Hi,

Rodolfo Medina wrote:
> https://www.amazon.it/KUU-Notebook-Prozessor-Bluetooth-portatile/dp/B0C4TGX
KBC/ref=sr_1_2_sspa?crid=3PK1MW55MAOA
>  $ dd if=debian-11.7.0-i386-netinst.iso of=/dev/sdd bs=4M; sync

I understand from the link that it has a 64 bit Celeron J4105 CPU.
So its EFI would want an "amd64" ISO.


> > In BIOS I enabled the CSM protocol
> No message: it simply boots into Windows instead of the USB drive that I
> chose in the menu.

You could try with
  
https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.7.0-amd64-netinst.iso
and CSM disabled.
(Maybe it even begins to work with CSM if the firmware is brain damaged
enough.)


Have a nice day :)

Thomas



Re: Running Debian without initramfs?

2023-06-08 Thread James Addison
On Thu, 08 Jun 2023 17:13:30 +0200, Sven wrote:
> On 2023-06-08 15:41 +0100, James Addison wrote:
>
> > Does anyone have experience running Debian systems without using an 
> > initramfs?
>
> I did this in the distance past, some 15 years ago or so.  Have long
> abandoned that idea, though.
>
> > I'd be particularly keen to hear about laptop/desktop/server systems,
> > because I think that a large motivating factor to use initramfs --
> > across many distributions -- was to provide a mechanism
> > outside-the-compiled-kernel to load additional device driver modules,
> > and I'd like to check that that motivation is still valid.
>
> s/device driver//
>
> Loading modules via an intramfs is crucial for a distro kernel, because
> the only alternative would be to compile in support for dozens of
> filesystems that users might want to use as their root filesystem.

Thanks for the response and correction.

So, in order to load a chain of kernel modules (block I/O, logical
disk management, filesystem, ...) that can read the system's 'true'
root filesystem, we frequently (for example, after installation of
some packages) rebuild a second, separate root filesystem (the
initramfs), written according to a built-in kernel filesystem format,
and then subsequently re-read (often from a separate block device) and
re-evaluate the code from that filesystem at each system boot.

(further corrections may be required)

That was my understanding from around the same time you last loaded a
system without an initramfs, and it puzzled me a bit, but I let it
pass (there are only so many technical things that it's possible to
care about, especially with full-time employment).

Basically what I'm wondering about is whether there's some kind of
future utopia where operating system filesystem images -- and the
process of managing and booting from them -- could be made
significantly simpler.

Naturally a block device isn't a game cartridge - the former could
contain many different operating systems, with the potential for
dynamic resizing.  But it feels like we haven't landed on the simplest
way to approximate the straightforward (and I think generally fairly
efficient and safe) experience of choosing and loading game cartridges
with boot configuration.  It's not a criticism of Debian per-se - we
are following standards as opposed to setting them.

I guess I'm curious whether it could be time to start reversing the
polarity of some open source development experience to feed them back
into simpler standards that provide what we want while discarding the
cruft that doesn't -- based on practical and proven experience --
doesn't work so well.



BIOS version

2023-06-08 Thread Mick Ab
Is there a command that can be used to determine the BIOS version being
used on the motherboard.

I have used dmidecode, but at the bottom of the man page for dmidecode
there is :-

"More often than not, information contained in the DMI tables is
inaccurate, incomplete or simply wrong."


Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Bret Busby

On 9/6/23 04:52, Rodolfo Medina wrote:

Bret Busby  writes:


My understanding is that Windows 11 computers have malware that is designed
to prevent booting into anything other than the malicious Windows 11.

A procedure to get around the Windows 11 malware, and to be able to boot into
Linux, has, I believe, been described on the Ubuntu Users mailing list.



Can you perhaps point out a link to read that procedure?  Thanks!

Rodolfo

I have posted a query to the Ubuntu list, asking the person who I 
believe, provided the procedure on that list, and, who has published 
equivalent information for Windows 10.


I seek his response.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Rodolfo Medina
Bret Busby  writes:

> My understanding is that Windows 11 computers have malware that is designed
> to prevent booting into anything other than the malicious Windows 11.
>
> A procedure to get around the Windows 11 malware, and to be able to boot into
> Linux, has, I believe, been described on the Ubuntu Users mailing list.


Can you perhaps point out a link to read that procedure?  Thanks!

Rodolfo



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Bret Busby

On 9/6/23 02:36, Rodolfo Medina wrote:

I want to install Debian on a new machine but don't manage to boot from USB
stick.  (I can do so regularly with another machine, so the USB stick is ok and
so is the Debian netinst I burned onto it.)  At the boot I press F9 and a menu
appears where I can choose to boot from USB stick; but then it doesn't so at all
booting instead into Windows 11.  In BIOS I enabled the CSM protocol but
nothing.  Please help as I don't know what to do: thanks.

Rodolfo

My understanding is that Windows 11 computers have malware that is 
designed to prevent booting into anything other than the malicious 
Windows 11.


A procedure to get around the Windows 11 malware, and to be able to boot 
into Linux, has, I believe, been described on the Ubuntu Users mailing list.


My understanding is that, to boot into Linux or any other non-MS 
operating system, Windows 11 should be avoided like the plague that it 
is, and, that a computer with the Windows 10 OS should be obtained, 
rather than the malware that is Windows 11.


Windows 11 also, in the malware that it is, proscribes software that 
runs on Windows 10 and earlier versions of Windows.


The best use for a Windows 11 computer, is to use it as a projectile. 
Such computers are not even substantial enough to use as boat anchors.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: scanner usb "blacklisté"

2023-06-08 Thread Jean-Marc



Le 8/06/23 à 19:13, Kohler Gerard a écrit :

bonjour,

depuis 2 jours j'ai un problème sérieux avec un scanner je n'arrive pas 
à me connecter dessus.

[...]
comment chercher ?


Je commencerai par regarder s'il n'y a rien dans les messages de /var/log.


merci pour votre aide

G. Kohler


--
Jean-Marc


OpenPGP_signature
Description: OpenPGP digital signature


Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Rodolfo Medina
Thank you Andrew and Charles.

"Andrew M.A. Cater"  writes:

> What model of machine is this - and how new?

Here it is:

 
https://www.amazon.it/KUU-Notebook-Prozessor-Bluetooth-portatile/dp/B0C4TGXKBC/ref=sr_1_2_sspa?crid=3PK1MW55MAOA


> How did you write the image to the USB stick?

This way:

 $ dd if=debian-11.7.0-i386-netinst.iso of=/dev/sdd bs=4M; sync

As I said, another machine of mine boots regularly into it, so it must be ok.

> CSM is probably not needed. USB boot *should* work but there is a
> way of forcing boot only to Windows 11 in some machines. (I had this
> on a relatively new T490).
>
> Does it show any messages?

No message: it simply boots into Windows instead of the USB drive that I chose
in the menu.

Thanks,

Rodolfo



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Charles Curley
On Thu, 8 Jun 2023 18:36:27 +
Rodolfo Medina  wrote:

> I want to install Debian on a new machine but don't manage to boot
> from USB stick.

It might help if you identified the new machine.

You might also check web sites related to Linux on that manufacturer's
products. E.g. thinkwiki (https://www.thinkwiki.org/wiki/ThinkWiki) for
Lenovo/IBM machines. Or https://linux-hardware.org.

-- 
Does anybody read signatures any more?

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



Re: Please help with not booting from USB so to install Debian

2023-06-08 Thread Andrew M.A. Cater
On Thu, Jun 08, 2023 at 06:36:27PM +, Rodolfo Medina wrote:
> I want to install Debian on a new machine but don't manage to boot from USB
> stick.  (I can do so regularly with another machine, so the USB stick is ok 
> and
> so is the Debian netinst I burned onto it.)  At the boot I press F9 and a menu
> appears where I can choose to boot from USB stick; but then it doesn't so at 
> all
> booting instead into Windows 11.  In BIOS I enabled the CSM protocol but
> nothing.  Please help as I don't know what to do: thanks.
> 

Hi Rodolfo,

What model of machine is this - and how new?

How did you write the image to the USB stick?

CSM is probably not needed. USB boot *should* work but there is a
way of forcing boot only to Windows 11 in some machines. (I had this
on a relatively new T490).

Does it show any messages?


> Rodolfo
>

All the very best, as ever,

Andy Cater 



Re: scanner usb "blacklisté"

2023-06-08 Thread Kohler Gerard
effectivement cela aurait pu être une solution, c'est d'ailleurs une des 
premières choses que j'ai faites,

mais xsane utilise libsane qui est installé par epsonscan2
et cela ne marche pas,

je pense qu'il y a un verrou quelque part mais je ne voit pas où
merci encore,

G. Kohler

Le 08/06/2023 à 19:25, Basile Starynkevitch a écrit :


On 6/8/23 19:13, Kohler Gerard wrote:

bonjour,

depuis 2 jours j'ai un problème sérieux avec un scanner je n'arrive 
pas à me connecter dessus.


je travalle avec depuis plus de 5 ans sans problème.

configuration :
Debian 11
kernel 5.10.0-18-amd64
scanner Epson V800

logiciel : VueScan à jour



J'essaierais les commandes logiciels Debian xsane et gimp.


Librement


PS. Je cherche des partenaires intéressés par le moteur 
d'inferencehttp://refpersys.org/




--
==
https://www.leregardduchat.fr/
==



Fwd: scanner usb "blacklisté"

2023-06-08 Thread Kohler Gerard




 Message transféré 
Sujet : Re: scanner usb "blacklisté"
Date :  Thu, 8 Jun 2023 19:25:37 +0200
De :Basile Starynkevitch 
Pour :  Kohler Gerard 




On 6/8/23 19:13, Kohler Gerard wrote:

bonjour,

depuis 2 jours j'ai un problème sérieux avec un scanner je n'arrive 
pas à me connecter dessus.


je travalle avec depuis plus de 5 ans sans problème.

configuration :
Debian 11
kernel 5.10.0-18-amd64
scanner Epson V800

logiciel : VueScan à jour



J'essaierais les commandes logiciels Debian xsane et gimp.


Librement


PS. Je cherche des partenaires intéressés par le moteur 
d'inferencehttp://refpersys.org/


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


Re: Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-08 Thread Albretch Mueller
On 6/8/23, Greg Wooledge  wrote:
> Yes.  Use an array.
...
 ;-), it "magically" worked:

_FL1="file1_ps_-aux.txt"; sudo ps -aux > "${_FL1}"
_FL2="file2_dmesg.txt"; sudo dmesg > "${_FL2}"
_FL3="file3_printenv.txt"; sudo printenv > "${_FL3}"

ls -l "file"*".txt"; wc -l "file"*".txt"

_KSX_AR=(
"${_FL1}"
"${_FL2}"
"${_FL3}"
)

kate "${_KSX_AR[@]}" &

 Now, if I could only save and import the configuration file I use
into a directory of my choosing that would make my day! I may have to
go monkey:

 1) find where it keeps that metadata and how
 2) save that file into my own storage each time kate is closed
 3) move it to wherever kate expects to read it from every time before
starting kate

 BTW, sometimes it is important to think through, own your mistaken
ways of seeing things (it helps even unconsciously not to repeat
them), why is it in the bash shell that wasn't that happy about my
ways?



Please help with not booting from USB so to install Debian

2023-06-08 Thread Rodolfo Medina
I want to install Debian on a new machine but don't manage to boot from USB
stick.  (I can do so regularly with another machine, so the USB stick is ok and
so is the Debian netinst I burned onto it.)  At the boot I press F9 and a menu
appears where I can choose to boot from USB stick; but then it doesn't so at all
booting instead into Windows 11.  In BIOS I enabled the CSM protocol but
nothing.  Please help as I don't know what to do: thanks.

Rodolfo



Re: Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-08 Thread Dan Ritter
Albretch Mueller wrote: 
>  Why would:
> 
> kate "file1_ps_-aux.txt" "file2_dmesg.txt" "file3_printenv.txt" &
> 
> kate "${_FL1}" "${_FL2}" "${_FL3}" &
> 
>  work?, but stringing the file names using a loop wouldn't?
> 
>  I need to keep somehow declaratively the files read in by kate at
> start up, so I thought of using an array:
> #
> _FL1="file1_ps_-aux.txt"; sudo ps -aux > "${_FL1}"
> _FL2="file2_dmesg.txt"; sudo dmesg > "${_FL2}"
> _FL3="file3_printenv.txt"; sudo printenv > "${_FL3}"
> 

It's going to be quoting.

Here's a readable way to do this which largely avoids the
quoting problem:

TD=`mktemp -d`
pushd $TD
_FL1="file1_ps_-aux.txt"; sudo ps -aux > "${_FL1}"
_FL2="file2_dmesg.txt"; sudo dmesg > "${_FL2}"
_FL3="file3_printenv.txt"; sudo printenv > "${_FL3}"
kate *.txt
popd
rm $TD/*
rmdir $TD



Re: Lanzamiento de Debian 12 Bookworm

2023-06-08 Thread Ismael L. Donis Garcia
- Original Message - 
From: "hubble" 

To: 
Cc: 
Sent: Thursday, June 08, 2023 12:13 PM
Subject: Re:


On Tue, 6 Jun 2023 09:29:57 +0200
Camaleón  wrote:


El 2023-06-05 a las 21:30 +0100, José Manuel (Abogado) escribió:

> El 5/6/23 a las 16:24, Camaleón escribió:
> > El 2023-06-05 a las 09:00 -0500, Eliecer Rangel escribió:
> >
> > > Esperando con ansías el lanzamiento de Debian 12 Bookworm, este 
> > > sábado 10

> > > de Junio del 2023.
> > >
> > > Fuente oficial de la noticia:
> > > https://wiki.debian.org/ReleasePartyBookworm
> > Pues sale con 100 BUGS conocidos :-/
> >
> > https://www.phoronix.com/news/Debian-12-Next-Week
> >
> > Sugerencias a quien vaya a instalarlo:
> >
> > 1. Que espere a que salga la primera «point release» (un mes más 
> > tarde)

> > 2. Que LEA BIEN las notas de la versión para evitar sustos y desastres
> >
> Hola
> Que nos recomiendas para los que tenemos en los repositorios puesto la
> palabra stable en vez de bullseye
> Gracias

Si quieres mnatener la versión que tienes (Debian 11), cambia YA los
repos para que apunten a Bullseye.

Si quieres actualizar a la nueva versión Bookworm (Debian 12), hacer
una copia de los datos que sean importantes y no quieras perder y
seguir las indicaciones de las Notas de la versión:

Chapter 4. Upgrades from Debian 11 (bullseye)
https://www.debian.org/releases/testing/amd64/release-notes/ch-upgrading.en.html

Capítulo 4. Actualizaciones desde Debian 11 (bullseye)
https://www.debian.org/releases/testing/amd64/release-notes/ch-upgrading.es.html

Yo estoy con Debian 11, pero no voy a actualizar porque tengo varios
equipos y servidores y prefiero actualizar cada 4/5 años.

Cuando tenga que «actualizar¹», lo que hago es lo siguiente:

1. Descargo una LiveCD de la versión de Debian que quiero instalar,
y la cargo para descartar problemas con el hardware (mis equipos son
viejitos y el kernel puede ponerse farruco).

2. Si todo va bien, descargo la miniISO (para los servidores) y el CD de
instalación de XFCE (para estaciones de trabajo) e instalo la nueva
versión de Debian desde cero, en una partición aparte.

3. Tras instalar todas las aplicaciones de nuevo, copio los datos al nuevo
sistema y listo.

Ventajas: mínimos problemas de compatibilidad, tengo redundancia de
datos y sistemas operativos.

Inconvenientes: pierto el 50% de espacio en disco duro, ya que siempre
tengo dos sistemas operativos funcionales e independientes, pero con el
tamaño de los discos actuales casi que es mejor así, no me gustan las
particiones gordas en exceso. También en un sistema labrioso y costoso
en tiempo pero desde que uso Debian me ha funcionado sin problemas.

¹Yo nunca actualizo, instalo desde cero los sistemas operativos.

Saludos,

--
Camaleón




Sólo informar que tengo un portatil ASUS br1100FKA (uno de esos portàtiles 
educativos cautivo de M$).
En dicho portatil sólo pude ejectutar e instalar UBUNTU porque el kernel de 
debian en sus imágenes de instalación no se llevaba bien con la bios y 
>algún componente y no llegaba ni tan solo al menu de grub.

Ahora he probado la live de debian y he de decir que ha arrancado.
Puede que haya sido sólo la live y que cuando quiera hacer una instalación 
resulte que no funciona, ya en su momento lo comentaré (esperaré a que 
>quiten esos 100 bugs que comentaba camaleon).
Pero ni la live debian-live-11.2.0-amd64-kde.iso ni el CD standard de 
instalación llegaba a arrancar el grub y 
debian-live-bkworm-DI-rc4-amd64->kde.iso sí que lo hace.



saludos
--


Por lo que comentas debe ser un problema con los firmware y las versiones 
previas


Si ya tienes cierto dominio de linux y usas X11 puedes actualizar que no 
debes tener problemas mayores


Yo ya actualice y todo me ha ido sin problemas

Saludos
--
Ismael




Re: Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 06:07:28PM +, Albretch Mueller wrote:
>  Why would:
> 
> kate "file1_ps_-aux.txt" "file2_dmesg.txt" "file3_printenv.txt" &
> 
> kate "${_FL1}" "${_FL2}" "${_FL3}" &
> 
>  work?, but stringing the file names using a loop wouldn't?

Not sure what "stringing" means here.

>  I need to keep somehow declaratively the files read in by kate at
> start up, so I thought of using an array:

Yes.  Use an array.

> _KSX_AR=(
> "${_FL1}"
> "${_FL2}"
> "${_FL3}"
> )

kate "${_KSX_AR[@]}" &

See also  and
.



Re: Running Debian without initramfs?

2023-06-08 Thread Mike Castle
On Thu, Jun 8, 2023 at 10:50 AM Greg Wooledge  wrote:
> Merged-usr is officially mandated for bookworm, and upgrades to bookworm
> will do the merge, if it hasn't already happened.

End of an era.  My first Linux system (predating the existence of
Debian), mounted /usr over NFS over PLIP.

I couldn't afford a large enough harddrive for the second system, nor
ethernet cards (and a local shop was going to charge me $50 to make a
crossover cable if I went that route!).



Anyway, I think it is also pretty common to install merged-usr on LVM
as well, which I think is another reason to need initramfs.

mrc



Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-08 Thread Albretch Mueller
 Why would:

kate "file1_ps_-aux.txt" "file2_dmesg.txt" "file3_printenv.txt" &

kate "${_FL1}" "${_FL2}" "${_FL3}" &

 work?, but stringing the file names using a loop wouldn't?

 I need to keep somehow declaratively the files read in by kate at
start up, so I thought of using an array:
#
_FL1="file1_ps_-aux.txt"; sudo ps -aux > "${_FL1}"
_FL2="file2_dmesg.txt"; sudo dmesg > "${_FL2}"
_FL3="file3_printenv.txt"; sudo printenv > "${_FL3}"

ls -l "file"*".txt"; wc -l "file"*".txt"

_KSX_AR=(
"${_FL1}"
"${_FL2}"
"${_FL3}"
)
_KSX_AR_L=${#_KSX_AR[@]}
echo "// __ \$_KSX_AR_L: |$_KSX_AR_L|"

# kate session files to be opened
_KSX=""

if [[ ${_KSX_AR_L} > 0 ]]; then
 if [[ -f "${_KSX_AR[0]}" ]]; then
  _KSX="\"${_KSX_AR[0]}\""
  if [[ ${_KSX_AR_L} > 1 ]]; then
   for(( _IX=1; _IX<${_KSX_AR_L}; ++_IX )); do
if [[ -f "${_KSX_AR[_IX]}" ]]; then
 _KSX="${_KSX} \"${_KSX_AR[$_IX]}\""
 echo "// __ [$_IX/$_KSX_AR_L): |${_KSX}|"
fi
   done
  fi
 fi
fi

#
echo "// __ \${_KSX}: |${_KSX}|"

# this doesn't seem to work
kate "${_KSX}" &

lbrtchx



Re: Running Debian without initramfs?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 06:34:36PM +0100, Tim Woodall wrote:
> IIUC trixy will enforce merged-usr, it's optional until then. (bicbw, it
> might be bookworm that will enforce it - all my systems are already
> merged and I don't run testing)

Merged-usr is officially mandated for bookworm, and upgrades to bookworm
will do the merge, if it hasn't already happened.

:

In February 2021, the Technical Committee has resolved that Debian
'bookworm' should support only the merged-usr root filesystem layout,
dropping support for the non-merged-usr layout. (978636)

The transition started on September 17th, 2022, by making
init-system-helpers depend on usrmerge.



Re: Running Debian without initramfs?

2023-06-08 Thread Tim Woodall

On Thu, 8 Jun 2023, James Addison wrote:


Hi folks,

Does anyone have experience running Debian systems without using an initramfs?

I'd be particularly keen to hear about laptop/desktop/server systems,
because I think that a large motivating factor to use initramfs --
across many distributions -- was to provide a mechanism
outside-the-compiled-kernel to load additional device driver modules,
and I'd like to check that that motivation is still valid.

Thanks,
James


I don't know for certain but I think running without initramfs is
'unsupported'. Some of the discussion around merged-usr has been
predicated on /usr always being mounted.

If you want to do this then at the very least I think /usr will have to
be on the root filesystem and I don't know if it will be possible at all
without a custom kernel.

IIUC trixy will enforce merged-usr, it's optional until then. (bicbw, it
might be bookworm that will enforce it - all my systems are already
merged and I don't run testing)



scanner usb "blacklisté"

2023-06-08 Thread Kohler Gerard

bonjour,

depuis 2 jours j'ai un problème sérieux avec un scanner je n'arrive pas 
à me connecter dessus.


je travalle avec depuis plus de 5 ans sans problème.

configuration :
Debian 11
kernel 5.10.0-18-amd64
scanner Epson V800

logiciel : VueScan à jour

il est bien reconnu lors de la commande lsusb :

$lsusb
Bus 005 Device 005: ID 04b8:0151 Seiko Epson Corp. Perfection V800 Photo

il marche parfaitement sous Windows et avec mon portable sous Debian,

l'installation des programmes Epson (iscan et epsonscan2) ne change rien.

est-ce un verrou ?

je suis bien dans  le groupe scanner

comment chercher ?


merci pour votre aide

G. Kohler



--
==
https://www.leregardduchat.fr/
==



Re:

2023-06-08 Thread hubble
On Tue, 6 Jun 2023 09:29:57 +0200
Camaleón  wrote:

> El 2023-06-05 a las 21:30 +0100, José Manuel (Abogado) escribió:
> 
> > El 5/6/23 a las 16:24, Camaleón escribió:
> > > El 2023-06-05 a las 09:00 -0500, Eliecer Rangel escribió:
> > > 
> > > > Esperando con ansías el lanzamiento de Debian 12 Bookworm, este sábado 
> > > > 10
> > > > de Junio del 2023.
> > > > 
> > > > Fuente oficial de la noticia:
> > > > https://wiki.debian.org/ReleasePartyBookworm
> > > Pues sale con 100 BUGS conocidos :-/
> > > 
> > > https://www.phoronix.com/news/Debian-12-Next-Week
> > > 
> > > Sugerencias a quien vaya a instalarlo:
> > > 
> > > 1. Que espere a que salga la primera «point release» (un mes más tarde)
> > > 2. Que LEA BIEN las notas de la versión para evitar sustos y desastres
> > > 
> > Hola
> > Que nos recomiendas para los que tenemos en los repositorios puesto la
> > palabra stable en vez de bullseye
> > Gracias
> 
> Si quieres mnatener la versión que tienes (Debian 11), cambia YA los 
> repos para que apunten a Bullseye.
> 
> Si quieres actualizar a la nueva versión Bookworm (Debian 12), hacer 
> una copia de los datos que sean importantes y no quieras perder y 
> seguir las indicaciones de las Notas de la versión:
> 
> Chapter 4. Upgrades from Debian 11 (bullseye)
> https://www.debian.org/releases/testing/amd64/release-notes/ch-upgrading.en.html
> 
> Capítulo 4. Actualizaciones desde Debian 11 (bullseye)
> https://www.debian.org/releases/testing/amd64/release-notes/ch-upgrading.es.html
> 
> Yo estoy con Debian 11, pero no voy a actualizar porque tengo varios 
> equipos y servidores y prefiero actualizar cada 4/5 años.
> 
> Cuando tenga que «actualizar¹», lo que hago es lo siguiente:
> 
> 1. Descargo una LiveCD de la versión de Debian que quiero instalar, 
> y la cargo para descartar problemas con el hardware (mis equipos son 
> viejitos y el kernel puede ponerse farruco).
> 
> 2. Si todo va bien, descargo la miniISO (para los servidores) y el CD de
> instalación de XFCE (para estaciones de trabajo) e instalo la nueva 
> versión de Debian desde cero, en una partición aparte.
> 
> 3. Tras instalar todas las aplicaciones de nuevo, copio los datos al nuevo
> sistema y listo.
> 
> Ventajas: mínimos problemas de compatibilidad, tengo redundancia de 
> datos y sistemas operativos.
> 
> Inconvenientes: pierto el 50% de espacio en disco duro, ya que siempre 
> tengo dos sistemas operativos funcionales e independientes, pero con el 
> tamaño de los discos actuales casi que es mejor así, no me gustan las 
> particiones gordas en exceso. También en un sistema labrioso y costoso 
> en tiempo pero desde que uso Debian me ha funcionado sin problemas. 
> 
> ¹Yo nunca actualizo, instalo desde cero los sistemas operativos.
> 
> Saludos,
> 
> -- 
> Camaleón 
> 

Sólo informar que tengo un portatil ASUS br1100FKA (uno de esos portàtiles 
educativos cautivo de M$).
En dicho portatil sólo pude ejectutar e instalar UBUNTU porque el kernel de 
debian en sus imágenes de instalación no se llevaba bien con la bios y algún 
componente y no llegaba ni tan solo al menu de grub.
Ahora he probado la live de debian y he de decir que ha arrancado.
Puede que haya sido sólo la live y que cuando quiera hacer una instalación 
resulte que no funciona, ya en su momento lo comentaré (esperaré a que quiten 
esos 100 bugs que comentaba camaleon).
Pero ni la live debian-live-11.2.0-amd64-kde.iso ni el CD standard de 
instalación llegaba a arrancar el grub y 
debian-live-bkworm-DI-rc4-amd64-kde.iso sí que lo hace.

saludos
-- 



Re: Running Debian without initramfs?

2023-06-08 Thread Michel Verdier
On 2023-06-08, James Addison wrote:

> Does anyone have experience running Debian systems without using an initramfs?
>
> I'd be particularly keen to hear about laptop/desktop/server systems,
> because I think that a large motivating factor to use initramfs --
> across many distributions -- was to provide a mechanism
> outside-the-compiled-kernel to load additional device driver modules,
> and I'd like to check that that motivation is still valid.

I once compiled custom kernels for servers, including all (and only)
necessary drivers, and deactivating initramfs. I succesfully redo this
recently. It gave a smaller and quicker boot. But now I get back to
initramfs for encrypted partitions. There is also the microcode early
loading.



Re: 60-serial.rules, broken

2023-06-08 Thread gene heskett

On 6/7/23 14:44, Sascha Silbe wrote:

Hello Gene,

gene heskett  writes:


Greetings all;

/dev/serial/by-id has not been created for quite some time. [...]


That's Debian#1035094 [1]. A fix was uploaded three weeks ago and is
available in bullseye-proposed-updates [2] but not the regular Bullseye
repository. If I understand the status page [3] correctly it's only
scheduled for the next point release. Given that there already was a
point release recently (11.7 on 2023-05-01) it will probably another
couple of months until this bug gets fixed in bullseye. :-/

Might be worth it to add proposed-updates to the APT sources and use APT
pinning to update only systemd.

Not sure if it's fixed in Bookworm already. The upstream fix went in at
v253. Bookworm is at 252.6 which doesn't exist as a tag in the upstream
repo so I cannot check if the fix was backported.

Sascha

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035094
[2] http://ftp.us.debian.org/debian/dists/bullseye-proposed-updates/
[3] https://release.debian.org/proposed-updates/stable.html


I couldn't figure how to dl the file, so I snapshoted the diff screen 
from [1], and will compare it to what I have from the patch, which it 
appears I have not done to this machine, as I have /dev/serial/by-path 
only here, no by-id.  This bug is a showstopper for users of 3d printers.


Take care & stay well Sascha.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: 60-serial.rules, broken

2023-06-08 Thread gene heskett

On 6/7/23 14:37, Sascha Silbe wrote:

Hello Gene,

gene heskett  writes:


Greetings all;

/dev/serial/by-id has not been created for quite some time. [...]


That's Debian#1035094 [1]. A fix was uploaded three weeks ago and is
available in bullseye-proposed-updates [2] but not the regular Bullseye
repository. If I understand the status page [3] correctly it's only
scheduled for the next point release. Given that there already was a
point release recently (11.7 on 2023-05-01) it will probably another
couple of months until this bug gets fixed in bullseye. :-/

Might be worth it to add proposed-updates to the APT sources and use APT
pinning to update only systemd.

Not sure if it's fixed in Bookworm already. The upstream fix went in at
v253. Bookworm is at 252.6 which doesn't exist as a tag in the upstream
repo so I cannot check if the fix was backported.

Sascha

That is most unfortunate for 3d printer users, our support group on 
discord is blowing up with the problems this is cause for klipper users, 
can its priority be raised?  We use it because that gives us a 
bulletproof method using the devices ChipID, which is totally unique, 
like MAC addresses.



[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035094
[2] http://ftp.us.debian.org/debian/dists/bullseye-proposed-updates/
[3] https://release.debian.org/proposed-updates/stable.html


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: 60-serial.rules, broken

2023-06-08 Thread gene heskett

On 6/7/23 14:04, Darac Marjal wrote:


On 07/06/2023 15:37, gene heskett wrote:

Greetings all;

/dev/serial/by-id has not been created for quite some time. The arm 
folks have had a patch script for quite a while but it has not been 
fixed in debian that we know of. I have 4 identical banana pi's, 3 of 
which seem to work, but the patch has not fixed the 4th on for some 
unk reason.


When a serial device is plugged into a usb point, /dev/ttyACM# is 
created on all 4 machines, but /dev/serial/by-id entries are not. Some 
of the 3d printer stuff uses that by-id thing to separate printers 
plugged into the same host, and the lack of a /dev/serial entry kills 
the 3d printer drivers.


Can anyone give us a hint as to when this will be addressed?


Hi Gene,

The subject suggest that it's "60-serial.rules" which is broken. This 
would be a udev rules file.


If you know the contents of the patch, couldn't you just create your own 
rules file which implements this patch? Is there any particular reason 
why you need to wait for Debian to make the change?


As an addemdum to my previous reply, I just check this machine running 
bullseye, and I have /dev/serial/by-path with several devices, but no 
/dev/serial/by-id directory exists, so fixing this bug will fix most of 
the debian world.


Thanks.

Cheers, Gene Heskett.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 04:51:44PM +0200, Roger Price wrote:
> I used to type "import foo.jpg" but got into the habit of typing "import
> /tmp/foo" which produces the error message.
> 
> So this afternoon I went back to typing "import foo.jpg" and this works
> correctly, exactly as expected.  Thanks.  Roger
> 
> PS I would have expected a PostScript file by default but now that I know
> that I must specify an acceptable image type, I don't complain.  The man
> page says “By default, 'file' is written in the Postscript image format.

Ahhh.  Now it all makes sense.  The default PostScript image type is
not allowed by policy, so you get this error if you don't specify any
image type, either implicitly with a filename dot-extension, or
explicitly with some ImageMagick command option.



Re: 60-serial.rules, broken

2023-06-08 Thread gene heskett

On 6/7/23 14:04, Darac Marjal wrote:


On 07/06/2023 15:37, gene heskett wrote:

Greetings all;

/dev/serial/by-id has not been created for quite some time. The arm 
folks have had a patch script for quite a while but it has not been 
fixed in debian that we know of. I have 4 identical banana pi's, 3 of 
which seem to work, but the patch has not fixed the 4th on for some 
unk reason.


When a serial device is plugged into a usb point, /dev/ttyACM# is 
created on all 4 machines, but /dev/serial/by-id entries are not. Some 
of the 3d printer stuff uses that by-id thing to separate printers 
plugged into the same host, and the lack of a /dev/serial entry kills 
the 3d printer drivers.


Can anyone give us a hint as to when this will be addressed?


Hi Gene,

The subject suggest that it's "60-serial.rules" which is broken. This 
would be a udev rules file.


If you know the contents of the patch, couldn't you just create your own 
rules file which implements this patch? Is there any particular reason 
why you need to wait for Debian to make the change?


biggest reason is to prevent its (60-serial.rules) being overwritten by 
an update if apt discovers we've overwritten its broken defaults, or if 
replaced, is replaced by an even better version.  This bug has caused 
all users of 3d printers that have replaced the marlin gcode interpreter 
in their printers with the faster, more capable klipper, which I'd 
estimate is about 50% of the serious 3d printer users. I have 4, 
supposedly identical banana pi's, 3 of which this patch fixes, but the 
4th one must have something blown, it does create /dev/ttyACM0 but does 
not create the matching /dev/serial/by-id device when a printer is 
plugged in.


All 4 are uptodate as of yesterday as armbian bullseye uses your arm64 
repo's.  That and I have little understanding of how udev works, so I'll 
let the real udev coders handle that. I am 1 user with several machines, 
an update to that file that fixes this bug, would fix everyone.


Take care & stay well Darac.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Running Debian without initramfs?

2023-06-08 Thread Sven Joachim
On 2023-06-08 15:41 +0100, James Addison wrote:

> Does anyone have experience running Debian systems without using an initramfs?

I did this in the distance past, some 15 years ago or so.  Have long
abandoned that idea, though.

> I'd be particularly keen to hear about laptop/desktop/server systems,
> because I think that a large motivating factor to use initramfs --
> across many distributions -- was to provide a mechanism
> outside-the-compiled-kernel to load additional device driver modules,
> and I'd like to check that that motivation is still valid.

s/device driver//

Loading modules via an intramfs is crucial for a distro kernel, because
the only alternative would be to compile in support for dozens of
filesystems that users might want to use as their root filesystem.

Cheers,
   Sven



Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Roger Price

On Thu, 8 Jun 2023, Greg Wooledge wrote:


Roger, what is the full command that you used?  When I tested with
"import foo.png" it worked as expected.


Previously I used to type "import foo.jpg" but got into the habit of typing 
"import /tmp/foo" which I now understand produces the error message.


So this afternoon I went back to typing "import foo.jpg" and this works 
correctly, exactly as expected.  Thanks.  Roger


PS I would have expected a PostScript file by default but now that I know that I 
must specify an acceptable image type, I don't complain. The man page says “By 
default, 'file' is written in the Postscript image format.  To specify a 
particular image format, precede the filename with an image format name and a 
colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. 
image.ps).”





Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Roger Price

On Thu, 8 Jun 2023, Greg Wooledge wrote:


Roger, what is the full command that you used?  When I tested with
"import foo.png" it worked as expected.


I used to type "import foo.jpg" but got into the habit of typing "import 
/tmp/foo" which produces the error message.


So this afternoon I went back to typing "import foo.jpg" and this works 
correctly, exactly as expected.  Thanks.  Roger


PS I would have expected a PostScript file by default but now that I know that I 
must specify an acceptable image type, I don't complain.  The man page says “By 
default, 'file' is written in the Postscript image format.  To specify a 
particular image format, precede the filename with an image format name and a 
colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. 
image.ps).”

Re: Firefox resource utilization (was Re: A case for supporting antiquated hardware, was Re: A hypervisor for a headless server?)

2023-06-08 Thread Nicolas George
ce (12023-06-08):
> What about ads for car insurance?

Yes, what about them? What do you think they have special?

(Hint: an ad for a car insurance is not to convince you to subscribe to
any insurance rather than none, it is to convince you to subscribe to
this insurance rather than any other.)

-- 
  Nicolas George


signature.asc
Description: PGP signature


Running Debian without initramfs?

2023-06-08 Thread James Addison
Hi folks,

Does anyone have experience running Debian systems without using an initramfs?

I'd be particularly keen to hear about laptop/desktop/server systems,
because I think that a large motivating factor to use initramfs --
across many distributions -- was to provide a mechanism
outside-the-compiled-kernel to load additional device driver modules,
and I'd like to check that that motivation is still valid.

Thanks,
James



Re: Firefox resource utilization (was Re: A case for supporting antiquated hardware, was Re: A hypervisor for a headless server?)

2023-06-08 Thread ce

On 6/8/23 01:34, to...@tuxteam.de wrote:
Ad industry /is/ about convincing people to do things which 
potentially damage them. So it is deceptive by design. Read up on Big 
Tobacco for a good example.

What about ads for car insurance?



Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Thomas Schmitt
Hi,

Greg Wooledge wrote:
> You must have got a completely different set of Google results than I did.

That's a known effect from Google watching people digging in the web.
But maybe this time it's only the search string. I entered

  attempt to perform an operation not allowed by the security  policy `PS'

At the same input now i get indeed a link to a Python problem that caused
Imagemagick's "import" to be run by mistake and to issue the policy
message. But the vast majority still points to the configuration in
  /etc/ImageMagick-[67]/policy.xml

This here looks like a quite educated description of the PS refusal:

  
https://en.linuxportal.info/tutorials/troubleshooting/how-to-fix-errors-from-imagemagick-imagick-conversion-system-security-policy

ending with

  "The cause of the problem
   [...] A vulnerability was found in the program, which was first
   remedied by disabling access to the file formats in question in the
   config file above. Later, the bug was fixed correctly, a security
   update was released, but the security rules were not restored.
   [...]
   https://security-tracker.debian.org/tracker/source-package/imagemagick
   [...] CVE-2019-13300, CVE-2019-13304, CVE-2019-13306, CVE-2019-13307,
   CVE-2019-15140, CVE-2019-19948"


Have a nice day :)

Thomas



Testing webkitgtk update for buster

2023-06-08 Thread Emilio Pozuelo Monfort

Hi,

I'm preparing an update of WebKitGTK+ 2.40 for buster. The current series, 2.38, 
is now end-of-life upstream, and won't receive any more security updates. Since 
this is a library used by many packages, I'd appreciate any help testing it. If 
you are using Debian 10 buster and webkit2gtk, I'd appreciate any feedback on 
the update.


I have prepared a repository at

  deb [allow-insecure=yes] https://people.debian.org/~pochu/lts/webkit/ ./

(the allow-insecure could be dropped if you make apt trust my GPG key 
709CA6C7EBE6259C5DF7643E9D46C488E4368302).


There's a known regression with evolution, so I prepared an update for it to 
work with the newer webkit (included in the repo).


I'd appreciate some testing of any webkit applications (epiphany-browser, 
evolution...) that you can.


If all goes well, I'll update webkit in buster soon.

Please Cc me on any replies.

Thanks,
Emilio



Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 02:39:11PM +0200, Thomas Schmitt wrote:
> Hi,
> 
> Roger Price wrote:
> > >  import-im6.q16: attempt to perform an operation not allowed by the 
> > > security
> > >  policy `PS' @ error/constitute.c/IsCoderAuthorized/421.
> 
> Greg Wooledge wrote:
> > I tried googling the error message, and I get extremely confusing results,
> > but as near as I can tell, the fundamental issue seems to be a name
> > conflict between the iport(1) shell command (/usr/bin/import) and the
> > Python "import" command for using modules.
> 
> Google gives me the impression that the error message has to do with the
> type of image to be created.
> I see matching reports about "policy `PDF'" pointing to file
>   /etc/ImageMagick-6/policy.xml
> which might contain lines like
>   
> 
> See for example
>   
> https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion
>   https://suay.site/?p=2369=noscript

Fascinating.  You must have got a completely different set of Google
results than I did.

Roger, what is the full command that you used?  When I tested with
"import foo.png" it worked as expected.



Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Thomas Schmitt
Hi,

Roger Price wrote:
> >  import-im6.q16: attempt to perform an operation not allowed by the security
> >  policy `PS' @ error/constitute.c/IsCoderAuthorized/421.

Greg Wooledge wrote:
> I tried googling the error message, and I get extremely confusing results,
> but as near as I can tell, the fundamental issue seems to be a name
> conflict between the iport(1) shell command (/usr/bin/import) and the
> Python "import" command for using modules.

Google gives me the impression that the error message has to do with the
type of image to be created.
I see matching reports about "policy `PDF'" pointing to file
  /etc/ImageMagick-6/policy.xml
which might contain lines like
  

See for example
  
https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion
  https://suay.site/?p=2369=noscript


Have a nice day :)

Thomas



Re: Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Greg Wooledge
On Thu, Jun 08, 2023 at 02:06:12PM +0200, Roger Price wrote:
> I use the import program provided by Debian 11 (bullseye) to grab parts of
> the screen.  This worked well but I was having difficulty remembering that
> "import" means "screen-grab".  So as root I set up the soft link
> 
>  ln -s /usr/bin/import /usr/bin/screen-grab
> 
> Now, whenever I try to run screen-grab or import or import-im6.q16 I get the
> error message:
> 
>  import-im6.q16: attempt to perform an operation not allowed by the security
>  policy `PS' @ error/constitute.c/IsCoderAuthorized/421.
> 
> So I removed the link, but calls to import still produce the error message.

Creating that symlink has nothing to do with this problem... whatever
this problem is.

I tried googling the error message, and I get extremely confusing results,
but as near as I can tell, the fundamental issue seems to be a name
conflict between the iport(1) shell command (/usr/bin/import) and the
Python "import" command for using modules.

Are you trying to run import from inside a python interpreter, or a
python virtual env?  If so, that might be part of it.  Otherwise, I'm
at a loss.



Link to import-im6.q16 not allowed by security policy ?

2023-06-08 Thread Roger Price
I use the import program provided by Debian 11 (bullseye) to grab parts of the 
screen.  This worked well but I was having difficulty remembering that "import" 
means "screen-grab".  So as root I set up the soft link


 ln -s /usr/bin/import /usr/bin/screen-grab

Now, whenever I try to run screen-grab or import or import-im6.q16 I get the 
error message:


 import-im6.q16: attempt to perform an operation not allowed by the security
 policy `PS' @ error/constitute.c/IsCoderAuthorized/421.

So I removed the link, but calls to import still produce the error message.

How can I get back to the original behaviour?  Where should I start 
looking?


Roger



Re: Le renouvellement automatique Letsencrypt échoue [RESOLU]

2023-06-08 Thread Michel Verdier
Le 8 juin 2023 Olivier a écrit :

> Chacun pourra retenir que la configuration Apache2 influe sur le
> fonctionnement de Certbot (c'est évident pour beaucoup mais c'est
> mieux en le rappelant).

Je lance certbot en cron.daily, ça permet d'avoir l'erreur éventuelle dès
la modif et donc de ne pas l'oublier



Re: Le renouvellement automatique Letsencrypt échoue [RESOLU]

2023-06-08 Thread Olivier
Il y a quelques semaines, j'ai utilisé la machine hébergeant l'appli
web pour la préparer à l'installation d'une autre appli web.

En supprimant d'Apache2 (avec a2dissite ) cette autre
appli, le renouvellement du certificat est passé tout seul.

Merci à tous pour votre aide.

Chacun pourra retenir que la configuration Apache2 influe sur le
fonctionnement de Certbot (c'est évident pour beaucoup mais c'est
mieux en le rappelant).