Re: systemd error

2019-03-10 Thread Default User
Okay, I give up.

I have literally spent almost all day trying to solve this.  I tried and
tried, everything I could think of. But to no avail. So I quit.

I will just have to either ignore the problem and pretend it doesn't exist,
or just purge the minissdpd package completely, and hope nothing really
needs it. Decisions, decisions . . .

Anyway I do want to thank those who tried to help me with this.  I really
do appreciate it.


Re: Bajar Debian 10

2019-03-10 Thread Emiliano Gabriel Reynoso
Fijate aca:

https://cdimage.debian.org/mirror/cdimage/

El dom., 10 de mar. de 2019 a la(s) 21:33, Marcelo Eduardo Giordano (
marcelogiord...@gmail.com) escribió:

> El 10/3/19 a las 20:39, Emiliano Gabriel Reynoso escribió:
>
> Este es el link de buster:
>
> https://www.debian.org/devel/debian-installer/
>
> Entras ahí y bajas la imagen que necesites.
>
> Es la versión testing de Debian. Yo la uso y no he tenido grandes
> problemas.
> Suerte!
>
>
>
>
> El dom., 10 de mar. de 2019 20:12, Marcelo Eduardo Giordano <
> marcelogiord...@gmail.com> escribió:
>
>> Esta pregunta que voy a hacer es vergonzosa, pero no puedo solucionarla.
>>
>> Como bajo debian 10?
>>
>> probé aca pero nada
>>
>> https://www.debian.org/CD/live/
>>
>> Gracias de antemano
>>
>> Versiones live de debian 10 no vienen?
>
> Gracias de antemano
>


Re: Bajar Debian 10

2019-03-10 Thread Marcelo Eduardo Giordano

El 10/3/19 a las 20:39, Emiliano Gabriel Reynoso escribió:

Este es el link de buster:

https://www.debian.org/devel/debian-installer/

Entras ahí y bajas la imagen que necesites.

Es la versión testing de Debian. Yo la uso y no he tenido grandes 
problemas.

Suerte!




El dom., 10 de mar. de 2019 20:12, Marcelo Eduardo Giordano 
mailto:marcelogiord...@gmail.com>> escribió:


Esta pregunta que voy a hacer es vergonzosa, pero no puedo
solucionarla.

Como bajo debian 10?

probé aca pero nada

https://www.debian.org/CD/live/

Gracias de antemano


Versiones live de debian 10 no vienen?

Gracias de antemano



Re: Bajar Debian 10

2019-03-10 Thread Emiliano Gabriel Reynoso
Este es el link de buster:

https://www.debian.org/devel/debian-installer/

Entras ahí y bajas la imagen que necesites.

Es la versión testing de Debian. Yo la uso y no he tenido grandes problemas.
Suerte!




El dom., 10 de mar. de 2019 20:12, Marcelo Eduardo Giordano <
marcelogiord...@gmail.com> escribió:

> Esta pregunta que voy a hacer es vergonzosa, pero no puedo solucionarla.
>
> Como bajo debian 10?
>
> probé aca pero nada
>
> https://www.debian.org/CD/live/
>
> Gracias de antemano
>
>


Re: Bajar Debian 10

2019-03-10 Thread Raphael Verdugo P.
Intenta bajarla cuando este "lista".





El dom., 10 mar. 2019 a las 20:12, Marcelo Eduardo Giordano (<
marcelogiord...@gmail.com>) escribió:

> Esta pregunta que voy a hacer es vergonzosa, pero no puedo solucionarla.
>
> Como bajo debian 10?
>
> probé aca pero nada
>
> https://www.debian.org/CD/live/
>
> Gracias de antemano
>
>

-- 
Raphael Verdugo P.
BOFH


Bajar Debian 10

2019-03-10 Thread Marcelo Eduardo Giordano

Esta pregunta que voy a hacer es vergonzosa, pero no puedo solucionarla.

Como bajo debian 10?

probé aca pero nada

https://www.debian.org/CD/live/

Gracias de antemano



Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 21:58, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian version and 
upgraded ?



   it has been installed with Lenny, which is now an old version, but was
   at that time the current one...
   and then upgrade to Squeeze, Wheezy, Jessie and Stretch


I do not remember which version installed /etc/mtab as a symlink, but during 
the upgrade from the previous version it was offered to replace the regular 
file with a symlink. Maybe you answered "no" and /etc/mtab remained a regular 
file. Well, you can still replace it by hand now.


  I don't remember such a question, but that's actually what I did.

Re: mkfs problem (half resolved)

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 21:58, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian 
version and upgraded ?



   it has been installed with Lenny, which is now an old version, but was
   at that time the current one...
   and then upgrade to Squeeze, Wheezy, Jessie and Stretch


I do not remember which version installed /etc/mtab as a symlink, but 
during the upgrade from the previous version it was offered to replace 
the regular file with a symlink. Maybe you answered "no" and /etc/mtab 
remained a regular file. Well, you can still replace it by hand now.




systemd mdadm spamming my syslog

2019-03-10 Thread Joe Pfeiffer
Since a recent update, my /var/log/syslog is getting spammed with huge
numbers of messages of the form

Mar 10 14:02:25 snowball systemd-udevd[18681]: Process '/sbin/mdadm 
--incremental --export /dev/sda3 --offroot 
/dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 
/dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e 
/dev/disk/by-path/pci-:00:11.0-ata-1-part3 
/dev/disk/by-id/wwn-0x5000c50086c86ae8-part3' failed with exit code 1.

When I run the command by hand, I get

root@snowball:~# /sbin/mdadm --incremental --export /dev/sda3 --offroot 
/dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 
/dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e 
/dev/disk/by-path/pci-:00:11.0-ata-1-part3 
/dev/disk/by-id/wwn-0x5000c50086c86ae8-part3
mdadm: cannot reopen /dev/sda3: Device or resource busy.

Which at least gives me a small clue, but really not much of one.

I'm not even really clear on whther this is a systemd or mdadm bug.

So, some questions:

1) what is this command trying to do?  I do understand a little about mdadm,
and am running a RAID 1 array on this machine.  But this is using an
option (--offroot) that doesn't even appear in the man page, and I've
got no idea what it's trying to accomplish.

2) how can I make it stop?



Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


What kind of system are you using ?


   Debian Stretch


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian version and 
upgraded ?



  it has been installed with Lenny, which is now an old version, but was
  at that time the current one...
  and then upgrade to Squeeze, Wheezy, Jessie and Stretch


Re: Programa IRPF2019 não se instala no Debian GNU/Linux 9

2019-03-10 Thread Paulo Alexandre A.P. de Oliveira
Se o programa é Java, pode ser que tenhas a openjava ao invés do oracle 
java que pode ser preciso.


Paulo.

On 10/03/19 19:34, Jamenson Ferreira Espindula de Almeida Melo wrote:

Em dom, 10 de mar de 2019 às 07:12, China  escreveu:

Supondo que você já usou o chmod pra dar permissão de execução no arquivo após 
o download, tente usar o strace pra ler a saída da execução. Geralmente as 
últimas 10 linhas dão pistas do que pode estar dando errado.

Em dom, 10 de mar de 2019 01:27, Jamenson Ferreira Espindula de Almeida Melo 
 escreveu:

Saudações.

O instalador do programa do Imposto de Renda Pessoa Física (IRPF) 2019
não está instalando no meu Debian GNU/Linux 9 (Stretch).

O arquivo é o "IRPF2019Linux-x86_64v1.0.bin" e o hash md5 é este:

fae15aeb8d6c7807c271a0a96b13054b  IRPF2019Linux-x86_64v1.0.bin

Eu executo o arquivo no emulador de terminal (no ambiente gráfico) e
nada acontece. Nenhuma mensagem de erro. Nada.

O comando ps mostra que o dito instalador está em execução, porém nada ocorre.

Eu instalei a Máquina Virtual Java, conforme as instruções contidas no
página da Receita Federal do Brasil, porém nada.

Alguma ideia? Alguém está com essa mesma dificuldade?

Jamenson Ferreira Espindula de Almeida Melo
Jaboatão dos Guararapes, Pernambuco, Brasil
Usuário GNU/Linux nº 166197
https://linuxcounter.net/cert/166197.png

Impressão digital da chave:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180


Obrigado por responder China.

De fato, eu modifiquei as permissões (chmod a+x), conforme as
instruções contidas no portal da Receita Federal do Brasil.

Um reconhecimento especial ao "Blog do Edivaldo"
. Eu
acabei seguindo as instruções contidas no Blog do Edivaldo e instalei
e executei a versão manual do Programa Gerador da Declaração. Já
elaborei e já entreguei a minha declaração.

Obrigado pela sua atenção.

Jamenson Ferreira Espindula de Almeida Melo
Jaboatão dos Guararapes, Pernambuco, Brasil
Usuário GNU/Linux nº 166197
https://linuxcounter.net/cert/166197.png

Impressão digital da chave:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180


--
Lic. Paulo Alexandre A.P. de Oliveira



Re: Programa IRPF2019 não se instala no Debian GNU/Linux 9

2019-03-10 Thread Jamenson Ferreira Espindula de Almeida Melo
Em dom, 10 de mar de 2019 às 07:12, China  escreveu:
>
> Supondo que você já usou o chmod pra dar permissão de execução no arquivo 
> após o download, tente usar o strace pra ler a saída da execução. Geralmente 
> as últimas 10 linhas dão pistas do que pode estar dando errado.
>
> Em dom, 10 de mar de 2019 01:27, Jamenson Ferreira Espindula de Almeida Melo 
>  escreveu:
>>
>> Saudações.
>>
>> O instalador do programa do Imposto de Renda Pessoa Física (IRPF) 2019
>> não está instalando no meu Debian GNU/Linux 9 (Stretch).
>>
>> O arquivo é o "IRPF2019Linux-x86_64v1.0.bin" e o hash md5 é este:
>>
>> fae15aeb8d6c7807c271a0a96b13054b  IRPF2019Linux-x86_64v1.0.bin
>>
>> Eu executo o arquivo no emulador de terminal (no ambiente gráfico) e
>> nada acontece. Nenhuma mensagem de erro. Nada.
>>
>> O comando ps mostra que o dito instalador está em execução, porém nada 
>> ocorre.
>>
>> Eu instalei a Máquina Virtual Java, conforme as instruções contidas no
>> página da Receita Federal do Brasil, porém nada.
>>
>> Alguma ideia? Alguém está com essa mesma dificuldade?
>>
>> Jamenson Ferreira Espindula de Almeida Melo
>> Jaboatão dos Guararapes, Pernambuco, Brasil
>> Usuário GNU/Linux nº 166197
>> https://linuxcounter.net/cert/166197.png
>>
>> Impressão digital da chave:
>> 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
>>

