Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Marco
Am 11.11.2023 06:58 schrieb Susmita/Rajib:

> mysqli
> 
> MysqlI Support => enabled
> Client API library version => mysqlnd 7.4.33
> Active Persistent Links => 0
> Inactive Persistent Links => 0
> Active Links => 0

Can you now try to create your own php script that makes use of that to
test it?



Re: it would be nice is Debian live includes the Wazuh unified XDR and SIEM protection framework ...

2023-11-10 Thread Marco
Am 11.11.2023 01:26 schrieb Albretch Mueller:

>  the politics behind the "cloud trial" may not be compatible with
> Debian, but I don't know if there is a way to work around such issues
> or just use the other parts of it:

Why can't you install it manually, maybe with a script?



Re: limit on attachment in mail to list

2023-11-10 Thread tomas
On Fri, Nov 10, 2023 at 07:01:57PM -0600, Nicholas Geovanis wrote:
> On Fri, Nov 10, 2023, 4:54 AM Brad Rogers  wrote:
> 
> > On Fri, 10 Nov 2023 18:10:12 +0800
> > hlyg  wrote:
> >
> > Hello hlyg,
> > 
> > (sweeping generalisation coming)
> > People that upload such images are lazy, arrogant, and suffer
> > from a massive sense of entitlement.
> >
> 
> Or maybe they are used to the more recently-devised file sharing services
> which let you exchange zillions of much larger files [...]

Maybe. In any case, the insults seem unnecessary and over the top
(this goes to Brad, not to Nicholas).

Debian's policy of limiting message size is understandable, given
the limits on available resources.

After all, it is a free service, and the project hasn't a river of
investor capital to burn through, betting on the sale of harvested
user's behavioural surplus.

Still, everyone has the right to a honest mistake without being
called arrogant and other things.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: it would be nice is Debian live includes the Wazuh unified XDR and SIEM protection framework ...

2023-11-10 Thread tomas
On Sat, Nov 11, 2023 at 01:26:46AM +, Albretch Mueller wrote:

[...]

> // __ this Cybersecurity Platform is FREE

In which case you aren't the customer, but the cattle.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: AW: Anybody familiar with dd (copy)?

2023-11-10 Thread Max Nikulin

On 10/11/2023 00:36, Schwibinger Michael wrote:

$ dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M
dd: konnte '/dev/sr0' nicht öffnen: Kein Medium gefunden


Is it real disk or peace of plastic that is put into the box to protect 
stack of recordable disks?





Re: How to use dmsetuup?

2023-11-10 Thread gene heskett

On 11/10/23 19:46, David Christensen wrote:

On 11/8/23 02:20, gene heskett wrote:
But before I do yet another reinstall, 24th or so. two of the sata 
2t's are installed, and I'm tempted to rsych the raid to one of them 
to see if reassigning /home to a copy of /home does away with this 
horrible lag I'm wanting to blame on the raid10.



Testing your applications for file system issues using a single non-RAID 
device with one partition and an ext4 file system is a good 
trouble-shooting technique.  But, see my next comment.



They are empty except for the ext4 install and if pvcreate just slams 
the new format regardless, I'll rsync the 2T /home back to the raid10, 
and unplug that controller before I put the install dvd in. I also 
have another sata controller, this one with all 16 ports installed.


And I just looked at tht pair, and acc gparted they have both been 
pvcreated, so I'll leave then alone and steal the dvd cable, puttin a 
new 2T drive if I can rig power to it.



As I previously suggested, and as you previously seemed agreeable to, I 
think you should stop working on the Asus and build a backup server.


I'm thinking of making a slow one out of a headless bananapi-5 with a 2T 
on every usb3 port as a raid, type to be determined, I rather like the 
idea of parity being striped across all 4 disks. I have the drives but 
not sure of the usb-sata adapters, need to goto the garage and retrieve 
that box. That, and there's only one of me ;o)>  And me is 89 yo with a 
worn out body. A pacemaker and some new parts in my heart too.


Startech adapters are working very well to a pair of smaller SSD's on 
the rpi4b that runs my old (80+) Sheldon 11"x54" lathe, teaching it new 
tricks it never dreamed of doing 80+ years ago. Metric or imperial, it 
doesn't care.  Even cuts threads I've invented.  I have a complete 
linuxcnc buildbot on that pi. The latest bpi runs at 2 gigahertz which 
is about twice as fast as the pi's.


Thanks for the advice, ATM I'm trying to bring a big new 80 lb 3d 
printer to life. If it works well I might throw some more sheckles into 
a farm of them.


Good disaster preparedness expedites system operations, maintenance, and 
change -- because you can take risky steps and recover if those steps fail.



This mobo also claims to be able to do the intel version of a raid on 
its own sata ports.  Does anyone here have experience doing that?



