Re: Re: LUKS encryption help

2021-10-11 Thread Cindy Sue Causey
On 10/11/21, detr...@tuta.io  wrote:
> Hello friends, I'm sending this last email to inform you that I have given
> up on trying to recover the contents of my external hard drive and that I
> formatted it.
> Thank you to every single one of you who spared their time to try and help
> me.
> On one last note, I should I drag attention to what seemed to be a bug on
> the boot screen that asked for my LUKS password: It considered backspaces as
> a normal character. I type my password and it shows an asterisk on the
> screen for every character I type - instead of deleting the asterisk, the
> backspace key created one more asterisk each time I pressed it.


DISCLAIMER: Mine doesn't display the asterisks, but maybe this is
still somehow what's occurring that causes that asterisks to appear
where they aren't expected.

This sounds like a twist on something that's aggravating for me on the
"console" reached via e.g. "CTRL+F3". It happens with my user name
when I'm typing too fast ahead of the speed of my brain.

Mine occurs with a fairly basic debootstrapped XFCE4's "console". I'll
type in my username then hit TAB the way I normally do via the initial
GUI login screen. For those console logon instances, I should be
hitting ENTER immediately after the username. If I backspace to
eliminate the TAB's blank space addition to my username instead of
attempting CTRL+C to start over, the logon attempt fails.

All I can figure is that it's treating both the TAB and backspace
keyboard actions as necessary keystroke parts of the logon name. Since
they're not, that's apparently why it fails. If that is by intentional
design, repeated personal experience has been that... it works!

Something similar also occurs for the password. I can backspace all I
want in a GUI xfce4-terminal window, and it works fine after the
proper password is eventually entered (e.g. for gaining root
privileges). On that CTRL+F3 console, it appears to treat each
corrective backspace action as a deliberate, additional keystroke part
of the password instead of as a user correcting a typing error.

It occurred to me to try the same thing to run "apt-get update" while
over there in the CTRL+F3 console. The password works fine no matter
how many TAB and backspace entries a user makes after one successfully
logs in to get to that point of access.

Oh, goodness, I hope that came out at least halfway understandable, grin.

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



Re: Capture d'écran avec wmctrl+import

2021-10-11 Thread Bernard Schoenacker



- Mail original -
> De: "Pierre ESTREM" 
> À: "ML Debian User French" 
> Envoyé: Mardi 12 Octobre 2021 03:52:33
> Objet: Capture d'écran avec wmctrl+import
> 
> Bonjour,
> 
> Sous Debian/XFCE je tente de
> capturer l'écran d'un bureau qui n'a pas le focus pour le passer à la
> moulinette de tesseract.
> Par exemple dans celui-ci j'ai une instance de firefox.
> 
> Mon script :
> 
> #!/bin/bash
> 
> # window est l'ID de la fenêtre
> window="$(wmctrl -l | grep -i "firefox" | cut -f1 -d" ")"
> 
> # Capture de l'image
>   import -window "$window" screenshot.png
> 
> Et j'obtiens l'erreur :
> 
> import: unable to read X window image `0x0563': Ressource
> temporairement non disponible @ error/xwindow.c/XImportImage/5000.
> import: missing an image filename `screenshot.png' @
> error/import.c/ImportImageCommand/1293.
> 
> Où est mon erreur ?
> 
> Merci
> pierre estrem
> 

Bonjour Pierre,


Pourrais-tu simplement essayer de corriger ton script du fait que tu as 
2 occurrences qui se marchent dessus et je suis en train de déverminer ton 
script  


En premier je fais un essai pour trouver firefox :

wmctrl -l |grep -i -w  "firefox"  

j'obtiens un premier résultat convenable :

0x0480002c  4 antigen 16 exemples de commandes grep pour vous aider dans le 
monde réel - Mozilla Firefox

je continue de vérifier ton script :

wmctrl -l |grep -i -w  "firefox" | cut -f1 


j'obtiens :

0x0480002c  4 antigen Zimbra: Répondre - Mozilla Firefox

Je reprends ton script à la base en évitant les erreurs :

wmctrl -l |grep -i -w  "firefox" |awk '{print $1}' |tail -1 


et le résultat donne le PID de Firefox :
0x0480002c


Pourrais-tu essayer la commande ?

Ensuite, je t'invite à relire le fil de discussion concernant 
tesseract et les documents PDF images qui doivent impérativement
être convertis au format Tiff et non au format png ...

window="$(wmctrl -l |grep -i -w  "firefox" |awk '{print $1}' |tail -1)"
 
import -window "$window" screenshot.png


en tout cas maintenant, c'est opérationnel pour obtenir une image png 
maintenant, il te faudra convertir l'image png au format tiff :

convert screenshot.png screenshot.tiff


pour ma part je n'aime pas du tout cette façon de faire du fait qu'il me manque 
un point qui peux devenir gênant en en donnant pas un "timestamp" de la capture 
dans le nom du fichier 

correction :
import -window "$window" screenshot-$(date +%Y-%m-%d-%H-%M).png
convert screenshot*.png  screenshot*.tiff


après il te suffira de passer à la moulinette via tesseract 

Merci pour ton aimable attention

Bien à toi

Bernard



Capture d'écran avec wmctrl+import

2021-10-11 Thread Pierre ESTREM

Bonjour,

Sous Debian/XFCE je tente de
capturer l'écran d'un bureau qui n'a pas le focus pour le passer à la 
moulinette de tesseract.

Par exemple dans celui-ci j'ai une instance de firefox.

Mon script :

#!/bin/bash

# window est l'ID de la fenêtre
window="$(wmctrl -l | grep -i "firefox" | cut -f1 -d" ")"

# Capture de l'image
 import -window "$window" screenshot.png

Et j'obtiens l'erreur :

import: unable to read X window image `0x0563': Ressource 
temporairement non disponible @ error/xwindow.c/XImportImage/5000.
import: missing an image filename `screenshot.png' @ 
error/import.c/ImportImageCommand/1293.


Où est mon erreur ?

Merci
pierre estrem



wpa supplicant not starting - code 1...........

2021-10-11 Thread Charlie


From my keyboard:

Hello,

If someone has an idea about this error message after suspend
can you please give me a hint as to what is causing it:

wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
code 1

Since Bullseye went stable on my Dell Inspiron laptop I have had some
problems. The above is the latest. It happens randomly and there is no
way of duplicating it.

I have googled this, but tried some of the suggestions without getting
wpa supplicant to work again except by rebooting the laptop?

Can someone tell me what "code 1" is please?

Thank you,
Charlie

East Gippsland Wildlife Rehabilitators Inc..
   http://www.egwildlife.com.au/

-- 
Registered Linux User:- 329524

***

Better not to begin. Once you begin, better to finish it.
-Buddhist Saying

***
Debian GNU/Linux - Magic indeed.

-



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Sean Behan
That cp command looks fine, but if you want to try using dd with
offsets, try:

sudo dd if=debian-live-11.0.0-amd64-standard.iso of=/dev/sdb bs=4M

if is input file, of is output file, bs is blocksize which I set to 4MB
which is a typical block size

If that still doesn't work it's likely an issue with the USB flash drive
you're using.

---
Sean Behan

On 2021-10-11 06:38, kaye n wrote:
> Hello Friends!
> 
> I did this and was able to boot my newly created Debian 11 live USB but was
> stuck in a black terminal-like screen where it says, I/O error, etc.
> 
> Using GParted, I created an MS-DOS partition table and formatted the USB
> stick in fat32.
> 
> Then I used these commands
> 
> sudo cp  debian-live-11.0.0-amd64-standard.iso /dev/sdb
> sync
> 
> All seemed fine until I booted the live USB and got the error message as
> stated above.
> 
> Thank you for your time.



Re: gnome-control-center error: Settings schema 'org.gnome.settings-daemon.plugins.power' does not contain a key named 'power-saver-profile-on-low-battery'

2021-10-11 Thread Erii Krasniqii
I found a solution:
Open terminal and type dconf-editor (if you don't have it installed it will 
automatically ask you if you want to install it)
when it opens you should go /org/gnome/control-center , open last-panel scroll 
down and the custom value should be 'power' now you need to change it , 
you can type: 
wifi
bluetooth
display 
so it will open the value you entered!
I hope this works for you.

p.s don't click on 'power' setting because it will crash settings and you need 
to do these steps again!!



Re: gnome-control-center error: Settings schema 'org.gnome.settings-daemon.plugins.power' does not contain a key named 'power-saver-profile-on-low-battery'

2021-10-11 Thread Erii Krasniqii
I found a solution:
Open terminal and type dconf-editor (if you don't have it installed it will 
automatically ask you if you want to install it)
when it opens you should go /org/gnome/control-center , open last-panel scroll 
down and the custom value should be 'power' now you need to change it , 
you can type: 
wifi
bluetooth
display 
so it will open the value you entered!
I hope this works for you.

p.s don't click on 'power' setting because it will crash settings and you need 
to do these steps again!!



Debian 11 freezes/hangs after boot

2021-10-11 Thread C.T.F. Jansen

Greetings,

Installed the Debian 11 Live DVD on a USB stick then a DVD.
Both  hardly respond to the keyboard or mouse after some minutes.
Seen the full desktop once. The desktop usually stops when the pointer 
appears on the grey screen.
A ctrl-alt-f2 and ctrl-alt-f3 sometimes shows a prompt at first then 
stops after the second or third command.
The escape key sometimes shows a usual boot sequence without any error 
indications.


Got a peek at the bottom page of the syslog which had a repeated 
sequence of "PCIe Bus Error " messages .  Not sure if these are relevant.


There are plenty of "failed to start Journal Service" messages but these 
might not be relevant either. Scattered on the ctrl-alt-f1 , f2 and f3 
screens.


On one file  on the last page saw a number of messages which included

   localhost systemd[1]:  Condition check resulted in First Boot 
Complete being skipped


After that there were a number of further "Condition check resulted in 
 being skipped"  messages.


These, at a guess, look like they may be relevant.

The machine is an Asus X541U, Intel I5 chipset. Three and a half years 
old. No modifications.
It loaded Debian 9 without problems. The wifi/blue tooth card is turned 
off because of voluminous error messages.


Saw on forums.debian.net  a possible fix :

 edit /etc/default/grub so that it has the line

 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=pci"

  the "reboot=pci" is the necessary change.

Any comments ? Does this work ?
Thanks.

I intended to see what surprises may be lurking within by trying to run 
the Debian 11 Live DVD, amd64, KDE.


The current plan is to  collect possible fixes then install Debian 11 
amd64 KDE on an external disk so I can get at the logs and generally 
experiment  with it. When  it works sufficiently then install it on the 
main system.


Cheers

frank.jan...@actrix.gen.nzZL2TTS




Re: Package information for debian installer

2021-10-11 Thread Andy Smith
Hi Edhoari,

On Tue, Oct 12, 2021 at 06:03:36AM +0700, Edhoari Setiyoso wrote:
> Could anyone inform me what is the package name of this installer in order
> to correctly submit request?

The package name is "debian-installer"; its team web site is at:

https://www.debian.org/devel/debian-installer/

Its mailing list is debian-boot:

https://lists.debian.org/debian-boot/

You may want to discuss your ideas there before formally submit a
bug report (with "reportbug debian-installer", I should think).

Cheers,
Andy

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



Package information for debian installer

2021-10-11 Thread Edhoari Setiyoso

Hello,


I want to submit feature regarding debian installer, specifically text 
installer.


Could anyone inform me what is the package name of this installer in 
order to correctly submit request?



Regards

--
Edhoari Setiyoso



Re: Then it happened to me...

2021-10-11 Thread Nicholas Geovanis
On Mon, Oct 11, 2021, 2:54 AM Eric S Fraga  wrote:

> On Sunday, 10 Oct 2021 at 16:53, Nicholas Geovanis wrote:
> > I was using online fora on the U of Illinois' Plato system in 1977.
>
> Blast from that past that!  I remember playing with the air flight
> simulator with people connected across the continent.
>

I tell folks this, they don't believe me:
I was playing online real-time remote multi-player 3D air combat games
before the Apple II was released. They just stare at me :-)
And I did write a little in the Tutor programming language used on Plato.

And I see you're an emacs user Mr Fraga.
:-D

Eric S Fraga via Emacs 28.0.60 & org 9.5 on Debian 11.0
>
>


Re: OpenLdap

2021-10-11 Thread Nicholas Geovanis
On Mon, Oct 11, 2021, 6:04 PM Nicholas Geovanis 
wrote:

>
>
> On Mon, Oct 11, 2021, 7:31 AM Gokan Atmaca  wrote:
>
>> Hello
>>
>> I am using openldap. I configured a different server as ldap client.
>> When I say "id user", the information comes. I have two organized
>> units. "people" and "groups". my test environment.  But I can't login.
>> What could be causing the problem?
>>
>
> The immediate reason for the failure should be found in the sshd logs in
> /var. But the trick with LDAP for login authentication is this:
>
> (1) Make sure the services file is stepping thru the authentication
> databases in the order you believe is correct.
>

I wrote "services file".
I actually meant PAM configuration.


Example:
>> $ id gokhan (ldap_user)
>> uid=1(gokhan) gid=2000(ob) groups=2000(ob)
>>
>> Thanks.
>>
>>
>> --
>> ⢀⣴⠾⠻⢶⣦⠀
>> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
>> ⠈⠳⣄
>>
>>


Re: OpenLdap

2021-10-11 Thread Nicholas Geovanis
On Mon, Oct 11, 2021, 7:31 AM Gokan Atmaca  wrote:

> Hello
>
> I am using openldap. I configured a different server as ldap client.
> When I say "id user", the information comes. I have two organized
> units. "people" and "groups". my test environment.  But I can't login.
> What could be causing the problem?
>

The immediate reason for the failure should be found in the sshd logs in
/var. But the trick with LDAP for login authentication is this:

(1) Make sure the services file is stepping thru the authentication
databases in the order you believe is correct.
(2) make sure name resolution is doing what you think it's doing.
(3) Make sure that clock time is synchronized across all servers involved
in that login and authentication.


Example:
> $ id gokhan (ldap_user)
> uid=1(gokhan) gid=2000(ob) groups=2000(ob)
>
> Thanks.
>
>
> --
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄
>
>


Re: Then it happened to me...

2021-10-11 Thread Andy Smith
Hello,

