Re: When to reboot after dist-upgrade?

2021-05-03 Thread Rick Thomas
I use the following little script.  If it produces output, then a reboot is 
desirable.

#!/bin/bash -p

set -x

PATH=/usr/bin:/bin

lsof +c0 -w | grep ' DEL  *REG  *[^0 ]' | egrep -v \ 
'(/var/lib/gdm3|/usr/share/mime|/home/[^/]*)/(.cache|.config|.local)'


What it does is look for library (and other) files that are in use but have 
been removed from the filesystem.  The "egrep -v" filters out some files that 
various utilities create, open, then delete without closing so that if the 
utility ends catastrophically without cleaning up, they don't hang around.  
It's not perfect, but it does help.

Rick

On Sun, May 2, 2021, at 9:16 PM, Kenneth Parker wrote:
> 
> 
> On Sun, May 2, 2021, 9:42 PM riveravaldez  wrote:
>> Hi, sorry if this is not the place to ask (and in that case please
>> point me in the proper direction).
>> 
>> I'm trying to distinguish when a system reboot is an absolute need
>> and when it is absolutely safe to keep the system running/working
>> after a `sudo apt-get update && sudo apt-get dist-upgrade`, once
>> I have already performed a complete restart of all needed services
>> through `sudo needrestart' options in Debian testing.
> 
> In general, if the Kernel is updated, plan to Restart.  Usually, dist-upgrade 
> is required, when Version Numbers change, requiring addition of new packages. 
>  The Linux Kernel is a common (but not the only) reason for this. 
> 
> Also beware, because Debian occasionally will update the Kernel without 
> updating the Version Number.  So it is possible that a Restart is required, 
> without a dist-upgrade. 
> 
> Good luck! 
> 
> Kenneth Parker 
> 
>> 
>> So, in a situation like this:
>> 
>> $ sudo apt-get dist-upgrade
>> Reading package list ... Done
>> Creating dependency tree ... Done
>> Reading status information ... Done
>> Calculating the update ... Done
>> The following packages have been withheld:
>>imagemagick inkscape libc-bin libc6 libc6-dbg libcrypt1
>> libpoppler-glib8 local openssh-client openssh-server
>> openssh-sftp-server ssh
>> 0 updated, 0 new will be installed, 0 to remove, and 12 not updated.
>> 
>> $ sudo needrestart
>> Scanning processes...
>> Scanning processor microcode...
>> Scanning linux images...
>> 
>> Running kernel seems to be up-to-date.
>> 
>> Failed to check for processor microcode upgrades.
>> 
>> No services need to be restarted.
>> 
>> No containers need to be restarted.
>> 
>> No user sessions are running outdated binaries.
>> 
>> $ sudo checkrestart
>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
>>   Output information may be incomplete.
>> Found 6 processes using old versions of upgraded files
>> (1 distinct program)
>> (0 distinct packages)
>> No packages seem to need to be restarted.
>> (please read checkrestart(8))
>> 
>> , would be perfectly safe and right to keep the system running or on
>> the contrary should I perform a (warm/cold?) reboot to be safe?
>> 
>> Thanks a lot in advance for any hint or info.
>> 
>> Kind regards.
>> 
>> PS: `apt-get dist-upgrade` output is translated to English..., system is
>> in Spanish and I keep not-remembering how to force console output
>> to English, sorry...
>> 


Re: Debian statistics about the contributing entities?

2021-05-03 Thread Andrei POPESCU
On Sb, 01 mai 21, 14:57:28, Marco Möller wrote:
> Hello,
> Do we have for Debian some statistics about who (companies, institutions,
> universities, private volunteers, ...) are contributing to Debian, i.e. as
> package maintainers, admins, maybe Debian specific code programmers, and
> alike? I found the list of the Debian Developers, but this is only names not
> indicating which company (money) might be behind the names. Maybe this is
> summarized in a statistics about funding or sponsoring or supporters of the
> Debian project?

There's also

https://contributors.debian.org

https://www.debian.org/partners


> I recently saw statistics about who contributes to the Linux kernel (private
> volunteers summarized as a group vs the 20 most lines of code contributing
> companies by their name), which kind of shows its independence (or not) from
> singular commercial players and am now curious if there is some alike data
> about Debian available.

Many (most?) contributions are in a personal capacity, regardless of the 
employer. As far as I know there is no requirement to disclose 
affiliation or even use the company e-mail address when contributing on 
behalf of an employer.


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


signature.asc
Description: PGP signature


Re: Debian statistics about the contributing entities?

2021-05-03 Thread Andrei POPESCU
On Sb, 01 mai 21, 10:49:01, Gene Heskett wrote:
> On Saturday 01 May 2021 08:57:28 Marco Möller wrote:
> 
> > Hello,
> > Do we have for Debian some statistics about who (companies,
> > institutions, universities, private volunteers, ...) are contributing
> > to Debian, i.e. as package maintainers, admins, maybe Debian specific
> > code programmers, and alike? I found the list of the Debian
> > Developers, but this is only names not indicating which company
> > (money) might be behind the names. Maybe this is summarized in a
> > statistics about funding or sponsoring or supporters of the Debian
> > project?
> > I recently saw statistics about who contributes to the Linux kernel
> > (private volunteers summarized as a group vs the 20 most lines of code
> > contributing companies by their name), which kind of shows its
> > independence (or not) from singular commercial players and am now
> > curious if there is some alike data about Debian available.
> > Thanks! Marco.
> 
> Since RH went to a per seat fee for support, which it seems has been 
> succesful at funding RH, and "tainted" the free software scene, the rest 
> of the distro's have clammed up about financing, and TBT, I don't think 
> its any of our business to even ask the question.

While I believe it's perfectly fine - and desirable - to have successful 
commercial enterprises based on FLOSS, transparency in financing is 
generally a good thing in my opinion, especially when the projects are 
backed by non-profit organisations (anonymity of donors 
notwithstanding).

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


signature.asc
Description: PGP signature


Re: When to reboot after dist-upgrade?

2021-05-03 Thread Andrei POPESCU
On Du, 02 mai 21, 22:42:28, riveravaldez wrote:
> Hi, sorry if this is not the place to ask (and in that case please
> point me in the proper direction).

It's definitely on topic here ;)
 
> I'm trying to distinguish when a system reboot is an absolute need
> and when it is absolutely safe to keep the system running/working
> after a `sudo apt-get update && sudo apt-get dist-upgrade`, once
> I have already performed a complete restart of all needed services
> through `sudo needrestart' options in Debian testing.

needrestart does have some built-in exceptions (e.g. network-manager), 
to minimize disruptions.
 
> $ sudo checkrestart
> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
>   Output information may be incomplete.
> Found 6 processes using old versions of upgraded files
> (1 distinct program)
> (0 distinct packages)
> No packages seem to need to be restarted.
> (please read checkrestart(8))
> 
> , would be perfectly safe and right to keep the system running or on
> the contrary should I perform a (warm/cold?) reboot to be safe?

Would you have a reason not to?


> PS: `apt-get dist-upgrade` output is translated to English...,

That has the potential to introduce misunderstandings. When dealing with 
computer output exact wording matters a lot!

> system is
> in Spanish and I keep not-remembering how to force console output
> to English, sorry...
 
Please use something like

LANG=C.UTF-8 apt ...

LANG=C will probably work in most cases, but it might display funny 
stuff in case some program is using non-ASCII characters.


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


signature.asc
Description: PGP signature


Re: [solved!!!] Multichannel audio playback

2021-05-03 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Rodolfo Medina  writes:
>
> On Mon, Mar 05, 2018 at 10:39:19AM +0100, Rodolfo Medina wrote:
>
 After learning, some months ago, thanks to listers' help, how to live
 record into a multi channel audio file, I was wondering about the reverse
 problem: now I have my multi channel audio file, e.g. composed by three
 different channels.  Is it possibile (I guess it is), and how?, to send
 each of the three outputs into a different loud speaker and so listen to
 the song...?
