Re: Boot issue

2023-08-27 Thread David Wright
On Sun 27 Aug 2023 at 14:27:09 (-0500), Tom Browder wrote:
> On Sun, Aug 27, 2023 at 13:27 Greg Wooledge  wrote:
> 
> > On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> > > When I boot the system, then the drives are not mounted as set in
> > /etc/fstab.
> > > For example, the SDD should mounted to /space, and the unencrypted HDD
> 
> ...
> 
> > Use UUIDs or Labels instead.  These won't change, while the device names
> > *will* change.
> 
> 
> Please remind me of when they might change.

As and when the kernel discovers them, ie at boot for those fitted,
and when you plug them is for any others.

> I'm pretty sure on my latest
> host the debian installer used /dev/sda (and partions 1 and 2) instead of a
> label or UUID.

It might be possible to mistakenly read /etc/fstab as showing that,
because of the comment line above the active line:

  #
  # / was on /dev/sda4 during installation
  UUID=a1b2c3d4-e5f6-1234-dcba-a1b2c3d4e5f6 /   ext4
errors=remount-ro 0   1
  /dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0   0

BTW I've not seen the d-i use LABELs, I presume because it can't be
certain that they're always going to be unique.

> Of course I do want to add drives eventually, so maybe I do need to change
> to do that safely.

Some computers can give the user a rude awakening when the kernel
unexpectedly discovers a plugged-in device before the internal drive.

Cheers,
David.



Re: LaTex Unicode entry issues

2023-08-27 Thread Max Nikulin

On 27/08/2023 10:23, David wrote:

On Sun, 2023-08-27 at 10:16 +0700, Max Nikulin wrote:

On 26/08/2023 19:08, Haines Brown wrote:

\documentclass[12pt]{article} %
\usepackage[utf8]{inputenc} %
\usepackage[T1]{fontenc} %
\usepackage[greek,english]{babel} % to make Greek charactes
available


It seems, you are overestimating effect. You still need to provide
fontenc containing Greek characters. Unless you have real reasons to
avoid LuaTeX, I recommend you to use lualatex instead of pdflatex.


To be clear, babel does some high level job: loading hyphenation 
patterns, configures \selectlanguage and \foreignlanguage commands. If I 
read docs in /usr/share/doc/texlive-doc/generic/babel-greek/ correctly, 
to allow "Ω" and other Greek letters in PdfLaTeX, it is necessary to add


\usepackage{textalpha}

The fontenc package may map ASCII characters to Greek letters.


No need for any of it, just insert --- for an em dash and -- for an en
dash with numbers.


I do not see a real reason to prohibit Unicode "—" EM DASH character 
nowadays. Moreover, dashes and spaces around them depends on particular 
language. Likely it is not the case of Greek however. There are variety 
of dashes besides --- and --:


\cdash--- ”--- Cyrillic emdash in plain text.
\cdash--~ ”--~ Cyrillic emdash in compound names (as in
   Mendeleev”--~Klapeiron).
\cdash--* ”--* Cyrillic emdash for denoting direct speech.

As to LuaLaTeX, CMU (Computer Modern Unicode) fonts has better coverage 
of various characters than default Latin Modern fonts


\usepackage{fontspec}
\setmainfont{CMU Serif}
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}

I can say nothing concerning its quality in respect to printed documents 
in comparison to DejaVu or Noto.




Re: AW: Debugging initramfs, server hangs during boot process

2023-08-27 Thread Max Nikulin

On 28/08/2023 05:19, thah...@t-online.de wrote:

It hangs in /usr/share/initramfs-tools/scripts/init-top/udev


Unsure if it is related or not (I have not tried to debug it), but I 
have noticed some issues with laptop boot when a USB hub with a keyboard 
and a mouse is connected. It might be an unreliable connector inside the 
hub, however symptoms with another laptop are more mild.





Problemen met de upgrade van Debian 11 naar 12

2023-08-27 Thread Cecil Westerhof
Ben al veel te lang bezig met de upgrade van Debian 11 naar 12 en moet
nodig onder de wol, dus alleen het meest belangrijke en de rest volgt
later.

Ik had geen kernel 6, maar dat heb ik kunnen oplossen met:
apt install linux-image-amd64 -y

Er is geen spamassassin.service file. Ik heb van alles geprobeerd. Een
reinstall en een remove/install.
Wat vreemd was bij die laatste was dat bij de remove alleen
spamassassin werd verwijderd, maar bij de install ook re2c en
sa-compile werden geïnstalleerd.

Ik heb voor zover ik kan nagaan de boel wel weer aan de praat gekregen
met:
apt install --reinstall spamd