On Mon, Oct 11, 2021 at 06:18:27PM -0400, Greg Wooledge wrote:
> As you can see, the address at the top of the body was not mine.  Mine
> appears further down inside the body.  Still inside angle brackets.  I
> suspect that's relevant to whatever bug bendel is suffering from.
> 
> And yeah, I'm definitely calling this a bug.  How can it be anything else?
> It's parsing the BODIES of posts for email addresses in angle brackets,
> and each address found is being treated as if it had generated a "bounce".

Mailing list managers sometimes try very hard to work out if a message is a
bounce, because bounce messages have no standard format, so they do
sometimes end up treating things as bounces which aren't actually
bounces.

However, Debian's list manager uses Variable Envelope Return Path,
e.g. your mail as delivered to me used an envelope sender of
bounce-debian-user=andy=strugglers@lists.debian.org with my
subscribed address encoded within the local part. So it does know
that any email to
bounce-debian-user=andy=strugglers@lists.debian.org is a bounce
generated by a mail sent to me and doesn't have to try to parse any
of the body.

So I think you are correct that it's a bug, but in the
configuration, insofar as it's still willing to try to parse mails
that end up at debian-user@lists.debian.org. Nothing should be
bouncing mail there.

(Though note that in *this* thread we are/were discussing these GMX
bounces, which do go to the correct place, and are causing problems
only for recipients on GMX mail infrastructure.)

If you look at the nag email you got from bendel it showed that the
mail it processed was:

From: "Mail Delivery Subsystem" 
To: 

I suspect that the list manager is trapping anything like "Mail
Delivery Subsystem" and/or postmaster@ to try to protect the list
from receiving a torrent of someone else's bounces.

I don't know how much unwanted email the list would get if this
behaviour were removed. Perhaps it would be best to just silently
discard such emails, since as I say nothing should be sending
bounces there.

An irritating point is that if the miscreant who's bouncing these
messages had chosen to send the bounce to the VERP address, they'd
already have unsubscribed themselves by now!

That's what I think is happening with these ovh bounces anyway!

Cheers,
Andy

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



Re: why network fails in bullseye

2021-10-11 Thread Dan Ritter
Long Wind wrote: 
> it's fresh install of bullseye for amd64 
> i run "ifup wlp3s4":
> run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
> ifup: failed to bring up wlp3s4
> 
> here is part of my interfaces
> allow-hotplug wlp3s4iface wlp3s4 inet dhcp
>     wpa-ssid ice2
>     wpa-psk ab123456
> i have no problem with bullseye for i386

Is there an interface named wlp3s4?

ip link show

If it exists, does it already have something controlling it?

ip addr show

Is the radio blocked? Look through dmesg output.

-dsr-



Re: Then it happened to me...

2021-10-11 Thread Greg Wooledge
I had an interesting one earlier.  Usually I get unsubscribed after one
of my own posts.  This time, I got unsubscribed after someone else's.

Here's the tail end of what I received from bendel:

>
>: Re: How exactly do I create a Debian live USB?
>On Lu, 11 oct 21, 21:20:25, kaye n wrote:
>> On Mon, Oct 11, 2021 at 8:41 PM Greg Wooledge  wrote:
>>
>> > O
>Please stop the message. we have already unsubscribed our email address.
>

As you can see, the address at the top of the body was not mine.  Mine
appears further down inside the body.  Still inside angle brackets.  I
suspect that's relevant to whatever bug bendel is suffering from.

And yeah, I'm definitely calling this a bug.  How can it be anything else?
It's parsing the BODIES of posts for email addresses in angle brackets,
and each address found is being treated as if it had generated a "bounce".



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread kaye n
On Tue, Oct 12, 2021, 00:26 Andrei POPESCU, 
wrote:

> On Lu, 11 oct 21, 21:20:25, kaye n wrote:
> > On Mon, Oct 11, 2021 at 8:41 PM Greg Wooledge  wrote:
> >
> > > On Mon, Oct 11, 2021 at 02:37:02PM +0200, Thomas Schmitt wrote:
> > > > But, urm, it might be that debian-live-11.0.0-amd64-standard.iso does
> > > > not provide any graphical user interface. Maybe a shell prompt is all
> > > > you can expect from it.
> > >
> > > I'm almost 100% certain this is true.
> > >
> > > If the live system is working, other than that one kernel warning
> message,
> > > then just ignore the warning.  Hit Enter to get a "clean" shell prompt.
> > >
> > >
> > So that's the issue.
> > What desktop environment would you guys recommend for a desktop computer
> > with these specs?
> >
> > CPU:
> >   Dual Core: Intel Core2 Duo E8400 type: MCP speed: 1998 MHz
> >   min/max: 670/10166 MHz
>
> How much RAM?
>
> > Graphics:
> >   Device-1: Intel 82945G/GZ Integrated Graphics driver: i915 v: kernel
> >   Display: x11 server: X.Org 1.20.4 driver: intel
> >   unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
> >   OpenGL: renderer: Mesa DRI Intel 945G v: 1.4 Mesa 18.3.6
> >
> > Do I choose xfce, kde, mate, etc. ?
>
> My personal choice, even for faster machines is LXDE. It might seem a
> bit spartan, especially if you compare with Gnome or KDE, but it is also
> lightning fast, and all basic functionality is there.
>
> Depending on your choice of applications you might also consider LXQt
> (based on Qt instead of GTK).
>
> For machines with limited RAM it's probably best if you keep the number
> of toolkits in use at a minimum.
>
> (it's probably a good idea for live systems as well, unless you have
> enough RAM to boot with 'toram', if that option still exists and does
> what I remember it did)
>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser

Sorry forgot about the ram. It's 3GB.

>
>


Re: Then it happened to me...

2021-10-11 Thread David Wright
On Mon 11 Oct 2021 at 10:52:22 (+0300), Andrei POPESCU wrote:
> On Du, 10 oct 21, 21:50:54, piorunz wrote:
> > Now my turn. Just received a warning.
> > 
> > This is deeply broken.
> > 
> > "Dear subscriber,
> > 
> > We've encountered some problems while sending listmail to your
> > emailaddress pior...@gmx.com.
> > 
> > In the last seven days we've seen bounces for the following list:
> > * debian-user
> > 1 bounce out of 68 mails in one day (1%, kick-score is 80%)
> > (https://lists.debian.org/bounces/jIDIoxeNb9XRGvl0AsCQhQ)
> > 
> > (The link above points to a copy of the latest bounce and will be valid
> > for seven days.)
> > 
> > If the bounce-rate passes the kick-score, our bounce-detection will
> > forcibly remove your subscription."
> 
> That's probably unrelated, I get that too with GMX from time to time, 
> although I tried my best to whitelist debian-user via the web interface.

It's not just probably unrelated. The gentle warning above bears no
relation to the abrupt message when you get forcibly unsubscribed.
I would assume that Piotr's bounce is for the ">>" post:
https://lists.debian.org/debian-user/2021/10/msg00429.html
which Thomas Schmitt reported, as they both use GMX. Looking at
the link provided: https://www.gmx.net/mail/senderguidelines
I don't think I would be able to subscribe and post through that
system, on several points.

Cheers,
David.



Re: LUKS encryption help

2021-10-11 Thread David Wright
On Mon 11 Oct 2021 at 23:25:07 (+0200), deloptes wrote:
> David Christensen wrote:
> 
> > When I boot my Debian machines with LUKS encrypted root filesystems, I
> > see a bunch of time-stamped bootloader messages followed by the prompt:
> > 
> > Please unlock disk sda3_crypt:
> > 
> > 
> > When I type on the keyboard, nothing is echoed to the screen.
> 
> I use plymouth or alike and there I see the asterisk displayed, but with
> backspace I can delete an asterisk and it does not produce another one.
> It seems there was something wrong with the terminal there.

Ouch. That's suggests that my first suggestion (keyboard layout)
was close to the mark, though I never thought of suggesting the
behaviour of Backspace, and the OP didn't bring it up. However,
it's odd that none of the other routes into unlocking produced
any results either.

Cheers,
David.



Re: Problème UUID

2021-10-11 Thread Étienne Mollier
Moin,

Sébastien Dinot, on 2021-10-11:
> k6dedi...@free.fr a écrit :
> > Dans partition manager, lorsque je demande les propriétés de sda3,
> > j'obtiens un seul UUID. Mais lorsque je demande les propriétés de
> > sda3, j'obtiens DEUX UUID.
> 
> Là, je ne comprends pas, soit il y a une erreur dans ce que vous écrivez
> (dans le second cas, il s'agit de sda3), soit il manque des
> informations.

Est-ce que le second UUID ne serait pas un identifiant de
partition gpt PARTUUID, à tout hasard ?

$ sudo blkid /dev/sdc*
/dev/sdc: PTUUID="----" PTTYPE="gpt"
/dev/sdc1: UUID="-" BLOCK_SIZE="512" TYPE="vfat" 
PARTUUID="----"
/dev/sdc2: UUID="----" BLOCK_SIZE="512" 
TYPE="xfs" PARTUUID="----"
/dev/sdc3: UUID="caviar------gg" 
TYPE="LVM2_member" PARTUUID="----"

^^^
La PARTUUID est propre au schéma de partitionnement gpt, et
l'UUID est propre au système de fichier à l'intérieur de la
partition indépendamment du schéma.

Bonne soirée,
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.


signature.asc
Description: PGP signature


Re: LUKS encryption help

2021-10-11 Thread deloptes
David Christensen wrote:

> When I boot my Debian machines with LUKS encrypted root filesystems, I
> see a bunch of time-stamped bootloader messages followed by the prompt:
> 
> Please unlock disk sda3_crypt:
> 
> 
> When I type on the keyboard, nothing is echoed to the screen.

I use plymouth or alike and there I see the asterisk displayed, but with
backspace I can delete an asterisk and it does not produce another one.
It seems there was something wrong with the terminal there.

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



Re: LUKS encryption help

2021-10-11 Thread David Wright
On Mon 11 Oct 2021 at 12:43:21 (-0700), David Christensen wrote:
> On 10/11/21 05:50, detr...@tuta.io wrote:
> > Hello friends, I'm sending this last email to inform you that I have given 
> > up on trying to recover the contents of my external hard drive and that I 
> > formatted it.
> 
> I hope you have implemented backups procedures, to prevent losing data
> in the future.
> 
> > Thank you to every single one of you who spared their time to try and help 
> > me.

A pity that it's reformatted; I would have liked to know more about
the circumstances of the unlocking attempts.

> > On one last note, I should I drag attention to what seemed to be a bug on 
> > the boot screen that asked for my LUKS password: It considered backspaces 
> > as a normal character.

What do you mean by a "normal character"? AFAIK you can't put
backspaces into a passphrase, and it would be ill-advised to type
any backspaces when /setting/ a new passphrase: better to Ctrl-C
out of setting it, or type some garbage to make it so that the
verification deliberately fails and you can start over.

When you're typing the /old/ passphrase, then backspace should erase
the previous character as usual, and an excessive number of them
should be ignored.

> > I type my password and it shows an asterisk on the screen for every 
> > character I type - instead of deleting the asterisk, the backspace key 
> > created one more asterisk each time I pressed it.

There are arguments both ways: reflecting an asterisk indicates that
the key was successfully depressed, whereas erasing an asterisk
allows you to count how far through the passphrase you have typed.

Because of a previous problem¹ I had with stretch on a Lenovo laptop,
I haven't configured my encrypted devices to unlock in the manner
where asterisks are printed. So I can't tell whether it's possible,
as you get asterisks printed, whether there's a possibility that the
backspace key is not doing something unexpected under the exact
circumstances. (I'm recalling the ambiguity of the Backspace and
Delete keys, and whether they emitted ^H, ^?, or escape sequences.)

> When I boot my Debian machines with LUKS encrypted root filesystems, I
> see a bunch of time-stamped bootloader messages followed by the
> prompt:
> 
> Please unlock disk sda3_crypt:
> 
> When I type on the keyboard, nothing is echoed to the screen.

IIRC that's the prompt I saw when I recently tried out a
root-encrypted installation in order to see how Grub boots it.
And I don't recall asterisks. However, it's not clear to me
what the OP means by "boot screen". If you specify partitions
to be unlocked by passphrase in /etc/crypttab, then part-way
through booting, you get a more fullsome prompt:
Please enter passphrase for disk PARTLABEL (LABEL) on MOUNTPOINT
with relevant substitutions. This dialogue uses asterisks.
If it hadn't, I could have suffered similar consequences to the
OP, as the asterisks were the only reason I knew that there was
a "ghost in the machine".

Nowadays, I only use /etc/crypttab to configure my randomly
encrypted swap partition, so no prompt at all. I explicitly
unlock /home later, mainly because I can then wake machines
up and unlock them remotely. As in your case, udisksctl is
asterisk-less during typing, and it's also terse enough for
me to prefix my own prompt about what exactly I am unlocking.

¹
https://lists.debian.org/debian-user/2018/03/msg01030.html

Cheers,
David.



Re: New debian installation disk partition

2021-10-11 Thread David Christensen

On 10/11/21 13:13, Joe wrote:

On Mon, 11 Oct 2021 12:29:48 -0700
David Christensen  wrote:



I must detach e-mail attachments and save them on the server


You could run an IMAP server on your server, set up an account in your
email client with a suitable directory structure and drag and drop old
email into archives, complete with attachments, so everything remains
online. Many email clients can do this fairly automatically.

It's easier still if you run a full MTA on the server, and don't use
local email accounts at all, but many people don't want the (very
minimal) maintenance needs.



I hosted WWW and NWN servers at my home many years ago.  Bad idea.


I have domain hosting through he.net, and prefer their professionally 
managed e-mail.



Yes, detaching can get tedious, but I am wary of attempting to automate 
such and it's not a huge burden.



David



Re: New debian installation disk partition

2021-10-11 Thread David Christensen

On 10/11/21 13:39, Andrei POPESCU wrote:

On Lu, 11 oct 21, 12:29:48, David Christensen wrote:


Once Debian is running, I suggest that you connect the HDD, partition the
HDD using GPT, create one partition using 95% of available space, initialize
a LUKS container inside the partition, and create a ZFS pool with name
"data" and with option "copies=2" using the encrypted mapper node.  The
zpool will be mounted at "/data", will be able to store ~237 GB, and ZFS
will be able to survive "one or a few" sectors going bad without any data
loss (it is wise to scrub periodically).


ZFS has native encryption now, any particular reason to prefer using a
LUKS container instead?



I use LUKS because ZFS native encryption was not available OOTB the last 
time I looked on Debian.  What version of d-i has ZFS native encryption?



David



Re: New debian installation disk partition

2021-10-11 Thread Andrei POPESCU
On Lu, 11 oct 21, 12:29:48, David Christensen wrote:
> 
> Once Debian is running, I suggest that you connect the HDD, partition the
> HDD using GPT, create one partition using 95% of available space, initialize
> a LUKS container inside the partition, and create a ZFS pool with name
> "data" and with option "copies=2" using the encrypted mapper node.  The
> zpool will be mounted at "/data", will be able to store ~237 GB, and ZFS
> will be able to survive "one or a few" sectors going bad without any data
> loss (it is wise to scrub periodically).

ZFS has native encryption now, any particular reason to prefer using a 
LUKS container instead?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: New debian installation disk partition

2021-10-11 Thread Joe
On Mon, 11 Oct 2021 12:29:48 -0700
David Christensen  wrote:


>  I must detach
> e-mail attachments and save them on the server

You could run an IMAP server on your server, set up an account in your
email client with a suitable directory structure and drag and drop old
email into archives, complete with attachments, so everything remains
online. Many email clients can do this fairly automatically.

It's easier still if you run a full MTA on the server, and don't use
local email accounts at all, but many people don't want the (very
minimal) maintenance needs.