>>
>>
>> Four years ago this interesting thread.  Now I've purchased a Behringer
>> UMC404HD 4-channels audio interface and finally want to do my experiment.
>> Now I have a 3-channel .wav file and 3 loudspeakers connected to Behringer's
>> output: I want to playback each channel to a different speaker.
>
>
> It works...!!!
>
> That's what I did:
>
> [...]
>


Do you think the same purpose could be achieved as well with a simple device
like this:

 
https://www.amazon.it/5-1-audio-converter-coassiale-5-1-canali-analogica/dp/B00NAJ4W2A/ref=asc_df_B00NAJ4W2A/?tag=googshopit-21=df0=459193775235==g=11263557217000104253c===1008560=pla-926912233897=1

Thanks,

Rodolfo



OT Reading brainwaves [was: how to use fetchmail with MS Office 365 / davmail?]

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 01:46:26AM +0200, Ángel wrote:
> On 2021-05-01 at 09:28 +0200, deloptes wrote:
> > Some state their brainwaves are being influenced by whatever (video,
> > tv, wireless) It could be true, but there is no evidence and the
> > probability of this being true is very low.
> 
> Looks like the goal of every advertisement to me.

Don't worry: research is hard at it, for already quite a while.
We'll eventually arrive there ;-P

https://en.wikipedia.org/wiki/Subliminal_stimuli

(I know, it's not the same, but closely related and does reveal
how much capital & effort is available to progress).

Cheers
 - t


signature.asc
Description: Digital signature


Ghost cronjob

2021-05-03 Thread Mart van de Wege
I have the following configured to back up my laptop to my file server:

root@galahad:~# cat /etc/cron.d/backup 
MAILTO=m...@vdwege.eu
#00 04 * * * root /usr/sbin/btrbk --verbose --format=long run

Note: it is currently disabled.

The only other places I have anything mentioning btrbk in /etc is in
btrbk's config files:

root@galahad:~# grep btrbk /etc/ -rl
/etc/btrbk/btrbk.conf.example
/etc/btrbk/btrbk.conf.old
/etc/btrbk/btrbk.conf.local
/etc/btrbk/btrbk.conf~
/etc/btrbk/btrbk.conf
/etc/cron.d/backup

And yet I find this in /var/log/btrbk.log:

2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line client, 
version 0.24.0

There are no systemd timers related to btrbk either.

This started about 1.5 months ago when I changed the backup time from
midnight to 04:00; it took me some time to notice in the status mails
that btrbk was creating duplicate snapshots, and checking the logs
showed that at ran both at midnight and at 04:00. Disabling the 04:00
cronjob left the ghost cronjob at 00:00 intact.

How do I find out why a periodic job is running with nothing obviously
configured for it?

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: Ghost cronjob

2021-05-03 Thread Mart van de Wege
Mart van de Wege  writes:

> And yet I find this in /var/log/btrbk.log:
>
> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line client, 
> version 0.24.0
>
Wrong logline copy/pasted, it should be this one:

2021-05-03T00:00:03+0200 startup v0.27.1 - - - # btrbk command line client, 
version 0.27.1

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: Ghost cronjob

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 09:07:26AM +0200, Mart van de Wege wrote:
> I have the following configured to back up my laptop to my file server:
> 
> root@galahad:~# cat /etc/cron.d/backup 
> MAILTO=m...@vdwege.eu
> #00 04 * * * root /usr/sbin/btrbk --verbose --format=long run
> 
> Note: it is currently disabled.

[...]

> And yet I find this in /var/log/btrbk.log:
> 
> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line client, 
> version 0.24.0

