Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread tomas
On Sat, Jan 13, 2024 at 09:32:44PM +, phoebus phoebus wrote:
> Hello,
> 
> I understand that the situation may seem complex and i apologize if my 
> previous messages did not provide a clear overview of the problem. Allow me 
> to summarize our current situation.
> In this response, I will incorporate the various comments made by Greg, 
> Charles Tomas, and incorporate a significant portion of Greg's excellent 
> summary.

[...]

Thanks for the detailed explanation -- and no need to apologize.

Elephants are complex beasts :-)

This was to me at least a delightful example of trying to come to
a common understanding "Ah, yes, you're right: this feels like a
trunk!". Thank you for your patience, too.

One viable approach is the one proposed by Stefan et al (modify an
existing terminal emulator). I'd tend to separate concerns and just
write the application part as a separate process accepting a bidi
connection to SSH, one to a terminal emulator, and one to the serial
port (OK, some error and diagnostic logging too). The classical
thing built around a select() loop, with some extended state
automaton in it.

And this is where I disagree with Greg (what doesn't happen very
often). Some of us do love elephants :-)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Stefan Monnier
> Thank you for your suggestion. As I mentioned earlier, our development team
> primarily focuses on the server-side application and is not competent to
> modify the client-side emulator, which is crucial in our case. They have
> already examined the PuTTY source code and confirmed that this type of
> development is beyond their expertise.

The description of what the terminal emulator is expected to do is
reasonably simple that anyone who has a bit of familiarity with the
implementation of a terminal emulator should be able to add such
a feature fairly quickly.

Admittedly, the bidirectional part means there can be tricky issue when
the user hits keys at the same time as the printer sends information
back, but I'd suggest you try and contact various terminal emulator
teams to see if someone would be interested (I'm thinking of people who
worked on PuTTY or derivatives (Le PuTTY and TuTTY seem quite relevant,
for example), or things like libvterm, ...).  Even if the corresponding
doesn't necessarily make it upstream, it's probably a better investment
than paying for the license of a proprietary product which will force
you into the same problem again a few years down the road.


Stefan



Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Max Nikulin

On 14/01/2024 04:43, Jeffrey Walton wrote:


And use of HTTP in other fetches is dangerous, and HTTPS should be
used. See 
.


https://security-tracker.debian.org/tracker/CVE-2019-3462
states that this particular vulnerability has been fixed. Do you have 
any evidence that APT is still affected by another one related namely to 
HTTP?


Serious vulnerabilities have been found in OpenSSL and other libraries. 
Do you think, it is a reason to stop using TLS?


In the case of APT, unless you disabled it, content is verified using 
GPG keys and signatures, see apt-secure(8) and 
https://wiki.debian.org/SecureApt


HTTP clear text communication allows to use caching proxies, so to 
decrease load of repository servers and communication channels.


HTTPS may be a mitigation till a specific fix is installed.

Generally just pay attention that GPG keys for repositories are obtained 
through trusted channels.




Re: Change suspend type from kde menu

2024-01-13 Thread Max Nikulin

On 13/01/2024 22:37, Valerio Vanni wrote:

Il 13/01/2024 16:20, Max Nikulin ha scritto:


And this is one with a --lastchannel launch:
lrwx-- 1 valerio valerio 64 12 gen 20.52 34 -> 
/dev/dvb/adapter0/frontend0


lsof for the same process may be more informative, but currently it 
does not matter. Perhaps, opening devices in /dev/dvb, kaffeine does 
not set the O_CLOEXEC flag for open(2) (or does not call fcntl with 
FD_CLOEXEC). As a result, file descriptors leak to spawned processes. 
I suggest to reach a community more close to kaffeine (or maybe baloo) 
developers and ask if it could be improved.


In my system baloo is disabled.


Which package does tags.so belong to in your case?

I believe you that file indexer is disabled, but some components may 
still be called for reasons unclear for me. Maybe they do something 
useful. Leaking of file descriptors to child processes is not uncommon 
issue. Ideally both sides should take measures to avoid it, but to 
mitigate it is enough that any party handle file descriptors with care. 
However it is just my guess, maybe actual cause of the issue with 
tags.so is completely different.


P.S. Years ago KDE developers decided to remove controls that allowed to 
disable file indexer. Otherwise nobody would use it since previous 
version caused enough troubles. Fortunately that times have gone.





Re: Virtualization

2024-01-13 Thread Chip Snuth



Thank you for your kind words on encouragement,. I fully intend to stick 
around this list as well as becomming more active on the debian users 
forums. I  choose to use  virtualbox because I can spin up multiple 
instances of Debian inorder to  not only help the Debian development 
team   but also to help fellow users debug there  issues and or solve 
their issues.


Thanks,

Chip


On 1/13/24 15:15, David Christensen wrote:

On 1/13/24 08:38, Chip Snuth wrote:

Hello,



Hello.  :-)


I'm currently using RHEL however, I am still virtualization to play 
with    Debian instead of houseing my RHEL installation . Would the 
Debian community view me as a trator ofr chill for closed source and 
proprietary software? personally prefer the held back  kernel and 
software in RHEL provides for instance  the kernel is listed below.



   4.18.0-513.11.1.el8_9.x86_64 #1 SMP



Do not worry about being harassed on this list -- most everyone is 
polite, and impolite behavior is dealt with promptly.



Debian offers several choices for virtualization:

https://wiki.debian.org/SystemVirtualization


Debian 12 "Bulleye" is the current "stable" release of Debian:

https://www.debian.org/releases/


Debian also supports the past two previous releases of "stable":

https://wiki.debian.org/LTS


Debian offers lots of software via a package management system. Binary 
packages are the fast and easy way to install software. Source 
packages are useful when you want to customize compiled-in features, 
do debugging/ development/ test, etc.:


https://www.debian.org/distrib/packages

https://packages.debian.org/search?keywords=virtual&searchon=all&suite=stable§ion=all 




As upstream software projects release new versions, these go into 
"unstable", then "testing", and eventually "stable".  Important 
software updates are sometimes expedited through this process and made 
available as "backport" packages:


https://backports.debian.org/


Some vendors provide servers and packages that integrate into the 
Debian package management system.  This provides the current version 
of the software using the standard Debian package management tools.  
For example, I use Oracle VirtualBox:


https://www.virtualbox.org/wiki/Linux_Downloads


All that said, the only way to find out if an OS is going to meet your 
needs is to get a computer, install the OS, and try to do something 
useful with it.  This mailing list is one of many available help 
resources if you choose Debian.



David





Re: Virtualization

2024-01-13 Thread Timothy M Butterworth
On Sat, Jan 13, 2024 at 7:42 PM Chip Snuth  wrote:

> Hello,
>
> I'm currently using RHEL however, I am still virtualization to play with
> Debian instead of houseing my RHEL installation . Would the Debian
> community view me as a trator ofr chill for closed source and proprietary
> software?
>

Red Hat is Free Open Source Software. It almost seems like a new Red Hat
Clone comes out every 3 - 6 months: Oracle, CentOS, Rocky, Alma, Amazon to
name a few.



> personally prefer the held back  kernel and software in RHEL provides for
> instance  the kernel is listed below.
>
>
>   4.18.0-513.11.1.el8_9.x86_64 #1 SMP
>
>
> Thanks,
>
> Chip
>


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


Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Greg Wooledge
On Sun, Jan 14, 2024 at 12:31:57AM +, phoebus phoebus wrote:
> Yes, that's the basic concept, but it's even more intricate. The application 
> continuously monitors what it receives from the terminal with regular 
> interval checks (in milliseconds) and makes decisions based on rules. These 
> decisions include sending commands to the printer, analyzing the responses, 
> taking user actions, and even restricting user input in certain menu or 
> submenu areas of the screen. However, I have a high-level understanding of 
> this process as I'm not part of the application development team to delve 
> into the finer details.

More elephant parts. *shakes head*

At this point, I don't think you're talking to the right mailing list.
We're just Debian users.  Clearly we don't know of any terminal
emulators that do what you want.  (I assume you've already looked at
kermit, and found it lacking... yes?  OK then.)

If you need new features to be added to an existing Free terminal
emulator, or even to have a whole new one developed from the ground up,
this is not the mailing list for that.  Find the project that comes
closest to your needs, and talk to the developers of that project.



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread phoebus phoebus
Hello,

>> I take it that by "the proprietary software" you mean the proprietary
>> terminal emulator running on the client PC.

Yes, that's correct. "The proprietary software" refers to the proprietary 
terminal emulator running on the client PC.

>> One thing you might be able to do quickly is establish an SSH tunnel
>> between the PC and the server, then route the proprietary terminal
>> emulator telnet traffic through the tunnel. That, at least, will get
>> you a more secure connection between the PC and the server.

