Re: l'ajuntament de bcn adopta gnu/linux

2018-01-16 Thread Narcis Garcia
No és el mateix tema ni la mateixa notícia, de diferent mes.



__
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 17/01/18 a les 07:45, Àlex ha escrit:
> Les fonts de les fonts. Aquí podeu trobar tot: presupostos, calendaris, etc.
> 
> http://ajuntament.barcelona.cat/premsa/2017/10/19/lajuntament-de-barcelona-aposta-per-la-prestacio-de-serveis-digitals-amb-codi-i-estandards-oberts-i-busca-afavorir-lentrada-de-pimes-locals/
> 
> http://ajuntament.barcelona.cat/digital/ca/documentacio
> 
> Jo el que trobo important, més que les migracions, és que les vint
> aplicacions que es desenvolupin a partir d'ara seran de codi obert i
> aprofitables per altres, que el format de les dades serà obert i sempre
> accesible per qualsevol aplicació, i que intentaran prioritzar empreses
> locals en les adjudicacions per reforçar l'economia.
> 



Re: kernel panic

2018-01-16 Thread Jean louis Giraud-Desrondiers


> Le 16 janv. 2018 à 23:33, Michel  a écrit :
> 
> Le 16/01/2018 à 21:40, Jean louis Giraud-Desrondiers a écrit :
>> 
>> 
>>> Le 16 janv. 2018 à 20:27, Michel  a écrit :
>>> Essaie:
>>> smartctl -a -d ata /dev/sda
>>> 
>> ça y est je l’ai fait (d’ailleurs j’ai aussi fait un smartctl -t long après 
>> avoir lu de la doc sur smartmontools mais pas moyen d’obtenir les logs de 
>> résultats) - pour revenir à la commande que tu indiques ci dessus le 
>> problème est que le résultat occupe 2 pages complètes (donc pas moyen de le 
>> recopier) : que faut-il regarder plus précisément pour avoir des infos sur 
>> la santé de mon DD ? 
>> JLouis
>> 
> 
> Tu peux essayer smartctl -a -d ata /dev/sda > toto.txt
fait mais je ne comprends pas >toto.txt si j’écris ça au bout de la commande 
smartctl…. ça ne donne rien
> 
> et nous passer le contenu de toto.txt
> 
désolé j’ai bien réussi à me connecter sur le web par l’intermédiaire du 
live-CD et aller sur le site qui héberge mes mails mais pas moyen de répondre à 
tes messages ni même d’envoyer une copie de ce que j’obtiens avec la commande 
smartctl -a -d ata….




Re: l'ajuntament de bcn adopta gnu/linux

2018-01-16 Thread Adam Deosdad
No participo mai, però en aquest cas m'agradaria aportar perquè he estat en
un ajuntament d'una població de 12mil habitants.

Els regidors no n'entenen, per tant tot queda en mans dels tècnics que
s'han d'enfrontar als treballadors que són els més contraris als canvis. Jo
mateix desprès d'escriure el manual, i el cap fer la formació als
treballadors, ens venien en  l'excusa que no volen llegir un
manual/tutorial de 10 pàgines amb unes 3 captures de pantalla per pàgina. I
era una simple aplicació web, per demanar dies lliures, anar al metge, ...
Fins i tot tenien problemes al login, per no llegir que era el correu
corporatiu i no el personal.
Els tècnics poden aconsellar bé als polítics, però l'obstacle serà el
treballador/funcionari.

El dia 17 gen. 2018 07:58, "Àlex"  va escriure:

> El 16/01/18 a las 20:36, Robert Marsellés escribió:
> > Hola,
> >
> > El 15/01/18 a les 22:01, Ernest Adrogué ha escrit:
> >> A veure com va...
> >>
> >> https://linux.slashdot.org/story/18/01/15/0415219/city-
> of-barcelona-dumps-windows-for-linux-and-open-source-software
> >>
> > Algunes experiències internacionals prèvies amb gran rebombori [1] no
> > suggereixen cap mena d'optimisme [2].
> >
> > robert
> >
> > [1]
> > https://usatoday30.usatoday.com/money/industries/technology/2003-07-13-
> microsoft-linux-munich_x.htm
> >
> > [2]
> > https://www.theregister.co.uk/2017/11/13/munich_committee_
> says_all_windows_2020/
> >
> Microsoft és un loby molt fort, amb moltes persones "col.locades" als
> governs prenent decisions. Una de les polítiques que va prendre la
> decisió a Munich, resulta que era la vicepresidenta de Microsoft a
> Europa fins el 2015.
>
> Però també hi ha casos d'èxit, també. Mira les gendarmeries franceses,
> per exemple. Porten 10 anys amb Linux, més que contents i a sobre han
> estalviat 20 millions d'euros en llicències. Però encara avui en dia
> reben ordres de superiors, que no compleixen, de que canviïn
> inmediatament a Windows. El loby Microsoft té ara mateix sis consellers
> amb connexions directes amb ministres i polítics.
>
>
> Un article interessant de llegir:
>
> http://www.investigate-europe.eu/en/why-europes-dependency-
> on-microsoft-is-a-huge-security-risk/
>
>
>
>
>


Re: l'ajuntament de bcn adopta gnu/linux

2018-01-16 Thread Àlex
El 16/01/18 a las 20:36, Robert Marsellés escribió:
> Hola,
>
> El 15/01/18 a les 22:01, Ernest Adrogué ha escrit:
>> A veure com va...
>>
>> https://linux.slashdot.org/story/18/01/15/0415219/city-of-barcelona-dumps-windows-for-linux-and-open-source-software
>>
> Algunes experiències internacionals prèvies amb gran rebombori [1] no
> suggereixen cap mena d'optimisme [2].
>
> robert
>
> [1]
> https://usatoday30.usatoday.com/money/industries/technology/2003-07-13-microsoft-linux-munich_x.htm
>
> [2]
> https://www.theregister.co.uk/2017/11/13/munich_committee_says_all_windows_2020/
>
Microsoft és un loby molt fort, amb moltes persones "col.locades" als
governs prenent decisions. Una de les polítiques que va prendre la
decisió a Munich, resulta que era la vicepresidenta de Microsoft a
Europa fins el 2015.

Però també hi ha casos d'èxit, també. Mira les gendarmeries franceses,
per exemple. Porten 10 anys amb Linux, més que contents i a sobre han
estalviat 20 millions d'euros en llicències. Però encara avui en dia
reben ordres de superiors, que no compleixen, de que canviïn
inmediatament a Windows. El loby Microsoft té ara mateix sis consellers
amb connexions directes amb ministres i polítics.


Un article interessant de llegir:

http://www.investigate-europe.eu/en/why-europes-dependency-on-microsoft-is-a-huge-security-risk/






Re: l'ajuntament de bcn adopta gnu/linux

2018-01-16 Thread Àlex
Les fonts de les fonts. Aquí podeu trobar tot: presupostos, calendaris, etc.

http://ajuntament.barcelona.cat/premsa/2017/10/19/lajuntament-de-barcelona-aposta-per-la-prestacio-de-serveis-digitals-amb-codi-i-estandards-oberts-i-busca-afavorir-lentrada-de-pimes-locals/

http://ajuntament.barcelona.cat/digital/ca/documentacio

Jo el que trobo important, més que les migracions, és que les vint
aplicacions que es desenvolupin a partir d'ara seran de codi obert i
aprofitables per altres, que el format de les dades serà obert i sempre
accesible per qualsevol aplicació, i que intentaran prioritzar empreses
locals en les adjudicacions per reforçar l'economia.



Re: Fallo de disco [Solucionado]

2018-01-16 Thread Josu Lazkano
Buenas,

No del todo, al hacer unas copias con origen el disco recuperado en el
dmesg me aparece esto:

[71428.385409] EXT4-fs (sdc): warning: mounting fs with errors,
running e2fsck is recommended
[71428.416818] EXT4-fs (sdc): recovery complete
[71428.430840] EXT4-fs (sdc): mounted filesystem with ordered data
mode. Opts: (null)
[71738.294447] EXT4-fs (sdc): error count since last fsck: 137
[71738.294480] EXT4-fs (sdc): initial error at time 1515460519:
__ext4_get_inode_loc:4355: inode 52037653: block 208142497
[71738.294489] EXT4-fs (sdc): last error at time 1515809719:
__ext4_get_inode_loc:4355: inode 52037657: block 208142497
[81963.334854] perf: interrupt took too long (2503 > 2500), lowering
kernel.perf_event_max_sample_rate to 79750
[99569.694068] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037653
[99569.727781] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037654
[99569.736022] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037650
[99569.744270] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037649
[99569.752621] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037652
[99569.760901] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037651
[99569.769214] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037655
[99569.778034] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035690: comm rsync: deleted inode referenced: 52037656
[99569.785912] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035690: comm rsync: deleted inode referenced: 52037661
[99569.794172] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035690: comm rsync: deleted inode referenced: 52037659
[137343.394849] EXT4-fs error: 6 callbacks suppressed
[137343.394856] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037653
[137343.433875] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037654
[137343.450374] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037650
[137343.458756] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037649
[137343.467183] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037652
[137343.475330] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037651
[137343.483679] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035689: comm rsync: deleted inode referenced: 52037655
[137343.492510] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035690: comm rsync: deleted inode referenced: 52037656
[137343.500435] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035690: comm rsync: deleted inode referenced: 52037661
[137343.508691] EXT4-fs error (device sdc): ext4_lookup:1611: inode
#52035690: comm rsync: deleted inode referenced: 52037659
[159692.898531] EXT4-fs (sdc): error count since last fsck: 169
[159692.898537] EXT4-fs (sdc): initial error at time 1515460519:
__ext4_get_inode_loc:4355: inode 52037653: block 208142497
[159692.898545] EXT4-fs (sdc): last error at time 1516063628:
ext4_lookup:1611: inode 52035690

Veo que los inode y los referenced son los mismos, puedo identificar
que ficheros estan afectados?

Gracias y un saludo.

El día 15 de enero de 2018, 21:01, Zeque  escribió:
>
> On 01/15/2018 03:31 AM, Josu Lazkano wrote:
>>
>> Buenos dias,
>>
>> Ya ha terminado y todo OK:
>>
>> # dd if=/mnt/2TBUSB/sdb1.img of=/dev/sdc status=progress
>>
>> Ya veo todos los ficheros de nuevo.
>>
>> Muchas gracias a todos por vuestra ayuda.
>>
>> Un saludo.
>>
>>
> Excelente!
>



-- 
Josu Lazkano



[no subject]

2018-01-16 Thread josh cha
Hello again. Too all the debain users.
I realised linksys AE6000 wifi usb SUPPORT IS DEAD LOL or maybe im not
checking the right places. Other wise is there a usb wifi that i can buy
That is compatible to debian.


Re: l'ajuntament de bcn adopta gnu/linux

2018-01-16 Thread Joan
Hola Adam,

Diria que la teva resposta només em va arribar a mi...

La reenvio a la llista:

El Wed, 17 Jan 2018 05:56:24 +0100
Adam Deosdad  va escriure:

> No participo mai, però en aquest cas m'agradaria aportar perquè he
> estat en un ajuntament d'una població de 12mil habitants.
> Els regidors no n'entenen, per tant tot queda en mans dels tècnics que
> s'han d'enfrontar als treballadors que són els més contraris als
> canvis. Jo mateix desprès d'escriure el manual, i el cap fer la
> formació als treballadors, ens venien en  l'excusa que no volen
> llegir un manual/tutorial de 10 pàgines amb unes 3 captures de
> pantalla per pàgina. I era una simple aplicació web, per demanar dies
> lliures, anar al metge, ... Fins i tot tenien problemes al login, per
> no llegir que era el correu corporatiu i no el personal.
> Els tècnics poden aconsellar bé als polítics, però l'obstacle serà el
> treballador/funcionari.
> 
> El dia 16 gen. 2018 12:40, "Joan"  va escriure:
> 
> > Que aquest tema els amoïna molt poc ho demostra el fet que en 3 anys
> > d'alcaldia no han fet res gaire remarcable en aquesta línia... No
> > sé si a Madrid, que tenien un regidor molt potent en aquest àmbit,
> > han avançat més. Ho sabeu?
> >
> > Joan Cervan
> >
> > El Tue, 16 Jan 2018 08:39:51 +0100
> > Narcis Garcia  va escriure:
> >  
> > > De la font:
> > > https://elpais.com/ccaa/2017/12/01/catalunya/1512145439_132556.html
> > >
> > > La premsa de vegades no s'assessora sobre els detalls (es nota amb
> > > l'esment de OpenOffice), i d'altres vegades el llenguatge
> > > t'empeny a creure el què no es diu, ja que s'esmenten 1.000
> > > ordinadors que funcionen amb Ubuntu, els quals ja eren així abans
> > > de què ningú obrís la boca sobre la nova proposta.
> > > Com sol passar, hi ha un ball de xifres, percentatges i adjectius
> > > difícils de copmprovar i avaluar pel lector, la qual cosa
> > > dificulta la formació d'opinió pròpia.
> > >
> > > La migració a GNU/Linux l'han deixat vinculada a tornar a guanyar
> > > les eleccions.
> > > I el protagonista de la notícia, Open-Xchange, és adquirit sota
> > > una llicència privativa.
> > >
> > >
> > >
> > > __
> > > 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 15/01/18 a les 22:01, Ernest Adrogué ha escrit:  
> > > > A veure com va...
> > > >
> > > > https://linux.slashdot.org/story/18/01/15/0415219/city-  
> > of-barcelona-dumps-windows-for-linux-and-open-source-software  
> > > >  
> > >  
> >
> >
> >
> > --
> > Joan Cervan i Andreu
> > http://personal.calbasi.net
> >
> > "El meu paper no és transformar el món ni l'home sinó, potser, el de
> > ser útil, des del meu lloc, als pocs valors sense els quals un món
> > no val la pena viure'l" A. Camus
> >
> > i pels que teniu fe:
> > "Déu no és la Veritat, la Veritat és Déu"
> > Gandhi
> >
> >  