Yes, but I prefer software RAID -- because I can move the disks to 
another computer with different hardware and the arrays will still work. 
  Hardware RAID typically requires compatible hardware.



David

.

Understood before hand.  Thanks David, take care & stay well.

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



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Susmita/Rajib
From: "Marco M." 
Date: Fri, 10 Nov 2023 20:10:02 +0100
Message-id: <[🔎] 20231110201002.606c1...@ryz.home.arpa>
>
> Am 10.11.2023 um 23:48:35 Uhr schrieb Susmita/Rajib:
>
> > But the result remains the same.
>
> Can you use the php info function to get information about the php
> stuff that is being loaded?

Sure.

$ php --info
phpinfo()
PHP Version => 7.4.33

System => Linux debianLaptopuser 5.10.0-20-amd64 #1 SMP Debian
5.10.158-2 (2022-12-13) x86_64
Build Date => Jun  9 2023 16:51:37
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/7.4/cli
Loaded Configuration File => /etc/php/7.4/cli/php.ini
Scan this dir for additional .ini files => /etc/php/7.4/cli/conf.d
Additional .ini files parsed => /etc/php/7.4/cli/conf.d/10-mysqlnd.ini,
/etc/php/7.4/cli/conf.d/10-opcache.ini,
/etc/php/7.4/cli/conf.d/10-pdo.ini,
/etc/php/7.4/cli/conf.d/15-xml.ini,
/etc/php/7.4/cli/conf.d/20-calendar.ini,
/etc/php/7.4/cli/conf.d/20-ctype.ini,
/etc/php/7.4/cli/conf.d/20-dom.ini,
/etc/php/7.4/cli/conf.d/20-exif.ini,
/etc/php/7.4/cli/conf.d/20-ffi.ini,
/etc/php/7.4/cli/conf.d/20-fileinfo.ini,
/etc/php/7.4/cli/conf.d/20-ftp.ini,
/etc/php/7.4/cli/conf.d/20-gettext.ini,
/etc/php/7.4/cli/conf.d/20-iconv.ini,
/etc/php/7.4/cli/conf.d/20-json.ini,
/etc/php/7.4/cli/conf.d/20-mysqli.ini,
/etc/php/7.4/cli/conf.d/20-pdo_mysql.ini,
/etc/php/7.4/cli/conf.d/20-phar.ini,
/etc/php/7.4/cli/conf.d/20-posix.ini,
/etc/php/7.4/cli/conf.d/20-readline.ini,
/etc/php/7.4/cli/conf.d/20-shmop.ini,
/etc/php/7.4/cli/conf.d/20-simplexml.ini,
/etc/php/7.4/cli/conf.d/20-sockets.ini,
/etc/php/7.4/cli/conf.d/20-sysvmsg.ini,
/etc/php/7.4/cli/conf.d/20-sysvsem.ini,
/etc/php/7.4/cli/conf.d/20-sysvshm.ini,
/etc/php/7.4/cli/conf.d/20-tokenizer.ini,
/etc/php/7.4/cli/conf.d/20-xmlreader.ini,
/etc/php/7.4/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.4/cli/conf.d/20-xsl.ini

PHP API => 20190902
PHP Extension => 20190902
Zend Extension => 320190902
Zend Extension Build => API320190902,NTS
PHP Extension Build => API20190902,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
DTrace Support => available, disabled

Registered PHP Streams => https, ftps, compress.zlib, php, file, glob,
data, http, ftp, phar
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls,
tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => zlib.*, string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed, dechunk,
convert.iconv.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies


 ___


Configuration

calendar

Calendar support => enabled

Core

PHP Version => 7.4.33

Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
expose_php => On => On
extension_dir => /usr/lib/php/20190902 => /usr/lib/php/20190902
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => #FF8000 =>
#FF8000
highlight.default => #BB =>
#BB
highlight.html => #00 => #00
highlight.keyword => #007700 =>
#007700
highlight.string => #DD =>
#DD
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/share/php => .:/usr/share/php
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => On => On
log_errors_max_len => 1024 => 1024
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
max_multipart_body_parts => -1 => -1
memory_limit => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision =

it would be nice is Debian live includes the Wazuh unified XDR and SIEM protection framework ...

2023-11-10 Thread Albretch Mueller
 the politics behind the "cloud trial" may not be compatible with
Debian, but I don't know if there is a way to work around such issues
or just use the other parts of it:

 https://wazuh.com/

// __ this Cybersecurity Platform is FREE

 https://www.youtube.com/watch?v=i68atPbB8uQ
~
 lbrtchx



Re: limit on attachment in mail to list

2023-11-10 Thread Nicholas Geovanis
On Fri, Nov 10, 2023, 4:54 AM Brad Rogers  wrote:

> On Fri, 10 Nov 2023 18:10:12 +0800
> hlyg  wrote:
>
> Hello hlyg,
> 
> (sweeping generalisation coming)
> People that upload such images are lazy, arrogant, and suffer
> from a massive sense of entitlement.
>

Or maybe they are used to the more recently-devised file sharing services
which let you exchange zillions of much larger files than this list allows,
but every hour. On any given day I might listen to several hundred gigs of
industrial, goth and EBM music on YouTube and Bandcamp, for free. Not even
0.1% of what was added only that one day just in those 3 styles of music.

It's a different use-case but the thoughts are all the same: Have you ever
used, say, an S3 bucket for your Debian EC2 VM in Amazon cloud?

-- 
>  Regards  _   "Valid sig separator is {dash}{dash}{space}"
>  / )  "The blindingly obvious is never immediately apparent"
> / _)rad   "Is it only me that has a working delete key?"
> If a thought came in your head it would die of loneliness
> I Don't Like You - Stiff Little Fingers
>


Re: How to use dmsetuup?

2023-11-10 Thread David Christensen

On 11/8/23 02:20, gene heskett wrote:
But before I do yet another reinstall, 24th or so. two of the sata 2t's 
are installed, and I'm tempted to rsych the raid to one of them to see 
if reassigning /home to a copy of /home does away with this horrible lag 
I'm wanting to blame on the raid10.



Testing your applications for file system issues using a single non-RAID 
device with one partition and an ext4 file system is a good 
trouble-shooting technique.  But, see my next comment.



They are empty except for the ext4 install and if pvcreate just slams 
the new format regardless, I'll rsync the 2T /home back to the raid10, 
and unplug that controller before I put the install dvd in. I also have 
another sata controller, this one with all 16 ports installed.


And I just looked at tht pair, and acc gparted they have both been 
pvcreated, so I'll leave then alone and steal the dvd cable, puttin a 
new 2T drive if I can rig power to it.



As I previously suggested, and as you previously seemed agreeable to, I 
think you should stop working on the Asus and build a backup server.



Good disaster preparedness expedites system operations, maintenance, and 
change -- because you can take risky steps and recover if those steps fail.



This mobo also claims to be able to do the intel version of a raid on 
its own sata ports.  Does anyone here have experience doing that?



Yes, but I prefer software RAID -- because I can move the disks to 
another computer with different hardware and the arrays will still work. 
 Hardware RAID typically requires compatible hardware.



David



Re: balenaEtcher installation problems

2023-11-10 Thread Gary L. Roach



On 11/9/23 18:22, Jeffrey Walton wrote:

On Thu, Nov 9, 2023 at 8:47 PM Gary L. Roach  wrote:

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD FX(tm)-4350 Quad-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD CAICOS
Manufacturer: MSI
Product Name: MS-7974
System Version: 1.0

I have been trying to install balenaEtcher for 2 days but can't get rid of the 
following errors :

ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[10145:1109/120137.666202:ERROR:env.cc(226)] The platform failed to initialize. 
 Exiting

I have tried everything I could find with google searches to no avail. My 
$DISPLAY variable is blank which may be the source of the problem.But what 
should it contain?

I know that the information I am giving is a bit sketchy but is the best I can 
do at this point. There are lots of fixes listed on the internet but none of 
them work. I am using the .deb file down loaded from the balena web page and 
installing it with dpkg -i .

Any help will be sincerely appreciated.

Try `export DISPLAY=":0.0"`.

Jeff


I just solved the problem. I was missing 4 dependencies. One must use 
the .deb file not the appimage file and run dpkg -I  and 
install the missing items.


I hope this helps others

Thanks

Gary R




Re: Hardware Misses on MacBook Air M1 2020

2023-11-10 Thread Timothy M Butterworth
On Fri, Nov 10, 2023 at 9:16 AM Kent West  wrote:

>
>
> On Thu, Nov 9, 2023 at 10:39 PM Timothy M Butterworth <
> timothy.m.butterwo...@gmail.com> wrote:
>
>>
>>
>> On Thu, Nov 9, 2023 at 11:31 PM Kent West  wrote:
>>
>>> I have an M1-chip 2020 MacBook Air on which I have dual-booted with
>>> Debian 12 initially, then "upgraded" to sid (in hopes of getting better
>>> hardware support). It has several hardware ... glitches, and my google-fu
>>> is failing me in finding solutions. I'm hoping someone here can help.
>>>
>>> 
>>>
>>
>> Have you considered just running Debian in a Virtual Machine until
>> hardware support matures.
>>
>
>
> I started to look at that yesterday, but apparently VirtualBox doesn't
> support the Mac's M1 chip, and QEMU looked a bit daunting on the Mac, so I
> gave up on that pursuit for now. The issues I'm currently having seem less
> painful to me than getting a VM up and running on the M1 Mac.
>