Obrigado por responder China.

De fato, eu modifiquei as permissões (chmod a+x), conforme as
instruções contidas no portal da Receita Federal do Brasil.

Um reconhecimento especial ao "Blog do Edivaldo"
. Eu
acabei seguindo as instruções contidas no Blog do Edivaldo e instalei
e executei a versão manual do Programa Gerador da Declaração. Já
elaborei e já entreguei a minha declaração.

Obrigado pela sua atenção.

Jamenson Ferreira Espindula de Almeida Melo
Jaboatão dos Guararapes, Pernambuco, Brasil
Usuário GNU/Linux nº 166197
https://linuxcounter.net/cert/166197.png

Impressão digital da chave:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180



Re: What means "<<" in dependencies at packages.debian.org?

2019-03-10 Thread Tomaž Šolc
Hi

On 10. 03. 19 20:14, Kent West wrote:
> The ">=" surely means "greater than or equal to", but what is "<<"?
> "less than or less than"?

"<<" means "strictly earlier (i.e. less than)". In other words, it
matches versions that sort earlier, but are not equal to the
right-hand-side. This is in contrast to "<=" that also matches versions
that are equal to the right-hand-side.

> Even more interesting is that "aptitude install python3-kivy" only shows
> one "<" (which makes sense to me as "less than"):

"<" is an obsolete version of "<=" that is no longer allowed in packages
that follow recent versions of Debian Policy.

> Also, is the answer documented somewhere? I've researched unproductively
> for several hours.

This is documented in the Debian Policy Manual:

https://www.debian.org/doc/debian-policy/ch-relationships.html#syntax-of-relationship-fields

See remark [2] on that page regarding "<" vs "<<".

Best regards
Tomaž



signature.asc
Description: OpenPGP digital signature


Re: And now, from the Nice people? Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Brian
On Sun 10 Mar 2019 at 13:18:54 -0400, deb wrote:

> I posted a question A/Vs and got negative waves like the below.

It only looks "negative" because you have an agenda. I myself thought
the responses were reasonable and balanced.

> Several people ASS-UMED I was trying to kludge Windows into Linux,
> (see Canonical if you want to find Linux-folk sucking up to Windows)
> instead of working to bring Linux into Windows strongholds (and
> be aware of the problems there.)

Knocking Canonical (who produce a premier Linux distribution) doesn't
advance your argument; it is unclear what that is.
 
> Some just crushed my starting points, without alternatives.
> 
> 
> N.I.C.E.

Your argument (for what it was) was demolished. Explicit alternatives to
it are unnecessary when it hasn't a leg to stand on.

> It is little wonder that Linux can not beat Windows on the desktop (as it
> should),

Is that part of the agenda?

> if this is how people are helped who are trying to Bring In Linux.

Or is this the nub? The Lone Ranger syndrome.

> Crumogeon tip: It is no longer 1972.   If you have nothing nice or at least
> helpful to say on a  USER list, say nothing at all.

All the responses were helpful. You just have to fit them into your
World View and accomodate them

-- 
Brian.



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Joe
On Sun, 10 Mar 2019 19:46:42 +
mick crane  wrote:

> On 2019-03-10 17:13, Joe wrote:
> > On Sun, 10 Mar 2019 19:35:18 +0300
> > Reco  wrote:
> >   
> >>Hi.
> >> 
> >> On Sun, Mar 10, 2019 at 04:32:42PM -, Curt wrote:
> >>   
> >> >
> >> > I thought he was saying the surest approach is not touching
> >> > Windows with a ten foot pole,  
> >> 
> >> You're aiming too low. Not touching any non-free OS with a ten foot
> >> pole would be much more like it.
> >> 
> >>   
> > While bearing in mind that 'free' doesn't mean 'problem-free'.
> > 
> > Remember how many people audited the Heartbleed code before it was
> > released?  
> 
> didn't I read openSSL just had the one full time guy for thousands of 
> lines of code ?

I believe only one person other than the writer audited the code, and
this was a piece of core open-source security code. While "given enough
eyeballs, all bugs are shallow", it is clear that code being open
source does not automatically deliver the eyeballs.

-- 
Joe



Re: systemd error

2019-03-10 Thread Reco
Hi.

On Sun, Mar 10, 2019 at 03:30:46PM -0400, Default User wrote:
> So, the file  /lib/systemd/system/minissdpd.service is unchanged since Feb
> 27 22:13.  It does NOT appear to include the contents of, or even refer
> to,  /etc/systemd/system/minissdpd.service.d/override.conf, dated Mar 10
> 11:23.
> 
> Yet systemctl cat minissdpd.service DOES appear to reference
> /etc/systemd/system/minissdpd.service.d/override.conf!

That does not simplify things.
Some sections of systemd unit file are magic, you cannot override them
like this.
Time for plan B then.

Remove /etc/systemd/system/minissdpd.service.d/override.conf
Copy /lib/systemd/system/minissdpd.service to
/etc/systemd/system/minissdpd.service.
Edit the resulting file.

Reco



Re: And now, from the Nice people? Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Felmon Davis

On Sun, 10 Mar 2019, deb wrote:



I posted a question A/Vs and got negative waves like the below.


Several people ASS-UMED I was trying to kludge Windows into Linux,
(see Canonical if you want to find Linux-folk sucking up to Windows)
instead of working to bring Linux into Windows strongholds (and
be aware of the problems there.)

Some just crushed my starting points, without alternatives.


N.I.C.E.


It is little wonder that Linux can not beat Windows on the desktop (as it 
should),


if this is how people are helped who are trying to Bring In Linux.


Crumogeon tip: It is no longer 1972.   If you have nothing nice or at least 
helpful to say on a  USER list, say nothing at all.


I haven't been able to follow the core of the discussion, partly 
because I don't know the technical issues and partly because I didn't 
quite understand your question but for a different perspective on 
'nice' I actually thought the responses you received were trying to be 
helpful; they were warning you against a certain approach to your 
issue (especially about using Windows or thinking AV is needed on 
Linux).


I think curmudgeons can put people off but I didn't think people were 
being curmudgeonly to you (or didn't intend to be) but instead 
critical of Windows or Windows-like approaches.


they were pressing the case one doesn't need AV on Linux as such, at 
least not if properly configured. this seems helpful.




But you will anyways...


"assorted help"


Not that I'm aware of. The thing is - instead of taking an insecure OS
and building assorted kludges (in the form of anti-virus) around it,
it's considered wise here to use a secure OS from the beginning.


I thought he was saying the surest approach is not touching Windows with
a ten foot pole, for which I doubt there's a list to read.


this seems to support my interpretation.

f.

--
Felmon Davis

Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Reco
Hi.

On Sun, Mar 10, 2019 at 05:13:35PM +, Joe wrote:
> On Sun, 10 Mar 2019 19:35:18 +0300
> Reco  wrote:
> > On Sun, Mar 10, 2019 at 04:32:42PM -, Curt wrote:
> >
> > > 
> > > I thought he was saying the surest approach is not touching Windows
> > > with a ten foot pole,  
> > 
> > You're aiming too low. Not touching any non-free OS with a ten foot
> > pole would be much more like it.
> > 
> > 
> While bearing in mind that 'free' doesn't mean 'problem-free'. 
> 
> Remember how many people audited the Heartbleed code before it was
> released?

And that's why security is a process, not a state.
CVE-2014-0160 was fixed upstream days after the discovery, but it took
certain software vendors almost a year to fix openssl 'bundled' with
their 'software products'.

Reco



Re: systemd error

2019-03-10 Thread Default User
On Sun, Mar 10, 2019 at 1:45 PM Eduardo M KALINOWSKI <
edua...@kalinowski.com.br> wrote:

> On 10/03/2019 13:25, Default User wrote:
>
> So, should I try manually editing /lib/systemd/system/minissdpd.service?
>
> If you do that, you'll lose changes the next time the package is upgraded.
>
> To see if systemd is seeing your add-in file, use 'systemctl cat
> minissdpd.service'. It should list your file and it's contents.
>
>
> --
> Soldiers who wish to be a hero
> Are practically zero,
> But those who wish to be civilians,
> They run into the millions.
>
> Eduardo M kalinowskiedua...@kalinowski.com.br
>
>

Well,

 doofus@doofus:~$ ls /lib/systemd/system/minissdpd.service
-rw-r--r-- 1 root root 418 Feb 27 22:13
/lib/systemd/system/minissdpd.service


doofus@doofus:~$ sudo cat /lib/systemd/system/minissdpd.service
[Unit]
Description=keep memory of all UPnP devices that announced themselves
Documentation=man:minissdpd(1)
After=network-online.target

[Service]
Type=forking
EnvironmentFile=/etc/default/minissdpd
ExecStart=/usr/lib/minissdpd/minissdpd-systemd-wrapper
${MiniSSDPd_INTERFACE_ADDRESS} $MiniSSDPd_OTHER_OPTIONS
PrivateTmp=yes
LimitNOFILE=20
LimitNPROC=5
PIDFile=/run/minissdpd.pid

[Install]
WantedBy=multi-user.target

--
But . . .
--

doofus@doofus:~$ systemctl cat minissdpd.service
# /lib/systemd/system/minissdpd.service
[Unit]
Description=keep memory of all UPnP devices that announced themselves
Documentation=man:minissdpd(1)
After=network-online.target

[Service]
Type=forking
EnvironmentFile=/etc/default/minissdpd
ExecStart=/usr/lib/minissdpd/minissdpd-systemd-wrapper
${MiniSSDPd_INTERFACE_ADDRESS} $MiniSSDPd_OTHER_O
PrivateTmp=yes
LimitNOFILE=20
LimitNPROC=5
PIDFile=/run/minissdpd.pid

[Install]
WantedBy=multi-user.target

# /etc/systemd/system/minissdpd.service.d/override.conf
[Unit]
After=sys-subsystem-net-devices-enp7s0.device
sys-subsystem-net-devices-wlp6s0.device
Requires=sys-subsystem-net-devices-enp7s0.device
sys-subsystem-net-devices-wlp6s0.device

--

So, the file  /lib/systemd/system/minissdpd.service is unchanged since Feb
27 22:13.  It does NOT appear to include the contents of, or even refer
to,  /etc/systemd/system/minissdpd.service.d/override.conf, dated Mar 10
11:23.

Yet systemctl cat minissdpd.service DOES appear to reference
/etc/systemd/system/minissdpd.service.d/override.conf!

???


Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread mick crane

On 2019-03-10 17:13, Joe wrote:

On Sun, 10 Mar 2019 19:35:18 +0300
Reco  wrote:


Hi.

On Sun, Mar 10, 2019 at 04:32:42PM -, Curt wrote:

>
> I thought he was saying the surest approach is not touching Windows
> with a ten foot pole,

You're aiming too low. Not touching any non-free OS with a ten foot
pole would be much more like it.



While bearing in mind that 'free' doesn't mean 'problem-free'.

Remember how many people audited the Heartbleed code before it was
released?


didn't I read openSSL just had the one full time guy for thousands of 
lines of code ?


mick
--
Key ID4BFEBB31



Re: mkfs problem (half resolved)

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


What kind of system are you using ?


   Debian Stretch


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian version 
and upgraded ?




Re: What means "<<" in dependencies at packages.debian.org?

2019-03-10 Thread Andreas Ronnquist
On Sun, 10 Mar 2019 14:14:52 -0500,
Kent West wrote:

>Example: https://packages.debian.org/sid/python3-kivy
>
>-
>>
>> dep: python3  (<< 3.7) dep:
>> python3  (>= 3.5~)  
>
>
>The ">=" surely means "greater than or equal to", but what is "<<"?
>"less than or less than"?
>
>Even more interesting is that "aptitude install python3-kivy" only
>shows one "<" (which makes sense to me as "less than"):
>
>The following packages have unmet dependencies:
>>  python3-kivy : Depends: python3 (< 3.7) but 3.7.2-1 is installed
>>  
>
>and in the description of the package in the aptitude console:
>
>Depends: python3-gst-1.0, python3 (< 3.7), python3 (>= 3.5~), ...
>>  
>
>It's not a typo, unless other pages have similar typos (sometimes being
>">>" - "greater than or greater than"?).  
>
>Also, is the answer documented somewhere? I've researched
>unproductively for several hours.
>