We've actually tested that approach before, but it introduced several technical 
challenges, and even though we managed to resolve some of them, it added 
complexity to the maintenance process. Additionally, it's important to consider 
that our end-users are not IT professionals but individuals primarily focused 
on sales. We need to encapsulate the entire process in a way that's transparent 
to the user, involving opening a program that initiates an SSH session within a 
tunnel, followed by launching the proprietary emulator for a Telnet session 
within that tunnel.

We're also revisiting our workstation authentication process to transmit 
information through it in order to identify different application sessions, as 
the application on the server appears to be originating from localhost. 
Furthermore, we're reevaluating the mechanism for checking the number of 
sessions originating from each workstation based on the assigned roles. We're 
addressing various technical aspects, but this solution was ultimately rejected 
by the project team as it was perceived as a workaround, not robust and 
fragile. It posed risks to the business in a critical part of our operations.

>> If I understand things correctly, the server sends all sorts of
>> information to the proprietary terminal emulator. Most of that gets
>> displayed on the emulator. But, given one VT escape code, the emulator
>> sends the subsequent data off to the printer, until it gets the other
>> VT escape code. The printer may then return a response.

Yes, that's the basic concept, but it's even more intricate. The application 
continuously monitors what it receives from the terminal with regular interval 
checks (in milliseconds) and makes decisions based on rules. These decisions 
include sending commands to the printer, analyzing the responses, taking user 
actions, and even restricting user input in certain menu or submenu areas of 
the screen. However, I have a high-level understanding of this process as I'm 
not part of the application development team to delve into the finer details.


>> If that understanding is correct, I suggest you grab an existing open
>> source terminal program that supports VT escape codes:
>>
>> 1) Modify how it handles those two escape codes.
>>
>> 2) Modify it to listen to the printer for responses, encode those
>> appropriately, and ship them to the server.
>>
>> I haven't worked with VT escape sequences in decades. If I recall
>> correctly, some escape sequences cause the terminal to send information
>> back to the server. In that case, you may need to synchronize return
>> information from the printer with other return information.

Thank you for your suggestion. As I mentioned earlier, our development team 
primarily focuses on the server-side application and is not competent to modify 
the client-side emulator, which is crucial in our case. They have already 
examined the PuTTY source code and confirmed that this type of development is 
beyond their expertise.

That's why we are exploring open-source solutions that offer a plug-and-play 
feature set or potentially an evolution of PuTTY. If we don't find a suitable 
open-source solution, we will consider commercial emulators that integrate this 
functionality. As a last resort, we might opt for a proprietary solution and 
pay for the licenses and maintenance required for the work done in that product.

The suggestion you made to adapt an open-source terminal program to support VT 
escape codes is certainly relevant, but unfortunately, it goes beyond our 
current expertise and that of our team

Regards,
Thierry



Re: smartctl cannot access my storage, need syntax help

2024-01-13 Thread gene heskett

On 1/13/24 13:41, Andy Smith wrote:

Gene,

On Sat, Jan 13, 2024 at 12:23:28PM -0500, gene heskett wrote:

Does making a raid erase the drives label field in a gpt partition scheme?

That question ought to have a simple yes or no answer.


I'm forced to conclude that it's a waste of anyone's time to try to
help you since you don't listen to advice, won't even type commands
you are asked to, and don't provide relevant information.


I've furnished exactly what you asked for in previous msgs, until you 
ask for something that is NOT installed by bookworm and cannot be found 
by synaptic. It must take an extra long ladder to get up on the horse 
you are riding.


On top of

that between any two emails you embark on misguided epic
restructuring of your entire computing environment rendering
anything that was said in between utterly pointless.


I'm looking for a solution to a broken install, all caused by the 
installer finding a plugged in FDTI usb-serial adapter so it 
automatically assumed I was blind and automatically installed brltty and 
orca, which are not removable once installed without ripping the system 
apart rendering it unbootable. If orca is disabled, the system will 
_NOT_ reboot. And I catch hell for discriminating against the blind when 
I complained at the time.


That took me 20+ installs to get this far because if I removed the exec 
bits on orca,  disabling it=no reboot=yet another re-install go thru the 
same thing with orca yelling at me for every keystroke entered, till 
someone took pity on me and wrote to unplug the usb stuff which looks 
like a weeping willow tree here, nothing more or less.


And I'm forced to conclude that a simple yes or no answer to what looks 
like a single, simple question to me, included above, is beyond you. 
Surely there is someone who /can/ answer that question.


Do take care, stay warm, dry and well Andy. And unvaxed, so you might 
live to be my age.


I am not. You are helpful, just not to me. That, I do not understand. It 
comes across to me that you have no time for anyone north of 50 years 
old, we are too dumb to be help when something goes south.  The only 
part of the advanced age category I fit into is the poor short term 
memory of someone 89 years old, which I am.


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



Re: Virtualization

2024-01-13 Thread David Christensen

On 1/13/24 08:38, Chip Snuth wrote:

Hello,



Hello.  :-)


I'm currently using RHEL however, I am still virtualization to play with 
   Debian instead of houseing my RHEL installation . Would the Debian 
community view me as a trator ofr chill for closed source and 
proprietary software? personally prefer the held back  kernel and 
software in RHEL provides for instance  the kernel is listed below.



   4.18.0-513.11.1.el8_9.x86_64 #1 SMP



Do not worry about being harassed on this list -- most everyone is 
polite, and impolite behavior is dealt with promptly.



Debian offers several choices for virtualization:

https://wiki.debian.org/SystemVirtualization


Debian 12 "Bulleye" is the current "stable" release of Debian:

https://www.debian.org/releases/


Debian also supports the past two previous releases of "stable":

https://wiki.debian.org/LTS


Debian offers lots of software via a package management system.  Binary 
packages are the fast and easy way to install software.  Source packages 
are useful when you want to customize compiled-in features, do 
debugging/ development/ test, etc.:


https://www.debian.org/distrib/packages

https://packages.debian.org/search?keywords=virtual&searchon=all&suite=stable§ion=all


As upstream software projects release new versions, these go into 
"unstable", then "testing", and eventually "stable".  Important software 
updates are sometimes expedited through this process and made available 
as "backport" packages:


https://backports.debian.org/


Some vendors provide servers and packages that integrate into the Debian 
package management system.  This provides the current version of the 
software using the standard Debian package management tools.  For 
example, I use Oracle VirtualBox:


https://www.virtualbox.org/wiki/Linux_Downloads


All that said, the only way to find out if an OS is going to meet your 
needs is to get a computer, install the OS, and try to do something 
useful with it.  This mailing list is one of many available help 
resources if you choose Debian.



David



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Charles Curley
On Sat, 13 Jan 2024 21:32:44 + (UTC)
phoebus phoebus  wrote:

> I have a client workstation with a proprietary terminal emulator
> running on Windows. This PC is connected to a POS printer via a COM
> serial port. The client workstation along with the printer and other
> connected devices, forms the client-side of our Point of Sale (POS)
> system.

…

> The printer model is a Thermal Line Dot Printing type and it supports
> the ESC/POS command system, created by Epson, which provides
> efficient and functional commands for communication with the printer.
> For more information on ESC/POS, please refer to this site:
> https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/index.html

This article was very helpful.

> Our objective is to explore open-source solutions for this
> configuration as we aim to replace the proprietary software.

I take it that by "the proprietary software" you mean the proprietary
terminal emulator running on the client PC.

One thing you might be able to do quickly is establish an SSH tunnel
between the PC and the server, then route the proprietary terminal
emulator telnet traffic through the tunnel. That, at least, will get
you a more secure connection between the PC and the server.

If I understand things correctly, the server sends all sorts of
information to the proprietary terminal emulator. Most of that gets
displayed on the emulator. But, given one VT escape code, the emulator
sends the subsequent data off to the printer, until it gets the other
VT escape code. The printer may then return a response.

If that understanding is correct, I suggest you grab an existing open
source terminal program that supports VT escape codes:

1) Modify how it handles those two escape codes.

2) Modify it to listen to the printer for responses, encode those
appropriately, and ship them to the server.

I haven't worked with VT escape sequences in decades. If I recall
correctly, some escape sequences cause the terminal to send information
back to the server. In that case, you may need to synchronize return
information from the printer with other return information.

-- 
Does anybody read signatures any more?

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



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread phoebus phoebus
Hello,

>> I'd just suggest checking with the PuTTY team before hand if they'd be
>> interested in adding the functionality. Sure, a ready-to-apply patch
>> increases the chances, but this seems like a very specific feature that
>> very few people seem to need, so they might not want to add extra
>> complexity to the software.

You raise a valid point, and I appreciate your input. Before proceeding with 
any development or prototype, it would indeed be wise to reach out to the PuTTY 
team to gauge their interest in adding this specific functionality.
Understanding their perspective on its relevance and complexity is crucial.