On Mac most people use Parallels for virtual machines.
https://www.parallels.com/


> --
> Kent West<")))><
> IT Support / Client Support
> Abilene Christian University
> Westing Peacefully - http://kentwest.blogspot.com
>


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


Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Marco M.
Am 10.11.2023 um 23:48:35 Uhr schrieb Susmita/Rajib:

> But the result remains the same.

Can you use the php info function to get information about the php
stuff that is being loaded?



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Susmita/Rajib
From: "Marco M." 
Date: Fri, 10 Nov 2023 17:40:56 +0100
Message-id: <[🔎] 20231110174056.3760b...@ryz.home.arpa>

[ ... ]
>
> That is the old Sysvinit method.
> Use systemd tools instead
>
> systemctl status mysql

Thank you, Mr. M. Checked.
>From superuser:
● mariadb.service - MariaDB 10.5.21 database server
 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled;
vendor preset: enabled)
 Active: active (running) since Fri 2023-11-10 21:05:24 IST; 2h 26min ago
   Docs: man:mariadbd(8)
 https://mariadb.com/kb/en/library/systemd/
   Main PID: 79681 (mariadbd)
 Status: "Taking your SQL requests now..."
  Tasks: 8 (limit: 4565)
 Memory: 59.7M
CPU: 2.445s
 CGroup: /system.slice/mariadb.service
 └─79681 /usr/sbin/mariadbd

Nov 10 21:05:24 debLaptop mariadbd[79681]: 2023-11-10 21:05:24 0
[Note] Reading of all Master_info entries succeeded
Nov 10 21:05:24 debLaptop mariadbd[79681]: 2023-11-10 21:05:24 0
[Note] Added new Master_info '' to hash table
Nov 10 21:05:24 debLaptop mariadbd[79681]: 2023-11-10 21:05:24 0
[Note] /usr/sbin/mariadbd: ready for connections.
Nov 10 21:05:24 debLaptop mariadbd[79681]: Version:
'10.5.21-MariaDB-0+deb11u1'  socket: '/run/mysqld/mysqld.sock'  port:
3306  Debian 11
Nov 10 21:05:24 debLaptop systemd[1]: Started MariaDB 10.5.21 database server.
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: Looking for
'mariadb' as: /usr/bin/mariadb
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: Looking for
'mariadb-check' as: /usr/bin/mariadb-check
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: This
installation of MariaDB is already upgraded to 10.5.21-MariaDB.
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: There is no
need to run mysql_upgrade again for 10.5.21-MariaDB.
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: You can use
--force if you still want to run mysql_upgrade

As a normal user:
$ systemctl status mysql
● mariadb.service - MariaDB 10.5.21 database server
 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled;
vendor preset: enabled)
 Active: active (running) since Fri 2023-11-10 21:05:24 IST; 2h 42min ago
   Docs: man:mariadbd(8)
 https://mariadb.com/kb/en/library/systemd/
   Main PID: 79681 (mariadbd)
 Status: "Taking your SQL requests now..."
  Tasks: 8 (limit: 4565)
 Memory: 59.3M
CPU: 2.589s
 CGroup: /system.slice/mariadb.service
 └─79681 /usr/sbin/mariadbd

But the result remains the same.



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread tomas
On Fri, Nov 10, 2023 at 01:01:28PM -0500, Dan Ritter wrote:
> to...@tuxteam.de wrote: 

[...]

> > Wait a minute: dropbear is supposed to run in the initramfs, while
> > sshd will be active afterwards, after pivot-root and all that, right?
> > 
> > Then I don't quite get why they should collide at all.
> 
> Because dropbear *can* be run as an ordinary sshd, and some
> people do.

Ugh. Re-reading I realise that I was ambiguous. I meant
"in this case", not in general. Of course, you're right.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread Dan Ritter
to...@tuxteam.de wrote: 
> On Fri, Nov 10, 2023 at 03:32:53PM +, fxkl4...@protonmail.com wrote:
> > On Fri, 10 Nov 2023, Vincent Lefevre wrote:
> > 
> > > On 2023-11-10 10:57:21 +0100, Michael wrote:
> > >> On Thursday, 9 November 2023 19:08:25 CET, Greg Wooledge wrote:
> > >>> No, this is not a normal phenomenon for bookworm upgrades.  I've never
> > >>> heard of it happening to anyone before.
> > >>
> > >> i disagree. i had the same problem b/c i also had dropbear installed.
> > >
> > > It would be interesting to know why dropbear got installed
> > 
> > at sometime in the distance past i thought it would be handy
> > my initial ramdisk is set up so i can remotely unlock the filesystems
> 
> Wait a minute: dropbear is supposed to run in the initramfs, while
> sshd will be active afterwards, after pivot-root and all that, right?
> 
> Then I don't quite get why they should collide at all.