Another place to check is in /var/spool/cron/crontabs. Perhaps the
entry slipped in via some `crontab -e' or similar.

Cheers
 - t


signature.asc
Description: Digital signature


Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Dan Ritter
David Wright wrote: 
> On Mon 03 May 2021 at 11:23:51 (+0300), Andrei POPESCU wrote:
> > On Sb, 01 mai 21, 08:31:04, Joe wrote:
> > > On Fri, 30 Apr 2021 17:25:20 -0400
> > > Stefan Monnier wrote:
> > > 
> > > > > viewing material because it's about ten years old. But when we
> > > > > inevitably replace it and have no choice about accepting a 'smart'
> > > > > TV,  
> > > > 
> > > > There are still normal TVs around.
> > > > 
> > > 
> > > Yes, but not many. We would want another 32" TV, and today the majority
> > > of those are not 'smart', in fact they're still advertised as 'HD Ready'
> > > i.e. 720 lines, after we've had 1080 line transmissions for many years.
> > > But our current TV may go on another ten years, by which time all TVs
> > > will be spying devices.
> > 
> > Get a computer monitor instead. In ten years most (if not all) 
> > traditional TV stations will likely have switched to streaming via the 
> > internet anyway ;)
> 
> Couldn't possibly afford it. Our last two TVs were $234 (55") and
> $250 (43", inc Roku). It costs $330 for the cheapest 34" monitor at
> https://www.pcmag.com/deals/best-computer-monitor-deals-this-month
> 
> The only walk-in monitor is $350 for 34" at BestBuy, but it has to
> be ultra-wide. (Both TVs were walk-ins.) Otherwise, it's down to 32"
> for $170 at Walmart, or 24" for $230 at Target.

Since, after all, this is Debian:

Use your choice of:

- dhcpd: specify the MAC address into a special pool which
  gets an IP address but a default router that doesn't exist

- ebtables: filter out the MAC address so that it's not
  allowed to pass through your firewall

- iptables: filter out the IP address you assign to the TV
  so it can't pass through the firewall

The MAC addresses will be on the TV's back panel, or you can
sniff for their DHCP requests. 

There: now your smart-ass TV is a monitor again.

-dsr-



Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Stefan Monnier
> There: now your smart-ass TV is a monitor again.

At least until they start using a cell-connection for Internet access
(which would seem only natural in the world of TVs, which historically
got their programs over the air) :-(


Stefan



RE: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread mathieu.rossi
Bonsoir,

Surprise pour moi. Les Dell que j'achète (portables pro) coûtent plus cher que 
les autres, mais tiennent dans la durée. J'en ai un qui à 14 ans, un autre 8 
ans et ils marchent toujours: bien entendu plus sous Windows, trop faibles, 
mais en tant que serveurs sous Linux ils sont parfaits. Après avoir tenté HP et 
Asus, entre autres, je me suis rabattu sur la gamme pro de Dell. Très chère. 
Mais quand le truc te fait plus de 10 ans tu te dis que l'investissement valait 
le coup.

Mathieu
-Message d'origine-
De : Daniel Caillibaud  
Envoyé : lundi 3 mai 2021 16:11
À : debian-user-french@lists.debian.org
Objet : Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez 
Lenovo !

Le 27/04/21 à 07:15, Basile Starynkevitch  a écrit :
> Pour information, http://materiel.net/ et http://pcw.fr/ vendent des 
> ordinateurs sans OS, ou bien avec une distribution Linux.
> 
> Voir aussi https://bons-vendeurs-ordinateurs.info/

C'est plus prudent.

Après avoir fait le tour des offres j'avais acheté un dell y'a qq mois, parce 
qu'il était moins cher mais surtout dispo plus rapidement, et je m'en suis 
mordu les doigts…

- pas mal de plantages à cause du cpu intel 10e génération, finalement résolu 
par une nouvelle
  version du paquet intel-microcode (le pb existait aussi sous windows et a été 
réglé qq mois
  plus tard)

- toujours des plantages i915 (le driver vidéo intel), moi qui avait justement 
pris un modèle
  sans carte vidéo additionnelle (pour le bruit et la conso), c'est raté ! Le 
chipset vidéo
  intel qui tombe en marche à tous les coups c'est du passé :-/

- toujours des plantages wifi…

J'en suis quasiment à un plantage par jour (faut passer en mode console avec 
ctrl+alt+F1 pour lancer un reboot car plus rien ne répond en mode graphique)… 
et le passage à bullseye réglera peut-être pas grand chose (je suis déjà en 
kernel 5.10.0-0.bpo.5-amd64)


--
Daniel

L'auto-stoppeur est un individu qui cherche à se faire rouler sans pour autant 
en être de sa poche.
Serge Mirjean




Re: Ghost cronjob

2021-05-03 Thread Mart van de Wege
Stefan Monnier  writes:

>> root@galahad:~# grep btrbk /etc/ -rl
>
> Have you `grep`d in `/var/` as well?
> [ E.g. `/var/spool/crontabs` ]
>
Yep, nothing there, aside from the usual suspects (apt & dpkg files).

>> And yet I find this in /var/log/btrbk.log:
>>
>> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line 
>> client, version 0.24.0
>
> Any other mention of activity around that time in some other log file?
>
>
Not that I can see. I am going to see what patching btrbk to log PPID
shows up tonight.

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread Daniel Caillibaud
Le 03/05/21 à 17:24, NoSpam  a écrit :
> Tous ces matériels achetés avec Ubuntu préinstallé et jamais eu de 
> plantage. Faudrait il incriminé Debian ?

Je ne pense pas, et ça confirme ce que je disais, il vaut mieux acheter du 
matériel avec linux
préinstallé (n'importe quelle distrib, même si y'aura moins de bidouilles 
éventuelles si
c'est du "basé sur debian"), au moins on est sûr de la compatibilité hardware.

-- 
Daniel

Grâce (coup de) : Balle de charité.
Serge Mirjean



HTML syntax.

2021-05-03 Thread peter
Hi again,

Is there an editor which checks that HTML opening and closing tags are 
paired and nested properly.  An opening tag without matching close, a 
closing tag without matching open and crossed tags should be flagged 
by line number or color.

Preferably an editor with minimal overhead of installation and 
configuration.

Thx,... P.



-- 
tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread BERTRAND Joël
Daniel Caillibaud a écrit :
> Le 03/05/21 à 17:24, NoSpam  a écrit :
>> Tous ces matériels achetés avec Ubuntu préinstallé et jamais eu de 
>> plantage. Faudrait il incriminé Debian ?
> 
> Je ne pense pas, et ça confirme ce que je disais, il vaut mieux acheter du 
> matériel avec linux
> préinstallé (n'importe quelle distrib, même si y'aura moins de bidouilles 
> éventuelles si
> c'est du "basé sur debian"), au moins on est sûr de la compatibilité hardware.

Il y a surtout un autre point qu'il ne faut pas perdre de vue. Certains
fabricants (Dell en tête et c'est en autres pour cela que je n'en veux
plus) achètent des machines en marque blanche sur lesquelles ils collent
leur logo. Il y a un salon tous les ans en Asie. Là, la fiabilité du
système peut assez rapidement devenir aléatoire.

C'est bien pour cela que je me restreins à certaines marques de
cartes-mères et certaines séries de portables chez certains fabricants.

Concernant les CPU de 10e génération chez Intel, je tourne avec une
station assez péchue pour des besoins de CAO qui embarque un i9-10900F
qui tourne toujours aux alentours de 4,9 GHz (pour 35°C, il est sur un
très gros Noctua) monté sur une carte-mère Asus (PRIME B460-PLUS). Pas
de GPU interne au CPU, la carte graphique est un monstre de chez Matrox
avec trois écrans.

Je n'ai jamais observé de choses plus bizarres que les errements
habituels de systemd qui me ferme de temps en temps X pour des raisons
inexpliquées. En revanche, j'ai eu des problèmes avec des cartes MSI
dans le même genre de configuration (plantages aléatoires, bios buggué
jusqu'à la moelle...).

Bien cordialement,

JKB



Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread NoSpam



Le 03/05/2021 à 18:09, BERTRAND Joël a écrit :

[...]   Il y a surtout un autre point qu'il ne faut pas perdre de vue. Certains
fabricants (Dell en tête et c'est en autres pour cela que je n'en veux
plus) achètent des machines en marque blanche sur lesquelles ils collent
leur logo. Il y a un salon tous les ans en Asie. Là, la fiabilité du
système peut assez rapidement devenir aléatoire.


De loin pas les seuls

https://www.zdnet.fr/actualites/apple-quand-le-ransomware-s-invite-a-la-fete-39921421.htm

--
Daniel



Re: Ghost cronjob

2021-05-03 Thread Mart van de Wege
Stefan Monnier  writes:

> Mart van de Wege [2021-05-03 20:11:25] wrote:
>> Stefan Monnier  writes:
 root@galahad:~# grep btrbk /etc/ -rl
>>>
>>> Have you `grep`d in `/var/` as well?
>>> [ E.g. `/var/spool/crontabs` ]
>>>
>> Yep, nothing there, aside from the usual suspects (apt & dpkg files).
>>
 And yet I find this in /var/log/btrbk.log:

 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line 
 client, version 0.24.0
>>>
>>> Any other mention of activity around that time in some other log file?
>>>
>>>
>> Not that I can see. I am going to see what patching btrbk to log PPID
>> shows up tonight.
>
> My usual "trick" is to log a full `ps --forest -ef`.

Hmmm. If the PPID turns out to be ephemeral, then that is a good second
option.

> [ Instead of patching, you can rename it and replace it with a script
>   that runs the "real" btrbk.  ]
>
It's a Perl script, I automatically started editing it as I am pretty
fluent in Perl. Wrapper scripts are almost always my second thought.

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: [OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Joe
On Mon, 3 May 2021 21:03:51 +0100
Brian  wrote:

> On Mon 03 May 2021 at 15:47:07 -0400, Stefan Monnier wrote:
> 
> > > It doesn't seem sensible to put a cell-connection into each TV
> > > when they're all immobile. OTOH cars and pets go places.
> > >
> > > And is 20GB of data per day a "reasonable usage" on a mobile data
> > > plan? Whereas 1TB per month on a fixed line is quite normal.  
> > 
> > These arguments seem stuck in the present.
> > 
> > After all we already have "stationary cell phone" services to
> > replace land-line phone services and I think most "phone" companies
> > would be looking forward to a future where there's no "last mile"
> > any more, there are only cell towers instead.  
> 
> Never a truer word and obviously based on great insight.
> 
> Will this impact on Debian users and the problems they face?
> 

It may well do. Spyware through your own network can be somewhat
mitigated by firewalling, but not if the offending device has its own
Net connection.

And we've already seen the suggestion of disabling such a connection,
which will work until the device is deliberately designed not to work
if it can't phone home, or one's government makes it illegal to
disconnect it.

-- 
Joe



Re: [OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Brian
On Mon 03 May 2021 at 15:47:07 -0400, Stefan Monnier wrote:

> > It doesn't seem sensible to put a cell-connection into each TV
> > when they're all immobile. OTOH cars and pets go places.
> >
> > And is 20GB of data per day a "reasonable usage" on a mobile data plan?
> > Whereas 1TB per month on a fixed line is quite normal.
> 
> These arguments seem stuck in the present.
> 
> After all we already have "stationary cell phone" services to replace
> land-line phone services and I think most "phone" companies would be
> looking forward to a future where there's no "last mile" any more, there
> are only cell towers instead.

Never a truer word and obviously based on great insight.

Will this impact on Debian users and the problems they face?



Re: Trying to debug alsa xruns

2021-05-03 Thread Michael Lange
On Sun, 2 May 2021 17:09:25 +0200
Michael Lange  wrote:

> Hi,
> 
> I have been experiencing audio xruns when playing back audio or video
> files for a while now and thought I might try to get some debugging
> information to find out what's wrong (hardware fault? driver bug?
> something else?).

(...)

Ok, I now compiled a vanilla kernel with the suggested debug flags
enabled. As suggested I tried

# echo 29 > /proc/asound/card0/pcm0p/xrun_debug

This gives me a lot of messages like this:

[ 1794.582338] ALSA: PCM: [P] hw_ptr skipping: (pos=13200, delta=2908, 
period=1024, jdelta=5/15/0, hw_ptr=403508/403508)
[ 1794.582364] ALSA: PCM: [P] hw_ptr skipping: (pos=13200, delta=2908, 
period=1024, jdelta=0/15/0, hw_ptr=403508/403508)
[ 1794.584655] ALSA: PCM: [Q] hw_ptr skipping: (pos=13312, delta=3020, 
period=1024, jdelta=1/15/0, hw_ptr=403508/403508)
[ 1794.602498] ALSA: PCM: [P] hw_ptr skipping: (pos=14168, delta=3876, 
period=1024, jdelta=4/20/0, hw_ptr=403508/403508)
[ 1807.107315] snd_pcm_update_hw_ptr0: 39 callbacks suppressed
[ 1807.107326] ALSA: PCM: [P] hw_ptr skipping: (pos=7168, delta=15364, 
period=1024, jdelta=0/80/0, hw_ptr=991228/991228)
[ 1812.952627] ALSA: PCM: [P] hw_ptr skipping: (pos=11260, delta=1088, 
period=1024, jdelta=1/5/0, hw_ptr=1271740/1271740)

After

# echo 3 > /proc/asound/card0/pcm0p/xrun_debug

the messages become a little more verbose:

[  323.778213] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=15364, 
new_hw_ptr=487424, old_hw_ptr=472060)
[  323.778232] CPU: 1 PID: 1926 Comm: mpv Tainted: GE 
5.12.1-debugalsa #1
[  323.778243] Hardware name: Gigabyte Technology Co., Ltd. 
GA-MA78LMT-S2/GA-MA78LMT-S2, BIOS F14 08/16/2011
[  323.778248] Call Trace:
[  323.778255]  
[  323.778261]  dump_stack+0x76/0x94
[  323.778283]  snd_pcm_update_hw_ptr0.cold.34+0x42/0xf8 [snd_pcm]
[  323.778328]  ? check_preempt_curr+0x3f/0x70
[  323.778342]  snd_pcm_period_elapsed+0x75/0xb0 [snd_pcm]
[  323.778379]  snd_fm801_interrupt+0xac/0x16a [snd_fm801]
[  323.778393]  __handle_irq_event_percpu+0x42/0x160
[  323.778405]  handle_irq_event_percpu+0x30/0x80
[  323.778414]  handle_irq_event+0x3c/0x60
[  323.778423]  handle_fasteoi_irq+0xa3/0x160
[  323.778431]  __common_interrupt+0x41/0xa0
[  323.778442]  common_interrupt+0x7a/0xa0
[  323.778451]  
[  323.778455]  asm_common_interrupt+0x1e/0x40
[  323.778463] RIP: 0010:snd_pcm_stream_unlock_irq+0x32/0x40 [snd_pcm]
[  323.778498] Code: 80 b8 71 07 00 00 00 74 0c 48 81 c7 f8 00 00 00 e9 83 b3 
21 cd 48 81 c7 f0 00 00 00 c6 07 00 0f 1f 40 00 fb 66 0f 1f 44 00 00  66 66 
2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 55 89 f5
[  323.778505] RSP: 0018:b08801dffe20 EFLAGS: 0286
[  323.778514] RAX: 9fe687db6800 RBX: 9fe6816b0c00 RCX: 
[  323.778520] RDX: 0001 RSI: 0046 RDI: 9fe6816b0cf0
[  323.778525] RBP:  R08:  R09: 9fe58fbb9908
[  323.778530] R10:  R11: 0001171c R12: 
[  323.778534] R13: 9fe6816b0c00 R14: 9fe58fa63f00 R15: 
[  323.778545]  snd_pcm_hwsync+0x21/0x30 [snd_pcm]
[  323.778578]  snd_pcm_common_ioctl+0x76b/0xe40 [snd_pcm]
[  323.778615]  snd_pcm_ioctl+0x23/0x30 [snd_pcm]
[  323.778646]  __x64_sys_ioctl+0x84/0xc0
[  323.778656]  do_syscall_64+0x33/0x80
[  323.778665]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[  323.778675] RIP: 0033:0x7f8d5c1f7427
[  323.778683] Code: 00 00 90 48 8b 05 69 aa 0c 00 64 c7 00 26 00 00 00 48 c7 
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 39 aa 0c 00 f7 d8 64 89 01 48
[  323.778690] RSP: 002b:7ffe614bda78 EFLAGS: 0246 ORIG_RAX: 
0010
[  323.778698] RAX: ffda RBX:  RCX: 7f8d5c1f7427
[  323.778702] RDX:  RSI: 4122 RDI: 0012
[  323.778707] RBP: 55e1659a44b0 R08: 55e1659a4480 R09: 00013812
[  323.778711] R10: 00013812 R11: 0246 R12: 55e165966ec0
[  323.778716] R13: 55e1659a42b0 R14: 0001 R15: 55e16596a060


Does anyone have a clue what can possibly cause this?

Regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Conquest is easy. Control is not.
-- Kirk, "Mirror, Mirror", stardate unknown



Re: Ghost cronjob

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 02:37:36PM -0400, Stefan Monnier wrote:
> Mart van de Wege [2021-05-03 20:11:25] wrote:

[...]

> > Not that I can see. I am going to see what patching btrbk to log PPID
> > shows up tonight.
> 
> My usual "trick" is to log a full `ps --forest -ef`.
> [ Instead of patching, you can rename it and replace it with a script
>   that runs the "real" btrbk.  ]

A nice trick, indeed.

Cheers
 - t


signature.asc
Description: Digital signature


Re: HTML syntax.

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 08:50:52PM +0200, deloptes wrote:

[...]

> HTML is not strict XML - so it depends on the definition of the page (my
> knowledge is based on HTML2-4, but should apply to recent 5)
> So it means that you can omit closing tag (check w3c.org)
> 
> Regarding checking XML - there is xmllint, but again it is not exactly
> intended for HTML as it is not a strict language.

xmllint has an --html option for that. That said...

> You are most likely looking for a HTML validator from which there are 100
> online. 

...those will do, too.

Cheers
 - t


signature.asc
Description: Digital signature


Re: HTML syntax.

2021-05-03 Thread deloptes
to...@tuxteam.de wrote:

> xmllint has an --html option for that. That said...

you sure that it will give a warning if tag is not closed? Cause I do not
think so. In fact the --html option seems to correct those missing tags.
All together it's a good tool, but I do not know how it applies to html5



Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread David Wright
On Mon 03 May 2021 at 18:32:13 (+0200), to...@tuxteam.de wrote:
> On Mon, May 03, 2021 at 12:24:48PM -0400, Stefan Monnier wrote:
> > > There: now your smart-ass TV is a monitor again.
> > 
> > At least until they start using a cell-connection for Internet access
> > (which would seem only natural in the world of TVs, which historically
> > got their programs over the air) :-(
> 
> Cars do that already. Why shouldn't TVs? Or pet collars?

It doesn't seem sensible to put a cell-connection into each TV
when they're all immobile. OTOH cars and pets go places.

And is 20GB of data per day a "reasonable usage" on a mobile data plan?
Whereas 1TB per month on a fixed line is quite normal.

Cheers,
David.



[OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Stefan Monnier
> It doesn't seem sensible to put a cell-connection into each TV
> when they're all immobile. OTOH cars and pets go places.
>
> And is 20GB of data per day a "reasonable usage" on a mobile data plan?
> Whereas 1TB per month on a fixed line is quite normal.

These arguments seem stuck in the present.

After all we already have "stationary cell phone" services to replace
land-line phone services and I think most "phone" companies would be
looking forward to a future where there's no "last mile" any more, there
are only cell towers instead.


Stefan



Re: Zoom.

2021-05-03 Thread peter
From: Tom Dial 
Date: Wed, 21 Apr 2021 15:04:45 -0600
> The link above hints that you may have a broken install. You might want
> to remove (most of) it by deleting the /opt/zoom directory.

Removing Zoom with aptitude also "disappeared" linphone.  After 
removing Zoom,  aptitude showed linphone was not installed.  I'm 
leaving  both off the Debian system until progress is apparent.

> The link above hints that you may have a broken install. You might want
> to remove (most of) it by deleting the /opt/zoom directory. The
> installation also includes
> 
>  /usr/bin/zoom
>  /usr/share/applications/Zoom.desktop
>  /usr/share/doc/zoom/changelog.gz
>  /usr/share/mime/packages/zoom.xml
>  /usr/share/pixmaps/Zoom.png
>  /usr/share/pixmaps/application-x-zoom.png
> 
> They can, I think, be ignored, and removal probably is unnecessary.

After removal with aptitude, all of that is gone.

From: Greg Wooledge 
Date: Wed, 21 Apr 2021 11:22:46 -0400
> Instead of installing the Zoom package, try just using Zoom inside
> a web browser. 

Yah, a user should be wary of any software not available from the 
Debian archive.

The FIrefox extension appeared to start OK.  The USB video camera was 
selectable but no video image appeared in the window.  Also no audio.  

Zoom isn't necessary on the desktop system.  It works on the iPhone 
and Android tablet.

Thx, ... P.

-- 
tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Ghost cronjob

2021-05-03 Thread Stefan Monnier
> root@galahad:~# grep btrbk /etc/ -rl

Have you `grep`d in `/var/` as well?
[ E.g. `/var/spool/crontabs` ]

> And yet I find this in /var/log/btrbk.log:
>
> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line client, 
> version 0.24.0

Any other mention of activity around that time in some other log file?


Stefan



Re: HTML syntax.

2021-05-03 Thread deloptes
pe...@easthope.ca wrote:

> Hi again,
> 
> Is there an editor which checks that HTML opening and closing tags are
> paired and nested properly.  An opening tag without matching close, a
> closing tag without matching open and crossed tags should be flagged
> by line number or color.
> 
> Preferably an editor with minimal overhead of installation and
> configuration.
> 

HTML is not strict XML - so it depends on the definition of the page (my
knowledge is based on HTML2-4, but should apply to recent 5)
So it means that you can omit closing tag (check w3c.org)

Regarding checking XML - there is xmllint, but again it is not exactly
intended for HTML as it is not a strict language.

You are most likely looking for a HTML validator from which there are 100
online. 





Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread NoSpam



Le 03/05/2021 à 16:11, Daniel Caillibaud a écrit :

Le 27/04/21 à 07:15, Basile Starynkevitch  a écrit :

Pour information, http://materiel.net/ et http://pcw.fr/ vendent des
ordinateurs sans OS, ou bien avec une distribution Linux.

Voir aussi https://bons-vendeurs-ordinateurs.info/

C'est plus prudent.

Après avoir fait le tour des offres j'avais acheté un dell y'a qq mois, parce 
qu'il était moins
cher mais surtout dispo plus rapidement, et je m'en suis mordu les doigts…

- pas mal de plantages à cause du cpu intel 10e génération, finalement résolu 
par une nouvelle
   version du paquet intel-microcode (le pb existait aussi sous windows et a 
été réglé qq mois
   plus tard)

- toujours des plantages i915 (le driver vidéo intel), moi qui avait justement 
pris un modèle
   sans carte vidéo additionnelle (pour le bruit et la conso), c'est raté ! Le 
chipset vidéo
   intel qui tombe en marche à tous les coups c'est du passé :-/

- toujours des plantages wifi…

J'en suis quasiment à un plantage par jour (faut passer en mode console avec 
ctrl+alt+F1 pour
lancer un reboot car plus rien ne répond en mode graphique)… et le passage à 
bullseye réglera
peut-être pas grand chose (je suis déjà en kernel 5.10.0-0.bpo.5-amd64)


J'ai sur mon bureau:

. XPS 7390 i915 Xeon touch screen
. Latitude E7440 intel HD4400 i7 touch screen
. Latitude E5510
. Inspiron 15 (2)
. Inspiron 6400 Pentium

Tous ces matériels achetés avec Ubuntu préinstallé et jamais eu de 
plantage. Faudrait il incriminé Debian ?


Comme quoi l'expérience des uns et des autres ...

--
Daniel



Re: Ghost cronjob

2021-05-03 Thread David Wright
On Mon 03 May 2021 at 09:07:26 (+0200), Mart van de Wege wrote:
> I have the following configured to back up my laptop to my file server:
> 
> root@galahad:~# cat /etc/cron.d/backup 
> MAILTO=m...@vdwege.eu
> #00 04 * * * root /usr/sbin/btrbk --verbose --format=long run
> 
> Note: it is currently disabled.
> 
> The only other places I have anything mentioning btrbk in /etc is in
> btrbk's config files:
> 
> root@galahad:~# grep btrbk /etc/ -rl
> /etc/btrbk/btrbk.conf.example
> /etc/btrbk/btrbk.conf.old
> /etc/btrbk/btrbk.conf.local
> /etc/btrbk/btrbk.conf~
> /etc/btrbk/btrbk.conf
> /etc/cron.d/backup
> 
> And yet I find this in /var/log/btrbk.log:
> 
> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line client, 
> version 0.24.0
> 
> There are no systemd timers related to btrbk either.
> 
> This started about 1.5 months ago when I changed the backup time from
> midnight to 04:00; it took me some time to notice in the status mails
> that btrbk was creating duplicate snapshots, and checking the logs
> showed that at ran both at midnight and at 04:00. Disabling the 04:00
> cronjob left the ghost cronjob at 00:00 intact.
> 
> How do I find out why a periodic job is running with nothing obviously
> configured for it?

Just guessing. You set the cron job to initiate a backup at 04:00.
Perhaps there's something configured in your /etc/btrbk/btrbk.conf
that says check for retention by day/week/month/year rather than
04:00/day/week/month/year. The former check has to made at midnight.

Cheers,
David.



Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread David Wright
On Mon 03 May 2021 at 11:23:51 (+0300), Andrei POPESCU wrote:
> On Sb, 01 mai 21, 08:31:04, Joe wrote:
> > On Fri, 30 Apr 2021 17:25:20 -0400
> > Stefan Monnier wrote:
> > 
> > > > viewing material because it's about ten years old. But when we
> > > > inevitably replace it and have no choice about accepting a 'smart'
> > > > TV,  
> > > 
> > > There are still normal TVs around.
> > > 
> > 
> > Yes, but not many. We would want another 32" TV, and today the majority
> > of those are not 'smart', in fact they're still advertised as 'HD Ready'
> > i.e. 720 lines, after we've had 1080 line transmissions for many years.
> > But our current TV may go on another ten years, by which time all TVs
> > will be spying devices.
> 
> Get a computer monitor instead. In ten years most (if not all) 
> traditional TV stations will likely have switched to streaming via the 
> internet anyway ;)

Couldn't possibly afford it. Our last two TVs were $234 (55") and
$250 (43", inc Roku). It costs $330 for the cheapest 34" monitor at
https://www.pcmag.com/deals/best-computer-monitor-deals-this-month

The only walk-in monitor is $350 for 34" at BestBuy, but it has to
be ultra-wide. (Both TVs were walk-ins.) Otherwise, it's down to 32"
for $170 at Walmart, or 24" for $230 at Target.

Cheers,
David.



Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread Erwann Le Bras



Le 28/04/2021 à 08:49, BERTRAND Joël a écrit :

[...] Lorsque j'ai essayé
Dell, plus de 50% du parc est passé en SAV sous garantie pour des
problèmes de cartes-mères, de batteries et de chargeurs et de cartes
mémoire pas compatibles mais presque... La joie de la qualité à pas
cher. Quant à mon essai Acer (pas cher et jetable pour des gens qui ne
prenaient pas soin de leur matériel), mieux vaut ne pas en parler.
C'était vraiment du jetable !


bonsoir

Ca dépend des gammes : je suis actuellement sur un Dell (Inspiron 1525) 
qui doit dater de 2007 ou 2008 et tourne impec sous Debian x64 Stable 
sans souci majeur. Ya encore l'étiquette "Vista" dessus



amitiés,

--

Erwann



Re: HTML syntax.

2021-05-03 Thread Stefan Monnier
> Is there an editor which checks that HTML opening and closing tags are 
> paired and nested properly.  An opening tag without matching close, a 
> closing tag without matching open and crossed tags should be flagged 
> by line number or color.

Since Emacs's built-in `nxml-mode` does that, and Emacs is far from
being the most popular HTML editor, I'd tend to assume that any editor
worth its name provides that feature.


Stefan



Re: Ghost cronjob

2021-05-03 Thread Mart van de Wege
David Wright  writes:

>
> Just guessing. You set the cron job to initiate a backup at 04:00.
> Perhaps there's something configured in your /etc/btrbk/btrbk.conf
> that says check for retention by day/week/month/year rather than
> 04:00/day/week/month/year. The former check has to made at midnight.
>
Nope. btrbk is very simple, it just checks what snapshots are already
there, and if there is already a snapshot in your snapshot directory of
the form . it just adds a snapshot
._.

Otherwise it just completes its entire run, creating snapshots, and
sending the diffs between snapshots to a backup destination at whatever
time you run it.

And the logs show a full run at 00:00, when there is nothing configured
to kick that off.

And if I activate that 04:00 cronjob, I get two full runs in my logs,
with the attendant _1 snapshots in my snapshot directory.

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: HTML syntax.

2021-05-03 Thread Felix Miata
peter composed on 2021-05-03 08:44 (UTC-0700):

> Is there an editor which checks that HTML opening and closing tags are 
> paired and nested properly.  An opening tag without matching close, a 
> closing tag without matching open and crossed tags should be flagged 
> by line number or color.

> Preferably an editor with minimal overhead of installation and 
> configuration.
> 
No installation, no configuration:
https://validator.w3.org/nu/
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 12:24:48PM -0400, Stefan Monnier wrote:
> > There: now your smart-ass TV is a monitor again.
> 
> At least until they start using a cell-connection for Internet access
> (which would seem only natural in the world of TVs, which historically
> got their programs over the air) :-(

Cars do that already. Why shouldn't TVs? Or pet collars?

Cheers
 - t


signature.asc
Description: Digital signature


Re: HTML syntax.

2021-05-03 Thread mick crane

On 2021-05-03 16:44, pe...@easthope.ca wrote:

Hi again,

Is there an editor which checks that HTML opening and closing tags are
paired and nested properly.  An opening tag without matching close, a
closing tag without matching open and crossed tags should be flagged
by line number or color.

Preferably an editor with minimal overhead of installation and
configuration.

Thx,... P.

Tidy won't tell you what is wrong ( maybe in the options )
but will fix it for you.
mick
--
Key ID4BFEBB31



how to prevent sleeping when sitting at the login screen?

2021-05-03 Thread Christian Groessler

Hi,

where is the setting where one can disable sleeping when the computer is 
at the login prompt?


I found the setting for my user, and for root, but not for "login screen".

I'm using gdm3.

regards,
chris




Re: HTML syntax.

2021-05-03 Thread Dan Ritter
pe...@easthope.ca wrote: 
> Hi again,
> 
> Is there an editor which checks that HTML opening and closing tags are 
> paired and nested properly.  An opening tag without matching close, a 
> closing tag without matching open and crossed tags should be flagged 
> by line number or color.
> 
> Preferably an editor with minimal overhead of installation and 
> configuration.

The terms you want to feed to apt are 'html' and 'lint'.

A linter is a program that looks for lint: bits that aren't
quite right and should be fixed.

In this case I see that there are standalone linters that you
can run on your documents and modules that you can install in
some editors.

-dsr-



Re: HTML syntax.

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 12:26:54PM -0400, Stefan Monnier wrote:
> > Is there an editor which checks that HTML opening and closing tags are 
> > paired and nested properly.  An opening tag without matching close, a 
> > closing tag without matching open and crossed tags should be flagged 
> > by line number or color.
> 
> Since Emacs's built-in `nxml-mode` does that, and Emacs is far from
> being the most popular HTML editor, I'd tend to assume that any editor
> worth its name provides that feature.

But not as well as Emacs does :-)

Cheers
 - t


signature.asc
Description: Digital signature


[OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Stefan Monnier
>> > There: now your smart-ass TV is a monitor again.
>> At least until they start using a cell-connection for Internet access
>> (which would seem only natural in the world of TVs, which historically
>> got their programs over the air) :-(
> Cars do that already. Why shouldn't TVs? Or pet collars?

Don't know about pet collars, but for TVs I'm pretty sure it's only
a question of time.


Stefan



Re: how to prevent sleeping when sitting at the login screen?

2021-05-03 Thread Floris Renaud

Christian Groessler schreef op 2021-05-03 19:19:

Hi,

where is the setting where one can disable sleeping when the computer
is at the login prompt?

I found the setting for my user, and for root, but not for "login 
screen".


I'm using gdm3.

regards,
chris


You can find these options in /etc/gdm3/greeter.dconf-defaults

For example:

...
# Automatic suspend
# =
[org/gnome/settings-daemon/plugins/power]
# - Time inactive in seconds before suspending with AC power
#   1200=20 minutes, 0=never
sleep-inactive-ac-timeout=0
# - What to do after sleep-inactive-ac-timeout
#   'blank', 'suspend', 'shutdown', 'hibernate', 'interactive' or 
'nothing'

sleep-inactive-ac-type='nothing'
# - As above but when on battery
# sleep-inactive-battery-timeout=1200
# sleep-inactive-battery-type='suspend'

---
Floris



Re: Ghost cronjob

2021-05-03 Thread Stefan Monnier
Mart van de Wege [2021-05-03 20:11:25] wrote:
> Stefan Monnier  writes:
>>> root@galahad:~# grep btrbk /etc/ -rl
>>
>> Have you `grep`d in `/var/` as well?
>> [ E.g. `/var/spool/crontabs` ]
>>
> Yep, nothing there, aside from the usual suspects (apt & dpkg files).
>
>>> And yet I find this in /var/log/btrbk.log:
>>>
>>> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line 
>>> client, version 0.24.0
>>
>> Any other mention of activity around that time in some other log file?
>>
>>
> Not that I can see. I am going to see what patching btrbk to log PPID
> shows up tonight.

My usual "trick" is to log a full `ps --forest -ef`.
[ Instead of patching, you can rename it and replace it with a script
  that runs the "real" btrbk.  ]


Stefan



[resolu] Re: disque dur externe se coupe tout seul

2021-05-03 Thread Gaëtan Perrier
Le jeudi 29 avril 2021 à 20:48 +0200, Gaëtan Perrier a écrit :
> Bonjour,
> 
> Je viens de changer un de mes disques de sauvegardes par un modèle plus gros
> dans un boitier Advance 3.5" connecté en USB3 avec alim externe.
> Ma sauvegarde est faite par rsync et mon problème est que le disque s'éteint
> tout seul en cours de sauvegarde ...
> 
> Auriez-vous déjà rencontré ce phénomène ?
> 
> Gaëtan


Bonjour,

Finalement c'était un problème matériel. Le bloc d'alim déconnait ...

Gaëtan


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


Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread Gaëtan Perrier
Le lundi 03 mai 2021 à 18:09 +0200, BERTRAND Joël a écrit :
> Il y a surtout un autre point qu'il ne faut pas perdre de vue.
> Certains
> fabricants (Dell en tête et c'est en autres pour cela que je n'en veux
> plus) achètent des machines en marque blanche sur lesquelles ils collent
> leur logo.

Je pense qu'aucun fabricant n'est exemplaire sur ce point. Tout dépend des
gammes.
En portable là où j'étais avant on avait des Lenovo pro et ça marchait bien et
là où je suis maintenant on a des Dell pro et ça ne fonctionne pas moins bien.

Il faut aussi voir qu'il y a des cycles. Tel fabricant après s'être une bonne
réputation pendant quelques années va essayer (à l'occasion d'un changement de
direction souvent) de rogner sur les coûts pour augmenter sa marge. En général
ça ne dure qu'un temps. Les clients switchent chez un concurrent puis celui qui
a fauté corrige le tir pour ne pas perdre tous ses clients pendant que l'autre
fait l'inverse ...


> C'est bien pour cela que je me restreins à certaines marques de
> cartes-mères et certaines séries de portables chez certains fabricants.

Y a longtemps que j'ai fait une croix sur ce mode de fonctionnement. Depuis
plus de 30 ans que j'achète du matos informatique j'ai eu des problèmes avec
toutes les marques. 
En plus le résultat concernant la stabilité peut-être différent en fonction de
l'OS et varier suite à des changements intervenus en cours de fabrication (un
contrôleur, une webcam, etc.) qui change...

Bref pour moi aujourd'hui pour savoir quoi acheter surtout pour faire tourner
du linux c'est un peu au petit bonheur la chance ...

Actuellement mon PC fixe a une dizaine d'année et je pense à le remplacer car
sa compatibilité avec l'USB3 est aléatoire.
Sans compter que la CM (Asus) n'a que 2 prises dont une monopolisée par le
clavier (si on branche le clavier sur les USB2 le BIOS/UEFI ne le reconnaît pas
...).
Je pensais m'orienter vers un Ryzen mais la stabilité sous Linux semblait
aléatoire il y a quelques temps ?



Cordialement,

Gaëtan


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


Re: Ghost cronjob

2021-05-03 Thread Mart van de Wege
 writes:

> On Mon, May 03, 2021 at 09:07:26AM +0200, Mart van de Wege wrote:
>> I have the following configured to back up my laptop to my file server:
>> 
>> root@galahad:~# cat /etc/cron.d/backup 
>> MAILTO=m...@vdwege.eu
>> #00 04 * * * root /usr/sbin/btrbk --verbose --format=long run
>> 
>> Note: it is currently disabled.
>
> [...]
>
>> And yet I find this in /var/log/btrbk.log:
>> 
>> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line 
>> client, version 0.24.0
>
> Another place to check is in /var/spool/cron/crontabs. Perhaps the
> entry slipped in via some `crontab -e' or similar.
>
Assume I checked those :)