Hi!

It's documented in Debian policy:
https://www.debian.org/doc/debian-policy/ch-relationships.html

>The relations allowed are <<, <=, =, >= and >> for strictly earlier,
>earlier or equal, exactly equal, later or equal and strictly later,
>respectively.

>The relations < and > were previously allowed, but they were
>confusingly defined to mean earlier/later or equal rather than
>strictly earlier/later. dpkg still supports them with a warning, but
>they are no longer allowed by Debian Policy.



-- Andreas Rönnquist
mailingli...@gusnan.se
andr...@ronnquist.net



Re: What means "<<" in dependencies at packages.debian.org?

2019-03-10 Thread Kent West
On Sun, Mar 10, 2019 at 2:24 PM Andreas Ronnquist 
wrote:

> On Sun, 10 Mar 2019 14:14:52 -0500,
> Kent West wrote:
>
> >Example: https://packages.debian.org/sid/python3-kivy
> >
> >-
> >>
> >> dep: python3  (<< 3.7) dep:
> >> python3  (>= 3.5~)
> >
> >
> >The ">=" surely means "greater than or equal to", but what is "<<"?
> >"less than or less than"?
> >
> >Even more interesting is that "aptitude install python3-kivy" only
> >shows one "<" (which makes sense to me as "less than"):
> >
> >The following packages have unmet dependencies:
> >>  python3-kivy : Depends: python3 (< 3.7) but 3.7.2-1 is installed
> >>
> >
> >and in the description of the package in the aptitude console:
> >
> >Depends: python3-gst-1.0, python3 (< 3.7), python3 (>= 3.5~), ...
> >>
> >
> >It's not a typo, unless other pages have similar typos (sometimes being
> >">>" - "greater than or greater than"?).
> >
> >Also, is the answer documented somewhere? I've researched
> >unproductively for several hours.
> >
>
> Hi!
>
> It's documented in Debian policy:
> https://www.debian.org/doc/debian-policy/ch-relationships.html
>
> >The relations allowed are <<, <=, =, >= and >> for strictly earlier,
> >earlier or equal, exactly equal, later or equal and strictly later,
> >respectively.
>
> >The relations < and > were previously allowed, but they were
> >confusingly defined to mean earlier/later or equal rather than
> >strictly earlier/later. dpkg still supports them with a warning, but
> >they are no longer allowed by Debian Policy.
>
>
>
> -- Andreas Rönnquist
> mailingli...@gusnan.se
> andr...@ronnquist.net
>


Thank you! That was driving me nuts!

So essentially, aptitude's "<" is out-dated, and should be "<<", to clearly
mean "earlier than" and not "earlier than or equal to"?

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


What means "<<" in dependencies at packages.debian.org?

2019-03-10 Thread Kent West
Example: https://packages.debian.org/sid/python3-kivy

-
>
> dep: python3  (<< 3.7) dep:
> python3  (>= 3.5~)


The ">=" surely means "greater than or equal to", but what is "<<"? "less
than or less than"?

Even more interesting is that "aptitude install python3-kivy" only shows
one "<" (which makes sense to me as "less than"):

The following packages have unmet dependencies:
>  python3-kivy : Depends: python3 (< 3.7) but 3.7.2-1 is installed
>

and in the description of the package in the aptitude console:

Depends: python3-gst-1.0, python3 (< 3.7), python3 (>= 3.5~), ...
>

It's not a typo, unless other pages have similar typos (sometimes being
">>" - "greater than or greater than"?).

Also, is the answer documented somewhere? I've researched unproductively
for several hours.

Thanks!

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 18:36, Pierre Frenkiel a écrit :



I said half-resolved, as I found a line with /dev/sdh1 in /etc/mtab.
Removing it solved the problem, but remains the question:
   why /etc/mtab was not updated?


What kind of system are you using ?


  Debian Stretch


In current versions of Debian, /etc/mtab should be a symlink to /proc/mounts.


  on my laptop, mtab is actually a link to ../proc/self/mounts
  but on my desktop, it is a file, God knows why.


Re: mkfs problem

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 17:01, Pierre Frenkiel a écrit :

hi,
I'm trying to format a new USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
     mkfs.fat 4.1 (2017-01-24)
     mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
     works


You should not format (and more generally write directly to) a block device 
which contains a mounted filesystem.



  not only should not, but you can't ...
  as I said previously, the flash drive was not actually mounted
  (mtab not updated)

Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Stefan Monnier
> While bearing in mind that 'free' doesn't mean 'problem-free'.
> Remember how many people audited the Heartbleed code before it was
> released?

Indeed.  But it doesn't take more time to update openssl than to update
a virus scanner.


Stefan



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Stefan Monnier
> Starting assumption: I do want to run A/V.

You have it: it's called `apt` (i.e. in the world of Debian, the
response to "viruses" is to plug the hole they try to exploit, instead
of leaving those holes gaping while wasting resources trying to look for
known attacks).

>  * (Clamscan already caught 4 things)

I'll bet that none of those 4 "things" exploit a hole to which you
are vulnerable.  Hence catching those attacks has not made you more
secure: it just wasted resources.

My SSHd daemon has probably rejected more attempts to log into my system
while writing this email.  So what?  None of those attempts are real
threats, anyway, just like those 4 "things" that Clamscan says
it caught.


Stefan



Re: mkfs problem

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Reco wrote:


Hi.

On Sun, Mar 10, 2019 at 05:01:34PM +0100, Pierre Frenkiel wrote:

hi,
I'm trying to format a new USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
works

any explanation?


/sbin/mkfs calls a different binary, /sbin/mkfs.ext2.
Different utility does different checks.


  of course, but how do  you explain that one of them think that it is mounted?
  As /dev/sdh1 was in /etc/mtab, it seems that mkfs.vfat uses mtab, and not
  mkfs.ext2!
  rather strange,isn't it?



Re: mkfs problem (half resolved)

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 18:36, Pierre Frenkiel a écrit :



I said half-resolved, as I found a line with /dev/sdh1 in /etc/mtab.
Removing it solved the problem, but remains the question:
   why /etc/mtab was not updated?


What kind of system are you using ?

In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts. As anything in /proc, this not a real file but an 
interface with the kernel. It should always be up to date and userland 
should not be able to write it.




Re: mdadm vs LVM

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 12:47, Guillaume Clercin a écrit :

On Sat, 9 Mar 2019 19:51:39 +0100
Pascal Hambourg  wrote:


Le 09/03/2019 à 13:01, Guillaume Clercin a écrit :


Si tu installes le système dans un volume logique, tu doit avoir un
« /boot » sur une partition à part.


Non. GRUB sait lire dans les volumes logiques LVM.


Le problème vient de la commande « grub-install ». J'ai installé sur un
serveur une Debian buster et lors de la première tentative, je n'avais
pas de « /boot » séparé et l'installation a échoué au moment du
« grub-install ».


J'ai fait plusieurs installations de diverses versions stables de Debian 
avec /boot en LVM, avec succès.



Ensuite, je refais l'installation en créant un
« /boot » dans une partition donc en dehors LVM, et la commande
« grub-install » a fonctionné. Cette expérience confirme la
documentation de la Debian « https://wiki.debian.org/fr/LVM » dans la
partie « bon à savoir ».


Ce paragraphe du wiki ne s'applique qu'à l'ancien GRUB "legacy" (version 
1). La version actuelle de GRUB (version 2) supporte LVM, le RAID 
logiciel, et même les conteneurs de volumes chiffrés LUKS (mais pas avec 
l'installateur Debian).


L'exécution de grub-install peut échouer pour bien d'autres raisons. 
GRUB peut être installé avec /boot en LVM à condition que l'emplacement 
spécifié dans la commande soit compatible avec la mise en place de la 
boot image et de la core image de GRUB.


S'il s'agit d'une partition, le format de son contenu doit bien entendu 
permettre d'utiliser son premier secteur comme secteur d'amorce (ce 
n'est pas spécifique à l'installation avec LVM) mais aussi réserver un 
espace utilisable par GRUB pour y installer sa core image. Le format de 
PV LVM peut réserver un tel emplacement, mais la version actuelle de 
GRUB ne sait pas encore l'exploiter.


S'il s'agit d'un disque entier (au sens large, incluant SSD, clé USB et 
carte SD) cela dépend du format de la table de partition. Si elle est au 
format DOS/MBR, l'espace non alloué entre le MBR et la première 
partition doit être suffisant pour contenir la core image, ce qui est le 
cas avec l'alignement actuel qui fait commencer la première partition au 
secteur 2048 (1 Mo) mais n'était pas toujours le cas avec l'alignement 
traditionnel sur les cylindres qui faisait commencer la première 
partition au secteur 63 (32 Ko). Si elle est au format GPT, il faut une 
partition non formatée de type "BIOS boot" de taille suffisante.