Because dropbear *can* be run as an ordinary sshd, and some
people do.

-dsr-



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread tomas
On Fri, Nov 10, 2023 at 03:32:53PM +, fxkl4...@protonmail.com wrote:
> On Fri, 10 Nov 2023, Vincent Lefevre wrote:
> 
> > On 2023-11-10 10:57:21 +0100, Michael wrote:
> >> On Thursday, 9 November 2023 19:08:25 CET, Greg Wooledge wrote:
> >>> No, this is not a normal phenomenon for bookworm upgrades.  I've never
> >>> heard of it happening to anyone before.
> >>
> >> i disagree. i had the same problem b/c i also had dropbear installed.
> >
> > It would be interesting to know why dropbear got installed
> 
> at sometime in the distance past i thought it would be handy
> my initial ramdisk is set up so i can remotely unlock the filesystems

Wait a minute: dropbear is supposed to run in the initramfs, while
sshd will be active afterwards, after pivot-root and all that, right?

Then I don't quite get why they should collide at all.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Marco M.
Am 10.11.2023 um 21:51:41 Uhr schrieb Susmita/Rajib:

> I installed them all. Then I tried to follow the instructions:
> # sudo /etc/init.d/mysql status
> sudo: /etc/init.d/mysql: command not found

That is the old Sysvinit method.
Use systemd tools instead

systemctl status mysql



How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Susmita/Rajib
Dear illustrious leaders and the senior members, Debian-user ML,

I liked the following two papers of Prof. Shri C K Raju:
ajol-file-journals_601_articles_221195_submission_proof_221195-7072-545591-1-10-20220325.pdf
https://www.ajol.info/index.php/ajct/article/download/221195/210502
ajol-file-journals_601_articles_222634_submission_proof_222634-7072-544552-1-10-20220309.pdf
https://www.ajol.info/index.php/ajct/article/download/222634/210050

and I tried to read Prof. Shri C K Raju's  blog pages, say the one at
http://ckraju.net/blog/?p=189

I received a Firefox-esr notice:
"Your PHP installation appears to be missing the MySQL extension which
is required by WordPress."

Searching the internet, I reached the Stack Overflow page with the
partial title:
Your PHP installation appears to be missing the MySQL extension which
is required by WordPress
at:
https://stackoverflow.com/questions/17694568/php-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-r#22779915

I followed both the first solution and the approved solution. I
searched in synaptic:
mysql-server
php5-mysql
apache

The nearest that are available in Debian Bullseye :
default-mysql-server
default-mysql-server-core
php-mysql
php7.4-mysql
apache2
php-db
along with their dependencies.

I installed them all. Then I tried to follow the instructions:
# sudo /etc/init.d/mysql status
sudo: /etc/init.d/mysql: command not found

# sudo /etc/init.d/mysql start
sudo: /etc/init.d/mysql: command not found

# /etc/init.d/apache2 restart
Restarting apache2 (via systemctl): apache2.service.

The blog pages still fail to load.

Please feel free to advise.

Best wishes,
Rajib
Etc.



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread David Wright
On Fri 10 Nov 2023 at 15:32:53 (+), fxkl4...@protonmail.com wrote:
> On Fri, 10 Nov 2023, Vincent Lefevre wrote:
> 
> > On 2023-11-10 10:57:21 +0100, Michael wrote:
> >> On Thursday, 9 November 2023 19:08:25 CET, Greg Wooledge wrote:
> >>> No, this is not a normal phenomenon for bookworm upgrades.  I've never
> >>> heard of it happening to anyone before.
> >>
> >> i disagree. i had the same problem b/c i also had dropbear installed.
> >
> > It would be interesting to know why dropbear got installed
> 
> at sometime in the distance past i thought it would be handy
> my initial ramdisk is set up so i can remotely unlock the filesystems

You may have been relying on a race condition as to whether
openssh or dropbear started first, and were just lucky in bullseye.

The OP's "for some reason the upgrade switched to dropbear" is
somewhat ambiguous, but it looks like the same problem. Perhaps
Greg interpreted that "switched to" as meaning "installed as
a dependency".

Cheers,
David.



Re: Help ! No syslog anymore

2023-11-10 Thread Michael Biebl

The service file you posted is not a good idea. Please remove it again.


If moving the log file out of /tmp is not an option, please run
systemctl edit rsyslog.service
and disable PrivateTmp via

[Service]
PrivateTmp=no


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread fxkl47BF
On Fri, 10 Nov 2023, Vincent Lefevre wrote:

> On 2023-11-10 10:57:21 +0100, Michael wrote:
>> On Thursday, 9 November 2023 19:08:25 CET, Greg Wooledge wrote:
>>> No, this is not a normal phenomenon for bookworm upgrades.  I've never
>>> heard of it happening to anyone before.
>>
>> i disagree. i had the same problem b/c i also had dropbear installed.
>
> It would be interesting to know why dropbear got installed

at sometime in the distance past i thought it would be handy
my initial ramdisk is set up so i can remotely unlock the filesystems



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread Vincent Lefevre
On 2023-11-10 10:57:21 +0100, Michael wrote:
> On Thursday, 9 November 2023 19:08:25 CET, Greg Wooledge wrote:
> > No, this is not a normal phenomenon for bookworm upgrades.  I've never
> > heard of it happening to anyone before.
> 
> i disagree. i had the same problem b/c i also had dropbear installed.

It would be interesting to know why dropbear got installed (if
openssh-server was already installed, this is rather surprising),
e.g. with "aptitude why dropbear".

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: Hardware Misses on MacBook Air M1 2020

2023-11-10 Thread Kent West
On Thu, Nov 9, 2023 at 10:39 PM Timothy M Butterworth <
timothy.m.butterwo...@gmail.com> wrote:

>
>
> On Thu, Nov 9, 2023 at 11:31 PM Kent West  wrote:
>
>> I have an M1-chip 2020 MacBook Air on which I have dual-booted with
>> Debian 12 initially, then "upgraded" to sid (in hopes of getting better
>> hardware support). It has several hardware ... glitches, and my google-fu
>> is failing me in finding solutions. I'm hoping someone here can help.
>>
>> 
>>
>
> Have you considered just running Debian in a Virtual Machine until
> hardware support matures.
>


I started to look at that yesterday, but apparently VirtualBox doesn't
support the Mac's M1 chip, and QEMU looked a bit daunting on the Mac, so I
gave up on that pursuit for now. The issues I'm currently having seem less
painful to me than getting a VM up and running on the M1 Mac.


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Hardware Misses on MacBook Air M1 2020

2023-11-10 Thread Kent West
[Sorry; sent to Jeremy only the first time; meant to send it to the list.]

Sorry, no clue. Don't even know how I'd ascertain that, but if you can give
me a simple test, I'd be happy to try it for you.

On Thu, Nov 9, 2023 at 7:22 PM jeremy ardley 
wrote:

>
> On 10/11/23 04:44, Kent West wrote:
> > I have an M1-chip 2020 MacBook Air on which I have dual-booted with
> > Debian 12 initially, then "upgraded" to sid (in hopes of getting
> > better hardware support).
>
>
> Out of curiosity, does Debian 12 support the M1 NPU (Neural Processing
> Unit) ?
>
>

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: limit on attachment in mail to list

2023-11-10 Thread Greg Wooledge
On Fri, Nov 10, 2023 at 06:40:45AM +0100, to...@tuxteam.de wrote:
> But whose list admins. My suspicion lies with the Outlook ones
> (either they don't signal the rejection, or they eat the bounce,
> or they had an Azure dropout or whatever). They are known to
> behave erratically already.

I see a few choices here.

1) Someone ELSE can try to send a 1.2 MB image attachment to this
   mailing list, PRAY TO $DEITY THAT IT FAILS, and then report to us
   in detail what happened.

2) Someone could ASK THE DEBIAN LIST ADMINS what the exact criteria are.

3) We could DROP THIS WHOLE FREAKING DISCUSSION.  Sending image attachments
   of any size to a large mailing list is BAD and SHOULD NOT HAVE BEEN
   DONE TO BEGIN WITH.

I, personally, do not want to be the asshole who sends a 1.2 MB image
to a mailing list, just in case it somehow gets through, just to test
something that doesn't need to be tested.



Re: Password managers

2023-11-10 Thread Peter Hillier-Brook

On 10/11/2023 10:32, Timothy M Butterworth wrote:



On Fri, Nov 10, 2023 at 5:25 AM Timothy M Butterworth 
> wrote:




On Fri, Nov 10, 2023 at 3:11 AM John Conover mailto:cono...@panix.com>> wrote:

John Darrah writes:
 > On Thu, 2023-11-09 at 16:03 -0800, pa...@quillandmouse.com
 wrote:
 > > Folks:
 > >
 > > Does anyone know of a password manager which will store a
variety of
 > > user-defined information for each login, and not store that
 > > information
 > > on the internet (and which is free as in beer)?
 > >
 >
 > Take a look at 'secrets' which is a Gnome native app. It uses a
 > database and key file compatible with Password Safe.


I have been looking for a password manager that was as simple and
easy to use as password manager and Secrets is definitely it. Thanks
so much for pointing out this program.