-- 
Joe



Re: LUKS encryption help

2021-10-11 Thread David Christensen

On 10/11/21 05:50, detr...@tuta.io wrote:

Hello friends, I'm sending this last email to inform you that I have given up 
on trying to recover the contents of my external hard drive and that I 
formatted it.



I hope you have implemented backups procedures, to prevent losing data 
in the future.




Thank you to every single one of you who spared their time to try and help me.



You are welcome.  :-)



On one last note, I should I drag attention to what seemed to be a bug on the 
boot screen that asked for my LUKS password: It considered backspaces as a 
normal character. I type my password and it shows an asterisk on the screen for 
every character I type - instead of deleting the asterisk, the backspace key 
created one more asterisk each time I pressed it.



When I boot my Debian machines with LUKS encrypted root filesystems, I 
see a bunch of time-stamped bootloader messages followed by the prompt:


Please unlock disk sda3_crypt:


When I type on the keyboard, nothing is echoed to the screen.


David



Re: New debian installation disk partition

2021-10-11 Thread David Christensen

On 10/11/21 04:18, Josef Strýček wrote:


Hi,

I have a question how to partition new debain installation.I have 64GB ssd
and 500GB hdd. Can I have / on ssd with ext4 and hdd with btrfs /hame /var

/tmp /opt. 



You should be able to achieve that layout with the Debian installer 
(d-i) by choosing "Partitioning method" -> "manual".



I ran btrfs for a few years, but did not understand the maintenance 
requirements.  Over time, the disks became slow and slower.  Eventually, 
I had to learn about btrfs balancing, write Perl script to perform it, 
and run the script repeatedly to recover and maintain the disks. 
Eventually, I got lazy and reinstalled using ext4.




Could you recommend layout for ssd and hdd, that ssd is not
overwritten unnecessarily and ideal filesystem for ssd and hdd.



When SSD's first came out, there was a lot of fuss about minimizing wear 
and maximizing performance -- disabling swap, over-provisioning, trim, 
etc..  Since then, SSD's have improved and operating systems have become 
better at using SSD's.  So, I would not worry about Debian wearing out 
the SSD; just run d-i and let it do the work.  Once the system is in 
operation, some people like to run fstrim(8) periodically (e.g. monthly, 
weekly).



A key idea that still applies is that your OS and applications should be 
on one disk and your data should be on another disk.  I use SSD's for OS 
disks (including /home) and I keep the vast majority of my data in a 
file server (Samba) on HDD's in a ZFS mirror.



A killer feature of d-i is that it can build OS disks with encryption. 
But, a plaintext "/boot" partition is required to boot the computer.



I prefer to keep my OS images small enough to fit onto "16 GB" devices. 
 This facilitates imaging, cloning, and disaster preparedness.  I can 
save 3 monthly images for 6 computers on a 300 GB USB HDD.  But, there 
is only one active user account on each machine, I must limit how much 
software I install, I must detach e-mail attachments and save them on 
the server, and I must keep my home directory usage at a minimum.



Here are my disk partitioning notes from when I installed my Debian 10 
daily driver:


Partitioning method manual
Encrypted volume (sda2_crypt) - 1.0 GB Linux device-mapper 
(crypt)

 #1 1.0 GB f  swap  swap
Encrypted volume (sda3_crypt) - 13.0 GB Linux device-mapper 
(crypt)

 #113.0 GB f  ext4  /
SCSI5 (0,0,0) (sda) - 60.0 GB ATA INTEL SSDSC2CW06
 #1  primary  999.3 MB  B  F  ext4  /boot
 #2  primary1.0 GB K  crypto   (sda2_crypt)
 #3  primary   13.0 GB K  crypto   (sda3_crypt)
   45.0 GBFREESPACE
Finish partitioning and write changes to disk

Notes:

1.  I am using MBR partitioning, because some of my computers are 14 
years old and MBR is the lowest common denominator.  I can build a 
Debian OS disk in one computer and then move the disk (or image) to 
another computer.  (The partition scheme chosen by the d-i is determined 
by the firmware mode of the computer running d-i -- e.g. BIOS -> MBR, 
EUFI -> GPT.)


2.  Partition #1 is 1 GB, plaintext ext4 /boot

3.  Partition #2 is 1 GB, encrypted swap (random key)

4.  Partition #3 is 13 GB, encrypted ext4 root (passphrase)


I suggest that you disconnect the HDD (both power and data cables) and 
install Debian onto the SSD similar to the above.  It is best if the SSD 
has device node /dev/sda.  You may want a larger root partition.  It is 
important to have a swap partition; do not eliminate it.



Once Debian is running, I suggest that you connect the HDD, partition 
the HDD using GPT, create one partition using 95% of available space, 
initialize a LUKS container inside the partition, and create a ZFS pool 
with name "data" and with option "copies=2" using the encrypted mapper 
node.  The zpool will be mounted at "/data", will be able to store ~237 
GB, and ZFS will be able to survive "one or a few" sectors going bad 
without any data loss (it is wise to scrub periodically).



David



Re: Choosing a DE (was: How exactly do I create a Debian...)

2021-10-11 Thread deloptes
Felix Miata wrote:

> 
> I have several with Bullseye running on E8400s and 1680x1050 or 1920x1200
> or 2560x1440 screens. All are running TDE.
> https://wiki.trinitydesktop.org/Trinity_Desktop_Environment

I can second that - this is the most stable desktop

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



Re: Choosing a DE (was: How exactly do I create a Debian...)

2021-10-11 Thread Felix Miata
kaye n composed on 2021-10-11 21:20 (UTC+0800):

> What desktop environment would you guys recommend for a desktop computer
> with these specs?

> CPU:
>   Dual Core: Intel Core2 Duo E8400 type: MCP speed: 1998 MHz
>   min/max: 670/10166 MHz
> Graphics:
>   Device-1: Intel 82945G/GZ Integrated Graphics driver: i915 v: kernel
>   Display: x11 server: X.Org 1.20.4 driver: intel
>   unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
>   OpenGL: renderer: Mesa DRI Intel 945G v: 1.4 Mesa 18.3.6

> Do I choose xfce, kde, mate, etc. ?

> That's my last question, won't bother you again for now.
> Thank you very much in advance.   
> 


I have several with Bullseye running on E8400s and 1680x1050 or 1920x1200 or
2560x1440 screens. All are running TDE.
https://wiki.trinitydesktop.org/Trinity_Desktop_Environment
-- 
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: Gourmet ne démarre plus.

2021-10-11 Thread Haricophile
Le Mon, 11 Oct 2021 17:55:03 +0200 (CEST),
txo...@free.fr a écrit :

> Oui on dirait qu'il y a problème avec les bibliothèques python 
> utilisées sous Sid. Parce que mes 3 machines sous Sid n'arrivent 
> plus à faire fonctionner Gourmet même en supprimant .gourmet. 
> Dommage parce que j'aimais bien ... et que cela m’embête de perdre 
> mes 600 recettes.

Elles sont de toute manière dans une base SQlite même si je n'ai pas
regardé comment les exporter/réimporter dans autre chose sans trop de
boulot.

Si c'est juste pour faire une exportation, il y a des images
de machines virtuelles prêtes à l'emploi qui trainent sur
internet.

Et aussi je ne connais pas assez python pour savoir si ce n'est pas
contournable en utilisant une ancienne version en parallèle.



Re: Buster to bullseye upgrade: Worth it or not?

2021-10-11 Thread Anssi Saari
local10  writes:

> Am considering upgrading from buster to bullseye and looking for some
> feedback from those who have already done so. Was it worth it, in your
> opinion?

Absolutely. I have a new video card in my desktop with no support in
Buster. Not even in backports. Could've hacked support in but didn't
want to and Bullseye release was close.

Everything else works pretty much as before. Minor tweak was needed due
to changes in newer org-mode. I actually cleaned up my system but didn't
quite get it out of FrankenDebian state. Have Megasync and Spotify
still. Also Debian Multimedia but I don't know if that's considered
FrankenDebian.

I don't run KDE in Debian, except for Konsole. The window manager on my
desktop is called Awesome and it hasn't been updated in a while so
obviously no change. Firefox, Thunderbird, mpv, also no change I
noticed. Well, I don't actually run Debian's packaged Firefox due to a
long standing issue. It's possible that has been fixed now so worth a
look.



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Anssi Saari
kaye n  writes:

> When I try to enter the live Debian, I get the terminal-like screen with this 
> message:
>
> user@debian:~# [   41.896110] blk_update_request: I/O error, dev fd0, 
> sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio
> class 0

That looks like a normal prompt to me. With an error message from trying
to access a floppy drive which you might not even have, let alone have
an actual floppy in it. It's probably not a problem.



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Andrei POPESCU
On Lu, 11 oct 21, 21:20:25, kaye n wrote:
> On Mon, Oct 11, 2021 at 8:41 PM Greg Wooledge  wrote:
> 
> > On Mon, Oct 11, 2021 at 02:37:02PM +0200, Thomas Schmitt wrote:
> > > But, urm, it might be that debian-live-11.0.0-amd64-standard.iso does
> > > not provide any graphical user interface. Maybe a shell prompt is all
> > > you can expect from it.
> >
> > I'm almost 100% certain this is true.
> >
> > If the live system is working, other than that one kernel warning message,
> > then just ignore the warning.  Hit Enter to get a "clean" shell prompt.
> >
> >
> So that's the issue.
> What desktop environment would you guys recommend for a desktop computer
> with these specs?
> 
> CPU:
>   Dual Core: Intel Core2 Duo E8400 type: MCP speed: 1998 MHz
>   min/max: 670/10166 MHz

How much RAM?

> Graphics:
>   Device-1: Intel 82945G/GZ Integrated Graphics driver: i915 v: kernel
>   Display: x11 server: X.Org 1.20.4 driver: intel
>   unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
>   OpenGL: renderer: Mesa DRI Intel 945G v: 1.4 Mesa 18.3.6
> 
> Do I choose xfce, kde, mate, etc. ?

My personal choice, even for faster machines is LXDE. It might seem a 
bit spartan, especially if you compare with Gnome or KDE, but it is also 
lightning fast, and all basic functionality is there.

Depending on your choice of applications you might also consider LXQt 
(based on Qt instead of GTK).

For machines with limited RAM it's probably best if you keep the number 
of toolkits in use at a minimum. 

(it's probably a good idea for live systems as well, unless you have 
enough RAM to boot with 'toram', if that option still exists and does 
what I remember it did)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Gourmet ne démarre plus.

2021-10-11 Thread txodom
Oui on dirait qu'il y a problème avec les bibliothèques python 
utilisées sous Sid. Parce que mes 3 machines sous Sid n'arrivent 
plus à faire fonctionner Gourmet même en supprimant .gourmet. 
Dommage parce que j'aimais bien ... et que cela m’embête de perdre 
mes 600 recettes.



Re: Buster to bullseye upgrade: Worth it or not?

2021-10-11 Thread local10
Oct 11, 2021, 14:21 by pb...@sdi-baja.com:

> A test install is advised.

That's my plan. Still interested to hear from more KDE users about their 
experiences though.

Thanks to everyone who responded. 



Sai

2021-10-11 Thread Jordi
Bon dia, Quan tenia el debian 10, em va costar força configurar el Sai
i trobar-li el controlador adequat, però finalment vaig aconseguir que
funcionés bé. De fet el systemd no aconseguia comunicar mai amb el
controlador per això l'engego amb un script amb contingut: 

 /lib/nut/upsd
sleep 20
/lib/nut/nutdrv_qx -a Sai
sleep 10
/lib/nut/upsmon start

Amb debian 11 però, el sai no parava de pitar i no aconseguia connectar
amb el controlador. Després de remanar els cables sembla que es va
ficar bé.

L'altre dia, durant la aturada protesta, vaig parar la llum i
l'ordinador es va parar d'immediat, ho va fer però, correctament amb un
shutdown i amb la bateria al 100%.

Avui he fet una prova i he deshabilitat les entrades 
/sbin/upsmon -c fsd

que tinc en un executable que envia missatges al correu local i extern
i en determinades situacions hauria d'aturar l'ordinador.
He estat pendent per tornar la llum abans de que la bateria arribés a
un nivell crític, però quan ha arribat a LOW, l'ordinador s'ha aturat
per la meva sorpresa amb un shutdown.

En principi si tinc: NOTIFYCMD /usr/local/bin/ups-control.sh al
upsmon.conf no hauria de fer res el upssched, però no tinc idea d'on ha
sortit el senyal per aturar l'ordinador.

Algú em pot orientar ?

Salutacions