Wordt er geen spamassassin.service meer gebruikt, maar enkel een
spamd.service?

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



Re: Safing.io

2023-08-27 Thread Tom Browder
On Sat, Aug 26, 2023 at 17:26 Nate Bargmann  wrote:

> * On 2023 26 Aug 14:27 -0500, Tom Browder wrote:
> > I was watching a Linux distro video on YouTube this morning, and one of
> the
> > sponsors was Safin.io which hosts a multi-


Erg, typo, should be: safing.io

-Tom


AW: Debugging initramfs, server hangs during boot process

2023-08-27 Thread thah...@t-online.de
The udev script is from the udev package


-Original-Nachricht-
Betreff: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-28T00:20:33+0200
Von: "thah...@t-online.de" 
An: "debian user" 

It hangs in /usr/share/initramfs-tools/scripts/init-top/udev

The 2nd last udev call hangs my box
udevadm trigger --type=devices --action=add

This initramfs stuff hasn't changed since July 2022, so the real problem must 
be inside udev
To narrow it down  I have added echo and sleep statements

If I print out the contents of the initramfs-tools-core package, than the udev 
script is not present

But it is just a first step, as the commented "udevadm trigger --type=devices 
--action=add"
does not hang the system, but without it I cannot use the keyboard to unlock 
the crypted root.

Sigh!


-Original-Nachricht-
Betreff: Re: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-26T13:45:19+0200
Von: "Michel Verdier" 
An: "debian-user@lists.debian.org" 

On 2023-08-26, thah...@t-online.de wrote:

> Tried with clocksourche=hpet
> Now the Switched to clocksouce tsc is missing and the last line is
> clocksource: tsc: mask .
> like before the 2nd last line (as to be expected)

On my kernel I always have those 3 lines during boot :

clocksource: tsc: mask: 0x max_cycles: 0x255cb6cc5db, 
max_idle_ns: 440795203504 ns
clocksource: Switched to clocksource tsc
Freeing initrd memory: 26804K

So you appears to freeze when freeing initrd memory







AW: Debugging initramfs, server hangs during boot process

2023-08-27 Thread thah...@t-online.de
It hangs in /usr/share/initramfs-tools/scripts/init-top/udev

The 2nd last udev call hangs my box
udevadm trigger --type=devices --action=add

This initramfs stuff hasn't changed since July 2022, so the real problem must 
be inside udev
To narrow it down  I have added echo and sleep statements

If I print out the contents of the initramfs-tools-core package, than the udev 
script is not present

But it is just a first step, as the commented "udevadm trigger --type=devices 
--action=add"
does not hang the system, but without it I cannot use the keyboard to unlock 
the crypted root.

Sigh!


-Original-Nachricht-
Betreff: Re: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-26T13:45:19+0200
Von: "Michel Verdier" 
An: "debian-user@lists.debian.org" 

On 2023-08-26, thah...@t-online.de wrote:

> Tried with clocksourche=hpet
> Now the Switched to clocksouce tsc is missing and the last line is
> clocksource: tsc: mask .
> like before the 2nd last line (as to be expected)

On my kernel I always have those 3 lines during boot :

clocksource: tsc: mask: 0x max_cycles: 0x255cb6cc5db, 
max_idle_ns: 440795203504 ns
clocksource: Switched to clocksource tsc
Freeing initrd memory: 26804K

So you appears to freeze when freeing initrd memory





Re: Boot issue

2023-08-27 Thread Tom Browder
On Sun, Aug 27, 2023 at 13:27 Greg Wooledge  wrote:

> On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> > When I boot the system, then the drives are not mounted as set in
> /etc/fstab.
> > For example, the SDD should mounted to /space, and the unencrypted HDD

...

> Use UUIDs or Labels instead.  These won't change, while the device names
> *will* change.


Please remind me of when they might change. I'm pretty sure on my latest
host the debian installer used /dev/sda (and partions 1 and 2) instead of a
label or UUID.

Of course I do want to add drives eventually, so maybe I do need to change
to do that safely.

Thanks.

-Tom


[SOLVED] Re: Boot issue

2023-08-27 Thread Hans
I am answering myself. It must be the opened UUID. Looks like this problem is 
solved. 

Thank you all for the fast response! I hope, my question was not too annoying.

But I am very very happy, to get this little issue so easily solved - and 
learned something, too.

Thank you all, you made a man happy!

Best regards

Hans