I've already made initial contact but I'm still waiting for their response. 
I'll continue to pursue this avenue in the hope of receiving a response and 
initiating a dialogue. Thank you for highlighting this aspect of the process.

Best Regards,
Thierry



Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Jeffrey Walton
On Sat, Jan 13, 2024 at 9:06 AM Michael Kjörling <2695bd53d...@ewoof.net> wrote:
>
> On 13 Jan 2024 13:44 +, from lbrt...@gmail.com (Albretch Mueller):
> > E: Failed to fetch
> > https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
> > File has unexpected size (7009 != 20884). Mirror sync in progress?
> > [IP: 184.31.10.246 443]
> >Hashes of expected file:
> > - 
> > SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
> > - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
> > - Filesize:20884 [weak]
>
> That URL doesn't look right. You wouldn't by any chance be behind a
> captive portal or something like that which is asking for
> reauthentication?

184.31.10.246 belongs to AKAMAI. It could be one of those CAPTCHAs, too.

And use of HTTP in other fetches is dangerous, and HTTPS should be
used. See 
.

Jeff



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread phoebus phoebus
Hello,

I understand that the situation may seem complex and i apologize if my previous 
messages did not provide a clear overview of the problem. Allow me to summarize 
our current situation.
In this response, I will incorporate the various comments made by Greg, Charles 
Tomas, and incorporate a significant portion of Greg's excellent summary.

I have a client workstation with a proprietary terminal emulator running on 
Windows. This PC is connected to a POS printer via a COM serial port. The 
client workstation along with the printer and other connected devices, forms 
the client-side of our Point of Sale (POS) system. This client workstation is 
supported by various hardware devices, including barcode scanners and payment 
terminals. However, these barcode scanners and payment terminals are not within 
the scope of my current focus, which is to find open-source alternatives to 
proprietary solutions for our specific terminal emulator.

The printer model is a Thermal Line Dot Printing type and it supports the 
ESC/POS command system, created by Epson, which provides efficient and 
functional commands for communication with the printer. For more information on 
ESC/POS, please refer to this site: 
https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/index.html

The client PC connects to the server via Telnet but now, as part of our 
project, it uses SSH for secure connections. **It initiates a connection to the 
server to establish an interactive session.**

**At some point, the application will initiate a communication session to the 
"printer" and to the "other device" THROUGH the "printer", all tunneled THROUGH 
the telnet or ssh session using "bidirectional passthrough printing"**. 
Depending on the set of ASCII code sequences sent by the server, the terminal 
either displays characters on the screen or sends the command stream to the 
printer. In our case, it sends this stream to a serial port.

All commands received by the printer begin with ESC (ASCII 27, HEX 1B) or GS 
(ASCII 29, HEX 1D), followed by another character specifying the command. 
Normal text elements are simply sent separated by line breaks to the printer.

The passthrough printing concept is well explained in this guide by Anzio: 
https://www.anzio.com/resources/guide-anzios-passthrough-printing. Our 
server-side application, written in C, follows the same principle of code 
execution with the client workstation via the terminal emulator. Please note 
that our legacy proprietary terminal emulator is not the one provided by Anzio; 
however, in the context of considering a proprietary replacement solution, 
Anzio's solution is among those being evaluated.

Our objective is to explore open-source solutions for this configuration as we 
aim to replace the proprietary software.

I want to express my gratitude for your patience and valuable insights. Please 
let me know if this response now helps to clarify the situation.

Best Regards,
Thierry



Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Greg Wooledge
On Sat, Jan 13, 2024 at 06:19:06PM +, Albretch Mueller wrote:
>  My access to the Internet seems to be fine. I tested various urls:
> 
> url="https://www.wired.co.uk/article/facebook-energy-heating-homes";

That doesn't prove anything.  Just *look* at the URL that you got from
the error:

> >> >> E: Failed to fetch
> >> >> https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html

It's *obviously* a portal login.  Go to it.  Click whatever the hell it
wants you to click.  Better still, open a real web browser (one with
Javascript enabled) and go *anywhere*.

Once you get your IP "logged in" to the portal, apt-get might start
working again.  Until the next time it wants you to re-authenticate
anyway.

Don't think "But these 11 URLs worked, why does the 12th one not work?"
Nobody knows.  Don't try to figure it out.  Just submit, or get a real
Internet connection.



Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread tomas
On Sat, Jan 13, 2024 at 06:19:06PM +, Albretch Mueller wrote:
>  My access to the Internet seems to be fine. I tested various urls:

In that case, I'm out.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: smartctl cannot access my storage, need syntax help

2024-01-13 Thread Andy Smith
Gene,

On Sat, Jan 13, 2024 at 12:23:28PM -0500, gene heskett wrote:
> Does making a raid erase the drives label field in a gpt partition scheme?
> 
> That question ought to have a simple yes or no answer.

I'm forced to conclude that it's a waste of anyone's time to try to
help you since you don't listen to advice, won't even type commands
you are asked to, and don't provide relevant information. On top of
that between any two emails you embark on misguided epic
restructuring of your entire computing environment rendering
anything that was said in between utterly pointless.

At this point you are just howling into the wind and we're hearing
the noise from far away. Please get a blog or something, instead of
directing it here, where well-meaning people can mistake it for
something they could engage with.

I assume this thread can now close since you are never going to
provide the email from smartd that prompted it, for a system that no
longer exists. Otherwise it's destined to become another Gene
megathread with a shifting stream of consciousness topic of the
hour.

Andy

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



Re: Virtualization

2024-01-13 Thread Andy Smith
Hi,

On Sat, Jan 13, 2024 at 08:38:37AM -0800, Chip Snuth wrote:
> I'm currently using RHEL however, I am still virtualization to play with  
> Debian instead of houseing my RHEL installation . Would the Debian community
> view me as a trator ofr chill for closed source and proprietary software?
> personally prefer the held back  kernel and software in RHEL provides for
> instance  the kernel is listed below.

We don't care what you use or spend your time on, but this list is
for user support of Debian, so do you have a relevant Debian issue
to discuss?

Thanks,
Andy

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



Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Albretch Mueller
 My access to the Internet seems to be fine. I tested various urls:

url="https://www.wired.co.uk/article/facebook-energy-heating-homes";
###
curlvers=$(curl --version | head -n 1 | awk '{print $2}')

bn=$(basename "${url}")
dt=$(date --utc +%Y%m%d%H%M%S.%N)
ofl="${bn}_${dt}.html"
errs="${bn}_${dt}_curl_${curlvers}_errors.log"

time(
 curl --silent --verbose --output "${ofl}" "${url}" 2> "${errs}";
 _CURLX=$?
 echo "// __ \$_CURLX: |${_CURLX}|" >> "${errs}"
) >> "${errs}"

ls -l "${errs}"; wc -l "${errs}";
ls -l "${ofl}"; wc -l "${ofl}";

On 1/13/24, to...@tuxteam.de  wrote:
> On Sat, Jan 13, 2024 at 04:36:14PM +, Albretch Mueller wrote:
>> On 1/13/24, Michael Kjörling <2695bd53d...@ewoof.net> wrote:
>> > On 13 Jan 2024 13:44 +, from lbrt...@gmail.com (Albretch Mueller):
>> >> E: Failed to fetch
>> >> https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
>> >> File has unexpected size (7009 != 20884). Mirror sync in progress?
>> >> [IP: 184.31.10.246 443]
>> >>Hashes of expected file:
>> >> -
>> >> SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
>> >> - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
>> >> - Filesize:20884 [weak]
>> >
>> > That URL doesn't look right. You wouldn't by any chance be behind a
>> > captive portal or something like that which is asking for
>> > reauthentication?
>>
>>  Assuming I am indeed "behind a captive portal or something like that
>> which is asking for reauthentication" why is it that it only reacts
>> when I visit certain sites, like the profiled ones I need to access
>> right after I boot up?
>
> We can't know. But you can: just point your browser (or curl, or wget)
> at that URL and see what it says. This is the bunch of HTML your package
> manager is trying to digest as a package.
>
> Lucky that it barfs early, I'd say.
>
> Cheers
> --
> t
>



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread gene heskett

On 1/13/24 11:10, to...@tuxteam.de wrote:

On Sat, Jan 13, 2024 at 08:55:22AM -0700, Charles Curley wrote:

On Sat, 13 Jan 2024 09:59:48 -0500
Greg Wooledge  wrote:


The real problem here is that we're all blind men trying to grasp
the elephant.


A good summary of what we know so far. I suspect that the OP should
question whether it's time to scrap the elephant entirely, and re-think
the problem de novo. Remember that an elephant is a horse designed by a
committee.


The elephant would disagree.

Ported back from the metaphor this means that there are two sides to
this story and we might learn something new by trying to take up the
OP's point of view.

My guess was that the functionality exists in the Unix-y world, but the
building blocks might be called differently.