Jordi.



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Andrew M.A. Cater
On Mon, Oct 11, 2021 at 10:09:10AM -0400, rhkra...@gmail.com wrote:
> On Monday, October 11, 2021 09:20:25 AM kaye n wrote:
> > So that's the issue.
> > What desktop environment would you guys recommend for a desktop computer
> > with these specs?
> > 
> > CPU:
> >   Dual Core: Intel Core2 Duo E8400 type: MCP speed: 1998 MHz
> >   min/max: 670/10166 MHz
> > Graphics:
> >   Device-1: Intel 82945G/GZ Integrated Graphics driver: i915 v: kernel
> >   Display: x11 server: X.Org 1.20.4 driver: intel
> >   unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
> >   OpenGL: renderer: Mesa DRI Intel 945G v: 1.4 Mesa 18.3.6
> > 
> > Do I choose xfce, kde, mate, etc. ?
> 
> I'll give you my perspective:
> 
> Back in the day (ca. 2000), after some testing, I chose to use kde instead of 
> gnome (and I don't remember what other alternatives I tried).  Everything in 
> gnome seemed hard to see -- fuzzy and dark (just my impression).  Kde seemed 
> easy to see, not fuzzy, and nice and bright.  (Of course some of that depends 
> on the theme chosen.)
> 

This is a fairly old machine with shared memory for graphics.

XFCE / LXQt will probably work as well as anything else. LXQt is KDE-like.

Avoid the heavyweight desktops like GNOME/KDE. You will probably find
problems most with Firewfox or any web browser which have now become 
memory hogs.

Even Cinnamon and Mate are probably too heavy here. Don't expect fast
performance with modern software which tends to be memory hungry.

> I eventually adopted kmail as my favorite email client.  (That remains true 
> up 
> through at least Debian Wheezy, in other words, when the primary means of 
> email storage is via mbox.  Later versions of kmail apparently use a database 
> (don't remember the name) and I hear about problems with that.)  So I wouild 
> like to stick to a version of kde which uses a version of kmail which uses 
> mbox for storage.
> 
> There is a distribution (again, can't remember the name (it is a bitch 
> getting 
> old) -- Gene Heskett may chime in to remind me, that is basically based on, 
> well, I'll call it a fork of kde3, which still uses the kmail that uses mbox 
> for storage.  When I retire my Wheezy system, I'll probably but that OS on 
> that box.
> 

rhkramer - retire or upgrade your Wheezy system NOW. Don't delay, take it
off the network ASAP. That lost all support - including security support
of any description over three years ago now. For instructions on how
to upgrade between releases - see any number of posts here within the 
last couple of months.

All best, as ever, to all,

Andy Cater



Re: Buster to bullseye upgrade: Worth it or not?

2021-10-11 Thread Peter Ehlert



On 10/11/21 5:59 AM, local10 wrote:

Hi,

Am considering upgrading from buster to bullseye and looking for some feedback 
from those who have already done so. Was it worth it, in your opinion? Anything 
you like in particular about bullseye? Any problems/issues or degradation of 
performance/functionality/features, especially related to the KDE and its apps?


I am not a KDE user, all of my machines run Mate, so this is a bit off topic

Bullseye is great for me in almost every way.
The newer Mate apps are very nice, but not essential for me and my workflow.

next week I will deploy a "new" HP z820 work station that will be a 
significant part of my LAN and private cloud. I don't know what GPU it 
has yet, but it is Old Tech, 2012 vintage.

I am sure it will run on Bullseye just fine but...

However one of my favorite apps 
(http://alarm-clock.pseudoberries.com/#intro) will not work.


this .deb works on Buster. but not Bullseye
https://packages.debian.org/stretch/amd64/alarm-clock-applet/download

so, for me, I believe I will go for Buster for a while.

Personal choice. A test install is advised.



I'm asking this because something upgrading just isn't worth it, it's better 
perhaps to wait for the next release, like for example when KDE 3.5 was 
replaced with the initial KDE 4.x, that upgrade created so many problems (for 
me) while adding very little in terms of benefits.

Thanks






Recuperar tabla de partición (datos)

2021-10-11 Thread Leonardo Marín
Saludos lista,

quisiera sus sugerencias para tratar de recuperar la tabla de particiones o
en ultimo caso los archivos de uno de mis discos de respaldo, en realidad
tengo cosas allí que no están en ninguna otra parte,

fue mi error, iba  a crear un pendrive con netist y aunque ejecuté fdisk -l
no me fijé que sdb era mi disco de respaldo y sdc era el pendrive, no
recordé que tenia ese disco conectado,

el comando que usé para grabar el pendrive es dd if=/dev/sdb...

traté con testdisk y no la muestra, intenté de varias maneras y nada,
no he tratado en windows aunque tampoco conozco que aplicación pueda
utilizar para este fin, si conocen alguna y han tenido éxito agradezco la
información,

en tanto tiempo es 1ra vez, hace mucho tiempo borré la tabla de particiones
del disco que tenia en uso pero solo la borré, no hice nada más, la pude
recuperar luego con testdisk, pero este es otro nivel,

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


Re: New debian installation disk partition

2021-10-11 Thread Andy Smith
Hi Josef,

On Mon, Oct 11, 2021 at 01:18:55PM +0200, Josef Strýček wrote:
> I have a question how to partition new debain installation.I have 64GB ssd
> and 500GB hdd. Can I have / on ssd with ext4 and hdd with btrfs /hame /var 

Of course.

> /tmp /opt. Could you recommend layout for ssd and hdd, that ssd is not
> overwritten unnecessarily and ideal filesystem for ssd and hdd.

You've asked questions which are largely down to taste so you will
get a lot of different answers.

I would use "manual layout" in the installer to ensure I got exactly
what I wanted.

I would use whatever filesystems I wanted and not care about SSD
writes unless it's an ancient SSD or a truly exceptional use case.

For most uses /tmp is best left as a tmpfs (memory-backed) and /opt
starts off empty. If you think you're going to use /opt then you
must have some idea what you're going to put into it.

I would put a 1G or so swap partition on HDD and then dedicate whole
rest of the HDD to either btrfs or to LVM, in both cases for the
purposes of volume management. That way if your initial guesses for
sizing are incorrect you can easily change them and/or switch things
into btrfs subvolumes or LVM logical volumes later on.

But to be honest, SSD is life changing compared to HDD so I'd want
to put everything on SSD as long as it fits. I am a big lover of
redundancy so the lack of matched pairs of storage worries me, but
assuming that can't be changed I think I would use say the first
5GiB of SSD for / and then the rest as either btrfs or LVM again for
volume management.

I'd then create subvolumes or logical volumes for /home and /var and
initially have them on the SSD for speed. I'd move them into the
btrfs/LVM on the HDD only if you began to run out of SSD space.

Cheers,
Andy

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



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread rhkramer
On Monday, October 11, 2021 09:20:25 AM kaye n wrote:
> So that's the issue.
> What desktop environment would you guys recommend for a desktop computer
> with these specs?
> 
> CPU:
>   Dual Core: Intel Core2 Duo E8400 type: MCP speed: 1998 MHz
>   min/max: 670/10166 MHz
> Graphics:
>   Device-1: Intel 82945G/GZ Integrated Graphics driver: i915 v: kernel
>   Display: x11 server: X.Org 1.20.4 driver: intel
>   unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
>   OpenGL: renderer: Mesa DRI Intel 945G v: 1.4 Mesa 18.3.6
> 
> Do I choose xfce, kde, mate, etc. ?

I'll give you my perspective:

Back in the day (ca. 2000), after some testing, I chose to use kde instead of 
gnome (and I don't remember what other alternatives I tried).  Everything in 
gnome seemed hard to see -- fuzzy and dark (just my impression).  Kde seemed 
easy to see, not fuzzy, and nice and bright.  (Of course some of that depends 
on the theme chosen.)

I eventually adopted kmail as my favorite email client.  (That remains true up 
through at least Debian Wheezy, in other words, when the primary means of 
email storage is via mbox.  Later versions of kmail apparently use a database 
(don't remember the name) and I hear about problems with that.)  So I wouild 
like to stick to a version of kde which uses a version of kmail which uses 
mbox for storage.

There is a distribution (again, can't remember the name (it is a bitch getting 
old) -- Gene Heskett may chime in to remind me, that is basically based on, 
well, I'll call it a fork of kde3, which still uses the kmail that uses mbox 
for storage.  When I retire my Wheezy system, I'll probably but that OS on 
that box.

Somewhere in there, kde came up with an approach for inter-application 
communication -- I forget the name they had for it, but nowadays it has been 
adopted by other Linux OSs and is named "dbus".   I used it for a few things 
back in the day, but don't explicitly use it anymore (it may be used "behind 
the scenes" so that I am not aware of it).

So, I will, for a long time, have a prejudice towards using an OS that uses 
kde as the desktop, including a (perhaps an older) version of kmail, and one 
that also includes or allows the use of dbus.  Perhaps all desktops do that 
now.



Re: Buster to bullseye upgrade: Worth it or not?

2021-10-11 Thread Dan Ritter
local10 wrote: 
> Hi,
> 
> Am considering upgrading from buster to bullseye and looking for some 
> feedback from those who have already done so. Was it worth it, in your 
> opinion? Anything you like in particular about bullseye? Any problems/issues 
> or degradation of performance/functionality/features, especially related to 
> the KDE and its apps?


I have upgraded 8 machines at home and had no negatives at all.

Several of those are desktops, but none run KDE.

-dsr-



Re: First time WINE user looking for tutorial

2021-10-11 Thread Richard Owlett

On 10/10/2021 05:47 PM, Tom Dial wrote:



On 10/10/21 04:14, Richard Owlett wrote:

On 10/09/2021 10:24 AM, Patrick Bartek wrote:

On Sat, 9 Oct 2021 09:40:21 -0500
Richard Owlett  wrote:


(Omitted)






Just be forewarned, WINE is not the catchall solution to running
Windows apps: The more involved codewise the program is like games or
Photoshop, the more problems you'll have.


For context, I've been providing informal support to a local couple for
decades. He is a retired pastor, now a missionary. They need a new
computer and as part of my support, I'll be purchasing a replacement. As
I've not used Windows since WinXP and they are pure Windows users I
planned to dual boot Windows and Debian. Debian primarily for its
maintenance tools. I hope WINE will run enough of their "must have" apps
that I can use that as a selling point to move from Windows to Linux.


In those cases, just run Windows in a virtual machine which is what I do
for ALL Windows apps I need. Less or virtually no gotchas!


On my personal machines I would have no motivation to install a VM.
However, I'll investigate the pros/cons of having their machine run a VM
in which I would run Debian as a demo.



Full disclosure: I have not run WINE for 20 years or more, and assume
without argument that it is much improved over what it was then. I run
VMs regularly under Linux (using KVM), but the current ones are either
Linux or FreeBSD; I haven't done a Windows VM for years.

That said, it is not the right solution for the problem you describe.
And with due respect to Patrick, I do not think running windows in a
(presumably) Linux VM is a good solution either.


Description tangled as well being in flux.
I will supply them with a Windows machine. For my convenience it will 
have a VM running Debian. The only use being considered now for WINE is 
my personal home machines.




I have supported my wife's various computers for about 25 years under an
oral service agreement providing that I will install software  as
requested, maintain the OS and installed software regularly, analyze and
correct software and hardware problems as necessary, and replace the
hardware as appropriate. That, and no more, under threat of Serious
Issues. That has brought the suffering of Windows 95, now long in the
past, and over time reinforced the validity of the first rule I was
given as a novice mainframe system programmer 30 years ago: "We install
vanilla."

Running an emulator like WINE, or Windows in a Linux (?) VM, would
likely lead to operational issues arising from interfaces that are not
overly well documented and therefore hard to analyze. Resolution often
would have to based on web search results of uncertain accuracy and
reliability, and consequent false starts and customer dissatisfaction.
Either would cause you excessive work and likely enough bring
unhappiness to both you and those you aim to assist.


Agreed.



I recommend you select, with your users' concurrence, a suitable factory
refurbished business-grade laptop[1] from a major manufacturer. I have
used HP, but Dell, Lenovo, and maybe others probably have similar
programs. Refurbished business laptops are a bit costlier than new
consumer laptops with comparable performance, but they also are built to
a higher standard of reliability and come with significantly less
preloaded crapware. They also (HP experience here) may have useful built
in diagnostic tools and support software/firmware maintenance support,
and they come with a full new unit warranty; in my experience, any
defects are minor and cosmetic.


I've already talking to such a local vendor. I've bought several Lenovos 
from them and have observed how they interact with non-tech customers. 
Also, IIUC they can provide on customer site service.




For the use case you describe, I also recommend a service agreement, if
available, that provides pick up and delivery service. The HP ones
(presently $137 for three year coverage) are fairly inexpensive. While
they are unlikely to be used, I consider them worthwhile unless there is
a serious cost constraint).

Such equipment will come with preinstalled and configured Windows, and
current Microsoft maintenance support is quite good and relatively
trouble free. And when problems do arise, Microsoft or manufacturer
support is likely to be usable to resolve it; they certainly will be as
good as random WWW support for a home-brew OS and software setup.

Linux tools are undeniable useful in some cases, but will rarely be
necessary for a vanilla or nearly vanilla Windows setup. For those
instances where they are, it always is nice to have a bootable CD, DVD,
or USB key with Linux and a set of common tools on it. I generally use a
recent Debian DVD #1 for this and install any missing tools as necessary
once it is booted and running.


Having Debian in a VM would be nice, but not a deal breaker.



Regards
Tom Dial

[1] Manufacturers also will offer refurbished business desktop or
workstation equipment. 

Re: personnalisation de la séquence de login

2021-10-11 Thread Jean-Marc

Bonjour Luc,

Le 11/10/21 à 11:24, Luc Novales a écrit :

Je ne comprends pas trop le problème. Est ce un besoin de compte "invité" ?

Ne suffirait il pas d'activer la fonctionnalité du même nom pour qu'elle 
ait ce comportement ?


Si cette fonctionnalité "invité" crée un répertoire $HOME au login et 
l'efface au logout, cela devrait faire le boulot.


Je vais regarder comment cela s'active.


Bonne journée,


Bonne journée à toi aussi.


Luc.


--
Jean-Marc



OpenPGP_signature
Description: OpenPGP digital signature


Re: Buster to bullseye upgrade: Worth it or not?

2021-10-11 Thread Andrei POPESCU
On Lu, 11 oct 21, 14:59:35, local10 wrote:
> Hi,
> 
> Am considering upgrading from buster to bullseye and looking for some 
> feedback from those who have already done so. Was it worth it, in your 
> opinion? Anything you like in particular about bullseye? Any 
> problems/issues or degradation of performance/functionality/features, 
> especially related to the KDE and its apps?

One machine here is running bullseye (fresh install), and so far it 
seems to be fine, though I didn't have the chance to push it to its full 
potential / intended use.

Since the hardware is quite new it might not even work very well with 
buster (if at all).

The other systems under my care will be upgraded soonish, unless they 
are completely de-commissioned / re-purposed (for unrelated reasons).

With the upgrade to bullseye I would get rid of a few backports, but 
nothing essential.

This may or may not be relevant for your use, more details from your 
side could result in more accurate assessments.
 
> I'm asking this because something upgrading just isn't worth it, it's 
> better perhaps to wait for the next release, like for example when KDE 
> 3.5 was replaced with the initial KDE 4.x, that upgrade created so 
> many problems (for me) while adding very little in terms of benefits.

Apparently that particular (dist-)upgrade was indeed painful for many 
KDE users[1]. The rest of the system was fine though, as far as I 
recall.

On the other hand regular security support for buster will end about one 
year before the release of bookworm. Are you fine with (only) LTS 
support?

https://www.debian.org/lts/

[1] It might have contributed to my brother eventually giving up on 
dual-booting Debian on his desktop.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Buster to bullseye upgrade: Worth it or not?

2021-10-11 Thread Greg Wooledge
On Mon, Oct 11, 2021 at 02:59:35PM +0200, local10 wrote:
> Am considering upgrading from buster to bullseye and looking for some 
> feedback from those who have already done so. Was it worth it, in your 
> opinion? Anything you like in particular about bullseye? Any problems/issues 
> or degradation of performance/functionality/features, especially related to 
> the KDE and its apps?

You mention KDE.  So, let me share this little story with you.

We (i.e. my employer) have some Debian workstations that are set up to
run a commercial data review/analysis software suite.  The vendor of this
particular software suite started out on HP-UX, and later migrated their
support platform to Linux.  They use a variant of CentOS, and they use KDE.

I set up some Debian 9 (the stable version at that time) workstations, and
managed to get them up and running the vendor's software suite.  Since the
vendor used KDE on their supported workstations, I used KDE as well, in
order to minimize confusion for the users.

The workflow model was pretty straightforward: data were collected by
one data acquisition system (running the vendor's Linux variant), and
reviewed by trained users sitting at the data review workstations (running
Debian 9).

Then the pandemic happened.

Did I mention that this is *medical* data?  It's medical data.  The users
are physicians, or highly trained medical specialists.

So, in the early stages of the Covid-19 pandemic, access to the physical
workstations was severely limited.  People were not allowed to come to
work in person except in special cases (e.g. the people who actually
guide the patient into the room, hook up the electrodes, etc.).  All of
the people who were supposed to review the data were stuck working from
home.

Skipping over a *whole* lot of detail, what we ended up doing was setting
up a VNC server on each of the data review workstations.  The users who
are reviewing the data from home connect to that, and run the vendor's
software suite inside a VNC session.

The problems did not start immediately.

Periodically, for reasons I could not initially pinpoint, one of the VNC
sessions would simply stop working.  Stopping and restarting it did not
help.  The only thing I could do was reboot the entire workstation.

After several months of this, running every command I could think of,
doing Google searches, etc., this is what I came up with:

It seems that when KDE's SDDM (display manager) locks the screen, and
a user unlocks the screen, there are two different things that can
happen.  Either the screen unlocks normally, and the user resumes their
KDE session; or, SDDM launches a whole *new* KDE session, and now the
user is logged in twice.

So, as near as I can tell, every once in a while (increasingly often
as users were allowed back on site), someone would sit down at one of
the workstatiosn, try to unlock the screen, and would be thrown into
a whole new session.  They would be logged in twice on the console, and
running two different X sessions, one on display :0, and the other on
display :1.  Sometimes this would show up in "who" output. and sometimes
it wouldn't.  Sometimes I'd see a /tmp/.X11-unix/X1 socket owned by
root instead of the VNC session's user.  Sometimes I wouldn't.

Whenever this happened, the VNC session that was trying to use display :1
would fail.  Only rebooting would fix it.

My Google searches told me that this was considered a "feature" in
SDDM, but was annoying for many people, because they kept tripping it
accidentally.  For them, it wasn't a disaster -- they would be logged
in twice, and they'd struggle to figure out that they could get back to
their original session by hitting Ctrl-Alt-F7 or whatever.

For *us*, it meant someone was completely locked out, and I had to
intervene to fix it.  This was more than simply annoying.

As it turns out, there's a configuration option to control this feature
in SDDM.  But only in *new* versions of SDDM.  It didn't exist in the
version shipped with Debian 9.  And it didn't exist in the version
of SDDM shipped with Debian 10 either.  Apparently it *does* exist in
the version shipped with Debian 11, but it's undocumented.  It's also
supposedly enabled (fixed) by default.

So, the point of all this is that upgrading to Debian 11 helped us work
around a major design flaw in SDDM (KDE's display manager).  It hasn't
caused me any problems yet (although having to rework NIS was a small
hassle).

As always, please read the release notes, and also check
 for the latest set of known
issues reported by the user community.



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread kaye n
On Mon, Oct 11, 2021 at 8:41 PM Greg Wooledge  wrote:

> On Mon, Oct 11, 2021 at 02:37:02PM +0200, Thomas Schmitt wrote:
> > But, urm, it might be that debian-live-11.0.0-amd64-standard.iso does
> > not provide any graphical user interface. Maybe a shell prompt is all
> > you can expect from it.
>
> I'm almost 100% certain this is true.
>
> If the live system is working, other than that one kernel warning message,
> then just ignore the warning.  Hit Enter to get a "clean" shell prompt.
>
>
So that's the issue.
What desktop environment would you guys recommend for a desktop computer
with these specs?

CPU:
  Dual Core: Intel Core2 Duo E8400 type: MCP speed: 1998 MHz
  min/max: 670/10166 MHz
Graphics:
  Device-1: Intel 82945G/GZ Integrated Graphics driver: i915 v: kernel
  Display: x11 server: X.Org 1.20.4 driver: intel
  unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
  OpenGL: renderer: Mesa DRI Intel 945G v: 1.4 Mesa 18.3.6

Do I choose xfce, kde, mate, etc. ?

That's my last question, won't bother you again for now.
Thank you very much in advance.


Re: Re: LUKS encryption help

2021-10-11 Thread detrito
Hello friends, I'm sending this last email to inform you that I have given up 
on trying to recover the contents of my external hard drive and that I 
formatted it.
Thank you to every single one of you who spared their time to try and help me.
On one last note, I should I drag attention to what seemed to be a bug on the 
boot screen that asked for my LUKS password: It considered backspaces as a 
normal character. I type my password and it shows an asterisk on the screen for 
every character I type - instead of deleting the asterisk, the backspace key 
created one more asterisk each time I pressed it.



Buster to bullseye upgrade: Worth it or not?

2021-10-11 Thread local10
Hi,

Am considering upgrading from buster to bullseye and looking for some feedback 
from those who have already done so. Was it worth it, in your opinion? Anything 
you like in particular about bullseye? Any problems/issues or degradation of 
performance/functionality/features, especially related to the KDE and its apps?

I'm asking this because something upgrading just isn't worth it, it's better 
perhaps to wait for the next release, like for example when KDE 3.5 was 
replaced with the initial KDE 4.x, that upgrade created so many problems (for 
me) while adding very little in terms of benefits.

Thanks



Re: First time WINE user looking for tutorial

2021-10-11 Thread Richard Owlett

On 10/10/2021 11:03 AM, Andrew M.A. Cater wrote:

On Sun, Oct 10, 2021 at 05:14:36AM -0500, Richard Owlett wrote:

On 10/09/2021 10:24 AM, Patrick Bartek wrote:

On Sat, 9 Oct 2021 09:40:21 -0500
Richard Owlett  wrote:


Just be forewarned, WINE is not the catchall solution to running
Windows apps: The more involved codewise the program is like games or
Photoshop, the more problems you'll have.


For context, I've been providing informal support to a local couple for
decades. He is a retired pastor, now a missionary. They need a new computer
and as part of my support, I'll be purchasing a replacement. As I've not
used Windows since WinXP and they are pure Windows users I planned to dual
boot Windows and Debian. Debian primarily for its maintenance tools. I hope
WINE will run enough of their "must have" apps that I can use that as a
selling point to move from Windows to Linux.


In all honesty, I wouldn't do that: don't force a dual boot on anyone
that isn't an expert computer user. They could readily get
confused / boot into the wrong OS.


That was one of my concerns having done that to myself on my own 
machines. If I decide to have Debian on their machine it *will be* by 
using a VM.



Better, in this instance, to buy a
new computer with Windows and whatever office software they might need
and for you to learn enough to use Windows 10 or 11.


I can use Windows, I just want Debian tools available to me.



If you get Windows Pro, you could readily use Debian over WSL2
if you had to.


Reading https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux raises 
all sorts of "red flags". Reminds me of why I abandoned M$ in days of WinXP.



On a new computer, don't take the risk of making it dual boot,
perhaps having to reinstall Windows, "voiding warranty" and creating
a further rod for your back in support.


Agreed!



This is, perhaps, an unusual viewpoint to take - but I have been involved
in trying to set up a special purpose machine for someone who didn't
appreciate the help that I was endeavouring to provide, queried costs and
so on. > I ended up paying money out of my own pocket to fix items because I was
guilt-tripped into it.


I'm fortunately in a different situation. I've given better support for 
free than what they got from the big box store where they bought their 
current machine. As part of my support the missions agency I'm supplying 
the machine and its upkeep.






In those cases, just run Windows in a virtual machine which is what I do
for ALL Windows apps I need. Less or virtually no gotchas!




As a Linux user, on your own machine, absolutely. Again, you do need to
know what you're doing this for and the limitations of Windows
  - it's something I have considered for folk who are predominantly Linux
users but have to use Windows occasionally for work.


On my personal machines I would have no motivation to install a VM.
However, I'll investigate the pros/cons of having their machine run a
VM in which I would run Debian as a demo.




Are there good FOSS or low cost VMs for Windows machines?


Microsoft's WSL2 is the closest you'll get. That and Debian are no cost
options - but in that instance, you have to get your Debian instance
from the Microsoft store.


That requirement eliminates WSL2 from consideration.
I'm investigating Virtualbox and VM Ware.





Thanks




All best, as ever,

Andy Cater






Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Brian
On Mon 11 Oct 2021 at 08:41:17 -0400, Greg Wooledge wrote:

> On Mon, Oct 11, 2021 at 02:37:02PM +0200, Thomas Schmitt wrote:
> > But, urm, it might be that debian-live-11.0.0-amd64-standard.iso does
> > not provide any graphical user interface. Maybe a shell prompt is all
> > you can expect from it.
> 
> I'm almost 100% certain this is true.

You can be 100% certain. The ISO size is indicative and there is a
packages file.

-- 
Brian.



Re: How to configure the network ethernet?

2021-10-11 Thread Reco
Hi,

please do not top-post.

On Mon, Oct 11, 2021 at 03:34:06AM -0600, William Torrez Corea wrote:
> I was following your recommendation.

Yes, and ethtool does not allow you to change L2 settings of the
interface if the interface is UP.

Reco



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Greg Wooledge
On Mon, Oct 11, 2021 at 02:37:02PM +0200, Thomas Schmitt wrote:
> But, urm, it might be that debian-live-11.0.0-amd64-standard.iso does
> not provide any graphical user interface. Maybe a shell prompt is all
> you can expect from it.

I'm almost 100% certain this is true.

If the live system is working, other than that one kernel warning message,
then just ignore the warning.  Hit Enter to get a "clean" shell prompt.



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Thomas Schmitt
Hi,

kaye n wrote:
> sudo dd bs=1M if=/dev/sdb of=/dev/null status=progress oflag=dsync
> [sudo] password for kaye:
> 7893680128 bytes (7.9 GB, 7.4 GiB) copied, 1015 s, 7.8 MB/s
> 7536+0 records in
> 7536+0 records out
> 7902068736 bytes (7.9 GB, 7.4 GiB) copied, 1015.78 s, 7.8 MB/s
>  
> The above seems fine, right?

Yes. Looks ok.


> Also, if it matters, I CANNOT get in the live Debian (where I could use the
> operating system), but it seems I can run the installer

Probably you find better experts on debian-l...@lists.debian.org
See
  https://lists.debian.org/debian-live/

In any case you will have to report as much of the messages as you can.


But, urm, it might be that debian-live-11.0.0-amd64-standard.iso does
not provide any graphical user interface. Maybe a shell prompt is all
you can expect from it.

Try
  
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-11.1.0-amd64-xfce.iso
or other .iso files from that page which name a graphical desktop system,
like "kde", "gnome", "cinnamon", ...

If you get further than with "standard", but still don't get a graphical
desktop, then it is at latest time to consider Andrei POPESCU's proposal
of using a "non-free" image (i.e. with the proprietiary drivers and
firmware which Debian can accept with outmost tolerance).
E.g.

  
https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/current-live/amd64/iso-hybrid/debian-live-11.1.0-amd64-xfce+nonfree.iso


> What's the difference between
> bt-hybrid/
> and
> iso-hybrid/

They are supposed to differ only by the way of downloading.
"bt-hybrid" is for users of bittorrent, "iso-hybrid" is for users of web
browser or download tools like "wget".


Have a nice day :)

Thomas



Re: Then it happened to me...

2021-10-11 Thread Brian
On Mon 11 Oct 2021 at 10:47:21 +0300, Andrei POPESCU wrote:

> On Du, 10 oct 21, 22:33:15, piorunz wrote:
> > On 10/10/2021 22:27, Nate Bargmann wrote:
> > > Years back there was an emailed newsletter titled Debian Weekly News.
> > > At some point the author lost motivation as I recall and the newsletter
> > > effectively ceased.
> > 
> > Oh that's sad
> > 
> > > Keep in mind that Debian is an organization that
> > > depends on volunteer effort to accomplish its goals.  I think you have
> > > identified an area where you can help, i.e. the timely dissemination of
> > > project news.
> > 
> > Yes I am aware of that, but I am curious why isn't any money spent on
> > that. To hire someone to spend two hours per week summarising news on
> > the list and post them?
> 
> Because there is a risk it will kill the motivation of volunteers.

As has happened in the past:

  https://lists.debian.org/debian-project/2006/10/msg00260.html

This occasioned (I think) Joey Schulze ceasing his involvement with
the Debian Weekly News.

-- 
Brian.



OpenLdap

2021-10-11 Thread Gokan Atmaca
Hello

I am using openldap. I configured a different server as ldap client.
When I say "id user", the information comes. I have two organized
units. "people" and "groups". my test environment.  But I can't login.
What could be causing the problem?

Example:
$ id gokhan (ldap_user)
uid=1(gokhan) gid=2000(ob) groups=2000(ob)

Thanks.


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



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread kaye n
On Mon, Oct 11, 2021 at 6:56 PM Thomas Schmitt  wrote:

> Hi,
>
> kaye n wrote:
> > Using GParted, I created an MS-DOS partition table and formatted the USB
> > stick in fat32.
>
> This is not necessary and will be overwritten by your next step:
>
> > sudo cp  debian-live-11.0.0-amd64-standard.iso /dev/sdb
> > sync
>
> This is a correct procedure and is supposed to do what is needed.
> The fact that booting works confirms that you did it right.
>
> > stuck in a black terminal-like screen where it says, I/O error, etc.
>
> Maybe your USB stick is not good.
> Do you get i/o errors when you read the whole stick by:
>
>   dd bs=1M if=/dev/sdb of=/dev/null
>
> (Depending on size and speed of the stick this can last long.
>  If your dd is young enough you get entertaining progress messages by
>  adding two more options:
>
>dd bs=1M if=/dev/sdb of=/dev/null status=progress oflag=dsync
> )
>
> If the stick is not plain bad, then you will have to show the messages
> which you see when booting gets stuck. Either as hand-copied text or
> as screen photo which you upload to some site like pastebin.com. In
> the latter case post a link to your uploaded photo.
>
>
> Have a nice day :)
>
> Thomas
>
>
When I try to enter the live Debian, I get the terminal-like screen with
this message:

user@debian:~# [   41.896110] blk_update_request: I/O error, dev fd0,
sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

The installer seems to run fine although I did not proceed with the
installation because I still want a usb stick that has a working Live
Debian.

Thank you


Re: dkim / postfix

2021-10-11 Thread mj

Hoi Rutger,

On 11/10/2021 09:59, Rutger wrote:

Wat betreft je criteria, helaas is dat meer projecten ook het geval.
Maar goed, het werkt en doet wat het moet doen. Kortom, opendkim is een
prima keuze.


Ik kan na twee weken inderdaad nog steeds niks anders zeggen. :-)

Thanks, voor je reactie!
MJ



Re: Gourmet ne démarre plus.

2021-10-11 Thread Haricophile
Le Mon, 11 Oct 2021 12:23:39 +0200,
steve  a écrit :

> J'ai aussi essayé avec Bullseye sous Kde Plasma. En lançant le
> programme depuis un terminal, j'ai reçu beaucoup de WARNING et
> d'ERROR mais le programme tourne. Il a dû être écrit avec les pieds,
> c'est pas possible autrement…

Si, autrement c'est possible car : 

Latest release jun 5 2014

Il me semble à première vue qu'il y a surtout des petits soucis
d'obsolescence même si il semble y avoir en survolant github quelques
activités depuis.



Re: Gourmet ne démarre plus.

2021-10-11 Thread Haricophile
Le Mon, 11 Oct 2021 11:14:03 +0200,
Txo  a écrit :

> Bonjour,
> 
> Qui utilise gourmet ? Moi déjà et j'ai des problèmes depuis une mise
> à jour récente.
> Celui là ne démarre pas et butte sur
>   File "/usr/lib/python3/dist-packages/gourmet/backends/db.py", line 
> 753, in fetch_len
>  return table.count().execute().fetchone()[0]
> AttributeError: 'Table' object has no attribute 'count'
> 
> 
> J'aimerais savoir si quelqu'un a eu la même réaction avant de faire
> un rapport de bug.
> 
> Merci.
> 

Je teste l'installation sur Bullseye, ça passe en mode debug avec pas
mal de bazar concernant les plugins mais ça se lance. Tu as essayé de
le lancer sans en désactivant les plugins ou avec une nouvelle
base à tout hasard ?

Sinon j'ai testé pip3 install --upgrade mais il n'a rien de plus récent
a installer.



Re: A real bounce between GMX and bendel.debian.org

2021-10-11 Thread Brian
On Sun 10 Oct 2021 at 22:07:28 -0300, Eduardo M KALINOWSKI wrote:

> On 10/10/2021 17:18, Thomas Schmitt wrote:
> > Hi,
> > 
> > although i seem not to be worth to be targeted by our bounce assassin,
> > my mail provider and bendel.debian.org are at odds enough to produce
> > a real bounce message, which then causes a warning mail from
> > listmas...@lists.debian.org .
> > 
> > I am trying to make sense out of the given bounce report
> > 
> >https://lists.debian.org/bounces/79gUBBa56gHKY3wtHzNKdg
> > 
> > It is hard to distinguish the hearsay by bendel.debian.org from the
> > message parts which come from my provider's server mx00.emig.gmx.net.
> > Especially i wonder from where bendel takes the association to my
> > mail address (and which mentionings show its conclusions about my
> > address).
> > 
> > Whatever, the reason for the bounce is that GMX accuses debian-user
> > of not meeting its requirements
> >https://www.gmx.net/mail/senderguidelines
> > All points there look like they are not volatile problems but rather
> > persistent ones. But listmas...@lists.debian.org wrote i had
> > >   1 bounce out of 68 mails in one day (1%, kick-score is 80%)
> > So why did the other 67 succeed ?
> 
> That seems unrelated to the OVH bounces.

Agreed.
 
> My mailserver bounced the same email (and I got a warning like that). Since
> I run my own mailserver, and can look at the logs and see exactly why it has
> been rejected, and here's what I got:
> 
> 2021-10-10 16:07:37 1mZeAb-0005Mc-Hn H=bendel.debian.org
> [2001:41b8:202:deb:216:36ff:fe40:4002]
> X=TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=no
> F= rejected
> after DATA: header syntax (malformed address: >\n may not follow
> Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= : failing address in
> "From:" header is: Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= >):
> malformed address: >\n may not follow Pierre-Elliott =?utf-8?Q?B=C3=A9cue?=
> : failing address in "From:" header is: Pierre-Elliott
> =?utf-8?Q?B=C3=A9cue?= >

Confirmed.
 
> And this is From header:
> 
> From: Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= >
> 
> (There does seem to be an extra > in there.)

It is real enough and can be seen in the list archives at

  https://lists.debian.org/debian-user/2021/10/msg00429.html

The extra > is not evident at

  https://lists.debian.org/debian-devel-announce/2020/04/msg00015.html

It looks like Pierre-Elliott Bécue has some fixing to do. In case he has
ceased to follow this thread, there is a Cc to him.
 
> In this case, my server bounced a mail, and so the listserver is correct in
> sending me that notification. And since it was just one email, I did not get
> unsubscribed.
> 
> However, perhaps the listserver should have not accepted that email with the
> (possibly) invalid From header in the first place.

Postfix is used by bendel. I trust the RFC compliancy of Exim.

-- 
Brian.
> 
> 



Re: New debian installation disk partition

2021-10-11 Thread Andrei POPESCU
On Lu, 11 oct 21, 13:18:55, Josef Strýček wrote:
> 
> Hi,
> 
> I have a question how to partition new debain installation.I have 64GB ssd
> and 500GB hdd. Can I have / on ssd with ext4 and hdd with btrfs /hame /var 
> 
> /tmp /opt.

Sure you can.

> Could you recommend layout for ssd and hdd, that ssd is not
> overwritten unnecessarily 

My recommendation would be to have only /home on the HDD, unless you 
expect the others to become too big for the SSD.

For regular use[1] the SSD should be just fine, and you should already 
have a good strategy to restore your operating system quickly if needed.

If your SSD fails too soon it wasn't worth it anyway and hopefully you 
can still replace it in warranty ;)

> and ideal filesystem for ssd and hdd.

There is no such thing as "ideal", it depends very much on your needs. 

In almost all cases ext4 will be just fine for general use. You are 
unlikely to notice any significant improvement with other file systems 
unless you have very special[1] needs.

Since you mentioned btrfs, do you actually need any of its additional 
features compared to ext4? With only one HDD its benefits will be 
limited (snapshots and subvolumes only?) while increasing complexity.

See also:
https://arstechnica.com/gadgets/2021/09/examining-btrfs-linuxs-perpetually-half-finished-filesystem/

[1] You would know if your use is special ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: How exactly do I create a Debian live USB?

2021-10-11 Thread David
On Mon, 11 Oct 2021 at 22:46, kaye n  wrote:
>
> Andrei are you suggesting I use either of the two found here?
>
> https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.1.0-live+nonfree/amd64/
>
> What's the difference between
>
> bt-hybrid/
> and
> iso-hybrid/

If you point your browser to those directories then
you can read the pages there that answer your question.



Re: How exactly do I create a Debian live USB?

2021-10-11 Thread kaye n
On Mon, Oct 11, 2021 at 7:14 PM Andrei POPESCU 
wrote:

> On Lu, 11 oct 21, 12:56:28, Thomas Schmitt wrote:
> > Hi,
> >
> > kaye n wrote:
> > > Using GParted, I created an MS-DOS partition table and formatted the
> USB
> > > stick in fat32.
> >
> > This is not necessary and will be overwritten by your next step:
> >
> > > sudo cp  debian-live-11.0.0-amd64-standard.iso /dev/sdb
> > > sync
> >
> > This is a correct procedure and is supposed to do what is needed.
> > The fact that booting works confirms that you did it right.
> >
> > > stuck in a black terminal-like screen where it says, I/O error, etc.
> >
> > Maybe your USB stick is not good.
> > Do you get i/o errors when you read the whole stick by:
> >
> >   dd bs=1M if=/dev/sdb of=/dev/null
> >
> > (Depending on size and speed of the stick this can last long.
> >  If your dd is young enough you get entertaining progress messages by
> >  adding two more options:
> >
> >dd bs=1M if=/dev/sdb of=/dev/null status=progress oflag=dsync
> > )
> >
> > If the stick is not plain bad, then you will have to show the messages
> > which you see when booting gets stuck. Either as hand-copied text or
> > as screen photo which you upload to some site like pastebin.com. In
> > the latter case post a link to your uploaded photo.
>
> In addition to what Thomas wrote, you might also want to try the live
> image including firmware.
>
>
> https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/
>
> It's unlikely to fix whatever I/O errors you encountered, but it might
> help with other issues you didn't encounter yet ;)
>
>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser


Andrei are you suggesting I use either of the two found here?

https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.1.0-live+nonfree/amd64/

What's the difference between

bt-hybrid/
and
iso-hybrid/

Thank you


Re: How exactly do I create a Debian live USB?

2021-10-11 Thread kaye n
On Mon, Oct 11, 2021 at 6:56 PM Thomas Schmitt  wrote:

> Hi,
>
> kaye n wrote:
> > Using GParted, I created an MS-DOS partition table and formatted the USB
> > stick in fat32.
>
> This is not necessary and will be overwritten by your next step:
>
> > sudo cp  debian-live-11.0.0-amd64-standard.iso /dev/sdb
> > sync
>
> This is a correct procedure and is supposed to do what is needed.
> The fact that booting works confirms that you did it right.
>
> > stuck in a black terminal-like screen where it says, I/O error, etc.
>
> Maybe your USB stick is not good.
> Do you get i/o errors when you read the whole stick by:
>
>   dd bs=1M if=/dev/sdb of=/dev/null
>
> (Depending on size and speed of the stick this can last long.
>  If your dd is young enough you get entertaining progress messages by
>  adding two more options:
>
>dd bs=1M if=/dev/sdb of=/dev/null status=progress oflag=dsync
> )
>
> If the stick is not plain bad, then you will have to show the messages
> which you see when booting gets stuck. Either as hand-copied text or
> as screen photo which you upload to some site like pastebin.com. In
> the latter case post a link to your uploaded photo.
>
>
> Have a nice day :)
>
> Thomas
>
> sudo dd bs=1M if=/dev/sdb of=/dev/null status=progress oflag=dsync
[sudo] password for kaye:
7893680128 bytes (7.9 GB, 7.4 GiB) copied, 1015 s, 7.8 MB/s
7536+0 records in
7536+0 records out
7902068736 bytes (7.9 GB, 7.4 GiB) copied, 1015.78 s, 7.8 MB/s

The above seems fine, right?

Also, if it matters, I CANNOT get in the live Debian (where I could use the
operating system), but it seems I can run the installer (although I
cancelled the installation because I want to be able to get in the live
Debian).


Re: New debian installation disk partition

2021-10-11 Thread Andrew M.A. Cater
On Mon, Oct 11, 2021 at 01:18:55PM +0200, Josef Strýček wrote:
> 
> Hi,
> 
> I have a question how to partition new debain installation.I have 64GB ssd
> and 500GB hdd. Can I have / on ssd with ext4 and hdd with btrfs /hame /var 
> 
> /tmp /opt. Could you recommend layout for ssd and hdd, that ssd is not
> overwritten unnecessarily and ideal filesystem for ssd and hdd.
> 
> 
> 
> 
> Thank you in advance
> 
> Josef Strýček

Hi Josef,

I'd suggest you boot with the installer and use expert mode which will
allow you more control over partitioning.

Take the ssd and use guided partitioning - put everything in one partition.
That will set up the appropriate partitions for booting, for /  and add a swap
partition at the end of 1G size.

Partition the 500G hdd however you wish - add a partition for /var and /tmp.
What sort of thing are you planning for /opt - it's not often used in Debian
but only for third party packages.

Nothing is written on the filesystems until you finish the partitioning 
on each disk.

With every good wish, as ever,

Andy Cater



Re: Order of package updates, mysql vs. kernel

2021-10-11 Thread Vladislav Kurz
Dne pondělí 11. října 2021 12:01:45 CEST, Josef Strýček napsal(a):
> English:
> 
> Hello,
> 
> something similar happened to testing last week, after the upgrade,
> including the kernel to 5.14, I can't compile dkms for nvidia, so I think
> the new kernel problem.

I don't think that it is new problem. I have seen this long time before, but 
just didn't bother to report it.

IMHO it is more about the timing of mysql stop, which comes too early  (at/
before unpack stage). But there may be some good reason for that.

If so then all packages that need to stop their daemon before unpacking the 
new version, should somehow signal apt, that they want to finish the upgrade 
ASAP, before unpacking and configuring other packages. (Instead of the usual 
processing - unpack all, configure all)


-- 
S pozdravem
Vladislav Kurz

Centrála: Celní 17/5, 63900 Brno, CZ
Web: http://www.webstep.net
E-Mail: podp...@webstep.net
Tel: 840 840 700, +420 548 214 711
Obchodní podmínky: https://zkrat.to/op




New debian installation disk partition

2021-10-11 Thread Josef Strýček

Hi,

I have a question how to partition new debain installation.I have 64GB ssd
and 500GB hdd. Can I have / on ssd with ext4 and hdd with btrfs /hame /var 

/tmp /opt. Could you recommend layout for ssd and hdd, that ssd is not
overwritten unnecessarily and ideal filesystem for ssd and hdd.




Thank you in advance

Josef Strýček

Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Andrei POPESCU
On Lu, 11 oct 21, 12:56:28, Thomas Schmitt wrote:
> Hi,
> 
> kaye n wrote:
> > Using GParted, I created an MS-DOS partition table and formatted the USB
> > stick in fat32.
> 
> This is not necessary and will be overwritten by your next step:
> 
> > sudo cp  debian-live-11.0.0-amd64-standard.iso /dev/sdb
> > sync
> 
> This is a correct procedure and is supposed to do what is needed.
> The fact that booting works confirms that you did it right.
> 
> > stuck in a black terminal-like screen where it says, I/O error, etc.
> 
> Maybe your USB stick is not good.
> Do you get i/o errors when you read the whole stick by:
> 
>   dd bs=1M if=/dev/sdb of=/dev/null
> 
> (Depending on size and speed of the stick this can last long.
>  If your dd is young enough you get entertaining progress messages by
>  adding two more options:
> 
>dd bs=1M if=/dev/sdb of=/dev/null status=progress oflag=dsync
> )
> 
> If the stick is not plain bad, then you will have to show the messages
> which you see when booting gets stuck. Either as hand-copied text or
> as screen photo which you upload to some site like pastebin.com. In
> the latter case post a link to your uploaded photo.

In addition to what Thomas wrote, you might also want to try the live 
image including firmware.

https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/

It's unlikely to fix whatever I/O errors you encountered, but it might 
help with other issues you didn't encounter yet ;)


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Order of package updates, mysql vs. kernel

2021-10-11 Thread Andrei POPESCU
On Lu, 11 oct 21, 10:53:18, Vladislav Kurz wrote:
> Hello,
> 
> during the last point release (and some previous updates too) I have noticed 
> one unpleasant issue:
> 
> If there is mysql (mariadb) and kernel update at the same time, the order of 
> actions is as follows:
> 
> stop mysql
> compile kernel modules for new kernel (using dkms) 
> create new initrd, update-grub, etc...
> start mysql
> 
> Kernel module compilation may take quite a long time, during which is mysql 
> stopped, but does not need to.
> 
> I'm not sure whether this should be reported as bug in mysql or kernel 
> packaging.

Without looking into it I'm guessing MariaDB is stopped in preinst and 
started in postinst, and there might be very good reasons to do it like 
this[1]. It can't however account for whatever else is done by APT/dpkg 
in between[2].

To minimize MariaDB downtime you might want to consider upgrading it in 
a separate APT run from everything else.


[1] README.Debian, the changelog, (archived) bug reports, or comments in 
the package scripts might provide more insight here.

[2] Your issue is triggered by dkms, but it could be any other package 
that does some processing on upgrades, or just the amount of packages 
that you are upgrading at the same time.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: How exactly do I create a Debian live USB?

2021-10-11 Thread Thomas Schmitt
Hi,

kaye n wrote:
> Using GParted, I created an MS-DOS partition table and formatted the USB
> stick in fat32.

This is not necessary and will be overwritten by your next step:

> sudo cp  debian-live-11.0.0-amd64-standard.iso /dev/sdb
> sync

This is a correct procedure and is supposed to do what is needed.
The fact that booting works confirms that you did it right.

> stuck in a black terminal-like screen where it says, I/O error, etc.

Maybe your USB stick is not good.
Do you get i/o errors when you read the whole stick by:

  dd bs=1M if=/dev/sdb of=/dev/null

(Depending on size and speed of the stick this can last long.
 If your dd is young enough you get entertaining progress messages by
 adding two more options:

   dd bs=1M if=/dev/sdb of=/dev/null status=progress oflag=dsync
)

If the stick is not plain bad, then you will have to show the messages
which you see when booting gets stuck. Either as hand-copied text or
as screen photo which you upload to some site like pastebin.com. In
the latter case post a link to your uploaded photo.


Have a nice day :)

Thomas



Re: A real bounce between GMX and bendel.debian.org

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 22:18:38, Thomas Schmitt wrote:
> Hi,
> 
> although i seem not to be worth to be targeted by our bounce assassin,
> my mail provider and bendel.debian.org are at odds enough to produce
> a real bounce message, which then causes a warning mail from
> listmas...@lists.debian.org .
> 
> I am trying to make sense out of the given bounce report
> 
>   https://lists.debian.org/bounces/79gUBBa56gHKY3wtHzNKdg

Yeah, got the same from listmaster, for the same exact message (I 
receive list mail via GMX too).
 
> It is hard to distinguish the hearsay by bendel.debian.org from the
> message parts which come from my provider's server mx00.emig.gmx.net.
> Especially i wonder from where bendel takes the association to my
> mail address (and which mentionings show its conclusions about my
> address).
> 
> Whatever, the reason for the bounce is that GMX accuses debian-user
> of not meeting its requirements
>   https://www.gmx.net/mail/senderguidelines
> All points there look like they are not volatile problems but rather
> persistent ones. But listmas...@lists.debian.org wrote i had
> >  1 bounce out of 68 mails in one day (1%, kick-score is 80%)
> So why did the other 67 succeed ?

My uneducated guess would be that GMX is applying additional 
undocumented criteria when deciding whether a message is spam or not, 
e.g. it might be that they didn't like the From: or something else 
entirely.

In any case (as far as I understand) bouncing is wrong, because it can 
be abused by real spammers.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


How exactly do I create a Debian live USB?

2021-10-11 Thread kaye n
Hello Friends!

I did this and was able to boot my newly created Debian 11 live USB but was
stuck in a black terminal-like screen where it says, I/O error, etc.

Using GParted, I created an MS-DOS partition table and formatted the USB
stick in fat32.

Then I used these commands

sudo cp  debian-live-11.0.0-amd64-standard.iso /dev/sdb
sync

All seemed fine until I booted the live USB and got the error message as
stated above.

Thank you for your time.


Re: Gourmet ne démarre plus.

2021-10-11 Thread steve

Salut,

J'ai aussi essayé avec Bullseye sous Kde Plasma. En lançant le programme
depuis un terminal, j'ai reçu beaucoup de WARNING et d'ERROR mais le
programme tourne. Il a dû être écrit avec les pieds, c'est pas possible
autrement…

Essaie de supprimer (ou renommer) le répertoire $HOME/.gourmet et de relancer
le programme (via un terminal c'est plus pratique car tu vois tous les
messages). Peut-être que ça ira mieux.

Le 11-10-2021, à 12:15:15 +0200, didier gaumet a écrit :



Bonjour,

ici Debian Bullseye sous Gnome Classic, je viens d'installer brièvement
Gourmet pour tester: une dépendance (recommandation) n'est pas
satisfaite mais le logiciel se lance et je peux cliquer sur une
recette, ce qui ouvre une fenêtre séparée. JE ne suis pas allé plus
loin avant de désinstaller.
C'est donc probablement plutôt un problème relatif à ton environnement.






Re: Gourmet ne démarre plus.

2021-10-11 Thread didier gaumet


Bonjour,

ici Debian Bullseye sous Gnome Classic, je viens d'installer brièvement
Gourmet pour tester: une dépendance (recommandation) n'est pas
satisfaite mais le logiciel se lance et je peux cliquer sur une
recette, ce qui ouvre une fenêtre séparée. JE ne suis pas allé plus
loin avant de désinstaller.
C'est donc probablement plutôt un problème relatif à ton environnement.




Re: Order of package updates, mysql vs. kernel

2021-10-11 Thread Josef Strýček
Dobrý den,



minulý týden se mi stalo něco podobného na testinngu, po aktualizaci, včetně
jádra na 5.14, se mi nechtěl zkompilovat dkms pro nvidii, proto se domnívám,
že za to může nový kernel.




S pozdravem

Josef Strýček




English:






Hello,




something similar happened to testing last week, after the upgrade,
including the kernel to 5.14, I can't compile dkms for nvidia, so I think 
the new kernel problem.





Good luck

Josef Strýček

Order of package updates, mysql vs. kernel

2021-10-11 Thread Vladislav Kurz
Hello,

during the last point release (and some previous updates too) I have noticed 
one unpleasant issue:

If there is mysql (mariadb) and kernel update at the same time, the order of 
actions is as follows:

stop mysql
compile kernel modules for new kernel (using dkms) 
create new initrd, update-grub, etc...
start mysql

Kernel module compilation may take quite a long time, during which is mysql 
stopped, but does not need to.

I'm not sure whether this should be reported as bug in mysql or kernel 
packaging.

-- 
S pozdravem
Vladislav Kurz

Centrála: Celní 17/5, 63900 Brno, CZ
Web: http://www.webstep.net
E-Mail: podp...@webstep.net
Tel: 840 840 700, +420 548 214 711
Obchodní podmínky: https://zkrat.to/op




Re: How to configure the network ethernet?

2021-10-11 Thread William Torrez Corea
I was following your recommendation.

The usual troubleshooting steps here are:
>
1) Replace the Ethernet cable.
> 2) Install ethtool, use it to disable autonegotiation, and try setting
> the speed and duplex by hand.
>