I spoke to soon Password Safe is now available for Linux. 
https://sourceforge.net/projects/passwordsafe/files/Linux/1.18.0/ 
 I 
used to run Password Safe in Wine. It is so good to see that it has been 
ported to linux.


The Linux port of PasswordSafe has been around for several years: I 
couldn't be without it!


Peter HB



Re: Password managers

2023-11-10 Thread Eric S Fraga
On Thursday,  9 Nov 2023 at 12:46, Todd Zullinger wrote:
> You may like pass[1].  It's a bash script which uses gpg, so
> it's somewhat familiar to what you've written in a sense.

+1

*and* it has an Emacs interface which is very easy to use.

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-06-19) on Debian 12.0



Re: limit on attachment in mail to list

2023-11-10 Thread Brad Rogers
On Fri, 10 Nov 2023 18:10:12 +0800
hlyg  wrote:

Hello hlyg,

>how do you defend debian's vagueness that Large attachments are
>discouraged?

It's not really a matter of vagueness on Debian's part, but politeness
on the sender's part.

It's easy to forget that not everyone has an always on, unlimited
download, internet account.  For those people still on dial up, with
limited data allowances, we should avoid attachments.  Especially large
ones.

Personally, I'm dismayed that so many lists now allow multiple megabyte
attachments to be sent to their lists.  Quite often, I see 80-90kbyte
(and more) images that show an error requester with text that could be
typed out in 60 characters or less.  There's no need for that image to
be sent.

(sweeping generalisation coming)
People that upload such images are lazy, arrogant, and suffer
from a massive sense of entitlement.

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
If a thought came in your head it would die of loneliness
I Don't Like You - Stiff Little Fingers


pgpcB7xFEO6ac.pgp
Description: OpenPGP digital signature


Re: Password managers

2023-11-10 Thread Timothy M Butterworth
On Fri, Nov 10, 2023 at 5:25 AM Timothy M Butterworth <
timothy.m.butterwo...@gmail.com> wrote:

>
>
> On Fri, Nov 10, 2023 at 3:11 AM John Conover  wrote:
>
>> John Darrah writes:
>> > On Thu, 2023-11-09 at 16:03 -0800, pa...@quillandmouse.com wrote:
>> > > Folks:
>> > >
>> > > Does anyone know of a password manager which will store a variety of
>> > > user-defined information for each login, and not store that
>> > > information
>> > > on the internet (and which is free as in beer)?
>> > >
>> >
>> > Take a look at 'secrets' which is a Gnome native app. It uses a
>> > database and key file compatible with Password Safe.
>>
>
> I have been looking for a password manager that was as simple and easy to
> use as password manager and Secrets is definitely it. Thanks so much for
> pointing out this program.
>

I spoke to soon Password Safe is now available for Linux.
https://sourceforge.net/projects/passwordsafe/files/Linux/1.18.0/ I used to
run Password Safe in Wine. It is so good to see that it has been ported to
linux.


>
>>
>> Pass works well, too. http://www.passwordstore.org/.
>> Uses gpg encryption.
>>
>> John
>>
>> --
>>
>> John Conover, cono...@panix.com, http://www.johncon.com/
>>
>>
>
> --
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
> ⠈⠳⣄⠀⠀
>


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


Re: Password managers

2023-11-10 Thread Timothy M Butterworth
On Fri, Nov 10, 2023 at 3:11 AM John Conover  wrote:

> John Darrah writes:
> > On Thu, 2023-11-09 at 16:03 -0800, pa...@quillandmouse.com wrote:
> > > Folks:
> > >
> > > Does anyone know of a password manager which will store a variety of
> > > user-defined information for each login, and not store that
> > > information
> > > on the internet (and which is free as in beer)?
> > >
> >
> > Take a look at 'secrets' which is a Gnome native app. It uses a
> > database and key file compatible with Password Safe.
>

I have been looking for a password manager that was as simple and easy to
use as password manager and Secrets is definitely it. Thanks so much for
pointing out this program.



>
> Pass works well, too. http://www.passwordstore.org/.
> Uses gpg encryption.
>
> John
>
> --
>
> John Conover, cono...@panix.com, http://www.johncon.com/
>
>

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


Re: limit on attachment in mail to list

2023-11-10 Thread hlyg



On 11/10/23 13:26, to...@tuxteam.de wrote:


You don't know what happened afterwards. Perhaps your provider threw
it away silently. Perhaps the bounce message itself got lost.

I see you are @outlook.com. This is an... idiosyncratic provider: they
invent strange rules "to protect you" (in reality rather to protect
their business model). Perhaps they bounce the bounce message (Microsoft
is like that) and then you'll never know your mail got lost.

As things stand I trust the Debian mail admins more than the Outlook
ones to play by the rules [1]. Much, much more.