root@galahad:/var/spool/cron/crontabs# grep btrbk . -r
root@galahad:/var/spool/cron/crontabs# 

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: [solved!!!] Multichannel audio playback

2021-05-03 Thread Andrei POPESCU
On Lu, 03 mai 21, 06:53:50, Rodolfo Medina wrote:
> 
> Do you think the same purpose could be achieved as well with a simple device
> like this:
> 
>  
> https://www.amazon.it/5-1-audio-converter-coassiale-5-1-canali-analogica/dp/B00NAJ4W2A/ref=asc_df_B00NAJ4W2A/?tag=googshopit-21=df0=459193775235==g=11263557217000104253c===1008560=pla-926912233897=1

Short answer: maybe, it depends a lot on what you need this for.

At a minimum your system must have a S/PDIF output (obviously).

Then you must somehow convince your system to generate AC-3 output as 
regular output to the ALSA spdif/iec958 output is two channels only[1].

Kodi (and probably everything else based on ffmpeg) can do so for at 
least FLAC and AAC 5.1 audio (tested).

It should be much easier to address a specific channel with an audio 
device with 6 (or recently 8) analog outputs, like this[2].

You should also get individual 4 independent volume controls (Front, 
Surround, Center and LFE).


[1] at least for my audio devices 'speaker-test' only accepts '2' for 
the '--channels/-c' parameter for all digital outputs, but the 
'surround51' analog output accepts 2, 4 and 6.