-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi



Re: scriptable way to list packages that are not installed

2018-01-16 Thread John Hasler
The Wanderer writes:
> I usually think of "Over and out" as being effectively equivalent to
> "You can respond if you want to, but I'm not going to be listening".

If I say that I mean "I am done transmitting.  I will listen for your
final transmission."  If you have nothing more to say you should respond
with "Roger  Out" or possibly just "Out."

If I was done transmitting and did not expect a reply I would simply end
my transmission with "Out." You would then not respond at all.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: scriptable way to list packages that are not installed

2018-01-16 Thread The Wanderer
On 2018-01-16 at 21:17, Charlie Gibbs wrote:

> On 16/01/18 12:15 PM, david...@freevolt.org wrote:
> 
>> Is there a natural law or something, that every email message sent
>> must contain at least one distracting error that is totally beside the
>> point?
>>
>> Anyways, over and out.
> 
> "Over" means "My transmission is finished; I expect a reply."
> "Out" means "My transmission is finished; I do not expect a reply."
> 
> One more distracting error... :-)

I usually think of "Over and out" as being effectively equivalent to
"You can respond if you want to, but I'm not going to be listening".

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: scriptable way to list packages that are not installed

2018-01-16 Thread Charlie Gibbs

On 16/01/18 12:15 PM, david...@freevolt.org wrote:


Is there a natural law or something, that every email message sent
must contain at least one distracting error that is totally beside the
point?

Anyways, over and out.


"Over" means "My transmission is finished; I expect a reply."
"Out" means "My transmission is finished; I do not expect a reply."

One more distracting error... :-)

--
cgi...@surfnaked.ca (Charlie Gibbs)



Re: comment adapter la syntaxe pour PgSQL

2018-01-16 Thread Jean-Michel OLTRA

Bonjour,


Le mardi 16 janvier 2018, Bernard Schoenacker a écrit...


> mysql -u root -p

su - postgres

> mysql> CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'mot_de_passe';

Perso, je crée un utilisateur ayant mon login (jm) et je me mets proprio
(owner) de mes bases

Toujours en user postgres :

createuser -P bernard
createuser --pwprompt --no-createdb --no-createrole --no-superuser postfix
createdb --encoding=utf8 --owner=bernard postfix

> mysql> GRANT USAGE ON * . * TO 'postfix'@'localhost' IDENTIFIED BY 
> 'mot_de_passe';
> mysql> CREATE DATABASE `postfix` ;
> mysql> GRANT ALL PRIVILEGES ON `postfix` . * TO 'postfix'@'localhost';
> mysql> FLUSH PRIVILEGES;
> mysql> quit

> //
> CREATE USER 'postfix'@'localhost' IDENTIFIED BY  '***';

> GRANT USAGE ON * . * TO  'postfix'@'localhost' IDENTIFIED BY  '***' WITH 
> MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 
> MAX_USER_CONNECTIONS 0 ;

> GRANT ALL PRIVILEGES ON  `postfix` . * TO  'postfix'@'localhost';

> // importer les tables postfix ou :
> USE postfix;
> CREATE TABLE `domaines` (
>   `domaine` varchar(255) NOT NULL default '',
>   `etat` tinyint(1) NOT NULL default '1',
>   PRIMARY KEY  (`domaine`)
> ) ENGINE=InnoDB;
> CREATE TABLE `comptes` (
>   `email` varchar(255) NOT NULL default '',
>   `password` varchar(255) NOT NULL default '',
>   `quota` int(10) NOT NULL default '0',
>   `etat` tinyint(1) NOT NULL default '1',
>   `imap` tinyint(1) NOT NULL default '1',
>   `pop3` tinyint(1) NOT NULL default '1',
>   PRIMARY KEY  (`email`)
> ) ENGINE=InnoDB;
> CREATE TABLE `alias` (
>   `source` varchar(255) NOT NULL default '',
>   `destination` text NOT NULL,
>   `etat` tinyint(1) NOT NULL default '1',
>   PRIMARY KEY  (`source`)
> ) ENGINE=InnoDB;

Si 'bernard' est propriétaire de la base, tu peux te connecter dessus avec :
psql postfix
puis
postfix # grant select, update, delete, insert on domaines to postfix;
postfix # grant select, update, delete, insert on comptes to postfix;
postfix # grant select, update, delete, insert on alias to postfix;

En fonction des nécessités, tu supprimes des droits dans ce que j'ai
indiqué. Je suppose que postfix aura besoin du select. Mais du insert,
update, delete ?

Pour la création de table, je pense que c'est pareil, à part que tu évites
le engine=InnoDB à la fin !

> INSERT INTO `postfix`.`comptes` ( `email` , `password` , `quota` , `etat` , 
> `imap` , `pop3` ) VALUES ('happy-...@happy-tux.org', ENCRYPT( 
> 'mon_beau-mot-de-passe' ) , '0', '1', '1', '1');

Il faut ajouter l'extension pgcrypto à la base.

su - postgres
psql postfix
postfix= #create extension pgcrypto

Mais le crypt() de postgresql prend un 'salt' en plus comme argument :
select crypt('le-mot-de-passe', 'le-salt');
Je ne sais pas si tu peux l'utiliser ?

> service mysql reload

service postgresql reload

> INSERT INTO `postfix`.`alias` ( `source`, `destination`  , `etat` ) VALUES 
> ('bernard.schoenac...@happy-tux.org', 'happy-...@happy-tux.org', '1');

ok.

Question bête: pourquoi vouloir passer de mariadb à postgres ?

-- 
jm



Re: Making a driver for the Matrox P650 card.

2018-01-16 Thread peter
*   From: Dan Ritter d...@randomstring.org
*   Date: Tue, 16 Jan 2018 16:11:29 -0500
> I'm assuming you're trying to compile a driver from
> http://www.matrox.com/graphics/en/support/drivers/download/certified/

Yes, from that Web site, but the page notifies 
"There is no software available for download. 
Can't find what you're looing for?  Simply contact us."

To get an installer, I registered, logged in, traced through a 
hierarchy of menues to identify the requirement and ultimately got 
these files. 
mtxdriver-installer-x86_32-cvs-1.4.7.run
mtxdriver-installer-x86_32-cvs-1.4.6.run

Each of them contains an elaborate shell script followed by a binary 
archive.  "sh <...>.run" extracts the archive and proceeds to attempt 
making the driver.  The log in my previous message is from 1.4.6 
whereas 1.4.7 fails earlier in the script.

> Have you tried asking Matrox? They might have someone who 
> can tell you definitively.

Just submitted a request.  Will report later.

Thanks, ... Peter E.

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202  Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Re: Bluetooth devices get disconnected.

2018-01-16 Thread Jiri Kanicky

Hi,

So the issue was most likely related to iwlwifi modue (Network 
controller: Intel Corporation Wireless 8260 (rev 3a)). After adding the 
following options for iwlwifi the issue disappeared and the mouse is 
working fine.


$ cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8 led_mode=3

-Jiri


On 12/12/17 23:44, Jiri Kanicky wrote:

Hi.

I am running Debian Sid with KDE. I have Logitech MX 2 and Bose 
Bluetooth headphones. I experience disconnects very often.


I tried to use different configuration, but nothing seems to work.

After running the following the mouse gets connected again, and I can 
reconnect BT headphones also. However the devices get disconnected 
again in 1, 5 or 10 minutes again:

hciconfig hci0 sspmode 1
hciconfig hci0 down
hciconfig hci0 up

I also noticed that when the mouse is working I see the following:

$ hciconfig -a
hci0:   Type: Primary  Bus: USB
    BD Address: 28:16:AD:B6:2A:0A  ACL MTU: 1021:4  SCO MTU: 96:6
    UP RUNNING
    RX bytes:21923293 acl:792631 sco:0 events:111597 errors:0
    TX bytes:10619740 acl:18458 sco:0 commands:1832 errors:0
    Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy: RSWITCH SNIFF
    Link mode: SLAVE ACCEPT
    Name: 'supermanbt'
    Class: 0x1c010c
    Service Classes: Rendering, Capturing, Object Transfer
    Device Class: Computer, Laptop
    HCI Version: 4.2 (0x8)  Revision: 0x100
    LMP Version: 4.2 (0x8)  Subversion: 0x100
    Manufacturer: Intel Corp. (2)


After disconnect I can see the following:

$ hciconfig -a
hci0:   Type: Primary  Bus: USB
    BD Address: 28:16:AD:B6:2A:0A  ACL MTU: 1021:4  SCO MTU: 96:6
    UP RUNNING PSCAN
    RX bytes:22096318 acl:800070 sco:0 events:113012 errors:0
    TX bytes:11042199 acl:19322 sco:0 commands:2053 errors:0
    Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy: RSWITCH SNIFF
    Link mode: SLAVE ACCEPT
    Name: 'Bluemoon Universal Bluetooth Host Controller'
    Class: 0x00
    Service Classes: Unspecified
    Device Class: Miscellaneous,
    HCI Version: 4.2 (0x8)  Revision: 0x100
    LMP Version: 4.2 (0x8)  Subversion: 0x100
    Manufacturer: Intel Corp. (2)

I also configured blutoothd with -d option, but I don't see any 
specific messages when the devices disconnect.


Any thoughts how to fix it or debug it? Is this general bluetooth 
issue or KDE bluedevil problem?


Thanks Jiri





Re: [HS] PC portable qui ne démarre plus

2018-01-16 Thread Pierre L.
Par contre la Bourgogne, si ! Et c'est tant mieux !




Le 16/01/2018 à 11:52, Haricophile a écrit :
> on ne peut pas mettre Paris
> en bouteille.




signature.asc
Description: OpenPGP digital signature


NFS4 file transfers fail or are very slow

2018-01-16 Thread Michael

Hello guys,

I have recently installed Debian Stretch 9.3 on a new PC and I'd just 
like to provide some NFS shares for other Linux machines in the LAN 
(1GBit). With small files everything works fine, but if I try to copy, 
e.g., a 7GB file with rsync it starts with a high transmission rate 
above 160MB/s and then goes down to around 70-90MB/s. After a random but 
short time there's no more progress going on for about 10-15 seconds. 
When the process then continues, the speed goes down to around 20MB/s 
and then up to about 200MB/s. It seems to continue transferring data, 
but rsync gives me an error message in the end.


On another client I experience the same, but there the last rate lies 
around 85MB/s instead of the 200MB/s from above. I guess this comes 
because the first PC has a SSD and the latter only a HDD. On the first 
client runs Arch Linux, on the latter ubuntu mate 16.04.
Exactly the same share is able to write more than 105MB/s via SMB/CIFS, 
so I would expect an NFS speed in a similar range.


My configurations files look as follows.

/etc/fstab on server:
/dev/disk/by-label/vol1  /vol1  ext4 
defaults,nofail,user_xattr,noexec,usrjquota=aquota.usr,grpjquota=aquota.grp,jqfmt=vfsv0,acl 
0 2

/vol1/temp  /export/temp  none  bind,nofail  0 0

/etc/exports on server:
/export/temp  192.168.192.0/24(fsid=1,rw,subtree_check,secure)
# NFSv4 pseudo filesystem root
/export 192.168.192.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)

/etc/default/nfs-kernel-server on server:
RPCNFSDCOUNT=64
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--manage-gids"
NEED_SVCGSSD=
RPCSVCGSSDOPTS=

/etc/fstab on clients:
192.168.192.10:/temp  /mnt/temp  nfs 
rw,bg,intr,soft,users,noauto,_netdev,proto=tcp,retry=3,timeo=10  0 0


I tried different export and mount options, but nothing helped to get 
stable transfer. Sometimes the transmission finishes successfully, but 
with a low rate (<60MB/s).


What can cause this problem?

Best regards,
Michael