Cheers

[1] one basic rule of mail is that, when you've accepted one you
are responsible for it.



Thank tomas!

my experience with mail providers are limited

i won't investigate further (send big mail thru other mail provider) as 
this isn't big issue for me and my time/energy is limited


how do you defend debian's vagueness that Large attachments are discouraged?

definition of large might change as network connection and storage 
device become cheap. this might seem naive as admin face malicious 
attack. there might be other considerations


after all debian list and outlook are free




Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread Michael

On Thursday, 9 November 2023 19:08:25 CET, Greg Wooledge wrote:

No, this is not a normal phenomenon for bookworm upgrades.  I've never
heard of it happening to anyone before.



i disagree. i had the same problem b/c i also had dropbear installed. for 
some reason the dropbear daemon is started first in bookworm, so port 22 
was already in use when sshd was started. reading the log file (aka 
systemd-journal) was very enlightening.


a simple 


 systemctl stop dropbear.service
 systemctl disable dropbear.service
 systemctl start ssh.service

was enough to solve the problem. of course, one needs access to the 
console...


greetings...



Re: Password managers

2023-11-10 Thread Minecraftchest1
I can also recomend a Keepass compatible password manager. I am personally 
using the offical Keepass2 app over Mono, but KeePassXC has also worked well. I 
have been using Syncthing to sync it between my devices, include my Android 
smartphone. For Android, I have found KeepassDX and Keepass2Android to work 
well.

One nice thing about Keepass is that in addition to the freeform notes field, 
you can also have custom fields, as well as atrach files to each entry. There 
is also a number of plugins you can use with the offical app as well. 

Another option that should wotk for you is Vaultwarden. It is an open source, 
api compatible version of the Bitwarden server you can self-host in docker. You 
can use it with the offical Bitwarden (select change server at login if I 
recall correctly). It has all of the same features as the hosted version, and 
even uses the same web client.

On November 9, 2023 6:48:35 PM UTC, "Michael Kjörling" <2695bd53d...@ewoof.net> 
wrote:
>On 9 Nov 2023 11:05 -0500, from pa...@quillandmouse.com:
>> Does anyone know of a password manager which will store a variety of
>> user-defined information for each login, and not store that information
>> on the internet (and which is free as in beer)?
>
>KeepassXC if you want a primarily GUI solution which also happens to
>be open source. (There's also a command-line version keepassxc-cli
>which can either be driven from the command line or used interactively
>in a terminal session.)
>
>pass if you want something which mimics your homegrown solution.
>
>Any decent password manager should have a free-form notes field and I
>can confirm that KeepassXC 2.7.4 (which is the version currently
>packaged in Bookworm) searches in the notes field when I type into the
>search field in the GUI.
>
>-- 
>Michael Kjörling 🔗 https://michael.kjorling.se
>“Remember when, on the Internet, nobody cared that you were a dog?”
>


Re: Help ! No syslog anymore

2023-11-10 Thread Bhasker C V
Thanks very  much.
Adding bind path did not help. I found that if I run rsyslog from
command-line as unconfined_t, it works well. It is just the extra systemd
locks which fail
I have since written a simple systemd unit file to make rsyslog work and it
has started working

# /etc/systemd/system/user-rsyslog.service
[Unit]
Description=Simple Rsyslog service
After=network.target auditd.service

[Service]
Type=simple
ExecStart=pkill -9 -f rsyslogd;/usr/sbin/rsyslogd -n -iNONE

[Install]
WantedBy=multi-user.target

On Wed, Nov 8, 2023 at 4:47 PM Sven Joachim  wrote:

> On 2023-11-08 08:26 +, Bhasker C V wrote:
>
> >  I moved my syslog to a different location  '/tmp/server.log'
>
> A rather strange decision, since /tmp is usually pruned on reboot.
>
> > This was working all fine until I moved to selinux in enforcing mode.
> >
> > I have tried putting selinux in permissive state and that too did not
> help
>
> Most likely your problem has nothing to do with selinux, but is rather
> due to the hardening features implemented in rsyslog 8.2310.0-1.  Among
> other things, rsyslogd now gets its own /tmp directory (PrivateTmp=yes
> in rsyslog.service) which is not shared with other processes.
>
> > Please could someone help ? Or if there is a procedure to move syslog
> file
> > /var/log/syslog to a different location, I am happy to follow ...
>
> If you insist on moving it to /tmp, one possibility is to use a bind
> mount for /tmp/server.log.  Run "systemctl edit rsyslog.service" and put
> the following two lines in the file:
>
> [Service]
> BindPaths=-/tmp/server.log
>
> You may also need a tmpfiles.d(5) snippet to create /tmp/server.log on
> reboot if it does not exist.
>
> Good luck,
> Sven
>
>