Am Sonntag, 27. August 2023, 21:12:30 CEST schrieb Hans:
> So, now I added all UUIDs. But I am not quite sure for the enrcypted /home
> partition. The UUID changes when the device is luks-opened.
> 
> Which one must be in the fstab? The one from "lsblk -f /dev/sda4" or
> "lsblk -f /dev/mapper/home"?
> 
> Am Sonntag, 27. August 2023, 20:26:46 CEST schrieb Greg Wooledge:
> > On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> > > When I boot the system, then the drives are not mounted as set in
> > > /etc/fstab. For example, the SDD should mounted to /space, and the
> > > unencrypted HDD shall be mounted to /daten.
> > > 
> > > But it seems, sometimes the mountpoints are not correct, so the SDD is
> > > not
> > > mounted to /space, but to /daten.
> > 
> > This sounds like you used the dynamically assigned device names (e.g.
> > /dev/sda1 and so on) in fstab.  If that's what you did, stop doing that.
> > 
> > Use UUIDs or Labels instead.  These won't change, while the device names
> > *will* change.






Re: Boot issue

2023-08-27 Thread Hans
So, now I added all UUIDs. But I am not quite sure for the enrcypted /home 
partition. The UUID changes when the device is luks-opened.

Which one must be in the fstab? The one from "lsblk -f /dev/sda4" or 
"lsblk -f /dev/mapper/home"?

   

Am Sonntag, 27. August 2023, 20:26:46 CEST schrieb Greg Wooledge:


> On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> > When I boot the system, then the drives are not mounted as set in
> > /etc/fstab. For example, the SDD should mounted to /space, and the
> > unencrypted HDD shall be mounted to /daten.
> > 
> > But it seems, sometimes the mountpoints are not correct, so the SDD is not
> > mounted to /space, but to /daten.
> 
> This sounds like you used the dynamically assigned device names (e.g.
> /dev/sda1 and so on) in fstab.  If that's what you did, stop doing that.
> 
> Use UUIDs or Labels instead.  These won't change, while the device names
> *will* change.






Re: Boot issue

2023-08-27 Thread Hans
Here it is:





# /etc/fstab: static file system information. 
# 
# 
proc/proc   procdefaults0   0 
# /dev/sda3  /  ext4defaults,errors=remount-ro 0   1 
UUID=819bf8ae-a727-4b5e-97f8-007f58e98f74  /ext4
defaults,errors=remount-ro 
0   1 
# /dev/sda1   /boot   ext2defaults0   2 
UUID=069980b1-f1d9-4a11-9e24-147d08b2073f   /boot   ext2
defaults0   2 
# /dev/sda2   noneswapsw  0   0 
UUID=2e42eec8-29ed-41d3-8fa6-2869e32605e4   noneswapsw  
0   0 
/dev/mapper/home /home  ext4defaults0   0 
# /dev/hdd/media/cdrom0   udf,iso9660 user,noauto 0   0 
/dev/cdrom/media/cdrom0   udf,iso9660 user,noauto 0   0 
# /dev/fd0/media/floppy0  autorw,user,noauto  0   0 
# /dev/sda1   /home/ullhan63/games   ext3rw,user,noauto
0  0 
# /dev/disk/by-label/UIT-KEY  /media  vfat
noauto,errors=remount-ro0   0 
/dev/sdc1   /space   ext4defaults0  0






> [...]
> 
> Show us your /etc/fstab.
> 
> Cheers


It might be as Greg mentioned: devicename instead of UUID.

Hans



Re: Boot issue on system with four SATA devices

