Re: Difficulties with PS1.

2024-02-07 Thread Dmitry

PS1="Works $PS1" bash --noprofile --norc
https://stackoverflow.com/questions/9357464/how-to-start-a-shell-without-any-user-configuration



Re: Difficulties with PS1.

2024-02-07 Thread Michael Kjörling
On 8 Feb 2024 14:17 +0700, from lbvf50.mob...@gmail.com (Dmitry):
> Why variable PS1 dose not change when set it before a command:
> Like this:
> A="a1" LANG="C.UTF-8" PS1="new" B="b2" bash --noprofile
> 
> $A, $B, $LANG -changed, $PS1 - not.
> 
> Works only when I explicitly set in current process.
> 
> export PS1="(chroot) $PS1"

Your syntax is correct (at least for bash; I don't know about other
shells), but it seems likely that $PS1 is being reset by bash's
reading of its initialization files.

Try with --norc as well. See bash(1) for details. Note that this will
likely also have other consequences.

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



RE: GNU lightning dans Debian/sid/x86-64

2024-02-07 Thread Frédéric BOITEUX
Bonjour,

> J'ai l'impression que dans Debian/trixie/sid/x86-64 ce paquet a disparu.

Peut-être parce qu'il n'y a jamais été ? Je ne vois aucune trace de ce paquet, 
effectivement. Il venait peut-être d'un dépôt extérieur à Debian ? Tu peux 
tenter un « apt-cache search lightning » sur ta machine pour voir si tu 
retrouves des infos sur un éventuel ancien paquet.


Cdlt,
Fred.




Difficulties with PS1.

2024-02-07 Thread Dmitry

Greetings!

Why variable PS1 dose not change when set it before a command:
Like this:
A="a1" LANG="C.UTF-8" PS1="new" B="b2" bash --noprofile

$A, $B, $LANG -changed, $PS1 - not.

Works only when I explicitly set in current process.

export PS1="(chroot) $PS1"

Is not this syntax:
VAR="..." VAR1="..." command

Set an environment variables?

Thank you!



testing new sdm drive

2024-02-07 Thread gene heskett

gene@coyote:/etc$ sudo smartctl --all -dscsi /dev/sdm
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:
Product:  SSD 3.0
Revision: 2.00
Compliance:   SPC-2
User Capacity:2,097,152,000,000 bytes [2.09 TB]
Logical block size:   512 bytes
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more 
'-T permissive' options.

gene@coyote:/etc$

And then again, it worked, sorta

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



Re: Portable External Hard Drive 2TB (was: Unidentified subject!)

2024-02-07 Thread gene heskett

On 2/7/24 21:55, David Christensen wrote:

On 1/22/24 19:55, gene heskett wrote:
 > 2T ssd's:
 >
 > 




It appears Amazon took down the above web page.  Using Amazon search, I 
see:


https://www.amazon.com/Portable-External-USB3-1-Desktop-Chromebook/dp/B0CSNGML52/


On 2/7/24 12:30, gene heskett wrote:
 > Well the 2T memory everybody was curious about 3 weeks ago got here 
early.

 >
 >  From dmesg after plugging one in:
 > [629240.916163] usb 1-2: new high-speed USB device number 39 using 