See, back then, Unix-y was "the mainframe" and PCs often played the
terminals (reflected on the serial ports, back then when PCs had some:
they have a terminal's gender).

This was what led me to minicom (and friends): what did one use back
then to talk to a modem?

I go back even further than that, Tomas, on a color computer I used 
either supercom or vt220, a terminal emulator that I made out of Brian 
Marquettes vt100, middle to later 80's time. The color computers had an 
aftermarket os called os9, was a microware supplied mini-unix that ran 
on a machine with only 64k of memory, 50+ years ago.


Anybody here remember that?

The 6809 cpu in the coco was first with program counter independant 
code, put it anyplace in memory and it just ran, so we showed the pc's 
of the day a much shorter, faster way home. But I've Been Moved chose 
intel 8088's and dos and had a bigger advertising budget.  That and 
nobody ever got fired for buying IBM.



Sadly the OP hasn't had a look into that, so I won't know ;-)

(To be fair: so many proposals to choose from, the OP has to prune
things to come to an end).

Cheers


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



Re: smartctl cannot access my storage, need syntax help

2024-01-13 Thread gene heskett

On 1/13/24 10:49, Andy Smith wrote:

Hi Gene,

On Fri, Jan 12, 2024 at 11:57:23PM -0500, gene heskett wrote:

On 1/12/24 21:56, Andy Smith wrote:

No it doesn't; smartctl works on drives, not mdadm arrays. mdadm
arrays are composed of block devices. Therefore any output you get
from smartd refers to a storage drive, not an mdadm array.


This appears to be true, there are 4 1t drives as a raid10, and the various
messages in that mbox file name 3 of the individual drives.


Messages you do not show us, meanwhile the rest of your report is
littered with errors, so I'm afraid I can't take you at your word
until you show me.

I repeat, smartd only works with whole drives. Those emails will
show device paths for whole drives.


But those individual drives cannot now be found by smartctl.


You have not yet demonstrated use of a single correct smartctl
command even though I literally told you what to type.


individually it names /dev/sde1, /dev/sdg1, and
/dev/sdd1.


I don't believe that you have an email from smartctl saying any of
that. So please show us. Again, it would be plausible for
these emails to mention /dev/sde etc.


As usual you have not bothered to show us what you are talking about
(the email from smartd), so we are left to guess. We should not
assume that it even says what you think it says.


copy paste from another shell:
gene@coyote:~$ sudo smartctl -i -d /dev/sde1


Here is what I said, which is quoted above, but I'll repeat it here
for emphasis:


As usual you have not bothered to show us what you are talking
about (THE EMAIL FROM SMARTD)


You then proceed to show us something that is not the email from
smartd — that is the very topic of your email — but just repeat the
output of a command that I already advised you was erroneously
formed.


blkid does not sort them in order either. And of coarse does not list whats
unmounted, forcing me to ident the drive by gparted in order to get its
device name. From that I might be able to construct another raid from the 8T
of 4 2T drives but its confusing as hell when the first of those 2T drives
is assigned /dev/sde and the next 4 on the new controller are /dev/sdi, j,
k, & l.


WHAT ON EARTH are you talking about. You start off by complaining
about an email that you don't show us, by email two you are on about
tearing your RAID apart and making a new one, all without a shred of
relevant information or the first idea of how to show the status of
anything.

You are working blind here, DO NOT DO ANYTHING until you fully
understand what is going on.

Start with your first concern which was these emails from smartd.
SHOW THEM TO US.


or, heck, get all the info at once:

# smartctl -a /dev/sde

**
If there is anything in that output that you have questions about,
please make sure to quote the full and unedited output back here to
the list, so we aren't left guessing what the subject of
discussion is.
**

Thanks,
Andy


/dev/sde1 has been formatted and mounted, what cmd line will copy every byte
including locked files in that that raid10 to it?


!?

For the love of God can someone, anyone, any intelligent entity
out there, explain to me how I could have been ANY MORE EXPLICIT
about the need for you to run a single command that I specified and
show us the output of it?

And did you do that?

No, apparently you have nuked a drive that we don't know the status
of.

Incredible.

Let's just assume for a second that we can just ignore everything
you have said previously and focus on your last question about
copying data, why would anyone even both responding given that as
demonstrated here you are prepared to ignore even the most basic
explicit advice and do something insane like nuke a whole drive?

Just what is the point?

Lost for words.

One last question before I embark on a replay of what I just did, and 
failed at. This time by using device labels.


Does making a raid erase the drives label field in a gpt partition scheme?

That question ought to have a simple yes or no answer.

Thanks.

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



Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-13 Thread Charles Curley
I have just installed Bookworm on my ancient Lenovo T520 (2011),
replacing Bullseye. I suspect the problem is somewhere in the video
driver chain. Any thoughts on how to proceed further with this?

Upon trying to run chromium, I get:

charles@jhegaala:~$ chromium &
[2] 33609
charles@jhegaala:~$ libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

charles@jhegaala:~$ ps
PID TTY  TIME CMD
  32502 pts/800:00:00 bash
  32506 pts/800:00:04 emacs
  33609 pts/800:00:00 chromium
  33630 pts/800:00:00 chromium
  33631 pts/800:00:00 chromium
  33633 pts/800:00:00 chromium
  33656 pts/800:00:00 chromium
  33657 pts/800:00:00 chromium
  33688 pts/800:00:00 ps
charles@jhegaala:~$ killall -9 chromium
charles@jhegaala:~$ 
[2]+  Killed  chromium
charles@jhegaala:~$ ps
PID TTY  TIME CMD
  32502 pts/800:00:00 bash
  32506 pts/800:00:04 emacs
  33695 pts/800:00:00 ps
charles@jhegaala:~$ vainfo
libva info: VA-API version 1.17.0
libva info: Trying to open
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init
function __vaDriverInit_1_17 libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed libva info:
va_openDriver() returns 1 libva info: Trying to open
/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init
function __vaDriverInit_1_8 libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge
Mobile - 2.4.1 vainfo: Supported profile and entrypoints
  VAProfileMPEG2Simple: VAEntrypointVLD
  VAProfileMPEG2Main  : VAEntrypointVLD
  VAProfileH264ConstrainedBaseline: VAEntrypointVLD
  VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
  VAProfileH264Main   : VAEntrypointVLD
  VAProfileH264Main   : VAEntrypointEncSlice
  VAProfileH264High   : VAEntrypointVLD
  VAProfileH264High   : VAEntrypointEncSlice
  VAProfileH264StereoHigh : VAEntrypointVLD
  VAProfileVC1Simple  : VAEntrypointVLD
  VAProfileVC1Main: VAEntrypointVLD
  VAProfileVC1Advanced: VAEntrypointVLD
  VAProfileNone   : VAEntrypointVideoProc
charles@jhegaala:~$ 

Display is:

root@jhegaala:~# lspci -vs 2.0
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09) (prog-if
00 [VGA controller]) Subsystem: Lenovo ThinkPad T520 Flags: bus master,
fast devsel, latency 0, IRQ 28, IOMMU group 0 Memory at f000
(64-bit, non-prefetchable) [size=4M] Memory at e000 (64-bit,
prefetchable) [size=256M] I/O ports at 6000 [size=64]
Expansion ROM at 000c [virtual] [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915

root@jhegaala:~# grep 'model name' /proc/cpuinfo 
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
root@jhegaala:~# 



-- 
Does anybody read signatures any more?

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



Re: smartctl cannot access my storage, need syntax help

2024-01-13 Thread gene heskett

On 1/13/24 10:49, Andy Smith wrote:

Hi Gene,

On Fri, Jan 12, 2024 at 11:57:23PM -0500, gene heskett wrote:

On 1/12/24 21:56, Andy Smith wrote:

No it doesn't; smartctl works on drives, not mdadm arrays. mdadm
arrays are composed of block devices. Therefore any output you get
from smartd refers to a storage drive, not an mdadm array.


This appears to be true, there are 4 1t drives as a raid10, and the various
messages in that mbox file name 3 of the individual drives.


Messages you do not show us, meanwhile the rest of your report is
littered with errors, so I'm afraid I can't take you at your word
until you show me.

I repeat, smartd only works with whole drives. Those emails will
show device paths for whole drives.


But those individual drives cannot now be found by smartctl.


You have not yet demonstrated use of a single correct smartctl
command even though I literally told you what to type.


individually it names /dev/sde1, /dev/sdg1, and
/dev/sdd1.


I don't believe that you have an email from smartctl saying any of
that. So please show us. Again, it would be plausible for
these emails to mention /dev/sde etc.


As usual you have not bothered to show us what you are talking about
(the email from smartd), so we are left to guess. We should not
assume that it even says what you think it says.


copy paste from another shell:
gene@coyote:~$ sudo smartctl -i -d /dev/sde1


Here is what I said, which is quoted above, but I'll repeat it here
for emphasis:


As usual you have not bothered to show us what you are talking
about (THE EMAIL FROM SMARTD)


You then proceed to show us something that is not the email from
smartd — that is the very topic of your email — but just repeat the
output of a command that I already advised you was erroneously
formed.


blkid does not sort them in order either. And of coarse does not list whats
unmounted, forcing me to ident the drive by gparted in order to get its
device name. From that I might be able to construct another raid from the 8T
of 4 2T drives but its confusing as hell when the first of those 2T drives
is assigned /dev/sde and the next 4 on the new controller are /dev/sdi, j,
k, & l.


WHAT ON EARTH are you talking about. You start off by complaining
about an email that you don't show us, by email two you are on about
tearing your RAID apart and making a new one, all without a shred of
relevant information or the first idea of how to show the status of
anything.

You are working blind here, DO NOT DO ANYTHING until you fully
understand what is going on.

Start with your first concern which was these emails from smartd.
SHOW THEM TO US.


or, heck, get all the info at once:

# smartctl -a /dev/sde

**
If there is anything in that output that you have questions about,
please make sure to quote the full and unedited output back here to
the list, so we aren't left guessing what the subject of
discussion is.
**

Thanks,
Andy


/dev/sde1 has been formatted and mounted, what cmd line will copy every byte
including locked files in that that raid10 to it?


!?

For the love of God can someone, anyone, any intelligent entity
out there, explain to me how I could have been ANY MORE EXPLICIT
about the need for you to run a single command that I specified and
show us the output of it?

And did you do that?

No, apparently you have nuked a drive that we don't know the status
of.

Incredible.

Let's just assume for a second that we can just ignore everything
you have said previously and focus on your last question about
copying data, why would anyone even both responding given that as
demonstrated here you are prepared to ignore even the most basic
explicit advice and do something insane like nuke a whole drive?

Just what is the point?

Lost for words.

So am I Andy. Since writing that, and my urge to get rid of a 30+ second 
delay on opening ANYTHING that wants write perms to this raid, I've done 
this this morning:
used gparted to format to ext4 a single gpt partition on that /dev/sde 
with a LABEL=homesde1 but forgot the 1 when editing /etc/fstab to 
remount it on a reboot to /mnt/homesde1, which resulted in a failed 
boot, look up the root pw and finally get in to fix /etc/fstab for the 
missing 1 in the labelname.


but first mounted a 2t gigastone ssd to /mnt/homesde1 which is where it 
showed up in an lsblk -f report.

Spent 2+ hours rsync'ing with:
sudo rsync -av /home/ /mnt/homesde1
which worked entirely within the same 6 port controller as this raid10 
is running on.


reboot failed, moved the data cable to the motherboard port 5 or 6 (or 
maybe 1 or 2, 6 ports, nfi which is 0 and which is 5) but its on the 
mobo ports now, should be easily found at boot time.


Finally look up root pw, get in to fix /etc/fstab and get booted.
Talk about portable devicenames, that drive is now /dev/sdk1 !!!  And 
empty of a LABELname but now h

Virtualization

2024-01-13 Thread Chip Snuth

Hello,

I'm currently using RHEL however, I am still virtualization to play with 
  Debian instead of houseing my RHEL installation . Would the Debian 
community view me as a trator ofr chill for closed source and 
proprietary software? personally prefer the held back  kernel and 
software in RHEL provides for instance  the kernel is listed below.



  4.18.0-513.11.1.el8_9.x86_64 #1 SMP


Thanks,

Chip


Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread tomas
On Sat, Jan 13, 2024 at 04:36:14PM +, Albretch Mueller wrote:
> On 1/13/24, Michael Kjörling <2695bd53d...@ewoof.net> wrote:
> > On 13 Jan 2024 13:44 +, from lbrt...@gmail.com (Albretch Mueller):
> >> E: Failed to fetch
> >> https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
> >> File has unexpected size (7009 != 20884). Mirror sync in progress?
> >> [IP: 184.31.10.246 443]
> >>Hashes of expected file:
> >> -
> >> SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
> >> - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
> >> - Filesize:20884 [weak]
> >
> > That URL doesn't look right. You wouldn't by any chance be behind a
> > captive portal or something like that which is asking for
> > reauthentication?
> 
>  Assuming I am indeed "behind a captive portal or something like that
> which is asking for reauthentication" why is it that it only reacts
> when I visit certain sites, like the profiled ones I need to access
> right after I boot up?

We can't know. But you can: just point your browser (or curl, or wget)
at that URL and see what it says. This is the bunch of HTML your package
manager is trying to digest as a package.

Lucky that it barfs early, I'd say.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Albretch Mueller
On 1/13/24, Michael Kjörling <2695bd53d...@ewoof.net> wrote:
> On 13 Jan 2024 13:44 +, from lbrt...@gmail.com (Albretch Mueller):
>> E: Failed to fetch
>> https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
>> File has unexpected size (7009 != 20884). Mirror sync in progress?
>> [IP: 184.31.10.246 443]
>>Hashes of expected file:
>> -
>> SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
>> - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
>> - Filesize:20884 [weak]
>
> That URL doesn't look right. You wouldn't by any chance be behind a
> captive portal or something like that which is asking for
> reauthentication?

 Assuming I am indeed "behind a captive portal or something like that
which is asking for reauthentication" why is it that it only reacts
when I visit certain sites, like the profiled ones I need to access
right after I boot up?

 lbrtchx



iscrizioni lista

2024-01-13 Thread CLEMENTE FRANCESCO

iscrizione lista grazie e buon anno 2024



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread debian-user
Charles Curley  wrote:
> On Sat, 13 Jan 2024 09:59:48 -0500
> Greg Wooledge  wrote:
> 
> > The real problem here is that we're all blind men trying to grasp
> > the elephant.  
> 
> A good summary of what we know so far. I suspect that the OP should
> question whether it's time to scrap the elephant entirely, and
> re-think the problem de novo. Remember that an elephant is a horse
> designed by a committee.

AIUI a camel is a horse designed by committee (possibly said by
Issigonis).

An elephant is supposedly a mouse designed by committee (particularly
an American committee IMHO :)



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread tomas
On Sat, Jan 13, 2024 at 08:55:22AM -0700, Charles Curley wrote:
> On Sat, 13 Jan 2024 09:59:48 -0500
> Greg Wooledge  wrote:
> 
> > The real problem here is that we're all blind men trying to grasp
> > the elephant.
> 
> A good summary of what we know so far. I suspect that the OP should
> question whether it's time to scrap the elephant entirely, and re-think
> the problem de novo. Remember that an elephant is a horse designed by a
> committee.

The elephant would disagree.

Ported back from the metaphor this means that there are two sides to
this story and we might learn something new by trying to take up the
OP's point of view.

My guess was that the functionality exists in the Unix-y world, but the
building blocks might be called differently.

See, back then, Unix-y was "the mainframe" and PCs often played the
terminals (reflected on the serial ports, back then when PCs had some:
they have a terminal's gender).

This was what led me to minicom (and friends): what did one use back
then to talk to a modem?

Sadly the OP hasn't had a look into that, so I won't know ;-)

(To be fair: so many proposals to choose from, the OP has to prune
things to come to an end).

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Charles Curley
On Sat, 13 Jan 2024 09:59:48 -0500
Greg Wooledge  wrote:

> The real problem here is that we're all blind men trying to grasp
> the elephant.

A good summary of what we know so far. I suspect that the OP should
question whether it's time to scrap the elephant entirely, and re-think
the problem de novo. Remember that an elephant is a horse designed by a
committee.

-- 
Does anybody read signatures any more?

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



Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Andy Smith
Hello,

On Sat, Jan 13, 2024 at 02:06:22PM +, Michael Kjörling wrote:
> On 13 Jan 2024 13:44 +, from lbrt...@gmail.com (Albretch Mueller):
> > E: Failed to fetch
> > https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
> > File has unexpected size (7009 != 20884). Mirror sync in progress?
> > [IP: 184.31.10.246 443]
> >Hashes of expected file:
> > - 
> > SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
> > - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
> > - Filesize:20884 [weak]
> 
> That URL doesn't look right. You wouldn't by any chance be behind a
> captive portal or something like that which is asking for
> reauthentication?

Also the file size of the erroneous file is the same for everything
fetched (7009) so yes I surmise the same as you: behind captive
portal that is redirecting every request to a bit of HTML of size
7009.

Thanks,
Andy

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



Re: smartctl cannot access my storage, need syntax help

2024-01-13 Thread Andy Smith
Hi Gene,

On Fri, Jan 12, 2024 at 11:57:23PM -0500, gene heskett wrote:
> On 1/12/24 21:56, Andy Smith wrote:
> > No it doesn't; smartctl works on drives, not mdadm arrays. mdadm
> > arrays are composed of block devices. Therefore any output you get
> > from smartd refers to a storage drive, not an mdadm array.
> > 
> This appears to be true, there are 4 1t drives as a raid10, and the various
> messages in that mbox file name 3 of the individual drives.

Messages you do not show us, meanwhile the rest of your report is
littered with errors, so I'm afraid I can't take you at your word
until you show me.

I repeat, smartd only works with whole drives. Those emails will
show device paths for whole drives.

> But those individual drives cannot now be found by smartctl.

You have not yet demonstrated use of a single correct smartctl
command even though I literally told you what to type.

> individually it names /dev/sde1, /dev/sdg1, and
> /dev/sdd1.

I don't believe that you have an email from smartctl saying any of
that. So please show us. Again, it would be plausible for
these emails to mention /dev/sde etc.

> > As usual you have not bothered to show us what you are talking about
> > (the email from smartd), so we are left to guess. We should not
> > assume that it even says what you think it says.
> 
> copy paste from another shell:
> gene@coyote:~$ sudo smartctl -i -d /dev/sde1

Here is what I said, which is quoted above, but I'll repeat it here
for emphasis:

> As usual you have not bothered to show us what you are talking
> about (THE EMAIL FROM SMARTD)

You then proceed to show us something that is not the email from
smartd — that is the very topic of your email — but just repeat the
output of a command that I already advised you was erroneously
formed.

> blkid does not sort them in order either. And of coarse does not list whats
> unmounted, forcing me to ident the drive by gparted in order to get its
> device name. From that I might be able to construct another raid from the 8T
> of 4 2T drives but its confusing as hell when the first of those 2T drives
> is assigned /dev/sde and the next 4 on the new controller are /dev/sdi, j,
> k, & l.

WHAT ON EARTH are you talking about. You start off by complaining
about an email that you don't show us, by email two you are on about
tearing your RAID apart and making a new one, all without a shred of
relevant information or the first idea of how to show the status of
anything.

You are working blind here, DO NOT DO ANYTHING until you fully
understand what is going on.

Start with your first concern which was these emails from smartd.
SHOW THEM TO US.

> > or, heck, get all the info at once:
> > 
> > # smartctl -a /dev/sde
> > 
> > **
> > If there is anything in that output that you have questions about,
> > please make sure to quote the full and unedited output back here to
> > the list, so we aren't left guessing what the subject of
> > discussion is.
> > **
> > 
> > Thanks,
> > Andy
> > 
> /dev/sde1 has been formatted and mounted, what cmd line will copy every byte
> including locked files in that that raid10 to it?

!?

For the love of God can someone, anyone, any intelligent entity
out there, explain to me how I could have been ANY MORE EXPLICIT
about the need for you to run a single command that I specified and
show us the output of it?

And did you do that?

No, apparently you have nuked a drive that we don't know the status
of.

Incredible.

Let's just assume for a second that we can just ignore everything
you have said previously and focus on your last question about
copying data, why would anyone even both responding given that as
demonstrated here you are prepared to ignore even the most basic
explicit advice and do something insane like nuke a whole drive?

Just what is the point?

Lost for words.

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



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Richard Hector

On 14/01/24 03:59, Greg Wooledge wrote:

I have dealt with terminals with passthrough printers before, but it
was three decades ago, and I've certainly never heard of a printer
communicating *back* to the host over this channel


I've also set up passthrough printers on terminals - which were hanging 
off muxes ... it's a serial connection, so bidirectional commumination 
should be fine, and more recent printers would make use of that.


And in fact, when we ran out of mux ports, we even hung an extra 
terminal off the passthrough port, so bidirectional worked :-)


