Re: questions about cron.daily

2023-04-06 Thread tomas
On Thu, Apr 06, 2023 at 06:54:31PM -0400, Greg Wooledge wrote:
> On Thu, Apr 06, 2023 at 05:45:08PM -0500, David Wright wrote:
> > Users (including root) write their crontabs anywhere they like,
> > typically in a directory like ~/.cron/.
> 
> Is that... normal?  I can't say I've ever seen anyone keep a private
> copy of their crontab in their home directory like that.

It's news to me, too. I olny knew about the /var/spool/cron/crontabs
location.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread Susmita/Rajib
To: debian-user@lists.debian.org
Subject: Re: Which Diff tool could I use for visually comparing
two text files where Word Wrap is possible?
From: davidson 
Date: Thu, 6 Apr 2023 18:21:29 + (UTC)
Message-id: <[] alpine.deb.2.21.2304061821250.7...@azone.org>
In-reply-to: <[]
CAEG4cZUHrTGhpv2XswpW0XhFwO+udKk-bsFJWT1UDr6iRO=z...@mail.gmail.com>
References:


<[] caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
<[] CAEG4cZVrPz=aZN6C0V0J3EPYMrH=UGkWcbVCc8xY=31ff_p...@mail.gmail.com>
<[] CAEG4cZUXaUAxG=0zlwpxuy44x9rtf7tnewvgfuddmzq7ile...@mail.gmail.com>
<[] caeg4czvce+49-mkwgw7le3l1t6ztsak7jd3kchkevfgh303...@mail.gmail.com>
<[] CAEG4cZWKu1LVJY_Js+VtXA00tVEDPR_JuPaCJ=jrqerae44...@mail.gmail.com>
<[] caeg4czu4zccbkc9fff66nwwr2ubd_1p_z1bdnhrh_sjp3ik...@mail.gmail.com>
<[] CAEG4cZXvzBMjbsRRih6Ku1wSJN0oWP_=y_tlfbuoobgplio...@mail.gmail.com>
<[] caeg4czubt-mfzn4rn1odmyema0tmufauwzch1s3pbc+z7w2...@mail.gmail.com>
<[] caeg4czvocyzux5gjxbdv5uyt1mxhmfdxglz_asbppmkjch2...@mail.gmail.com>
<[] CAEG4cZX0DogxF=8-rjc_TzqgL8=evmorep8bq3zv8wycnt2...@mail.gmail.com>
<[] CAEG4cZUHrTGhpv2XswpW0XhFwO+udKk-bsFJWT1UDr6iRO=z...@mail.gmail.com>

and

To: debian-user@lists.debian.org
Subject: Re: Which Diff tool could I use for visually comparing
two text files where Word Wrap is possible?
From: david...@freevolt.org
Date: Thu, 6 Apr 2023 18:29:56 + (UTC)
Message-id: <[] alpine.deb.2.21.2304061829500.7...@azone.org>
In-reply-to: <[] alpine.deb.2.21.2304061821250.7...@azone.org>
References:


<[] caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
<[] CAEG4cZVrPz=aZN6C0V0J3EPYMrH=UGkWcbVCc8xY=31ff_p...@mail.gmail.com>
<[] CAEG4cZUXaUAxG=0zlwpxuy44x9rtf7tnewvgfuddmzq7ile...@mail.gmail.com>
<[] caeg4czvce+49-mkwgw7le3l1t6ztsak7jd3kchkevfgh303...@mail.gmail.com>
<[] CAEG4cZWKu1LVJY_Js+VtXA00tVEDPR_JuPaCJ=jrqerae44...@mail.gmail.com>
<[] caeg4czu4zccbkc9fff66nwwr2ubd_1p_z1bdnhrh_sjp3ik...@mail.gmail.com>
<[] CAEG4cZXvzBMjbsRRih6Ku1wSJN0oWP_=y_tlfbuoobgplio...@mail.gmail.com>
<[] caeg4czubt-mfzn4rn1odmyema0tmufauwzch1s3pbc+z7w2...@mail.gmail.com>
<[] caeg4czvocyzux5gjxbdv5uyt1mxhmfdxglz_asbppmkjch2...@mail.gmail.com>
<[] CAEG4cZX0DogxF=8-rjc_TzqgL8=evmorep8bq3zv8wycnt2...@mail.gmail.com>
<[] CAEG4cZUHrTGhpv2XswpW0XhFwO+udKk-bsFJWT1UDr6iRO=z...@mail.gmail.com>
<[] alpine.deb.2.21.2304061821250.7...@azone.org>

[   ...   ]

Ok, I shall abide by your greater wisdom.

I would have been better guided by a simple instruction to inform you
about the binary for the line breaks, paragraph marks, et al. With a
little introduction. So here goes:

Libre Office file is used as the Editor to write the article. It was
used to convert the main file in plain text file for the purpose of
diff.
Beginning of the article in Bin:
[Bin code]
EF BB BF 0A 0A 0A 4A 75 73 74 20 41 20 53 74 61 74 69 6F 6E 20
[/Bin code]
Translates to text in a text editor:
"Some unreadable characters and Just A Station"

Paragraph break with the key "Enter" is 0A.
Line Break with the combo keys "Shift Enter" is also 0A.
Space with Space Bar is 20.

Best wishes,
Rajib
Etc.



Re: bounncy keyboard

2023-04-06 Thread David Wright
On Fri 07 Apr 2023 at 10:41:31 (+0800), jeremy ardley wrote:
> My keybboard is getting bouncy agaain.
> 
> I can swap it out under warranty but I wondered if there were some
> setting in Debian 11 to ignore the same character arriving too soon
> after the previous one?
> 
> It should also not worry if two different characters arrive closely spaced.

It's claimed that xkbset handles this, though I've not tried it.

Cheers,
David.



bounncy keyboard

2023-04-06 Thread jeremy ardley

My keybboard is getting bouncy agaain.

I can swap it out under warranty but I wondered if there were some 
setting in Debian 11 to ignore the same character arriving too soon 
after the previous one?


It should also not worry if two different characters arrive closely spaced.

Jeremy



Re: Solucion para tener los logs centralizados en la misma máquina

2023-04-06 Thread Roberto José Blandino Cisneros

Buenas noches.

Se que quizás ya tenga mucho tiempo pero revisando los correos, desearía 
agregar que hoy existe una de tantas herramientas que ya asisten en 
muchas tareas para guardar o hacer backup de logs.


La que he usado es GRAYLOG en debian virtualizado con KVM dentro de un 
proxmox sobre un Debian, con discos mecánicos en arreglo en ZFS y dos 
discos ssd para cache y log.


Vas a necesitar discos grandes para almacenar logs.

https://www.graylog.org


El 2/4/13 a las 09:55, may...@maykel.sytes.net escribió:

El 2013-04-02 17:09, Camaleón escribió:

El Tue, 02 Apr 2013 12:54:10 +0200, maykel escribió:


El 2013-04-02 10:32, may...@maykel.sytes.net escribió:


(...)


Gracias por contestar. Pero el único inconveniente es lo que he
comentado antes, que tenemos aplicaciones en java que guardan 
logs en

una ruta determinada que nosotros queremos. Entonces tendríamos que
decirles a esas aplicaciones que escriban en syslog?


¿De qué aplicación Java se trata?

Si dispone de soporte para enviar los registros al syslog no deberías
de
tener ningún problema... bueno, sí, sólo tendrías que comprobar que
también permite enviar el archivo a un servidor remoto a través de 
los

puertos tcp o udp.



Si tengo que controlar unos 20 dominios que serán virtualhost en 2
máquinas con apache y quiero centralizar los logs con rsyslog el
inconveniente que veo es que si quiero separar los logs por 
virtualhost

y luego centralizarlo en la máquina servidor rsyslog sería
un poco tedioso todas las reglas...Y como separar alli los logs por
virtualhost...Si utilizo las facility para el loggin de rsyslog se me
acaban porque son de 0-7

A alguien se le ocurre una solución mejor?


Hum... realmente te daría igual que sean máquina virtuales, servidores
reales o un cluster, el filtrado de todos esos registros lo vas a tener
que organizar de un modo u otro, es decir, que se trata de archivar en
orden lógico todos esos registros que genera el servidor web y de los
dominios que gestione.


Después de mirar y buscar documentación, podría añadir a los vhost.conf
de apache el vhost_combined para que loguee en el log también el nombre
de host virtual. Los centralizo todo en un fichero en función de la
máquina donde proceda y luego podría filtrar con grep o inclusive
aplicar filtros en función del nombre de virtualhost.

Cualquier sugerencia es bienvenida.


También podrías crear en el servidor de logs un directorios global de
registros para el apache y sus correspondientes subdirectorios para cada
dominio. En esto no veo mayor inconveniente: ya se trate de un registro
local o remoto tendrás que organizar/clasificar esos logs.

Saludos,

--
Camaleón



Gracias Camaleón. Si estoy con ello.

Saludos.






Re: questions about cron.daily

2023-04-06 Thread Dan Ritter
Tom Furie wrote: 
> On Fri, Apr 07, 2023 at 08:05:18AM +0800, k...@openmbox.net wrote:
> > Are the time format in /etc/crontab just random? why they are 6:25, 6:47
> > etc?
> 
> They aren't *random*, though they are somewhat arbitrary. The daily tasks
> run at 6:25, a time chosen by someone somewhere back in the mists of time as
> a time that the system is likely to be quiet. The daily tasks still run on
> the days the weekly tasks are scheduled, so some time displacement is
> factored in to give the daily job time to finish. Likewise with the monthly
> allowing for both the daily and weekly.

It's also the case that if you have a dozen, hundred or ten
thousand machines, you might not want them all doing the same
thing at precisely the same time -- especially if it's disk,
power or network intensive.

So spreading out jobs is often a good idea. Automated deployment
systems usually come with a way of randomizing the initial
install of a cronjob.


-dsr-



Re: questions about cron.daily

2023-04-06 Thread Tom Furie
On Fri, Apr 07, 2023 at 08:05:18AM +0800, k...@openmbox.net wrote:
> Are the time format in /etc/crontab just random? why they are 6:25, 6:47
> etc?