Re: kernel panic

2018-01-16 Thread Michel
Le 16/01/2018 à 21:40, Jean louis Giraud-Desrondiers a écrit :
> 
> 
>> Le 16 janv. 2018 à 20:27, Michel  a écrit :
>> Essaie:
>> smartctl -a -d ata /dev/sda
>>
> ça y est je l’ai fait (d’ailleurs j’ai aussi fait un smartctl -t long après 
> avoir lu de la doc sur smartmontools mais pas moyen d’obtenir les logs de 
> résultats) - pour revenir à la commande que tu indiques ci dessus le problème 
> est que le résultat occupe 2 pages complètes (donc pas moyen de le recopier) 
> : que faut-il regarder plus précisément pour avoir des infos sur la santé de 
> mon DD ? 
> JLouis
> 

Tu peux essayer smartctl -a -d ata /dev/sda > toto.txt

et nous passer le contenu de toto.txt



Re: Problem using "dpkg -i"

2018-01-16 Thread Michael Lange
On Tue, 16 Jan 2018 15:29:57 -0600
Richard Owlett  wrote:

> On 01/16/2018 04:17 AM, Michael Lange wrote:
> > [snip]
> > 
> > To the OP:
> > a quick web search showed another alternative that (iirc) has not been
> > mentioned before, see http://bluegriffon.org/ . I don't know anything
> > about this program, except that it appears to be commercial but open
> > source and they have a deb package available (which may or may not
> > work with debian) and it apparently can be used for free with a
> > somewhat reduced feature set.
> > 
> 
> That looks interesting. The only problem is I'm still using i386 flavor.

Maybe you could try to build from source? The instructions at 
https://github.com/therealglazou/bluegriffon
at a quick glance look quite detailed, and I assume you are not
interested in the expensive extra-features from the binary packages
anyway?

Or, the (maybe) easier way, try to pick one of the older releases from 
http://bluegriffon.org/freshmeat/ and see if one of these can be installed
and run on your system (2.3.1 appears to be the latest that comes with a
386 deb).

Regards

Michael

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

In the strict scientific sense we all feed on death -- even vegetarians.
-- Spock, "Wolf in the Fold", stardate 3615.4



Re: Problem using "dpkg -i"

2018-01-16 Thread Richard Owlett

On 01/16/2018 04:17 AM, Michael Lange wrote:

[snip]

To the OP:
a quick web search showed another alternative that (iirc) has not been
mentioned before, see http://bluegriffon.org/ . I don't know anything
about this program, except that it appears to be commercial but open
source and they have a deb package available (which may or may not work
with debian) and it apparently can be used for free with a somewhat
reduced feature set.



That looks interesting. The only problem is I'm still using i386 flavor.





Re: scriptable way to list packages that are not installed

2018-01-16 Thread davidson

On Tue, 16 Jan 2018, davidson wrote:


On Sun, 14 Jan 2018, Vasyl Vavrychuk wrote:


Hi, John,

On Sun, Jan 14, 2018 at 8:48 AM, john doe  wrote:

On 1/14/2018 7:28 AM, john doe wrote:

$ dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' awk git gawk
cmake 2>&1 | awk '!/^ii/ || !/^un/{print $6}'
git
gawk
cmake


I also tried to parse stderr, but then I realized that relying on the 
output


  dpkg-query: no packages found matching

is not correct since it might be localized and is not suitable for 
scripting.


You could just discard the stderr, and take the complement of the hits
from dpkg-query, relative to the supplied arguments:

show-installed () {
   dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' "$@" |
   awk '/^ii/ {print $2}'
}

show-absent () {
   universe=("$@")
   diff <( IFS=$'\n' ; sort <<<"${universe[*]}" ) \
<( show-installed "${universe[@]}" 2>/dev/null ) |
   sed -n 's/^< //p'
}


Further testing shows that the above has a lot of problems.

Would not recommend.

Sorry for the noise.



Re: Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread Michael Lange
Hi,

On Tue, 16 Jan 2018 14:58:48 +0100
Pieter Van Isacker  wrote:

> Hi all,
> 
> While testing change a Debian Wheezy from 32bit to 64bit I ran into an
> issue. Following the guide on https://wiki.debian.org/CrossGrading
>  Once we've change to 64bit we
> plan to update to Debian 8 and then possibly to Debian 9

About two years ago, before upgrading from wheezy to jessie, I
successfully switched my system from 32 to 64 bit (after two failed
trials :)
When I had first started with the tips from the above link, the results
were desastrous :)
The advice from the following page:
http://blog.zugschlus.de/archives/972-How-to-amd64-an-i386-Debian-installation-with-multiarch.html
worked for me, although of course I cannot guarantee that they will work
for you either. And I'll have to add that I began to do as above page
instructed me only halfway into the process (when I had almost manoeuvered
myself into disaster again), so I cannot tell about the first half of that
page's instructions; the second half though surely saved my day back then.

Good luck (and don't forget to backup first!! :)

Michael


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

It is necessary to have purpose.
-- Alice #1, "I, Mudd", stardate 4513.3



Re: Making a driver for the Matrox P650 card.

2018-01-16 Thread Dan Ritter
On Tue, Jan 16, 2018 at 12:15:52PM -0800, pe...@easthope.ca wrote:
> An attempt to make the driver fails with the following log.
> Is a solution feasible?  Debian has evolved too far for the P650?
> 

I'm assuming you're trying to compile a driver from
http://www.matrox.com/graphics/en/support/drivers/download/certified/

because Debian only has support up through the 550 series.

Have you tried asking Matrox? They might have someone who 
can tell you definitively.

-dsr-



Re: Problem using "dpkg -i"

2018-01-16 Thread Michael Lange
On Tue, 16 Jan 2018 18:52:51 +0100
deloptes  wrote:

> Curt wrote:
> > 
> > I thought it was merely not recommended for upgrades.
> > 
> 
> might be we check to see what is official statement on that

Maybe Curt refers to the following from
https://www.debian.org/releases/stretch/amd64/release-notes/ch-upgrading.en.html#upgradingpackages

"The recommended way to upgrade from previous Debian releases is to use
the package management tool apt-get. In previous releases, aptitude was
recommended for this purpose, but recent versions of apt-get provide
equivalent functionality and also have proven to more consistently give
the desired upgrade results. "

Regards

Michael


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

It would be illogical to kill without reason.
-- Spock, "Journey to Babel", stardate 3842.4



Re: Problem using "dpkg -i"

2018-01-16 Thread Michael Lange
On Tue, 16 Jan 2018 11:13:05 + (UTC)
Curt  wrote:

> On 2018-01-16, Michael Lange  wrote:
> >
> > To the OP: 
> > a quick web search showed another alternative that (iirc) has not been
> > mentioned before, see http://bluegriffon.org/ . I don't know anything
> > about this program, except that it appears to be commercial but open
> > source and they have a deb package available (which may or may not
> > work with debian) and it apparently can be used for free with a
> > somewhat reduced feature set. 
> 
>  Buy User's Manual
>  €7.50 (+VAT inside EU).
> 
> Software whose user manual is for sale; sign me up, please, that's for
> me!

Yes sure, I did not intend to advertise that app. 
But then, if you buy the "basic" license (for just 75.00 €) you get the
manual for free!! :-)

Still, if one is looking for such a tool there are not too many
competitors out there. If the free version is usable without buying the
manual I cannot tell (and I do not feel much inclination to find out).
And besides, I don't think we should condemn the developers because they
try to earn money with the work they are doing. Some way or other all of
us have to earn their living. At least they give away a free and open
source version of their app and sell the manual, I think that is better
than the other way around.

Regards

Michael

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

Without followers, evil cannot spread.
-- Spock, "And The Children Shall Lead", stardate 5029.5



Making a driver for the Matrox P650 card.

2018-01-16 Thread peter
An attempt to make the driver fails with the following log.
Is a solution feasible?  Debian has evolved too far for the P650?

Thanks,  ... Peter E.
=
Using kernel headers in /lib/modules/4.9.0-5-686-pae/build/include for kernel 
version 4.9.x
making all in /parhelia...
make[1]: Entering directory 
'/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 
'/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia'
making all in /mtxvxd...
make[1]: Entering directory 
'/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/mtxvxd'
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxCpu.c -o MtxCpu.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxCs.c -o MtxCs.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxIo.c -o MtxIo.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxMem.c -o MtxMem.o
MtxMem.c: In function âĘmemFileAllocâę:
MtxMem.c:79:55: warning: passing argument 2 of âĘClientMemAllocâę makes 
integer from pointer without a cast [-Wint-conversion]
 pvChunk = ClientMemAlloc(dwSize + sizeof(UINT32), NULL);
   ^~~~
In file included from precomp.h:33:0,
 from MtxMem.c:19:
/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/mtx_client.h:41:30: note: 
expected âĘHREGION {aka long unsigned int}âę but argument is of type âĘvoid 
*âę
 EXTERN_C STACK_LINKAGE void* ClientMemAlloc(size_t size, HREGION region);
  ^~
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxPci.c -o MtxPci.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxMap.c -o MtxMap.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 

Re: kernel panic

2018-01-16 Thread Jean louis Giraud-Desrondiers


> Le 16 janv. 2018 à 20:27, Michel  a écrit :
> 
> Le 16/01/2018 à 20:00, Jean louis Giraud-Desrondiers a écrit :
>> 
>> 
>>> Le 16 janv. 2018 à 16:49, Michel  a écrit :
>>> 
>>> Le 16/01/2018 à 14:09, Jean louis Giraud-Desrondiers a écrit :
 par l’intermédiaire du live-CD  ?
 
>>> Oui, lancer smartctl -a /dev/sda ( ou /dev/sdb ) à partir d'un live-CD,
>>> si celui-ci contient les smartmontools.
>>> Il serait préférable de poster les résultats sur linux.debian.user.french.
>>> 
>>> Michel
>>> 
>> désolé pour l’envoi en direct chez toi mais comme du coup j’utilise un 
>> logiciel de mail dont je n’ai pas l’habitude du coup je me trompe un peu. 
>> Donc j’ai fait : smartctl -a /dev/sda
>> et j’ai eu comme réponse : 
>> probable ATA device behind a SAT layer, try an additional « -d ata » or « -d 
>> sat » argument
>> 
>> j’ai lancé la commande suivante : 
>> smartctl -d ata /dev/sda
>> et j’ai obtenu : 
>> ATA device successfully opened
>> Use « smartctl -a » or -x to print SMART (and more) information
>> 
>> Jlouis
>> 
> 
> Essaie:
> smartctl -a -d ata /dev/sda
> 
ça y est je l’ai fait (d’ailleurs j’ai aussi fait un smartctl -t long après 
avoir lu de la doc sur smartmontools mais pas moyen d’obtenir les logs de 
résultats) - pour revenir à la commande que tu indiques ci dessus le problème 
est que le résultat occupe 2 pages complètes (donc pas moyen de le recopier) : 
que faut-il regarder plus précisément pour avoir des infos sur la santé de mon 
DD ? 
JLouis


Re: kernel panic

2018-01-16 Thread Michel
Le 16/01/2018 à 20:00, Jean louis Giraud-Desrondiers a écrit :
> 
> 
>> Le 16 janv. 2018 à 16:49, Michel  a écrit :
>>
>> Le 16/01/2018 à 14:09, Jean louis Giraud-Desrondiers a écrit :
>>> par l’intermédiaire du live-CD  ?
>>>
>> Oui, lancer smartctl -a /dev/sda ( ou /dev/sdb ) à partir d'un live-CD,
>> si celui-ci contient les smartmontools.
>> Il serait préférable de poster les résultats sur linux.debian.user.french.
>>
>> Michel
>>
> désolé pour l’envoi en direct chez toi mais comme du coup j’utilise un 
> logiciel de mail dont je n’ai pas l’habitude du coup je me trompe un peu. 
> Donc j’ai fait : smartctl -a /dev/sda
> et j’ai eu comme réponse : 
> probable ATA device behind a SAT layer, try an additional « -d ata » or « -d 
> sat » argument
> 
> j’ai lancé la commande suivante : 
> smartctl -d ata /dev/sda
> et j’ai obtenu : 
> ATA device successfully opened
> Use « smartctl -a » or -x to print SMART (and more) information
> 
> Jlouis
> 

Essaie:
smartctl -a -d ata /dev/sda



Re: scriptable way to list packages that are not installed

2018-01-16 Thread davidson

On Tue, 16 Jan 2018, davidson wrote:


On Sun, 14 Jan 2018, Vasyl Vavrychuk wrote:


Hi, John,

On Sun, Jan 14, 2018 at 8:48 AM, john doe  wrote:

On 1/14/2018 7:28 AM, john doe wrote:

$ dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' awk git gawk
cmake 2>&1 | awk '!/^ii/ || !/^un/{print $6}'
git
gawk
cmake