Sauf s'il y a un raid logiciel en dessous du volume logique.


Non plus. En quoi le RAID logiciel changerait-il quelque chose ?


C'est lié à la commande « grub-install »


Mais encore ?
A mon avis c'est lié à une expérience dont le résultat a été mal interprété.



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Mart van de Wege
deb  writes:

> Starting assumption: I do want to run A/V.
>
>  * I get that it may actually INCREASE attack surface.
>
>  * But I have Windows & Mac stuff going back and forth to Debian 9.8
> and just want to check.

When you say going back and forth, do you mean over the network?

On Linux the best solution right now is clamav, which is not 100%. Is it
an option for you to run a network based solution, like an IDS?

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



Re: systemd error

2019-03-10 Thread Eduardo M KALINOWSKI
On 10/03/2019 13:25, Default User wrote:
> So, should I try manually editing /lib/systemd/system/minissdpd.service?
>
If you do that, you'll lose changes the next time the package is upgraded.

To see if systemd is seeing your add-in file, use 'systemctl cat
minissdpd.service'. It should list your file and it's contents.


-- 
Soldiers who wish to be a hero
Are practically zero,
But those who wish to be civilians,
They run into the millions.

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



Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pierre Frenkiel wrote:


hi,
I'm trying to format a new USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
   mkfs.fat 4.1 (2017-01-24)
   mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
   works


I said half-resolved, as I found a line with /dev/sdh1 in /etc/mtab.
Removing it solved the problem, but remains the question:
  why /etc/mtab was not updated?

best regards,
--
Pierre Frenkiel



Re: mkfs problem

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 17:01, Pierre Frenkiel a écrit :

hi,
I'm trying to fromat a nes USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
     mkfs.fat 4.1 (2017-01-24)
     mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
     works


You should not format (and more generally write directly to) a block 
device which contains a mounted filesystem.




And now, from the Nice people? Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread deb



I posted a question A/Vs and got negative waves like the below.


Several people ASS-UMED I was trying to kludge Windows into Linux,
(see Canonical if you want to find Linux-folk sucking up to Windows)
instead of working to bring Linux into Windows strongholds (and
be aware of the problems there.)

Some just crushed my starting points, without alternatives.


N.I.C.E.


It is little wonder that Linux can not beat Windows on the desktop (as 
it should),


if this is how people are helped who are trying to Bring In Linux.


Crumogeon tip: It is no longer 1972.   If you have nothing nice or at 
least helpful to say on a  USER list, say nothing at all.


But you will anyways...


"assorted help"


Not that I'm aware of. The thing is - instead of taking an insecure OS
and building assorted kludges (in the form of anti-virus) around it,
it's considered wise here to use a secure OS from the beginning.


I thought he was saying the surest approach is not touching Windows with
a ten foot pole, for which I doubt there's a list to read.





Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Joe
On Sun, 10 Mar 2019 19:35:18 +0300
Reco  wrote:

>   Hi.
> 
> On Sun, Mar 10, 2019 at 04:32:42PM -, Curt wrote:
>
> > 
> > I thought he was saying the surest approach is not touching Windows
> > with a ten foot pole,  
> 
> You're aiming too low. Not touching any non-free OS with a ten foot
> pole would be much more like it.
> 
> 
While bearing in mind that 'free' doesn't mean 'problem-free'. 

Remember how many people audited the Heartbleed code before it was
released?

-- 
Joe



Re: systemd error

2019-03-10 Thread Default User
On Sun, Mar 10, 2019 at 11:21 AM Reco  wrote:

> Hi.
>
> On Sun, Mar 10, 2019 at 01:03:47PM -, Curt wrote:
> > On 2019-03-10, Eduardo M KALINOWSKI  wrote:
> > >>
> > >> # directory name is crucial
> > >> mkdir /etc/systemd/system/minissdpd.service.d
> > >> # file name is not important
> > >> cat > /etc/systemd/system/minissdpd.service.d/override.conf << EOF
> > >> [Unit]
> > >> After=sys-subsystem-net-devices-enp7s0.device
> sys-subsystem-net-devices-wlp6s0.device
> > >> Requires=sys-subsystem-net-devices-enp7s0.device
> sys-subsystem-net-devices-wlp6s0.device
> > >> EOF
> > >>
> > >> systemctl daemon-reload
> > >
> > > Or run
> > >
> > > systemctl edit minissdpd.service
> > >
> > > which will create the file in the appropriate location, open $EDITOR on
> > > it, and run daemon-reload automatically afterwards.
> > >
> >
> > I have
> >
> >  After=network-online.target
> >  Wants=network-online.target
> >
> > as per this bug report:
> >
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861231
>
> That's good for listening INADDR_ANY, but it's not sufficient in this
> particular case.
>
>
> > Perhaps I'm missing something here.
>
> network-online.target does not guarantee that specific network
> interfaces will be present.
> For instance, enp7s0 can be configured instantly (static IP assignment),
> wlp6s0 can lag behind it (dhcp assignment).
>
> Reco
>



So . . .

I did:
sudo systemctl edit minissdpd.service
entering this:

[Unit]
After=sys-subsystem-net-devices-enp7s0.device sys-subsystem-net-devices-wlp6
s0.device
Requires=sys-subsystem-net-devices-enp7s0.device
sys-subsystem-net-devices-wlp6s0.device

It created: /etc/systemd/system/minissdpd.service.d/override.conf:

doofus@doofus:~$ sudo ls
/etc/systemd/system/minissdpd.service.d/override.conf
-rw-r--r-- 1 root root 182 Mar 10 11:23
/etc/systemd/system/minissdpd.service.d/override.conf

doofus@doofus:~$ sudo cat
/etc/systemd/system/minissdpd.service.d/override.conf
[Unit]
After=sys-subsystem-net-devices-enp7s0.device
sys-subsystem-net-devices-wlp6s0.device
Requires=sys-subsystem-net-devices-enp7s0.device
sys-subsystem-net-devices-wlp6s0.device

But it did not start minissdpd.

I did:
sudo systemctl daemon-reload

But itdid not start minissdpd.

I rebooted.

But it did not start minissdpd.

Grrr . . .

Here is the minissdpd .service file:

doofus@doofus:~$ sudo ls /lib/systemd/system/minissdpd.service
-rw-r--r-- 1 root root 418 Feb 27 22:13
/lib/systemd/system/minissdpd.service

doofus@doofus:~$ sudo cat /lib/systemd/system/minissdpd.service
[Unit]
Description=keep memory of all UPnP devices that announced themselves
Documentation=man:minissdpd(1)
After=network-online.target

[Service]
Type=forking
EnvironmentFile=/etc/default/minissdpd
ExecStart=/usr/lib/minissdpd/minissdpd-systemd-wrapper
${MiniSSDPd_INTERFACE_ADDRESS} $MiniSSDPd_OTHER_OPTIONS
PrivateTmp=yes
LimitNOFILE=20
LimitNPROC=5
PIDFile=/run/minissdpd.pid

[Install]
WantedBy=multi-user.target

So, should I try manually editing /lib/systemd/system/minissdpd.service?


Re: systemd error

2019-03-10 Thread Curt
On 2019-03-10, Reco  wrote:
>> 
>> I have
>> 
>>  After=network-online.target
>>  Wants=network-online.target
>> 
>> as per this bug report:
>> 
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861231
>
> That's good for listening INADDR_ANY, but it's not sufficient in this
> particular case.
>
>
>> Perhaps I'm missing something here.
>
> network-online.target does not guarantee that specific network
> interfaces will be present.
> For instance, enp7s0 can be configured instantly (static IP assignment),
> wlp6s0 can lag behind it (dhcp assignment).

I thought it might have something to do with the fact that were two network
interfaces but then wondered what the following was for, in that case:

 ExecStart=/usr/sbin/minissdpd -i $MiniSSDPd_INTERFACE_ADDRESS

Maybe not for what we need here.

> Reco
>
>


-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



Re: mkfs problem

2019-03-10 Thread Reco
Hi.

On Sun, Mar 10, 2019 at 05:01:34PM +0100, Pierre Frenkiel wrote:
> hi,
> I'm trying to fromat a nes USB flash drive and I get this:
> 
> ==> mount | grep sdh
> 
> ==> mkfs.vfat /dev/sdh1
> mkfs.fat 4.1 (2017-01-24)
> mkfs.vfat: /dev/sdh1 contains a mounted filesystem.
> 
> ==> mkfs /dev/sdh1
> works
> 
> any explanation?

/sbin/mkfs calls a different binary, /sbin/mkfs.ext2.
Different utility does different checks.

Reco



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Reco
Hi.

On Sun, Mar 10, 2019 at 04:32:42PM -, Curt wrote:
> On 2019-03-10, Richard Owlett  wrote:
> > On 03/10/2019 10:20 AM, Reco wrote:
> >>Hi.
> >> 
> >> On Sun, Mar 10, 2019 at 10:58:12AM -0400, deb wrote:
> >>> Starting assumption: I do want to run A/V.
> >>>  [*SNIP*]
> >> 
> >>> b. Does the list keep a ~ "pinned" answer for these kinds of questions?
> >> 
> >> Not that I'm aware of. The thing is - instead of taking an insecure OS
> >> and building assorted kludges (in the form of anti-virus) around it,
> >> it's considered wise here to use a secure OS from the beginning.
> >> 
> >
> > Recommended reading list applicable to Debian?
> >
> 
> I thought he was saying the surest approach is not touching Windows with
> a ten foot pole,

You're aiming too low. Not touching any non-free OS with a ten foot pole
would be much more like it.


> for which I doubt there's a list to read.

True.

Reco



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Curt
On 2019-03-10, Richard Owlett  wrote:
> On 03/10/2019 10:20 AM, Reco wrote:
>>  Hi.
>> 
>> On Sun, Mar 10, 2019 at 10:58:12AM -0400, deb wrote:
>>> Starting assumption: I do want to run A/V.
>>>  [*SNIP*]
>> 
>>> b. Does the list keep a ~ "pinned" answer for these kinds of questions?
>> 
>> Not that I'm aware of. The thing is - instead of taking an insecure OS
>> and building assorted kludges (in the form of anti-virus) around it,
>> it's considered wise here to use a secure OS from the beginning.
>> 
>
> Recommended reading list applicable to Debian?
>