They aren't *random*, though they are somewhat arbitrary. The daily tasks
run at 6:25, a time chosen by someone somewhere back in the mists of time as
a time that the system is likely to be quiet. The daily tasks still run on
the days the weekly tasks are scheduled, so some time displacement is
factored in to give the daily job time to finish. Likewise with the monthly
allowing for both the daily and weekly.

If any of the times are inappropriate for your system, you're at liberty to
change them to something more suitable.

Cheers,
Tom

-- 
I am not now, nor have I ever been, a member of the demigodic party.
-- Dennis Ritchie


signature.asc
Description: PGP signature


Re: questions about cron.daily

2023-04-06 Thread ken

On 2023-04-07 05:20, davidson wrote:

 25 6* * *   roottest -x /usr/sbin/anacron || ( cd / && 
run-parts --report /etc/cron.daily )


Are the time format in /etc/crontab just random? why they are 6:25, 6:47 
etc?



--
Ken Peng
https://kenpeng.pages.dev/



Re: |Inquiry regarding fixing the error light display manager

2023-04-06 Thread Bret Busby

On 7/4/23 05:29, davidson wrote:

On Wed, 5 Apr 2023 Bret Busby wrote:

On 5/4/23 03:43, davidson wrote:

It is said that if you wash a cat it will never again wash itself.
This may or may not be true: what is certain is that if you teach a
man anything he will never learn it. -- George Bernard Shaw


The "Bernard Shaw" is quite appropriate - it is BS.


Paging Mr Curley.


?

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: questions about cron.daily

2023-04-06 Thread Greg Wooledge
On Thu, Apr 06, 2023 at 05:45:08PM -0500, David Wright wrote:
> Users (including root) write their crontabs anywhere they like,
> typically in a directory like ~/.cron/.

Is that... normal?  I can't say I've ever seen anyone keep a private
copy of their crontab in their home directory like that.

Most people just use "crontab -e" to edit the system's copy of their
personal crontab...

> They then have to be installed
> with crontab, which copies them into /var/spool/cron/crontabs/.

... which lives there.



Re: How to get rid of the synaptic message (mentioned below) at the end of installing a package?

2023-04-06 Thread David Wright
On Thu 06 Apr 2023 at 15:37:24 (+0200), zithro wrote:
> On 06 Apr 2023 01:30, David Wright wrote:
> > On Sat 01 Apr 2023 at 11:58:49 (+0530), Susmita/Rajib wrote:
> > > My present Debian system installed from "Official Debian GNU/Linux
> > > Live 11.6.0 lxde 2022-12-17T11:46"
> > > 
> > > While installing a package I receive this following message:
> > > 
> > > W: Download is performed unsandboxed as root as file
> > > '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. -
> > > pkgAcquire::Run (13: Permission denied)

> > I guess you have to sort out why a file would be being read from
> > /root/.synaptic/tmp//tmp_sh. I know next to nothing about synaptic.

From the name of the file, tmp_sh, I would hazard a guess that
some process has written a shell script of files to download,
but that script has not been placed in a world-readable location.
User _apt can't read it to perform the sandboxed download, so
user=root has to do it instead.

> Strange, the second install, even if providing a local file, is still
> fetching the file from "deb.debian.org".

So AIUI, the sequence is (user == root):

. read the control file from the /path-to/foo.deb and obtain the
  package name, version and dependencies.

. is that package/version locatable using sources.list?

. if so, _apt downloads from Debian and caches the file as per usual. Install.

. is /path-to/foo.deb world-readable?

. if so, _apt "downloads" from /path-to/foo.deb. Install, no Warn.

. if not, user/root performs an unsandboxed (no _apt involvement)
  "download" from /path-to/foo.deb instead. Install and Warn.

Cheers,
David.



Re: questions about cron.daily

2023-04-06 Thread David Wright
On Thu 06 Apr 2023 at 12:28:05 (-0700), Fred wrote:
> On 4/6/23 09:44, Pierre Frenkiel wrote:
> > 
> > crontab -l
> > 
> > On Thu, 6 Apr 2023, Fred wrote:
> > > I also would like to know when cron.daily scripts run.  Greg's
> > > command does not appear to reveal the time for that script.  I
> > > ran Greg's command and got the same result.
> 
> fred@ragnok:~$ crontab -l
> no crontab for fred
> 
> root@ragnok:/home/fred# crontab -l
> no crontab for root

Users (including root) write their crontabs anywhere they like,
typically in a directory like ~/.cron/. They then have to be installed
with crontab, which copies them into /var/spool/cron/crontabs/.
Those are the files that crontab -l lists. Why? Because cron isn't
going to poke around in your home directory looking for a crontab
there. It wants them somewhere it has control over.

The system crontab is different, and is found in /etc/. It is an
active file, and doesn't require any installing. It also has to
contain an extra field: the user under which each item should be
run—usually, but not always, root. Other parts of the system can
also have their own crontabs, with similar properties, which are
found in /etc/cron.d/.

Cheers,
David.



Re: |Inquiry regarding fixing the error light display manager

2023-04-06 Thread davidson

On Wed, 5 Apr 2023 Bret Busby wrote:

On 5/4/23 03:43, davidson wrote:

It is said that if you wash a cat it will never again wash itself.
This may or may not be true: what is certain is that if you teach a
man anything he will never learn it. -- George Bernard Shaw


The "Bernard Shaw" is quite appropriate - it is BS.


Paging Mr Curley.

--
"Does anybody read signatures anymore?" -- Charles Curley



Re: questions about cron.daily

2023-04-06 Thread davidson

On Thu, 6 Apr 2023 Fred wrote:
[trimmed]
I also would like to know when cron.daily scripts run.  Greg's command does 
not appear to reveal the time for that script.  I ran Greg's command and got 
the same result.


 $ grep -FA7 "Example of job definition" /etc/crontab ; grep daily /etc/crontab
 # Example of job definition:
 # . minute (0 - 59)
 # |  .- hour (0 - 23)
 # |  |  .-- day of month (1 - 31)
 # |  |  |  .--- month (1 - 12) OR jan,feb,mar,apr ...
 # |  |  |  |  . day of week (0 - 6) (Sunday=0 or 7) OR 
sun,mon,tue,wed,thu,fri,sat
 # |  |  |  |  |
 # *  *  *  *  * user-name command to be executed
 25 6* * *   roottest -x /usr/sbin/anacron || ( cd / && run-parts 
--report /etc/cron.daily )

--
You shall also keep a trowel in your equipment. With it, when you go
outside to ease nature, you shall first dig a hole and afterward cover
up your excrement. Since the Lord, your God, journeys along within
your camp [and would be displeased to step in it] -- Deuteronomy 23



Re: Demande de vérification de config pour suivre stable et Testing

2023-04-06 Thread Étienne Mollier
Bonsoir,

Basile Starynkevitch, on 2023-04-06:
> A mon avis la redondance testing + stable est néfaste et diminue la
> stabilité d'un système!

Je confirme et suggérerais la lecture de la page Don't Break
Debian[1] en Anglais, sur le wiki.  Même en épinglant testing
avec une priorité faible, si un paquet dépend d'une nouvelle
version d'une bibliothèque centrale, telle la libc, alors Apt va
la déployer et casser potentiellement des binaires encore issus
de stable.

[1] : https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian

> On 06/04/2023 11:48, benoit wrote:
>> A moins de passer en testing ?

Pourquoi pas, l'ensemble sera cohérent, et étant donné la
période de Gel dans la laquelle on se trouve ; bookworm est déjà
dans un état relativement stable.  Si besoin, un brouillon des
notes de publication est disponible[2], même s'il n'est pas
encore finalisé à 100%.  N'hésitez pas à y jeter un œil avant de
procéder à la mise à jour.

[2] : https://www.debian.org/releases/bookworm/amd64/release-notes/

Bonne soirée,  :)
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.


signature.asc
Description: PGP signature


Re: questions about cron.daily

2023-04-06 Thread Fred

On 4/6/23 09:44, Pierre Frenkiel wrote:


crontab -l

Pierre Frenkiel

On Thu, 6 Apr 2023, Fred wrote:


On 4/6/23 08:33, Andy Smith wrote:

Hello,

On Thu, Apr 06, 2023 at 07:33:26PM +0800, cor...@free.fr wrote:

For scripts put under /etc/cron.daily, which special time will they be
implemented?


Greg already showed you how to check this on your own systems.