I also tried to parse stderr, but then I realized that relying on the 
output


  dpkg-query: no packages found matching

is not correct since it might be localized and is not suitable for 
scripting.


You could just discard the stderr, and take the complement of the hits
from dpkg-query, relative to the supplied arguments:

show-installed () {
   dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' "$@" |
   awk '/^ii/ {print $2}'
}

show-absent () {
   universe=("$@")
   diff <( IFS=$'\n' ; sort <<<"${universe[*]}" ) \
<( show-installed "${universe[@]}" 2>/dev/null ) |
   sed -n 's/^< //p'
}

$ dpkg-query -l not-a-real-package exim4 mksh xorg bash xterm chromium


Er, the history expansions entered at the two prompts below don't work
as shown, with the command line at the prompt immediately above.

If you must know, (and you don't, but I'll tell you anyway!) in
actuality I used a one-word alias defined as "dpkg-query -l", which
prevented the "-l" flag from getting included in the "!*" expansions.

Is there a natural law or something, that every email message sent
must contain at least one distracting error that is totally beside the
point?

Anyways, over and out.


Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  bash   4.4-5amd64GNU Bourne Again 
SHell
un  exim4(no description 
available)
ii  mksh   54-2+b4  amd64MirBSD Korn 
Shell
ii  xorg   1:7.7+19 amd64X.Org X Window 
System
ii  xterm  327-2amd64X terminal 
emulator

dpkg-query: no packages found matching not-a-real-package
dpkg-query: no packages found matching chromium

$ show-installed !*
show-installed not-a-real-package exim4 mksh xorg bash xterm chromium
dpkg-query: no packages found matching not-a-real-package
dpkg-query: no packages found matching chromium
bash
mksh
xorg
xterm

$ show-absent !*
show-absent not-a-real-package exim4 mksh xorg bash xterm chromium
chromium
exim4
not-a-real-package

(It is above my pay grade to tell whether "sort" needs its flags
tweaked to sort identically to dpkg on arbitary package names.)





Re: l'ajuntament de bcn adopta gnu/linux

2018-01-16 Thread Robert Marsellés
Hola,

El 15/01/18 a les 22:01, Ernest Adrogué ha escrit:
> A veure com va...
> 
> https://linux.slashdot.org/story/18/01/15/0415219/city-of-barcelona-dumps-windows-for-linux-and-open-source-software
> 

Algunes experiències internacionals prèvies amb gran rebombori [1] no
suggereixen cap mena d'optimisme [2].

robert

[1]
https://usatoday30.usatoday.com/money/industries/technology/2003-07-13-microsoft-linux-munich_x.htm

[2]
https://www.theregister.co.uk/2017/11/13/munich_committee_says_all_windows_2020/



Re: scriptable way to list packages that are not installed

2018-01-16 Thread davidson

On Sun, 14 Jan 2018, Vasyl Vavrychuk wrote:


Hi, John,

On Sun, Jan 14, 2018 at 8:48 AM, john doe  wrote:

On 1/14/2018 7:28 AM, john doe wrote:

$ dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' awk git gawk
cmake 2>&1 | awk '!/^ii/ || !/^un/{print $6}'
git
gawk
cmake


I also tried to parse stderr, but then I realized that relying on the output

  dpkg-query: no packages found matching

is not correct since it might be localized and is not suitable for scripting.


You could just discard the stderr, and take the complement of the hits
from dpkg-query, relative to the supplied arguments:

show-installed () {
dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' "$@" |
awk '/^ii/ {print $2}'
}

show-absent () {
universe=("$@")
diff <( IFS=$'\n' ; sort <<<"${universe[*]}" ) \
<( show-installed "${universe[@]}" 2>/dev/null ) |
sed -n 's/^< //p'
}

$ dpkg-query -l not-a-real-package exim4 mksh xorg bash xterm chromium
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  bash   4.4-5amd64GNU Bourne Again 
SHell
un  exim4(no description 
available)
ii  mksh   54-2+b4  amd64MirBSD Korn Shell
ii  xorg   1:7.7+19 amd64X.Org X Window 
System
ii  xterm  327-2amd64X terminal emulator
dpkg-query: no packages found matching not-a-real-package
dpkg-query: no packages found matching chromium

$ show-installed !*
show-installed not-a-real-package exim4 mksh xorg bash xterm chromium
dpkg-query: no packages found matching not-a-real-package
dpkg-query: no packages found matching chromium
bash
mksh
xorg
xterm

$ show-absent !*
show-absent not-a-real-package exim4 mksh xorg bash xterm chromium
chromium
exim4
not-a-real-package

(It is above my pay grade to tell whether "sort" needs its flags
tweaked to sort identically to dpkg on arbitary package names.)



Re: kernel panic

2018-01-16 Thread Frederic MASSOT

Le 16/01/2018 à 19:49, Jean louis Giraud-Desrondiers a écrit :




Le 16 janv. 2018 à 16:49, Michel  a écrit :

Le 16/01/2018 à 14:09, Jean louis Giraud-Desrondiers a écrit :

par l’intermédiaire du live-CD  ?


Oui, lancer smartctl -a /dev/sda ( ou /dev/sdb ) à partir d'un live-CD,
si celui-ci contient les smartmontools.
Il serait préférable de poster les résultats sur linux.debian.user.french.

Michel


désolé pour l’envoi en direct chez toi mais comme du coup j’utilise un logiciel 
de mail dont je n’ai pas l’habitude du coup je me trompe un peu.
Donc j’ai fait : smartctl -a /dev/sda
et j’ai eu comme réponse :
probable ATA device behind a SAT layer, try an additional « -d ata » or « -d 
sat » argument

j’ai lancé la commande suivante :
smartctl -d ata /dev/sda
et j’ai obtenu :
ATA device successfully opened
Use « smartctl -a » or -x to print SMART (and more) information



Il faut combiner les options : smartctl -a -d ata /dev/sda


--
==
|  FRÉDÉRIC MASSOT   |
| http://www.juliana-multimedia.com  |
|   mailto:frede...@juliana-multimedia.com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===Debian=GNU/Linux===



Re: update-grub2

2018-01-16 Thread Pascal Hambourg

Le 16/01/2018 à 10:22, Stephane Ascoet a écrit :


Mais franchement vu les quantites de RAM des ordinateurs 
actuels, il faut vraiment avoir un usage de folie pour avoir besoin de 
fichier d'echange!!! Ou alors etre un vieux chieur comme moi qui utilise 
des ordinausores


Ou simplement utiliser l'hibernation (suspend to disk).



Re: Secure email server setup

2018-01-16 Thread Brian
On Mon 15 Jan 2018 at 16:22:26 -0500, Henning Follmann wrote:

> On Mon, Jan 15, 2018 at 08:42:34PM +, Brian wrote:
> > On Mon 15 Jan 2018 at 14:51:56 -0500, Henning Follmann wrote:
> > 
> > > On Mon, Jan 15, 2018 at 08:34:33PM +0100, Jonathan Sélea wrote:
> > > > 
> > > > As other people already have said - do you really need emailserver of
> > > > this kind?
> > > 
> > > This however is a valid question. A full functional mailserver requires
> > > effort and administrative knowledge to setup properly. And your question
> > > already hints that the latter is no there yet.
> > 
> > All things computer-related require effort and administrative knowledge
> > to setup properly if anything out of the ordinary is being done. "do you
> > really need emailserver of this kind" is an indication of something bad
> > in the state of email.
> > 
> > Don't do it your way or take advantage of what the net provides appears
> > to be the message. Your intentions are verging on the incompetent, or,
> > maybe, you are bucking the trend, just use Google like everyone else
> > is the message.
> > 
> 
> Well,
> honestly I always thought it is very beneficial to run your own mailserver.
> But it is also one of the most difficult tasks to master. We have come a

Agreed. Although the Debian exim documentation makes an excellent
contribution to getting users off the ground.

> long way from setting up a sendmail server with its unique M4 syntax, but
> still you have to understand more than just setting up a smtp server. You
> need to understand DNS, SSL, TLS. You have to master at least one form of
> authentication method and avoid any possible relay desasters. 
> Because all this is potentially hard to understand. This was my thought

Agreed. There are many pitfalls to avoid.

> behind my comment. I would like to encourage anybody to try and set this
> up. However this will take some time before this should be practiced on an
> openly connected server.

Having a fully operating mail server is very satisfying but your point
is well-taken. The risk of mucking up a server for an important task is
not to be taken lightly.

-- 
Brian.



Re: kernel panic

2018-01-16 Thread Jean louis Giraud-Desrondiers


> Le 16 janv. 2018 à 16:49, Michel  a écrit :
> 
> Le 16/01/2018 à 14:09, Jean louis Giraud-Desrondiers a écrit :
>> par l’intermédiaire du live-CD  ?
>> 
> Oui, lancer smartctl -a /dev/sda ( ou /dev/sdb ) à partir d'un live-CD,
> si celui-ci contient les smartmontools.
> Il serait préférable de poster les résultats sur linux.debian.user.french.
> 
> Michel
> 
désolé pour l’envoi en direct chez toi mais comme du coup j’utilise un logiciel 
de mail dont je n’ai pas l’habitude du coup je me trompe un peu. 
Donc j’ai fait : smartctl -a /dev/sda
et j’ai eu comme réponse : 
probable ATA device behind a SAT layer, try an additional « -d ata » or « -d 
sat » argument

j’ai lancé la commande suivante : 
smartctl -d ata /dev/sda
et j’ai obtenu : 
ATA device successfully opened
Use « smartctl -a » or -x to print SMART (and more) information

Jlouis



Re: Problem using "dpkg -i"

2018-01-16 Thread Brian
On Tue 16 Jan 2018 at 18:52:51 +0100, deloptes wrote:

> Curt wrote:
> 
> > Obsolated: portmanteau of deprecated and obsolete?
> > 
> > I thought it was merely not recommended for upgrades.
> > 
> 
> might be we check to see what is official statement on that

Section 4.4 of the Release Notes is probably as official as it gets:

https://www.debian.org/releases/stable/amd64/release-notes.en.txt

Should aptitude users really be bothered?

-- 
Brian.



Re: Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread deloptes
Sven Hartge wrote:

> Still, there is no guarantee it will work and for production systems I
> strongly advise you to just backup the data and reinstall from scratch
> as 64bit system.

+1

copy data (backup)
dpkg --get-selections
install 64
dpkg --set-selections
migrate configurations

90% is planning



Re: Problem using "dpkg -i"

2018-01-16 Thread deloptes
Curt wrote:

> Obsolated: portmanteau of deprecated and obsolete?
> 
> I thought it was merely not recommended for upgrades.
> 

might be we check to see what is official statement on that