I thought he was saying the surest approach is not touching Windows with
a ten foot pole, for which I doubt there's a list to read.



-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



mkfs problem

2019-03-10 Thread Pierre Frenkiel

hi,
I'm trying to fromat a nes USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
works

any explanation?

best regards,
--
Pierre Frenkiel



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Gene Heskett
On Sunday 10 March 2019 10:58:12 deb wrote:

> Starting assumption: I do want to run A/V.
>
>   * I get that it may actually INCREASE attack surface.
>
>   * But I have Windows & Mac stuff going back and forth to Debian 9.8
> and just want to check.
>
>   * (Clamscan already caught 4 things)
>
>
> a. What does the group suggest running on debian beyond
>
>      - chkrootkit
>
>      - rkhunter
>
>      - ClamAV
>
> b. Does the list keep a ~ "pinned" answer for these kinds of
> questions?
>
The trouble with a pinned list is that it can't keep up with the latest 
attack methods. Clamav has silently stripped about half a megabyte of 
stuff since about the first of October last, last hit Feb 12 here.
However while I'm checking, I note that a pastebin installation 
(pnopaste) has generated about 20 megabytes of squawks, so its gone now. 
I installed it so's I'd have a local pastebin. We get too soon auld, and 
too late schmardt. Has pnopaste acted up for others?

>
> Thank you!


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Richard Owlett

On 03/10/2019 10:20 AM, Reco wrote:

Hi.

On Sun, Mar 10, 2019 at 10:58:12AM -0400, deb wrote:

Starting assumption: I do want to run A/V.
 [*SNIP*]



b. Does the list keep a ~ "pinned" answer for these kinds of questions?


Not that I'm aware of. The thing is - instead of taking an insecure OS
and building assorted kludges (in the form of anti-virus) around it,
it's considered wise here to use a secure OS from the beginning.



Recommended reading list applicable to Debian?





China Craft Beer Market Report

2019-03-10 Thread Drink Sector
Published March 2018 - £1375 - PDF Format
China Craft Beer Market Report 2018

This report examines the current state of the beer market in China and 
considers the different competitors active within this market. The report goes 
on to look at the necessary product requirements and highlights the different 
routes which are available into this emerging sector.

The report details the import formalities and intellectual property rights that 
are required to access this market. A logistics solution is provided along with 
a costing model. Opportunities and challenges that can be faced are highlighted 
and a relevant case study is included.

View contents:
http://drinksector.com/reports/china-craft-beer-market-report

Order online:
http://www.drinksector.com/basket.asp?idReport=1135=auto

Kind Regards,

Drink Sector
E-mail: i...@drinksector.com 
Tel: +44 (0) 758 718 339
Twitter: https://twitter.com/drinksector
Web: http://www.drinksector.com

Receive notifications of the latest research in the global beverage industry
http://www.drinksector.com/subscribe.asp


If you do not wish to receive these e-mail alerts, please enter 
debian-user-indonesian@lists.debian.org at: 
http://www.drinksector.com/unsubscribe.asp


Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Reco
Hi.

On Sun, Mar 10, 2019 at 10:58:12AM -0400, deb wrote:
> Starting assumption: I do want to run A/V.
>  * I get that it may actually INCREASE attack surface.
>  * But I have Windows & Mac stuff going back and forth to Debian 9.8 and just 
> want to check.
>  * (Clamscan already caught 4 things)

Ok. If it's the poison you want - we'll pour you a cup.


> a. What does the group suggest running on debian beyond
>     - chkrootkit

Thing was good like 15 years ago. The thing is - the world has moved,
chrootkit stayed the same.
Save yourself CPU cycles and do not install the thing.


>     - rkhunter

It's primary purpose - i.e. rootkit detection is severely lacking.
The thing has its uses as IDS and 'best practices auditor toolkit', but
that's it.

But if it's the IDS you need - there are tripwire and debsums.


>     - ClamAV

Can catch a Windoze virus or two. The intended purpose of clamav is to
sit on e-mail relay and scan the mail, which is does fulfill.


> b. Does the list keep a ~ "pinned" answer for these kinds of questions?

Not that I'm aware of. The thing is - instead of taking an insecure OS
and building assorted kludges (in the form of anti-virus) around it,
it's considered wise here to use a secure OS from the beginning.

Reco



Re: systemd error

2019-03-10 Thread Reco
Hi.

On Sun, Mar 10, 2019 at 01:03:47PM -, Curt wrote:
> On 2019-03-10, Eduardo M KALINOWSKI  wrote:
> >> 
> >> # directory name is crucial
> >> mkdir /etc/systemd/system/minissdpd.service.d
> >> # file name is not important
> >> cat > /etc/systemd/system/minissdpd.service.d/override.conf << EOF
> >> [Unit]
> >> After=sys-subsystem-net-devices-enp7s0.device 
> >> sys-subsystem-net-devices-wlp6s0.device
> >> Requires=sys-subsystem-net-devices-enp7s0.device 
> >> sys-subsystem-net-devices-wlp6s0.device
> >> EOF
> >> 
> >> systemctl daemon-reload
> >
> > Or run
> >
> > systemctl edit minissdpd.service
> >
> > which will create the file in the appropriate location, open $EDITOR on
> > it, and run daemon-reload automatically afterwards.
> >
> 
> I have
> 
>  After=network-online.target
>  Wants=network-online.target
> 
> as per this bug report:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861231

That's good for listening INADDR_ANY, but it's not sufficient in this
particular case.


> Perhaps I'm missing something here.

network-online.target does not guarantee that specific network
interfaces will be present.
For instance, enp7s0 can be configured instantly (static IP assignment),
wlp6s0 can lag behind it (dhcp assignment).

Reco



Re: Group thoughts on: Anti-virus tools

2019-03-10 Thread Sven Hartge
deb  wrote:

> a. What does the group suggest running on debian beyond

>     - chkrootkit

Useless.

>     - rkhunter

Crap, unmaintained.

Both tools produce more false positives than finding anything, just
creating a false sense of security while providing no security benefit
whatsoever.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Group thoughts on: Anti-virus tools

2019-03-10 Thread deb




Starting assumption: I do want to run A/V.

 * I get that it may actually INCREASE attack surface.

 * But I have Windows & Mac stuff going back and forth to Debian 9.8 
and just want to check.


 * (Clamscan already caught 4 things)


a. What does the group suggest running on debian beyond

    - chkrootkit

    - rkhunter

    - ClamAV

b. Does the list keep a ~ "pinned" answer for these kinds of questions?


Thank you!




Re: Programa IRPF2019 não se instala no Debian GNU/Linux 9

2019-03-10 Thread P. J.
Olá,

Não precisa instalar o jdk (sem ser openjdk) dos repos do Ubuntu, vc
pode baixar no local apropriado e chamar diretamente o path do java,
ou então setá-lo no update-alternatives qnd for usar o jar do
multiplataforma. Não é uma boa prática misturar mirror's de distros ou
versões diferentes do S.O. evitará futuras dores de cabeça para
manutenção do mesmo.

[  ] 's

Em 10/03/2019, Jamenson Ferreira Espindula de Almeida
Melo escreveu:
> Saudações.
>
> O instalador do programa do Imposto de Renda Pessoa Física (IRPF) 2019
> não está instalando no meu Debian GNU/Linux 9 (Stretch).
>
> O arquivo é o "IRPF2019Linux-x86_64v1.0.bin" e o hash md5 é este:
>
> fae15aeb8d6c7807c271a0a96b13054b  IRPF2019Linux-x86_64v1.0.bin
>
> Eu executo o arquivo no emulador de terminal (no ambiente gráfico) e
> nada acontece. Nenhuma mensagem de erro. Nada.
>
> O comando ps mostra que o dito instalador está em execução, porém nada
> ocorre.
>
> Eu instalei a Máquina Virtual Java, conforme as instruções contidas no
> página da Receita Federal do Brasil, porém nada.
>
> Alguma ideia? Alguém está com essa mesma dificuldade?
>
> Jamenson Ferreira Espindula de Almeida Melo
> Jaboatão dos Guararapes, Pernambuco, Brasil
> Usuário GNU/Linux nº 166197
> https://linuxcounter.net/cert/166197.png
>
> Impressão digital da chave:
> 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
>
>