2023-08-27 Thread Geert Stappers
On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> Dear list, 
> 
> there is a little issue, which I try to solve. On my desptop computer I have 
> 4 
> harddrives:
> 
> SATA 0: HDD 300 GB with Debian + GRUB on MBR (parted in /boot, /, /home 
> (luks), /var (luks) and /usr (luks)
> SATA 1: HDD 300 GB with Win10
> SATA 2: SDD 128 GB (as simple data storage)
> SATA 3: HDD 1,5 TB (as simple data storage, splitted as 1TB encrypted and 500 
> GB unencrypted)
> 
> Now the issue: 
> 
> When I boot the system, then the drives are not mounted as set in /etc/fstab. 

What is the content of the expected /etc/fstab?


> For example, the SDD should mounted to /space, and the unencrypted HDD shall 
> be mounted to /daten.
> 
> But it seems, sometimes the mountpoints are not correct, so the SDD is not 
> mounted to /space, but to /daten.
> 
> Also some harddrives are not recognized at all and I then must boot several 
> times, that all drives and partitions are seen.
> 
> Question one: Is this a problem of the BIOS and motherboard, or a kernel 
> problem? 
> 
> Question two: I remeber to have read, as soon as the kernel hast started (and 
> it is always starting) the BIOS has no more influence to the hardware. Is 
> this 
> correct? If yes, then it is definately a kernel issue. What can I do?

Try to understand what is going on ...

 
> I suppose, if this is a hardware issue (I am thinking of, that there is a 
> timing problem due to speed differences among the slow HDD and the fast SDD), 
> is there anything I can do (except of replacing the HDD with SDD)?

Share with us the content of the /etc/fstab

 
> Any hints welcome!

Subject lines that express that some effort has been made.


> Best regards
> Hans 


Groeten
Geert Stappers
-- 
Silence is hard to parse



Re: Boot issue

2023-08-27 Thread Felix Miata
Hans composed on 2023-08-27 20:19 (UTC+0200):

> When I boot the system, then the drives are not mounted as set in /etc/fstab. 
> For example, the SDD should mounted to /space, and the unencrypted HDD shall 
> be mounted to /daten.

> But it seems, sometimes the mountpoints are not correct, so the SDD is not 
> mounted to /space, but to /daten.

> Also some harddrives are not recognized at all and I then must boot several 
> times, that all drives and partitions are seen.

Please show output from lsblk -f and content of /etc/fstab.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

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

Felix Miata



Re: Boot issue

2023-08-27 Thread tomas
On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> Dear list, 
> 
> there is a little issue, which I try to solve. On my desptop computer I have 
> 4 
> harddrives:
> 
> SATA 0: HDD 300 GB with Debian + GRUB on MBR (parted in /boot, /, /home 
> (luks), /var (luks) and /usr (luks)
> SATA 1: HDD 300 GB with Win10
> SATA 2: SDD 128 GB (as simple data storage)
> SATA 3: HDD 1,5 TB (as simple data storage, splitted as 1TB encrypted and 500 
> GB unencrypted)
> 
> Now the issue: 
> 
> When I boot the system, then the drives are not mounted as set in /etc/fstab. 
> For example, the SDD should mounted to /space, and the unencrypted HDD shall 
> be mounted to /daten.

[...]

Show us your /etc/fstab.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Boot issue

2023-08-27 Thread Greg Wooledge
On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> When I boot the system, then the drives are not mounted as set in /etc/fstab. 
> For example, the SDD should mounted to /space, and the unencrypted HDD shall 
> be mounted to /daten.
> 
> But it seems, sometimes the mountpoints are not correct, so the SDD is not 
> mounted to /space, but to /daten.

This sounds like you used the dynamically assigned device names (e.g.
/dev/sda1 and so on) in fstab.  If that's what you did, stop doing that.

Use UUIDs or Labels instead.  These won't change, while the device names
*will* change.



Re: Boot issue

2023-08-27 Thread Stefan Monnier
> When I boot the system, then the drives are not mounted as set in /etc/fstab. 

I suspect that showing us your `/etc/fstab` would help,


Stefan



Re: dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread tomas
On Sun, Aug 27, 2023 at 02:17:06PM -0400, Jeffrey Walton wrote:

[...]

> The symlink tool works great, too:
> 
> symlink -r / | grep dangling
> 
> You can also delete them, once you verify they are dangling:
> 
> symlink -r -d /
> 
> In fact, it is a recommended post-upgrade step for Fedora. See
> .
> 
> (I'm not arguing with you. I'm just responding to the title change).

Keep those arguments coming :-)

No, seriously. We're in here for learning. I didn't even know about
`symlink'. On the contrary: the more tools in the shop, the merrier.

Cheers
-- 
t


signature.asc
Description: PGP signature


Boot issue

2023-08-27 Thread Hans
Dear list, 

there is a little issue, which I try to solve. On my desptop computer I have 4 
harddrives:

SATA 0: HDD 300 GB with Debian + GRUB on MBR (parted in /boot, /, /home 
(luks), /var (luks) and /usr (luks)
SATA 1: HDD 300 GB with Win10
SATA 2: SDD 128 GB (as simple data storage)
SATA 3: HDD 1,5 TB (as simple data storage, splitted as 1TB encrypted and 500 
GB unencrypted)

Now the issue: 

When I boot the system, then the drives are not mounted as set in /etc/fstab. 
For example, the SDD should mounted to /space, and the unencrypted HDD shall 
be mounted to /daten.

But it seems, sometimes the mountpoints are not correct, so the SDD is not 
mounted to /space, but to /daten.

Also some harddrives are not recognized at all and I then must boot several 
times, that all drives and partitions are seen.

Question one: Is this a problem of the BIOS and motherboard, or a kernel 
problem? 

Question two: I remeber to have read, as soon as the kernel hast started (and 
it is always starting) the BIOS has no more influence to the hardware. Is this 
correct? If yes, then it is definately a kernel issue. What can I do?

I suppose, if this is a hardware issue (I am thinking of, that there is a 
timing problem due to speed differences among the slow HDD and the fast SDD), 
is there anything I can do (except of replacing the HDD with SDD)?

Any hints welcome! It is no burning problem, but I would like to understand, 
what is going on.

Best regards

Hans 





Re: dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread Jeffrey Walton
On Sun, Aug 27, 2023 at 1:10 PM Jörg-Volker Peetz  wrote:
>
> to...@tuxteam.de wrote on 24/08/2023 14:00:
> >
> > A couple of days ago I was searching for dangling symlinks.
> >
> >find . -follow -lname "*"
> >
> How about
> find -L . -type l

The symlink tool works great, too:

symlink -r / | grep dangling

You can also delete them, once you verify they are dangling:

symlink -r -d /

In fact, it is a recommended post-upgrade step for Fedora. See
.

(I'm not arguing with you. I'm just responding to the title change).

Jeff



Re: In OKD (previously OpenShift Origin) Reliable

2023-08-27 Thread Jason

On 25.08.23 17:15, Ahmad Ismail wrote:
This is a little umm question. However, the details are important 
because most probably my whole application infrastructure will be 
dependent on it.


Thanks, very interesting project
https://www.okd.io/

But i can't see any relation to Debian. Do I miss something?

cheers
Jason


OpenPGP_0x0D0C34B5DF58FE9D.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread tomas
On Sun, Aug 27, 2023 at 07:09:36PM +0200, Jörg-Volker Peetz wrote:
> to...@tuxteam.de wrote on 24/08/2023 14:00:
> > 
> > A couple of days ago I was searching for dangling symlinks.
> > 
> >find . -follow -lname "*"
> > 
> How about
>find -L . -type l

Should work, too.

Cheers
-- 
t


signature.asc
Description: PGP signature


dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread Jörg-Volker Peetz

to...@tuxteam.de wrote on 24/08/2023 14:00:


A couple of days ago I was searching for dangling symlinks.

   find . -follow -lname "*"


How about
   find -L . -type l

Regards,
Jörg.




Re: General Questions

2023-08-27 Thread l0f4r0
Hi again,

27 août 2023, 18:46 de l0f...@tuta.io:

>>> ClamAV scan files but data scanned: 0.00 MB, why? I have Debian stable and
>>> use last version of clamav (1.0.1+dfsg-2)
>>> , which is located in debian stable repository.
>>>
I don't think your file has been scanned actually...

Can you provide the command line used?

According to internet, there can be 2 main reasons: either this kind of file is 
not scannable, or its file is bigger than the allowed size.

Maybe you could try:
* clamscan --max-filesize=300M --max-scansize=300M ./your_file.ext
* dd if=./your_file.ext | clamscan -

l0f4r0



Re: General Questions

2023-08-27 Thread l0f4r0
Hello Takota,

>> ClamAV scan files but data scanned: 0.00 MB, why? I have Debian stable and
>> use last version of clamav (1.0.1+dfsg-2)
>> , which is located in debian stable repository.
>>
Maybe someone on this list will be able to help you, otherwise I recommend you 
write to ClamAV dedicated mailing list directly 
(clamav-us...@lists.clamav.net). It's free as well and you can subscribe 
through https://lists.clamav.net/mailman/listinfo/clamav-users

l0f4r0



XFCE and Awesome WM

2023-08-27 Thread Tatoka
Hello again, dear debian user comunity! I just wanna ask you, will any
problems be if i use XFCE and Awesome wm on my Debian Linux? 2 actions can
be:

I use Awesome WM as defautl WM of XFCE insted of xfwm4.
I use Awesome WM and XFCE in differents sessions.
Can I get errors or problems with these 2 actions.

P.S. I very like your XFCE and Awesome WM and I just wanna use them both
but possible problems stop me.


Re: Virtualization under Bookworm

2023-08-27 Thread Stefan Monnier
> What's the current recommendation for someone who just wants to create
> a one-off VM to run Debian under Debian?

Last time I needed such a thing I used LXC.


Stefan



Re: General Questions

2023-08-27 Thread Brad Rogers
On Sun, 27 Aug 2023 17:01:22 +0600
Tatoka  wrote:

Hello Tatoka,

>1. Is Subscribing to mailing list free?

Yes.  All that's needed is a valid email address to sign up with.

>2. I have problem with ClamAv:

Sorry, can't help with that as I have no experience with ClamAV.

-- 
 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?"
This is the fifty first state of the USA
Heartland - The The


pgpeIKypZ_ci_.pgp
Description: OpenPGP digital signature


Re: Trojan

2023-08-27 Thread Brad Rogers
On Sun, 27 Aug 2023 11:20:37 +0100
Alain D D Williams  wrote:

Hello Alain,

>Sorry if I came across as overly cynical.

You didn't.

The same can't be said for me, though.   ;-)

>It would be nice if they also went after the perps/crims behind
>phishing emails‡‡

Not the job of government.  Not directly, I mean.  They have agencies to
deal with that sort of thing.  Almost certainly undermanned and and
under funded.

Plus, of course, when the emails have origins outside the UK's sphere of
influence, there's not really a lot that can be done except trust on the
integrity of relevant authorities in, for example, Russia or Nigeria.

Yeah, well.  We can hope.

>Still: it is worth reporting to them, which I do several times/week.
>‡‡ and similar 'phone calls.

You're probably right.  It's axiomatic that there will be massive under
reporting of such emails.  I know I've never reported any.  Not that I
get many these days.  Last one was over a year ago.

-- 
 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?"
I hope I live to relive the days gone by
Old Before I Die - Robbie Williams


pgp2vtfFo_3UV.pgp
Description: OpenPGP digital signature


Re: Virtualization under Bookworm

2023-08-27 Thread Paul van der Vlis

Op 26-08-2023 om 18:40 schreef Carl Fink:

Hi,

I have a project that I'd like to work on in a virtual machine hosted on 
my Bookworm system. In the old days (5-10 years ago) I used VirtualBox, 
just from inertia. I haven't really virtualized since then.


What's the current recommendation for someone who just wants to create a 
one-off VM to run Debian under Debian? As this is not my job or even 
main hobby, ideally it should have setup at least as easy as VirtualBox 
was back in the day.


System is an ASUS ExpertCenter PN52 (Ryzen 7 6800, 32 GB of RAM, 2 
terabyte SSD).


I can advice virt-manager, it is like Virtualbox was, but the modules 
are allready in the kernel so don't have to be compiled like with 
Virtualbox. And virt-manager is in Debian, Virtualbox is not in Debian 
so far I know.


Some advices:
You have to add yourself to the group libvirt, something like:
adduser carl libvirt

And it's important to start the virtual network by default:
virsh net-autostart default

To start a virtual machine in one click so without starting virt-manager 
first I make a script like this:


#!/bin/bash
sudo /usr/bin/virsh start win11
virt-manager --connect qemu:///system --show-domain-console "win11"


It seems to be faster when you use another driver for your virtual disk. 
There are many manuals for setting it up. It's not really difficult.


With regards,
Paul

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



Re: General Questions

2023-08-27 Thread tomas
On Sun, Aug 27, 2023 at 05:01:22PM +0600, Tatoka wrote:
> Hello, dear users community of debian! I just wanna ask questions:
> 1. Is Subscribing to mailing list free?

Yes, it is. I am subscribed, so I know :)

> 2. I have problem with ClamAv: When I scanned file:
> --- SCAN SUMMARY ---

[...]

> ClamAV scan files but data scanned: 0.00 MB, why? I have Debian stable and
> use last version of clamav (1.0.1+dfsg-2)
> , which is located in debian stable repository.

I can't help you with that one, since I don't use ClamAV. But I'm
sure someone in this list will.

Cheers
-- 
tomás


signature.asc
Description: PGP signature


Re: Gradle version in bookworm

2023-08-27 Thread Mark Fletcher
On Sun, 27 Aug 2023 at 07:52, Steve Sobol  wrote:

> On 2023-08-26 03:18, Mark Fletcher wrote:
>
> > continue using it -- but since I can get it onto my machine with zero
> > effort via Intellij
>
> I am a Jetbrains subscriber who uses many of their IDEs, including
> IntelliJ, and if that's the way you want to go, I'm certainly not going
> to tell you not to.
>
> But if you don't need IntelliJ, it seems silly to install it just to get
> Gradle.
>
> You can download the latest OSS version of Gradle from gradle.org.
>
> Am I missing something?
>


Oh, yes — the fact that I never suggested for a moment that the only reason
I installed IntelliJ was to get Gradle. I’ve been an IntelliJ user since
about 2006/7 or so.

What I said was that I noticed that IntelliJ was installing a version of
gradle to suit it, not using the platform-level Gradle, and was regularly
updating it. The point of that, if you read the thread, was that there was
a suggestion earlier in the thread that the reason gradle hadn’t been
upgraded in bookworm and was still on version 4 while upstream was on
version 8 was that it was terribly difficult to do, due to dependencies —
but clearly not, given the ease of installing it manually.

>
Hope that clears that up.

Mark

>
>


General Questions

2023-08-27 Thread Tatoka
Hello, dear users community of debian! I just wanna ask questions:
1. Is Subscribing to mailing list free?
2. I have problem with ClamAv: When I scanned file:
--- SCAN SUMMARY ---
Known viruses: 8671927
Engine version: 1.0.1
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 133.37 MB (ratio 0.00:1)
Time: 28.235 sec (0 m 28 s)
Start Date: 2023:08:27 16:12:46
End Date:   2023:08:27 16:13:14

ClamAV scan files but data scanned: 0.00 MB, why? I have Debian stable and
use last version of clamav (1.0.1+dfsg-2)
, which is located in debian stable repository.


Re: Trojan

2023-08-27 Thread Alain D D Williams
On Sun, Aug 27, 2023 at 10:23:06AM +0100, Brad Rogers wrote:
> On Sun, 27 Aug 2023 09:36:02 +0100
> Alain D D Williams  wrote:
> 
> Hello Alain,
> 
> >They will look at it and do something - or so they claim,
> 
> Most likely that 'something' will be to compile statistics about
> phishing attacks.  Maybe produce a leaflet, or update the advice given
> on a web page somewhere.

Sorry if I came across as overly cynical.

It would be nice if they also went after the perps/crims behind phishing 
emails‡‡
- which I think they have done a bit of, but could do much more to protect the
gullible.

Still: it is worth reporting to them, which I do several times/week.

‡‡ and similar 'phone calls.

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information: 
https://www.phcomp.co.uk/Contact.html
#include 



Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

2023-08-27 Thread Mario Marietto
Hello.

I'm running Debian bookworm on my ARM Chromebook,model "xe303c12" and I've
recompiled the kernel to enable KVM,so now my system sounds like this :


$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux 12 (bookworm)
Release:12
Codename:   bookworm

$ uname -a
Linux chromarietto 5.4.244-stb-cbe
#8 SMP PREEMPT Sat Aug 19 22:19:32 UTC 2023 armv7l GNU/Linux

$ uname -r
5.4.244-stb-cbe

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

$ qemu-system-arm --version
QEMU emulator version 5.1.0 (v5.1.0-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

$ python3 --version
Python 3.11.2


I have installed libvirt 9.7.0,qemu 5.1 and virt-manager from source code
with the final goal to be able to connect qemu,kvm and libvirt together to
virtualize FreeBSD 13.2 for arm 32 bit. If you ask me why I've recompiled
everything from source code,my answer will be complicated,but in short
terms,for some unknown reason, it reports an error like this :


"Warning : Failed to set up UEFI /
The Libvirt version does not support UEFI /
Install options are limited"


So,I went for the most complicated route : compiling everything from
scratch.

Below I pasted the whole procedure that I've followed,so you can understand
well what's wrong.


$ apt build-dep libvirt

$ git clone https://github.com/libvirt/libvirt.git
Cloning into 'libvirt'...

$ cd libvirt
$ meson setup build
$ ninja -C build
$ ninja -C build install

$ which virsh
/usr/local/bin/virsh

$ which libvirtd
/usr/local/sbin/libvirtd

$ apt install libgtk-3-dev libpulse-dev libgbm-dev libspice-protocol-dev \
libspice-server-dev libusb-1.0-0-dev libepoxy-dev libfdt-dev

$ git clone -b v5.1.0 http://git.qemu.org/qemu.git

$ cd qemu-v5.1.0

$ git submodule add -f https://git.kernel.org/pub/scm/utils/dtc/dtc.git dtc

$ ./configure --disable-werror --target-list=arm-softmmu \
--enable-opengl --enable-gtk --enable-kvm --enable-guest-agent \
--enable-spice --audio-drv-list="oss pa" --enable-libusb \
--enable-trace-backend=simple --enable-debug

$ make

$ make install

$ git clone https://github.com/virt-manager/virt-manager.git

$ apt install gobject-introspection libosinfo-1.0-0 libosinfo-1.0-dev \
gir1.2-libosinfo-1.0 libvirt-glib-1.0-dev

$ cd virt-manager
$ ./setup.py configure --prefix=/usr/local
$ sudo ./setup.py install

$ sudo usermod -a -G libvirt root
$ sudo usermod -a -G libvirtd root
$ sudo usermod -a -G libvirt-qemu libvirt-qemu
$ sudo usermod -a -G libvirt marietto
$ sudo adduser libvirt-qemu
$ sudo groupadd --system libvirt
$ sudo groupadd --system libvirt-qemu
$ sudo newgrp libvirt-qemu
$ newgrp libvirt

$ /usr/local/sbin# libvirtd &
[1] 2875

$ /usr/local/sbin# virtqemud &

info : libvirt version: 9.7.0 info :
hostname: chromarietto error : virPidFileAcquirePathFull:409
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable error : virStateInitialize:672 :
Initialization of QEMU state driver failed
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable error : daemonRunStateInit:617 :
Driver state initialization failed

$ /usr/local/sbin# ps ax | grep libvirt
2875 pts/0Sl 0:00 libvirtd

$ /usr/local/sbin# ps ax | grep virtqemu
nothing


If I do the opposite way :


$ /usr/local/sbin# virtqemud &

$ /usr/local/sbin# ps ax | grep virtqemu
3041 pts/0Sl 0:00 virtqemud

$ /usr/local/sbin# libvirtd &

info : libvirt version: 9.7.0 info :
hostname: chromarietto
error : virPidFileAcquirePathFull:409
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable
virStateInitialize:672 : Initialization of QEMU state driver failed
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable daemon
RunStateInit:617 : Driver state initialization failed

$ /usr/local/sbin# ps ax | grep virtqemu
3041 pts/0Sl 0:00 virtqemud

$ /usr/local/sbin# ps ax | grep libvirt
nothing


In short terms : when I launch libvirt and then virtqemu,the first one does
not close itself,but the second one does it ; when I launch virtqemud and
then libvirt,the first one does not close itself,but the second one does it
; so,these two processes are not compatible with each other,but they should
run both,otherwise virt-manager will not work at all and I will not be able
to run any virtual machine.
-- 
Mario.


Re: Trojan

2023-08-27 Thread Brad Rogers
On Sun, 27 Aug 2023 09:36:02 +0100
Alain D D Williams  wrote:

Hello Alain,

>They will look at it and do something - or so they claim,

Most likely that 'something' will be to compile statistics about
phishing attacks.  Maybe produce a leaflet, or update the advice given
on a web page somewhere.

-- 
 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?"
Gary don't need his eyes to see, Gary and his eyes have parted company
Gary Gilmore's Eyes - The Adverts


pgpcvfKv586AK.pgp
Description: OpenPGP digital signature


Re: Trojan

2023-08-27 Thread Alain D D Williams
On Sun, Aug 27, 2023 at 10:31:55AM +0200, to...@tuxteam.de wrote:

> If you feel like you'd like to learn a bit, study the mail
> headers. Ponder about which ones the sender could have faked
> and which ones not. Things like that.

If you live in the UK you can forward it to here: rep...@phishing.gov.uk

They will look at it and do something - or so they claim, this is part of 
government!

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information: 
https://www.phcomp.co.uk/Contact.html
#include 



Re: Trojan

2023-08-27 Thread tomas
On Sun, Aug 27, 2023 at 01:02:29AM -0600, William Torrez Corea wrote:
> I am being threatened for this account:
> 
> femor...@schlangenbad.de
> 
> I receive the following message:
> 
> I am a professional hacker and have successfully managed to hack your
> operating system.

I receive one of those more or less weekly.

If there are no other reasons for you to believe them, I'd
just ignore it.

If you feel like you'd like to learn a bit, study the mail
headers. Ponder about which ones the sender could have faked
and which ones not. Things like that.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Gradle version in bookworm

2023-08-27 Thread Steve Sobol

On 2023-08-26 03:18, Mark Fletcher wrote:


continue using it -- but since I can get it onto my machine with zero
effort via Intellij


I am a Jetbrains subscriber who uses many of their IDEs, including 
IntelliJ, and if that's the way you want to go, I'm certainly not going 
to tell you not to.


But if you don't need IntelliJ, it seems silly to install it just to get 
Gradle.


You can download the latest OSS version of Gradle from gradle.org.

Am I missing something?



Re: priorite de la swap

2023-08-27 Thread hamster

Le 27/08/2023 à 01:52, Th.A.C a écrit :


Le 26/08/2023 à 20:34, hamster a écrit :

Salut.







Mais quand je fais swapon ca me dit :
swapon
NAME   TYPE  SIZE   USED PRIO
/dev/sda1  partition 4,2G 0B   -2

Ce que je comprend pas, c'est que ma partition swap a une priorité de 
-2 alors que dans le man ca dit que la priorité peut aller de -1 a 32767.






Salut,

https://github.com/torvalds/linux/commit/a2468cc9bfdff6139f59ca896671e5819ff5f94a
(pas sur d'avoir tout compris...)

Un peu plus clair ici:
https://techpiezo.com/ubuntu/swap-priority-2/
si j'ai bien compris, si on ne fixe pas de priorité, le système attribue 
automatiquement des priorités négatives qui commencent à -2. -2 étant du 
coup la priorité automatique la plus haute.


Pour avoir d'autres résultats, fait une recherche google avec ces termes:
swapon priority value "-2"


Et ben voila, magnifique. Comme quoi, savoir trouver les bons mot-clef 
est tout un art.


Merci beaucoup.