These were physical serial terminals, of course - I don't remember 
having to get a terminal emulator to do this. It also wasn't on Linux - 
some were on SCO, and the others might have been on some kind of 
mainframe - a government department. We weren't involved in that side of it.


Richard



Re: Change suspend type from kde menu

2024-01-13 Thread Valerio Vanni

Il 13/01/2024 16:20, Max Nikulin ha scritto:


And this is one with a --lastchannel launch:
lrwx-- 1 valerio valerio 64 12 gen 20.52 34 -> 
/dev/dvb/adapter0/frontend0


lsof for the same process may be more informative, but currently it does 
not matter. Perhaps, opening devices in /dev/dvb, kaffeine does not set 
the O_CLOEXEC flag for open(2) (or does not call fcntl with FD_CLOEXEC). 
As a result, file descriptors leak to spawned processes. I suggest to 
reach a community more close to kaffeine (or maybe baloo) developers and 
ask if it could be improved.


In my system baloo is disabled.




Re: Change suspend type from kde menu

2024-01-13 Thread Max Nikulin

On 13/01/2024 04:39, Valerio Vanni wrote:

Il 12/01/2024 17:24, Max Nikulin ha scritto:

On 12/01/2024 21:36, Valerio Vanni wrote:


dbus-send --print-reply --dest=org.mpris.kaffeine /Player 
org.freedesktop.MediaPlayer.Stop


It seems implementation of MPRIS in kaffeine differs from what other KDE 
components expect. E.g. media control buttons does not appear on the 
lock screen.


What is baloo's tags.so doing with /dev/dvb devices accordingly to 
lsof report? I still had a hope that there is a workarond against its 
annoying behavior.


And this is one with a --lastchannel launch:
lrwx-- 1 valerio valerio 64 12 gen 20.52 34 -> 
/dev/dvb/adapter0/frontend0


lsof for the same process may be more informative, but currently it does 
not matter. Perhaps, opening devices in /dev/dvb, kaffeine does not set 
the O_CLOEXEC flag for open(2) (or does not call fcntl with FD_CLOEXEC). 
As a result, file descriptors leak to spawned processes. I suggest to 
reach a community more close to kaffeine (or maybe baloo) developers and 
ask if it could be improved.





Re: find question

2024-01-13 Thread Greg Wooledge
On Sun, Jan 14, 2024 at 12:25:03AM +1300, Richard Hector wrote:
> Except that from the man page, -delete implies -depth. Maybe that's a
> GNUism; I don't know.

Oh, maybe that's new?  I'm not sure.  Anyway, yeah, -delete is a GNUism.
POSIX find doesn't have it at all.

> That leaves the question: When using -delete (and -depth), does the deletion
> of files within a directory update the mtime of that directory, thereby
> rendering the directory inelegible for deletion when it would have been
> before? Or is the mtime of that directory recorded before the contents are
> processed?
> 
> I just did a quick test (using -mmin -1 instead), and it did delete the
> whole lot.

I don't know the answer to that.  Even in the worst case, though, you'd
just have an empty directory sitting around until some future run of
the cleanup script.  It would eventually be removed.

On the other hand, it might Just Work as you desire.

> So I'm still unclear why sometimes the top-level directory (or a directory
> within it) gets left behind. I've just noticed that one of the directories
> (not the one in $dir) contains a '@' symbol; I don't know if that affects
> it?

find should not care about the characters in the directory name.

> I'm tempted to avoid the problem by only using find for the top-level
> directory, and exec'ing "rm -r(f)" on it. I'm sure you'll tell me there are
> problems with that, too :-)

You never said that was an allowed solution. ;-)  The only drawback
to that solution would be if you didn't *want* to remove the entire
directory recursively.  If a directory has a timestamp that makes it
eligible for cleanup, but some file down inside it does not, do you
want to remove that file anyway?  If so, then sure, -exec rm -rf {} +
will get it done.



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Greg Wooledge
On Sat, Jan 13, 2024 at 08:36:57AM +0100, to...@tuxteam.de wrote:
> On Sat, Jan 13, 2024 at 01:20:46AM +, phoebus phoebus wrote:
> > While 'ser2net' may be a valuable tool for certain purposes, it doesn't 
> > align with our specific requirements. Nevertheless, I'm grateful for the 
> > insight and knowledge you've shared.
> 
> to me it's difficult to follow the discussion. Perhaps it is
> because traditionally, in UNIX, the TTY functionality and
> terminal emulators s are separated entities, whereas in the
> DOS/Windows world both functionalities are often conflated.
> 
> Have you had a look at minicom?

The real problem here is that we're all blind men trying to grasp
the elephant.

Every time someone offers a suggestion, the OP responds with "No, that
won't work, because..." and reveals another piece of the elephant.
Unfortunately, at no time has the OP ever defined the entire problem.

Here's what I've managed to piece together:

1) The OP currently has a working solution using proprietary software
   under Microsoft Windows, but would like an open source solution.

2) The problem involves at least four distinct pieces of equipment:

   * A server, accessed by telnet or by ssh (preferred).
   * A client PC, which accesses the server over the network.
   * A "printer" which is connected to the PC by serial(?) port.
   * Another device, not named, which is connected to the "printer"
 by some unnamed method.