[2] https://www.itgalaxy.ro/placi-de-sunet/logilink/sound-box-7-1-usb-31242/

Disclaimer: this is just an example, Linux compatibility unknown. It's 
probably a good idea to buy something like this only from sellers that 
allow quick and easy returns, no questions asked, just in case it 
doesn't work well for you.


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


signature.asc
Description: PGP signature


Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Andrei POPESCU
On Sb, 01 mai 21, 08:31:04, Joe wrote:
> On Fri, 30 Apr 2021 17:25:20 -0400
> Stefan Monnier  wrote:
> 
> > > viewing material because it's about ten years old. But when we
> > > inevitably replace it and have no choice about accepting a 'smart'
> > > TV,  
> > 
> > There are still normal TVs around.
> > 
> 
> Yes, but not many. We would want another 32" TV, and today the majority
> of those are not 'smart', in fact they're still advertised as 'HD Ready'
> i.e. 720 lines, after we've had 1080 line transmissions for many years.
> But our current TV may go on another ten years, by which time all TVs
> will be spying devices.

Get a computer monitor instead. In ten years most (if not all) 
traditional TV stations will likely have switched to streaming via the 
internet anyway ;)

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


signature.asc
Description: PGP signature


FW: bits from the Release Team: bullseye status update

2021-05-03 Thread Andrei POPESCU
- Forwarded message from Paul Gevers  -