If you need something to run daily but at a specific time, consider
instead either creating a custom cron job in /etc/cron.d/ (or a
user's crontab) or else using a systemd timer.


I found some services like apache2, chkrootkit will put the scripts in
this dir automatically. are they for system cleaning purpose?


The purpose of cron.daily is literally to run scripts daily for
*whatever purpose each script has*. If you have questions about what
a specific script does, try looking at it, as it's just an
executable script (usually sh or bash). If you're still confused
then ask a specific question about a specific script.

Cheers,
Andy

I also would like to know when cron.daily scripts run.  Greg's command 
does not appear to reveal the time for that script.  I ran Greg's 
command and got the same result.


Best regards,
Fred


fred@ragnok:~$ crontab -l
no crontab for fred

root@ragnok:/home/fred# crontab -l
no crontab for root

best regards,
Fred



Debiqn sur un s;qrtphone M

2023-04-06 Thread ptilou
Slt,

J ai recu mon ecran de controle !
25 euros en 27 pouces mais HD 720 p

Et donc on m q offert deux mac, nor;ale;ent destine a ca ,,,

mais c est 85 watt, et l ecran de controle 50 wattm co;;e quoi le boulier !

Donc j ai vue que certain commence par detecterm puis apres compiler le kernel 
...

Pin64 q son telephone libre !
Un Pqrinuxien aui m avait donne (tous c est defaut qui sont autant de chance), 
peut il me redonner comment installer debiqn sur androidm ou dois je aller au 
USA ?

merci tous en querty !
 
-- 
ptilou



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread davidson

On Thu, 6 Apr 2023 davidson wrote:


What indicates a "paragraph break" in a given style depends on the
form, not the content, of the material to be processed.


Replace

 "...in a given style"

with

 "...in a given document"

--
Sometimes it pays to have squirrels in your head running around making
you question everything.  -- Clive Robinson



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread davidson

On Thu, 6 Apr 2023 Susmita/Rajib wrote:
[trimmed: email headers included in message body]

[   ...   ]
Dear Mr. Davidson, I think that we better drop this thread for the
time being.


We are each of us the masters of our respective time and attention,
and thank ${DEITY[@]} for that.

I look forward to your return.


I have written to Sascha Steinbiss, the Maintainer, icdiff in debian
repo, with the links to the specific emails of this thread.


As I have already said, I believe that will prove to be an
unproductive line of attack on the text processing problem which
confronts you.


I am sure, the brilliant programmer that he is, he would heed to our
indications and would come up with something apt in the near future.


I suspect that you underestimate your own potential learn how to use
the tools at your disposal. At least as regards the elementary (and
potentially instructive) text processing problem you have presented
here.


I am more concerned about your wasting so much of your precious
energy into the matter


This form of politeness is lost on me, where one pretends that
expedience for oneself is expedience for another.

I do what I please. Rely on it.


that has to be solved from within the program itself,


It does not. Transforming the input is a trivial operation.


programmatically by tweaking the source code, rather than using
scripts.


I refer you back to previous expository comments about tools, and the
productivity of compositionality.

[trimmed: more gracious externalisation of responsibility]

I apologise that I could not explain more on the text as they form a
part of my book and also my research papers


What indicates a "paragraph break" in a given style depends on the
form, not the content, of the material to be processed.

It is the style of paragraph that you must reveal here if iterative
guesswork has become tiresome, not the content of your researches.


which requires the services of an editor.


You wish to display, in a form enabling your review, the differences
between your own copy of a text and an editor's revision.

This requires the services of your computer. Which is why you have
sought help here, appropriately enough.


Since I am an independent researcher, I post my articles in
vixra.org.


Good luck with your researches.

--
Hackers are free people. They are like artists. If they are in a good
mood, they get up in the morning and begin painting their pictures.
-- Vladimir Putin



Re: questions about cron.daily

2023-04-06 Thread Alexis Grigoriou
On Thu, 2023-04-06 at 19:05 +0200, Thomas Schmitt wrote:
> Hi,
> 
> 
> Pierre Frenkiel wrote:
> > crontab -l
> 
> Plus:
>   man 5 crontab
> which has in its section "EXAMPLE CRON FILE"
> 
>    # run five minutes after midnight, every day
>    5 0 * * *   $HOME/bin/daily.job >> $HOME/tmp/out 2>&1
> 
> and explains further up
> 
>   The  format of a cron command is very much the V7 standard,
> with a num‐
>   ber of upward-compatible extensions.  Each line has five time
> and  date
>   fields,  followed by a command, followed by a newline character
> ('\n').
>   ...
>  field  allowed values
>   -  --
>   minute 0-59
>   hour   0-23
>   day of month   1-31
>   month  1-12 (or names, see below)
>   day of week    0-7 (0 or 7 is Sun, or use names)
> 
> So the command shown by Greg Wooledge runs at 6:25 am the comand
> 
>   test -x /usr/sbin/anacron || ( cd / && run-parts --report
> /etc/cron.daily )
> 
> which runs the programs in /etc/cron.daily (by run-parts(8)) if not
> /usr/sbin/anacron exists and is executable.
> 

https://crontab.guru has a very nice explaining also.



Re: questions about cron.daily

2023-04-06 Thread Greg Wooledge
On Thu, Apr 06, 2023 at 01:42:33PM -0400, Stefan Monnier wrote:
> > I also would like to know when cron.daily scripts run.  Greg's command does
> > not appear to reveal the time for that script.  I ran Greg's command and got
> > the same result.
> 
> As explained, his command's output does show the actual time, but
> I don't think it's the whole story: AFAIK the actual time can be
> different for example if you installed `anacron`, and I hope that's also
> true if you installed `systemd-cron`.
> 
> I say "I hope", because some of my machines I basically always OFF at
> that time.

In that case, I'd recommend changing the start time in /etc/crontab to
some time when your machines are likely to be on, but idle.  If there's
no such time, well, then you're looking at the alternatives like anacron
which are designed for such situations.



Re: questions about cron.daily

2023-04-06 Thread Stefan Monnier
> I also would like to know when cron.daily scripts run.  Greg's command does
> not appear to reveal the time for that script.  I ran Greg's command and got
> the same result.

As explained, his command's output does show the actual time, but
I don't think it's the whole story: AFAIK the actual time can be
different for example if you installed `anacron`, and I hope that's also
true if you installed `systemd-cron`.

I say "I hope", because some of my machines I basically always OFF at
that time.


Stefan



Re: questions about cron.daily

2023-04-06 Thread Thomas Schmitt
Hi,

Greg Wooledge wrote:
> > > unicorn:~$ grep daily /etc/crontab
> > > 25 6* * *   roottest -x /usr/sbin/anacron || ( cd / && run-parts 
> > > --report /etc/cron.daily )

Fred wrote:
> > I also would like to know when cron.daily scripts run.  Greg's command does
> > not appear to reveal the time for that script.  I ran Greg's command and got
> > the same result.

Pierre Frenkiel wrote:
> crontab -l

Plus:
  man 5 crontab
which has in its section "EXAMPLE CRON FILE"

   # run five minutes after midnight, every day
   5 0 * * *   $HOME/bin/daily.job >> $HOME/tmp/out 2>&1

and explains further up

  The  format of a cron command is very much the V7 standard, with a num‐
  ber of upward-compatible extensions.  Each line has five time and  date
  fields,  followed by a command, followed by a newline character ('\n').
  ...
 field  allowed values
  -  --
  minute 0-59
  hour   0-23
  day of month   1-31
  month  1-12 (or names, see below)
  day of week0-7 (0 or 7 is Sun, or use names)

So the command shown by Greg Wooledge runs at 6:25 am the comand

  test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

which runs the programs in /etc/cron.daily (by run-parts(8)) if not
/usr/sbin/anacron exists and is executable.


Have a nice day :)

Thomas



Re: questions about cron.daily

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 Fred a écrit :

> I also would like to know when cron.daily scripts run.  Greg's command does
> not appear to reveal the time for that script.  I ran Greg's command and got
> the same result.

Greg shows it:
unicorn:~$ grep daily /etc/crontab
25 6* * *   roottest -x /usr/sbin/anacron || ( cd / && run-parts 
--report /etc/cron.daily )

which means runs at 6:25 each day

to get meanings of each col:
man 5 crontab



Re: questions about cron.daily

2023-04-06 Thread Tom Furie
On Thu, Apr 06, 2023 at 09:02:15AM -0700, Fred wrote:
> I also would like to know when cron.daily scripts run.  Greg's command does
> not appear to reveal the time for that script.  I ran Greg's command and got
> the same result.

Then you need to read the documentation for cron. I'd suggest beginning with
'man 5 crontab' for the details of a crontab entry.

Cheers,
Tom

-- 
Here there be tygers.


signature.asc
Description: PGP signature


Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread hamster

Le 06/04/2023 à 10:10, benoit a écrit :

Bonjour

Habituellement Clonezilla installé sur un disque externe et boot l'ordi 
sur le disque externe qui lance Clonezilla.
Mais ces redémarrages, c'est pénible de devoir arrêter, aller dans la 
séquence de boot positionnée sur le lecteur externe... C'est dissuasif 
de faire des sauvegardes.


Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un 
système en train de tourner ?
Du coup le logiciel de clonage serait installé sur le système lui même 
et pas sur un disque externe...


Tu oublie de préciser ton usage. Ordi de bureau ? Serveur ? Autre ?

Dans le cas d'un ordi de bureau sans applications sortant du cadre de 
l'usage bureautique, je pose la question de l'utilité de sauvegarder les 
partitions.


Dans le cas d'un usage bureautique, toutes les données des utilisateurs 
sont dans /home et cette partition est facile a sauvegarder a chaud. Si 
/home n'est pas une partition séparée, ca change rien : il est facile de 
copier le contenu du dossier /home a chaud.


Toujours dans le cas d'un usage bureautique, quel interet de sauvegarder 
le système ??? Une sauvegarde, ca sert a ne pas perdre d'informations. 
Mais quel interet de sauvegarder un truc qui est facilement 
téléchargeable sur internet et re-installable ?


Quand j'installe, je passe du temps a configurer, trouver les bons 
pilotes, etc… Je note au fur et a mesure ce que je fais dans un fichier 
texte et je sauvegarde ce fichier. Ainsi je suis capable de refaire 
l'install en partant de zero, facilement et rapidement. Après avoir 
installé, je fais aussi UNE sauvegarde du système en bootant sur un 
support externe. Mais je ne fais pas ensuite de sauvegardes régulières 
du système. Je n'en vois pas l'interet. En cas de souci, je restaure la 
sauvegarde du système faite juste après l'install, je fais apt update, 
apt upgrade et le tour est joué. Je n'ai plus qu'a restaurer le contenu 
de /home.


Par contre, en faisant comme ca je perd les logiciels que j'avais 
installés après la sauvegarde du système. En soi, c'est pas un drame : 
c'est très facile de les re-installer, le plus difficile étant de se 
souvenir lesquels. Il peut donc etre utile de sauvegarder régulièrement 
la liste des logiciels installés. Ca peut très bien se faire a chaud, il 
y a plusieurs méthodes pour ca. Mais je ne vois pas l'interet de 
sauvegarder tout le système.


Si ton usage n'est pas juste bureautique, que tu a des données a 
sauvegarder hors du dossier /home (par exemple des sites web dans /var, 
ou des bases de données ou autre) alors une sauvegarde un peu plus 
raffinée est nécessaire.




Re: questions about cron.daily

2023-04-06 Thread Pierre Frenkiel



crontab -l

Pierre Frenkiel

On Thu, 6 Apr 2023, Fred wrote:


On 4/6/23 08:33, Andy Smith wrote:

Hello,

On Thu, Apr 06, 2023 at 07:33:26PM +0800, cor...@free.fr wrote:

For scripts put under /etc/cron.daily, which special time will they be
implemented?


Greg already showed you how to check this on your own systems.