On Sun, Oct 10, 2021 at 11:45 PM Reco  wrote:

> >> Link detected: yes
>
> Your previous e-mail mentioned that interface in question has NO-CARRIER
> flag. This result contradicts it.
>
> So, which is which?
>
> Reco
> I
>


-- 

With kindest regards, William.

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


Re: mic issues after upgrade to Debian 11

2021-10-11 Thread Marko Randjelovic
On Sat, 9 Oct 2021 13:21:51 + (UTC)
L Dimov  wrote:

>  
> 
> On Tuesday, October 5, 2021, 1:14:48 PM EDT, Marko Randjelovic 
>  wrote:  
>  
>  On Tue, 5 Oct 2021 13:58:35 + (UTC)
> L Dimov  wrote:
> 
> > My mic used to work fine under Debian 9 and 10, but after upgrading to 11, 
> > people tell me that the audio coming out of my mic is really scratchy and 
> > bad to the point where if I do a video call, I'd have to use the phone for 
> > the audio part. Not sure where to even start with this... Is there an easy 
> > way (is it possible) to revert to the previous driver, somehow, the one 
> > that was there in Debian 10?
> > Thank you in advance for any suggestions.Luben  
> 
> To help us find the cause of your problem, it would be nice if you
> could provide us more information: 
> - your sound setup (do you use alsa, pulseaudio, jack...)
> - which mic device/driver is in question (mic connected to your sound
> card which is X, mic from your webcam which is Y...)
> - what program do you use for communication (Zoom, Teams, Meet, Skype,
> Telegram...)
> 
> It is the built-in mic that is now problematic, with anything I try, 
> including with a variety of various sound recorders in GNOME. I just tried a 
> plug-in mic, and that one works, so I will be using it from now on for 
> meetings, but it is rather unfortunate that I can no longer use the built-in 
> mic in Debian 11, as that same mic worked fine with the previous two stable 
> versions of Debian.
> 
>   