Date: Sun, 2 May 2021 21:41:38 +0200
From: Paul Gevers 
To: Debian Devel Announce 
Subject: bits from the Release Team: bullseye status update
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 
Thunderbird/78.10.0
Mail-Followup-To: debian-de...@lists.debian.org

Dear all,

bullseye is going to rock. We're getting there. This bits is a small
update to explain where we stand and how you can help the bullseye release.


debian-installer


As it currently stands, what we need to focus on is getting the
debian-installer in the right quality. The debian-installer can use you
help by providing solutions for issues marked as blockers for bug 987441
[987441] and by trying out the debian-installer [1]. One of the most
worrying issues is a black screen after installation caused by missing
firmware, Lucas wrote a tentative summary of the issue [2] (with some
follow-up).

RC bugs status
==

At the time of writing 132 unfixed release-critical bugs affect
bullseye, of which 69 are in key packages. This is the number which
needs to reach zero before the release can take place.

As a reminder, the following changes are eligible for unblocking:
 * targeted fixes for release critical bugs (i.e., bugs of severity
   critical, grave, and serious);
 * fixes for severity: important bugs, only when this can be done via
   unstable;
 * translation updates and documentation fixes, only when this can be
   done via unstable;
 * updates to packages directly related to the release process (i.e.
   with references to the current layout of the archive), only when this
   can be done via unstable;