If you need something to run daily but at a specific time, consider
instead either creating a custom cron job in /etc/cron.d/ (or a
user's crontab) or else using a systemd timer.


I found some services like apache2, chkrootkit will put the scripts in
this dir automatically. are they for system cleaning purpose?


The purpose of cron.daily is literally to run scripts daily for
*whatever purpose each script has*. If you have questions about what
a specific script does, try looking at it, as it's just an
executable script (usually sh or bash). If you're still confused
then ask a specific question about a specific script.

Cheers,
Andy

I also would like to know when cron.daily scripts run.  Greg's command does 
not appear to reveal the time for that script.  I ran Greg's command and got 
the same result.


Best regards,
Fred





Re: questions about cron.daily

2023-04-06 Thread Fred

On 4/6/23 08:33, Andy Smith wrote:

Hello,

On Thu, Apr 06, 2023 at 07:33:26PM +0800, cor...@free.fr wrote:

For scripts put under /etc/cron.daily, which special time will they be
implemented?


Greg already showed you how to check this on your own systems.

If you need something to run daily but at a specific time, consider
instead either creating a custom cron job in /etc/cron.d/ (or a
user's crontab) or else using a systemd timer.


I found some services like apache2, chkrootkit will put the scripts in
this dir automatically. are they for system cleaning purpose?


The purpose of cron.daily is literally to run scripts daily for
*whatever purpose each script has*. If you have questions about what
a specific script does, try looking at it, as it's just an
executable script (usually sh or bash). If you're still confused
then ask a specific question about a specific script.

Cheers,
Andy

I also would like to know when cron.daily scripts run.  Greg's command 
does not appear to reveal the time for that script.  I ran Greg's 
command and got the same result.


Best regards,
Fred



Re: Un système simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 BERTRAND Joël a écrit :

>   Certes. Mais je ne suis pas sûr que rsnapshot gère par exemple les
> bibliothèques de bandes ou d'autres supports exotiques.

Oui tu as raison, rsnapshot cible des backups en ligne. Là on parlait
d'un "système simple". Bacula ou autre est clairement nécessaire si on
parle de bandes, etc.



Re: système simple pour sauvegarder partitions os en train de tourner.

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 Basile Starynkevitch a écrit :

> Le fichier objet produit par le compilateur est, à certains instants,
> incomplet et incorrect. S'il était sauvegardé dans cet état partiel, il 
> n'est pas utilisable (mais induirait en erreur un utilitaire comme *GNU make*
> ). Le sauvegarder est donc erroné. Un gros
> fichier executable ELF en cours de génération par GNU binutils
>  (songez aux contributeurs de Mozilla
>  ou de GCC)

Oui c'est un raisonnement courant que de penser que ce serait
erroné. Mais ce n'est pas le cas justement. Si on fait un snapshot et que
le fichier n'est pas validé, le snapshot soit le prend incomplet et on
est comme avec rsync, soit le snapshot ne le prend pas. Auquel cas, que
le fichier soit invalide ou absent revient au même pour une restauration
: il faut prendre la restauration suivante.

> Une base de donnée MySQL ou PostGreSQL n'est pas correcte ou sûrement
> réutilisable si on tente de réutiliser les fichiers pendant que le SGBD 
> met à jour cette base.

C'est pour ça que je fais un dump et que c'est ce dump que je sauvegarde.

> Mon point de vue est donc qu'il faut sauvegarder un système peu actif, et
> *pour les données importantes, les sauvegarder consciemment* et
>  /explicitement/, quand on est sûr que l'original est stable et n'est pas 
> en train d'être traité ou modifié par un processus.

Ce qui revient à arrêter le système. Ce qui est justement à éviter. Et
pour les données importantes modifiées fréquemment, on se retrouve dans
un cas similaire aux sgbd, donc utiliser les solutions de backup de
l'appli avant de faire la sauvegarde. Connais-tu d'autres solutions ?



Re: Looking to a KDE or desktop agnostic software to batch resize pictures

2023-04-06 Thread Yvan Masson

Le 05/04/2023 à 20:37, didier gaumet a écrit :

Hello,

I do not use image editing/modifying tools, so I cannot say if these 
solutions are good in your usecase, but there are at least three tools 
packaged in Debian:

- Converseen (GUI batch tool: conversion, resizing, etc...)
https://www.makeuseof.com/batch-convert-resize-images-linux-using-converseen/
- FotoXX (GUI frontend to Imagemagick)
- even Gthumb seems to be able to do this:
https://www.maketecheasier.com/batch-resize-images-gthumb/



Thanks Didier and everybody who answered!

I think for my use case, Gthumb seems to be the best tradeoff, but I 
will keep all your suggestions somewhere.


OpenPGP_signature
Description: OpenPGP digital signature


Re: système simple pour sauvegarder partitions os en train de tourner.

2023-04-06 Thread Basile Starynkevitch


On 06/04/2023 14:31, Michel Verdier wrote:

Le 6 avril 2023 Jean-François Bachelet a écrit :


oui rsync est bien , mais si tu rsync une partition en train de tourner avec
des bases de données mysql ou autre en route moi je chope des messages comme
quoi le contenu de mes bdd à changé pendant la copie rsync :(

Pour les bases je fais un dump à chaud et je rsync les dumps. Je fais les
dump table par table comme ça seules les tables modifiées doivent être
reprises. Avec postgresql c'est encore mieux le dump est garanti
globalement au niveau transactionnel. Je fais ça aussi pour openldap et
ça doit pouvoir se faire pour tes autres applis.



A mon avis le problème n'est pas lié à rsync. Il est plus général.

La question originelle posée par Benoît était:



Existe-t-il un moyen *sûr* de sauvegarder les partitions montées d'un 
système en train de tourner ?
Du coup le logiciel de clonage serait installé sur le système lui même 
et pas sur un disque externe... 


De mon point de vue *cette sauvegarde ne sera jamais /complètement/ sûre*.


Je vois des cas où elle poserait problème:

En particulier en pensant à de gros fichiers (gros veut dire ici 
supérieur en taille à la RAM disponible, donc plusieurs gigaoctets ou au 
moins certains fichiers dont la génération ou l'écriture prend plus d'un 
dixième de secondes).


Le système en train de tourner est utilisé en développement (en C, C++, 
Rust, ou Go, avec un compilateur comme GCC )


Le fichier objet produit par le compilateur est, à certains instants, 
incomplet et incorrect. S'il était sauvegardé dans cet état partiel, il 
n'est pas utilisable (mais induirait en erreur un utilitaire comme *GNU 
make* ). Le sauvegarder est donc 
erroné. Un gros fichier executable ELF en cours de génération par GNU 
binutils  (songez aux 
contributeurs de Mozilla  ou de GCC)


Dans des cas de métaprogrammation (utilisation de générateur de code C 
ou C++ comme GNU bison  ou maison 
-comme RefPerSys - ou de GNU lightning 
)


De même, les sauvegardes automatiques et périodiques possibles avec GNU 
emacs  ou d'autres éditeurs (ou 
logiciels comme /LibreOffice/) ne sont pas sûres.


La sortie d'un indenteur comme GNU indent 
n'est ni correcte, ni complète si 
on la sauvegarde pendant le processus d'indentation.


Un fichier indexé, par exemple GDBM 
 ou Redis , 
n'est pas (toujours) correct si on le sauvegarde durant son exploitation 
ou mise à jour.


Une base de donnée MySQL ou PostGreSQL n'est pas correcte ou sûrement 
réutilisable si on tente de réutiliser les fichiers pendant que le SGBD 
met à jour cette base.


Un fichier de log n'est pas correct ou exploitable si le serveur 
(Apache-HTTPD  ou Lighttpd 
 par exemple)


Et j'imagine qu'un gros fichier de tableur Gnumeric 
 ou Libreoffice  
n'est pas correct si le tableur est en train de l'écrire...


Un gros fichier en train d'être compressé par GNU gzip 
 ou bzip2 
 n'est pas correct durant la 
compression.


Une video (ou une grosse photo) en train d'être manipulée (par GIMP 
 par exemple) n'est pas stable durant son 
écriture! De même pour un gros dessin vectoriel (au format SVG 
) avec InkScape 
.


Mon point de vue est donc qu'il faut sauvegarder un système peu actif, 
et *pour les données importantes, les sauvegarder consciemment* et 
/explicitement/, quand on est sûr que l'original est stable et n'est pas 
en train d'être traité ou modifié par un processus.


En conclusion: ne faites pas trop confiance aux sauvegardes 
automatiques. Pour des données importantes, pensez à utiliser un 
versionneur comme git .


Librement

--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/ & refpersys.org


Re: questions about cron.daily

2023-04-06 Thread Andy Smith
Hello,

On Thu, Apr 06, 2023 at 07:33:26PM +0800, cor...@free.fr wrote:
> For scripts put under /etc/cron.daily, which special time will they be
> implemented?

Greg already showed you how to check this on your own systems.