What's the output of 'cat /proc/asound/cards'?



Gourmet ne démarre plus.

2021-10-11 Thread Txo

Bonjour,

Qui utilise gourmet ? Moi déjà et j'ai des problèmes depuis une mise à 
jour récente.

Celui là ne démarre pas et butte sur
 File "/usr/lib/python3/dist-packages/gourmet/backends/db.py", line 
753, in fetch_len

return table.count().execute().fetchone()[0]
AttributeError: 'Table' object has no attribute 'count'


J'aimerais savoir si quelqu'un a eu la même réaction avant de faire un 
rapport de bug.


Merci.

--
-- Dominique Marin http://txodom.free.fr  --
  Le vent a dispersé les cendres de Bendit
  Et chacun est rentré chez son automobile
--Paris mai Nougaro   --



Re: personnalisation de la séquence de login

2021-10-11 Thread Luc Novales

Bonjour,

Le 09/10/2021 à 12:58, Jean-Marc a écrit :

Salut la liste,

J'aimerai personnaliser la séquence de login sur des machines d'un EPN.

En gros, l'idée est de ne pas laisser de traces.
Création du HOME-dir au login.
Effacement du HOME-dir au logout.


Je ne comprends pas trop le problème. Est ce un besoin de compte "invité" ?

Ne suffirait il pas d'activer la fonctionnalité du même nom pour qu'elle 
ait ce comportement ?