> PS: Have you ever performed 'apt-get moo'? (You don't need to be root.)
> Gives you a cow.
> 'aptitude moo' (if you persist by increasing the verbosity with ever more
> v's) produces a snake eating an elephant. Maybe that's why it may have
> been obsolated (illogical, Captain).
> 

that's really funny I never had time or desire to ask apt-get to make moo :D

> PSS:
> Knock knock.
> Who's there?
> The interruptive cow.
> The interruptive c...
> Moo!

$ apt-get moo
 (__)
 (oo)
   /--\/
  / |||
 *  /\---/\
~~   ~~
..."Have you mooed today?"...

:D :D :D :D :D :D :D :D :D :D :D :D







Re: kernel panic

2018-01-16 Thread steve

Le 16-01-2018, à 16:07:43 +0100, André Debian a écrit :


On Tuesday 16 January 2018 13:13:17 Jean louis Giraud-Desrondiers wrote:

Je suis sous Debian Buster. Dernière mise à jour : hier.
Ce matin au démarrage kernel panic. J’ai essayé de démarrer en mode «
sysvinit » puis en « recovery mode » avec le noyau chargé hier
(4.14.0-2-686-pae) même résultat. J’ai ensuite essayé de démarrer sur le
noyau précédent (4.13) en mode normal, puis sysvinit puis recovery mode :
j’arrive toujours au même résultat : kernel panic.
Quelques précisions supplémentaires : il s’agit d’un portable avec un DD SSD
Sata III qui a presque 5 ans et j’ai déjà eu un kernel panic il y a 15 jours
puis ensuite tout est rentré dans l’ordre (du coup heureusement j’ai une
sauvegarde très récente).
La seule « bonne » nouvelle c’est que mon portable démarre avec un live-CD.
Du coup mes questions sont les suivantes :
est-ce que je peux espérer refaire fonctionner normalement mon portable
avec le DD actuel et si oui comment ?
s’il n’y a aucune possibilité de refaire fonctionner normalement le DD
actuel, j’envisage de racheter un DD SSD vierge pour remplacer celui que
j’ai actuellement : est-ce que cette solution vous paraît fiable ou bien
faut-il procéder autrement et comment ?


Voir, avant de racheter SSD, plutôt grub, c'est à la mode :-)
Booter sur un Live CD et réparer grub ?
(voir si le noyau dans grub.cfg correspond bien à celui de /boot).

En profiter pour installer en parallèle une autre partition,
surtout pas /dev/sda mais /ded/sdc, sinon c'est pas conforme :-)


:)


Sinon, le mieux est de passer manuellement en systèmeD sur /dev/sdd,
c'est plus « compliance ». 



Re: How to disable V6 DHCP ?

2018-01-16 Thread Pierre Couderc


On 01/15/2018 05:48 PM, Darac Marjal wrote:

On Mon, Jan 15, 2018 at 05:40:54PM +0100, Pierre Couderc wrote:

I have tried to comment INTERFACESv6 in /etc/default/isc-dhcp-server
but systemd  tries to start dhcp server ipV6, fails as it is not 
initiliased and remains in failed status, even if DSCP ipv4 is welle 
started.

But it refuses to start at next power on.


Have you tried setting INTERFACESv6=""?

Yes, thank you, it was the default after installation :
INTERFACESv4=""
INTERFACESv6=""





So how should I start DHCP v4 only... ?

Thanks in advance
PC









Re: [rkhunter]: Mises à jour de paquets

2018-01-16 Thread Sébastien Dinot
Bonjour,

Luc Novales a écrit :
> > $ sudo rkhunter --propupd
> Cette commande met à jour, sans vérification et de façon globale,
> c'est très dangereux.

Pour ma part, lorsque rkhunter me signale que des exécutables sensibles
ont été mis à jour, je vérifie dans les logs d'APT que ces modifications
correspondent bien à des mises à jour de paquets officiels (à ce sujet,
apt-file est d'une grande aide). Une fois que j'ai vérifié la légitimité
des mises à jour, je lance la commande :

for c in /usr/bin/a /usr/bin/b /sbin/c /usr/sbin/d ; do
 rkhunter --propupd $c
done

> sinon, cela obligerait à le faire à la main à chaque mise à jour,
> après vérification qu'aucun autre fichier n'a changé.

Un outil de scellement, qui signale la mise à jour des exécutables et
d'autres fichiers sensibles, ne doit justement pas actualiser sa base
automatiquement. Il incombe au contraire à l'admin. sys. de vérifier la
légitimité des mises à jour.

Alors certes, cette vérification manuelle est pénible à concilier avec
une mise à jour automatique et fréquente du système (mise à jour qui
a potentiellement lieu toutes les 4 heures sur mes serveurs) mais si on
veut le beurre et l'argent du beurre, c'est le prix à payer.

Et c'est pour cela que j'utilise rkhunter, outil qui procède à un
scellement ciblé, et non Tripwire ou AIDE, qui me semblent plus destinés
à des machines extrêmement durcies qui, une fois configurées, ne
devraient qu'être exceptionnellement mises à jour.

Sébastien

-- 
Sébastien Dinot, sebastien.di...@free.fr
http://sebastien.dinot.free.fr/
Ne goûtez pas au logiciel libre, vous ne pourriez plus vous en passer !



Re: history issue - bug?

2018-01-16 Thread Felipe Salvador
On Sun, Jan 14, 2018 at 06:24:27PM +0100, Felipe Salvador wrote:
> On Sun, Jan 14, 2018 at 02:07:01PM +0100, Hans wrote:
> > Hi folks, 
> > 
> > try this:
> > 
> > 1. login as normal user
> > 
> > 2. become root with "su -"
> > 
> > 3. delete history with "history -c"
> 
> Then run "history -w" to "write the current history to the history
> file"

Maybe you could fill a bug report in order to ask if it is possible
change the history behaviour about -c and -w switches, actually it
doesn't accept this combination, you cannot use

$history -c -w  
or
$history -cw

You have to run separately

$history -c
AND
$history -w

Though I don't think this is a bug.


Regards
-- 
Felipe Salvador



Re: To many repos??? No Public Key's!!

2018-01-16 Thread davidson

On Mon, 15 Jan 2018, Josh W. wrote:


So I posted about either having a faulty .iso and non-public keys.


In your previous thread,...

 
https://lists.debian.org/msgid-search/CAG9XMTsz4Ak+4=xvy_ogyufe61eeygf5k3jdb4rhp6nwsd6...@mail.gmail.com

... it looks like you included possibly important details in an
attached file that was not plain text. If you want people here to
examine what you post, post it in plain text format.

If cutting/pasting copious output is cumbersome or not possible, you
can write it to a file like so:

If, let's say, someone asked you to post the output of

 $ apt policy debian-archive keyring

then you could run this:

 $ apt policy debian-archive-keyring |& tee d-a-k_policy_for_jonathan

Any output would then be displayed as usual, and would also be written
to a file named "d-a-k_policy_for_jonathan", located in the current
directory. You could then include the contents of that file in your
message to debian-user (or attach it to your message).

Before running the command, do check the contents of the current
directory first, to make sure that you have chosen a destination
filename that does not already exist there (in the above example,
"d-a-k_policy_for_jonathan"). Otherwise the "tee" command will
overwrite it with the apt command's output and you will lose whatever
used to be there.

Likewise, if you cared to post any troubling messages that you see
when you run...

 $ sudo apt-get install wine

...then you could run something like the following instead, to save
the output to a file, by adding "|& tee FILENAME" to the end of your
command:

 $ sudo apt-get install wine |& tee install-wine.log

Speaking of output, I have yet to see posted in plain text:

 * precisely what commands produced error messages about public keys.

 * the output from those commands.

There is a lot of expertise on this list, but even experts need some
material to work with: materials like precisely what commands you
issued, and their output.

Messages that appear to be full of redundant pointless noise to you
might be very informative to others.


I've looked around in my /etc/apt/sources.list file. Maybe i have to
many repos or just not the right ones... I have tried netselect on a
bunch but not really getting any where. Here is the output of my
sources.list file as of now. I commented out the Oracle VM repo, the
"Also a Secondary" repo, and also the first repo under the cdrom
repo... When i tried the netselect it gave me ip address's that
didn't go anywhere. Not sure on what to do next... Can somebody
point me in the right direction.


You could begin by replying, in full, to this attempt to help you:

 https://lists.debian.org/msgid-search/1515499451.12102.2.ca...@debian.org

It is helpful, by the way, that you posted the contents of your
sources.list.

Good luck with your project.

--

P: C'est Darth Vader qui rentre dans une boulangerie. Il demande quoi
   à ton avis?
Q: ...
P: 3 pains et deux tartes tatins! Tu sais pourquoi?
Q: ...?
P: PAIN PAIN PAIN TARTE TATIN TARTE TATIN

Re: Iniciar Windows en un disco externo desde Grub | OT

2018-01-16 Thread Andrés DG



De: Andrés DG 
Enviado: lunes, 08 de enero de 2018 18:03
Para: debian-user-spanish@lists.debian.org
Asunto: Re: Iniciar Windows en un disco externo desde Grub | OT


De: Andrés DG 
Enviado: lunes, 08 de enero de 2018 10:04
Para: debian-user-spanish@lists.debian.org
Asunto: Re: Iniciar Windows en un disco externo desde Grub | OT


Buenas, como comentaron volvi a instalar el disco con Windows en mi notebook 
arrancó sin problemas. Me falta probar conectar el disco con Debian al USB y 
ver como bootea. Cuando lo hago les avsiso como hice y que pasó.


Gracias, saludos a todos.


De: franiortiz hotmail 
Enviado: domingo, 07 de enero de 2018 08:21:07 a.m.
Para: debian-user-spanish@lists.debian.org
Asunto: Re: Iniciar Windows en un disco externo desde Grub | OT

On Sat, Jan 06, 2018 at 12:14:40PM +, Andrés DG wrote:
>
> 
> De: Andrés DG 
> Enviado: viernes, 05 de enero de 2018 20:00
> Para: debian-user-spanish@lists.debian.org
> Asunto: Re: Iniciar Windows en un disco externo desde Grub | OT
>
>
> De: Ariel Martín Bellio 
> Enviado: viernes, 05 de enero de 2018 18:31
> Para: debian-user-spanish@lists.debian.org
> Asunto: Re: Iniciar Windows en un disco externo desde Grub | OT
>
>
>
> El 05/01/2018 a las 06:17 p.m., Andr�s DG escribi�:
>
>
> De: Ariel Mart�n Bellio 
> 
> Enviado: viernes, 05 de enero de 2018 13:02
> Para: 
> debian-user-spanish@lists.debian.org
> Asunto: Re: Iniciar Windows en un disco externo desde Grub
> �
>
>
> El 04/01/2018 a las 03:51 p.m., Andr�s DG escribi�:
>
> Buenas lista, mi problema surge cuando se rompe una notebook que tiene 
> instalado Windows 10, quit� el disco de la notebook rota y lo coloque en un 
> carry disk, lo que necesito es conectar este disco (que est� en el carry) a 
> mi notebook que tiene instalado Debian 9.3 y hacer que en el Grub aparezca la 
> opci�n de bootear (iniciar) desde el USB donde conecte el carry con Windows 
> 10.
>
> Notas:
>
> ��� El disco anda perfectamente porque ya lo prob� en otra m�quina.
>
> ��� El Grub est� instalado en mi notebook.
>
> ��� El disco que est� en el carry ten�a instalado solamente Windows 
> 10.
>
>
> Espero que se entienda lo que necesito hacer, ante cualquier duda... 
> consulten.
>
>
> Desde ya gracias.
>
> Disco conectado, por USB supongo y un:
>
> # update-grub
>
> Gracias a todos por las respuestas. Ejecut� el comando update-grub. En la 
> lista de opciones que muestra el men� de Grub solo aparece una partici�n 
> (/dev/sda2) donde me dice que es el Windows Boot Manager (en /dev/sda2) 
> cuando entro a esa opci�n me dice que hay alg�n problema y debo usar 
> alg�n disco de recuperaci�n de Windows (creo que con esa opci�n entra a 
> la partici�n de recuperaci�n de Windows Original de mi notebook).
> Por otro lado, Debian est� instalado con UEFI, cambiando la opci�n del 
> setup de mi notebook a CSM (o sea quito el arranque por UEFI, el Security 
> Boot est� desactivado) Bootea desde el disco externo donde tengo Windows 10 
> pero con problemas y me pide que recuperar el sistema, intento recuperar el 
> sistema y me rompe el Grub y no puedo acceder a Debian (us� un Pendrive con 
> una imagen de Debian para reinstalar Grub y as� logr� iniciar Debian; ah 
> y volv� a activar el UEFI).
> Con todos los intentos de arrancar con el disco con Windows 10 parece que se 
> "rompi�" Windows y ahora tengo que reinstalarlo para que ande.
> Voy a tratar de conseguir otro equipo para ver si puedo montar el disco 
> directamente por SATA e intentar reparar el disco.
> Nuevamente gracias por la ayuda.
>
> Pd: �C�mo doy por finalizado el hilo?
>
> Te ayudo fuera de lo que se estipula en la lista.
> Desde cualquier Windows desde NT, 2000, XP, 2003, Vista, 7, 8, 10... en el 
> proceso de booteo necesita los drivers de la maquina en la que fu� 
> instalada. Si entras a prueba de fallos en windows e instalas los drivers de 
> tu notebook con Debian. Quiz�s windows no est� m�s roo que eso. Solo 
> drivers.
>
>
> Gracias Ariel por el comentario. En un momento quieté el disco de mi notebook 
> e instale el que tiene Windows 10. Después de hacer los cambios en el Setup 
> (desabilitar UEFI) arrancó Windows e hizo, él solito, todo el protocolo de 
> cambiar los driver para que funcione en mi notebook y todo salió muy bien 
> hice lo que tenía que hacer urgente con Windows y días después quería mi 
> Debian devuelta. Así que volvía a colocar el disco con Debian en mi notebook. 
> Pero aun necesito seguir trabajando con Windows un par de meses más y 
> necesitaba saber si podía hacer que el Grub vea el Disco Externo USB y 
> permita cargar 

Re: kernel panic

2018-01-16 Thread Michel
Le 16/01/2018 à 14:09, Jean louis Giraud-Desrondiers a écrit :
> par l’intermédiaire du live-CD  ?
>
Oui, lancer smartctl -a /dev/sda ( ou /dev/sdb ) à partir d'un live-CD,
si celui-ci contient les smartmontools.
Il serait préférable de poster les résultats sur linux.debian.user.french.

Michel



Re: update-grub2 : résolu

2018-01-16 Thread Daniel Caillibaud
Le 16/01/18 à 13:32, andre_deb...@numericable.fr a écrit :
AF> "Pire" encore, dans la "non-conformité", j'ai même re-rédigé
AF> le fichier "/boot/grub/grub.cfg" à la mano.

C'est effectivement déconseillé car c'est un fichier généré
automatiquement, ce sont les sources de cette génération qu'il vaut mieux
modifier (dans /etc/grub.d ou /etc/default/grub).

Mais si tu tiens à ta façon de faire, gardes-en une copie car il sera
écrasé à la prochaine màj de grub ou du noyau, ou à la prochaine commande
grub.

-- 
Daniel

Le carré est un triangle qui a réussi, ou une circonférence qui a mal
tourné… 
Pierre Dac



Re: Nginx reverse proxy ? Bon choix ?

2018-01-16 Thread Daniel Caillibaud
Le 13/01/18 à 13:31, "Ph. Gras"  a écrit :
PG> L'objectif du reverse proxy est de faire servir les fichiers statiques
PG> (js, jpeg et autres) par l'un des serveurs, et les fichiers dynamiques
PG> (php) par l'autre.

Pas forcément, y'a plein d'autres usages pertinents.

Ça peut être par ex pour avoir du https (éventuellement en http/2) sur le
frontal (reverse proxy), puis tout le reste en http 1.1 sur le lan.

Ça peut aussi être pour sécuriser un peu mieux une appli un peu trop
laxiste, dont on préfère ne pas modifier les réglages (sinon autant le
faire sur le serveur de l'appli directement), par ex interdire l'accès à
une partie admin depuis le net (ça ne pourra se faire que depuis le lan).

J'utilise depuis longtemps l'archi suivante
- frontal nginx en https (http/2)
=> varnish sur le lan pour mettre en cache le statique
=> backends divers ayant leur serveur http

Ça permet de gérer les certificats sur moins de machines, et changer de
backend(s) simplement (ou en démarre un nouveau, lui envoie des
requêtes et vérifie que tout va bien, en cas de pb revenir à l'ancien qu'on
a pas encore coupé est instantané).

Mais c'est pas forcément pertinent dans tous les cas, pour qq applis autant
mettre le serveur web des applis directement sur le net (éventuellement
avec du nat) plutôt que de maintenir 2 serveurs http.

-- 
Daniel

Il est difficile d'attraper un chat noir dans une pièce sombre, 
surtout lorsqu'il n'y est pas.
Proverbe Chinois



Re: kernel panic

2018-01-16 Thread andre_debian
On Tuesday 16 January 2018 13:13:17 Jean louis Giraud-Desrondiers wrote:
> Je suis sous Debian Buster. Dernière mise à jour : hier. 
> Ce matin au démarrage kernel panic. J’ai essayé de démarrer en mode «
> sysvinit » puis en « recovery mode » avec le noyau chargé hier
> (4.14.0-2-686-pae) même résultat. J’ai ensuite essayé de démarrer sur le
> noyau précédent (4.13) en mode normal, puis sysvinit puis recovery mode :
> j’arrive toujours au même résultat : kernel panic. 
> Quelques précisions supplémentaires : il s’agit d’un portable avec un DD SSD
> Sata III qui a presque 5 ans et j’ai déjà eu un kernel panic il y a 15 jours
> puis ensuite tout est rentré dans l’ordre (du coup heureusement j’ai une
> sauvegarde très récente).
> La seule « bonne » nouvelle c’est que mon portable démarre avec un live-CD. 
> Du coup mes questions sont les suivantes : 
> est-ce que je peux espérer refaire fonctionner normalement mon portable
> avec le DD actuel et si oui comment ?  
> s’il n’y a aucune possibilité de refaire fonctionner normalement le DD
> actuel, j’envisage de racheter un DD SSD vierge pour remplacer celui que
> j’ai actuellement : est-ce que cette solution vous paraît fiable ou bien
> faut-il procéder autrement et comment ? 

Voir, avant de racheter SSD, plutôt grub, c'est à la mode :-)
Booter sur un Live CD et réparer grub ?
(voir si le noyau dans grub.cfg correspond bien à celui de /boot).

En profiter pour installer en parallèle une autre partition,
surtout pas /dev/sda mais /ded/sdc, sinon c'est pas conforme :-)
y installer un Linux released, et voir si le SSD boote bien.

Ce serait dommage d'acheter un SSD pour rien.

André




Re: Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread Sven Hartge
Pieter Van Isacker  wrote:

> While testing change a Debian Wheezy from 32bit to 64bit I ran into an
> issue. Following the guide on https://wiki.debian.org/CrossGrading
>  Once we've change to 64bit we
> plan to update to Debian 8 and then possibly to Debian 9

You are better off first upgrading to Debian 9 and *then* trying to
crossgrade. The packages in Debian 9 are more prepared for multi-arch
than the one in Debian 7.

Still, there is no guarantee it will work and for production systems I
strongly advise you to just backup the data and reinstall from scratch
as 64bit system.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



SFTP Enjaulado

2018-01-16 Thread Rodrigo Cunha
Olá srs.
Estou com problemas para enjaular um usuário do sftp.
Segui as orientações, dos procedimentos, contidos no site:
https://wiki.archlinux.org/index.php/SFTP_chroot
O problema é que quando eu coloco o usuario no grupo sftponly ele não entra
no sistema.
Pela analise do tutorial, percebo que o sftponly seria o grupo de
usuários,que,
receberiam tratamento diferenciado na autenticação do sftp.
Se tiverem um tutorial diferente, ficarei grato.


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



Livre
de vírus. www.avast.com
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Re: Bug Report

2018-01-16 Thread davidson

On Tue, 16 Jan 2018, songbird wrote:


David Wright wrote:
...


Un-trimming some evidence:


On Mon 15 Jan 2018 at 23:27:30 (-0500), James Vibber wrote:

[...]

Unpacking libc6:armhf (2.26-2) over (2.19-18+deb8u10) ...


Would it be better to upgrade jessie???stretch before stretch???buster?


 if that is what OP is doing,


Judging by the libc6 versions, that is exactly what it looks like.


then yes, skipping major versions has never been officially
supported.

 at that stage it is often much more time efficient
to re install from recent images.


 songbird






Re: Écran noir après le démarrage.

2018-01-16 Thread Charles Plessy
> Le 13/01/2018 à 14:29, Charles Plessy a écrit :
> > 
> > La perte du signal à l'écran semble arriver quand getty efface l'écran
> > avant d'afficher l'invite de connexion.

Le Sat, Jan 13, 2018 at 03:28:28PM +0100, Pascal Hambourg a écrit :
> 
> Que je sache, effacer l'écran ne supprime pas le signal vidéo.
> Pas d'autre idée, mais tu peux regarder dans les logs système et noyau du
> démarrage précédent au cas où quelque chose serait visible.
> 
> Pour exécuter lspci ou autre, tu peux démarrer avec l'installateur Debian en
> mode rescue, ou bien passer "init=/bin/bash" à la ligne de commande

Bien vu, avec init=/bin/bash, j'arrive à court-circuiter le démarrage et
obtenir un shell, qui me permet de regarder les logs du précident
démarrage.

L'un des derniers services démarrés par systemd est "Update UTMP about
System Runlevel Changes".  Je n'ai pas l'impression qu'il y a un lien.

J'ai aussi essayé de démarrer systemd en mode pas à pas avec l'option
confirm_spawn=TRUE.  Malheureusement, la ligne de l'écran me donnant le
nom du prochain service est souvent efffacée par des messages commencant
par « A start job is running for ».  De plus, j'ai l'impression que les
services finissent quand même par se lancer.  Au bout d'un certain
temps, les messages reprennent et l'écran finit par s'éteindre (ce qui
n'est pas le cas si je reste sous bash).  Je n'ai pas le temps de lire
les derniers messages.

C'est quand même un gros progrès.  Avec bash, j'ai espoir de configurer
le démarrage du réseau, et me connecter en SSH, un jour, peut-être...
Mais si seulement j'arrivais à trouver et bloquer le processus qui
modifie le signal envoyé à cet écran...

J'ai aussi mis « blacklist drm » dans /etc/modprobe.d/blacklist, sans
effet...

Charles

-- 
Charles Plessy
Tsurumi, Kanagawa, Japon



Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread Pieter Van Isacker
Hi all,

While testing change a Debian Wheezy from 32bit to 64bit I ran into an issue. 
Following the guide on https://wiki.debian.org/CrossGrading 

Once we've change to 64bit we plan to update to Debian 8 and then possibly to 
Debian 9

Changing the kernel to 64bit works fine, installing a 64bit version of dpkg, 
tar & apt also works fine.

But then when having to change the installed packages from 32bit to 64bit I ran 
into trouble.
When trying to run install vim for example:

# apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 acpi-support-base : Depends: acpid (>= 1.0.4) but it is not going to be 
installed
 Recommends: consolekit but it is not going to be installed
 acpid:i386 : Depends: module-init-tools:i386 (> 3.1-rel-2) but it is not 
installable
  Recommends: acpi-support-base:i386 (>= 0.114-1) but it is not 
installable
 adduser : Depends: perl-base (>= 5.6.0) but it is not going to be installed
 ca-certificates : Depends: openssl (>= 1.0.0) but it is not going to be 
installed
 ca-certificates-java : Depends: openjdk-6-jre-headless (>= 6b16-1.6.1-2) but 
it is not going to be installed or
 java6-runtime-headless
Depends: libnss3 (>= 3.12.10-2~) but it is not going to 
be installed
 console-setup-linux : Depends: kbd (>= 0.99-12) or
console-tools (>= 1:0.2.3-16) but it is not 
going to be installed
 debconf : PreDepends: perl-base (>= 5.6.1-4) but it is not going to be 
installed
   Recommends: apt-utils (>= 0.5.1) but it is not going to be installed
 debconf-i18n : Depends: liblocale-gettext-perl but it is not going to be 
installed
Depends: libtext-iconv-perl but it is not going to be installed
Depends: libtext-charwidth-perl but it is not going to be 
installed
 facter : Depends: virt-what but it is not going to be installed
  Recommends: dmidecode but it is not going to be installed
 fai-client : Depends: perl but it is not going to be installed
  Depends: libapt-pkg-perl but it is not going to be installed
  Recommends: libgraph-perl but it is not going to be installed
 grub-pc:i386 : Depends: ucf:i386 but it is not installable
 initramfs-tools : Depends: klibc-utils (>= 2.0-1~) but it is not going to be 
installed
   Depends: cpio but it is not going to be installed
   Recommends: busybox (>= 1:1.01-3) but it is not going to be 
installed or
   busybox-initramfs but it is not installable or
   busybox-static but it is not going to be 
installed
 initscripts:i386 : Depends: sysv-rc:i386 but it is not installable or
 file-rc:i386 but it is not installable
 keyboard-configuration : Depends: liblocale-gettext-perl but it is not going 
to be installed
  Depends: initscripts but it is not going to be 
installed
 libaugeas-ruby : Depends: libaugeas-ruby1.9.1 but it is not going to be 
installed
 libaugeas0:i386 : Depends: augeas-lenses:i386 but it is not installable
 libjson-ruby : Depends: ruby-json but it is not going to be installed
 libpam-runtime : Depends: libpam-modules (>= 1.0.1-6) but it is not going to 
be installed
 libswitch-perl : Depends: perl but it is not going to be installed
 libtext-wrapi18n-perl : Depends: libtext-charwidth-perl but it is not going to 
be installed
 linux-base : Depends: libuuid-perl but it is not going to be installed
 module-init-tools : Depends: libkmod2 but it is not going to be installed
 nfs-common:i386 : Depends: ucf:i386 but it is not installable
   Recommends: python:i386 but it is not installable
 ntp:i386 : Depends: netbase:i386 but it is not installable
 perl:i386 : Depends: perl-modules:i386 (>= 5.14.2-21+deb7u5) but it is not 
installable
 Recommends: netbase:i386 but it is not installable
 perl-modules : Depends: perl (>= 5.14.2-1) but it is not going to be installed
 puppet-common : Depends: libopenssl-ruby or
  libopenssl-ruby1.9.1 or
  libruby (>= 1:1.9.3.4) but it is not going to be 
installed
 Depends: ruby-shadow but it is not going to be installed or
  libshadow-ruby1.8
 python : Depends: python2.7 (>= 2.7.3-1~) but it is not going to be installed
 python-minimal : Depends: python2.7-minimal (>= 2.7.3-1~) but it is not going 
to be installed
 python2.7:i386 : Depends: mime-support:i386 but it is not installable
 ruby : Depends: ruby1.9.1 (>= 1.9.3.194-1) but it is not going to be installed
 sysv-rc : Depends: sysvinit-utils (>= 2.86.ds1-62) but it is not going to be 
installed
   

Re: Bug Report

2018-01-16 Thread songbird
David Wright wrote:
...
> Would it be better to upgrade jessie→stretch before stretch→buster?

  if that is what OP is doing, then yes, skipping
major versions has never been officially supported.

  at that stage it is often much more time efficient 
to re install from recent images.


  songbird



Re: Fwd: Bug Report

2018-01-16 Thread Greg Wooledge
> >   WARNING: The following essential packages will be removed.
> >   This should NOT be done unless you know exactly what you are doing!
> >     apt libapt-pkg4.12 (due to apt) libc6 (due to apt) libgcc1 (due to apt) 
> > libstdc++6 (due to apt) gnupg (due to apt)
[...]

On Tue, Jan 16, 2018 at 01:31:39PM +, Darac Marjal wrote:
> Thirdly, (and I GUESS that this is why you're trying to report a bug), do
> YOU see a differenve between:
> 
>   Yes, do as I say!
> 
> and
> 
>   yes,do as I say!
> 
> ?

It's good that he failed to type it correctly.  His system would NOT
have survived had he confirmed this removal.



Re: Fwd: Bug Report

2018-01-16 Thread Darac Marjal

On Mon, Jan 15, 2018 at 11:31:02PM -0500, James Vibber wrote:

  -- Forwarded message --
  From: "James Vibber" <[1]jvibbe...@gmail.com>
  Date: Jan 15, 2018 10:54 PM
  Subject: Bug Report
  To: <[2]deb...@gmail.com>
  Cc:

  WARNING: The following essential packages will be removed.
  This should NOT be done unless you know exactly what you are doing!
    apt libapt-pkg4.12 (due to apt) libc6 (due to apt) libgcc1 (due to apt) 
libstdc++6 (due to apt) gnupg (due to apt)
  base-passwd libdebconfclient0 (due to base-passwd) bash debianutils (due to 
bash) dash (due to
    bash) libncurses5 (due to bash) libtinfo5 (due to bash) bsdutils 
libsystemd0 (due to bsdutils) coreutils libacl1 (due to
  coreutils) libattr1 (due to coreutils) libselinux1 (due to coreutils) dpkg 
(due to dash)
    diffutils libbz2-1.0 (due to dpkg) liblzma5 (due to dpkg) zlib1g (due to 
dpkg) tar (due to dpkg) e2fsprogs e2fslibs (due
  to e2fsprogs) libblkid1 (due to e2fsprogs) libcomerr2 (due to e2fsprogs) 
libss2 (due to
    e2fsprogs) libuuid1 (due to e2fsprogs) util-linux (due to e2fsprogs) 
findutils grep libpcre3 (due to grep) gzip hostname
  init systemd-sysv (due to init) init-system-helpers perl-base (due to
    init-system-helpers) libc-bin login libaudit1 (due to login) libpam0g (due 
to login) libpam-runtime (due to login)
  libpam-modules (due to login) mount libmount1 (due to mount) libsmartcols1 
(due to mount)
    ncurses-bin sed sysvinit-utils startpar (due to sysvinit-utils) initscripts 
(due to util-linux) tzdata (due to util-linux)
  libslang2 (due to util-linux)
  43 upgraded, 33 newly installed, 1458 to remove and 172 not upgraded.
  4 not fully installed or removed.
  Need to get 29.6 MB/41.1 MB of archives.
  After this operation, 2407 MB disk space will be freed.
  You are about to do something potentially harmful.
  To continue type in the phrase 'Yes, do as I say!'
  ?] yes,do as I say!
  Abort.
  root@loc


Firstly, it's normal to accompany a bug report with some narrative. An 
isolated error message is not always useful to a developer. Adding "I 
was trying to install firefox and apt wanted to delete every other 
package' gives the developer some context. The above is akin to taking 
your car into a garage and pointed at the "Check Engine" light


Secondly, I presume you're sending the message to debian-user@l.d.o 
because you don't know which package to report the bug against. In my 
opinion, that depends on what, exactly, you're complaining about. Are 
you complaining that making some change to packages caused apt to try to 
remove essential packages (but if it was that, you'd have told us what 
changes you were trying to make, any why you were willing to remove 
them)?


Thirdly, (and I GUESS that this is why you're trying to report a bug), 
do YOU see a differenve between:


Yes, do as I say!

and

yes,do as I say!

?



References

  Visible links
  1. mailto:jvibbe...@gmail.com
  2. mailto:deb...@gmail.com


--
For more information, please reread.


signature.asc
Description: PGP signature


Re: Problem using "dpkg -i"

2018-01-16 Thread Jimmy Johnson

On 01/15/2018 11:17 PM, deloptes wrote:

Jimmy Johnson wrote:


Instead of using apt, next time use aptitude -f install, reason is if
aptitude can not fix the problem it will give you a clue as what you can
do.  Also if you apt install and run 'upgrade-system' upgrade-system
will tell what to do, and clean your system too.


I thought aptitude was obsolated - never used it, but I think there was a
thread on the list about


In my post I should have said: Instead of using apt-get, next time use 
apt -f install or aptitude -f install because the newer apt is also 
verbose like aptitude is. Aptitude is old but still verbose. Personally 
I use all of Debian's tools and when there is a problem, the more 
verbose the better.


Interesting, both aptitude and gdebi got upgrades in the wee hours of my 
morning.  Thank you Debian. :)

--
Jimmy Johnson

Debian Sid/Testing - KDE Plasma 5.10.5 - AMD A8-7600 - EXT4 at sda8
Registered Linux User #380263



Re: kernel panic

2018-01-16 Thread Michel
Le 16/01/2018 à 13:20, Jean louis Giraud-Desrondiers a écrit :
> Bonjour la liste, 
> Je suis sous Debian Buster. Dernière mise à jour : hier. 
> Ce matin au démarrage kernel panic. J’ai essayé de démarrer en mode « 
> sysvinit » puis en « recovery mode » avec le noyau chargé hier 
> (4.14.0-2-686-pae) même résultat. J’ai ensuite essayé de démarrer sur le 
> noyau précédent (4.13) en mode normal, puis sysvinit puis recovery mode : 
> j’arrive toujours au même résultat : kernel panic. 
> Quelques précisions supplémentaires : il s’agit d’un portable avec un DD SSD 
> Sata III qui a presque 5 ans et j’ai déjà eu un kernel panic il y a 15 jours 
> puis ensuite tout est rentré dans l’ordre (du coup heureusement j’ai une 
> sauvegarde très récente). 
> La seule « bonne » nouvelle c’est que mon portable démarre avec un live-CD. 
> Du coup mes questions sont les suivantes : 
> - est-ce que je peux espérer refaire fonctionner normalement mon portable 
> avec le DD actuel et si oui comment ? 
> et s’il n’y a aucune possibilité de refaire fonctionner normalement le DD 
> actuel, j’envisage de racheter un DD SSD vierge pour remplacer celui que j’ai 
> actuellement : est-ce que cette solution vous paraît fiable ou bien faut-il 
> procéder autrement et comment ? 
> Merci d’avance pour vos réponses. 
> Cordialement
> JL Giraud-Desrondiers
> 

Peux-tu lancer un smartctl -a sur ton SSD et donner la sortie?



Re: hostname issue

2018-01-16 Thread john doe

On 1/15/2018 4:10 PM, Adam Weremczuk wrote:

Hi all,

Today when I logged into my Debian 9.2 VM I noticed that the hostname 
has changed to the first block of the IP address I was accessing this VM 
from last:


root@83:~#



The hostname is displayed by the PS* variables.

https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html


"hostname" command was returning the full IP address 83.xxx.xxx.xxx

Cat /etc/hostname was still showing the correct name.

After apt-get update, ap-get upgrade (to 9.3) and reboot things went 
back to normal.


Is it a known bug?

Has anybody seen anything like this before?



For some reasons your hostname was change (dhcp).
This isn't a bug! :)

--
John Doe



Re: update-grub2 : résolu

2018-01-16 Thread andre_debian
On Tuesday 16 January 2018 10:22:45 Stephane Ascoet wrote:
> Quant aux problemes d'Andre je n'ai meme pas envie 
> d'y reflechir pour au moins ces raisons:
> -il n'a pas pris la peine de nous faciliter la tache dans sa question 
> sur le renommage de sda en sdb;
> -Il nous repose une question du meme style qui est peut-etre sur la meme 
> machine, sur laquelle il a fait des choses non conformes a un usage 
> normal en depit de nos conseils et revient la tout innocent comme si de 
> rien n'etait et comme si on ne le connaissait pas;
> -Si c'est une autre machine, tiens comme c'est bizarre, le meme genres 
> de problemes... qui viennent peut-etre plutot de ce qui se trouve entre 
> la chaise et le clavier...
> Cordialement, Stephane Ascoet

Humm, ici le "cordialement" est de trop.

Peu importe que ce soit sur un ordinateur perso 
ou un serveur à device (/dev/disque dur) renommé.

Oui, c'est bien mon serveur, le problème ne vient pas du tout
de "/dev/sdc ou /dev/sda", avant de poster j'ai évidemment testé,
avec les 2 devices en sda et sdc, même réponse de Grub.

> Quant aux problemes d'André je n'ai meme pas envie 
> d'y reflechir pour au moins ces raisons...

Je ne t'ai rien demandé personnellement,
je n'ai vraiment pas besoin de tes réflexions,
surtout pour ce type de réponse.
Le problème est résolu à 100%,
Grub refonctionne avec mon disque en /dev/sda.

"Pire" encore, dans la "non-conformité", j'ai même re-rédigé
le fichier "/boot/grub/grub.cfg" à la mano.

Les membres de l'association retrouvent un serveur bien fonctionnel.

Si dans ma vie, j'avais toujours adopté la pensée unique de 
la conformité, je serais resté un chômeur invétéré au RSA.

Dans le domaine de la voile, la conformité dit qu'en cas de tempête,
il faut baisser le foc et jouer avec la grand voile.
J'ai fait exactement le contraire un jour de grand vent,
levé le foc, baissé la grand voile, et j'ai sauvé ma vie.

L'essentiel est que l'action réussisse.

André



kernel panic

2018-01-16 Thread Jean louis Giraud-Desrondiers
Bonjour la liste, 
Je suis sous Debian Buster. Dernière mise à jour : hier. 
Ce matin au démarrage kernel panic. J’ai essayé de démarrer en mode « sysvinit 
» puis en « recovery mode » avec le noyau chargé hier (4.14.0-2-686-pae) même 
résultat. J’ai ensuite essayé de démarrer sur le noyau précédent (4.13) en mode 
normal, puis sysvinit puis recovery mode : j’arrive toujours au même résultat : 
kernel panic. 
Quelques précisions supplémentaires : il s’agit d’un portable avec un DD SSD 
Sata III qui a presque 5 ans et j’ai déjà eu un kernel panic il y a 15 jours 
puis ensuite tout est rentré dans l’ordre (du coup heureusement j’ai une 
sauvegarde très récente). 
La seule « bonne » nouvelle c’est que mon portable démarre avec un live-CD. 
Du coup mes questions sont les suivantes : 
- est-ce que je peux espérer refaire fonctionner normalement mon portable avec 
le DD actuel et si oui comment ? 
et s’il n’y a aucune possibilité de refaire fonctionner normalement le DD 
actuel, j’envisage de racheter un DD SSD vierge pour remplacer celui que j’ai 
actuellement : est-ce que cette solution vous paraît fiable ou bien faut-il 
procéder autrement et comment ? 
Merci d’avance pour vos réponses. 
Cordialement
JL Giraud-Desrondiers


Re: [HS] PC portable qui ne démarre plus

2018-01-16 Thread Haricophile
Le Mon, 15 Jan 2018 20:28:31 +0100,
Jose CHARTERS  a écrit :

> 
> Peut être ai-je oublié une manip, ou fait un geste malheureux, mais
> je n'ai pas l'impression. J'ai déjà mis de la pâte thermique sur des
> PC de bureau et là pas de surprise.

Très franchement ? Déjà qu'on n'était pas là pour surveiller la
manœuvre, mais je vois mal ce qu'on va pouvoir faire en hardware par
IRC.

S'il n'y a pas de beep, ça peut être n'importe quoi, tu as pu détruire
le PC ou simplement oublié de rebrancher un truc ou fait un
court-circuit ou qu'un câble s'est coupé par exemple sur le connecteur
d'alim ou que tu a flingué un composant à l'électrostatique ou que tu a
touché avec tes doigts gras et acide un contact délicat ou que tu
as coupé une piste de la carte mère en démontant ou que

Sinon l'hypothèse spéculative est infirmée, on ne peut pas mettre Paris
en bouteille. C'est déjà ça d'éliminé.



Re: [rkhunter]: Mises à jour de paquets

2018-01-16 Thread Luc Novales

Bonjour,


Le 16/01/2018 à 10:15, Dominique Dumont a écrit :

On Tuesday, 16 January 2018 09:31:43 CET Luc Novales wrote:

Cela fait plusieurs fois que je me retrouve confronté au problème lié à
des alertes de rkhunter, suite à des mises à jours de paquets, dont il
n'a pas eu l'information sur les fichiers remplacés.

Dpkg ne communique pas avec rkhunter. Après une mise à jour des paquets, il
faut mettre à jour la base de données de rkhunter avec cette commande:

$ sudo rkhunter --propupd
Cette commande met à jour, sans vérification et de façon globale, c'est 
très dangereux.
Je suis étonné car la mise à jour normale de paquets ne pose pas de 
problèmes, il doit bien avoir des scripts post-install qui font le 
travail finement, juste pour les fichiers mis à jour par le nouveau 
paquet, sinon, cela obligerait à le faire à la main à chaque mise à 
jour, après vérification qu'aucun autre fichier n'a changé.
Le responsable du paquet est le plus à même de dire à rkhunter ce qui a 
changé ;-)


C'est bien cette opération qui me semble oubliée dans des mises à jour 
non standards (backports, sécurité...)


Bonne journée,
Luc.



Re: l'ajuntament de bcn adopta gnu/linux

2018-01-16 Thread Joan
Que aquest tema els amoïna molt poc ho demostra el fet que en 3 anys
d'alcaldia no han fet res gaire remarcable en aquesta línia... No sé si
a Madrid, que tenien un regidor molt potent en aquest àmbit, han
avançat més. Ho sabeu?

Joan Cervan

El Tue, 16 Jan 2018 08:39:51 +0100
Narcis Garcia  va escriure:

> De la font:
> https://elpais.com/ccaa/2017/12/01/catalunya/1512145439_132556.html
> 
> La premsa de vegades no s'assessora sobre els detalls (es nota amb
> l'esment de OpenOffice), i d'altres vegades el llenguatge t'empeny a
> creure el què no es diu, ja que s'esmenten 1.000 ordinadors que
> funcionen amb Ubuntu, els quals ja eren així abans de què ningú obrís
> la boca sobre la nova proposta.
> Com sol passar, hi ha un ball de xifres, percentatges i adjectius
> difícils de copmprovar i avaluar pel lector, la qual cosa dificulta la
> formació d'opinió pròpia.
> 
> La migració a GNU/Linux l'han deixat vinculada a tornar a guanyar les
> eleccions.
> I el protagonista de la notícia, Open-Xchange, és adquirit sota una
> llicència privativa.
> 
> 
> 
> __
> 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 15/01/18 a les 22:01, Ernest Adrogué ha escrit:
> > A veure com va...
> > 
> > https://linux.slashdot.org/story/18/01/15/0415219/city-of-barcelona-dumps-windows-for-linux-and-open-source-software
> >   
> 



-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi



Re: Problem using "dpkg -i"

2018-01-16 Thread Curt
On 2018-01-16, Michael Lange  wrote:
>
> To the OP: 
> a quick web search showed another alternative that (iirc) has not been
> mentioned before, see http://bluegriffon.org/ . I don't know anything
> about this program, except that it appears to be commercial but open
> source and they have a deb package available (which may or may not work
> with debian) and it apparently can be used for free with a somewhat
> reduced feature set. 

 Buy User's Manual
 €7.50 (+VAT inside EU).

Software whose user manual is for sale; sign me up, please, that's for
me!

> Regards
>
> Michael
>
>
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
>
> Madness has no purpose.  Or reason.  But it may have a goal.
>   -- Spock, "The Alternative Factor", stardate 3088.7
>
>


-- 
Though I speak with the tongues of men and of angels, and have not charity, I
am become as sounding brass, or a tinkling cymbal.  And though I have the gift
of prophecy, and understand all mysteries, and all knowledge; and though I have
all faith, so that I could remove mountains, and have not charity, I am nothing.



Re: Problem using "dpkg -i"

2018-01-16 Thread Michael Lange
On Tue, 16 Jan 2018 08:16:04 +0100
deloptes  wrote:

> Michael Lange wrote:
> 
> > Oddly, so far as I have followed this thread, no one seems to
> > consider the possibility to try and compile the application from the
> > sources. I wonder if the debian developers should quit shipping the
> > build system when nobody wants to use it anyway ;-)
> 
> well this was going to be my next suggestion as people are not familiar
> with building code, however it is also possible that build fails
> because code must be adapted to newer version of libraries.
> 

Sure, that's true, but if one wants to use such a (somewhat dated) app it
might be worth a try, and at least it would be a quick one.
But iirc the OP was talking about required javascript support which would
rule out amaya anyway.

To the OP: 
a quick web search showed another alternative that (iirc) has not been
mentioned before, see http://bluegriffon.org/ . I don't know anything
about this program, except that it appears to be commercial but open
source and they have a deb package available (which may or may not work
with debian) and it apparently can be used for free with a somewhat
reduced feature set. 

Regards

Michael


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

Madness has no purpose.  Or reason.  But it may have a goal.
-- Spock, "The Alternative Factor", stardate 3088.7



Re: Secure email server setup

2018-01-16 Thread Jonathan Sélea


On 01/15/18 22:30, Henning Follmann wrote:
> On Mon, Jan 15, 2018 at 08:56:20PM +0100, Jonathan Sélea wrote:
 I would not recommend having a emailserver on the same server as a
 website, because if the website is compromised the "hacker" can just use
 the mail() function
 to send emails in your name.
>>> so can she/he if the mailserver is on a different host. That doesn't make
>>> any difference.
>> It would, because other mailservers would deny emails from that one
>> because it would fail authentication (SPF, DKIM, DMARC for example).
>>
> Your webserver having a method to use a smarthost, using an external
> mailserver can be abused when compromised. So no win here. Still exploited
> once the attacker is on the system. It will just use the same smarthost
> with the webservers credentials and the mailserver will happily relay the
> spam. 
>
> -H
If configured properly - the hacker can't change how the server do the
transport, except if the hacker
has gained the privileges to do so. But that is not that common if a
LAMP server for example if properly
configured.
But if a hacker has found an exploit where he can change the transport
settings for the MTA.

I am talking about the default mail() function that is used by many
websites. But you are talking about a server
where a hacker has gained root privileges - in that case there is not
much to do.



smime.p7s
Description: S/MIME Cryptographic Signature


Re: update-grub2

2018-01-16 Thread steve

Le 16-01-2018, à 10:22:45 +0100, Stephane Ascoet a écrit :

[snip]

-il n'a pas pris la peine de nous faciliter la tache dans sa question 
sur le renommage de sda en sdb;
-Il nous repose une question du meme style qui est peut-etre sur la 
meme machine, sur laquelle il a fait des choses non conformes a un 
usage normal en depit de nos conseils et revient la tout innocent 
comme si de rien n'etait et comme si on ne le connaissait pas;


Mais si on le connaît notre André :)

-Si c'est une autre machine, tiens comme c'est bizarre, le meme genres 
de problemes... qui viennent peut-etre plutot de ce qui se trouve 
entre la chaise et le clavier...


Alors même machine ou autre machine ?

Qui ouvre les paris ?


En passant une newz qui lui fera plaisir:

http://www.lemagit.fr/actualites/450433173/Barcelone-veut-son-poste-de-travail-Open-Source




comment adapter la syntaxe pour PgSQL

2018-01-16 Thread Bernard Schoenacker
bonjour,
 
 j'ai un exemple pour mariadb et je souhaite
 le faire passer à postgresql ...
 
 qui pourrais m'aider ?
 
 slt
 bernard
..

// créer une base portant son nom et donner à cet utilisateurs tous les 
privilèges, ou :
..
mysql -u root -p
mysql> CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'mot_de_passe';
mysql> GRANT USAGE ON * . * TO 'postfix'@'localhost' IDENTIFIED BY 
'mot_de_passe';
mysql> CREATE DATABASE `postfix` ;
mysql> GRANT ALL PRIVILEGES ON `postfix` . * TO 'postfix'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> quit

//
CREATE USER 'postfix'@'localhost' IDENTIFIED BY  '***';

GRANT USAGE ON * . * TO  'postfix'@'localhost' IDENTIFIED BY  '***' WITH 
MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 
MAX_USER_CONNECTIONS 0 ;

GRANT ALL PRIVILEGES ON  `postfix` . * TO  'postfix'@'localhost';
..
// importer les tables postfix ou :
USE postfix;
CREATE TABLE `domaines` (
  `domaine` varchar(255) NOT NULL default '',
  `etat` tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (`domaine`)
) ENGINE=InnoDB;
CREATE TABLE `comptes` (
  `email` varchar(255) NOT NULL default '',
  `password` varchar(255) NOT NULL default '',
  `quota` int(10) NOT NULL default '0',
  `etat` tinyint(1) NOT NULL default '1',
  `imap` tinyint(1) NOT NULL default '1',
  `pop3` tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (`email`)
) ENGINE=InnoDB;
CREATE TABLE `alias` (
  `source` varchar(255) NOT NULL default '',
  `destination` text NOT NULL,
  `etat` tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (`source`)
) ENGINE=InnoDB;
..
INSERT INTO `postfix`.`comptes` ( `email` , `password` , `quota` , `etat` , 
`imap` , `pop3` ) VALUES ('happy-...@happy-tux.org', ENCRYPT( 
'mon_beau-mot-de-passe' ) , '0', '1', '1', '1');
..
service mysql reload

..
INSERT INTO `postfix`.`alias` ( `source`, `destination`  , `etat` ) VALUES 
('bernard.schoenac...@happy-tux.org', 'happy-...@happy-tux.org', '1');
..


Re: Problem using "dpkg -i"

2018-01-16 Thread Curt
On 2018-01-16, deloptes  wrote:
> Jimmy Johnson wrote:
>
>> Instead of using apt, next time use aptitude -f install, reason is if
>> aptitude can not fix the problem it will give you a clue as what you can
>> do.  Also if you apt install and run 'upgrade-system' upgrade-system
>> will tell what to do, and clean your system too.
>
> I thought aptitude was obsolated - never used it, but I think there was a
> thread on the list about
>

Obsolated: portmanteau of deprecated and obsolete?

I thought it was merely not recommended for upgrades.

PS: Have you ever performed 'apt-get moo'? (You don't need to be root.)
Gives you a cow.
'aptitude moo' (if you persist by increasing the verbosity with ever more
v's) produces a snake eating an elephant. Maybe that's why it may have been 
obsolated (illogical, Captain).

PSS:
Knock knock.
Who's there?
The interruptive cow.
The interruptive c...
Moo!

-- 
Though I speak with the tongues of men and of angels, and have not charity, I
am become as sounding brass, or a tinkling cymbal.  And though I have the gift
of prophecy, and understand all mysteries, and all knowledge; and though I have
all faith, so that I could remove mountains, and have not charity, I am nothing.



Re: update-grub2

2018-01-16 Thread Stephane Ascoet

Le 15/01/2018 à 20:25, steve a écrit :


Sous-entendu que la tête passe plus de temps au centre que vers
l'extérieur. Mais est-ce bien le cas ? On pourrait se dire que ce serait


Bonjour, je le fait aussi mais plutot en raison de l'argument comme quoi 
le debit est plus important a l'exterieur qu'a l'interieur(et oui: un 
disque dur commence par l'exterieur, comme un disque microsillon et non 
comme un CD). Mais franchement vu les quantites de RAM des ordinateurs 
actuels, il faut vraiment avoir un usage de folie pour avoir besoin de 
fichier d'echange!!! Ou alors etre un vieux chieur comme moi qui utilise 
des ordinausores :-D Quant aux problemes d'Andre je n'ai meme pas envie 
d'y reflechir pour au moins ces raisons:
-il n'a pas pris la peine de nous faciliter la tache dans sa question 
sur le renommage de sda en sdb;
-Il nous repose une question du meme style qui est peut-etre sur la meme 
machine, sur laquelle il a fait des choses non conformes a un usage 
normal en depit de nos conseils et revient la tout innocent comme si de 
rien n'etait et comme si on ne le connaissait pas;
-Si c'est une autre machine, tiens comme c'est bizarre, le meme genres 
de problemes... qui viennent peut-etre plutot de ce qui se trouve entre 
la chaise et le clavier...

--
Cordialement, Stephane Ascoet



Re: [rkhunter]: Mises à jour de paquets

2018-01-16 Thread Dominique Dumont
On Tuesday, 16 January 2018 09:31:43 CET Luc Novales wrote:
> Cela fait plusieurs fois que je me retrouve confronté au problème lié à
> des alertes de rkhunter, suite à des mises à jours de paquets, dont il
> n'a pas eu l'information sur les fichiers remplacés.

Dpkg ne communique pas avec rkhunter. Après une mise à jour des paquets, il 
faut mettre à jour la base de données de rkhunter avec cette commande:

$ sudo rkhunter --propupd

A+

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



[rkhunter]: Mises à jour de paquets

2018-01-16 Thread Luc Novales

Bonjour,

Cela fait plusieurs fois que je me retrouve confronté au problème lié à 
des alertes de rkhunter, suite à des mises à jours de paquets, dont il 
n'a pas eu l'information sur les fichiers remplacés.


Cela touche des paquets très différents, et jusqu'à maintenant, je n'ai 
eu ces problèmes que sur des mises à jour de sécurité.


Un rapport de bug sur les paquets touchés n'est pas vraiment approprié, 
qui sait comment faire remonter ce problème ?


Merci

Luc.