Please note that a new upstream release with other changes included does
*not* count as a "targeted fix". You must cherry-pick patches to fix
bugs unless otherwise directed. Please see our FAQ [3] for questions you
should ask yourself and be able to answer to judge if your new upstream
release has a chance in the unblock process.

As the release draws nearer, fixes for non-RC bugs which do not affect a
package's general usability will increasingly be deferred or rejected.

Upgrade testing
===

If you are in a position to carry out upgrade testing from buster to
bullseye in the field, now is the time to do so and send your feedback
as a bug report against the "upgrade-reports" pseudo-package.

Release notes
=

Please ensure that any information about your packages which should form
part of the release notes is prepared in plenty of time to allow for
review and translations. Release notes coordination happens in the BTS
in bugs filed against the "release-notes" pseudo-package and in merge
requests on salsa [4].

Responding to unblock requests
==

We try hard to keep track of all unblock requests, but there are many
opened every day and the queue can sometimes mean you don't get a
response quickly. You can help as follows:

 * we will not usually look at requests tagged "moreinfo". If you follow
   up to a request for information, please remove the tag so that we
   review it again.

 * include as much information, rationale and commentary as you can in
   your original request. We're probably looking at your package for the
   first time and among lots of other requests, so the information you
   provide is crucial for proper triaging.

 * don't start discussion about an unblock on the debian-release list or
   #debian-release, even if you're not sure whether your fix will be
   accepted. Always open a bug and then it can be tracked properly.

 * inclusion of an inline diffstat with commentary plus usage of
   filterdiff to exclude generated files (e.g. autofoo) or translations
   can be beneficial. When using filterdiff, please remember to include
   the filter criteria/the command line, so we know what was omitted.

Finally, please continue to help the debian-installer and further
concentrate on RC bug fixes and let's get that number down to zero and
release!

On behalf of the Release Team,
Paul

[987441] https://bugs.debian.org/987441
[1] https://www.debian.org/devel/debian-installer/
[2] https://lists.debian.org/debian-release/2021/04/msg00646.html
[3] https://release.debian.org/bullseye/FAQ.html
[4] https://salsa.debian.org/ddp-team/release-notes/