Bonne journée,

Luc.




Re: [OFFTOPIC] Re: mail service

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 10:31:58, Stefan Monnier wrote:
> > In general, the circumstances which would require one to use a tool like
> > protonmail are not commonly observed in connection with a list like
> > debian-user.
> 
> While protonmail might be used for such situations, in my experience
> most protonmail users I've seen are just people that are sufficiently
> technically aware to know that they should stay away from gmail and
> friends and look for a quality email provider (posteo being another
> popular provider in that space).
> 
> So, my own bias would rather tend to expect good behavior (good
> questions and good answers) from participants posting from
> protonmail ;-)

To add to this, usually the contents of the message are much more 
revealing, e.g. use of punctuation and capitalisation ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Control ventilador en portátil Dell

2021-10-11 Thread Camaleón
El 2021-10-11 a las 10:17 +0200, alfon escribió:

> He seguido las instrucciones de este sitio:
> https://www.cyberciti.biz/faq/controlling-dell-fan-speeds-temperature-on-ubuntu-debian-linux/
> 
> para configurar el ventilador de la CPU de mi portátil Dell, pero no
> he tenido éxito.

Mejor si defines esa «falta de éxito» :-)

Es decir, has instalado el paquete, has cargado el módulo, has 
ejecutado el comando para leer los valores de los sensores de 
temperatura o le has dicho al ventilador que se active a toda 
velocidad... ¿y qué ha pasado? ¿Cuál ha sido el resultado?

> Por lo que he leído por ahí, hacer funcionar en Linux el control del
> ventilador de la CPU en los portátiles Dell, a veces es un poco
> complicado.

Asegúrate de que tu modelo de portátil está soportado por el módulo del 
kernel que gestiona la energía (i8kfan), de ser así, no habrías de tener
(muchos) problemas en hacerlo funcionar.

> La verdad es que, a pesar de que el aparato se calienta mucho, el
> pobre funciona sin problemas. Pero me gustaría poder echar a andar el
> ventilador para evitar una catástrofe en el futuro.
> 
> ¿Alguno de vosotros tiene un Dell y ha conseguido hacer funcionar el
> ventilador para refrigerar la CPU?