3) Apparently, the client PC is supposed to initiate a connection to
   the server, to run some interactive application.

4) At some point, the application will initiate a communication session
   to the "printer" and to the "other device" THROUGH the "printer",
   all tunneled THROUGH the telnet or ssh session using "bidirectional
   passthrough printing".

5) This "bidirectional passthrough printing" (which I've never heard of)
   apparently allows the server application to perform data transfers
   between itself and the "other device", all while perhaps printing
   literal ink-on-paper on the "printer", all while still allowing
   the interactive application to run seamlessly on the client PC.

I have dealt with terminals with passthrough printers before, but it
was three decades ago, and I've certainly never heard of a printer
communicating *back* to the host over this channel, let alone a printer
having some other devices hanging off of it.  (This makes me think the
"printer" is not actually what we'd call a printer, but of course we
haven't been told any of the details.)



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Eduardo M KALINOWSKI

On 13/01/2024 11:00, phoebus phoebus wrote:

I will now discuss this information with our project team to determine the best 
way to incorporate it. This includes considering presenting the idea to our 
management and potentially engaging a qualified third party to design a 
prototype. The goal would be to further develop these features beyond the 
initial stage, so that the PuTTY project team can seamlessly integrate them 
(ideally in the form of a ready-to-use patch).


I'd just suggest checking with the PuTTY team before hand if they'd be 
interested in adding the functionality. Sure, a ready-to-apply patch 
increases the chances, but this seems like a very specific feature that 
very few people seem to need, so they might not want to add extra 
complexity to the software.


--
Everything bows to success, even grammar.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Michael Kjörling
On 13 Jan 2024 13:44 +, from lbrt...@gmail.com (Albretch Mueller):
> E: Failed to fetch
> https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
> File has unexpected size (7009 != 20884). Mirror sync in progress?
> [IP: 184.31.10.246 443]
>Hashes of expected file:
> - SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
> - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
> - Filesize:20884 [weak]

That URL doesn't look right. You wouldn't by any chance be behind a
captive portal or something like that which is asking for
reauthentication?

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



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread phoebus phoebus
Hello,

>> Looking at
>> https://www.chiark.greenend.org.uk/~sgtatham/putty/feedback.html#feedback-features
>> suggests that you should try to design whatever features you require
>> yourself in the first instance, and then submit it for consideration
>> by the maintainers. And be prepared to implement it if required before
>> submission to the project. I don't mean that you personally should do
>> this, but rather that you should hire someone suitably qualified to do
>> it. Specifically someone who is not part of the team, unless they
>> volunteer. It sounds like their problem is lack of available effort.

I genuinely appreciate these details and the clarification that I had 
overlooked.

I will now discuss this information with our project team to determine the best 
way to incorporate it. This includes considering presenting the idea to our 
management and potentially engaging a qualified third party to design a 
prototype. The goal would be to further develop these features beyond the 
initial stage, so that the PuTTY project team can seamlessly integrate them 
(ideally in the form of a ready-to-use patch).

>From my perspective, this approach offers distinct advantages over commercial 
>solutions in terms of licensing and maintenance costs.

Regards,
Thierry



File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Albretch Mueller
 I read off stackoverflow that I should just wait for a couple of
hours. I have waited more than 12.

$ which ffmpeg
$

$ sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libavdevice59 libcdio-cdda2 libcdio-paranoia2
Suggested packages:
  ffmpeg-doc
The following NEW packages will be installed:
  ffmpeg libavdevice59 libcdio-cdda2 libcdio-paranoia2
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,964 kB of archives.
After this operation, 2,841 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bookworm/main amd64 libcdio-cdda2
amd64 10.2+2.0.1-1 [20.9 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64
libcdio-paranoia2 amd64 10.2+2.0.1-1 [20.4 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libavdevice59
amd64 7:5.1.4-0+deb12u1 [111 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 ffmpeg amd64
7:5.1.4-0+deb12u1 [1,811 kB]
Err:1 http://deb.debian.org/debian bookworm/main amd64 libcdio-cdda2
amd64 10.2+2.0.1-1
  File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
  Hashes of expected file:
   - SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
   - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
   - Filesize:20884 [weak]
Err:2 http://deb.debian.org/debian bookworm/main amd64
libcdio-paranoia2 amd64 10.2+2.0.1-1
  File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
  Hashes of expected file:
   - SHA256:ef0610a344c1548c386868d7480bb4a7fc69b5bfb459e99df4c8f96c658c0088
   - MD5Sum:a568135bfb8fa5370fda17b8852edfdc [weak]
   - Filesize:20380 [weak]
Err:3 http://deb.debian.org/debian bookworm/main amd64 libavdevice59
amd64 7:5.1.4-0+deb12u1
  File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
  Hashes of expected file:
   - SHA256:479cdac9422e291a83eecaabb222369d4191710ddecbf7ac538dcfcc41df7a95
   - MD5Sum:a1042dd7161976d81355a8da1c728f4d [weak]
   - Filesize:60 [weak]
Err:4 http://deb.debian.org/debian bookworm/main amd64 ffmpeg amd64
7:5.1.4-0+deb12u1
  File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
  Hashes of expected file:
   - SHA256:078295a64b9f719f7beaea1aeec9d1d0376afee605ff078c542792916798123a
   - MD5Sum:ba928f239b23fc112343be32059fb47a [weak]
   - Filesize:1811108 [weak]
E: Failed to fetch
https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
   Hashes of expected file:
- SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
- MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
- Filesize:20884 [weak]
E: Failed to fetch
https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
   Hashes of expected file:
- SHA256:ef0610a344c1548c386868d7480bb4a7fc69b5bfb459e99df4c8f96c658c0088
- MD5Sum:a568135bfb8fa5370fda17b8852edfdc [weak]
- Filesize:20380 [weak]
E: Failed to fetch
https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
   Hashes of expected file:
- SHA256:479cdac9422e291a83eecaabb222369d4191710ddecbf7ac538dcfcc41df7a95
- MD5Sum:a1042dd7161976d81355a8da1c728f4d [weak]
- Filesize:60 [weak]
E: Failed to fetch
https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
File has unexpected size (7009 != 20884). Mirror sync in progress?
[IP: 184.31.10.246 443]
   Hashes of expected file:
- SHA256:078295a64b9f719f7beaea1aeec9d1d0376afee605ff078c542792916798123a
- MD5Sum:ba928f239b23fc112343be32059fb47a [weak]
- Filesize:1811108 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?

$ date; sudo apt-get update
Sat Jan 13 08:27:12 AM UTC 2024
Get:1 file:/run/live/medium bookworm InRelease
Ign:1 file:/run/live/medium bookworm InRelease
Get:2 file:/run/live/medium bookworm Release [4,535 B]
Get:2 file:/run/live/medium bookworm Release [4,535 B]
Get:3 file:/run/live/medium bookworm Release.gpg
Ign:3 file:/run/live/medium bookworm Release.gpg
Hit:4 http://deb.debian.org/debian bookworm InRelease
Reading package lists... Done

$ sudo apt-get install --fix-missing
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ date; sudo apt-get install ffmpeg
Sat Jan 13 08:33:59 AM UTC 2024
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libavdevice59 libcdio-cdda2 libcdio-par

Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread debian-user
phoebus phoebus  wrote:
> Hello,
> 
> >> > Currently, PuTTY is an option but its current version has
> >> > limitations that make it insufficient for our operational use.  
> >>
> >>
> >> Commission the PuTTY authors to add the missing features or pay
> >> someone else to do it if they aren't interested.
> >>
> >> https://www.chiark.greenend.org.uk/~sgtatham/putty/  
> 
> 
> I have already tried to contact the PuTTY development team using the
> email address pu...@projects.tartarus.org; however, I did not receive
> a response. Originally, my request in that email was to explore the
> possibility of commissioning the PuTTY authors or paying someone else
> to add these features in case the development team was not interested.
> 
> My goal in funding this project would be to have the code integrated
> into the main PuTTY branch and become an integral part of official
> releases, thus avoiding obsolescence. However, outside of the PuTTY
> team, I am not certain of the best way to proceed to achieve this
> goal. Therefore, I wonder if the address pu...@projects.tartarus.org
> is the correct one to contact the project, and if anyone could
> suggest a more appropriate contact address or any other suggestions
> to advance this improvement proposal.

Looking at
https://www.chiark.greenend.org.uk/~sgtatham/putty/feedback.html#feedback-features
suggests that you should try to design whatever features you require
yourself in the first instance, and then submit it for consideration
by the maintainers. And be prepared to implement it if required before
submission to the project. I don't mean that you personally should do
this, but rather that you should hire someone suitably qualified to do
it. Specifically someone who is not part of the team, unless they
volunteer. It sounds like their problem is lack of available effort.

> Regards,
> Thierry



Re: xfce screen detachment

2024-01-13 Thread tomas
On Sat, Jan 13, 2024 at 06:31:38PM +0700, Max Nikulin wrote:
> On 13/01/2024 14:16, to...@tuxteam.de wrote:
> > 
> > Some days I'm glad I stuck to the most primitive window manager
> > I could get.
> 
> XFree86 (X11 server) had a similar feature a quarter of century ago and it
> worked in any window managers. If an application had overloaded GUI that did
> not fit to supported monitor resolution (perhaps 800x600) then it was
> possible to set larger virtual screen. When mouse cursor touched border of
> physical screen, virtual one scrolled reveling its hidden part.

Good old times -- I remember :-)

Was useful when you had 640x400 pixels...

[these days the window manager does that for me, but we have an agreement
on when and how]

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: xfce screen detachment

2024-01-13 Thread Max Nikulin

On 13/01/2024 14:16, to...@tuxteam.de wrote:


Some days I'm glad I stuck to the most primitive window manager
I could get.


XFree86 (X11 server) had a similar feature a quarter of century ago and 
it worked in any window managers. If an application had overloaded GUI 
that did not fit to supported monitor resolution (perhaps 800x600) then 
it was possible to set larger virtual screen. When mouse cursor touched 
border of physical screen, virtual one scrolled reveling its hidden part.





Re: find question

2024-01-13 Thread Richard Hector

On 30/12/23 01:27, Greg Wooledge wrote:

On Fri, Dec 29, 2023 at 10:56:52PM +1300, Richard Hector wrote:

find $dir -mtime +7 -delete


"$dir" should be quoted.


Got it, thanks.


Will that fail to delete higher directories, because the deletion of files
updated the mtime?

Or does it get all the mtimes first, and use those?


It doesn't delete directories recursively.

unicorn:~$ mkdir -p /tmp/foo/bar
unicorn:~$ touch /tmp/foo/bar/file
unicorn:~$ find /tmp/foo -name bar -delete
find: cannot delete ‘/tmp/foo/bar’: Directory not empty


Understood.


But I suppose you're asking "What if it deletes both the file and the
directory, because they both qualify?"

In that case, you should use the -depth option, so that it deletes
the deepest items first.

unicorn:~$ find /tmp/foo -depth -delete
unicorn:~$ ls /tmp/foo
ls: cannot access '/tmp/foo': No such file or directory

Without -depth, it would try to delete the directory first, and that
would fail because the directory's not empty.

-depth must appear AFTER the pathnames, but BEFORE any other arguments
such as -mtime or -name.


Except that from the man page, -delete implies -depth. Maybe that's a 
GNUism; I don't know.



And how precise are those times? If I'm running a cron job that deletes
7-day-old directories then creates a new one less than a second later, will
that reliably get the stuff that's just turned 7 days old?


The POSIX documentation describes it pretty well:

-mtime n  The primary shall evaluate as true if the  file  modification
  time  subtracted  from  the  initialization  time, divided by
  86400 (with any remainder discarded), is n.

To qualify for -mtime +7, a file's age as calculated above must be at
least 8 days.  (+7 means more than 7.  It does not mean 7 or more.)


So 7 days and one second doesn't count as "more than 7 days"? It 
truncates the value to integer days before comparing?


Ah, yes, I see that now under -atime. Confusing. Thanks for pushing me 
to investigate :-)



It's not uncommon for the POSIX documentation of a command to be superior
to the GNU documentation of that same command, especially a GNU man page.
GNU info pages are often better, but GNU man pages tend to be lacking.


Understood, thanks. Though it might be less correct where GNUisms exist.

That leaves the question: When using -delete (and -depth), does the 
deletion of files within a directory update the mtime of that directory, 
thereby rendering the directory inelegible for deletion when it would 
have been before? Or is the mtime of that directory recorded before the 
contents are processed?


I just did a quick test (using -mmin -1 instead), and it did delete the 
whole lot.


So I'm still unclear why sometimes the top-level directory (or a 
directory within it) gets left behind. I've just noticed that one of the 
directories (not the one in $dir) contains a '@' symbol; I don't know if 
that affects it?


I'm tempted to avoid the problem by only using find for the top-level 
directory, and exec'ing "rm -r(f)" on it. I'm sure you'll tell me there 
are problems with that, too :-)


Apologies for the slow response - sometimes the depression kicks in and 
I don't get back to a problem for a while :-(


Cheers,
Richard



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread phoebus phoebus
Trish,

>> PuTTY is Simon Tatham's -
>> https://www.chiark.greenend.org.uk/~sgtatham/. You might have more
>> success there.


Thank you for the suggestion.
I have also utilized the information from the commit 
(https://git.tartarus.org/?p=simon/putty.git;a=commit;h=b846178443cf1a5dc7c5ea2079fd34fd465af497)
 mentioned on the indicated website and it corresponds to the email address 
found on Simon Tatham's website.

However, it's worth noting that the email associated with Mastodon for the 
domain in .io does not appear to exist.

I will rely on the email from the commit for now and I appreciate your 
assistance.

Regards,
Thierry



Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread Trish Fraser
Thierry,

> I have already tried to contact the PuTTY development team using the
> email address pu...@projects.tartarus.org; however, I did not receive
> a response. 

PuTTY is Simon Tatham's -
https://www.chiark.greenend.org.uk/~sgtatham/. You might have more
success there.

-- 
Trish Fraser, VVMZ4 91L2V -35.67910, 142.66607
Sat 13 Jan 2024 20:12:46 AEDT
GNU/Linux 1997-2023 #283226 counter.li.org
andromeda up up 1 week, 1 day, 10 hours, 48 minutes
Debian GNU/Linux 11 (bullseye)
kernel 5.10.0-27-amd64


pgpBbKxJj_1EE.pgp
Description: OpenPGP digital signature


Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

2024-01-13 Thread phoebus phoebus
Hello,

>> > Currently, PuTTY is an option but its current version has limitations
>> > that make it insufficient for our operational use.
>>
>>
>> Commission the PuTTY authors to add the missing features or pay someone
>> else to do it if they aren't interested.
>>
>> https://www.chiark.greenend.org.uk/~sgtatham/putty/


I have already tried to contact the PuTTY development team using the email 
address pu...@projects.tartarus.org; however, I did not receive a response. 
Originally, my request in that email was to explore the possibility of 
commissioning the PuTTY authors or paying someone else to add these features in 
case the development team was not interested.

My goal in funding this project would be to have the code integrated into the 
main PuTTY branch and become an integral part of official releases, thus 
avoiding obsolescence. However, outside of the PuTTY team, I am not certain of 
the best way to proceed to achieve this goal. Therefore, I wonder if the 
address pu...@projects.tartarus.org is the correct one to contact the project, 
and if anyone could suggest a more appropriate contact address or any other 
suggestions to advance this improvement proposal.

Regards,
Thierry




Re: Bookworm and ZFS (zfs-dkms 2.1.11) data corruption bug

2024-01-13 Thread Jeffrey Walton
On Fri, Jan 12, 2024 at 8:18 AM Jan Ingvoldstad  wrote:
>
> On Wed, Jan 10, 2024 at 10:48 PM Xiyue Deng  wrote:
>>
>> You can check the developer page of zfs-linux[1] on which the "action
>> needed" section has information about security issues (along with
>> version info as Gareth posted).  The one you mentioned was being tracked
>> in [2] and the corresponding Debian bug is [3].  My guess is that as
>> zfs-linux is not in "main" but "contrib", and the issue is marked
>> "no-dsa" (see [4]), there may be no urgency to provide a stable update.
>> But you may send a follow up in the tracking bug and ask for
>> clarification from the maintainers on whether an (old)stable-update is
>> desired.
>
> Thanks, so it *was* my searching skills that failed me:
>
> "The fix will land in bookworm-backports and bullseye-backports-sloppy
> shortly after 2.1.14-1 migrates to testing, which will take about 2
> days hopefully. Fixes to 2.0.3-9+deb11u1 (bullseye) and 2.1.11-1
> (bookworm) are planned but will likely take more time."
>
> I think the bug is mislabeled as "security" and "important", as this is 
> primarily a severe data corruption bug, but with *possible* security 
> implications.
>
> It is far more concerning that one cannot trust that cp actually copies a 
> file, and this is a blocker for installing the ZFS packages in Debian.

Using cp with sparse files has a long history of problems. Recently
this showed up: bug#61386: [PATCH] cp,mv,install: Disable sparse copy
on macOS, 
.
I seem to recall the problem was a little bigger than just macOS. It
affected other OSes, too. While it was propagated through coreutils, I
believe the underlying problem was Gnulib.

The ZFS issue looks to be similar, if I am parsing things correctly:
GH #11900: SEEK_DATA fails randomly,
.

Jeff