-- 
|  .''`.   A fé não dá respostas. Só impede perguntas.
| : :'  :
| `. `'`
|   `-   Je vois tout



Re: Fwd: Programa IRPF2019 não se instala no Debian GNU/Linux 9

2019-03-10 Thread Leonardo S. S. da Rocha
Aqui eu estou usando o Debian Testing. Configurei o Java com o
repositório do Ubuntu. Após instalado, dei as devidas permissões ao
instalador do IRPF e instalei ele sem nenhum problema. Veja se o java
está correto e setado por padrão na sua distro e se as devidas
permissões foram dadas ao instalador do IRPF.


Remetente notificado por
Mailtrack 10/03/19 11:41:06
×APAGAR


Em dom, 10 de mar de 2019 às 10:56, riesdra  escreveu:
>
> Olá, aqui eu uso a opção multiplataforma, descompacto ele e depois eu crio um 
> script para executar o arquivo jar.
>
> --
> Ricardo Libanio
>
>
>
>  On Dom, 10 mar 2019 10:26:48 -0300 adilson...@gmail.com wrote 
>
>
>
>
> Eu nao consegui instalar também. Consegui executar o programa baixando o 
> multiplataforma  
> http://receita.economia.gov.br/interface/cidadao/irpf/2019/download
>
> Descompacte o zip e use o comando java -jar name_arquivo.jar
>
> Abraços
>
>
> -- Forwarded message -
> From: Jamenson Ferreira Espindula de Almeida Melo 
> Date: dom, 10 de mar de 2019 01:27
> Subject: Programa IRPF2019 não se instala no Debian GNU/Linux 9
> To: 
>
>
> Saudações.
>
> O instalador do programa do Imposto de Renda Pessoa Física (IRPF) 2019
> não está instalando no meu Debian GNU/Linux 9 (Stretch).
>
> O arquivo é o "IRPF2019Linux-x86_64v1.0.bin" e o hash md5 é este:
>
> fae15aeb8d6c7807c271a0a96b13054b  IRPF2019Linux-x86_64v1.0.bin
>
> Eu executo o arquivo no emulador de terminal (no ambiente gráfico) e
> nada acontece. Nenhuma mensagem de erro. Nada.
>
> O comando ps mostra que o dito instalador está em execução, porém nada ocorre.
>
> Eu instalei a Máquina Virtual Java, conforme as instruções contidas no
> página da Receita Federal do Brasil, porém nada.
>
> Alguma ideia? Alguém está com essa mesma dificuldade?
>
> Jamenson Ferreira Espindula de Almeida Melo
> Jaboatão dos Guararapes, Pernambuco, Brasil
> Usuário GNU/Linux nº 166197
> https://linuxcounter.net/cert/166197.png
>
> Impressão digital da chave:
> 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
>
>



Caja's file search --- BUG or Feature?

2019-03-10 Thread Richard Owlett

I'm running Stretch with MATE desktop.

If I submit a sub-string of a filename to "MATE Search Tool", *ANY* hit 
reports the full path to the target. That is *GOOD*!


HOWEVER, if I'm exploring a specific directory with Caja and then search 
for the *IDENTICAL* sub-string I get a "hit" with ABSOLUTELY no 
indication of the file's location :{


My test case:
I created a test file at
/home/richard/Downloads/tk8.6.9/tests/ttk/owltstmarch9 .
I hope that is arbitrary enough ;}

Using 'march' as test string when using:
 1. "MATE Search Tool" yields exact location.
 2, Caja admits file exists *SOMEWHERE*

As an end USER:
 1. "MATE Search Tool" gives expected result - i.e. giving
 full path to target.
 2. Caja's search otherwise:
A. The first time I used it, I expected to get hits *ONLY*
   in the current sub-directory.
B. However it reports hits for *ANY* sub-directory at or
   below the current one. This can be very useful.
   *HOWEVER* it's usefulness is reduced by not reporting the
   full path to the target.

Comments?





Re: systemd error

2019-03-10 Thread Cindy-Sue Causey
On 3/10/19, Curt  wrote:

> I don't use sudo and was unaware of this timeout feature.
>
> The timeout interval is configurable, though.
>
> man sudoers:
>
>  timestamp_timeout
> Number of minutes that can elapse before sudo will ask for a passwd
> again.
> The timeout may include a fractional component if minute granularity is
> insufficient, for example 2.5. The default is 15. Set this to 0 to
> always
> prompt for a password. If set to a value less than 0 the user's time
> stamp will
> not expire until the system is rebooted.  --
>
> The advisability of lengthening or eliminating the timeout is probably
> related
> to the possibility of the kitty (and other, less cool cats) creeping by to
> paw
> a detrimental command or two into your privileged xterm while you're out
> grilling one on the stoop.


It always feels like the timeout is somewhere around 10 minutes... or
so. 15, you say. CHECK! (Tick?!)

The fur ball deal, I'm feeling that scenario..

E.g. and for example, what if one day a Debian User who shall remain
"Nameless" clicks out...

"sudo thunar /"

Then right clicks over /usr to view "Properties" for whatever data
seeking reason..

Then next hits "ESC" escape to exit the Properties [window] which, on
many if not most occasions, leaves /usr still actively highlighted in
the as yet still open Thunar file managing window.

Nameless the (carbo-craving) Nerd then suddenly runs to the window to
check out that thump out front. That thump likely heralds their highly
anticipated next 18 pounds of angel hair spaghetti pasta newly arrived
on the front porch stoop.

Meanwhile back at the hastily abandoned computer, a curiosity seeking
fur ball's front right paw has just been firmly planted on the easily
accessible "DEL" delete key..

Which, by innate nature of the beast, next invokes the *much adored,
highly protective* popup window that advises, "This is your last
chance bailout > Are you *SURRRE* you want to take that woefully
un-recoupable, negatory type action?"

That would be the same popup advisement window that... um... just
happens to have the "Delete" button graciously highlighted by default.

Likewise by innate nature of the beast, the curiosity seeking fur
ball's front left foot now next

Steps on the "Enter" key a la one foot in front of the other, soon
you'll be walking out the door, yada-yada Kris Kringle, Winter
Warlock, Topper the (Linux) Penguin.

I've had something like the above almost occur. More than once, too.
It's a fur real actually could happen in a (heart stopping)
heartbeat and apparently with about 14 1/2 minutes of sudo invoked
admin authority left to spare. Go, Kitty!

PS Those close calls always next invoke the "OMG, BACK UP THE COMPUTER
*NOW*!" moment. Yeah, yeah, I know, backups should have already been
done... Living #Life on the edge... yada-yada. :D

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed *



Re:Fwd: Programa IRPF2019 não se instala no Debian GNU/Linux 9

2019-03-10 Thread riesdra
Olá, aqui eu uso a opção multiplataforma, descompacto ele e depois eu crio um 
script para executar o arquivo jar. 


--
Ricardo Libanio




 On Dom, 10 mar 2019 10:26:48 -0300 adilson...@gmail.com wrote 








Eu nao consegui instalar também. Consegui executar o programa baixando o 
multiplataforma  
http://receita.economia.gov.br/interface/cidadao/irpf/2019/download


Descompacte o zip e use o comando java -jar name_arquivo.jar


Abraços





-- Forwarded message -
From: Jamenson Ferreira Espindula de Almeida Melo 
Date: dom, 10 de mar de 2019 01:27
Subject: Programa IRPF2019 não se instala no Debian GNU/Linux 9
To: 



Saudações.

O instalador do programa do Imposto de Renda Pessoa Física (IRPF) 2019
não está instalando no meu Debian GNU/Linux 9 (Stretch).

O arquivo é o "IRPF2019Linux-x86_64v1.0.bin" e o hash md5 é este:

fae15aeb8d6c7807c271a0a96b13054b  IRPF2019Linux-x86_64v1.0.bin

Eu executo o arquivo no emulador de terminal (no ambiente gráfico) e
nada acontece. Nenhuma mensagem de erro. Nada.

O comando ps mostra que o dito instalador está em execução, porém nada ocorre.

Eu instalei a Máquina Virtual Java, conforme as instruções contidas no
página da Receita Federal do Brasil, porém nada.

Alguma ideia? Alguém está com essa mesma dificuldade?

Jamenson Ferreira Espindula de Almeida Melo
Jaboatão dos Guararapes, Pernambuco, Brasil
Usuário GNU/Linux nº 166197
https://linuxcounter.net/cert/166197.png

Impressão digital da chave:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180



Re: One jigdo file missing - cannot build ISO image DVD7.

2019-03-10 Thread Kumar Appaiah
On Sun, Mar 10, 2019 at 06:46:36PM +1030, djs wrote:
> When using jigdo-lite to download files for debian-9.8.0-amd64-DVD7 the
> majority of the files download correctly. The procedure becomes stuck
> at http://ftp.au.debian.org/debian/pool/main/a/afl/afl-doc_2.36b-1_all.
> deb . One file missing! I waited several weeks to see if this missing
> file would be updated but it did not. I tried several other mirrors
> around the world and the same problem appears even if trying to
> download it directly. Seems to be a broken file globally mirrored.
> The error message is '2019-03-10 18:25:18 (0.00 B/s) - Read error at
> byte 0/132596 (Connection reset by peer). Retrying.' Files required to
> download and build all other DVD iso images did correctly complete.
> Images 2 to 6 and 8 to 14 are all OK. DVD image 1 is also broken but
> this can be downloaded as an image directly so this is not a problem.
> Can a workaround be suggested to complete or ignore this missing file?

You can download the missing package from https://snapshot.debian.org

For instance:

https://snapshot.debian.org/package/afl/2.36b-1/#afl-doc_2.36b-1

Kumar
-- 
"...you might as well skip the Xmas celebration completely, and instead
sit in front of your linux computer playing with the
all-new-and-improved linux kernel version."
(By Linus Torvalds)



Re: Upgrade Problem

2019-03-10 Thread Stefan Krusche
Am Freitag, 4. Januar 2019 schrieb Richard Hector:
> On 4/01/19 9:49 PM, Andy Smith wrote:
> > Stephen, I think you're going to have to analyse where the space is
> > being used. If you use a graphical desktop then there might be a
> > graphical application that can help with this. On GNOME it's called
> > Disk Usage Analyzer. On the command line you could try something
> > like:
> >
> > $ sudo du -xh / | sort -rh | less
>
> I find ncdu very useful for this - it's a full-screen terminal-based
> interactive du, and lets you drill down to find where your space is
> used.

Thanks for the hint.  It's a pretty cool program.

Kind regards,
Stefan



Fwd: Programa IRPF2019 não se instala no Debian GNU/Linux 9

2019-03-10 Thread Adilson Francisco da Silva
Eu nao consegui instalar também. Consegui executar o programa baixando o
multiplataforma
http://receita.economia.gov.br/interface/cidadao/irpf/2019/download

Descompacte o zip e use o comando java -jar name_arquivo.jar

Abraços


-- Forwarded message -
From: Jamenson Ferreira Espindula de Almeida Melo 
Date: dom, 10 de mar de 2019 01:27
Subject: Programa IRPF2019 não se instala no Debian GNU/Linux 9
To: 


Saudações.

O instalador do programa do Imposto de Renda Pessoa Física (IRPF) 2019
não está instalando no meu Debian GNU/Linux 9 (Stretch).

O arquivo é o "IRPF2019Linux-x86_64v1.0.bin" e o hash md5 é este:

fae15aeb8d6c7807c271a0a96b13054b  IRPF2019Linux-x86_64v1.0.bin

Eu executo o arquivo no emulador de terminal (no ambiente gráfico) e
nada acontece. Nenhuma mensagem de erro. Nada.

O comando ps mostra que o dito instalador está em execução, porém nada
ocorre.

Eu instalei a Máquina Virtual Java, conforme as instruções contidas no
página da Receita Federal do Brasil, porém nada.

Alguma ideia? Alguém está com essa mesma dificuldade?

Jamenson Ferreira Espindula de Almeida Melo
Jaboatão dos Guararapes, Pernambuco, Brasil
Usuário GNU/Linux nº 166197
https://linuxcounter.net/cert/166197.png

Impressão digital da chave:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180


Re: systemd error

2019-03-10 Thread Curt
On 2019-03-10, Eduardo M KALINOWSKI  wrote:
>> 
>> # directory name is crucial
>> mkdir /etc/systemd/system/minissdpd.service.d
>> # file name is not important
>> cat > /etc/systemd/system/minissdpd.service.d/override.conf << EOF
>> [Unit]
>> After=sys-subsystem-net-devices-enp7s0.device 
>> sys-subsystem-net-devices-wlp6s0.device
>> Requires=sys-subsystem-net-devices-enp7s0.device 
>> sys-subsystem-net-devices-wlp6s0.device
>> EOF
>> 
>> systemctl daemon-reload
>
> Or run
>
> systemctl edit minissdpd.service
>
> which will create the file in the appropriate location, open $EDITOR on
> it, and run daemon-reload automatically afterwards.
>

I have

 After=network-online.target
 Wants=network-online.target

as per this bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861231


curty@einstein:~$ systemctl cat minissdpd.service
# /lib/systemd/system/minissdpd.service
[Unit]
Description=keep memory of all UPnP devices that announced themselves
Documentation=man:minissdpd(1)
After=network-online.target
Wants=network-online.target

[Service]
Type=forking
EnvironmentFile=/etc/default/minissdpd
ExecStart=/usr/sbin/minissdpd -i $MiniSSDPd_INTERFACE_ADDRESS
PIDFile=/var/run/minissdpd.pid

[Install]

Perhaps I'm missing something here.


-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



Re: sorry for off-topic, i really curious some picture that have [Brian May] <- Queen?!

2019-03-10 Thread 황병희
Dear Brad,

On Sun, Mar 10 2019, Brad Rogers wrote:
> [...snip...]
>>Who is it? Really is him Queen's guitarist?!
>
> Debian's Brian appears to have the middle initial A, whereas Queen's
> guitarist has H (for Harold) as his middle initial.  Thus making it
> unlikely they're the same person.

Ah yes!~ i got it now, though Debian's Brian also rocks to me^^^
Thanks for quick comment!!!

Sincerely, Byung-Hee.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: sorry for off-topic, i really curious some picture that have [Brian May] <- Queen?!

2019-03-10 Thread Brad Rogers
On Sun, 10 Mar 2019 20:58:07 +0900
황병희  wrote:

Hello 황병희,

>Who is it? Really is him Queen's guitarist?!

Debian's Brian appears to have the middle initial A, whereas Queen's
guitarist has H (for Harold) as his middle initial.  Thus making it
unlikely they're the same person.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
I can't relax 'cause I haven't done a thing
Independence Day - Comsat Angels


pgpsYtZVqeXpG.pgp
Description: OpenPGP digital signature


sorry for off-topic, i really curious some picture that have [Brian May] <- Queen?!

2019-03-10 Thread 황병희
Hello i'm Queen's fan, however i did discover [Brian May] in lists of
Maintainers file [1], when i sent mail to requ...@bugs.debian.org with
"getinfo maintainers" in body.

Who is it? Really is him Queen's guitarist?!

Sincerely, Byung-Hee from South Korea.

[1] https://gitlab.com/soyeomul/stuff/raw/master/BrianMay.png

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: mdadm vs LVM

2019-03-10 Thread Guillaume Clercin
On Sat, 9 Mar 2019 19:51:39 +0100
Pascal Hambourg  wrote:

> Le 09/03/2019 à 13:01, Guillaume Clercin a écrit :
> > 
> > Si tu installes le système dans un volume logique, tu doit avoir un
> > « /boot » sur une partition à part.
> 
> Non. GRUB sait lire dans les volumes logiques LVM.
Le problème vient de la commande « grub-install ». J'ai installé sur un
serveur une Debian buster et lors de la première tentative, je n'avais
pas de « /boot » séparé et l'installation a échoué au moment du
« grub-install ». Ensuite, je refais l'installation en créant un
« /boot » dans une partition donc en dehors LVM, et la commande
« grub-install » a fonctionné. Cette expérience confirme la
documentation de la Debian « https://wiki.debian.org/fr/LVM » dans la
partie « bon à savoir ».

> 
> > Sauf s'il y a un raid logiciel en dessous du volume logique.
> 
> Non plus. En quoi le RAID logiciel changerait-il quelque chose ?
> 
C'est lié à la commande « grub-install »


pgpuEUkEjV4yM.pgp
Description: Signature digitale OpenPGP


Re: Sauvegarde "classique" vs synchronisation ?

2019-03-10 Thread benoitlst

Le 2019-03-09 18:42, David BERCOT a écrit :

Bonjour,

Afin d'avoir une copie à jour (ou du moins, le plus à jour possible) de
mon ordinateur (ce qui m'intéresse est uniquement mon /home), j'hésite
entre des sauvegardes classiques et une synchronisation type "cloud".


Bonjour,

Depuis qu'on m'a conseillé lsyncd sur cette liste (encore merci la liste 
! ;))

Je fais de la synchronisation...
Les défauts sont que ça ne protège pas d'une suppression malencontreuse, 
car elle est propagée et ça ne sauvegarde les fichiers que dans un 
état : le dernier, donc pas forcément le bon...


Je pallie ça avec deux commandes (mes scriptes à 2 cent) dont le 
résultat est propagé (donc dans chaque version) :


L’un nommé bkp

#!/bin/bash

#crée un rep backup si pas existant
if [ ! -d backup ]; then  mkdir backup ; fi

DATE_EXT=$(\date '+%d-%m-%Y-%H.%M.%S')

for fichier in $@
do
tar -czvf "backup/$fichier"-$DATE_EXT.tgz "$fichier"

--

L’autre sbkp :
#!/bin/bash

DESTINATAIRE="monadre...@titi.org"
EXPEDITEUR="adre...@toto.org"
PATH_BACKUP="backup"
BODY="TODO: "
SUJET="Backup "
DATE_EXT=$(\date '+%d-%m-%Y-%H.%M.%S')
declare -a TABLEAU
LIST_ARCIVES=""

usage(){
echo utilisation :
echo "-s Sujet du courriel ($SUJET par défaut)"
echo "-c Rédiger le corps du courriel ($BODY par défaut)"
echo "-p chemin(path) de base des archives ($PATH_BACKUP par 
défaut)"

echo "-e Définir l'expéditeur ($EXPEDITEUR par défaut)"
echo "-d Définir le destinataire ($DESTINATAIRE par défaut)"
echo "-h afficher cette aide"
exit
}

if [ $# -lt 1 ] ; then
echo "Vous devez au moins spécifier un argumant"
usage
exit 1
fi

while getopts "hs:c:p:e:d:" arg
do
case "$arg" in
h) usage;;
s) ARG_SUJET=${OPTARG};;
c) BODY+=${OPTARG:-$BODY};;
p) PATH_BACKUP=${OPTARG:-$PATH_BACKUP};;
e) EXPEDITEUR=${OPTARG:-$EXPEDITEUR};;
d) DESTINATAIRE=${OPTARG:-$DESTINATAIRE};;
\?) exit 1;;
esac
done

shift $(($OPTIND - 1))
LISTE_FICHIERS="$*"

#crée un rep backup si pas existant
if [ ! -d $PATH_BACKUP ]; then  mkdir $PATH_BACKUP ; fi

archivage(){
for fichier in $@
do
NOM_ARCHIVE="$PATH_BACKUP/$fichier-$DATE_EXT.tgz"
tar -czvf $NOM_ARCHIVE "$fichier"
TABLEAU=("${TABLEAU[@]}" "$NOM_ARCHIVE")
LIST_ARCIVES+="$fichier-$DATE_EXT.tgz "
done
}

envoyer(){
SUJET+=$LISTE_FICHIERS
if [ -n "$ARG_SUJET" ] ; then
SUJET=$ARG_SUJET
fi

claws-mail --compose 
"mailto:$DESTINATAIRE?subject=$SUJET=$EXPEDITEUR=$BODY; 
--attach ${TABLEAU[@]}

}

 archivage "$LISTE_FICHIERS"
 envoyer
--
Ca laisse des répertoires backup dans mon arborescence, ils sont 
propagés.
Les fichiers importants en pièce jointe dans ma boite mail avec ce qu'il 
reste à faire en message.



C'est du bricolage de bouts de ficelles, mais ça me va...

--
Benoit















De mon point de vue, la sauvegarde a l'avantage d'être "consistante" et
d'intégrer potentiellement des versions différentes de mes documents.
En revanche, si le crash ou la perte ou le vol de la machine se produit
"relativement longtemps" après la dernière sauvegarde, les données ne
sont pas vraiment fraîches.

La synchronisation (partons sur un serveur personnel de type NextCloud
pour illustrer) permet justement de répondre à ce besoin de fraîcheur
mais peut poser d'autres problèmes [quid des fichiers qui bougent
quasiment en permanence, d'un "gros" fichier mis à jour au moment d'un
connexion bas débit [aéroport par exemple] ?).

Bref, le sujet me semblant assez "classique", je me disais que j'aurais
pu profiter de vos expériences en la matière ;-).

Si vous avez des retours, des conseils, des préconisations, je suis
preneur...

Merci d'avance et bon week-end.

David.




Re: systemd error

2019-03-10 Thread Eduardo M KALINOWSKI
On 10/03/2019 04:20, Reco wrote:
> On Sat, Mar 09, 2019 at 09:27:35PM -0500, Default User wrote:
>> Hi, Reco.
>> Thanks for the reply and information.
>>
>> Since I know very little about systemd, may I ask, should:
>>
>> [Unit]
>> After=sys-subsystem-net-devices-enp7s0.device
>> sys-subsystem-net-devices-wlp6s0.device
>> Requires=sys-subsystem-net-devices-enp7s0.device
>> sys-subsystem-net-devices-wlp6s0.device
>>
>> be appended to an existing .service or .target file, or should a new
>> .service or .target file be created with these contents? And if a new file
>> is needed, what should it be named, and in what directory should it be
>> placed?
> 
> To do it proper systemd way, you should do the following:
> 
> # directory name is crucial
> mkdir /etc/systemd/system/minissdpd.service.d
> # file name is not important
> cat > /etc/systemd/system/minissdpd.service.d/override.conf << EOF
> [Unit]
> After=sys-subsystem-net-devices-enp7s0.device 
> sys-subsystem-net-devices-wlp6s0.device
> Requires=sys-subsystem-net-devices-enp7s0.device 
> sys-subsystem-net-devices-wlp6s0.device
> EOF
> 
> systemctl daemon-reload

Or run

systemctl edit minissdpd.service

which will create the file in the appropriate location, open $EDITOR on
it, and run daemon-reload automatically afterwards.


-- 
Everyone is a genius.  It's just that some people are too stupid to
realize it.

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



(deb-cat) Administracio de la llista

2019-03-10 Thread Narcis Garcia
A la pàgina d'informació de la llista:
https://lists.debian.org/debian-user-catalan/
no apareix cap altre contacte d'administració que no sigui el general.

Espero que enviant-hi allà aquesta incidència l'entenguin per a poder-la
atendre.


 Missatge reenviat 
Assumpte: Baixa d'alias de correu @cag.es - Notificació al remitent
Data: Sun, 10 Mar 2019 11:38:50 +0100
De: not...@bonarea.com
Respon a: not...@bonarea.com
A: debianli...@actiu.net

Acaba d'enviar un correu a l'usuari samuel.g...@cag.es
El seu correu no s'ha bloquejat, pero l'adreça samuel.g...@cag.es
quedarà deshablitada en breus setmanes.

Si us plau, canviï en els seus enviaments, agendes, etc l'adreça de
destí per la adreça equivalent samuel.g...@bonarea.com


Acaba de enviar un correo al usuario samuel.g...@cag.es
Su correo no se ha bloqueado, pero la dirección samuel.g...@cag.es
quedará inhabilitada en breves semanas.

Por favor, actualize en sus envios, agendas, etc la dirección de destino
con la dirección equivalente samuel.g...@bonarea.com
: El mensaje contiene [1] archivos adjuntos



a parte de sin sonido en youtube. ahora también en spotify.

2019-03-10 Thread Fran Torres
Buenas,

al igual que os comentaba que me quedé sin sonido en youtube
(independientemente del navegador: chromium/firefox) tanto en i386
como amd64, tras instalar spotify-client os comento que ocurre lo
mismo. De modo que, solo puedo escuchar la música y películas desde
vlc.
  Cómo puedo solventar esto, y que pueda escuchar música desde otras
fuentes como youtube, spotify, vlc, y la fuente que sea sin problemas?

Recordad también que, para poder tener accesibilidad tube que tocar
ficheros, como los siguientes:

/etc/pulse/client.conf, poner la línea autospawn en no
/etc/speech-dispatcher/speechd.conf, descomentar la línea
"audio_output_mode" y ponerla en "=libao"
y el fichero: /etc/default/speech-dispatcher, poner la línea: run, en yes.
luego, usar el siguiente comando:
dpkg-divert --rename /usr/share/alsa/pulse-alsa.conf

No sé si esto tendrá algo que ver... si es así, a alguien se le ocurre
como arreglarlo para tener eso y la música a la vez?
Cabe aclarar que, este procedimiento de configuración, se encuentra
documentado en debian.

Fran.



Re: de cami cap a la Debian 10 estable

2019-03-10 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 16/1/19 a les 14:55, Narcis Garcia ha escrit:
> __
> I'm using this express-made address because personal addresses aren't
> masked enough at this mail public archive. Public archive administrator
> should fix this against automated addresses collectors.
> El 16/1/19 a les 9:49, Eloi ha escrit:
>> El 15/1/19 a les 16:28, Narcis Garcia ha escrit:
>>> Ostres, però no hi ha res redactat per la versió 10, encara.
>>> Hi ha algun altre lloc on es puguin veure les decisions preses que
>>> conduiran a les novetats de Debian 10?
>>
>> Com ja et vaig dir quan el cas d'arquitectura i586 per a Debian 9 que
>> esmentes, tot això s'anuncia a la llista de correu
>> debian-devel-annou...@lists.debian.org
>>
>>
> 
> Gràcies; això s'acosta una mica més al què buscava;
> https://lists.debian.org/debian-devel-announce/
> 
> per tant, per a preveure els canvis que trobaré a Debian 10, podria
> repassar des de juny de 2017 en què es deuria iniciar la nova «testing».
> 

Aquí una altra font d'informació més recollida:
https://wiki.debian.org/NewInBuster



Re: Programa IRPF2019 não se instala no Debian GNU/Linux 9

2019-03-10 Thread China
Supondo que você já usou o chmod pra dar permissão de execução no arquivo
após o download, tente usar o strace pra ler a saída da execução.
Geralmente as últimas 10 linhas dão pistas do que pode estar dando errado.

Em dom, 10 de mar de 2019 01:27, Jamenson Ferreira Espindula de Almeida
Melo  escreveu:

> Saudações.
>
> O instalador do programa do Imposto de Renda Pessoa Física (IRPF) 2019
> não está instalando no meu Debian GNU/Linux 9 (Stretch).
>
> O arquivo é o "IRPF2019Linux-x86_64v1.0.bin" e o hash md5 é este:
>
> fae15aeb8d6c7807c271a0a96b13054b  IRPF2019Linux-x86_64v1.0.bin
>
> Eu executo o arquivo no emulador de terminal (no ambiente gráfico) e
> nada acontece. Nenhuma mensagem de erro. Nada.
>
> O comando ps mostra que o dito instalador está em execução, porém nada
> ocorre.
>
> Eu instalei a Máquina Virtual Java, conforme as instruções contidas no
> página da Receita Federal do Brasil, porém nada.
>
> Alguma ideia? Alguém está com essa mesma dificuldade?
>
> Jamenson Ferreira Espindula de Almeida Melo
> Jaboatão dos Guararapes, Pernambuco, Brasil
> Usuário GNU/Linux nº 166197
> https://linuxcounter.net/cert/166197.png
>
> Impressão digital da chave:
> 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
>
>


Re: Tekenen van client-server communicatie: mscgen

2019-03-10 Thread Geert Stappers


Helemaal TOP


On Sun, Mar 10, 2019 at 11:00:04AM +0100, mj wrote:
> On 3/10/19 10:24 AM, Geert Stappers wrote:
> > 
> > Hoi,
> > 
> > Met welke tools maken jullie zoal tekeningen
> > van client-server communatie?
> > 
> > Tekeningen als op https://lwn.net/Articles/508865/
> > 
> > Op http://graphviz.org/gallery/ is niets wat er op lijkt.
> > Wel is graphviz het soort programma wat mijn voorkeur heeft.
> > Dus dat je in tekst beschrijft wat je wilt
> > en dat er dan een plaatje wordt gegeneerd.
> 
> Misschien hier eens naar kijken?
> 
> http://www.mcternan.me.uk/mscgen/

Tekst van die webpagina:

| What is it?
|
| Mscgen is a small program that parses Message Sequence Chart
| descriptions and produces PNG, SVG, EPS or server side image maps
| (ismaps) as the output. Message Sequence Charts (MSCs) are a way of
| representing entities and interactions over some time period and are
| often used in combination with SDL. MSCs are popular in Telecoms to
| specify how protocols operate although MSCs need not be complicated
| to create or use. Mscgen aims to provide a simple text language that
| is clear to create, edit and understand, which can also be transformed
| into common image formats for display or printing.
| 
| This program and the language it parses have been inspired by Graphviz
| Dot, which provides a really good way to document State Transition
| Diagrams, data structures and directed graphs. Unlike Graphviz, this
| program does no clever layout operations or spline routing as this is
| not needed for MSCs, and so was much simpler to implement.

Dus `sudo apt install mscgen`

Dank je wel.


Groeten
Geert Stappers
-- 
Leven en laten leven



Re: Tekenen van client-server communicatie

2019-03-10 Thread mj

Misschien hier eens naar kijken?

http://www.mcternan.me.uk/mscgen/

MJ

On 3/10/19 10:24 AM, Geert Stappers wrote:


Hoi,

Met welke tools maken jullie zoal tekeningen
van client-server communatie?

Tekeningen als op https://lwn.net/Articles/508865/

Op http://graphviz.org/gallery/ is niets wat er op lijkt.
Wel is graphviz het soort programma wat mijn voorkeur heeft.
Dus dat je in tekst beschrijft wat je wilt
en dat er dan een plaatje wordt gegeneerd.



Groeten
Geert Stappers





Re: systemd error

2019-03-10 Thread Curt
On 2019-03-10, Default User  wrote:
>
> Curt, I often use sudo [command] even when not needed, because the sudo
> elevated privileges state  "times out" after several minutes, reverting to
> unprivileged user state. So if I need to enter another command with
> elevated privileges after the elevated privilege state expires, I have to
> re-enter the password again, instead of just sudo [command].
>
> I guess i'm just lazy.

I don't use sudo and was unaware of this timeout feature.

The timeout interval is configurable, though.

man sudoers:

 timestamp_timeout 
Number of minutes that can elapse before sudo will ask for a passwd again.
The timeout may include a fractional component if minute granularity is
insufficient, for example 2.5. The default is 15. Set this to 0 to always
prompt for a password. If set to a value less than 0 the user's time stamp 
will
not expire until the system is rebooted.  -- 

The advisability of lengthening or eliminating the timeout is probably related
to the possibility of the kitty (and other, less cool cats) creeping by to paw
a detrimental command or two into your privileged xterm while you're out
grilling one on the stoop.

-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



Tekenen van client-server communicatie

2019-03-10 Thread Geert Stappers


Hoi,

Met welke tools maken jullie zoal tekeningen
van client-server communatie?

Tekeningen als op https://lwn.net/Articles/508865/

Op http://graphviz.org/gallery/ is niets wat er op lijkt.
Wel is graphviz het soort programma wat mijn voorkeur heeft.
Dus dat je in tekst beschrijft wat je wilt
en dat er dan een plaatje wordt gegeneerd.



Groeten
Geert Stappers
-- 
Leven en laten leven



One jigdo file missing - cannot build ISO image DVD7.

2019-03-10 Thread djs
When using jigdo-lite to download files for debian-9.8.0-amd64-DVD7 the
majority of the files download correctly. The procedure becomes stuck
at http://ftp.au.debian.org/debian/pool/main/a/afl/afl-doc_2.36b-1_all.
deb . One file missing! I waited several weeks to see if this missing
file would be updated but it did not. I tried several other mirrors
around the world and the same problem appears even if trying to
download it directly. Seems to be a broken file globally mirrored.
The error message is '2019-03-10 18:25:18 (0.00 B/s) - Read error at
byte 0/132596 (Connection reset by peer). Retrying.' Files required to
download and build all other DVD iso images did correctly complete.
Images 2 to 6 and 8 to 14 are all OK. DVD image 1 is also broken but
this can be downloaded as an image directly so this is not a problem.
Can a workaround be suggested to complete or ignore this missing file?
Thanks, David.