Nunca me he fiado mucho de esas aplicaciones para controlar los 
sensores, prefiero ir a la BIOS/UEFI y ver/definir los parámetros desde 
ahí, pero bueno, hoy en día se habrá avanzado bastante con esos 
programas, estarán más afinados y pueden ser útiles, ciertamente.

Saludos,

-- 
Camaleón 



Re: Issue with kernel 5.10.0-9-*?

2021-10-11 Thread Hans
Am Montag, 11. Oktober 2021, 10:44:27 CEST schrieb Andrei POPESCU:

I tried to stop ntp and others, no success. I made a pcap file of the traffic 
and saved the syslog. 

However, no success, whatever I did.

Sadly that special notebook died yesterday (backlight of the display died), 
and as long I got no spare part, I have to use another laptop with other 
hardware (now it is a Amilo AH538 with Intel hardware). Did not test the new 
kernel on this one.

Best

Hans
> Even if only you are seeing it, it can still be a bug in some software,
> that might be worth fixing. Generating excessive network traffic could
> lead to e.g. DoS attacks.
> 
> Does the traffic disappear if you stop the ntp service? Has the ntp
> package been updated at the same time? Do you get the same with other
> NTP software?
> 
> (just standard troubleshooting suggestions)
> 
> Kind regards,
> Andrei



signature.asc
Description: This is a digitally signed message part.


Re: ip6tables rule being rejected.

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 17:19:52, Tim Woodall wrote:
> 
> Thanks both! It's now working. And, indeed, my manpage does have it the
> way you suggest. I'd initially found the documentation via a web search
> and not twigged that the manpage and the documenatation here were
> different:
> 
> https://linux.die.net/man/8/ip6tables

If you prefer reading manpages on the web you might want to use
https://manpages.debian.org. That way you are looking at the manpage 
corresponding to your specific software and version[1].

It can be also be added as an alternative search engine to most common 
browsers.

[1] Debian Developers patch manpages too occasionally, to document 
Debian specific changes, e.g. see the explanations for the -X and -Y 
switches in ssh(1).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Issue with kernel 5.10.0-9-*?

2021-10-11 Thread Andrei POPESCU
On Lu, 11 oct 21, 10:38:28, Hans wrote:
> Hi Andrei,
> It is the package "ntp".
> 
> Please note, that the main goal for my first email was, to make sure, that it 
> is really a bug and not a problem with my old "krude" hardware combination.
> 
> If only I have this issue, it is ok. If most people got this issue, not good. 
> And maybe many people even did not notice this issue. As I said, I just 
> discoverd this by chance.

Even if only you are seeing it, it can still be a bug in some software, 
that might be worth fixing. Generating excessive network traffic could 
lead to e.g. DoS attacks.

Does the traffic disappear if you stop the ntp service? Has the ntp 
package been updated at the same time? Do you get the same with other 
NTP software?

(just standard troubleshooting suggestions)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: [OFFTOPIC] Re: mail service

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 17:18:13, fxkl47BF wrote:
> just one more thing
> 
> posteo was mentioned as an alternative
> i have a posteo account i will drop in a few months
> their spam policy is to bounce it back to the sender
> the account own has no say
> 
> i also have a mailfence account i will drop
> a while back i stopped getting mail from my bank
> i investigated and found the bank mail was generating a false positive virus
> i informed mailfence and they agreed it was probably the cause of my trouble
> but they didn't bother to fix it
> several months later they started passing mail from my bank

With ProtonMail I've only had trouble receiving automatic stuff like 
notifications[1].

Those are often similar enough to spam to be difficult to distinguish 
from actual spam.

For one particular (in)famous social network I solved it by activating 
encrypted notifications[2].

[1] That I know of, of course. ;)
[2] Was positively surprised to learn they offer this.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Issue with kernel 5.10.0-9-*?

2021-10-11 Thread Hans
Hi Andrei,
It is the package "ntp".

Please note, that the main goal for my first email was, to make sure, that it 
is really a bug and not a problem with my old "krude" hardware combination.

If only I have this issue, it is ok. If most people got this issue, not good. 
And maybe many people even did not notice this issue. As I said, I just 
discoverd this by chance.

Best regards

Hans 
> What ntp-related software are you using?
> 
> Kind regards,
> Andrei



signature.asc
Description: This is a digitally signed message part.


Re: Chemfig Latex compile program

2021-10-11 Thread lina
Hi Jerome,
Hi Curt,

Thanks for the input, I changed the

\setdoublesep{0.2 em}  % 'Bond Spacing'
\setatomsep{1.45 em}% 'Fixed Length'
\setbondoffset{0.1 em} % 'Margin Width'
\newcommand{\bondwidth}{0.08 em} % 'Line Width'
\setbondstyle{line width = \bondwidth}
\setcrambond{2pt}{}{}

to
\setchemfig{bond style={line width=0.08 em,red!70}}
\setchemfig{chemfig style=red}
\setchemfig{double bond sep = 0.2 em, atom sep = 1.45 em, bond offset = 0.1
em, cram width=2pt}

It gets closer to what I want,

Thanks again, lina


On Fri, Oct 8, 2021 at 5:38 PM Curt  wrote:

> On 2021-10-08, lina  wrote:
> >
> > *l.24 \setdoublesep  {0.2 em}  % 'Bond Spacing'*
> >
> >
>
> I'm reading that the '\setdoublesep' macro is obsolete and has been
> replaced by '\setchemfig{}'. Maybe this has something to do with the
> error being thrown.
>
>
>
> https://ctan.org/ctan-ann/id/mailman.2235.1520625403.5100.ctan-...@ctan.org?lang=en
>
> http://tug.ctan.org/macros/generic/chemfig/chemfig-en.pdf
>
>


Re: mail service

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 13:41:33, fxkl47BF wrote:
> 
> once again i totally agree and disagree
> gmail, yahoo, gmx, etc. state that they scan mail going through their service

They are free to scan all my postings to a publicly archived list, same 
as the rest of the internet ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Control ventilador en portátil Dell

2021-10-11 Thread alfon
Buenas,

He seguido las instrucciones de este sitio:
https://www.cyberciti.biz/faq/controlling-dell-fan-speeds-temperature-on-ubuntu-debian-linux/

para configurar el ventilador de la CPU de mi portátil Dell, pero no
he tenido éxito.

Por lo que he leído por ahí, hacer funcionar en Linux el control del
ventilador de la CPU en los portátiles Dell, a veces es un poco
complicado.

La verdad es que, a pesar de que el aparato se calienta mucho, el
pobre funciona sin problemas. Pero me gustaría poder echar a andar el
ventilador para evitar una catástrofe en el futuro.

¿Alguno de vosotros tiene un Dell y ha conseguido hacer funcionar el
ventilador para refrigerar la CPU?

Saludos.



Re: Issue with kernel 5.10.0-9-*?

2021-10-11 Thread Andrei POPESCU
On Sb, 09 oct 21, 22:00:06, Hans wrote:
> Dear list,
> 
> it would be nice, if you could check something and maybe confirm or deny it.
> 
> My system is debian/stable.
> As now the new kernel version is released, which is 5.10.0-9-amd64, I updated 
> from 0-8-amd64 to 0-9-amd64.
> 
> But, with this kernel I discovered, that the network traffic massively 
> increased. I am not sure, what is causing this. Examining with wiresharḱ and 
> also the syslog file, it looks like it has something to do with ntp. Also the 
> broadcast messages are more than normal. 

What ntp-related software are you using?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: A real bounce between GMX and bendel.debian.org

2021-10-11 Thread Thomas Schmitt
Hi,

i got unsubscribed a second time:
  Date: Mon, 11 Oct 2021 07:45:53 + (UTC)
  From: debian-user-requ...@lists.debian.org
  Message-Id: <20211011074553.c8c2820...@bendel.debian.org>

My proposal is to disable the auto unsubscription feature, which is an
unusual behavior of a mailing list. It is just too vulnerable to external
interference.


Dan Ritter wrote:
> The cannon appears to be manually aimed.

I get this impression too. My first unsubscription happened immediately
after i expressed my disappointment about not being targeted.
Further i doubt that any normal mail server can be configured to produce
fake bounces.
I think that we see genuine malware at work.


> Subscribe to debian-user with an alias which goes where you want
> it, and continue posting as scdbac...@gmx.net.
> [...]
> I hope that helps until the listmasters figure out how to avoid
> accepting conunterfeit evidence.

I still riddle whether the test mails have been discontinued after only
one day of use, or whether my test mail fell into the same pit at GMX as
did the (actually unsuspicious) mail
  From: Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= >
  Subject: Re: Then it happened to me...
  Date: Sun, 10 Oct 2021 21:05:44 +0200
  Message-ID: <87lf303dit.fsf@jaatynyt>


Eduardo M KALINOWSKI wrote:
> My mailserver bounced the same email (and I got a warning like that).
> Since I run my own mailserver, and can look at the logs and see exactly
> why it has been rejected, and here's what I got:
> [...] header syntax (malformed address: >\n may not follow
> Pierre-Elliott =?utf-8?Q?B=C3=A9cue?=  [...]

So Pierre-Elliot Bécue wrote an accent aigu in his name which the mail
server disliked.
I remember to have had own mails rejected by GMX when i wrote non-ASCII
characters in the Subject: header. But i did not bother to encode them
as quoted printable.

RFC 2047 permits such a From line:
  "5. Use of encoded-words in message headers
   An 'encoded-word' may appear in a message header or body part header
   according to the following rules:
   [...]
   (3) As a replacement for a 'word' entity within a 'phrase', for example,
   one that precedes an address in a From, To, or Cc header. [...]
  "
In "8. Examples" there is no "utf-8" to see, but the examples with
  =?ISO-8859-1?Q? ... ?=
look similar enough.

We cannot deny a list user the right to write his own name into "From:".
And hardly i can influence GMX to accept Q-encoded UTF-8.

Whatever, this cannot be the same reason why GMX would bounce a test mail
from listmas...@lists.debian.org as quited by piorunz in
  
https://lists.debian.org/msgid-search/9492fecf-89a8-3932-7740-f437beac5...@gmx.com
  Date: Fri, 8 Oct 2021 19:41:31 +0100

So i assume that such a mail was not sent to me. Pity. It seemed to be a
good idea to reduce the false unsubscriptions.


Have a nice day :)

Thomas



Re: dkim / postfix

2021-10-11 Thread Rutger
On 05-10-2021 14:47, mj wrote:
> De vraag: is opendkim toch nog steeds de manier om DKIM met postfix te
> doen, of hebben er hier mensen andere tips..?

opendkim is nog steeds één van de mogelijkheden, maar net als met zo
veel in de software wereld, zeker niet de enige. dkimpy-milter en
amavisd zijn er voorbeelden van.

Wat betreft je criteria, helaas is dat meer projecten ook het geval.
Maar goed, het werkt en doet wat het moet doen. Kortom, opendkim is een
prima keuze.

Groet, Rutger



Re: Then it happened to me...

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 08:49:08, Gene Heskett wrote:
> 
> > [2] https://discourse.debian.org/
> This does not resolve.

The correct URL would be with debian.net (unofficial service), but that 
isn't working either, probably taken down due to lack of interest from 
the community.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Then it happened to me...

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 11:22:07, Nate Bargmann wrote:
> 
> I don't care for Discourse.  At. All.  Too much is in control of the
> site admins.  It can probably be argued that email has too little
> control, however, my main gripe about the Discourse setups I have
> registered with are that the admins lock threads after a relatively
> short period of time.  I do understand that some don't like old threads
> coming back to the top but sometimes it is relevant to revive an old
> thread as new information comes available.  Unlike TV, in the real world
> solutions aren't always found in 39 1/2 minutes!

That's more an issue with the moderation than with the software itself.

It seems to me Debian moderators (in the few places where there actually 
is such a thing) have been using a rather light-touch moderation style.
 
One major downside of mailing lists, especially for support, is that 
they are free-for-all, i.e. for a newcomer it's basically impossible to 
distinguish between good and less good (or downright harmful) advice.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Then it happened to me...

2021-10-11 Thread Eric S Fraga
On Sunday, 10 Oct 2021 at 16:53, Nicholas Geovanis wrote:
> I was using online fora on the U of Illinois' Plato system in 1977. 

Blast from that past that!  I remember playing with the air flight
simulator with people connected across the continent.

-- 
Eric S Fraga via Emacs 28.0.60 & org 9.5 on Debian 11.0



Re: Then it happened to me...

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 21:50:54, piorunz wrote:
> Now my turn. Just received a warning.
> 
> This is deeply broken.
> 
> "Dear subscriber,
> 
> We've encountered some problems while sending listmail to your
> emailaddress pior...@gmx.com.
> 
> In the last seven days we've seen bounces for the following list:
> * debian-user
>   1 bounce out of 68 mails in one day (1%, kick-score is 80%)
>   (https://lists.debian.org/bounces/jIDIoxeNb9XRGvl0AsCQhQ)
> 
> (The link above points to a copy of the latest bounce and will be valid
> for seven days.)
> 
> If the bounce-rate passes the kick-score, our bounce-detection will
> forcibly remove your subscription."

That's probably unrelated, I get that too with GMX from time to time, 
although I tried my best to whitelist debian-user via the web interface.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Then it happened to me...

2021-10-11 Thread Andrei POPESCU
On Du, 10 oct 21, 22:33:15, piorunz wrote:
> On 10/10/2021 22:27, Nate Bargmann wrote:
> > Years back there was an emailed newsletter titled Debian Weekly News.
> > At some point the author lost motivation as I recall and the newsletter
> > effectively ceased.
> 
> Oh that's sad
> 
> > Keep in mind that Debian is an organization that
> > depends on volunteer effort to accomplish its goals.  I think you have
> > identified an area where you can help, i.e. the timely dissemination of
> > project news.
> 
> Yes I am aware of that, but I am curious why isn't any money spent on
> that. To hire someone to spend two hours per week summarising news on
> the list and post them?

Because there is a risk it will kill the motivation of volunteers.

> My English grammar is not that perfect to the
> point where I can write to international audience, I a not a developer
> either, so I wouldn't even understand everything what is going on.

Proof-reading should be done anyway, regardless of the writer, and 
having one's submissions taken apart and rewritten can be a good way to 
improve one's language and writing skills.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


  1   2   >