- End forwarded message -

-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Trend Micro & FireEye Clients Info

2021-05-03 Thread Virginia Porterfield
Good Day









I was doing research on your organization and I want to know if customers using 
Trend Micro & FireEye would be of any interest to your current Sales and 
Marketing efforts. We provide these data-set across North America, EMEA, APAC 
and Latin America.



Other Related Technologies: McAfee, Kaspersky, Symantec, BitDefender, ESET, 
Sophos, Webroot, CrowdStrike, F-Secure, Quick Heal, Avira, Avast, AVG 
AntiVirus, Fortinet, Palo Alto Networks, Cybereason, G Data, Cyber Security, 
Cloud Security, Content Security, Mobile Security, Data Security, Server 
Security, Virtualization Security and many more.



If you are interested can you let me know?

What technology & geography are you targeting? Who would be the ideal decision 
makers in your industry?



Kindly let me know if there is any interest.



Regards,

Virginia Porterfield

Demand Generation

To opt-out, please respond "Leave Out" in the Subject line.



Re: When to reboot after dist-upgrade?

2021-05-03 Thread Greg Wooledge
On Mon, May 03, 2021 at 09:16:40AM -0400, Stefan Monnier wrote:
> Me, I basically only reboot in 2 cases:
> - the power went out
> 
> 
> Stefan

There are two difficult problems in computing: naming things, cache
invalidation, and off-by-one errors.



wikipedia surfraw elvi needs an update

2021-05-03 Thread Jude DaShiell
Too many wikipedia failures using surfraw that never happened before.
Where that elvi goes generates a couple pages of error message most of the
time on wikipedia searches.
If I use duckduckgo elvi, I can find a wikipedia page listed in
duckduckgo's search results which matches the search I could have done
with wikipedia.




Re: how to use fetchmail with MS Office 365 / davmail?

2021-05-03 Thread Eric S Fraga
On Monday,  3 May 2021 at 11:23, Andrei POPESCU wrote:
> Get a computer monitor instead. In ten years most (if not all) 
> traditional TV stations will likely have switched to streaming via the 
> internet anyway ;)

When I went to order a 60" monitor for a meeting room at work, I found
that the equivalent TV (same screen/hardware as the monitor but with a
tuner) was half the price.  We bought the TV.

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.4.5 on Debian bullseye/sid



Re: Ghost cronjob

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 09:54:24AM +0200, Mart van de Wege wrote:
>  writes:
> 
> > On Mon, May 03, 2021 at 09:07:26AM +0200, Mart van de Wege wrote:
> >> I have the following configured to back up my laptop to my file server:
> >> 
> >> root@galahad:~# cat /etc/cron.d/backup 
> >> MAILTO=m...@vdwege.eu
> >> #00 04 * * * root /usr/sbin/btrbk --verbose --format=long run
> >> 
> >> Note: it is currently disabled.
> >
> > [...]
> >
> >> And yet I find this in /var/log/btrbk.log:
> >> 
> >> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line 
> >> client, version 0.24.0
> >
> > Another place to check is in /var/spool/cron/crontabs. Perhaps the
> > entry slipped in via some `crontab -e' or similar.
> >
> Assume I checked those :)

Now I do :)

Well, no clue. But it's a script, so you could just insert some
debugging stuff (like, for example, reporting its parent PID
when it's started again)? So you might catch the ghosts parent?

Cheers
 - t


signature.asc
Description: Digital signature


Re: Ghost cronjob

2021-05-03 Thread Mart van de Wege
 writes:

> Now I do :)
>
> Well, no clue. But it's a script, so you could just insert some
> debugging stuff (like, for example, reporting its parent PID
> when it's started again)? So you might catch the ghosts parent?
>
> Cheers
>  - t
>
Neat idea. btrbk is pure Perl, in which I happened to be fluent. I added
the relevant log messages, let's see what happens tonight.

Regards,

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: Ben alors là ! Vla t'y pas qu'on peut acheter du matos sans OS chez Lenovo !

2021-05-03 Thread Daniel Caillibaud
Le 27/04/21 à 07:15, Basile Starynkevitch  a écrit :
> Pour information, http://materiel.net/ et http://pcw.fr/ vendent des 
> ordinateurs sans OS, ou bien avec une distribution Linux.
> 
> Voir aussi https://bons-vendeurs-ordinateurs.info/

C'est plus prudent.

Après avoir fait le tour des offres j'avais acheté un dell y'a qq mois, parce 
qu'il était moins
cher mais surtout dispo plus rapidement, et je m'en suis mordu les doigts…

- pas mal de plantages à cause du cpu intel 10e génération, finalement résolu 
par une nouvelle
  version du paquet intel-microcode (le pb existait aussi sous windows et a été 
réglé qq mois
  plus tard)

- toujours des plantages i915 (le driver vidéo intel), moi qui avait justement 
pris un modèle
  sans carte vidéo additionnelle (pour le bruit et la conso), c'est raté ! Le 
chipset vidéo
  intel qui tombe en marche à tous les coups c'est du passé :-/

- toujours des plantages wifi…

J'en suis quasiment à un plantage par jour (faut passer en mode console avec 
ctrl+alt+F1 pour
lancer un reboot car plus rien ne répond en mode graphique)… et le passage à 
bullseye réglera
peut-être pas grand chose (je suis déjà en kernel 5.10.0-0.bpo.5-amd64)


-- 
Daniel

L'auto-stoppeur est un individu qui cherche à se faire rouler 
sans pour autant en être de sa poche.
Serge Mirjean



Re: When to reboot after dist-upgrade?

2021-05-03 Thread Stefan Monnier
> I'm trying to distinguish when a system reboot is an absolute need
> and when it is absolutely safe to keep the system running/working
> after a `sudo apt-get update && sudo apt-get dist-upgrade`, once
> I have already performed a complete restart of all needed services
> through `sudo needrestart' options in Debian testing.

I think the only reason you might "absolute"ly need to reboot is if
a newer kernel fixes a security hole to which your current system is
vulnerable.  Since your kernel might include security holes to which you
happen not to be vulnerable (e.g. because you just happen not to use
that part of the kernel, or for some other reason), it's in generally
extremely difficult to determine with a 100% certainty whether or not
a reboot is "absolute"ly needed.

Me, I basically only reboot in 2 cases:
- the power went out


Stefan



Mais pourquoi systemd s'occupe de l'écran qu'on referme?

2021-05-03 Thread err404

Bonjour tout le monde

j'ai installé Mate-Desktop sur un ordinateur, et j'ai réglé les paramètres 
d'économie d'énergie pour que quand je ferme l'écran de l'ordinateur: que ça 
vérouille l'écran ou à la limite qu'il ne se passe rien.
 
mais lorsque je ferme l'écran, l'ordinateur passe en veille.


soit il y a un bug dans mate-desktop qui n'est pas capable d'aller changer les 
réglages de systemd.

soit systemd devrait laisser l'environement de bureau faire son travail (j'ai 
d'autres utilisateurs qui par exemple seraient satisfait du choix par defaut).

en étant obligé d'aller modifier le fichier /etc/systemd/logind.conf j'ai quand 
même l'impression de faire du bricolage.
la valeur de HandleLidSwitch devrait être à 'ignore' par defaut, au lieu de 
'suspend'.
ça laisserait aux utilisateurs le choix de régler ce paramettre dans leur 
environement préféré.
et si un admin veut vraiment contrôler les choses, alors il lui suffira d'aller 
tripoter le fichier /etc/systemd/logind.conf


que le choix par defaut soit 'suspend' ne me dérange pas, c'est une variable 
qu'on peut facilement changer soit même dans l'environement de bureau.
ce qui me dérange c'est qu'il faille être l'administrateur de l'ordinateur pour 
changer ce réglage.

ce qui me dérange aussi, c'est que c'est systemd qui l'impose. (on en revient à 
"pourquoi ça n'est pas 'ignore'? ")

merci pour votre attention