xhci_hcd

 > [629241.066221] usb 1-2: New USB device found, idVendor=048d,
 > idProduct=1234, bcdDevice= 2.00
 > [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2,
 > SerialNumber=3
 > [629241.066239] usb 1-2: Product: Disk 3.0
 > [629241.066242] usb 1-2: Manufacturer: USB
 > [629241.066246] usb 1-2: SerialNumber: 2697241127107725123
 > [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected
 > [629241.074187] scsi host37: usb-storage 1-2:1.0
 > [629242.100738] scsi 37:0:0:0: Direct-Access  SSD 3.0   2.00
 > PQ: 0 ANSI: 4
 > [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0
 > [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks:
 > (2.10 TB/1.91 TiB)
 > [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off
 > [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00
 > [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found
 > [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through
 > [629242.103927]  sdm: sdm1
 > [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk
 > gene@coyote:
 >
 > Looks like a reasonable facsimile of a 2T disk to me.
 >
 > Cheers, Gene Heskett, CET.


I would be curious to see a smartctl(8) full report:

# smartctl -x /dev/sdm


Have you figured out how to verify it actually holds 2 TB?


I think its and m2 device, and smartctl says it does know about them yet
gene@coyote:/etc$ sudo smartctl --all --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdd -d scsi # /dev/sdd, SCSI device
/dev/sde -d scsi # /dev/sde, SCSI device
/dev/sdf -d scsi # /dev/sdf, SCSI device
/dev/sdg -d scsi # /dev/sdg, SCSI device
/dev/sdh -d scsi # /dev/sdh, SCSI device
/dev/sdi -d scsi # /dev/sdi, SCSI device
/dev/sdj -d scsi # /dev/sdj, SCSI device
/dev/sdk -d scsi # /dev/sdk, SCSI device
/dev/sdl -d scsi # /dev/sdl, SCSI device
gene@coyote:/etc$
gartped says it look ok at 1.92 T


David

.


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



Re: Portable External Hard Drive 2TB (was: Unidentified subject!)

2024-02-07 Thread gene heskett

On 2/7/24 21:55, David Christensen wrote:

On 1/22/24 19:55, gene heskett wrote:
 > 2T ssd's:
 >
 > 




It appears Amazon took down the above web page.  Using Amazon search, I 
see:


https://www.amazon.com/Portable-External-USB3-1-Desktop-Chromebook/dp/B0CSNGML52/


On 2/7/24 12:30, gene heskett wrote:
 > Well the 2T memory everybody was curious about 3 weeks ago got here 
early.

 >
 >  From dmesg after plugging one in:
 > [629240.916163] usb 1-2: new high-speed USB device number 39 using 
xhci_hcd

 > [629241.066221] usb 1-2: New USB device found, idVendor=048d,
 > idProduct=1234, bcdDevice= 2.00
 > [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2,
 > SerialNumber=3
 > [629241.066239] usb 1-2: Product: Disk 3.0
 > [629241.066242] usb 1-2: Manufacturer: USB
 > [629241.066246] usb 1-2: SerialNumber: 2697241127107725123
 > [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected
 > [629241.074187] scsi host37: usb-storage 1-2:1.0
 > [629242.100738] scsi 37:0:0:0: Direct-Access  SSD 3.0   2.00
 > PQ: 0 ANSI: 4
 > [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0
 > [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks:
 > (2.10 TB/1.91 TiB)
 > [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off
 > [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00
 > [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found
 > [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through
 > [629242.103927]  sdm: sdm1
 > [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk
 > gene@coyote:
 >
 > Looks like a reasonable facsimile of a 2T disk to me.
 >
 > Cheers, Gene Heskett, CET.


I would be curious to see a smartctl(8) full report:

# smartctl -x /dev/sdm


Have you figured out how to verify it actually holds 2 TB?

No, not teted that yet. Up to my adam's apple in other things ATM.  Will 
lets the list know when I do.


David

.


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



Re: Unidentified subject!

2024-02-07 Thread Stefan Monnier
> Well the 2T memory everybody was curious about 3 weeks ago got here early.
>
> From dmesg after plugging one in:
> [629240.916163] usb 1-2: new high-speed USB device number 39 using xhci_hcd
> [629241.066221] usb 1-2: New USB device found, idVendor=048d,
> idProduct=1234, bcdDevice= 2.00
> [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [629241.066239] usb 1-2: Product: Disk 3.0
> [629241.066242] usb 1-2: Manufacturer: USB
> [629241.066246] usb 1-2: SerialNumber: 2697241127107725123
> [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected
> [629241.074187] scsi host37: usb-storage 1-2:1.0
> [629242.100738] scsi 37:0:0:0: Direct-Access  SSD 3.02.00
> PQ: 0 ANSI: 4
> [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0
> [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks: (2.10
> TB/1.91 TiB)
> [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off
> [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00
> [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found
> [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through
> [629242.103927]  sdm: sdm1
> [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk
> gene@coyote:
>
> Looks like a reasonable facsimile of a 2T disk to me.

AFAIK the bogus 128TB drives do properly report such ridiculous sizes:
the reality only hits when you try to actually store that amount of
information on them.

[ I'm not sure how it works under the hood, but since SSDs store their
  data "anywhere" in the flash, they can easily pretend to have any size
  they want, and allocate the physical flash blocks only on-the-fly as
  logical blocks are being written.
  Also, some Flash controllers use compression, so if you store data
  that compresses well, they can let you store a lot more than if you
  store already compressed data.  ]

IOW, to really check, try to save 2TB of videos (or other already
compressed data), and then try and read it back.


Stefan



Drag-and-drop actions broken for Firefox 122.0.1 under Wayland

2024-02-07 Thread Jake Herrmann
I'm running Debian 12 (bookworm), using GNOME 43.9 under Wayland. I
installed Firefox 122.0.1 from the Mozilla binaries as described on
the Debian Wiki [1].

Drag-and-drop actions with Firefox seem to be broken under Wayland.
For example, when I switch to Xorg, I can drag-and-drop links from
Chromium to Firefox in order to open them in Firefox, and I can select
multiple Firefox tabs (with Shift+click) and then drag them away from
the tab bar in order to move them to a new window. These actions do
nothing under Wayland.

Since I've installed Firefox directly from Mozilla, I can't justify
reporting this as a Debian bug. However, I'm curious if anyone running
Debian sid (unstable) can reproduce this bug with the `firefox`
package installed via the Debian APT repos.

I've already reported this bug via Bugzilla [2]. If anyone can
reproduce this issue with Firefox 122 under Wayland on any version of
Debian, and you'd like to see it fixed, please add a comment on the
Bugzilla issue (linked below) so that we can get this issue more
visibility.

Or, please let me know if there's some post-install configuration I
need to do in order to fix drag-and-drop for Firefox 122 on Debian 12
under Wayland.

[1] https://wiki.debian.org/Firefox#From_Mozilla_binaries
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1878811



Portable External Hard Drive 2TB (was: Unidentified subject!)

2024-02-07 Thread David Christensen

On 1/22/24 19:55, gene heskett wrote:
> 2T ssd's:
>
> 




It appears Amazon took down the above web page.  Using Amazon search, I see:

https://www.amazon.com/Portable-External-USB3-1-Desktop-Chromebook/dp/B0CSNGML52/


On 2/7/24 12:30, gene heskett wrote:
> Well the 2T memory everybody was curious about 3 weeks ago got here 
early.

>
>  From dmesg after plugging one in:
> [629240.916163] usb 1-2: new high-speed USB device number 39 using 
xhci_hcd

> [629241.066221] usb 1-2: New USB device found, idVendor=048d,
> idProduct=1234, bcdDevice= 2.00
> [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [629241.066239] usb 1-2: Product: Disk 3.0
> [629241.066242] usb 1-2: Manufacturer: USB
> [629241.066246] usb 1-2: SerialNumber: 2697241127107725123
> [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected
> [629241.074187] scsi host37: usb-storage 1-2:1.0
> [629242.100738] scsi 37:0:0:0: Direct-Access  SSD 3.0   2.00
> PQ: 0 ANSI: 4
> [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0
> [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks:
> (2.10 TB/1.91 TiB)
> [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off
> [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00
> [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found
> [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through
> [629242.103927]  sdm: sdm1
> [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk
> gene@coyote:
>
> Looks like a reasonable facsimile of a 2T disk to me.
>
> Cheers, Gene Heskett, CET.


I would be curious to see a smartctl(8) full report:

# smartctl -x /dev/sdm


Have you figured out how to verify it actually holds 2 TB?


David



Problems with `pactl' after replacing pulseaudio with pipewire

2024-02-07 Thread Rodolfo Medina
In order to have my headset bluetooth microphone detected by Debian 12 I
removed pulseaudio and in its place installed pipewire.  Only, since then, when
I do

 $ pactl load-module module-loopback latency_msec=5

a terrible continuous noise comes up, and besides when I do

 $ pactl exit

I get the error message `exit failure: connection refused'.  I searched around
but didn't find so far any solution.  Please help whoever can.

Thanks in advance,

Rodolfo



Unidentified subject!

2024-02-07 Thread gene heskett

Well the 2T memory everybody was curious about 3 weeks ago got here early.

From dmesg after plugging one in:
[629240.916163] usb 1-2: new high-speed USB device number 39 using xhci_hcd
[629241.066221] usb 1-2: New USB device found, idVendor=048d, 
idProduct=1234, bcdDevice= 2.00
[629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[629241.066239] usb 1-2: Product: Disk 3.0
[629241.066242] usb 1-2: Manufacturer: USB
[629241.066246] usb 1-2: SerialNumber: 2697241127107725123
[629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected
[629241.074187] scsi host37: usb-storage 1-2:1.0
[629242.100738] scsi 37:0:0:0: Direct-Access  SSD 3.0 
  2.00 PQ: 0 ANSI: 4

[629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0
[629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks: 
(2.10 TB/1.91 TiB)

[629242.101289] sd 37:0:0:0: [sdm] Write Protect is off
[629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00
[629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found
[629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through
[629242.103927]  sdm: sdm1
[629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk
gene@coyote:

Looks like a reasonable facsimile of a 2T disk to me.

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



Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim]

2024-02-07 Thread debian-user
Stefan Monnier  wrote:
> > I have not said it is more “standard for terminals”, I have that it
> > is more “standard” fullstop. It is more standard by the virtue of
> > having worked for decades, C-Ins S-Ins S-Del existed way before the
> > C-C C-V C-X tryptich, and still working today in most contexts.  
> 
> Indeed, IIUC these key bindings were part of the CUA standard:
> https://en.wikipedia.org/wiki/IBM_Common_User_Access

Indeed and CTRL-C & friends first appeared as Apple-C on the Lisa, it
seems and were appropriated by Microsoft after a while:

https://www.howtogeek.com/804030/the-origins-of-ctrlc-ctrlv-ctrlx-and-ctrlz-explained/



Re: AW: AW: su su- sudo dont work

2024-02-07 Thread chris
Nobody has ever used it no

On Wed, Feb 7, 2024, 2:17 PM Schwibinger Michael  wrote:

>
> Good afternoon
>
> I did send the bugreport.
>
> Thank You.
> Did anybody use the rescue mode?
>
> Regards Sophie
>
>
> --
> *Von:* Andrew M.A. Cater 
> *Gesendet:* Mittwoch, 31. Januar 2024 20:36
> *An:* debian-user@lists.debian.org ;
> Schwibinger Michael 
> *Betreff:* Re: AW: AW: su su- sudo dont work
>
> On Wed, Jan 31, 2024 at 01:58:41PM +, Schwibinger Michael wrote:
> > Good afternoon
> > I think
> > maybe Im sure
> > it is because of rescue mode.
> >
> Hi Sophie,
>
> Once again: we need to you to show us what commands you run.
>
> We need to see error messages.
>
> if you cannot run sudo or su, we need you to run the id command
> as previously suggested.
>
> We have literally nothing of use from you to help any of us problem
> solve. This is throwing good effort away in persuading you to help us.
>
> Also - please address requests first to the list and not to individuals -
> it makes it a lot easier to follow on the list.
>
> > Normal booting did not have this problem.
> >
> > Anybody familiar with panic?
> >
> > Regards
> > Thank You
> > Sophie
> >
> Andy
> >
> > 
> > Von: Andrew M.A. Cater 
> > Gesendet: Donnerstag, 25. Januar 2024 18:40
> > An: debian-user@lists.debian.org 
> > Betreff: Re: AW: su su- sudo dont work
> >
> > On Thu, Jan 25, 2024 at 03:53:10PM +, Schwibinger Michael wrote:
> > > Good afternoon
> > > Why do I have to open a group?
> > >
> >
> > This is to *tell* us information about why you're having problems with su
> > and sudo
> >
> > Running the
> >
> > id
> >
> > command should give you information like
> >
> > uid=1000(amacater) gid=1000(amacater) groups=1000(amacater),27(sudo)
> >
> > which shows you that my user - amacater - is the first user on the
> > machine (because Debian starts user id numbers at 1000 for ordinary
> > users) and that I'm a member of group sudo - so can use sudo instead of
> su.
> >
> > /etc/sudoers will show you what privileges the sudo user has.
> > Here are the last lines of the file on my machine (which has not been
> > modified from Debian defaults)
> >
> > # User privilege specification
> > rootALL=(ALL:ALL) ALL
> >
> > # Allow members of group sudo to execute any command
> > %sudo   ALL=(ALL:ALL) ALL
> >
> > # See sudoers(5) for more information on "@include" directives:
> >
> > @includedir /etc/sudoers.d
> > (END)
> >
> > If you are _not_ a user of group sudo for whatever reason - and want to
> > use sudo - then you will need root privileges and the root password
> > (once) to add your user name to the group.
> >
> > For example: adduser sophie sudo
> >
> > I hope this helps
> >
> > > 2 years ago
> > > sudo was no problem.
> > >
> >
> > As yet, we have *no idea* what you have done in the last two years to
> > break your Debian system - or even to know which kernel you boot or
> > how you "rescue" your system when you log onto it every day.
> >
> > Please give us information in order that the readers on this list can
> > use their knowledge to help you.
> >
> > With every good wish, as ever,
> >
> > Andy
> > (amaca...@debian.org)
> > > Regards
> > >
> > > Sophie
> > >
> > > Thank You
> > > 
> > > Von: Timothy M Butterworth 
> > > Gesendet: Montag, 22. Januar 2024 00:07
> > > An: Schwibinger Michael 
> > > Cc: Greg Wooledge ; debian-user@lists.debian.org <
> debian-user@lists.debian.org>
> > > Betreff: Re: su su- sudo dont work
> > >
> > >
> > >
> > > On Sun, Jan 21, 2024 at 4:07 PM Schwibinger Michael  > wrote:
> > > Thank You
> > > Example
> > > I say
> > >
> > > sudo apt-get install firefox
> > > Reaction LINUX
> > > This is not allowed we send a message to the admin.
> > >
> > > This error message means that your account is not in the sudo group.
> > >
> > > Run the command "groups" and look for the group sudo.
> > > groups
> > >
> > > Here is the command to add a user account to the sudo group. You will
> need to run it as root.
> > > usermod -a -G sudo 
> > >
> > > I do open root terminal
> > > there its working.
> > > Regards
> > > Sophie
> > >
> > > 
> > > Von: Greg Wooledge mailto:g...@wooledge.org>>
> > > Gesendet: Samstag, 20. Januar 2024 14:14
> > > An: debian-user@lists.debian.org
> mailto:debian-user@lists.debian.org>>
> > > Betreff: Re: su su- sudo dont work
> > >
> > > On Sat, Jan 20, 2024 at 01:26:06PM +, Schwibinger Michael wrote:
> > > > Good afternoon.
> > > > Root terminal is fine.
> > > > What do I do wrong?
> > > > What did I destroy?
> > > >
> > > > PC does have only one user=admin.
> > > >
> > > > Regards Sophie
> > > > Is it the rescue mode?
> > >
> > > Explain, please.
> > >
> > > Your Subject: header says "su su- sudo dont work".  What does this
> MEAN?
> > >
> > > Please show us your attempts to USE each of these commands, and the

Re: AW: AW: su su- sudo dont work

2024-02-07 Thread chris
Very helpful ty

On Wed, Feb 7, 2024, 1:57 PM Schwibinger Michael  wrote:

> Good afternoon.
>
> The bug report
>
> sudo ...
> You are not in the sudoers file.
> Regards
> Sophie
>
>
> --
> *Von:* Hans 
> *Gesendet:* Freitag, 26. Januar 2024 18:44
> *An:* debian-user@lists.debian.org 
> *Betreff:* Re: AW: AW: su su- sudo dont work
>
>
> Am Freitag, 26. Januar 2024, 17:23:07 CET schrieben Sie:
>
> Yes, if you want to install soemthing for example by using the apt
> command, best way is becoming root with the command "su -" and then install
> the rquired package.
>
>
> Example:
>
> su -  then enter the password of the user root
>
>
> If installing for example firefox, first read the repository:
>
>
> apt update
>
>
> then install the package
>
>
> apt install firefox-esr
>
>
> -
>
>
> Hint: If you want a graphical method and you have no X and Wndow-Manager
> running (like KDE, Gnome, XFCE whatever), I suggest using aptitude.
>
>
> You have to install aptitude first:
>
>
> apt install aptitude
>
>
> Then you can start the gui with the command "aptitude" as root.
>
>
> Hint 2: aptitude is controlled by keypresses without any enter-key.
>
> For example, when started aptitude, just press the "u" key and it reads
> the update, "U" (Shift + u)  marks all newer packages automatically to be
> updated, then press "g" and you will shwo, what it will do. Press "g"
> again, and it will do the update.
>
>
> Please note: If you want to upgrade the whole sytem, then using apt or
> apt-get will be the better choice!
>
>
> But aptitude is very well for installing single packages or weekly
> upgrades, where not much packages will be renewed.
>
>
> If you are not much experienced, and you have a window-manager running
> like KDE, Gnome, XFCE, LXDE or another one, then look at synaptic. Synaptic
> is a graphical tool for installing packages, it is a GUI for apt.
>
>
> Synaptic MUST run as root.
>
>
> Hope this helps.
>
>
> By the way: I believe, you are not very experienced in English language,
> so I suggest to suscribe in the fine German forum,
>
> which is debian-user-ger...@lists.debioan.org.
>
>
> Here is the link:
>
> https://lists.debian.org/debian-user-german/
>
>
> Good luck!
>
>
> Hans
>
>
>
> > Sorry
>
> > it was my mistake
>
> >
>
> > It is
>
> >
>
> > su -
>
> > su
>
> > or sudo.
>
> >
>
> > Sorry.
>
> >
>
> > Is su -
>
> > the best for install?
>
> >
>
> > Regards
>
> >
>
> > Sophie
>
> >
>
> >
>
> > 
>
> >
>


Request for output of commands [WAS Re: AW: AW: AW: su su- sudo dont work]

2024-02-07 Thread Andrew M.A. Cater
On Wed, Feb 07, 2024 at 02:15:06PM +, Schwibinger Michael wrote:
> 
> Good afternoon
> 
> I did send the bugreport.
> 
> Thank You.
> Did anybody use the rescue mode?
> 
> Regards Sophie
> 
> 
> 
> Von: Andrew M.A. Cater 
> Gesendet: Mittwoch, 31. Januar 2024 20:36
> An: debian-user@lists.debian.org ; Schwibinger 
> Michael 
> Betreff: Re: AW: AW: su su- sudo dont work
> 
> On Wed, Jan 31, 2024 at 01:58:41PM +, Schwibinger Michael wrote:
> > Good afternoon
> > I think
> > maybe Im sure
> > it is because of rescue mode.
> >
> Hi Sophie,
> 
> Once again: we need to you to show us what commands you run.
> 
> We need to see error messages.
> 
> if you cannot run sudo or su, we need you to run the id command
> as previously suggested.
> 

Where is the output of the id command?

The other message you quote suggests that you aren't in the sudo group

*Show the error messages*


> Also - please address requests first to the list and not to individuals -
> it makes it a lot easier to follow on the list.
> 

>From the output of my mailer: you sent first to me, copy to the list -
could you please do this the other way round as requested. It is more
important for the list to see this - and it also means that there is
no personal reply sent to the list by mistake: any personal reply is
intended as such.

> > Normal booting did not have this problem.
> >
> > Anybody familiar with panic?
> >

Yes: a (kernel) panic can have many causes: if you can give us meaningful
responses, we may be able to help. In the absence of these, you only
get guesses - wheich may or may not be helpful.

Again, as previously requested, please use meaningful subjects on your
emails so that we can deal with one issue at a time.

Andy
(amaca...@debian.org)


> > Regards
> > Thank You
> > Sophie
> >
> Andy
> >
> > 
> > Von: Andrew M.A. Cater 
> > Gesendet: Donnerstag, 25. Januar 2024 18:40
> > An: debian-user@lists.debian.org 
> > Betreff: Re: AW: su su- sudo dont work
> >
> > On Thu, Jan 25, 2024 at 03:53:10PM +, Schwibinger Michael wrote:
> > > Good afternoon
> > > Why do I have to open a group?
> > >
> >
> > This is to *tell* us information about why you're having problems with su
> > and sudo
> >
> > Running the
> >
> > id
> >
> > command should give you information like
> >
> > uid=1000(amacater) gid=1000(amacater) groups=1000(amacater),27(sudo)
> >
> > which shows you that my user - amacater - is the first user on the
> > machine (because Debian starts user id numbers at 1000 for ordinary
> > users) and that I'm a member of group sudo - so can use sudo instead of su.
> >
> > /etc/sudoers will show you what privileges the sudo user has.
> > Here are the last lines of the file on my machine (which has not been
> > modified from Debian defaults)
> >
> > # User privilege specification
> > rootALL=(ALL:ALL) ALL
> >
> > # Allow members of group sudo to execute any command
> > %sudo   ALL=(ALL:ALL) ALL
> >
> > # See sudoers(5) for more information on "@include" directives:
> >
> > @includedir /etc/sudoers.d
> > (END)
> >
> > If you are _not_ a user of group sudo for whatever reason - and want to
> > use sudo - then you will need root privileges and the root password
> > (once) to add your user name to the group.
> >
> > For example: adduser sophie sudo
> >
> > I hope this helps
> >
> > > 2 years ago
> > > sudo was no problem.
> > >
> >
> > As yet, we have *no idea* what you have done in the last two years to
> > break your Debian system - or even to know which kernel you boot or
> > how you "rescue" your system when you log onto it every day.
> >
> > Please give us information in order that the readers on this list can
> > use their knowledge to help you.
> >
> > With every good wish, as ever,
> >
> > Andy
> > (amaca...@debian.org)
> > > Regards
> > >
> > > Sophie
> > >
> > > Thank You
> > > 
> > > Von: Timothy M Butterworth 
> > > Gesendet: Montag, 22. Januar 2024 00:07
> > > An: Schwibinger Michael 
> > > Cc: Greg Wooledge ; debian-user@lists.debian.org 
> > > 
> > > Betreff: Re: su su- sudo dont work
> > >
> > >
> > >
> > > On Sun, Jan 21, 2024 at 4:07 PM Schwibinger Michael 
> > > mailto:h...@hotmail.com>> wrote:
> > > Thank You
> > > Example
> > > I say
> > >
> > > sudo apt-get install firefox
> > > Reaction LINUX
> > > This is not allowed we send a message to the admin.
> > >
> > > This error message means that your account is not in the sudo group.
> > >
> > > Run the command "groups" and look for the group sudo.
> > > groups
> > >
> > > Here is the command to add a user account to the sudo group. You will 
> > > need to run it as root.
> > > usermod -a -G sudo 
> > >
> > > I do open root terminal
> > > there its working.
> > > Regards
> > > Sophie
> > >
> > > 
> > > Von: Greg Wooledge mailto:g...@wooledge.org>>
> > > Gesendet: Samstag, 20. Januar 2024 14:14
> > > An: 

C-Ins vs. C-c [was: xterm PRIMARY and CLIPBOARD selection] Firefox and paste into Terminal with Vim]

2024-02-07 Thread tomas
On Wed, Feb 07, 2024 at 01:20:19PM +0100, Nicolas George wrote:
> Max Nikulin (12024-02-07):
> > It may be a convention for applications other than terminals, however I am
> > unsure what "standard" means for terminals.
> 
> I have not said it is more “standard for terminals”, I have that it is
> more “standard” fullstop. It is more standard by the virtue of having
> worked for decades, C-Ins S-Ins S-Del existed way before the C-C C-V C-X
> tryptich, and still working today in most contexts.

C-c, C-x and C-v is latest documented for the Apple Lisa, around 1983,
although it may have stolen it from the Xerox Alto [0] [1]

C-Ins, S-Del and S-Ins are IBM CUA, around 1987.

So it's the other way around :-)

Cheers

[0] https://en.wikipedia.org/wiki/Apple_Lisa
[1] https://en.wikipedia.org/wiki/Cut%2C_copy%2C_and_paste#Popularization
[2] https://en.wikipedia.org/wiki/IBM_Common_User_Access

-- 
t


signature.asc
Description: PGP signature


GNU lightning dans Debian/sid/x86-64

2024-02-07 Thread Basile Starynkevitch

Bonsoir la liste


GNU lightning est une bibliothèque sympa pour générer du code 
("machine") rapidement. https://www.gnu.org/software/lightning/


J'ai l'impression que dans Debian/trixie/sid/x86-64 ce paquet a disparu.

J'ai pu sans probleme compiler le GNU lightning récent -

 rimski.x86_64 src/Libs/lightning 18:08 .0 % cat lightning.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: GNU Lightning
Description: JIT library
Version: 2.2.2
Libs: -L${libdir} -llightning
Cflags: -I${includedir}/

mais j'ai l'impression que le paquet a disparu de Debian. Par exemple il 
n'y a plus de liblightning.a sous /usr/lib ou /usr/lib/x86_64-linux-gnu/


Pourquoi GNU lightning n'est plus packagé dans Debian?

Merci de vos éclaircissements

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



Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim]

2024-02-07 Thread Max Nikulin

On 07/02/2024 19:20, Nicolas George wrote:

Max Nikulin (12024-02-07):

It may be a convention for applications other than terminals, however I am
unsure what "standard" means for terminals.


I have not said it is more “standard for terminals”, I have that it is
more “standard” fullstop. It is more standard by the virtue of having
worked for decades, C-Ins S-Ins S-Del existed way before the C-C C-V C-X
tryptich, and still working today in most contexts.


Terminal application should leave standard hotkeys for applications 
running in terminals. It is the reason why modern terminals use 
[Ctrl+Shift+c] and [Ctrl+Shift+v] instead of conventional [Ctrl+c] and 
[Ctrl+v]. That is why I am against idea of adding [Ctrl+Insert] to xterm 
bindings.


In Emacs C- is bound to `kill-ring-save'.


Works for me. The author of XTerm is quite reactive if you can explain
the issue clearly, I am not surprised it was fixed.


My impression, it was a decision to support only single storage for 
handling selection. I like that it was changed.




AW: AW: AW: su su- sudo dont work

2024-02-07 Thread Schwibinger Michael

Good afternoon

I did send the bugreport.

Thank You.
Did anybody use the rescue mode?

Regards Sophie



Von: Andrew M.A. Cater 
Gesendet: Mittwoch, 31. Januar 2024 20:36
An: debian-user@lists.debian.org ; Schwibinger 
Michael 
Betreff: Re: AW: AW: su su- sudo dont work

On Wed, Jan 31, 2024 at 01:58:41PM +, Schwibinger Michael wrote:
> Good afternoon
> I think
> maybe Im sure
> it is because of rescue mode.
>
Hi Sophie,

Once again: we need to you to show us what commands you run.

We need to see error messages.

if you cannot run sudo or su, we need you to run the id command
as previously suggested.

We have literally nothing of use from you to help any of us problem
solve. This is throwing good effort away in persuading you to help us.

Also - please address requests first to the list and not to individuals -
it makes it a lot easier to follow on the list.

> Normal booting did not have this problem.
>
> Anybody familiar with panic?
>
> Regards
> Thank You
> Sophie
>
Andy
>
> 
> Von: Andrew M.A. Cater 
> Gesendet: Donnerstag, 25. Januar 2024 18:40
> An: debian-user@lists.debian.org 
> Betreff: Re: AW: su su- sudo dont work
>
> On Thu, Jan 25, 2024 at 03:53:10PM +, Schwibinger Michael wrote:
> > Good afternoon
> > Why do I have to open a group?
> >
>
> This is to *tell* us information about why you're having problems with su
> and sudo
>
> Running the
>
> id
>
> command should give you information like
>
> uid=1000(amacater) gid=1000(amacater) groups=1000(amacater),27(sudo)
>
> which shows you that my user - amacater - is the first user on the
> machine (because Debian starts user id numbers at 1000 for ordinary
> users) and that I'm a member of group sudo - so can use sudo instead of su.
>
> /etc/sudoers will show you what privileges the sudo user has.
> Here are the last lines of the file on my machine (which has not been
> modified from Debian defaults)
>
> # User privilege specification
> rootALL=(ALL:ALL) ALL
>
> # Allow members of group sudo to execute any command
> %sudo   ALL=(ALL:ALL) ALL
>
> # See sudoers(5) for more information on "@include" directives:
>
> @includedir /etc/sudoers.d
> (END)
>
> If you are _not_ a user of group sudo for whatever reason - and want to
> use sudo - then you will need root privileges and the root password
> (once) to add your user name to the group.
>
> For example: adduser sophie sudo
>
> I hope this helps
>
> > 2 years ago
> > sudo was no problem.
> >
>
> As yet, we have *no idea* what you have done in the last two years to
> break your Debian system - or even to know which kernel you boot or
> how you "rescue" your system when you log onto it every day.
>
> Please give us information in order that the readers on this list can
> use their knowledge to help you.
>
> With every good wish, as ever,
>
> Andy
> (amaca...@debian.org)
> > Regards
> >
> > Sophie
> >
> > Thank You
> > 
> > Von: Timothy M Butterworth 
> > Gesendet: Montag, 22. Januar 2024 00:07
> > An: Schwibinger Michael 
> > Cc: Greg Wooledge ; debian-user@lists.debian.org 
> > 
> > Betreff: Re: su su- sudo dont work
> >
> >
> >
> > On Sun, Jan 21, 2024 at 4:07 PM Schwibinger Michael 
> > mailto:h...@hotmail.com>> wrote:
> > Thank You
> > Example
> > I say
> >
> > sudo apt-get install firefox
> > Reaction LINUX
> > This is not allowed we send a message to the admin.
> >
> > This error message means that your account is not in the sudo group.
> >
> > Run the command "groups" and look for the group sudo.
> > groups
> >
> > Here is the command to add a user account to the sudo group. You will need 
> > to run it as root.
> > usermod -a -G sudo 
> >
> > I do open root terminal
> > there its working.
> > Regards
> > Sophie
> >
> > 
> > Von: Greg Wooledge mailto:g...@wooledge.org>>
> > Gesendet: Samstag, 20. Januar 2024 14:14
> > An: debian-user@lists.debian.org 
> > mailto:debian-user@lists.debian.org>>
> > Betreff: Re: su su- sudo dont work
> >
> > On Sat, Jan 20, 2024 at 01:26:06PM +, Schwibinger Michael wrote:
> > > Good afternoon.
> > > Root terminal is fine.
> > > What do I do wrong?
> > > What did I destroy?
> > >
> > > PC does have only one user=admin.
> > >
> > > Regards Sophie
> > > Is it the rescue mode?
> >
> > Explain, please.
> >
> > Your Subject: header says "su su- sudo dont work".  What does this MEAN?
> >
> > Please show us your attempts to USE each of these commands, and the
> > results that you got.  This means, run the commands in a terminal
> > window, and then PASTE the contents of that terminal window into the
> > body of your next email.  Show us the shell prompt, the command as you
> > typed it, and the full output.
> >
> > In other words, show us WHAT IS WRONG, or at least what appears wrong.
> >
> > In addition, please give basic background information -- what version
> > of Debian you are running, 

AW: AW: AW: su su- sudo dont work

2024-02-07 Thread Schwibinger Michael

Its no fun
its not dangerous.
I do use the root terminal.

I dont use my real name in www,
to much SPAM then.

Regards
Sophie

Problem is cause of the panic.


Von: Andy Smith 
Gesendet: Samstag, 27. Januar 2024 09:47
An: debian-user@lists.debian.org 
Betreff: Re: AW: AW: su su- sudo dont work

Hi Hans,

On Sat, Jan 27, 2024 at 10:23:09AM +0100, Hans wrote:
> I see this exactly as you and are watching this list for may years.

I'm not sure who you're replying to as you've removed those details,
though I may guess from your In-Reply-To header which doesn't point
to a list message. You haven't replied to an off-list (personal)
mail back onto the list have you? Be careful there!

> But since the beginning, I had the suspicion, that someone just
> wants to make fun with us.

It is hard to understand how what Michael/Sophie/Tobias does can in
any way be "fun" for them, though maybe that is just our lack of
understanding.

Either they are incredibly confused by Linux or they are pretending
to be for reasons beyond my understanding. Whatever the case, I
don't think I have ever seen one of their threads result in a
positive resolution.

It's probably best to not assume that what we don't understand is
hostile and/or an AI experiment. Even so, that doesn't mean it is
possible to help.

Thanks,
Andy

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



AW: AW: AW: su su- sudo dont work

2024-02-07 Thread Schwibinger Michael
Good afternoon.

The bug report

sudo ...
You are not in the sudoers file.
Regards
Sophie



Von: Hans 
Gesendet: Freitag, 26. Januar 2024 18:44
An: debian-user@lists.debian.org 
Betreff: Re: AW: AW: su su- sudo dont work


Am Freitag, 26. Januar 2024, 17:23:07 CET schrieben Sie:

Yes, if you want to install soemthing for example by using the apt command, 
best way is becoming root with the command "su -" and then install the rquired 
package.


Example:

su -  then enter the password of the user root


If installing for example firefox, first read the repository:


apt update


then install the package


apt install firefox-esr


-


Hint: If you want a graphical method and you have no X and Wndow-Manager 
running (like KDE, Gnome, XFCE whatever), I suggest using aptitude.


You have to install aptitude first:


apt install aptitude


Then you can start the gui with the command "aptitude" as root.


Hint 2: aptitude is controlled by keypresses without any enter-key.

For example, when started aptitude, just press the "u" key and it reads the 
update, "U" (Shift + u)  marks all newer packages automatically to be updated, 
then press "g" and you will shwo, what it will do. Press "g" again, and it will 
do the update.


Please note: If you want to upgrade the whole sytem, then using apt or apt-get 
will be the better choice!


But aptitude is very well for installing single packages or weekly upgrades, 
where not much packages will be renewed.


If you are not much experienced, and you have a window-manager running like 
KDE, Gnome, XFCE, LXDE or another one, then look at synaptic. Synaptic is a 
graphical tool for installing packages, it is a GUI for apt.


Synaptic MUST run as root.


Hope this helps.


By the way: I believe, you are not very experienced in English language, so I 
suggest to suscribe in the fine German forum,

which is debian-user-ger...@lists.debioan.org.


Here is the link:

https://lists.debian.org/debian-user-german/


Good luck!


Hans



> Sorry

> it was my mistake

>

> It is

>

> su -

> su

> or sudo.

>

> Sorry.

>

> Is su -

> the best for install?

>

> Regards

>

> Sophie

>

>

> 

>


Re: Installing Debian on an old Asus EEE PC

2024-02-07 Thread Eric S Fraga
Dear all,

Apologies but work interfered before I could get back to the EEE PC.

Thank you all for the responses.  Very helpful.

On Friday,  5 Jan 2024 at 18:35, Hans wrote:
> Also, very nice, you can create a multiboot sd card, and stuck it into
> the netbook, so you can boot from it several usefull livesystems (I am
> using XBOOT for this, but it is also working with YUMI or some others.

On Friday,  5 Jan 2024 at 18:36, Hans wrote:
> Am Freitag, 5. Januar 2024, 17:48:39 CET schrieb Eric S Fraga:
> Me again:
>
> Second answer: You can easily install debian 32-bit from an USB-stick·
> it is working just any other computer.

This is great.  Definitely the routes (USB and/or SD) forward for me.
Thank you.  Mind you, the bios indicates only removable storage is
recognised at boot time so probably the SD card but I'll try USB as
well.

On Friday,  5 Jan 2024 at 17:36, Tom Furie wrote:
> I'm currently running bookworm on an Atom based EeeBook (x205ta), it
> has 2G RAM, and 30G storage. The only hurdle I've found is getting
> internal sound to work (chtrt5645), though HDMI output is fine, I'm
> sure I simply haven't found the right combination of switches to
> flip. Having said that, I'm no expert on Linux audio.

This is much more powerful than my EEE PC, both in memory and disk (see
below).  By almost an order of magnitude probably!

On Friday,  5 Jan 2024 at 16:13, Charles Curley wrote:
>
> It might help if you gave us a bit more information.

Indeed.  Sorry.  The model is the original EEE PC, the 2G Surf.
ASUSTeK 700.
0.5 GB memory, 2 GB disk.

Anyway, I will try one of the very small Linux distributions.  My
eventual aim is to install a recent version of Emacs that might be able
to run in 512 MB (but probably not) as I want a portable orgmode system.

Thank you all again,
eric

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-09-14) on Debian 12.2



Re: How can we change the keyboard layout?

2024-02-07 Thread John Hasler
Greg writes:
> To "change the keyboard layout" could mean either to select a
> different layout, or to modify an existing layout.  In fact, I think
> *most* people would assume the former.

I think the possibility of *altering* the keyboard layout would not even
occur to most users.


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



Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim]

2024-02-07 Thread Stefan Monnier
> I have not said it is more “standard for terminals”, I have that it is
> more “standard” fullstop. It is more standard by the virtue of having
> worked for decades, C-Ins S-Ins S-Del existed way before the C-C C-V C-X
> tryptich, and still working today in most contexts.

Indeed, IIUC these key bindings were part of the CUA standard:
https://en.wikipedia.org/wiki/IBM_Common_User_Access


Stefan



Re: Many systemd units do not start anymore

2024-02-07 Thread Michael Biebl

Am 07.02.24 um 13:07 schrieb Christoph Pleger:

Hello,

Am Mittwoch, dem 07.02.2024 um 12:27 +0100 schrieb Michael Biebl:

Am 07.02.24 um 11:32 schrieb Christoph Pleger:

Hello,



systemd-time-wait-sync.service is running but has not completed.
I wonder if that is
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940840
https://github.com/systemd/systemd/issues/14061

Which NTP service do you use?


I am using chrony, because the server is offering time services to NTP
clients.

Regards
    Christoph

PS: As a (temporary) workaround, I created an override file for
systemd-time-wait-sync.service that just calls /bin/true .
   



Have you tried to simply disable the service?


I have now, and it works. Any idea what might have enabled it? I have
quite old entries in /root/.bash_history, but no signs of that I
enabled that service manually, I did not even know about its existence
before monday ...


Nowadays, systemd-time-wait-sync.service is disabled in presets. I don't 
now if this was (already) the case for Bullseye (which I no longer use).


Might be that you enabled it via presets / it was enabled via presets.



OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Copy from Firefox and paste into Terminal with Vim

2024-02-07 Thread Max Nikulin

On 07/02/2024 19:19, Greg Wooledge wrote:

On Tue, Feb 06, 2024 at 11:02:09PM -0800, David Christensen wrote:

* Pressing " then + then p seems to paste from the default Vim buffer --
what I seem to recall being referred to as the "yank buffer" (?).

* Pressing " then * then p seems to paste from the default Vim buffer.


These are the same results that I had.  You're most likely running a
vim package built without the full suite of GUI options, just like I am.


Only vim.gtk3 and vim.motif support PRIMARY selection and CLIPBOARD 
registers (you do not need to run gvim). There is no support in 
vim.tiny, vim.basic (package "vim"), vim.nox. They are built from the 
same source package with different configure options. It seems neovim 
(different project) require an external tool for clipboard.





Re: Many systemd units do not start anymore

2024-02-07 Thread Christoph Pleger
Hello,

Am Mittwoch, dem 07.02.2024 um 12:27 +0100 schrieb Michael Biebl:
> Am 07.02.24 um 11:32 schrieb Christoph Pleger:
> > Hello,
> > 
> > > 
> > > systemd-time-wait-sync.service is running but has not completed.
> > > I wonder if that is
> > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940840
> > > https://github.com/systemd/systemd/issues/14061
> > > 
> > > Which NTP service do you use?
> > 
> > I am using chrony, because the server is offering time services to NTP
> > clients.
> > 
> > Regards
> >    Christoph
> > 
> > PS: As a (temporary) workaround, I created an override file for
> > systemd-time-wait-sync.service that just calls /bin/true .
> >   
> > 
> 
> Have you tried to simply disable the service?

I have now, and it works. Any idea what might have enabled it? I have
quite old entries in /root/.bash_history, but no signs of that I
enabled that service manually, I did not even know about its existence
before monday ... 

Regards
  Christoph


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


Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim]

2024-02-07 Thread Nicolas George
Max Nikulin (12024-02-07):
> It may be a convention for applications other than terminals, however I am
> unsure what "standard" means for terminals.

I have not said it is more “standard for terminals”, I have that it is
more “standard” fullstop. It is more standard by the virtue of having
worked for decades, C-Ins S-Ins S-Del existed way before the C-C C-V C-X
tryptich, and still working today in most contexts.

> Thanks, it seems, it works in bookworm. Several years ago xterm did not
> support ownership of independent CLIPBOARD and PRIMARY simultaneously. It
> was a workaround for the following scenario:
> 
> - select some text
> - copy it to CLIPBOARD
> - select another fragment of text (PRIMARY)
> - switch to another application
> - paste from PRIMARY
> - paste from CLIPBOARD

Works for me. The author of XTerm is quite reactive if you can explain
the issue clearly, I am not surprised it was fixed.

Regards,

-- 
  Nicolas George



Re: Copy from Firefox and paste into Terminal with Vim

2024-02-07 Thread Greg Wooledge
On Tue, Feb 06, 2024 at 11:02:09PM -0800, David Christensen wrote:
> * Pressing " then + then p seems to paste from the default Vim buffer --
> what I seem to recall being referred to as the "yank buffer" (?).
> 
> * Pressing " then * then p seems to paste from the default Vim buffer.

These are the same results that I had.  You're most likely running a
vim package built without the full suite of GUI options, just like I am.

(Do you get a terminal bell after "+ or is your terminal bell disabled?)

> The behavior is the same with .vimrc disabled.
> 
> So, my Debian, X, Xfce, Terminal, and/or Vim are not working as documented
> (?).

Try:

vim --version | sed -n -e 1,2p -e /GUI/p -e /clip/p



Re: How can we change the keyboard layout?

2024-02-07 Thread Greg Wooledge
On Wed, Feb 07, 2024 at 06:58:39AM +0100, hw wrote:
> On Tue, 2024-02-06 at 21:43 -0600, David Wright wrote:
> > It's also obvious that "change the keyboard layout" is ambiguous,
> > and you didn't intend to mean switching between two layouts.
> 
> It's not at all obvious, and it's not really ambiguous.  Changing the
> keyboard layout has always been about changing the keybaord layout and
> never about switching between different keyboards or between different
> layouts.

No, I can assure you, it is ambiguous.

To "change the keyboard layout" could mean either to select a different
layout, or to modify an existing layout.  In fact, I think *most* people
would assume the former.

Compare to "change clothing".  If a parent says they want you to go
upstairs and change your shirt, they *most likely* mean they want
you to select a different shirt.  They would be quite surprised if
you altered your shirt with a knife and some magic markers.



Re: Many systemd units do not start anymore

2024-02-07 Thread Michael Biebl

Am 07.02.24 um 11:32 schrieb Christoph Pleger:

Hello,



systemd-time-wait-sync.service is running but has not completed.
I wonder if that is
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940840
https://github.com/systemd/systemd/issues/14061

Which NTP service do you use?


I am using chrony, because the server is offering time services to NTP
clients.

Regards
   Christoph

PS: As a (temporary) workaround, I created an override file for
systemd-time-wait-sync.service that just calls /bin/true .
  


Have you tried to simply disable the service?


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: NUC freeazing due to kernel bug

2024-02-07 Thread Dan Ritter
Tim Janssen wrote: 
> I use debian server on my NUC to run a low powered home server. It freezes
> every 2-3 days what looks to be a kernel bug. From a lot of testing it only
> occurs when the ethernet cable is inserted and it seems it has to do
> something with low power mode (c-states). These issues have been reported
> ever since kernel 5.10. I wonder if the debian devs are aware of this issue
> and if a fix is undereway.


Things that you really ought to tell us:

- CPU?
- model or motherboard identifier?
- have you tried disabling low C states in BIOS?
- you say it's been reported across major kernel releases --
  what bug numbers?
- are there any log entries written before it freezes?
- can you avoid it by not unplugging/replugging the ethernet
  cable?
- what ethernet NIC is in use?
- have you run htop or another means to disable power saving on
  the NIC?

...and probably a dozen other things, but start there.

-dsr-



Re: Many systemd units do not start anymore

2024-02-07 Thread Christoph Pleger
Hello,
> - what is the hardware?

Qemu VM

> - what release of what operating system is in use?

Debian bullseye

> - what happened just before things 'suddenly' stopped working? Did
you
>   upgrade the machine, or install some new software, or just reboot
it
>   or what?

I rebooted the machine, maybe I did something else before, but I do not
remember. 

> - you say it is just one of your server machines. Can you draw any
>   comparisons with the state of your other server machines?


The difference is that this machine chrony as ntp server/client, while
on most others, it is systemd-timesyncd .

Regards
  Christoph


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


Re: Many systemd units do not start anymore

2024-02-07 Thread Christoph Pleger
Hello,

> 
> systemd-time-wait-sync.service is running but has not completed.
> I wonder if that is
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940840
> https://github.com/systemd/systemd/issues/14061
> 
> Which NTP service do you use?

I am using chrony, because the server is offering time services to NTP
clients.

Regards
  Christoph

PS: As a (temporary) workaround, I created an override file for
systemd-time-wait-sync.service that just calls /bin/true .
 


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


NUC freeazing due to kernel bug

2024-02-07 Thread Tim Janssen
Dear Sir/Madam,

I use debian server on my NUC to run a low powered home server. It freezes
every 2-3 days what looks to be a kernel bug. From a lot of testing it only
occurs when the ethernet cable is inserted and it seems it has to do
something with low power mode (c-states). These issues have been reported
ever since kernel 5.10. I wonder if the debian devs are aware of this issue
and if a fix is undereway.

Best regards,

Tim Janssen


Re: firefox et avira

2024-02-07 Thread Kohler Gerard

Le 07/02/2024 à 06:54, Fabien Dubois a écrit :


Bonjour,

Vous pouvez sauvegarder les deux. Dans les paramètres de firefox vous 
trouverez les deux.
Par contre, si vous pouvez importer les marques pages, il faut se 
refaire  tous les identifiants/mdp à la main. Mais le fichier est 
lisible sans souci. Je n'ai pas trouvé pour le récupérer d'un bloc 
dans la nouvelle config.


Bonne journée,

Fabien


merci de confirmer ce que je pensais,

c'est ce que je vais faire.

Gérard

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



Re: Copy from Firefox and paste into Terminal with Vim

2024-02-07 Thread David Christensen

On 2/6/24 06:25, Max Nikulin wrote:

On 06/02/2024 13:28, David Christensen wrote:

On 2/5/24 19:03, Max Nikulin wrote:

    xclip -o -selection PRIMARY
    xclip -o -selection CLIPBOARD


That is useful.


I expected that you would try both commands when vim is unable to paste. 
It would allow to discriminate whether it is Firefox or Vim issue.



I tried using those commands, but was getting confusing results.  If and 
when my Debian, X, Xfce, Terminal, and/or Vim misbehave again, I will 
see if those commands produce any clues.




If I start Firefox, browse to https://www.toyota.com/dealers, select the
the first dealer contents, start Vim, press and release the 
double-quote key, press and release the asterisk key, and press and 
release the p key, Vim inserts a blank line.


What is the effect of ["], [+], [p] keystrokes?



https://lists.debian.org/debian-user/2024/02/msg00277.html


or C-R* in insert mode. 


I do not understand your notation:

 C-R*


[Ctrl+R], [*] or [Ctrl+R], [+]

     :help i_CTRL-R



In command mode:

* Pressing Ctrl+R causes the bottom line to say:

Already at newest change

* Pressing Ctrl+R then + causes the cursor to move down one line.

* Pressing Ctrl+R then * causes the bottom line to say:

search hit BOTTOM, continuing at TOP


In insert mode:

* Pressing Ctrl+R causes the following two characters to be inserted 
into columns 53 and 54 of the bottom line:


^R

* Pressing Ctrl+R then + causes the two characters to be removed from 
the bottom line


* Pressing Ctrl+R then * causes the two characters to be removed from 
the bottom line




... Ctrl+Shift+V


I was trying to recommend against it, despite currently bracketed paste 
is enabled by default in BASH.



https://lists.debian.org/debian-user/2024/02/msg00276.html



https://security.stackexchange.com/questions/39118/how-can-i-protect-myself-from-this-kind-of-clipboard-abuse



Yuck.


I wonder if the https://www.toyota.com/dealers content I was attempting 
to paste into Vim contained exploits (?).  I have rebooted several 
times; perhaps the effects were not persistent (?).  Toyota's web site 
is different today; perhaps Toyota removed the exploits (?).



I wonder if the following will display exploits (?):

$ xclip -o -selection PRIMARY

$ xclip -o -selection CLIPBOARD


I wonder if my Vim has blocked "+p and "*p as a means to protect against 
clipboard attacks?




As to vim docs

     :help gui-selection
     :help quoteplus



https://lists.debian.org/debian-user/2024/02/msg00277.html



and for completeness

     :help registers



It seems that I have been conflating the terms and concepts "buffer" and 
"register".




Perhaps

     :help user-manual

contains description as well



Vim has more features than I know or use.


David