If you need something to run daily but at a specific time, consider
instead either creating a custom cron job in /etc/cron.d/ (or a
user's crontab) or else using a systemd timer.

> I found some services like apache2, chkrootkit will put the scripts in
> this dir automatically. are they for system cleaning purpose?

The purpose of cron.daily is literally to run scripts daily for
*whatever purpose each script has*. If you have questions about what
a specific script does, try looking at it, as it's just an
executable script (usually sh or bash). If you're still confused
then ask a specific question about a specific script.

Cheers,
Andy

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



Re: Un système simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread BERTRAND Joël
Michel Verdier a écrit :
> Le 6 avril 2023 BERTRAND Joël a écrit :
> 
>>  Ce qui doit correspondre peu ou prou aux diff/inc de Bacula. Bacula est
>> totalement transparent lorsqu'il s'agit de restaurer les fichiers (il
>> propose les différentes versions des fichiers et on choisit celle que
>> l'on veut restaurer).
> 
> Oui tout à fait, l'interface gère les incrémentales. La différence c'est
> que rsnapshot intègre ça directement dans le stockage. Ce qui fait
> qu'on n'a pas besoin de faire des différentielles et complètes pour
> limiter l'occupation disque. A la limite avec rsnapshot on peut faire une
> quotidienne gardée sur 365 jours, ça prend à peine plus de place. Et comme on
> a une copie du filesystem dans une arborescence on peut faire des choses
> qu'on fait partout, comme par exemple un diff direct entre 2 versions. Et
> ça sans avoir besoin de les restaurer avant. Ou des grep dans une
> branche, etc.

Certes. Mais je ne suis pas sûr que rsnapshot gère par exemple les
bibliothèques de bandes ou d'autres supports exotiques.



Re: How: Require root password instead of user password for GUI programs

2023-04-06 Thread Joe
On Thu, 6 Apr 2023 11:04:13 -0400
Jeffrey Walton  wrote:

> On Thu, Apr 6, 2023 at 8:36 AM B.M.  wrote:
> >
> > I configured my system such that some users are in group sudo, but
> > they are asked for the root password instead of just their user
> > password by creating a file within /etc/sudoers.d/ with the line:
> >
> >  Defaults rootpw
> >
> > This is working just fine, but for graphical applications it
> > doesn't work: e.g. to start synaptic I get a password prompt
> > requiring my user password, not the root password.
> >
> > How can I configure my system such that entering the root password
> > is also required in these cases?
> >
> > (Maybe there is something with polkit, but I couldn't figure out
> > myself...)  
> 
> May be helpful:
> https://askubuntu.com/questions/1199006/how-to-let-polkit-request-root-password-instead-users-password
> 
> And possibly
> https://askubuntu.com/questions/1246661/defaults-rootpw-for-the-gui-password-prompt
> 
> Jeff
> 

On Debian, it is my experience that a default installation of Synaptic
always requires the root password. It is invoked by synaptic-pkexec.

-- 
Joe



Re: How: Require root password instead of user password for GUI programs

2023-04-06 Thread Jeffrey Walton
On Thu, Apr 6, 2023 at 8:36 AM B.M.  wrote:
>
> I configured my system such that some users are in group sudo, but they are
> asked for the root password instead of just their user password by creating a
> file within /etc/sudoers.d/ with the line:
>
>  Defaults rootpw
>
> This is working just fine, but for graphical applications it doesn't work: 
> e.g.
> to start synaptic I get a password prompt requiring my user password, not the
> root password.
>
> How can I configure my system such that entering the root password is also
> required in these cases?
>
> (Maybe there is something with polkit, but I couldn't figure out myself...)

May be helpful:
https://askubuntu.com/questions/1199006/how-to-let-polkit-request-root-password-instead-users-password

And possibly 
https://askubuntu.com/questions/1246661/defaults-rootpw-for-the-gui-password-prompt

Jeff



Re: Un système simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 BERTRAND Joël a écrit :

>   Ce qui doit correspondre peu ou prou aux diff/inc de Bacula. Bacula est
> totalement transparent lorsqu'il s'agit de restaurer les fichiers (il
> propose les différentes versions des fichiers et on choisit celle que
> l'on veut restaurer).

Oui tout à fait, l'interface gère les incrémentales. La différence c'est
que rsnapshot intègre ça directement dans le stockage. Ce qui fait
qu'on n'a pas besoin de faire des différentielles et complètes pour
limiter l'occupation disque. A la limite avec rsnapshot on peut faire une
quotidienne gardée sur 365 jours, ça prend à peine plus de place. Et comme on
a une copie du filesystem dans une arborescence on peut faire des choses
qu'on fait partout, comme par exemple un diff direct entre 2 versions. Et
ça sans avoir besoin de les restaurer avant. Ou des grep dans une
branche, etc.



Re: How to get rid of the synaptic message (mentioned below) at the end of installing a package?

2023-04-06 Thread zithro

On 06 Apr 2023 01:30, David Wright wrote:

On Sat 01 Apr 2023 at 11:58:49 (+0530), Susmita/Rajib wrote:

My present Debian system installed from "Official Debian GNU/Linux
Live 11.6.0 lxde 2022-12-17T11:46"

While installing a package I receive this following message:

W: Download is performed unsandboxed as root as file
'/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. -
pkgAcquire::Run (13: Permission denied)

What should I do to address this report or stop receiving this
message? It doesn't appear to be a harmful report so far as my system
is concerned. My user-id can't access root report, I guess. But any
advice would be welcome.

It's trivial to provoke this message, though I can't be sure of
precisely why APT generates it. Here's an example of installing
the new yt-dlp program. This system runs bullseye, but I'm going
to install a downloaded copy of the bookworm¹ version (and so no
disturbance of the sources.list).

   # ls -l yt-dlp_2023.0*
   -rw-r--r-- 1 root root 1739188 Jan  6 21:12 yt-dlp_2023.01.06-1_all.deb
   -rw-r--r-- 1 root root 1777260 Mar 26 03:43 
yt-dlp_2023.03.04-1~bpo11+1_all.deb
   # apt-get install ./yt-dlp_2023.01.06-1_all.deb
   Reading package lists... Done
   Building dependency tree... Done
   Reading state information... Done
   Note, selecting 'yt-dlp' instead of './yt-dlp_2023.01.06-1_all.deb'
   Suggested packages:
 libfribidi-bin | bidiv phantomjs
   The following NEW packages will be installed:
 yt-dlp
   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
   Need to get 0 B/1739 kB of archives.
   After this operation, 9644 kB of additional disk space will be used.
   Get:1 /root/yt-dlp_2023.01.06-1_all.deb yt-dlp all 2023.01.06-1 [1739 kB]
   Retrieving bug reports... Done
   Parsing Found/Fixed information... Done
   Selecting previously unselected package yt-dlp.
   (Reading database ... 357613 files and directories currently installed.)
   Preparing to unpack .../yt-dlp_2023.01.06-1_all.deb ...
   Unpacking yt-dlp (2023.01.06-1) ...
   Setting up yt-dlp (2023.01.06-1) ...
   Processing triggers for man-db (2.9.4-2) ...
   Scanning processes...
   Scanning processor microcode...
   Scanning linux images...
   Running kernel seems to be up-to-date.
   The processor microcode seems to be up-to-date.
   No services need to be restarted.
   No containers need to be restarted.
   No user sessions are running outdated binaries.
   N: Download is performed unsandboxed as root as file 
'/root/yt-dlp_2023.01.06-1_all.deb' couldn't be accessed by user '_apt'. - 
pkgAcquire::Run (13: Permission denied)
   # ls -l /var/cache/apt/archives/
   total 4
   -rw-r- 1 root root0 Jan  1  2022 lock
   drwx-- 2 _apt root 4096 Apr  5 14:09 partial
   #

There's your warning. Note that the archives/ directory is still
empty, and also who owns partial/.

Now I'll purge yt-dlp and install it again, but the bullseye-backports
version this time. For a level playing field, I'll install a downloaded
copy again. My sources.list does contain backports, but I don't know
whether that's relevant or not.

   # apt-get purge yt-dlp
   Reading package lists... Done
   Building dependency tree... Done
   Reading state information... Done
   The following packages were automatically installed and are no longer 
required:
 python3-brotli python3-pycryptodome python3-websockets
   Use 'apt autoremove' to remove them.
   The following packages will be REMOVED:
 yt-dlp*
   0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
   After this operation, 9644 kB disk space will be freed.
   Do you want to continue? [Y/n]
   (Reading database ... 358704 files and directories currently installed.)
   Removing yt-dlp (2023.01.06-1) ...
   Processing triggers for man-db (2.9.4-2) ...
   # apt-get install ./yt-dlp_2023.03.04-1~bpo11+1_all.deb
   Reading package lists... Done
   Building dependency tree... Done
   Reading state information... Done
   Note, selecting 'yt-dlp' instead of './yt-dlp_2023.03.04-1~bpo11+1_all.deb'
   Suggested packages:
 libfribidi-bin | bidiv phantomjs
   The following NEW packages will be installed:
 yt-dlp
   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
   Need to get 1777 kB of archives.
   After this operation, 9864 kB of additional disk space will be used.
   Get:1http://deb.debian.org/debian  bullseye-backports/main amd64 yt-dlp all 
2023.03.04-1~bpo11+1 [1777 kB]
   Fetched 1777 kB in 1s (3370 kB/s)
   Retrieving bug reports... Done
   Parsing Found/Fixed information... Done
   Selecting previously unselected package yt-dlp.
   (Reading database ... 357613 files and directories currently installed.)
   Preparing to unpack .../yt-dlp_2023.03.04-1~bpo11+1_all.deb ...
   Unpacking yt-dlp (2023.03.04-1~bpo11+1) ...
   Setting up yt-dlp (2023.03.04-1~bpo11+1) ...
   Processing triggers for man-db (2.9.4-2) ...
   Scanning processes...
   Scanning processor microcode...
   Scanning linux images...
 

Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Jean-Michel OLTRA


Bonjour,


Le jeudi 06 avril 2023, benoit a écrit...


> Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un
> système en train de tourner ?

rsnapshot.

Très facile à configurer. Je l'utilise depuis des années.

-- 
jm



Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread BERTRAND Joël
Jean-François Bachelet a écrit :
> j'ai jeté un oeil à baccula et je suis d'accord avec la complexité de
> configuration, arg.
> 
> tu aurais un tuto fiable (et récent) pour ça à nous conseiller ? ou un
> exemple basé sur ta config ?
> 
> parce que sur le net y à boire et à manger la dessus...
> 
> mercitouplein d'avance :)

Bonjour,

Je n'ai pas d'expérience récente de Bacula sous Debian en particulier
ou Linux en général.

Côté configuration, je n'ai que quatre fichiers :
- bacula-dir.conf
- bacula-fd.conf
- bacula-sd.conf
- bconsole.conf ou bat.conf selon que l'on veut une interface d'admin
texte ou graphique.

Les fichiers de conf sont bien documentés sous NetBSD. La difficulté
est de savoir qui parle avec qui pour renseigner les différents
"Password" dans les fichiers. Le reste de la configuration est assez simple.



Re: Un système simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread BERTRAND Joël
Michel Verdier a écrit :
> Le 6 avril 2023 BERTRAND Joël a écrit :
> 
>>  J'ai une sauvegarde complète tous les mois, une différentielle par
>> semaine et une incrémentale tous les jours. La rotation des données
>> d'archivage est automatique.
> 
> Oui une des grosses différences c'est qu'avec rsync (sous rsnapshot ou
> autre) tu peux faire des complètes tous les jours, voire toutes les
> heures, sans impacter plus l'occupation disque. Ça simplifie et accélère
> très nettement les restaurations.

Ce qui doit correspondre peu ou prou aux diff/inc de Bacula. Bacula est
totalement transparent lorsqu'il s'agit de restaurer les fichiers (il
propose les différentes versions des fichiers et on choisit celle que
l'on veut restaurer).



Re: Un système simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 BERTRAND Joël a écrit :

>   J'ai une sauvegarde complète tous les mois, une différentielle par
> semaine et une incrémentale tous les jours. La rotation des données
> d'archivage est automatique.

Oui une des grosses différences c'est qu'avec rsync (sous rsnapshot ou
autre) tu peux faire des complètes tous les jours, voire toutes les
heures, sans impacter plus l'occupation disque. Ça simplifie et accélère
très nettement les restaurations.



Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Jean-François Bachelet

Hello Bertrand :)

Le 06/04/2023 à 13:59, BERTRAND Joël a écrit :

benoit a écrit :

Bonjour

Habituellement Clonezilla installé sur un disque externe et boot l'ordi
sur le disque externe qui lance Clonezilla.
Mais ces redémarrages, c'est pénible de devoir arrêter, aller dans la
séquence de boot positionnée sur le lecteur externe... C'est dissuasif
de faire des sauvegardes.

Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un
système en train de tourner ?
Du coup le logiciel de clonage serait installé sur le système lui même
et pas sur un disque externe...


Bonjour,

Bacula fait le boulot proprement chez moi depuis des années (sous
NetBSD, mais je viens de vérifier, il est empaqueté debian). Un peu
pénible à configurer, mais c'est le genre d'outil qui se fait oublier
une fois qu'on a vérifié que les données sont bien récupérables.

J'ai une sauvegarde complète tous les mois, une différentielle par
semaine et une incrémentale tous les jours. La rotation des données
d'archivage est automatique.

Il y a trois parties :
- bacula-dir (qui est le processus principal), un seul ;
- bacula-sd (daemon de stockage), un ou plusieurs en fonctions des
périphériques de sauvegarde ;
- bacula-fd (daemon de lecture des disques), un ou plusieurs en fonction
du nombre de postes à sauvegarder,
et une base de données (chez moi PostgreSQL).

Les trois parties peuvent être sur le même serveur.


j'ai jeté un oeil à baccula et je suis d'accord avec la complexité de 
configuration, arg.


tu aurais un tuto fiable (et récent) pour ça à nous conseiller ? ou un 
exemple basé sur ta config ?


parce que sur le net y à boire et à manger la dessus...

mercitouplein d'avance :)


j'ai aussi essayé Tartarus (trouvé sur un serveur que j'admin, c'était 
l'outil utilisé) :  https://github.com/wertarbyte/tartarus


il est minuscule (37 Kb !) et fait tout ça :

* shell script relying on standard software and formats (tar) -> pas
de trucs zarbi à installer, n'utilise même pas rsynch
* modular and flexible configuration handling -> facile à configurer
* full and incremental backups -> tous types de sauvegardes
* filesystem snapshot functionality (when used in conjunction with
LVM) -> capable de faire des instantanés (snashots) d'abord
* On-the-fly uploading to an FTP site -> plein de destination des
sauvegardes possibles
* Encryption (symmetric and asymmetric) using GnuPG ->> encryptage
possible des sauvegardes pour plus de protection de vos données
* splitting the archive into several files -> capable de saucissonner
vos sauvegardes en plusieurs petits bouts pour les Grosses configs...

il commence à se faire vieux c'est pour ça que je zieutais du côté de 
baccula... mais marche pas mal et est stable :)



Jeff




How: Require root password instead of user password for GUI programs

2023-04-06 Thread B.M.
Hi,

I configured my system such that some users are in group sudo, but they are
asked for the root password instead of just their user password by creating a
file within /etc/sudoers.d/ with the line:

 Defaults rootpw

This is working just fine, but for graphical applications it doesn't work: e.g.
to start synaptic I get a password prompt requiring my user password, not the
root password.

How can I configure my system such that entering the root password is also
required in these cases?

(Maybe there is something with polkit, but I couldn't figure out myself...)

Thank you.

Have a nice day,
Bernd




Re: système simple pour sauvegarder partitions os en train de tourner.

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 Jean-François Bachelet a écrit :

> oui rsync est bien , mais si tu rsync une partition en train de tourner avec
> des bases de données mysql ou autre en route moi je chope des messages comme
> quoi le contenu de mes bdd à changé pendant la copie rsync :(

Pour les bases je fais un dump à chaud et je rsync les dumps. Je fais les
dump table par table comme ça seules les tables modifiées doivent être
reprises. Avec postgresql c'est encore mieux le dump est garanti
globalement au niveau transactionnel. Je fais ça aussi pour openldap et
ça doit pouvoir se faire pour tes autres applis.



Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread BERTRAND Joël
benoit a écrit :
> Bonjour
> 
> Habituellement Clonezilla installé sur un disque externe et boot l'ordi
> sur le disque externe qui lance Clonezilla.
> Mais ces redémarrages, c'est pénible de devoir arrêter, aller dans la
> séquence de boot positionnée sur le lecteur externe... C'est dissuasif
> de faire des sauvegardes.
> 
> Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un
> système en train de tourner ?
> Du coup le logiciel de clonage serait installé sur le système lui même
> et pas sur un disque externe...
> 

Bonjour,

Bacula fait le boulot proprement chez moi depuis des années (sous
NetBSD, mais je viens de vérifier, il est empaqueté debian). Un peu
pénible à configurer, mais c'est le genre d'outil qui se fait oublier
une fois qu'on a vérifié que les données sont bien récupérables.

J'ai une sauvegarde complète tous les mois, une différentielle par
semaine et une incrémentale tous les jours. La rotation des données
d'archivage est automatique.

Il y a trois parties :
- bacula-dir (qui est le processus principal), un seul ;
- bacula-sd (daemon de stockage), un ou plusieurs en fonctions des
périphériques de sauvegarde ;
- bacula-fd (daemon de lecture des disques), un ou plusieurs en fonction
du nombre de postes à sauvegarder,
et une base de données (chez moi PostgreSQL).

Les trois parties peuvent être sur le même serveur.



Re: système simple pour sauvegarder partitions os en train de tourner.

2023-04-06 Thread Jean-François Bachelet

Hello :)

Le 06/04/2023 à 13:14, Michel Verdier a écrit :

Le 6 avril 2023 ajh-valmer a écrit :


c'est quoi un "snapshot " ?
et à quelle fin l'utilise t-on ?

C'est une copie de tout ou partie d'un filesystem. Et ça permet de
récupérer tout ou partie du filesystem avec une version à un instant t.
Pour optimiser, l'idée est qu'un snapshot ne reprend que ce qui a changé
depuis le snapshot précédent. Et l'autre problème est qu'on veut retomber
sur une version "stable" d'où l'idée d'arrêter le filesystem pour le
copier. Et l'arrivée des snapshot à chaud pour éviter l'arrêt.
L'utilisation d'outils comme rsync qui sont au niveau des fichiers
contourne ce dernier problème.


oui rsynch est bien , mais si tu rsynch une partition en train de 
tourner avec des bases de données mysql ou autre en route moi je chope 
des messages comme quoi le contenu de mes bdd à changé pendant la copie 
rsynch :(



ou alors je m'y prends mal ?


Jeff :)



Re: Demande de vérification de config pour suivre stable et Testing

2023-04-06 Thread Basile Starynkevitch


On 06/04/2023 11:48, benoit wrote:

Bonjour à toutes et tous,

Config pour suivre stable et testing si qlq veut bien vérifier la 
config avant


Est-ce que cette config est correcte :
/etc/apt/sources.list
deb https://deb.debian.org/debian/ stable main contrib # non-free
deb-src https://deb.debian.org/debian/ stable main contrib
deb https://deb.debian.org/debian/ stable-updates main contrib

deb http://security.debian.org/debian-security/ stable-security main 
contrib


deb http://deb.debian.org/debian stable-backports main

deb https://deb.debian.org/debian/ testing main contrib
deb https://deb.debian.org/debian/ testing-updates main contrib
deb http://security.debian.org/debian-security/ testing-security main 
contrib


/etc/apt/apt.conf

APT::Default-Release "stable";

/etc/apt/preferences

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 50

Package: *
Pin: release a=stable-backports
Pin-Priority: 50


A moins de passer en testing ?



Moi j'ai toujours utilisé testing ou unstable, mais c'est pour developer 
du logiciel, pas pour faire tourner (par exemple) un site important 
comme une banque ou un hopital


Pour un travail de dévelopeur, testing est très largement pratique et en 
réalité stable.


A mon avis la redondance testing + stable est néfaste et diminue la 
stabilité d'un système!



Librement

--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/ & refpersys.org


Re: questions about cron.daily

2023-04-06 Thread Greg Wooledge
On Thu, Apr 06, 2023 at 07:33:26PM +0800, cor...@free.fr wrote:
> For scripts put under /etc/cron.daily, which special time will they be
> implemented?

unicorn:~$ grep daily /etc/crontab
25 6* * *   roottest -x /usr/sbin/anacron || ( cd / && run-parts 
--report /etc/cron.daily )



questions about cron.daily

2023-04-06 Thread coreyh

Hello list,

For scripts put under /etc/cron.daily, which special time will they be 
implemented?


I know they will be run daily, but not sure about the special run time.

And, I found some services like apache2, chkrootkit will put the scripts 
in this dir automatically. are they for system cleaning purpose?


Thanks.
Corey



Re: Demande de vérification de config pour suivre stable et Testing

2023-04-06 Thread didier gaumet

Le 06/04/2023 à 11:48, benoit a écrit :

Bonjour à toutes et tous,

Config pour suivre stable et testing si qlq veut bien vérifier la config 
avant

[...]

A moins de passer en testing ?
C'est quoi le plus sûr et stable ?
J'ai juste besoin de quelques paquets-dev en testing pour compiler 
digikam 8 dans la branche master pour avoir les dernières fonctionnalités

[...]

Bonjour,

chacun sa façon de faire: perso je ne me vois plus mélanger stable et 
testing, mais ça dépend aussi de la competence et du temps que chacun 
peut y consacrer.


 Je me demande effectivement dabs quelle mesure (je n'ai pas de réponse 
-argumentée ou non- à apporter) stable+testing est stable que testing...


Et sinon, mais ça n'est peut-être pas du tout pertinent ou intéressant, 
si j'étais dans le cas que tu cites, je me demande si tout en restant en 
 Debian Stable, je ne créerais pas une machine virtuelle (ou un 
container) dans laquelle tournerait Debian Unstable pour compiler 
Digikam et l'exécuter





Re: système simple pour sauvegarder partitions os en train de tourner.

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 ajh-valmer a écrit :

> c'est quoi un "snapshot " ?
> et à quelle fin l'utilise t-on ?

C'est une copie de tout ou partie d'un filesystem. Et ça permet de
récupérer tout ou partie du filesystem avec une version à un instant t.
Pour optimiser, l'idée est qu'un snapshot ne reprend que ce qui a changé
depuis le snapshot précédent. Et l'autre problème est qu'on veut retomber
sur une version "stable" d'où l'idée d'arrêter le filesystem pour le
copier. Et l'arrivée des snapshot à chaud pour éviter l'arrêt.
L'utilisation d'outils comme rsync qui sont au niveau des fichiers
contourne ce dernier problème.



Re: systhème simple pour sauvegarder partitions os en train de tourner.

2023-04-06 Thread didier gaumet

Le 06/04/2023 à 12:55, ajh-valmer a écrit :
[...]

c'est quoi un "snapshot " ?
et à quelle fin l'utilise t-on ?

[...]

quelques éléments de réponse ici:
https://fr.wikipedia.org/wiki/Instantan%C3%A9_(informatique)



Re: systhème simple pour sauvegarder partitions os en train de tourner.

2023-04-06 Thread ajh-valmer
On Thursday 06 April 2023 11:08:43 didier gaumet wrote:
> Le 06/04/2023 à 10:44, benoit a écrit :
> > comment on fait un snapshot ?

> tu peux peut-être jeter un oeil à Timeshift (empaqueté dans Debian):
> https://teejeetech.com/timeshift/

Oui, très bonne question, 

c'est quoi un "snapshot " ?
et à quelle fin l'utilise t-on ?

Merci d'avance, bonne journée.

ajh-valmer



Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 didier gaumet a écrit :

> tu peux peut-être jeter un oeil à Timeshift (empaqueté dans Debian):
> https://teejeetech.com/timeshift/

Pour ma part j'utilise rsnapshot qui est basé, comme un des modes de
timeshift, sur rsync. Ca permet de faire facilement des backup économes
en occupation disque et avec la périodicité voulue : mensuelle, hebdo,
quotidienne, horaire. Et sans avoir à basculer sur btrfs ou zfs.



Demande de vérification de config pour suivre stable et Testing

2023-04-06 Thread benoit
Bonjour à toutes et tous,

Config pour suivre stable et testing si qlq veut bien vérifier la config avant

Est-ce que cette config est correcte :
/etc/apt/sources.list
deb https://deb.debian.org/debian/ stable main contrib # non-free
deb-src https://deb.debian.org/debian/ stable main contrib
deb https://deb.debian.org/debian/ stable-updates main contrib

deb http://security.debian.org/debian-security/ stable-security main contrib

deb http://deb.debian.org/debian stable-backports main

deb https://deb.debian.org/debian/ testing main contrib
deb https://deb.debian.org/debian/ testing-updates main contrib
deb http://security.debian.org/debian-security/ testing-security main contrib

/etc/apt/apt.conf

APT::Default-Release "stable";

/etc/apt/preferences

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 50

Package: *
Pin: release a=stable-backports
Pin-Priority: 50

A moins de passer en testing ?
C'est quoi le plus sûr et stable ?
J'ai juste besoin de quelques paquets-dev en testing pour compiler digikam 8 
dans la branche master pour avoir les dernières fonctionnalités

Merci d'avance

Benoit

Envoyé avec la messagerie sécurisée [Proton Mail](https://proton.me/).

Re: Re : Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread didier gaumet

Le 06/04/2023 à 10:44, benoit a écrit :


comment on fait un snapshot ?

Benoit


Bonjour,

tu peux peut-être jeter un oeil à Timeshift (empaqueté dans Debian):
https://teejeetech.com/timeshift/



pregunta arrencada dual amb UEFI i GPT

2023-04-06 Thread alex

Bon dia llista,

des de fa dues setmanes he intentat instal.lar la propera Debian 12 en 
arrencada dual tant a la feina, on hi ha ordinadors amb arrencada per 
UEFI i Windows, com a casa, on tinc algun ordinador amb arrencada UEFI i 
MacOS.


La imatge la descarregava de 
https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/


En instal.lar-se Debian, al GRUB no apareix bé l'opció d'arrencar amb 
Windows, o directament no apareix l'opció d'arrencar MacOS, tot i que al 
fitxer /etc/default/grub està activat lo de 
"GRUB_DISABLE_OS_PROBER=false" i tinc instal.lat el paquet os-prober.


He vist que a Ubuntu i Mint normalment funciona bé l'opció Windows del 
GRUB. Llavors he comparat els fitxers que Ubuntu 22.04 genera a 
/etc/grub.d amb els de Debian 12, i jo no he sabut interpretar 
diferencies remarcables.


He trobat que en instal.lar el paquet refind em soluciona el problema 
amb MacOS i suposo que m'ho solucionarà amb Windows. Crec que no toca 
coses de GRUB sino que suposo que fica un nou mode d'arrencada al gestor 
UEFI que detecta els sistemes operatius. Potser he dit una barbaritat 
per que no sé gaire d'UEFI.


La pregunta és, sabeu que cal tocar a GRUB per que reconegui MACOS o 
Windows en arrencada DUAL, en arrencades amb UEFI i GPT? o és culpa 
meva per no esperar a que termini el procés de congel.lació de Debian 
12?


Gràcies



Re : Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread benoit
Le jeudi 6 avril 2023 à 10:39, Jean-François Bachelet  a 
écrit :


> Hello :)
>
> Le 06/04/2023 à 10:10, benoit a écrit :
>
> > Bonjour
> >
> > Habituellement Clonezilla installé sur un disque externe et boot
> > l'ordi sur le disque externe qui lance Clonezilla.
> > Mais ces redémarrages, c'est pénible de devoir arrêter, aller dans la
> > séquence de boot positionnée sur le lecteur externe... C'est dissuasif
> > de faire des sauvegardes.
> >
> > Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un
> > système en train de tourner ?
> > Du coup le logiciel de clonage serait installé sur le système lui même
> > et pas sur un disque externe...
>
>
>
> si le système à cloner supporte les snapshots, je te dirait de d'abord

le système à cloner c'est debian stable

> faire un snapshot, de le monter et de le clonezyller. ça perturbera pas
> le système en train de tourner... pour ça faudrait que tu installe
> clonezilla sur le système en question.
>
>

comment on fait un snapshot ?

Benoit



Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Dethegeek
Bonjour

J'en pense que tu as fait une bonne proposition. L'important, c'est de
passer par le Snapshot. Après cela, on est libre de choisir son outil de
sauvegarde préféré.

Le jeu. 6 avr. 2023 à 10:39, Jean-François Bachelet  a
écrit :

> Hello :)
>
> Le 06/04/2023 à 10:10, benoit a écrit :
> > Bonjour
> >
> > Habituellement Clonezilla installé sur un disque externe et boot
> > l'ordi sur le disque externe qui lance Clonezilla.
> > Mais ces redémarrages, c'est pénible de devoir arrêter, aller dans la
> > séquence de boot positionnée sur le lecteur externe... C'est dissuasif
> > de faire des sauvegardes.
> >
> > Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un
> > système en train de tourner ?
> > Du coup le logiciel de clonage serait installé sur le système lui même
> > et pas sur un disque externe...
>
>
> si le système à cloner supporte les snapshots, je te dirait de d'abord
> faire un snapshot, de le monter et de le clonezyller. ça perturbera pas
> le système en train de tourner... pour ça faudrait que tu installe
> clonezilla sur le système en question.
>
>
> vous en pensez quoi tous ?
>
>
> Jeff
>
>


Re: Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread Jean-François Bachelet

Hello :)

Le 06/04/2023 à 10:10, benoit a écrit :

Bonjour

Habituellement Clonezilla installé sur un disque externe et boot 
l'ordi sur le disque externe qui lance Clonezilla.
Mais ces redémarrages, c'est pénible de devoir arrêter, aller dans la 
séquence de boot positionnée sur le lecteur externe... C'est dissuasif 
de faire des sauvegardes.


Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un 
système en train de tourner ?
Du coup le logiciel de clonage serait installé sur le système lui même 
et pas sur un disque externe...



si le système à cloner supporte les snapshots, je te dirait de d'abord 
faire un snapshot, de le monter et de le clonezyller. ça perturbera pas 
le système en train de tourner... pour ça faudrait que tu installe 
clonezilla sur le système en question.



vous en pensez quoi tous ?


Jeff



Un systhème simple pour sauvegarder les partitions d'un os en train de tourner.

2023-04-06 Thread benoit
Bonjour

Habituellement Clonezilla installé sur un disque externe et boot l'ordi sur le 
disque externe qui lance Clonezilla.
Mais ces redémarrages, c'est pénible de devoir arrêter, aller dans la séquence 
de boot positionnée sur le lecteur externe... C'est dissuasif de faire des 
sauvegardes.

Existe-t-il un moyen sûr de sauvegarder les partitions montées d'un système en 
train de tourner ?
Du coup le logiciel de clonage serait installé sur le système lui même et pas 
sur un disque externe...

Merci d'avance

--
Benoit

Envoyé avec la messagerie sécurisée [Proton Mail](https://proton.me/).

Re: Quel lanceur d'appli pour Gnome/Bullseye ?

2023-04-06 Thread Michel Verdier
Le 6 avril 2023 benoit a écrit :

> Les lanceur d'appli, ça peu aller très loin avec des indexeurs et des choses 
> vraiment sophistiquées, à un lanceur aussi simple que grun(que j'utilise)
> Du coup si tu veux faire simple 
> Pour ulauncher l'installation du paquet debian est expliquée ici
> https://youtu.be/dvMsYCGzWaM?t=51
>
> https://ulauncher.io/#Download
>
> Je m'y suis intéressé à un moment, mais n'ai pas poursuivit et suis resté au 
> lanceur ultra simple type grun

Personnellement j'utilise dwm avec dmenu qui fait une recherche regex sur
les noms d'exécutables, ça a l'air d'être plus ou moins ce qui est
présenté sur le lien ulauncher. Mais j'ai vu dernièrement l'utilisation
d'une interface de recherche qui allait plus loin : en tapant "wifi" elle
affichait un lien vers le réglage wifi, donc apparemment une recherche
sur des mots-clé associés aux applis. Mais je n'ai pas pu savoir ce qui
tournait derrière.



Re : Quel lanceur d'appli pour Gnome/Bullseye ?

2023-04-06 Thread benoit
Les lanceur d'appli, ça peu aller très loin avec des indexeurs et des choses 
vraiment sophistiquées, à un lanceur aussi simple que grun(que j'utilise)
Du coup si tu veux faire simple 
Pour ulauncher l'installation du paquet debian est expliquée ici
https://youtu.be/dvMsYCGzWaM?t=51

https://ulauncher.io/#Download

Je m'y suis intéressé à un moment, mais n'ai pas poursuivit et suis resté au 
lanceur ultra simple type grun

Mais je vais suivre les discutions

Envoyé avec la messagerie sécurisée Proton Mail.

--- Original Message ---
Le jeudi 6 avril 2023 à 09:17, Olivier  a écrit :


> Bonjour,
> 
> J'ai découvert dernièrement l'existence de lanceurs d'application de
> type Ulauncher, Albert, ...
> Ceux-ci semblent faciliter l'utilisation au clavier de sa machine en
> permettant par exemple d'accéder à des menus spécialisés (cf [1]).
> 
> 1. Pouvez-vous confirmer de l'intérêt sur la durée de tels lanceurs ?
> 
> 2. Quel lanceur conseillez-vous pour Gnome/Bullseye ou Gnome/Bookworm
> ? Ce lanceur et ses plugins s'installent-ils facilement sur notre OS
> préféré ?
> 
> [1] https://ext.ulauncher.io/
> 
> Slts



Quel lanceur d'appli pour Gnome/Bullseye ?

2023-04-06 Thread Olivier
Bonjour,

J'ai découvert dernièrement l'existence de lanceurs d'application de
type Ulauncher, Albert, ...
Ceux-ci semblent faciliter l'utilisation au clavier de sa machine en
permettant par exemple d'accéder à des menus spécialisés (cf [1]).

1. Pouvez-vous confirmer de l'intérêt sur la durée de tels lanceurs ?

2. Quel lanceur conseillez-vous pour Gnome/Bullseye ou Gnome/Bookworm
? Ce lanceur et ses plugins s'installent-ils facilement sur notre OS
préféré ?

[1] https://ext.ulauncher.io/

Slts



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread Susmita/Rajib
To: debian-user@lists.debian.org
Subject: Re: Which Diff tool could I use for visually comparing
two text files where Word Wrap is possible?
From: davidson 
Date: Wed, 5 Apr 2023 16:25:06 + (UTC)
Message-id: <[] alpine.deb.2.21.2304051620250.20...@azone.org>
In-reply-to: <[] alpine.deb.2.21.2304051324580.20...@azone.org>
References:


<[] caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
<[] CAEG4cZVrPz=aZN6C0V0J3EPYMrH=UGkWcbVCc8xY=31ff_p...@mail.gmail.com>
<[] CAEG4cZUXaUAxG=0zlwpxuy44x9rtf7tnewvgfuddmzq7ile...@mail.gmail.com>
<[] caeg4czvce+49-mkwgw7le3l1t6ztsak7jd3kchkevfgh303...@mail.gmail.com>
<[] CAEG4cZWKu1LVJY_Js+VtXA00tVEDPR_JuPaCJ=jrqerae44...@mail.gmail.com>
<[] caeg4czu4zccbkc9fff66nwwr2ubd_1p_z1bdnhrh_sjp3ik...@mail.gmail.com>
<[] CAEG4cZXvzBMjbsRRih6Ku1wSJN0oWP_=y_tlfbuoobgplio...@mail.gmail.com>
<[] caeg4czubt-mfzn4rn1odmyema0tmufauwzch1s3pbc+z7w2...@mail.gmail.com>
<[] caeg4czvocyzux5gjxbdv5uyt1mxhmfdxglz_asbppmkjch2...@mail.gmail.com>
<[] CAEG4cZX0DogxF=8-rjc_TzqgL8=evmorep8bq3zv8wycnt2...@mail.gmail.com>
<[] alpine.deb.2.21.2304051324580.20...@azone.org>

[   ...   ]

Dear Mr. Davidson, I think that we better drop this thread for the
time being. I have written to Sascha Steinbiss, the Maintainer, icdiff
in debian repo, with the links to the specific emails of this thread.

I am sure, the brilliant programmer that he is, he would heed to our
indications and would come up with something apt in the near future.

I am more concerned about your wasting so much of your precious energy
into the matter that has to be solved from within the program itself,
programmatically by tweaking the source code, rather than using
scripts.

Please preserve your energy and use it to a better challenge that can
be solved. You have done enough already. Given me a clearer
perspective. Presently, I shall adjust myself to live with the current
limitations of icdiff. What I have is already sufficient for me to
proceed ahead.

I apologise that I could not explain more on the text as they form a
part of my book and also  my research papers which requires the
services of an editor. Since I am an independent researcher, I post my
articles in vixra.org.

Best wishes,
Rajib
Etc.



Re: How to get rid of the synaptic message (mentioned below) at the end of installing a package?

2023-04-06 Thread Susmita/Rajib
Bottomline:
---
The very question :
[Quote]
How to get rid of the synaptic message (mentioned below) at the end of
installing a package?
[EndQuote]
becomes immaterial as, like Mr. Davidson so discreetly mentions, THIS IS A BUG.

SO, MAY THIS THREAD BE TREATED AS CLOSED.

Best wishes,
Rajib
Etc.



Re: How to get rid of the synaptic message (mentioned below) at the end of installing a package?

2023-04-06 Thread Susmita/Rajib
To: debian-user@lists.debian.org
Subject: Re: How to get rid of the synaptic message (mentioned
below) at the end of installing a package?
From: David Wright 
Date: Wed, 5 Apr 2023 18:30:24 -0500
Message-id: 
Reply-to: debian-user@lists.debian.org
In-reply-to: <[]
caeg4czvjtcgcank_0ucbt+dpgucssohjetxvbkngx8aph++...@mail.gmail.com>
References: <[]
caeg4czvjtcgcank_0ucbt+dpgucssohjetxvbkngx8aph++...@mail.gmail.com>

[...   ]

Dear Mr. Wright,

I remember our earlier interactions. But this time the length you have
gone to to help me gain a perspective is beyond thanks. It is
admirable, particularly for a novice who wouldn't likely make a
difference to the world.

You said, "... It's trivial to provoke this message, though I can't be sure of
precisely why APT generates it ..."

You added, "... This time there's no warning, and the package is
cached ... I guess you have to sort out why a file would be being read
from /root/.synaptic/tmp//tmp_sh. I know next to nothing about
synaptic ..."

I have read the lines generated by apt while installing, though they
are very complicated for me.

In the matter of your uncertainty, please try to imagine my condition
then. Which is why I need GPT advanced. We can't access our
subconscious processing. We are easily tired, but AI won't tire. If my
questions are reasonable and clear, all of them would be answered. I
would then be able to learn and solve from a,b,c to 1,2,3 of gates,
flip-flops and storage to AI-level computing and illuminate the grey
areas within. So AGI is a demand that shall be met, eventually.

I have the other post in this thread, to Mr. Davidson, which explains
why I am stuck with synaptic and do not venture out to explore apt.
man pages are mostly without examples and are to be linearly learned,
whereas real-time computing using the terminals require a very
complicated intermesh of learning, analyses, syntheses, evaluations,
experience and intuition.

I have my idea recorded in the Google Drive folder that could be
accessed from a Shortener Link That Must Not Be Named other than BIT
and the LY accompanying it with a clear example of how I visualise our
Enhanced Manual (EnMan) Pages should be.

It is not that I fear adventure, but I fear that I won't receive any
support precisely with explanations on the 'why' part, when I need
them the most. I find that we are all virtually like tiny lamps with a
lot of darkness around us. At least, some brighter lamps came together
and produced this Open Source system where and in whih one is not
taxed to breathe air.

So bottom-line that I derive from your explanation is:it is better
to ignore the warnings altogether unless and until the system fails.

But I must thank you for your kind explanations. Mr. Davidson has also
been very kind to me. Many of the senior members I have interacted
with here have been very kind and accommodating. Free Software
Movement upholds that people generally barter and share. It must be
the environment that empowers kindness. I thank you all. But I lament
that we all are ultimately limited.

We live in an era of confusion because of the limitations in human
processing abilities, particularly in computing. Hopefully, this
limitations too shall be our past.

I very firmly believe that Debian should explore the OpenAI so long as
it is open, and the AGI domain, to create an offshoot of the GPTn,
HuggingGPT, et al, to implement it to harmonise various aspects of the
Debian universe, particularly, replacing the man pages with something
more reflective of the mesh network that the various computing domains
represent.

Another aspect which I expect is a pre-determined size,
time-dependent, log / index file, recording CPU processing steps, each
step at a time, even if the computation speed reduces to half, and let
GPT derive associations between the steps and the problems that the
system faces. This General Transformer is really an interesting field.
I hope to find someone who could teach me the mathematical basis for
these transformers to work, without my joining a paid institution with
a syllabus and structured learning with Time-Bound, Roted, Closed-Book
Exams.

Best wishes,
Rajib
Etc.