Re: youtube-dl blocked?

2024-04-24 Thread Charles Curley
On Wed, 24 Apr 2024 06:57:17 +0200
Marco Moock  wrote:

> Am 23.04.2024 um 20:40:25 Uhr schrieb Charles Curley:
> 
> > It does not appear to be blocked from here (North America).  
> 
> By DNS?

It does not appear to be blocked by DNS.

charles@jhegaala:~$ host ytdl-org.github.io
ytdl-org.github.io has address 185.199.110.153
ytdl-org.github.io has address 185.199.111.153
ytdl-org.github.io has address 185.199.108.153
ytdl-org.github.io has address 185.199.109.153
ytdl-org.github.io has IPv6 address 2606:50c0:8002::153
ytdl-org.github.io has IPv6 address 2606:50c0:8001::153
ytdl-org.github.io has IPv6 address 2606:50c0:8000::153
ytdl-org.github.io has IPv6 address 2606:50c0:8003::153
charles@jhegaala:~$ dig ytdl-org.github.io

; <<>> DiG 9.18.24-1-Debian <<>> ytdl-org.github.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2298
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 7d7680b13414d622010066290ed6b9195aa4330329ee (good)
;; QUESTION SECTION:
;ytdl-org.github.io.IN  A

;; ANSWER SECTION:
ytdl-org.github.io. 3414IN  A   185.199.108.153
ytdl-org.github.io. 3414IN  A   185.199.111.153
ytdl-org.github.io. 3414IN  A   185.199.110.153
ytdl-org.github.io. 3414IN  A   185.199.109.153

;; Query time: 8 msec
;; SERVER: 192.168.100.12#53(192.168.100.12) (UDP)
;; WHEN: Wed Apr 24 07:53:26 MDT 2024
;; MSG SIZE  rcvd: 139

charles@jhegaala:~$



-- 
Does anybody read signatures any more?

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



Re: youtube-dl blocked?

2024-04-23 Thread Charles Curley
On Tue, 23 Apr 2024 23:15:17 -0300
Markos  wrote:

> The site https://ytdl-org.github.io/youtube-dl/download.html
> 
> is blocked?

It does not appear to be blocked from here (North America).

> 
> Is there any other alternative to download videos from Youtube in
> Linux command line?

root@jhegaala:~# apt-cache search youtube-dl
haruna - Video player built with Qt/QML on top of libmpv
youtube-dl - download videos from YouTube and other sites (transitional package)
youtubedl-gui - GUI on yt-dlp (ie, youtube-dl) to download videos from a 
variety of sites
yt-dlp - downloader of videos from YouTube and other sites
ytfzf - script to find and watch youtube videos from the terminal
root@jhegaala:~#

-- 
Does anybody read signatures any more?

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



Re: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-17 Thread Charles Curley
On Wed, 17 Apr 2024 11:41:24 -0700
David Christensen  wrote:

> My WAG is that nm-applet is failing to start, but I have been unable
> to find if and where any error message is reported.

My instance of nm-applet does run, and I see this as part of the boot
process:

root@hawk:~# journalctl -b | grep nm-app
Apr 15 11:27:42 hawk NetworkManager[1354]:   [1713202062.7737] 
agent-manager: agent[108f011a1115d508,:1.131/org.freedesktop.nm-applet/1000]: 
agent registered
root@hawk:~# 

I suspect that if nm-applet doesn't start, you won't see any output
from that command.

-- 
Does anybody read signatures any more?

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



Re: Help to report a bug related to a usb3 lan adapter driver

2024-04-15 Thread Charles Curley
On Mon, 15 Apr 2024 20:57:00 +0200
user7415 same  wrote:

> I had a discussion in stack exchange related to the problem that is
> well explained here:
> https://unix.stackexchange.com/questions/774594/debian-12-all-of-sudden-my-usb3-lan-adapter-get-assigned-random-mac-address-ea
> 
> For what I understood the problem was fixed in 6.8, but I'm using
> debian 12 that will never use that so much new kernel I guess, could
> you help me to report officially the bug so that the upstream channel
> will correct it by the 6.1.0-22 version ?

Bookwom backports has linux-image-6.6.13+bpo-amd64. You might try that.
https://backports.debian.org/

It just so happens I have one of the same beasties. I just plugged it
in to a machine running kernel 6.6.13+bpo-amd64, unplugged it, waited
20 seconds, and plugged it in to another machine running kernel
6.5.0-0.deb12.4-amd64. I then plugged it into a machine with
6.6.13+bpo-amd64. All three times I got a MAC address of
8c:ae:4c:d6:22:17. So either of those kernels might well work for you.

-- 
Does anybody read signatures any more?

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



Re: tbird troubles

2024-04-15 Thread Charles Curley
On Mon, 15 Apr 2024 08:28:24 -0400
gene heskett  wrote:

> I am supposedly running xfc4 as a desktop, but htop says I have a
> heck of a lot of kde5 running. How do I get rid of the kde stuff? 
> Dependencies seem to be protecting it from being removed.

You probably are running one or more programs that use KDE rather than
gnome libraries. They cohabit nicely. I use XFCE and routinely run
several KDE programs. Don't worry about it unless you are constrained
by memory or other resources.

-- 
Does anybody read signatures any more?

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



Re: What use can i give to linux?

2024-04-05 Thread Charles Curley
On Fri, 5 Apr 2024 13:38:50 -0700
"James H. H. Lampert"  wrote:

> Which is why I still have DOS boxes  (running IBM PC-DOS 2000, 
> with DOSShell, and no WinDoze whatsoever….

You might look into freedos.

-- 
Does anybody read signatures any more?

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



Re: Debian 12.5: pigz 2.6-1 fails with error message (Upstream issue 111)

2024-04-02 Thread Charles Curley
On Tue, 2 Apr 2024 10:27:33 +0200
Jonathan Chung  wrote:

> I'm new with Debian bug reporting and thus need some help with that.
> pigz 2.6-1 on Debian 12.5 fails to execute due to a fixed bug on
> upstream https://github.com/madler/pigz/issues/111

Are you sure this is a bug and not a problem with your system? I am
also using pigz 2.6-1 on Debian 12.5, and I don't see it.

charles@hawk:~$ pigz --version
pigz 2.6
charles@hawk:~$ pre zlib pigz
pigz2.6-1   amd64
zlib1g  1:1.2.13.dfsg-1 amd64
zlib1g-dev  1:1.2.13.dfsg-1 amd64
charles@hawk:~$

What version of zlib are you running?

-- 
Does anybody read signatures any more?

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



Re: Bookworm: Where are the ImageMagick binaries other than `convert`?

2024-04-01 Thread Charles Curley
On Tue, 2 Apr 2024 12:07:47 +1030
Christian Gelinek  wrote:

> I have ImageMagick installed, but only the `convert` binary is in my
> path.
> 
> Other binaries like `magick` are not. Where can I find them, why
> aren't they installed?

man imagemagick

-- 
Does anybody read signatures any more?

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



Re: making Debian secure by default

2024-04-01 Thread Charles Curley
On Mon, 1 Apr 2024 19:00:29 +
Andy Smith  wrote:

> In my view a great example of the "people other than me just need to
> get good" fallacy merged with the group of people predisposed to
> hate systemd.
> 
> It could have been any direct or indirect dependency of sshd here.
> I'm quite sure almost none of them have the required resources and
> processes to detect something like this.

Easy, now. No-one is attacking systemd, and I don't think anyone wanted
to start a systemd war. This could also have happened under System V
initialization.

I have no doubt that this sort of thing has happened in the past, and I
fully expect it will happen again in the future. However, the defect
has been caught and repaired. The system for dealing with
vulnerabilities is working, if not perfectly. The question now is: what
lessons can we learn from it.

-- 
Does anybody read signatures any more?

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



Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick

2024-03-30 Thread Charles Curley
On Sat, 30 Mar 2024 17:17:52 +0200
Antti-Pekka Känsälä  wrote:

> What could be the deal, when Firefox tries to stop me from unmounting
> a stick, after I've accessed files on it through Firefox?  I worry
> about my stick security.  Thanks.

It sounds like Firefox has a file open on the stick. To check this, run
something like

lsof | grep -i offsite

where offsite is in the path to the stick.

-- 
Does anybody read signatures any more?

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



Re: Bluetooth sound problems Debian 12 GNOME

2024-03-18 Thread Charles Curley
On Mon, 18 Mar 2024 13:32:18 +0300
Jan Krapivin  wrote:

> Small problem is that LTS Kernel 6.1 doesn’t support this device, so
> I have used Liquorix kernel, which I have installed earlier. Though,
> I don’t need this kernel, as it haven’t helped me with sound
> interrupts, which was my hope at first.

I'm glad you reached a solution. You might also check the backports
kernel, which is currently linux-image-6.6.13+bpo-amd64
6.6.13-1~bpo12+1.

-- 
Does anybody read signatures any more?

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



Re: Bookworm Networking Issues

2024-03-17 Thread Charles Curley
On Sun, 17 Mar 2024 16:54:27 +
David  wrote:

> I am running Bookworm on a thin client and Network-Manger seems to be
> the source of my problems.
> 
> I have purged Network-Manager from this thin client, but I can't find
> out how to get /etc/network/interface to run. I have added to 2 NIC's
> that I need.
> 
> Can anybody suggest how to get the networking running?
> 
> Thank you,
> 
> David.
> 

"man interfaces" might help.

The name of the file is "/etc/network/interfaces". Note the s on the
end. Do you have other typos, say, in the file?

Also, you could show us verbatim the contents of your
/etc/network/interfaces.

You might also look at systemd-networkd.

-- 
Does anybody read signatures any more?

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



Re: OT: End the Phone-Based Childhood Now

2024-03-16 Thread Charles Curley
On Sat, 16 Mar 2024 12:30:46 -0700
Steve Sobol  wrote:

> I already get a ton of legitimate mail from the debian-user mailing 
> list. Don't need the off-topic crap.

Concur.

> 
> Admins, could you please get rid of the people who are contributing
> to the noise?

Or at least make them aware of their rudeness.

Thank you.

-- 
Does anybody read signatures any more?

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



Re: Bookworm, fail2ban and sshd

2024-03-15 Thread Charles Curley
On Fri, 15 Mar 2024 14:59:49 - (UTC)
Curt  wrote:

> I guess it's this old bug:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770171

Yup, thank you. I added the following stanza to
/etc/fail2ban/jail.d/curley.conf:

[sshd]
backend = systemd

(The "enabled" pair is already given in defaults-debian.conf.)

And running "fail2ban-client -d | grep -i ssh" confirms both that the
server is running, and that the ssh jail is enabled.

Which lead to another problem: I got a warning:

519846]: WARNING 'allowipv6' not defined in 'Definition'. Using default
one: 'auto'

Which would have been fine, except a) I don't like warnings, and 2) I
do not use or want ipv6. So I changed that to a no in fail2ban.local.
And I had to move that stanza to under the [Definition] heading to
quiet the warning.

-- 
Does anybody read signatures any more?

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



Re: Bookworm, fail2ban and sshd

2024-03-14 Thread Charles Curley
On Thu, 14 Mar 2024 22:27:36 +
Andy Smith  wrote:

> I think you want to set "backend = journald" in
> /etc/fail2ban/jail.conf or its usual local override, but I have not
> tested this as I still use rsyslogd.

Thanks, but no cigar. I also tried setting backend to systemd (as noted
in man jail.conf). Also no go.

The man page also suggest specifying the path to the journal. I tried

[DEFAULT]
backend =
systemd[journalpath=/var/log/journal/2284a3a8f11544c5a5c355d3ff3e744d/]

That worked if I disabled sshd, but sshd still doesn't like it.

-- 
Does anybody read signatures any more?

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



Re: logcheck(1) in bookworm 12.5 /etc/logcheck/logcheck.logfiles.d/syslog.logfiles

2024-03-14 Thread Charles Curley
On Thu, 14 Mar 2024 11:25:52 -0700
cono...@panix.com (John Conover) wrote:

> Email from logcheck(1) contains:
> 
> E: File could not be read: /var/log/syslog
> E: File could not be read: /var/log/auth.log
> 
> which do not exist in bookworm 12.5.
> 
> The offending file:
> 
> /etc/logcheck/logcheck.logfiles.d/syslog.logfiles
> 
> contains both filenames.

Interesting. My logcheck instance works just fine, andmakes no such
complaints. However, my
/etc/logcheck/logcheck.logfiles.d/syslog.logfiles has them commented
out.

root@issola:~# cat /etc/logcheck/logcheck.logfiles.d/syslog.logfiles
## Log entries in the logs listed below will be checked by logcheck

# The default is to check standard syslog files
# created by rsyslog or other syslog daemons

# (If your system does not use a syslog daemon you
# can comment these lines out)
# /var/log/syslog
# /var/log/auth.log
root@issola:~# 

So you might do the same.

-- 
Does anybody read signatures any more?

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



Bookworm, fail2ban and sshd

2024-03-14 Thread Charles Curley
I'm trying to set fail2ban up on bookworm. It refuses to run with the
default configuration (sshd only), reporting:

Failed during configuration: Have not found any log file for sshd jail

Near as I can figure, fail2ban expects sshd's log file to be
/var/log/auth.log. Which does not exist on my target machine.

On a brief inspection, machines that have new installations of bookworm
do not have /var/log/auth.log. Machines running bullseye or upgraded
from bullseye to bookworm have it.

Commenting out sshd's "enabled" line (in
/etc/fail2ban/jail.d/defaults-debian.conf) allows the daemon to start,
but it isn't doing anything useful.

-- 
Does anybody read signatures any more?

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



Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-08 Thread Charles Curley
On Thu, 7 Mar 2024 23:15:13 -0500
Jeffrey Walton  wrote:

> I need to generate some shipping labels for drop-off at the USPS post
> office using USPS Ground Advantage.
> 
> I have a USB thermal printer for the shipping labels,
> .
> 
> I see Debian carries libbusiness-us-usps-webtools-perl. I visited the
> module's GitHub at
> , but the
> examples are on the lite side. I don't see a workflow similar to
> creating and printing a shipping label.
> 
> My question is, can I use the module to create and print a shipping
> label for a USPS Ground Advantage package?

charles@jhegaala:~$ apt-cache show libbusiness-us-usps-webtools-perl
Package: libbusiness-us-usps-webtools-perl
Version: 1.125-2
Installed-Size: 74
Maintainer: Debian Perl Group 
Architecture: all
Depends: perl:any, libhash-asobject-perl, liburi-perl, libwww-perl
Description-en: Perl module enabling use of USPS Web Tools services
 Business::US::USPS::WebTools provides a Perl interface to the US
 Postal Service's Web Tools service. You need a UserID and Password
 to use these services. See the Web Tools site at
 http://www.usps.com/webtools/ for details.
Description-md5: 9c76d38752bb4c43151a4c8fe5224e7e
Homepage: https://github.com/ssimms/business-us-usps-webtools
Tag: devel::lang:perl, devel::library, implemented-in::perl
Section: perl
Priority: optional
Filename: 
pool/main/libb/libbusiness-us-usps-webtools-perl/libbusiness-us-usps-webtools-perl_1.125-2_all.deb
Size: 26856
MD5sum: 2323b592f161074380195b80880115e3
SHA256: 8341a6417ce7017af88cba6185042911c88d9024a2b886428ba0803946085c73

charles@jhegaala:~$ 

So I would start at the web site for the Web Tools.
http://www.usps.com/webtools/

On a brief scan of that site, I think the answer is yes, but you have
some software development ahead of you.
-- 
Does anybody read signatures any more?

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



Re: messages on my phone

2024-03-06 Thread Charles Curley
On Wed, 06 Mar 2024 18:39:17 +
ghe2001  wrote:

> Worst of all, I haven't been able to find out how to delete them :-)

To delete them, press and hold the message. A menu will pop up. Hit
More…. Hit the trash can in the lower left.

If you have a mac, you may be able to delete from it.

-- 
Does anybody read signatures any more?

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



Re: Reportbug Assisance

2024-03-05 Thread Charles Curley
On Tue, 5 Mar 2024 20:40:31 -0500
Tom  wrote:

> Just reminding whomever checks this mailbox, that I am still awaiting
> an answer to this question here.

Well, I'm no expert on KDE. But if you haven't gotten any other
response, as Marco Moock  suggested, I'd file it under
kinfocenter. Whoever is responsible for that can always reassign it if
that's appropriate.

Let us know the bug number when you do so those who wish to can track
it.

-- 
Does anybody read signatures any more?

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



Re: strange time problem with bullseye

2024-03-05 Thread Charles Curley
On Wed, 6 Mar 2024 02:47:06 +0800
hlyg  wrote:

> wifi connection is good, i suppose both correct time with server 
> automatically

Not necessarily. You should install an NTP client if you haven't
already. I suggest systemd-timesyncd.

-- 
Does anybody read signatures any more?

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



Re: Serious problem with debian 12 bookworm

2024-02-29 Thread Charles Curley
On Thu, 29 Feb 2024 19:58:13 + (UTC)
Anastasia Broch  wrote:

> Hi I'm using debian 12 in Lenovo yoga legion core i5 12th gen with
> RTX 3050 and I'm figuring a serious issue using debian 12 on this PC,
> …
> 
> Sent from Yahoo Mail for iPhone

Apparently some people haven't noticed that this is a near duplicate of
this recent email on the list:

From: Mansour Nasri 
To: debian-user@lists.debian.org
Subject: Problem of suspend activities ( debian 12 )
Date: Thu, 29 Feb 2024 09:38:05 +0100

The main difference, as far as I can see, it the sender's email
address. Troll? Who knows? Who cares? I suggest you ignore this thread.


-- 
Does anybody read signatures any more?

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



Re: Problem of suspend activities ( debian 12 )

2024-02-29 Thread Charles Curley
On Thu, 29 Feb 2024 09:38:05 +0100
Mansour Nasri  wrote:

> Hi I'm using debian 12 in Lenovo yoga legion core i5 12th gen with
> RTX 3050 and I'm figuring a serious issue using debian 12 on this PC,
> When the PC is on sleep mode ( suspend ) it's doesn't wake up anymore
> until forcing shutting down and this each time the PC turns on
> suspend mode, ( fastboot are disabled )of course, on my old PC dell
> i7 10th I never had this kind of issue, but this it it's the case,
> please help to resolve this problem I really don't want to back to
> windows anymore. Thank you so much

You might look at installing the backports kernel.

-- 
Does anybody read signatures any more?

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



Re: where are the crontab files in Trixie?

2024-02-27 Thread Charles Curley
On Tue, 27 Feb 2024 14:13:49 -0500
Jeffrey Walton  wrote:

> > The debian wiki suggests that the handling of cron/anacron is
> > evolving.  
> 
> That sounds like a euphemism for "being killed off" by Systemd and
> its timers.

These days cron and anacron are run as services/timers by systemd.

root@hawk:~# systemctl list-units '*cron*'
  UNITLOAD   ACTIVE SUB DESCRIPTION 

  cron.serviceloaded active running Regular background program 
processing daemon
  anacron.timer   loaded active waiting Trigger anacron every hour
  nextcloudcron.timer loaded active waiting Run Nextcloud cron.php every 5 
minutes

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB= The low-level unit activation state, values depend on unit type.
3 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
root@hawk:~# 


-- 
Does anybody read signatures any more?

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



Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-02-23 Thread Charles Curley
On Fri, 23 Feb 2024 21:10:31 +0100
Ralph Aichinger  wrote:

> I just think this mailing 
> list probably is not the right place to argue this question. 

Hear, hear!

Those who wish to weigh in have done so. I doubt any further
argumentation will change anyone else's mind. Now kindly stop wasting
your time, my time, bandwidth, and hard drive space on this.

And grow some tolerance for other people's foibles, and perhaps others
will grow some tolerance for your foibles.

Thank you.

-- 
Does anybody read signatures any more?

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



Re: Issue with USB External Keyboard, External Mouse, and Screen Brightness on Dell Laptop

2024-02-22 Thread Charles Curley
On Thu, 22 Feb 2024 13:49:54 -0300
Marcelo Laia  wrote:

> Thank you all for the invaluable assistance provided. Unfortunately,
> the issue has resurfaced today. I don't believe it's related to the
> age of the hardware, although my Inspiron 5547-A20 is from 2014, as
> indicated below:

A stab in the dark:

I take it that you ran the upower --dump command while the battery was
discharging. 10,916 V looks a bit odd to me. What does a dump show when
the battery is fully charged? I wonder if that voltage is too low to
support the laptop.

My two ancient Lenovos (2011 and 2012) are both showing much better
values than that.

The difference between the energy-full and energy-full-design values,
and the capacity both lead me to wonder if it isn't time to buy a new
battery (or maybe a new or refurbished laptop).

-- 
Does anybody read signatures any more?

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



Re: Missing http_async_client.so in the `kamailio-extra-modules`

2024-02-22 Thread Charles Curley
On Thu, 22 Feb 2024 21:13:46 +0500
Евгений Гостьков  wrote:

> Can you add http_async_client.so to deb package
> `kamailio-extra-modules` or maybe make distinct deb package like a
> `kamailio-http-async-client` ?

Have you checked with kamailio support resources (mail lists, web
sites, etc.)? If that doesn't produce results, I suggest you file a bug
against kamailio-extra-modules.

-- 
Does anybody read signatures any more?

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



Re: GRUB lost graphical terminal mode

2024-02-20 Thread Charles Curley
On Tue, 20 Feb 2024 08:04:47 +
Michael Kjörling <2695bd53d...@ewoof.net> wrote:

> On 19 Feb 2024 22:44 +0100, from borde...@tutanota.com (Borden):
> >> Would you be willing to post your /boot/grub/grub.cfg for a setup
> >> where you get the blank screen GRUB?  
> > 
> > Yeah, I probably should have opened with that. Sorry:
> > 
> > ```
> > # If you change this file, run 'update-grub' afterwards to update
> > # /boot/grub/grub.cfg.
> > # For full documentation of the options in this file, see:
> > #   info -f grub -n 'Simple configuration'
> > 
> > GRUB_DEFAULT=0  
> [snipped remainder]
> 
> If that's your /boot/grub/grub.cfg, it's a miracle that your GRUB
> installation is working at all and not dumping you to a grub> rescue
> prompt.
> 

That clearly isn't the OP's /boot/grub/grub.cfg, but
/etc/default/grub.

As the former is often rather lengthy, and the list does reject large
attachments, perhaps Borden  will put it up at
https://paste.debian.net or some other pastebin facility and provide
the URL.

-- 
Does anybody read signatures any more?

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



Re: Hard links - How do they work: TANSTAAFL

2024-02-18 Thread Charles Curley
On Sun, 18 Feb 2024 16:15:01 -0800
Kushal Kumaran  wrote:

> Have you read their FAQ page about hard links?
> https://github.com/bit-team/backintime/blob/dev/FAQ.md#how-do-snapshots-with-hard-links-work

An excellent writeup. The only thing I would add is that creating a
hard link does require an entry in a directory somewhere. If that
requires adding a block to the directory entry, that will happen. So
hard links are not entirely free. TANSTAAFL: There Ain't No Such Thing
As A Free Link.

But I doubt that this explains all of Keith Bainbridge
's problem.

-- 
Does anybody read signatures any more?

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



Re: Package Identification Assistance

2024-02-15 Thread Charles Curley
On Thu, 15 Feb 2024 20:33:16 -0500
Neal Heinecke  wrote:

> I need to identify the package responsible for creating the software
> sources window. There is a minor bug/typo where the first tab reads
> "Ubuntu Software"

I have no idea what a "software sources window" is. Do you know the
name of the program? Often the name of the program is also the name of
the package.

Apt-file is a useful tool here.

-- 
Does anybody read signatures any more?

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



Re: simple virt-manager setup

2024-02-15 Thread Charles Curley
On Thu, 15 Feb 2024 10:31:30 +0100
Felix Natter  wrote:

> Looks like I write my own script, since I don't need snapshots or
> incremental backups or even multiple disks :)

Take a look at rsnapshot.

-- 
Does anybody read signatures any more?

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



Re: Unidentified flying subject!

2024-02-08 Thread Charles Curley
On Fri, 09 Feb 2024 04:30:14 +
Richmond  wrote:

> So you need to store a lot of data and then verify that it has written
> with 'diff'.

Yeah.

I've been thinking about this. Yeah, I know: dangerous.

What I would do is write a function to write 4096 bytes of repeating
data, the data being the block number being written to. So the first
block is all zeros, the second all ones, etc.. For convenience they
would be 64 bit unsigned ints.

And, given the block number, a function to verify that block number N
is full of Ns and nothing else.

By doing it this way, we don't have to keep copies of what we've
written. We only have to keep track of which block got written to which
LBA so we can go back and check it later.

Now, divide the drive in half. Write block zero there. Divide the two
halves each in half, and write blocks one and two. Divide again, and
write blocks three through five. Etc., a nice binary division.

Every once in a while, I would go back and verify the blocks already
written. Maybe every time I subdivide again.

If we're really lucky, and the perpetrators really stupid, the 0th block
will fail, and we have instant proof that the drive is a failure.
We don't care why the drive is failing, only that the 0th block (which
is clearly not at the end of the drive) has failed.

Here's a conjecture: This was designed to get people who use FAT and
NTFS. I know that FAT starts writing at the beginning of the partition,
and goes from there. This is because floppy disks (remember them?) have
track 0 at the outside, which is far more reliable than the tracks at
the hub simply because each each flux reversal is longer. So the first
64G should be fine; only after you get past there do you see bad
sectors. I believe NTFS does similarly.

But I don't think that's what they're doing. Other operating systems
have put the root directory and file allocation table (or equivalent)
in the middle of the disk (for faster access), Apple DOS for one.
mkfs.extX write blocks all over the place.

I think that they are re-allocating sectors on the fly, regardless of
the LBA, until they run out of real sectors. So we write 64G+ of my
4096 byte blocks. It'll take a while, but who cares?

If Gibson is correct that these things only have 64 gig of real memory,
and my arithmetic is correct, we should start seeing failures after
writing 16777216 of my 4096 blocks. 

Of course, these things might allocate larger sectors than 4096 bytes.
In which case we'll hit the limit sooner.

-- 
Does anybody read signatures any more?

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



Re: Unidentified subject!

2024-02-08 Thread Charles Curley
On Thu, 08 Feb 2024 18:02:36 -0500
Stefan Monnier  wrote:

> > Test it with Validrive.
> > https://www.grc.com/validrive.htm  
> 
> Looks like proprietary software for Windows.

badblocks, available in a Debian repo near you, might be a suitable
replacement.

-- 
Does anybody read signatures any more?

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



Re: D12 Installer does not recognize rtl8xxxu wifi

2024-02-08 Thread Charles Curley
On Thu, 08 Feb 2024 19:24:35 +0100
Felix Natter  wrote:

> If I start a shell from the installer, I can see that the necessary
> module rtl8xxxu is loaded (the same one that is loaded in live
> option). So I guess it is a firmware issue. How can I get an
> installer with non-free firmware (if that is the problem)?
> I just found one page that says the (non-free?) FW is always included
> in the images (starting from bookworm). Is that true?
> Any other idea?

My understanding is that the non-free firmware is now included on
Debian installation media.

I've been using "Debian GNU/Linux 12.2.0 "Bookworm" - Official amd64
NETINST with firmware 20231007-10:28" and had no problems with non-free
firmware on my several computers.

So to diagnose this further, exactly what hardware? Please run lspci,
and run lspci -v for the offending device.

Also, you can run the netinst installer at least through the relevant
installation phase. Then please capture the logs, probably under
/var/log. Searching syslog on the word "firmware" should turn up some
interesting messages.

-- 
Does anybody read signatures any more?

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



Re: Home UPS recommendations (Was Re: rsync --delete vs rsync --delete-after)

2024-02-08 Thread Charles Curley
On Thu, 8 Feb 2024 15:29:21 +
Andy Smith  wrote:

> I do not overly want to buy a Windows licence, run it
> in a VM and pass USB through to that VM just to try this.

You could try wine. You might need the more recent crossover-office,
which is proprietary (but contributes greatly to wine).

-- 
Does anybody read signatures any more?

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



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 15:52:41 -0700
Charles Curley  wrote:

> But I don't think that will solve the routing problem.

Well, I was wrong. That did solve the routing problems.

I moved the apt-proxy line for the VMs' benefit into a VM's /etc/hosts
and took it out of hawk's /etc/hosts. samba is now an alias in the
virtual zone, so I don't need that line at all.

Thanks, Greg, for spotting that. Sometimes I'm dense. It took me a
while to realize what you were getting at.

-- 
Does anybody read signatures any more?

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



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 16:52:48 -0500
Greg Wooledge  wrote:

> Well, we don't know what's "right" or "wrong" on your networks.  These
> are private (non-routable) addresses with no meaning to anyone but you
> and your fellow network denizens.

Agree.

> 
> If you need different name resolution depending on whether you're
> running on the host vs. running on the guest, then I would imagine
> there is some well-known way to define that.  Perhaps a different
> hosts file that's only used by guests?  I don't know virtualization
> stuff well.

Yup. I took a quick and dirty route to solve a problem, and it leaked
over into another area. Sigh. The solution I took depends on the fact
that the libvirtual stuff uses dnsmasq for DNS and DHCP. And dnsmasq
reads the host machine's hosts file. Nice. But, as you pointed out, so
does the host machine's DNS lookup stuff. Sigh.

Possibly the solution to this problem is to see if I can take it out of
hosts, add it to dnsmasq directly, and finagle dnsmasq to only be
visible to the virtual machines.

But I don't think that will solve the routing problem.

-- 
Does anybody read signatures any more?

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



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 22:10:19 +0100
Marco Moock  wrote:

> Sorry for the first post.
> Your problem is located in the name resolution.
> 
> Show /etc/nsswitch.conf

I have not touched this.

root@hawk:~# cat /etc/nsswitch.conf 
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: files systemd
group:  files systemd
shadow: files
gshadow:files

hosts:  files mdns4_minimal [NOTFOUND=return] dns mymachines
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   nis
root@hawk:~# 


-- 
Does anybody read signatures any more?

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



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 16:28:06 -0500
Greg Wooledge  wrote:

> > However, when I try to ping samba by host name:
> > 
> > root@hawk:~# ping samba
> > PING samba (192.168.122.1) 56(84) bytes of data.  
> 
> Note that this is a *different* IP address.

Good catch, thank you.

> 
> > # For the benefit of virtual machines.
> > 192.168.100.12 apt-proxy
> > 192.168.122.1 samba samba.localdomain  
> 
> And that's where it came from (/etc/hosts).  If this IP address is
> wrong, then it shouldn't be in here.

Gnrrr. It's right for the virtual network (192.168.122.0). But
shouldn't that work even if it isn't the "right" address?

-- 
Does anybody read signatures any more?

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



Network Problem: Redirection

2024-02-02 Thread Charles Curley
I have an interesting network problem. I have a samba service on hawk. I
have an alias for it in DNS:

root@hawk:~# host samba
samba.localdomain is an alias for hawk.localdomain.
hawk.localdomain has address 192.168.100.6
root@hawk:~# host hawk
hawk.localdomain has address 192.168.100.6
root@hawk:~# 

I can ping by IP address just fine:

root@hawk:~# ping 192.168.100.6
PING 192.168.100.6 (192.168.100.6) 56(84) bytes of data.
64 bytes from 192.168.100.6: icmp_seq=1 ttl=64 time=0.083 ms
64 bytes from 192.168.100.6: icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from 192.168.100.6: icmp_seq=3 ttl=64 time=0.044 ms
64 bytes from 192.168.100.6: icmp_seq=4 ttl=64 time=0.052 ms
64 bytes from 192.168.100.6: icmp_seq=5 ttl=64 time=0.063 ms

--- 192.168.100.6 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4101ms
rtt min/avg/max/mdev = 0.034/0.055/0.083/0.016 ms
root@hawk:~# 

However, when I try to ping samba by host name:

root@hawk:~# ping samba
PING samba (192.168.122.1) 56(84) bytes of data.
From apt-proxy (192.168.100.12): icmp_seq=2 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))
From apt-proxy (192.168.100.12): icmp_seq=3 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))
From apt-proxy (192.168.100.12): icmp_seq=4 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))
From apt-proxy (192.168.100.12): icmp_seq=5 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))

--- samba ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4019ms

root@hawk:~# host apt-proxy
apt-proxy.localdomain is an alias for issola.localdomain.
issola.localdomain has address 192.168.100.12
root@hawk:~# 

192.168.100.12 is my router. apt-roxy is defined in /etc/hosts:

root@hawk:~# cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   hawk.localdomainhawk

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

# For the benefit of virtual machines.
192.168.100.12 apt-proxy
192.168.122.1 samba samba.localdomain
root@hawk:~# 

There is an apt-cacher-ng running on issola, 192.168.100.12. That
apt-proxy entry is for the benefit of virtual machines on hawk.

This mis-routing prevents the samba clients on hawk from mounting if I
use the host name. Other machines have no problems with the share.
However, as soon as I change hawk's fstab entry to the loopback
address, samba on hawk is fine.

Using the IP address works, but I'd rather use an alias in case some
time in the future I move the samba service to another machine; all I
need do is change the alias.

-- 
Does anybody read signatures any more?

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



Re: How to insert symbols into emails

2024-01-29 Thread Charles Curley
On Mon, 29 Jan 2024 22:02:20 +0100
Franco Martelli  wrote:

> I read that for custom sequence I've to create a ~/.XCompose file,
> but where can I find the character to map i.e. Greek letters: "α" "β"
> "γ" ?

Try the gucharmap package. You look a character up by name, and copy it
into place. E.g. crocodile, .


> 
> In "/usr/share/X11/locale/en_US.UTF-8/Compose" file the ALPHA char is 
> defined as:
> 
>  : "α"   U03B1 # GREEK SMALL 
> LETTER ALPHA
> 
> What stands for  ? 

Look at the Wikipedia entry for dead key.

> Could I have an example of custom 
> ~/.XCompose file for this letter, please?

https://wiki.debian.org/XCompose

-- 
Does anybody read signatures any more?

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



Re: Stop packagekitd from downloading updates

2024-01-28 Thread Charles Curley
On Sun, 28 Jan 2024 14:10:46 -0500
Stefan Monnier  wrote:

> How can I stop those downloads?
> 
> Currently, I did
> 
> systemctl mask packagekit

Well, you might just get rid of the package.

apt purge packagekit

should do it.

Less drastic, to simply shut down the current daemon,

systemctl stop packagekit

To prevent it from starting on the next boot:

systemctl disable packagekit

You may have to unmask it first.

-- 
Does anybody read signatures any more?

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



Re: Automatically installing GRUB on multiple drives

2024-01-24 Thread Charles Curley
On Wed, 24 Jan 2024 11:17:34 +0100
Nicolas George  wrote:

> Which leads me to wonder if there is an automated way to install GRUB
> on all the EFI partitions.

I'm not aware of any existing solutions.

Perhaps a script based on:

for i in a b c d e ; do echo /dev/sd$i ; grub-install /dev/sd$i ; done

Or perhaps extract the relevant devices from the output of

cat /proc/mdstat


Although I found it simpler (and faster) to have all my system stuff on
an SSD, and the RAID on four HDDs. Grub goes on the SSD and that's that.

-- 
Does anybody read signatures any more?

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



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

2024-01-24 Thread Charles Curley
On Wed, 24 Jan 2024 07:33:59 +
Tixy  wrote:

> On Tue, 2024-01-23 at 13:34 -0700, Charles Curley wrote:
>  [...]  
> 
> As you've already found out, that's not the latest one, and if I'm not
> mistaken is the one that introduce a wifi bug [1], so that could
> explain it getting stuck in the wifi stuff during shutdown.
> 
> You would probably be OK with the latest Debian 6.1 kernel if you
> don't explicitly want the 6.5 one from backports.
> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057969
> 

That does indeed sound like the problem I had. Thank you. I think I've
spent enough time on this issue, so I'll stick with the backported
kernel(s) until the next Debian is released (13). Or until something
else goes wrong.

-- 
Does anybody read signatures any more?

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



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

2024-01-23 Thread Charles Curley
On Wed, 24 Jan 2024 09:25:58 +0700
Max Nikulin  wrote:

> On 24/01/2024 03:34, Charles Curley wrote:
> > So I purged the newer kernel, inux-image-6.1.0-15-amd64  
> 
> The current kernel is linux-image-6.1.0-17-amd64
> 
> Perhaps you have not restored your sources.list or apt preferences
> after the accidents with kernel bugs. Check that nothing extra is
> added and nothing is missed in
> 
>  apt policy
> 

Good catch, thank you. I found the problem. sources.list had two src
lines commented out because the installer couldn't verify them. I have
rectified that problem.


-- 
Does anybody read signatures any more?

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



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

2024-01-23 Thread Charles Curley
On Sat, 13 Jan 2024 10:19:48 -0700
Charles Curley  wrote:

> 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:~$

I seem to have solved this problem, entirely by accident.

I went to shut down the machine, and it got stuck trying to shut down
wpa_supplicant and Network Manager. Ten minutes into the shutdown, I
finally pulled the plug. A few reboots and shutdowns later, I decided
to try another kernel. I had recently installed Bookworm from the 12.0
netinst CD image, so I had the 12.0 kernel, linux-image-6.1.0-9-amd64,
6.1.27-1, as my fall-back kernel. I rebooted to that, and was able to
shut down and boot in quick order.

So I purged the newer kernel, inux-image-6.1.0-15-amd64, leaving the
older one in place. I then set up for bookworm backports, and installed
a kernel from backports, linux-image-6.5.0-0.deb12.4-amd64,
6.5.10-1~bpo12+1. Not only does than kernel give me snappy boot and
shutdown, but chromium runs, and show videos. I still get the libva
error message, but chromium runs anyway.

All of which leads me to suspect that the error message was a soviet
herring, as Max Nikulin  suggested elsewhere in
this thread.


-- 
Does anybody read signatures any more?

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



Re: Debian 12 System Requirement

2024-01-22 Thread Charles Curley
On Tue, 23 Jan 2024 04:09:14 +
CHENG YING KIT KEITH  wrote:

> Dear Colleagues,
> 
> Can I install Debian 11 or 12 with "Intel(R) Xeon(R) CPU E5-2699 v3 @
> 2.30GHz" CPU? Do they both support the following application
> 
> Nginx 1.22.1
> PHP 8.2.7
> Mariadb 10.11.4

Debian 11 comes with php 7.4. Debian 12 comes with 8.2.7, specifically

root@hawk:~# php --version
PHP 8.2.7 (cli) (built: Jun  9 2023 19:37:27) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies
root@hawk:~# 

mariadb-server: Version: 1:10.11.4-1~deb12u1

nginx: Version: 1.22.1-9

Given that, and another consideration, I will suggest you use Debian
12. The other consideration is that Debian 11 will reach end of life
before Debian 12 will, so you are better future-proofed with Debian 12.

> 
> On the other hand, may I know the minimum requirement of Debian 11
> and 12?

https://www.debian.org/releases/stable/amd64/ch02.en.html

Note that those are often minimal requirements; your application, not
Debian, will likely determine your minimum requirements.

You should probably read the installation guide,
https://www.debian.org/releases/stable/amd64/index.en.html

You can get more information on specific packages at
https://www.debian.org/distrib/packages


-- 
Does anybody read signatures any more?

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



Re: Looking for archive management system for backups burned to optical discs

2024-01-22 Thread Charles Curley
On Mon, 22 Jan 2024 18:27:51 -0800
David Christensen  wrote:

> debian-user:
> 
> I have a SOHO file server with ~1 TB of data.  I would like archive
> the data by burning it to a series of optical discs organized by time
> (e.g. mtime).  I expect to periodically burn additional discs in the
> future, each covering a span of time from the previous last disc to
> the then-current time.
> 
> 
> I am looking for FOSS software for Unix platforms that goes beyond a 
> disc burner with multi-volume spanning.  The term "archive management 
> system" comes to mind.
> 
> 
> Comments or suggestions?

gene heskett 's suggestion of Amanda is a good
one. It has its kinks, but is solid and reliable. Amanda also handles
compression and encryption for you. I currently use Amanda to back up
to a RAID array. I then use rsnapshot to back portions of that
(including the Amanda virtual tapes) to one of three rotating off-site
USB external drives. I suspect the latter could be adapted to your
requirements.

If you don't find anything readily available, I'd look at using find
and the mtimes to copy to a holding disk, which you can then burn to
archive media.

I suggest you look at Blu-Ray for archiving.


-- 
Does anybody read signatures any more?

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



Re: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input16

2024-01-21 Thread Charles Curley
On Sun, 21 Jan 2024 22:41:01 +0100
Geert Stappers  wrote:

> Hoping that is it possible:
> 
> How to inject key stroke  or "button pressed" in
> /devices/platform/thinkpad_acpi/input/input16 ?

Thinkwiki might be useful. https://www.thinkwiki.org/wiki/ThinkWiki

-- 
Does anybody read signatures any more?

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



Re: Can't view videos in firefox: VA-API test failed

2024-01-21 Thread Charles Curley
On Sat, 20 Jan 2024 18:51:17 -0500
Stefan Monnier  wrote:

> So, IIUC the problem is that the hardware video decoder drivers aren't
> found for some reason.  I checked my VA-related packages and they seem
> to be installed:
> 
> # aptitude search '\' | grep '^i'
> i A i965-va-driver - VAAPI driver for Intel G45 & HD Graphics
> family i  intel-media-va-driver - VAAPI driver for the Intel GEN8+
> Graphics family i A libvdpau-va-gl1 - VDPAU driver with OpenGL/VAAPI
> backend i A mesa-va-drivers - Mesa VA-API video acceleration drivers
> i  va-driver-all - API de Video Acceleration (VA) – métapaquet de
> pilotes i A vdpau-va-driver - VDPAU-based backend for VA API
> #
> 
> I tried to install `intel-media-va-driver-non-free` to see if that's
> the problem, but it did not make any difference.

You and I seem to be having similar problems. I suspect that it has to
do with drivers initializing properly, not our respective browsers. I
can run Firefox just fine, but not chromium.


root@jhegaala:~# pre '\'
i965-va-driver  2.4.1+dfsg1-1   amd64
intel-media-va-driver   23.1.1+dfsg1-1  amd64
libvdpau-va-gl1 0.4.2-1+b1  amd64
mesa-va-drivers 22.3.6-1+deb12u1amd64
va-driver-all   2.17.0-1amd64
root@jhegaala:~#

I seem to be missing vdpau-va-driver, but it does not seem to be
available for me (bookworm):

root@jhegaala:~# apt install vdpau-va-driver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vdpau-va-driver is not available, but is referred to by another
package. This may mean that the package is missing, has been obsoleted,
or is only available from another source
However the following packages replace it:
  mesa-va-drivers

E: Package 'vdpau-va-driver' has no installation candidate
root@jhegaala:~# 

I've documented what I have so far in a thread with the subject
"Chromium oops: libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so"

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:~# 


VLC also plays MP4 movies just fine. It reports:

charles@jhegaala:~/ogg$ VLC media player 3.0.20 Vetinari (revision 
3.0.20-0-g6f0d0ab126b)
[55febf968d30] [http] lua interface: Lua HTTP interface
[55febf882550] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
[7f76bc0042f0] gl gl: Initialized libplacebo v4.208.0 (API v208)
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
[7f76bc0042f0] gl gl: Initialized libplacebo v4.208.0 (API v208)
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
[7f76d4c18c50] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for 
hardware decoding


-- 
Does anybody read signatures any more?

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



Re: netatalk not on bookworm

2024-01-18 Thread Charles Curley
On Fri, 22 Dec 2023 12:39:21 -0700
Charles Curley  wrote:

> On upgrading from bullseye to bookwork, my netatalk installation has
> been nuked. The bullseye package (3.1.12~ds-8+deb11u1) is still
> present but no daemon is running nor is my Mac making backups to the
> server.
> 
> Is there a known fix or workaround for this?

I ended up with a completely different solution.
https://github.com/Netatalk/netatalk/discussions/574#discussioncomment-7951797

It is running on my desktop. I've gotten one good backup, and I can
peruse the backups in the Time Machine app. We will see how it goes.

-- 
Does anybody read signatures any more?

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



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

2024-01-18 Thread Charles Curley
On Fri, 19 Jan 2024 00:02:44 +0700
Max Nikulin  wrote:

> On 14/01/2024 00:19, Charles Curley wrote:
>  [...]  
> 
>  [...]  
> 
> Have you faced real issues namely with hardware acceleration?

Other than this, not that I know of.

> 
> iHD driver is tied first, but your graphics card is too old for it,
> so i965 loaded next. I am unsure if it is possible to suppress
> attempt to load iHD and so to avoid an error message e.g. by setting
> some environment variable.

I see nothing in chromium's rather minimal man page. I also tried
several command line switches in
https://peter.sh/experiments/chromium-command-line-switches/, to no
avail.

> 
> chrome://gpu may provide more info.
> 

Alas, chromium never gets far enough to deliver useful information.

charles@jhegaala:~$ chromium chrome://gpu
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
^C
Killed
charles@jhegaala:~$ 

I did a killall -9 in another window to kill it.

There are no crash reports.

I looked in the two bug report sites mentioned in the man page for
chromium, and did not see anything that looked relevant.

I tried removing intel-media-va-driver |
intel-media-va-driver-non-free, which required removing va-driver-all.
No go. chromium just sits there as a background process, and I have to
kill it.

-- 
Does anybody read signatures any more?

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



Re: smartctl cannot access my storage, need syntax help

2024-01-17 Thread Charles Curley
On Tue, 16 Jan 2024 21:10:28 -0500
gene heskett  wrote:

> gene@coyote:~/src/klipper-docs$  lsblk -d -o 
> NAME,MAJ:MIN,MODEL,SERIAL,WWN /dev/sd[hijkl]
> NAME MAJ:MIN MODEL SERIAL WWN
> sdh8:112 Gigastone SSD GSTD02TB230102
> sdi8:128 Gigastone SSD GST02TBG221146
> sdj8:144 Gigastone SSD GST02TBG221146
> sdk8:160 Gigastone SSD GSTG02TB230206
> sdl8:176 Gigastone SSD GSTG02TB230206

Something is seriously wrong here. I worked at Maxtor for a while. They
went out of their way to be sure there were no duplicate serial
numbers.

Gene, I suggest you check these SNs with the SN on the packages (if
there is one) and on the label on the drive.

Also, take each drive, one at a time, attach it to another computer
with a fresh installation of Debian, one you haven't mucked with in any
way, and only one other drive already in it, and read the SNs there.

I also went looking for Gigastone's web site. Every page I tried at
gigastone.com led to what I presume was an Error 404 page. I say
presume because most of the text was in non-English, probably Chinese,
characters.

-- 
Does anybody read signatures any more?

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



Re: No Release file for Security Update

2024-01-17 Thread Charles Curley
On Wed, 17 Jan 2024 11:31:52 -0500
Thomas George  wrote:

> # deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD 
> Binary-1 with firmware 20231007-10:29]/ bookworm main
> non-free-firmware
> 
> deb http://ftp.debian.org/debian/ bookworm main non-free
> non-free-firmware
> 
> deb http://ftp.debian.org/debian/ bookworm-updates main non-free 
> non-free-firmware
> 
> # deb http://ftp.debian.org/debian/ bookworm-backports main non-free 
> non-free-firmware
> 
> deb http://ftp.debian.org/debian/ bookworm-security  main non-free 
> non-free-firmware
> sources.list (END)

The first thing I'll suggest is that you replace
http://ftp.debian.org/debian/ with http://deb.debian.org/debian

More to the point, the security URL I have is
http://security.debian.org/debian-security

> 
> 
> root@Phoenix:/etc/apt# apt-get update
> Hit:1 http://ftp.debian.org/debian bookworm InRelease
> Hit:2 http://ftp.debian.org/debian bookworm-updates InRelease
> Ign:3 http://ftp.debian.org/debian bookworm-security InRelease
> Hit:4 https://linux.brostrend.com stable InRelease
> Err:5 http://ftp.debian.org/debian bookworm-security Release
>    404  Not Found [IP: 151.101.

I'm guessing that that brostrend line came from something in
/etc/apt/sources.d. Sometimes renaming those is a useful debugging
trick.

For more information, see man 5 sources.list.

-- 
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 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/



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: 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: smartctl cannot access my storage, need syntax help

2024-01-12 Thread Charles Curley
On Fri, 12 Jan 2024 21:42:54 -0500
gene heskett  wrote:

> gene@coyote:~$ sudo smartctl -i -d /dev/md0p1

Gene, you could try reading the fine man page. The -d option takes an
argument, which eats the /dev/md0p1, leaving no device for smartctl to
look at. I have no idea what md0p1 is, but I doubt it's a physical
drive, like sda. So that's two problems. And you probably don't need
the -d option.

Try "ls /dev/sd?" and go from there.

-- 
Does anybody read signatures any more?

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



Re: systemd-timesyncd

2024-01-07 Thread Charles Curley
On Mon, 8 Jan 2024 10:02:25 +0700
Max Nikulin  wrote:

> Isn't it /etc/systemd/timesyncd.conf, not /etc/systemd/timesyncd? It 
> might be a reason why systemd-timesyncd did not follow configuration.

It is indeed /etc/systemd/timesyncd.conf. However, there is also
/etc/systemd/timesyncd.conf.d/, so one may drop local configurations
into place without mucking in timesyncd.conf.

Since systemd-timesyncd provides /etc/systemd/timesyncd.conf, changes
to it will likely be overwritten on the next upgrade to
systemd-timesyncd.

I have:

root@jhegaala:~# ls /etc/systemd/timesyncd.conf.d/
50localTimeServers.conf
root@jhegaala:~# cat /etc/systemd/timesyncd.conf.d/50localTimeServers.conf 
[Time]
NTP=192.168.100.12 192.168.100.6 
# File of local time servers provided via DHCP and 60ntp.
root@jhegaala:~# 

60ntp is my own script which picks up time servers from DHCP
information and which is run by Network Manager. This machine is a
laptop.

-- 
Does anybody read signatures any more?

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



Re: Trouble with OpenSMTPD

2024-01-07 Thread Charles Curley
On Sun, 7 Jan 2024 17:36:12 -0500
Paul M Foster  wrote:

> For reason(s) I don't understand, opensmtpd will not start via
> "systemctl start opensmtpd". According to "sudo smtpd -n", the
> configuration file passes, but it just won't start.

Have you looked to see what systemd has to say? After running
"systemctl start opensmtpd", run "systemctl status opensmtpd". You may
also find "journalctl -b -u opensmtpd" useful.

-- 
Does anybody read signatures any more?

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



Re: systemd-timesyncd

2024-01-07 Thread Charles Curley
On Sun, 7 Jan 2024 20:36:12 +
"Andrew M.A. Cater"  wrote:

> > Take care, stay warm, well, and unvaxed.
> > ^^^  
> 
> Gene - no partisan opinions, please, as per Code of Conduct?

Oh, come on! Just because Gene doesn't like certain ancient Digital
Equipment products…?

-- 
Does anybody read signatures any more?

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



Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-05 Thread Charles Curley
On Fri, 5 Jan 2024 17:25:48 -0800
David Christensen  wrote:

> I would be curious to know if a secure erase forces the pending
> sector issue and, if so, what the result is.

An interesting thought. Alas, I am far enough along on re-installing
that I do not want to try it. Sorry.

-- 
Does anybody read signatures any more?

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



Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-05 Thread Charles Curley
On Fri, 5 Jan 2024 21:01:28 +
Andy Smith  wrote:

> So has this coaxed the drive into reducing its pending sector count
> to zero or does that still say 1?

Last I looked, it was still at 1. When I finish my reinstallation, I
will look again.

> 
> I have had drives in the past that never decremented it even though
> they had clearly done a remap, and others that took a long time
> (weeks) to get around to doing so.

As the Zen master said, we will see.

-- 
Does anybody read signatures any more?

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



Re: Installing Debian on an old Asus EEE PC

2024-01-05 Thread Charles Curley
On Fri, 05 Jan 2024 16:48:39 +
Eric S Fraga  wrote:

> anybody here have any experience installing a recent(-ish) version of
> Debian on an Asus EEE PC?  This is a small notebook sized laptop with
> Celeron cpu and little space & memory.  I've just found one in one of
> my boxes and thought I'd see if I can make use of it.  It's currently
> running with a 2.x kernel!

It might help if you gave us a bit more information.

Exact make and model number? You should be able to find that on a label
somewhere or with dmidecode.

How much memory? free -h should tell us that.

How large a local hard drive do you have?

I suspect you need a minimum of 1 GiB of RAM to run Bookworm, but the
more the merrier. How much hard drive you need depends on what you want
to put on it.

If you have another machine with more hard drive space, an NFS server
might extend your usable space on the EEE PC.

-- 
Does anybody read signatures any more?

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



Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-04 Thread Charles Curley
On Thu, 4 Jan 2024 11:58:54 +0100
 wrote:

> > 
> > OOPS! -w is the destructive test. I now have a hard drive full of
> > 0x00s. I should have used the -n option. However, it reported no
> > failures.  
> 
> Ouch, I hope you had a backup.

All the essential stuff, yes.

-- 
Does anybody read signatures any more?

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



Re: The current package wpasupplicant doesn't support WPA3-Personal authentication. What alternatives to it exist?

2024-01-03 Thread Charles Curley
On Wed, 3 Jan 2024 22:40:33 +0100
Stella Ashburne  wrote:

> > Are you sure? WPA3-Personal is hardly new so Bookworm should have
> > the support. Even the package description says that.
> >  
> Could you provide me the URL to the package description please?

You can get the package description of any package with:

apt-cache show

It usually includes the project web site.

To answer your question about WPA3-Personal in wpasupplicant, the
change log indicates that it was added on 2022-01-16 to version 2.10,
which is the version I have on Bookworm. Change logs and other package
documentation are usually found in /usr/share/doc/.

-- 
Does anybody read signatures any more?

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



Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-03 Thread Charles Curley
On Wed, 3 Jan 2024 13:25:26 -0700
Charles Curley  wrote:

> I now have a writing test (-w) running. It has reported no failures on
> its first pass.

OOPS! -w is the destructive test. I now have a hard drive full of 0x00s.
I should have used the -n option. However, it reported no failures.

-- 
Does anybody read signatures any more?

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



Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-03 Thread Charles Curley
On Wed, 3 Jan 2024 11:05:10 +
Michael Kjörling <2695bd53d...@ewoof.net> wrote:

> Since both tests finished without
> finding any errors, there _should_ have been no unreadable sectors.

Agree.

> 
> I'm inclined to believe that your drive is fibbing SMART data.

Sigh. I am inclined to agree. Obviously they didn't hire me to write
the firmware on the drive.

> 
> As a background process, try running something like
> 
> # ionice find / -xdev -type f -exec cat {} + >/dev/null

That would only reach files on the partition where it is run. Since
there is another operating system on this drive, and there are parts of
the drive normally inaccessible to any operating system, I decided
instead to boot to a USB stick and run badblocks. The read-only test
took 12 minutes and reported no errors.

I now have a writing test (-w) running. It has reported no failures on
its first pass.

-- 
Does anybody read signatures any more?

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



Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-02 Thread Charles Curley
On Wed, 3 Jan 2024 00:29:42 +
Andy Smith  wrote:

> Hello,
> 
> On Tue, Jan 02, 2024 at 04:42:37PM -0700, Charles Curley wrote:
>  [...]  
> 
> If a SMART long self-test came back clean then it already has been
> re-mapped as a long self-test reads every user-accessible sector.

I'm not so sure about that. See the journalctl output at the bottom of
this email.


> 
> If you really want to reassure yourself, look back in your logs for
> the actual sector number and then read it with hdparm. Either it
> prints the raw data or it gives an error.
> 
> # hdparm --read-sector [sector number] /dev/sda
> 
> (generally safe as it's only a read)

I'll try that later. I don't want to take the time now to isolate the
relevant log entries.

> 
> It is annoying when a remapped bad sector doesn't seem to increment
> the "remapped" count and decrement the "pending" count, but I've had
> it happen. I wouldn't particularly worry about it unless the number
> keeps going up OR the actual sector is still unreadable (though the
> self-test should have spotted that).
> 
> You can reconfigure smartd so that it only warns you about error
> values that increase, not just the presence of the non-zero value
> every 30 minutes. That's discussed in the comments of
> /etc/smartd.conf and its man page.

Good thoughts, thank you.

> 
> > It's the only one on the computer.  
> 
> Like to live dangerously, huh…

No. That's what fast networks, good and multiple backup programs, a
good RAID array on another computer, and multiple off-site backups are
for.

> 
> Thanks,
> Andy
> 

root@tiassa:~# journalctl -b -u smartmontools.service 
Jan 02 12:37:39 tiassa systemd[1]: Starting smartmontools.service - Self 
Monitoring and Reporting Technology (SMART) Daemon...
Jan 02 12:37:39 tiassa smartd[740]: smartd 7.3 2022-02-28 r5338 
[x86_64-linux-6.1.0-17-amd64] (local build)
Jan 02 12:37:39 tiassa smartd[740]: Copyright (C) 2002-22, Bruce Allen, 
Christian Franke, www.smartmontools.org
Jan 02 12:37:39 tiassa smartd[740]: Opened configuration file /etc/smartd.conf
Jan 02 12:37:39 tiassa smartd[740]: Drive: DEVICESCAN, implied '-a' Directive 
on line 21 of file /etc/smartd.conf
Jan 02 12:37:39 tiassa smartd[740]: Configuration file /etc/smartd.conf was 
parsed, found DEVICESCAN, scanning devices
Jan 02 12:37:39 tiassa smartd[740]: Device: /dev/sda, type changed from 'scsi' 
to 'sat'
Jan 02 12:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], opened
Jan 02 12:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], NS256GSSD330, 
S/N:W3ZK047027T, FW:V0823A0, 256 GB
Jan 02 12:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], not found in smartd 
database 7.3/5533.
Jan 02 12:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], is SMART capable. 
Adding to "monitor" list.
Jan 02 12:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], state read from 
/var/lib/smartmontools/smartd.NS256GSSD330-W3ZK047027T.ata.state
Jan 02 12:37:39 tiassa smartd[740]: Monitoring 1 ATA/SATA, 0 SCSI/SAS and 0 
NVMe devices
Jan 02 12:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], state written to 
/var/lib/smartmontools/smartd.NS256GSSD330-W3ZK047027T.ata.state
Jan 02 12:37:39 tiassa systemd[1]: Started smartmontools.service - Self 
Monitoring and Reporting Technology (SMART) Daemon.
Jan 02 13:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 13:07:39 tiassa smartd[740]: Sending warning via 
/usr/share/smartmontools/smartd-runner to root ...
Jan 02 13:07:39 tiassa smartd[740]: Warning via 
/usr/share/smartmontools/smartd-runner to root: successful
Jan 02 13:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 14:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 14:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 14:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], self-test in 
progress, 20% remaining
Jan 02 15:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 15:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], previous self-test 
completed without error
Jan 02 15:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 16:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 16:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 17:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 17:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 18:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 18:37:39 tiassa smartd[740]: Device: /dev/s

Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-02 Thread Charles Curley
On Tue, 2 Jan 2024 18:01:32 -0500
Dan Purgert  wrote:

> On Jan 02, 2024, Charles Curley wrote:
> > I have a brand new NVME device, details below, in a brand new
> > computer. smartd just started returning pending sector errors.  
> 
> Means you've got "N" bad sector(s) on the drive.  It happens, even on
> new drives.

Good to know.

> 
> > 
> > A recent extended (long) test run since the first reported pending
> > sector returned no errors.
> > 
> > How worried should I be?  
> 
> I wouldn't be "very" worried; but I'd keep an eye on it (especially
> with regards to any warranties you may have on the machine)

OK, will do. If I understand that entry in the SMART report, the
offending sector should eventually be re-mapped or else marked as
unrecoverable. If the latter, I'll get really concerned.


> 
> > Device Model: NS256GSSD330
> > Serial Number:W3ZK047027T

> 
> You kinda removed the important bits out of this report with regards
> to the drive health.

Sorry. See my recent reply to Dan Ritter .

> That being said, this drive is not an NVMe --
> did you check the right one?

It's the only one on the computer. Dan Ritter 
corrected that. https://smarthdd.com/database/Netac-SSD-256GB/S0626A0/


-- 
Does anybody read signatures any more?

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



Re: 1 Currently unreadable (pending) sectors How worried should I be?

2024-01-02 Thread Charles Curley
On Tue, 2 Jan 2024 17:47:18 -0500
Dan Ritter  wrote:

> Charles Curley wrote: 
> > I have a brand new NVME device, details below, in a brand new
> > computer.  
> 
> You might, but that's not what the details you show us are
> saying.
> 
>  [...]  
> 
> That says this is a SATA device, not an NVMe device.
> 
> Looking up the device model shows me this:
> https://smarthdd.com/database/Netac-SSD-256GB/S0626A0/
> 
> which confirms: SATA in an M.2 form factor, not NVMe.

Thank you for that correction.

> 
>  [...]  
> 
> These are logged at suspiciously even times, like something is
> looking at the disk every 30 minutes exactly.

If I correctly read the journal entries I appended to my previous email,
that would be smartd.



> 
> Note that "currently unreadable" sometimes means "the disk is
> too busy to get back to us" and sometimes means "there's damage
> on the disk".  The disk's onboard controller should map around
> damage automatically.
> 
> Do you have any other symptoms? Anything interesting in the
> SMART variables?

Nothing that jumps out at me.

Report appended as a text file.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/
root@tiassa:~# smartctl -a /dev/sda 
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: NS256GSSD330
Serial Number:W3ZK047027T
Firmware Version: V0823A0
User Capacity:256,060,514,304 bytes [256 GB]
Sector Size:  512 bytes logical/physical
Rotation Rate:Solid State Device
Form Factor:  mSATA
TRIM Command: Available
Device is:Not in smartctl database 7.3/5533
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Tue Jan  2 15:27:45 2024 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x02) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Disabled.
Self-test execution status:  (   0) The previous self-test routine completed
without error or no self-test has ever 
been run.
Total time to complete Offline 
data collection:(  120) seconds.
Offline data collection
capabilities:(0x11) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities:(0x0002) Does not save SMART data before
entering power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine 
recommended polling time:(   2) minutes.
Extended self-test routine
recommended polling time:(  10) minutes.
SCT capabilities:  (0x0001) SCT Status supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x0032   100   100   050Old_age   Always   
-   0
  5 Reallocated_Sector_Ct   0x0032   100   100   050Old_age   Always   
-   1
  9 Power_On_Hours  0x0032   100   100   050Old_age   Always   
-   764
 12 Power_Cycle_Count   0x0032   100   100   050Old_age   Always   
-   25
160 Unknown_Attribute   0x0032   100   100   050Old_age   Always   
-   0
161 Unknown_Attribute   0x0033   100   100   050Pre-fail  Always   
-   96
163 Unknown_Attribute   0x0032   100   100   050Old_age   Always   
-   5
164 Unknown_Attribute   0x0032   100   100   050Old_age   Always   
-   2126
165 Unknown_Attribute   0x0032   100   100   050Old_age   Always   
-   14
166 Unknown_Attribute   0x0032   100   100   050Old_age   Always   
-

1 Currently unreadable (pending) sectors How worried should I be?

2024-01-02 Thread Charles Curley
I have a brand new NVME device, details below, in a brand new computer.
smartd just started returning pending sector errors.

A recent extended (long) test run since the first reported pending
sector returned no errors.

How worried should I be?


Device Model: NS256GSSD330
Serial Number:W3ZK047027T
Firmware Version: V0823A0
User Capacity:256,060,514,304 bytes [256 GB]
Sector Size:  512 bytes logical/physical
Rotation Rate:Solid State Device
Form Factor:  mSATA
TRIM Command: Available
Device is:Not in smartctl database 7.3/5533
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Tue Jan  2 15:27:45 2024 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

…

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offlineCompleted without error   00%   764 -
# 2  Short offline   Completed without error   00%   116 -


root@tiassa:~# journalctl -u smartmontools.service | grep unreadable
Jan 02 13:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 13:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 14:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 14:37:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
Jan 02 15:07:39 tiassa smartd[740]: Device: /dev/sda [SAT], 1 Currently 
unreadable (pending) sectors
root@tiassa:~# 


-- 
Does anybody read signatures any more?

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



Re: Monthly FAQ for Debian-user mailing list (modified 20240101)

2024-01-01 Thread Charles Curley
The refactoring and headers are an improvement, thank you.


On Mon, 1 Jan 2024 22:56:03 +
"Andrew M.A. Cater"  wrote:

> If you change subject or emphasis in mid-thread, please change the
> subject line on your email accordingly so that this can be clearly
> seen. 
> 
>   For example: New question [WAS Old topic]

If one changes subject, would it not be better to simply start a new
thread? With most mail readers threading using the In-Reply-To header,
the new subject would get buried in the old thread.

-- 
Does anybody read signatures any more?

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



Re: Bug on upgrade to bookworm with Apache/PHP?

2023-12-30 Thread Charles Curley
On Sat, 30 Dec 2023 17:50:03 +
Andrew Wood  wrote:

> Found the following issue when running an upgrade.
> 
> Apache refuses to restart with error:
> 
> apache2_reload: Your configuration is broken. Not restarting Apache 2
> apache2_reload: apache2: Syntax error on line 146 of 
> /etc/apache2/apache2.conf: Syntax error on line 3 of 
> /etc/apache2/mods-enabled/php7.4.load: Cannot load 
> /usr/lib/apache2/modules/libphp7.4.so into server: 
> /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object
> file: No such file or directory
> 
> 
> This is because the php7.4 files have now been replaced with php8.2
> 
> Specifically sym linsk in  /etc/apache2/mods-enabled/ which link to  
> /etc/apache2/mods-available/
> php7.4.conf -> ../mods-available/php7.4.conf
> php7.4.load -> ../mods-available/php7.4.load
> 
> Should be removed and replaced with a link to
> 
> php8.2.conf -> ../mods-available/php8.2.conf
> php8.2.load -> ../mods-available/php8.2.load
> 
> 
> Is this known about?
> 
> Andrew
> 

You might want to disable any php 7.4 modules and enable php8.2.conf
and php8.2.load.

root@hawk:/etc/apache2# ls mods-enabled/
access_compat.load  autoindex.load  mpm_prefork.conf  setenvif.load
alias.conf  deflate.confmpm_prefork.load  socache_shmcb.load
alias.load  deflate.loadnegotiation.conf  ssl.conf
auth_basic.load dir.confnegotiation.load  ssl.load
authn_core.load dir.loadphp8.2.conf   status.conf
authn_file.load env.loadphp8.2.load   status.load
authz_core.load filter.load reqtimeout.conf   userdir.conf
authz_host.load headers.loadreqtimeout.load   userdir.load
authz_user.load mime.conf   rewrite.load
autoindex.conf  mime.load   setenvif.conf
root@hawk:/etc/apache2# 


-- 
Does anybody read signatures any more?

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



Re: Printer weirdness

2023-12-30 Thread Charles Curley
On Sat, 30 Dec 2023 13:02:28 +0100
Hans  wrote:

> 1st question:  
> Although there are no printers configured in CUPS, LibreOffice does
> see and can use the printers. My idea is, that Libreoffice is using
> its owb printer drivers, can that be, does someone know more?
> 
> 2nd question: 
> When installed with CUPS, there appear TWO pronters, one (for
> example) is called "DCP-125J" and the other one "DCP-125J_debian".
> However, only one of the entries is working (the one without
> "_debian". Where does it get its name? Both printers appear also in
> CUPS, but they do NOT appear in the printer sections of the
> "systemsettings" in KDE.
> 
> So, when connected TWO printers, the user has to choose of FOUR
> entries.
> 
> How can that be fixed, ifat all?
> 
> 
> 3rd question:
> The same appears with the scanner. When I start XSANE, then I get
> FOUR entries to chose: one name ending with the IP-addresse (the
> scanner is connected by LAN) marked, one without IP, one starting
> with the string "ecl:" and one starting with "ipp:". Whilst
> two of them I can explain myself, only two of the entries are
> working, the one starting "ecl:" and the pone with the IP.
> 
> The IPP-entry is clear for me, it is for internet printing, but last
> one is NOT explainable and is lookinbg for me as an unnecessary
> double entry like it appears at the printers.
> 
> How can I fix this?

I suspect that your customer's printers are so-called "driverless"
printers, and that they are advertising themselves via Apple's Bonjour
protocol, implemented in Linux by the avahi packages.

If so, you can see what avahi has found with:

avahi-browse -art

or avahi-discover.

If that is correct, I wouldn't worry about the duplicate entries for
the printers.

-- 
Does anybody read signatures any more?

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



Re: Change suspend type from kde menu

2023-12-28 Thread Charles Curley
On Thu, 28 Dec 2023 23:17:06 +0100
Valerio Vanni  wrote:

> /usr/lib/systemd/system-sleep/dvb-suspend.sh

That may work, but by putting the script in /usr/lib/systemd, you run
the risk of it being clobbered on the next update to systemd. Better to
put it in /etc/systemd/system-sleep/. Files in /etc/systemd over-ride
their analogs in /usr/lib/systemd, so it should continue to work. You
may need to do a "systemctl daemon-reload".

-- 
Does anybody read signatures any more?

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



Re: problem with Jami

2023-12-28 Thread Charles Curley
On Thu, 28 Dec 2023 21:37:05 +0100
"s...@gmx.com"  wrote:

> Thanks, i resolved it!

Wonderful. For the benefit of those who might come after, how did you
solve it? Please change the subject to start with SOLVED.

Thank you.

-- 
Does anybody read signatures any more?

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



Re: how to clone apt repository to newest only?

2023-12-26 Thread Charles Curley
On Tue, 26 Dec 2023 16:49:13 -0500
"Roy J. Tellason, Sr."  wrote:

> I must be missing something here.  If one is running a system that's
> NOT net-connected,  why is security so important an issue?

Physical access, especially a multi-user system. Think a college
science lab.

-- 
Does anybody read signatures any more?

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



Re: netatalk not on bookworm

2023-12-26 Thread Charles Curley
On Fri, 22 Dec 2023 16:25:11 -0700
Charles Curley  wrote:

> I was able to build from source per the instructions at
> https://netatalk.sourceforge.io/3.1/htmldocs/intro.html et seq.,
> starting with "git clone https://github.com/Netatalk/netatalk.git;.

Well, that didn't work. I got two good backups, then the Mac stopped
communicating with the server.

Now what?

-- 
Does anybody read signatures any more?

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



Re: APT preferring `stable` over `stable-security`

2023-12-26 Thread Charles Curley
On Tue, 26 Dec 2023 11:12:01 -0500
Stefan Monnier  wrote:

> The `sources.list` files says:
> 
> deb http://security.debian.org/ stable-security main
> deb http://deb.debian.org/debian stable main

I take it this is bookworm. In that case, you also need:

# bookworm-updates, to get updates before a point release is made;
# see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian bookworm-updates main contrib non-free 
non-free-firmware
# deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free 
non-free-firmware

in your e/a/sources.list

You may also want backports; see the article mentioned in the stanza
above.

-- 
Does anybody read signatures any more?

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



Re: package manager

2023-12-23 Thread Charles Curley
On Sat, 23 Dec 2023 11:57:58 -0600
William Torrez Corea  wrote:

> > Hit:8 https://repo.steampowered.com/steam stable InRelease
> >
> > Hit:9 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/bullseye
> > pgadmin4 InRelease
> > Hit:10 tor+http://deb.ooni.org unstable InRelease
> > Err:4 http://repo.mysql.com/apt/debian bullseye InRelease
> >   The following signatures couldn't be verified because the public
> > key is not available: NO_PUBKEY B7B3B788A8D3785C

First, what Andy Smith  said. You have a lot of
non-Debian repos in there, and there's no guarantee they will play
nicely with each other.

Second, in Hit 9 in the quoted results above, you are trying to pull
from the postgres repo for bullseye, when at the top you are pulling
from bookworm updates (Hit 1). Crossing different different Debian
versions like that is also a recipe for problems.

Third, when you copy and paste from a terminal to an email, copy an
paste the whole thing, including leading and trailing command line
prompts. Otherwise we're guessing what you did and may miss significant
information.

Fourth, that "NO_PUBKEY B7B3B788A8D3785C" above indicates that you do
not have the key for that repo. I would search on that phrase and see
what comes up. Failing that, go to the repo's web site, find and follow
instructions there on how to get (and verify) the missing key.


-- 
Does anybody read signatures any more?

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



Re: netatalk not on bookworm

2023-12-22 Thread Charles Curley
On Fri, 22 Dec 2023 12:39:21 -0700
Charles Curley  wrote:

> On upgrading from bullseye to bookwork, my netatalk installation has
> been nuked. The bullseye package (3.1.12~ds-8+deb11u1) is still
> present but no daemon is running nor is my Mac making backups to the
> server.
> 
> Is there a known fix or workaround for this?

The reason there was no daemon running is that during the upgrade the
netatalk package was removed, but not purged.

I was able to build from source per the instructions at
https://netatalk.sourceforge.io/3.1/htmldocs/intro.html et seq.,
starting with "git clone https://github.com/Netatalk/netatalk.git;.

One gotcha is that the libtools package does not provide libtools. It
provides libtoolize. The package libtool-bin provides libtool.

All in all, I had to install the following:

apt install libtool-bin libgcrypt20-dev libdb-dev libevent-dev \
ibavahi-core-dev libavahi-compat-libdnssd-dev

And my Mac reports a successful backup.

Folks with more complicated setups may require other packages.

You may also find this page useful:
https://github.com/Netatalk/netatalk/wiki/Installing-Netatalk-3-on-Debian-and-Ubuntu

-- 
Does anybody read signatures any more?

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



netatalk not on bookworm

2023-12-22 Thread Charles Curley
On upgrading from bullseye to bookwork, my netatalk installation has
been nuked. The bullseye package (3.1.12~ds-8+deb11u1) is still present
but no daemon is running nor is my Mac making backups to the server.

Is there a known fix or workaround for this?

-- 
Does anybody read signatures any more?

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



Re: Is there a problem with Linux-image-6.1.0-16?

2023-12-21 Thread Charles Curley
On Thu, 21 Dec 2023 09:02:34 -0500
Gary Dale  wrote:

> Several days ago my main server upgraded to kernel 6.1.0-16 but
> various other devices that are also running Bookworm seem stuck at
> 6.1.0-13. They are all using the same architecture. Some are using
> the same mirror as the server that upgraded. I haven't set any
> special policies on upgrades.

I saw similar here. Of four machines here running Bookworm, three have
kernels:

linux-image-6.1.0-15-amd64 6.1.66-1
linux-image-6.1.0-16-amd64 6.1.67-1

but one has:

linux-image-6.1.0-13-amd64 6.1.55-1
linux-image-6.1.0-15-amd64 6.1.66-1

However, I found that the latter machine has the following in
/etc/apt/sources.list:

# bookworm-updates, to get updates before a point release is made;
# see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
# Line commented out by installer because it failed to verify:
#deb http://deb.debian.org/debian bookworm-updates main contrib non-free 
non-free-firmware
# deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free 
non-free-firmware

whereas the others three have:

# bookworm-updates, to get updates before a point release is made;
# see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian bookworm-updates main contrib non-free 
non-free-firmware
# deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free 
non-free-firmware

Uncommenting the bookworm-updates line got me the missing kernel. You
might try the same.

-- 
Does anybody read signatures any more?

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



Re: Formal reminder of Codes of Conduct [WAS Re: Could we please cease this thread now?]

2023-12-21 Thread Charles Curley
On Thu, 21 Dec 2023 21:36:00 +
"Andrew M.A. Cater"  wrote:

> Replies to you which are specifically marked as replies off-list are 
> private. Don't repost private information. The normal expectation is
> that the list is public and communication to the list is public.
> If someone specifically replies to you in private, it would be for an
> exceptional reason and should not be reposted back to the list.

Clarification, please. Occasionally a miss-configured mail reader will
cause a private off-list reply, which the correspondent does not notice.
My usual response to that sort of thing is to suggest that the
correspondent fix his mail reader, and then reply to the email on-list.
But only if there is nothing in either the errant email or my reply to
it which I believe to be private. Is something like that within your
admonition not to reply on-list to an off-list email?

-- 
Does anybody read signatures any more?

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



Re: Mouse single click handling?

2023-12-19 Thread Charles Curley
On Tue, 19 Dec 2023 10:43:37 -0500
Stefan Monnier  wrote:

> FWIW there's a case to be made that "The Right Thing" is to try and
> reduce consumption of resources, and prolonging the use of hardware
> falls in this category.

One's time is also a finite resource.

-- 
Does anybody read signatures any more?

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



Re: Mouse single click handling?

2023-12-19 Thread Charles Curley
On Tue, 19 Dec 2023 17:01:46 +0100 (CET)
local10  wrote:

> I've been replacing them, I have 4-5 mice like that, they all fail
> with the same defect after 6-12 months or so. So I thought perhaps
> there was a way to fix them instead of buying a new one every 6-12
> months.

I suggest you buy a different rodent. I bought three Logitech rodents
some years ago on sale for $10 each. All three still work quite well.

ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser

-- 
Does anybody read signatures any more?

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



Re: Mason service on personal computer

2023-12-19 Thread Charles Curley
On Tue, 19 Dec 2023 18:57:52 -0500
Daniel Rodriguez  wrote:

> I read on the web and it suggests that it works when one uses a
> firewall in the middle of the network to administrate. I don't have a
> firewall, it's a simple personal PC, but I would like to confirm if
> this is a service that is working for no reason on my personal PC;
> otherwise, does it have a different purpose?

You may not have a physical box that sits between your computer and the
Internet. But you almost certainly have some sort of software firewall
on your PC, which does much the same thing.

https://en.wikipedia.org/wiki/Firewall_(computing)

apt-cache show mason

-- 
Does anybody read signatures any more?

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



Re: Zoom on Bookworm?

2023-12-19 Thread Charles Curley
On Tue, 19 Dec 2023 18:30:55 -0500
Jeffrey Walton  wrote:

> Use Jitsi, if possible. You can even run your own Jitsi server, if
> desired. And it is open source. .

You might also look at Jami, which has the virtue of being in the
Debian repos.

apt show jami-daemon

-- 
Does anybody read signatures any more?

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



Re: How to index mails in kmail?

2023-12-19 Thread Charles Curley
On Tue, 19 Dec 2023 20:19:59 +0100
Hans  wrote:

> is there a way to get all mails of kmail get indexed?

Try mairix.

apt show mairix

-- 
Does anybody read signatures any more?

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



Re: Problem with /var/cache/apt/archives/

2023-12-16 Thread Charles Curley
On Sat, 16 Dec 2023 20:30:27 +0100
 wrote:

> > I'll add 'sudo apt-get autoclean to' my update bat file.  
> 
> Bat? 驪

Yeah, bat file. That's what one uses to smooth the body putty on one's
custom batmobile.

-- 
Does anybody read signatures any more?

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



Re: Problem with /var/cache/apt/archives/

2023-12-16 Thread Charles Curley
On Sat, 16 Dec 2023 10:46:27 -0500
"Stephen P. Molnar"  wrote:

> I'll add 'sudo apt-get autoclean to' my update bat file.

Or add it to your crontab.

root@tsalmoth:~# grep clean /etc/cron.d/curley 
  0  4 18 *  *   root  apt-get -y autoclean
root@tsalmoth:~# 

-- 
Does anybody read signatures any more?

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



Re: Problem with php after upgrading to Bookworm

2023-12-14 Thread Charles Curley
On Thu, 14 Dec 2023 23:26:47 +0200
Alexis Grigoriou  wrote:

> On Thu, 2023-12-14 at 12:28 -0700, Charles Curley wrote:
>  [...]  
>  [...]  
>  [...]  
> 
>  [...]  
> 
> root@bfs# dpkg-query --show 'php*'
> php-amqp  
> php-apcu  
…
> php-yaml  
> php-zmq   
> php5.6-common 
> php5.6-json   
> php7.0-common 
> php7.0-curl   
> php7.1-common 
> php7.2-common 
> php7.2-sodium 
> php7.3-common 
> php7.4-calendar   
> php7.4-cgi7.4.33-1+deb11u4
> php7.4-cli7.4.33-1+deb11u4
> php7.4-common 7.4.33-1+deb11u4
> php7.4-ctype  
> php7.4-exif   
> php7.4-ffi
> php7.4-fileinfo   
> php7.4-ftp
> php7.4-gd 7.4.33-1+deb11u4
> php7.4-gettext
> php7.4-iconv  
> php7.4-json   7.4.33-1+deb11u4
> php7.4-mysql  7.4.33-1+deb11u4
> php7.4-mysqli 
> php7.4-mysqlnd
> php7.4-opcache7.4.33-1+deb11u4
> php7.4-pdo
> php7.4-pdo-mysql  
> php7.4-phar   
> php7.4-posix  
> php7.4-readline   7.4.33-1+deb11u4
> php7.4-shmop  
> php7.4-sockets
> php7.4-sysvmsg
> php7.4-sysvsem
> php7.4-sysvshm
> php7.4-tokenizer  
> php8.0-common 
> php8.1-common 
> phpapi-20190902   
> root@invader:/etc/php/7.4# apt update

I see a lot of php 7.4 but no php 8.2. I think you need more 8.2. But
that should have been installed as part of the upgrade. I'd try running
"apt install php".

Also, don't purge any of the 7.4 or older stuff until you are well
satisfied that 8.2 is working correctly.


> > Also, to make things easier down the road, install the generic
> > equivalent of a php package. E.g. php-imagick rather than
> > php8.2-imagick.
> 
> I also installed php-imagick along with it's dependencies but I still
> get the same result.

Unless you need it, I'd purge it. I intended that as an example, not
something to actually do.

> 
> 

-- 
Does anybody read signatures any more?

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



Re: Debian 12.4.0

2023-12-14 Thread Charles Curley
On Thu, 14 Dec 2023 17:01:19 -0500
David Sawyer  wrote:

> This may seem to be a simple problem. I set up Debian with a password
> that I wrote down to be sure.

Password for what? Your user account? A root password? Disk encryption?

(This is why, when setting up passwords, I will type them in [both
times, if necessary] in clear test when possible.)

If the former, did you type your user account name incorrectly?

-- 
Does anybody read signatures any more?

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



Re: Problem with php after upgrading to Bookworm

2023-12-14 Thread Charles Curley
On Thu, 14 Dec 2023 19:24:19 +0200
Alexis Grigoriou  wrote:

> All
> I see is probably the php code. If I remember correctly, before the
> upgrade php 7.4 was installed in my Bulleye installation. There is a
> directory in /etc/php/7.4, although 8.2 is the default in Bookworm,
> but there is no /etc/php/8.2 directory.

Do you know for a fact that you have php 8.2 installed? The
/etc/php/8.2 directory should be there. What do you get when you run:

dpkg-query --show 'php*'

Please run that in a terminal window, and copy and paste the results,
including the command prompt and the trailing prompt, into your reply
email.

Even if php8.2 itself is installed, you will likely need other php8.2
packages.

Also, to make things easier down the road, install the generic
equivalent of a php package. E.g. php-imagick rather than
php8.2-imagick.

-- 
Does anybody read signatures any more?

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



Re: update-ca-certificates

2023-12-13 Thread Charles Curley
On Thu, 14 Dec 2023 09:34:37 +0800
jeremy ardley  wrote:

> You don't have to be your own CA. It's very easy to use letsencrypt
> to generate valid certificates for hosts even if they are not
> directly connected to the internet.

Oooh, is there a writeup somewhere on how to do that? The last time I
looked, I couldn't find one. But that was a while ago.

-- 
Does anybody read signatures any more?

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



Re: From which kernel should I upgrade my installed Debian to linux-image-6.1.0-15-amd64?

2023-12-11 Thread Charles Curley
On Tue, 12 Dec 2023 04:15:33 +
Tom Furie  wrote:

> Do we know yet which wifi drivers are "troublesome"? I haven't seen
> anything concrete yet anywhere.

You can read the gory details at Mr. Price's bug report.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057967

-- 
Does anybody read signatures any more?

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



Stuck Key?

2023-12-11 Thread Charles Curley
I see this sort of message while booting and it continues to show up in
dmesg after booting and after XFCE is up and running:

[  414.569532] atkbd serio0: Unknown key pressed (translated set 2,
code 0xbe on isa0060/serio0). [  414.569560] atkbd serio0: Use
'setkeycodes e03e ' to make it known. [  414.574626] atkbd
serio0: Unknown key released (translated set 2, code 0xbe on
isa0060/serio0). [  414.574661] atkbd serio0: Use 'setkeycodes e03e
' to make it known. [  415.580218] atkbd serio0: Unknown key
pressed (translated set 2, code 0xbe on isa0060/serio0). [  415.580247]
atkbd serio0: Use 'setkeycodes e03e ' to make it known. [
415.585267] atkbd serio0: Unknown key released (translated set 2, code
0xbe on isa0060/serio0). [  415.585295] atkbd serio0: Use 'setkeycodes
e03e ' to make it known. [  416.607258] atkbd serio0: Unknown
key pressed (translated set 2, code 0xbe on isa0060/serio0). [
416.607286] atkbd serio0: Use 'setkeycodes e03e ' to make it
known. [  416.612178] atkbd serio0: Unknown key released (translated
set 2, code 0xbe on isa0060/serio0). [  416.612206] atkbd serio0: Use
'setkeycodes e03e ' to make it known. [  417.617158] atkbd
serio0: Unknown key pressed (translated set 2, code 0xbe on
isa0060/serio0).

How do I determine which key is problematic? Or do I have a defective
keyboard?

-- 
Does anybody read signatures any more?

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



Re: Unattended Upgrades Ran Anyway.

2023-12-10 Thread Charles Curley
On Sun, 10 Dec 2023 17:27:39 -0500
Greg Wooledge  wrote:

> > 
> > Thanks. I will disable as well.  
> 
> Disable *what*?  Disabling a .service unit which is triggered by a
> timer event isn't going to stop it from running.

Sorry. I had already stopped the apt-daily-upgrade.timer, which
triggers the unattended upgrade service. (The couldn't give them
similar names to act as a mnemonic?) This refers to disabling the
unattended upgrade service.

> 
> *Masking* a .service would prevent it from running when requested by a
> timer event.
> 
> Apart from that, you'd have to remove the timer event.  However you do
> that.  I've never used systemd timers yet.

I *think* that's got it. Now to be sure I remember all this when it
comes time to allow automatic upgrades again.

-- 
Does anybody read signatures any more?

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



Re: IMPORTANT: do NOT upgrade to new stable point release

2023-12-10 Thread Charles Curley
On Sat, 9 Dec 2023 13:09:23 -0500
Dan Ritter  wrote:

> https://fulda.social/@Ganneff/111551628003050712
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057843
> 
> The new kernel release is reported to contain an ext4 data
> corruption bug. It's prudent not to upgrade, or if you have
> started to upgrade, not to reboot, until a new kernel release
> is prepared.
> 
> 
> -dsr-
> 

It appears the new, repaired, kernel and minor version of Bookworm have
landed. Now, who wants to live dangerously? :-)

root@tiassa:~# apt update
Get:1 http://security.debian.org/debian-security bookworm-security InRelease 
[48.0 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 Packages [8,787 kB]
Get:4 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Fetched 15.1 MB in 3s (4,432 kB/s) 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
38 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 
'Version' value from '12.3' to '12.4'
root@tiassa:~# apt list --upgradable
Listing... Done
…
libudev1/stable 252.19-1~deb12u1 amd64 [upgradable from: 252.17-1~deb12u1]
linux-image-amd64/stable 6.1.66-1 amd64 [upgradable from: 6.1.55-1]
linux-libc-dev/stable 6.1.66-1 amd64 [upgradable from: 6.1.55-1]
…
root@tiassa:~# 


-- 
Does anybody read signatures any more?

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



  1   2   3   4   5   6   7   8   9   10   >