Re: [Jessie] Anomalie

2015-04-21 Thread Frederic MASSOT

Le 21/04/2015 20:44, Yannick VOYEAUD a écrit :

Bonsoir,

Depuis mon passage à Jessie j'ai un comportement anormal de Icedove!
En effet la suppression de message ne se fait plus!
Clic droit  Supprimer le message
Bouton Supprimer


Fais un clic droit sur la boite, menu Propriétés, bouton Réparer le 
dossier.



--
==
|  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===

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/55369c29.2010...@juliana-multimedia.com



Re: I need guidance about how to configure a newly installed Jessie ... great progress

2015-04-21 Thread Brian
On Tue 21 Apr 2015 at 10:38:03 -0600, Paul E Condon wrote:

 On 20150421_1248+0100, Brian wrote:
  On Tue 21 Apr 2015 at 11:30:55 +, Bonno Bloksma wrote:
  
   Also 'Expert' doesn't really imply that that user is an expert.
   
   It does to me. Strange name choice if that is not the case.

Would advanced setup be better? Ric

Yeah it would, it implies access to finer grained features than to the 
skill level of the person installing. 
   
Could be just me that sees it that way though. :)
   
   Nope, I think you are absolutely right. I never selected Expert install 
   as
   I am in no way an Expert, but it seems I should have.
   
   I definitely understand pretty much all that is offered there.
   I might not use it all but Advanced covers better what the option 
   intends
   to offer.
  
  What does it offer that is more advanced than what is offered by
  partitioning and installing GRUB in the regular install?
 
 In my case it offered the option of manual entry of an IP address for
 the computer, as opposed to letting DHCP provide an IP address. 

The majority of people wouldn't know the difference between an address
allocated by DHCP and a fixed address. Furthermore, they probably do not
care. The installer does the right thing with the regular install. It
caters for the most usual situation in which Debian is installed.

Someone who does not realise that a fixed address is important for them
can do corrections from the installer when it dawns on them. Its a
win-win for the installer.
 
 For experts, 'Expert install' apparently offers a check-list of things
 to decide this time, like the pre-flight check-list for airplane
 pilots. Experts in any topic tend like and use check-list, IMHO.

You are equating 'Expert install' with 'experts' rather than with 'more
control'. Maybe we should have 'Debian Simulators ' to mimic the flight
simulators for aeroplane pilots. Oh - we do?; its called 'Change debconf
priority'.

 I learned that almost no one who has deep experience and real
 expertise regularly uses the non-expert path and thus can understand
 what a newbie is talking about when the newbie is asking for help with
 the most recent implementation of netinst. Knowing the context of a
 question is important to giving focused comment and help. I see this
 as a problem worth thinking about.

I use the regular path frequently. Possibly more frequently than a
preseeded install. I'd question the first sentence; it implies that
that person has little idea about what they are doing.
 
 I have no idea for a realistic solution. I don't believe any newbie
 reads ALL the documentation that is available just a few mouse clicks
 away from www.debian.org. Everyone has a point where they decide they
 are ready to try it, and they stop reading and start doing. When
 should that be? Who is qualified to critisize a mistaken decision?

Everyone is qualified; it is the way we make progress in any field of
endeavour.

'ALL' documentation amounts to the manual and the Release Notes. I would
I hope a budding aeroplane pilot would familiarise herself with what the
machine can do before operating it.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/21042015184602.5ab7a75c2...@desktop.copernicus.demon.co.uk



Re: [Jessie] Anomalie

2015-04-21 Thread Yannick VOYEAUD
Le 21/04/2015 20:51, Frederic MASSOT a écrit :
 Le 21/04/2015 20:44, Yannick VOYEAUD a écrit :
 Bonsoir,

 Depuis mon passage à Jessie j'ai un comportement anormal de Icedove!
 En effet la suppression de message ne se fait plus!
 Clic droit  Supprimer le message
 Bouton Supprimer
 
 Fais un clic droit sur la boite, menu Propriétés, bouton Réparer le
 dossier.
 
 

Bonsoir,

Merci Frédéric mais chou blanc.

Amitiés

-- 
Yannick VOYEAUD
Aidez Ancestris en participant
http://fr.ulule.com/ancestrisapoitiers



signature.asc
Description: OpenPGP digital signature


Re: using mpxj to convert xml files to mpp format to share projectlibre files more effectively

2015-04-21 Thread Liam O'Toole
On 2015-04-21, Michael Fothergill michael.fotherg...@googlemail.com wrote:
 --001a11c235dcbadff105143f9e64
 Content-Type: text/plain; charset=UTF-8

 Dear Folks,

 I have been experimenting with projectlibre (openproj).

 My associates use Microsoft Project.

 Projectlibre can export files in an xml format that can be imported into MS
 Project.

 But only if you have some extra features installed into it that not
 everyone has enabled apparently.

 Thus it would be useful to be able to convert a xml file to the mpp format
 used by MS Project.

 I am not completely sure, but it seems that some java software called mpxj
 has been produced by Microsoft that could convert an xml file of this kind
 to the mpp format (please correct me if I am wrong).

 see here:

 http://mpxj.sourceforge.net/howto-start.html

 It seems that you need to install something called apache ant to run this
 application..

 The build instructions (http://mpxj.sourceforge.net/howto-build.html) then
 talk about dll stuff (I think that would be if you ran it on MSWindows).

 If you run it on e.g. debian you wouldn't need that part.

 Suggestions on installing this in the simplest way to do this file
 conversion would be gratefully appreciated.

 Regards

 Michael Fothergill

snipped lots of HTML

Apache Ant is available as the package 'ant' in Debian. Version 1.8 is
in wheezy, and 1.9 in wheezy-backports ant jessie. Once it is installed,
follow the build instructions to build the JAR file. Hopefully you won't
need to regenerate the JAXB code.

Once you have the mpxj JAR file, you need to consult the mpxj JavaDoc
and do some Java programming.

-- 

Liam



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmjdaov.5un.liam.p.otoole@dipsy.tubbynet



Re: [OT] Tomcat + 2 app

2015-04-21 Thread Carlos Manuel Escalona Villeda
No necesitas mover iptables, puedes recibir los dos dominios en el mismo
puerto.

En la configuración de tomcat debes rear dos virtualhost distintos, cada
uno con el hostname igual al dominio y especificando el directorio al que
dirigirá cada dominio.

Durante la petición tomcat revisará el nombre de dominio e iniciará la
aplicación correspondiente, en caso de no encontrar una aplicación entonces
ejecutará la aplicación por defecto.

El mar., 21 de abr. de 2015 a la(s) 2:09 p. m., Lacho 
marcoscapel...@gmail.com escribió:

 Hola,

 hasta el momento he usado virtualhost + tomcat --
 https://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

 algunas variantes de mod_proxy --
 https://httpd.apache.org/docs/2.2/mod/mod_proxy.html

 redireccionamiento con iptables y configurar tomcat en diferentes
 puertos, esto no recuerdo donde lo vi, pero nunca funciono.

 Básicamente por si no quedo claro en algún momento, lo que necesito es
 lo siguiente:

 las 2 aplicaciones que tengo en tomcat están alojadas en
 /opt/tomcat/webapps

 una se llama conectaviz y la otra historial

 hasta el momento he podido hacer funcionar 1 de ellas, pero no las 2
 juntas. Esto lo hice cuando en la carpeta /opt/tomcat/webapps/ROOT/ cree
 un archivo index.html y le hice una referencia a la app

 meta http-equiv=refresh content=0;URL=historial/servlet/winicio


 Si es necesario se le asigna un dominio a cada app, www.app1.com y
 www.app2.com pero no lo tengo claro como hacerlo.

 --
 Lacho:~#


 --
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: https://lists.debian.org/5536a040.6020...@gmail.com




Re: [OT] Tomcat + 2 app

2015-04-21 Thread Lacho
Hola,

La configuración que me decís, es en server.xml ? o crear virtualhost
con apache ?
-- 
Lacho:~#


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5536a624.3030...@gmail.com



Re: reading an empty directory after reboot is very slow

2015-04-21 Thread David Wright
Quoting Vincent Lefevre (vinc...@vinc17.net):
 On 2015-04-20 15:59:22 -0500, David Wright wrote:
  Quoting Vincent Lefevre (vinc...@vinc17.net):
   Possibly, but individual modifications would take much more time than
   with Maildir (such modifications, consisting in retagging, occur from
   time to time).
  
  I take it these are real emails being read etc with an email client
  (like, say, mutt) at various times, rather than a dead archive of old
  emails that you just happen to keep processing from time to time.
 
 This mailbox is constantly open in a Mutt running in screen (in
 read-only mode). I often read it, and I modify it from time to time,
 either by adding new messages in the usual way, or by modifying some
 header of existing messages with some tool of mine (in which case, I
 restart Mutt to take the changes into account).

I guess I find it hard (not knowing what all these emails are) to get
my head around needing an email-style random access to 145k emails in
one folder.

 BTW, the best way would be to have this header in a different file,
 but Mutt has no way to support that. Alternatively, I could modify
 my tool to cache the Message-Id - filename mapping, since this is
 what I actually need.
 
 When I wrote my tool, I thought that such a cached mapping would be
 useless because the mailbox would have to be read by Mutt anyway.
 So, there's still something I don't understand: after dropping the
 caches, why is Mutt fast to read the mailbox (about 1 minute), but
 not my tool (about 30 minutes)?

Because mutt caches, and its caches are persistent.
The default location (not in the man page, I think) is
~/.mutt-cache/header-cache/
for the headers, and its parent for the emails themselves.
Now, I'm taking this from a system with no maildir folders, so my
caches are for external emails where it caches *both* headers and
bodies. No need for the latter with maildirs of course.

 I meant that with the maildir format, an individual change just
 modifies the message file: this is very fast. With the mbox format,
 the whole file containing all the messages needs to be copied...

I agree, maildir is a much better choice than mbox.

  Have you considered running a local IMAP server to handle this (and
  any other) maildir?
 
 There would be other problems. All the tools would have to talk
 with this server... and for instance, mairix doesn't support IMAP.

Is this correct?
http://www.gnu.org/software/emacs/manual/html_node/gnus/Setting-up-mairix.html

But I don't understand why, if you're running mairix, you need to scan the
emails yourself. Hasn't mairix done this already? (As well as mutt.)

  Handling those volumes of email must be bread and butter to hosting
  services. I assume such servers build persistent caches of the
  emails rather than just depending on the filesystem's.
 
 Then this wouldn't solve the problem since the slowness I observe
 occurs only when the caches are empty (typically after a reboot).
 But actually, as I've said above, only with my tool, not with Mutt.

As said, mutt caches, so you seem to have at least two cache databases
for your emails already. Is there some way you could use those?

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421174714.GB32498@alum



[Jessie] Anomalie

2015-04-21 Thread Yannick VOYEAUD
Bonsoir,

Depuis mon passage à Jessie j'ai un comportement anormal de Icedove!
En effet la suppression de message ne se fait plus!
Clic droit  Supprimer le message
Bouton Supprimer
Menu Édition  Supprimer le message
Touche SUP

Rien ne marche! :(
Je suis obliger de sélectionner le/les messages et de le/les
glisser/déposer dans la corbeille

Ce n'est pas très fun comme méthode.
Je suis incapable de vous dire si c'est Jessie ou Icedove qui est en cause.
Jessie à jour environnement MATE
Icedove version 31.6.0 selon À propos d'Icedove
Icedove version 31.6.0-1 selon Synaptic

Au passage comment virer complètement Gnome sans casser MATE?

Amitiés

-- 
Yannick VOYEAUD
Aidez Ancestris en participant
http://fr.ulule.com/ancestrisapoitiers



signature.asc
Description: OpenPGP digital signature


Re: [OT] Tomcat + 2 app

2015-04-21 Thread Lacho
Hola,

hasta el momento he usado virtualhost + tomcat --
https://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

algunas variantes de mod_proxy --
https://httpd.apache.org/docs/2.2/mod/mod_proxy.html

redireccionamiento con iptables y configurar tomcat en diferentes
puertos, esto no recuerdo donde lo vi, pero nunca funciono.

Básicamente por si no quedo claro en algún momento, lo que necesito es
lo siguiente:

las 2 aplicaciones que tengo en tomcat están alojadas en /opt/tomcat/webapps

una se llama conectaviz y la otra historial

hasta el momento he podido hacer funcionar 1 de ellas, pero no las 2
juntas. Esto lo hice cuando en la carpeta /opt/tomcat/webapps/ROOT/ cree
un archivo index.html y le hice una referencia a la app

meta http-equiv=refresh content=0;URL=historial/servlet/winicio


Si es necesario se le asigna un dominio a cada app, www.app1.com y
www.app2.com pero no lo tengo claro como hacerlo.

-- 
Lacho:~#


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5536a040.6020...@gmail.com



Re: I need guidance about how to configure a newly installed Jessie ... great progress

2015-04-21 Thread Paul E Condon
On 20150421_1930+0100, Brian wrote:
 On Tue 21 Apr 2015 at 10:38:03 -0600, Paul E Condon wrote:
 
  On 20150421_1248+0100, Brian wrote:
   On Tue 21 Apr 2015 at 11:30:55 +, Bonno Bloksma wrote:
   
Also 'Expert' doesn't really imply that that user is an expert.

It does to me. Strange name choice if that is not the case.
 
 Would advanced setup be better? Ric
 
 Yeah it would, it implies access to finer grained features than to 
 the skill level of the person installing. 

 Could be just me that sees it that way though. :)

Nope, I think you are absolutely right. I never selected Expert 
install as
I am in no way an Expert, but it seems I should have.

I definitely understand pretty much all that is offered there.
I might not use it all but Advanced covers better what the option 
intends
to offer.
   
   What does it offer that is more advanced than what is offered by
   partitioning and installing GRUB in the regular install?
  
  In my case it offered the option of manual entry of an IP address for
  the computer, as opposed to letting DHCP provide an IP address. 
 
 The majority of people wouldn't know the difference between an address
 allocated by DHCP and a fixed address. Furthermore, they probably do not
 care. The installer does the right thing with the regular install. It
 caters for the most usual situation in which Debian is installed.
 
 Someone who does not realise that a fixed address is important for them
 can do corrections from the installer when it dawns on them. Its a
 win-win for the installer.
  
  For experts, 'Expert install' apparently offers a check-list of things
  to decide this time, like the pre-flight check-list for airplane
  pilots. Experts in any topic tend like and use check-list, IMHO.
 
 You are equating 'Expert install' with 'experts' rather than with 'more
 control'. Maybe we should have 'Debian Simulators ' to mimic the flight
 simulators for aeroplane pilots. Oh - we do?; its called 'Change debconf
 priority'.
 
  I learned that almost no one who has deep experience and real
  expertise regularly uses the non-expert path and thus can understand
  what a newbie is talking about when the newbie is asking for help with
  the most recent implementation of netinst. Knowing the context of a
  question is important to giving focused comment and help. I see this
  as a problem worth thinking about.
 
 I use the regular path frequently. Possibly more frequently than a
 preseeded install. I'd question the first sentence; it implies that
 that person has little idea about what they are doing.
  
  I have no idea for a realistic solution. I don't believe any newbie
  reads ALL the documentation that is available just a few mouse clicks
  away from www.debian.org. Everyone has a point where they decide they
  are ready to try it, and they stop reading and start doing. When
  should that be? Who is qualified to critisize a mistaken decision?
 
 Everyone is qualified; it is the way we make progress in any field of
 endeavour.
 
 'ALL' documentation amounts to the manual and the Release Notes. I would
 I hope a budding aeroplane pilot would familiarise herself with what the
 machine can do before operating it.
 
Thanks, for your comment. It is very revealing.
Peace,
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421192726.ge6...@big.lan.gnu



using mpxj to convert xml files to mpp format to share projectlibre files more effectively

2015-04-21 Thread Michael Fothergill
Dear Folks,

I have been experimenting with projectlibre (openproj).

My associates use Microsoft Project.

Projectlibre can export files in an xml format that can be imported into MS
Project.

But only if you have some extra features installed into it that not
everyone has enabled apparently.

Thus it would be useful to be able to convert a xml file to the mpp format
used by MS Project.

I am not completely sure, but it seems that some java software called mpxj
has been produced by Microsoft that could convert an xml file of this kind
to the mpp format (please correct me if I am wrong).

see here:

http://mpxj.sourceforge.net/howto-start.html

It seems that you need to install something called apache ant to run this
application..

The build instructions (http://mpxj.sourceforge.net/howto-build.html) then
talk about dll stuff (I think that would be if you ran it on MSWindows).

If you run it on e.g. debian you wouldn't need that part.

Suggestions on installing this in the simplest way to do this file
conversion would be gratefully appreciated.

Regards

Michael Fothergill


Re: I need guidance about how to configure a newly installed Jessie ... great progress

2015-04-21 Thread Brian
On Tue 21 Apr 2015 at 21:26:07 +1200, Chris Bannister wrote:

 On Mon, Apr 20, 2015 at 03:49:07PM -0400, Ric Moore wrote:
  On 04/20/2015 03:44 PM, Chris Bannister wrote:
  On Mon, Apr 20, 2015 at 07:52:53PM +0100, Brian wrote:
  
  Also 'Expert' doesn't really imply that that user is an expert.
  
  It does to me. Strange name choice if that is not the case.
  
  Would advanced setup be better? Ric
 
 Yeah it would, it implies access to finer grained features than to the
 skill level of the person installing. 

The first screen is for selecting a language. There is a 'Go Back'
button or the ESC key to use. 'Change debconf priority' has an
extensive help screen.

Does doing this mean the user has

a) read the first screen?
b) read the manual?
c) been overcome with curiosity?
d) a cat given to walking on keyboards?

Or does it mean the user possesses super-human powers and has become an
'expert'?
 
 Could be just me that sees it that way though. :)

You wouldn't be the first; it crops up from time to time. Some people
even treat it seriously. :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/21042015114025.2576bf557...@desktop.copernicus.demon.co.uk



Re: empty directories need disk space

2015-04-21 Thread Nicolas George
 on different servers I have cache folders with a lot of small files. Now
 all the files are delete but the folder need 151 MB.
 Whats gonig on here? What is the problem? How can I fix? Delete and
 create would be impracticable.
 
 --- /home/somedir/cache/baseall/basecache
 ---
   151.0MiB [##]
 /locks
   

I have no idea what this syntax means. You should try do just ls -ld the
directory (assuming that is what you mean by folder).

But for what it's worth, directories need room to store the names of the
files they contain. Stated like that, that is completely obvious. A lot of
filesystems will not shrink directories where files have deleted. The space
will only be freed when the directory itself is unlinked.

How to fix the issue depends on your use profile. But are you sure it is an
issue? The disk space is used by the directory, but the filesystem knows
that it is free for storing file names in this directory. It is not lost. If
at some point you had a lot of files, you may have a lot of files in the
future too.

Regards,

-- 
  Nicolas George


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421130803.ga1869...@phare.normalesup.org



empty directories need disk space

2015-04-21 Thread basti

Hello,
on different servers I have cache folders with a lot of small files. Now
all the files are delete but the folder need 151 MB.
Whats gonig on here? What is the problem? How can I fix? Delete and
create would be impracticable.

--- /home/somedir/cache/baseall/basecache
---
  151.0MiB [##]
/locks  


  148.0KiB [  ] /data
  144.0KiB [  ] /config
0.0  B [  ]  unlimitedTimeout


--- /home/somedir/cache/baseall/basecache/locks
-
   
/.. 


0.0  B [  ]  cmsproddata-mongo.categoryprodofferlistbase
0.0  B [  ]  KEEPME

Best Regards,
Basti




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55364899.8020...@arcor.de



Re: empty directories need disk space

2015-04-21 Thread The Wanderer
On 04/21/2015 at 08:54 AM, basti wrote:

 Hello,
 on different servers I have cache folders with a lot of small files. Now
 all the files are delete but the folder need 151 MB.
 Whats gonig on here? What is the problem? How can I fix? Delete and
 create would be impracticable.

Are there any dotfiles in the directories, which might still be taking
up space despite not showing up in normal directory listings? (This can
be checked with 'ls -A'.)

If not, then this sounds like it might be the problem which was
discussed on this list recently, in the thread entitled reading an empty
directory after reboot is very slow which began on April 13th.

Check the list archives and see if that thread helps you any, and if it
doesn't, try to explain what's different about your situation so that we
can try to figure something else out.

-- 
   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: reading an empty directory after reboot is very slow

2015-04-21 Thread Vincent Lefevre
On 2015-04-20 13:04:41 -0500, David Wright wrote:
 Quoting Vincent Lefevre (vinc...@vinc17.net):
  But with the current solution (no automatic moving of an entry), you
  can't miss an entry that hasn't been removed.
 
 $ mkdir /tmp/testdir
 ~ $ mkdir /tmp/testdir/file1
 ~ $ mkdir /tmp/testdir/file2
 ~ $ mkdir /tmp/testdir/file3
 ~ $ mkdir /tmp/testdir/file4
 ~ $ mkdir /tmp/testdir/file5
 ~ $ ls -lU /tmp/testdir/
 total 20
 drwxr-x--- 2 david david 4096 Apr 20 12:53 file1
 drwxr-x--- 2 david david 4096 Apr 20 12:54 file4
 drwxr-x--- 2 david david 4096 Apr 20 12:54 file5
 drwxr-x--- 2 david david 4096 Apr 20 12:54 file2
 drwxr-x--- 2 david david 4096 Apr 20 12:54 file3
 ~ $ mv -i /tmp/testdir/file4 
 /tmp/testdir/file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4
 ~ $ ls -lU /tmp/testdir/
 total 20
 drwxr-x--- 2 david david 4096 Apr 20 12:53 file1
 drwxr-x--- 2 david david 4096 Apr 20 12:54 file5
 drwxr-x--- 2 david david 4096 Apr 20 12:54 
 file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4file4
 drwxr-x--- 2 david david 4096 Apr 20 12:54 file2
 drwxr-x--- 2 david david 4096 Apr 20 12:54 file3
 ~ $ 
 
 ...so if you happen to be reading the entry for file5 at the
 time I typed mv, you'll get the entry for file4 twice, under
 two different names. (Or the opposite.)

OK, so, if the rename(2) system call can reorder the entries (this is
not quite clear because one doesn't see the empty entries here), then
there is already a problem with the file system. Getting an entry
twice under different names is not much a problem, IMHO, because one
can look at the inode number; there's a race condition, but at worst,
one can just miss a *new* inode (whose number has been reassigned).
Missing an existing entry is a problem.

What do the backup systems do?

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/
100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421131038.gd18...@xvii.vinc17.org



Re: I need guidance about how to configure a newly installed Jessie ... great progress

2015-04-21 Thread Chris Bannister
On Mon, Apr 20, 2015 at 03:49:07PM -0400, Ric Moore wrote:
 On 04/20/2015 03:44 PM, Chris Bannister wrote:
 On Mon, Apr 20, 2015 at 07:52:53PM +0100, Brian wrote:
 
 Also 'Expert' doesn't really imply that that user is an expert.
 
 It does to me. Strange name choice if that is not the case.
 
 Would advanced setup be better? Ric

Yeah it would, it implies access to finer grained features than to the
skill level of the person installing. 

Could be just me that sees it that way though. :)

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421092606.GB25598@tal



apt-get upgrade: packages have been kept back

2015-04-21 Thread ML mail
Hi,

I was wondering why an apt-get upgradeon my Debian wheezy box does not want 
to update the OpenJDK packages as you can see below:


shell$ apt-get upgrade


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre openjdk-6-jre-headless 
openjdk-6-jre-lib
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Anyone has an idea why they are all kept back? Is something broken on my side 
maybe?

Regards
ML


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/947300723.1245321.1429608381379.javamail.ya...@mail.yahoo.com



Re: apt-get upgrade: packages have been kept back

2015-04-21 Thread Patrick Weiden
Hi,

have you tried an apt-get dist-upgrade?
Some packages won't be upgraded by the apt-get upgrade operation. Please
try the first and tell us the results. Thanks!

Cheers,
Patrick


On Tue, Apr 21, 2015 at 11:26 AM, ML mail mlnos...@yahoo.com wrote:

 Hi,

 I was wondering why an apt-get upgradeon my Debian wheezy box does not
 want to update the OpenJDK packages as you can see below:


 shell$ apt-get upgrade


 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages have been kept back:
 icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre
 openjdk-6-jre-headless openjdk-6-jre-lib
 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

 Anyone has an idea why they are all kept back? Is something broken on my
 side maybe?

 Regards
 ML


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/947300723.1245321.1429608381379.javamail.ya...@mail.yahoo.com




Re: apt-get upgrade: packages have been kept back

2015-04-21 Thread ML mail
Hi Patrick


dist-upgrade did it. Now as a general rule is it safe to use a dist-upgrade in 
a production environment? I suppose there is a good reason for having upgrade 
and dist-upgrade.

Regards
ML


On Tuesday, April 21, 2015 11:39 AM, Patrick Weiden patr...@dieweidens.de 
wrote:



Hi,

have you tried an apt-get dist-upgrade?
Some packages won't be upgraded by the apt-get upgrade operation. Please try 
the first and tell us the results. Thanks!

Cheers,
Patrick




On Tue, Apr 21, 2015 at 11:26 AM, ML mail mlnos...@yahoo.com wrote:

Hi,

I was wondering why an apt-get upgradeon my Debian wheezy box does not want 
to update the OpenJDK packages as you can see below:


shell$ apt-get upgrade


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre openjdk-6-jre-headless 
openjdk-6-jre-lib
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Anyone has an idea why they are all kept back? Is something broken on my side 
maybe?

Regards
ML


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/947300723.1245321.1429608381379.javamail.ya...@mail.yahoo.com




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1448263282.1248593.1429610360116.javamail.ya...@mail.yahoo.com



hosts.deny

2015-04-21 Thread jan
Idag var jag med om något märkligt. Vid försök till inloggning med ssh
fick jag hosts.deny modifierad. Tidsstämpeln stämmer med när jag höll
på.

Det var en del problem vid inloggningen och jag körde cygwin på en
Win7-dator om det möjligen kan vara relevant. IP-numren som las till
stämmer med de två vägar jag försökte komma åt servern

Har någon hört talas om något dylikt. Inte jag.

/Janne


jan@sloth:~$ cat /etc/hosts.deny.bad 
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the
system. #  See the manual pages hosts_access(5) and
hosts_options(5). #
# Example:ALL: some.host.name, .some.domain
# ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name portmap for
the # daemon name. Remember that you can only use the keyword ALL and
IP # addresses (NOT host or domain names) for the portmapper, as well
as for # rpc.mountd (the NFS mount daemon). See portmap(8) and
rpc.mountd(8) # for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.
#
# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID

sshd: 192.168.30.21
sshd: 81.170.208.93
jan@sloth:~$ 


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421165327.713416d5@igor



Re: How to bypass login screen in Jessie?

2015-04-21 Thread Daniel Harris
If I can remember correctly if you are running lightdm you can edit
/etc/lightdm/lightdm.conf and change

autologin-user = username

set it to your username

but I cannot remember if you then have problems shutting the computer off.
Give it a go and see if it works

Dan

On Tue, Apr 21, 2015 at 3:35 PM, German gentger...@gmail.com wrote:

 hi. I'd like to bypass the login screen and boot straight to LXDE desktop.
 How do I accomplish this? I am the only user on this system. Thanks

 --
 German gentger...@gmail.com


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/20150421103518.c5e3f6f5fee1e0b25a592...@gmail.com




Re: A question about deleting a big file structure from a big disk in Jessie: Why does this work? I'm really worried.

2015-04-21 Thread Paul E Condon
On 20150420_1252-0500, David Wright wrote:
 Quoting David Wright (deb...@lionunicorn.co.uk):
  Quoting Paul E Condon (pecon...@mesanetworks.net):
   On 20150402_2135-0500, David Wright wrote:
I do get occasional I/O errors on USB transfers, which can make the
disk readonly, but sometimes make it disappear altogether (ie it
gets unmounted, not remounted).
   
   All of my file systems are journaled. Did you notice a delay in remount
   as the journal was replayed?
  
  No, but I wasn't watching for it. I will in future (though obviously
  I have adjusted my working practice to minimise the rare occurrences).
 
 ... and my current workaround is to use my little old laptop to copy
 files between USB drives. I just copied 120,000 files (45.5GB) without
 a peep on /var/log/kern.log, not even one of those interface reset
 messages that my desktop often logs.
 
 Cheers,
 David.

Thanks for the report.
I haven't had a I/O error event in quite a while, also.
But I have become embroiled it other issues involving installing Jessie.
I hope the problem is truly fixed, but I continue to have other problems,
some of which preclude me running long I/O intencive jobs.

Cheers,
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421151722.gb6...@big.lan.gnu



Re: hosts.deny

2015-04-21 Thread Michael Kjörling
On 21 Apr 2015 16:53 +0200, from j...@lillahusetiskogen.se:
 Idag var jag med om något märkligt. Vid försök till inloggning med ssh
 fick jag hosts.deny modifierad. Tidsstämpeln stämmer med när jag höll
 på.

Kör du möjligen fail2ban eller något liknande på servern ifråga?

-- 
Michael Kjörling • https://michael.kjorling.se • mich...@kjorling.se
OpenPGP B501AC6429EF4514 https://michael.kjorling.se/public-keys/pgp
 “People who think they know everything really annoy
 those of us who know we don’t.” (Bjarne Stroustrup)


-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421151936.gn16...@yeono.kjorling.se



Re: hosts.deny

2015-04-21 Thread jan
On Tue, 21 Apr 2015 15:19:36 +
Michael Kjörling mich...@kjorling.se wrote:

 On 21 Apr 2015 16:53 +0200, from j...@lillahusetiskogen.se:
  Idag var jag med om något märkligt. Vid försök till inloggning med
  ssh fick jag hosts.deny modifierad. Tidsstämpeln stämmer med när
  jag höll på.
 
 Kör du möjligen fail2ban eller något liknande på servern ifråga?
 

Det vet jag allvarligt talat inte. Det är standardkonfigurationen för
Debian 7.8. Jag ska undersöka.

/Janne


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421172317.5559f8d2@igor



Re: hosts.deny

2015-04-21 Thread jan
On Tue, 21 Apr 2015 15:19:36 +
Michael Kjörling mich...@kjorling.se wrote:

 On 21 Apr 2015 16:53 +0200, from j...@lillahusetiskogen.se:
  Idag var jag med om något märkligt. Vid försök till inloggning med
  ssh fick jag hosts.deny modifierad. Tidsstämpeln stämmer med när
  jag höll på.
 
 Kör du möjligen fail2ban eller något liknande på servern ifråga?
 


Tack!
Det var fail2ban, jag såg det i fail2ban.log.

/Janne


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421172745.1d27e28b@igor



Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Michael Biebl
Am 21.04.2015 um 14:08 schrieb Mihamina Rakotomandimby:
 Hi all,
 
 I used to manage network through /etc/network/interfaces.
 Most of my use case are vlans (ie: eth0.1) an aliases (ie: eth1:3)
 My context in headless VMs (no DE, no Xorg, no GUI)
 
 With Jessie and systemd: is it still managed with /etc/network/interfaces?

systemd-networkd is an optional component and shipped as disabled by
default in jessie.

If you've configured your network to use ifupdown and
/etc/network/interfaces, it will continue to work as-is.

If you want to give systemd-networkd a try, you'd have to convert/create
your network configuration for networkd manually. There is no automatic
conversion to systemd.{link,network,netdev} configuration files from
/etc/network/interfaces.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Debian 8 release

2015-04-21 Thread Erik Kylin

Den 16 apr 2015 16:43 skrev Erik Kylin e...@erikkylin.net:


 16 apr 2015 kl. 09:12 skrev ro...@steneteg.org:

 Hej

 Det r 9 stycken som har svarat p formulret och resultatet r fljande:
 Gteborg 5 55.6%
 Varberg 4 44.4%
 Halmstad 3 33.3%
 Other 2 22.2%

 11 April 0 0%
 12 April 0 0%
 18 April 4 44.4%
 19 April 4 44.4%
 25 April 7 77.8%
 26 April 5 55.6%
 2 Maj 3 33.3%
 3 Maj 2 22.2%
 Other 0 0%

 S Gteborg den 25:e April verkar vara bst.

 Om ingen har nn annan id p aktivitet s freslr jag att vi trffas p lmplig plats och tid (runt 17 p centralen ifall folk kommer med tg?

D bokar jag ett bord fr 10-12 st p lrdag i centrala GBG? 

 Jag tro vi skulle kunna ses p Gteborgs universitet, Lindholmen och f med oss lite Vin och l?
 Erik



 Ni som kommer med tg kan ju kolla upp vilka tider som skulle passa er s kan vi anpassa oss efter det.) och sen drar och ter p ngon typ av resturang och snackar GNU/Linux och har trevligt.
 Eventuellt key-signing med om ngon debian utvecklare kunde detta datumet.

 Mvh
 Roger


 On 2015-04-08 22:53,ro...@steneteg.orgwrote:

 Hej
 Det r hittils 8 som svarat p formulret (svida ingen fuskat och
 svarat flera gnger).
 Som det ser ut nu s r det lika mellan Gteborg och Varberg. Jag bor
 ju i Gteborg s r ju inte helt opartisk i frgan men Gteborg r ju
 strre s finns ju antagligen mer att gra hr n i Varberg.
 Nr det gller datumet s leder 25:e april.
 Har bara ftt in ett aktivitetsfrlag och det var "l", s lite fler
 frslag skulle ju vara uppskattat hr. Nn som varit p denna typ av
 mten tidigare som har erfarenhet av vad man kan hitta p?
 Gr ju alltid trffas, kka p nn resturang och snacka Linux.
 Mvh
 Roger
 On 2015-04-05 15:34, Rolf Edlund wrote:

 Den 2015-04-05 12:08, Andreas Ronnquist skrev:

 Ifyllt. Jag kan den 25:e och ngra andra datum - Angende 11:e tycker
 jag ju att det skulle knnas lite mrkligt att fira utgvan innan den
 verkligen har hnt ... :)

 Ok, om det r det som mtet ska handla om, s hller jag helt med dig. ;)

 Och angende plats s r det vl mest logiskt att vlja platsen dr vi
 kan minimera antalet som mste resa lngt - och med det i tanke s
 lutar det ju mot Gteborg...

 Som sagt. Det funkar fr mig.

 Ocks - angende det - jag kr, s jag kan ordna samkning om det
 skulle bli norrut (Jag bor ju i Halmstad, och kan skulle exempelvis
 kunna plocka upp folk p vgen till Gteborg s vi kan dela p
 resekostnader).

 Har du plats fr lilla mig, s ker jag grna med dig. S lnge dagen
 fr mtet funkar fr mig.

 (Jag toppostar eftersom jag svarar p en toppostning)

 ( Jag gr ngot mitt emellan :)
 --
 /Rolf



 --
 To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
 with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
 Archive:https://lists.debian.org/06b7a22bc276c6f6743b665f9a3ba...@steneteg.org





Re: [OT] Tomcat + 2 app

2015-04-21 Thread Lacho
Hola,

Estuve viendo algunas de las opciones, pero ninguna me dio resultado.
Con respecto a lo de welcome-file-list estuve viendo pero me parece
que no funciona con servlet, por que cuando lo probé la aplicación ni
siquiera iniciaba.
-- 
Lacho:~#



signature.asc
Description: OpenPGP digital signature


OT [Una de bash muy buena...]

2015-04-21 Thread Maykel Franco
Buenas, llevo unas 2 h intentando realizar esto pero soy incapaz...

Necesito de esta linea por ejemplo:

[{type:07,number:2705045091096},{type:01,number:2788156539794}{type:08,number:2748168531483}

Me gustaría sacar solo los numeros después de number: , por ejemplo, solo
sacar esto:

2705045091096
2788156539794
2748168531483

He mirado con grep, awk , sed, cut... Soy incapaz...

Alguien podría hecharme un cable?

Gracias de antemano.


Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Christian Seiler

Hi there,

Am 2015-04-21 16:06, schrieb Michael Biebl:

Am 21.04.2015 um 15:42 schrieb Christian Seiler:

There is something called systemd-networkd, which is not
part of Jessie's systemd version, but will (probably) be
part of future Debian versions. This offers an alternative
way to configure networking.

Note, however, that systemd-networkd by default does not
touch any network interfaces, you have to tell it explicitly
to do something - so even if that were to be installed, as
long as the old networking scripts still exist, they'd still
be used instead of systemd's component - and only if you
explicitly configure something there will it actually do
anything.

This doesn't concern Jessie anyway, because it doesn't
contain that program.


Not quite correct. The systemd package in jessie does ship
systemd-networkd, but it is disabled by default.
If you want to use networkd, you'd have to run
systemctl enable systemd-network[d].service
and configure it.


Oh, interesting, didn't know that, thanks for the pointer.

Christian


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/a4fe686d64b19ffc746a1c44aff34...@iwakd.de



Re: reading an empty directory after reboot is very slow

2015-04-21 Thread Vincent Lefevre
On 2015-04-20 18:03:01 -0600, Bob Proulx wrote:
 Vincent Lefevre wrote:
  With an uncompressed mbox file, using the Content-Length, it could be
  faster, but there's still the problem with individual changes.
 
 Have you run across Jamie Zawinski's rant against Content-Length?
 
   http://www.jwz.org/doc/content-length.html

Mutt handles it safely. First it can detect an incorrect value (unless
one has very bad luck), and ignore it in such a case. Anyway, on my
machines, messages are copied to an mbox mailbox only by Mutt, and
Mutt makes sure that the Content-Length value is correct. Any I would
never use the mbox format for an incoming mailbox.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/
100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421135909.gf18...@xvii.vinc17.org



Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Michael Biebl
Am 21.04.2015 um 15:42 schrieb Christian Seiler:
 There is something called systemd-networkd, which is not
 part of Jessie's systemd version, but will (probably) be
 part of future Debian versions. This offers an alternative
 way to configure networking.
 
 Note, however, that systemd-networkd by default does not
 touch any network interfaces, you have to tell it explicitly
 to do something - so even if that were to be installed, as
 long as the old networking scripts still exist, they'd still
 be used instead of systemd's component - and only if you
 explicitly configure something there will it actually do
 anything.
 
 This doesn't concern Jessie anyway, because it doesn't
 contain that program.

Not quite correct. The systemd package in jessie does ship
systemd-networkd, but it is disabled by default.
If you want to use networkd, you'd have to run
systemctl enable systemd-network.service
and configure it.

networkd in v215, which is shipped in jessie, is missing some important
features though, like e.g. the networkctl command line tool.
I'd consider networkd in jessie a tech preview. Good enough for users to
play with it in simple environments and get used to it, but not mature
yet to have it enabled by default.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Mihamina Rakotomandimby

On 04/21/2015 04:42 PM, Christian Seiler wrote:

Hi,

Am 2015-04-21 14:08, schrieb Mihamina Rakotomandimby:

 I used to manage network through /etc/network/interfaces.
 Most of my use case are vlans (ie: eth0.1) an aliases (ie: eth1:3)
 My context in headless VMs (no DE, no Xorg, no GUI)

 With Jessie and systemd: is it still managed with
/etc/network/interfaces?


...
To summarize: you should have no surprises under Jessie w.r.t.
network configuration. I've set up a couple of different types
of configuration (even complex ones) with Jessie so far (using
/etc/network/interfaces) and didn't run into any trouble.
didn't have

Christian



Thank you Christian,

Just to be sure, I saw that:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1374521
https://github.com/linuxmint/systemd/blob/master/debian/ifup@.service

If my reading and deduction is correct, systemd will call ifup that will 
read /etc/network/interface.


But what is going to detect all interfaces and give them as argument to 
each systemd ifup service call?


Thank you.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/55365cc2.7000...@rktmb.org



Re: reading an empty directory after reboot is very slow

2015-04-21 Thread Vincent Lefevre
On 2015-04-20 15:59:22 -0500, David Wright wrote:
 Quoting Vincent Lefevre (vinc...@vinc17.net):
  Possibly, but individual modifications would take much more time than
  with Maildir (such modifications, consisting in retagging, occur from
  time to time).
 
 I take it these are real emails being read etc with an email client
 (like, say, mutt) at various times, rather than a dead archive of old
 emails that you just happen to keep processing from time to time.

This mailbox is constantly open in a Mutt running in screen (in
read-only mode). I often read it, and I modify it from time to time,
either by adding new messages in the usual way, or by modifying some
header of existing messages with some tool of mine (in which case, I
restart Mutt to take the changes into account).

BTW, the best way would be to have this header in a different file,
but Mutt has no way to support that. Alternatively, I could modify
my tool to cache the Message-Id - filename mapping, since this is
what I actually need.

When I wrote my tool, I thought that such a cached mapping would be
useless because the mailbox would have to be read by Mutt anyway.
So, there's still something I don't understand: after dropping the
caches, why is Mutt fast to read the mailbox (about 1 minute), but
not my tool (about 30 minutes)?

Note: my tool stops reading the headers of a message once the
Message-Id has been found (and all the messages have a Message-Id
header). More precisely:

[...]

print Reading $dir ...\n;
my %files;
opendir DIR, $dir or die $!\n$proc: can't open directory $dir\n;
foreach (readdir DIR)
  {
$_ ne '.'  $_ ne '..' or next;
/^\./ and die $proc: hidden filename $_\n;
my $file = $dir/$_;
my $from;
open FILE, '', $file or die $!\n$proc: can't open file $file\n;
while (FILE)
  {
/^[\t ]/ and next;
/^\S+:/ || (!$from++  /^From /)
  or die $proc: bad message format ($file);
/^Message-ID:\s+(\S+)( \(added by .*\))?$/i or next;
defined $files{$1}
  and die $proc: duplicate message-id $1 ($files{$1} and $file)\n;
$files{$1} = $file;
last;
  }
close FILE or die $!\n$proc: can't close file $file\n;
  }
closedir DIR or die $!\n$proc: can't close directory $dir\n;

[...]

 For a start, if you put them in a single mbox, then all 145k messages
 are locked whenever any one of them is. Maildir doesn't have that
 problem.
 
 When you process them, do you avoid updating the atime on the files:
 that can involve a lot of writing to the directory.

The file system is mounted with relatime, so that atime will be
modified at most once.

   It all depends upon the distribution of data size of the body of the
   messages since then it would need to read and skip the message
   bodies.
  
  With an uncompressed mbox file, using the Content-Length, it could be
  faster, but there's still the problem with individual changes.
 
 That could be mitigated if you use that mbox extension which puts a
 fixed-length header on each email for metadata (as long as that's the
 kind of metadata you're operating on).

I meant that with the maildir format, an individual change just
modifies the message file: this is very fast. With the mbox format,
the whole file containing all the messages needs to be copied...

  I wonder whether there exists some specific FS that would make maildir
  access very fast and whether using it on a disk image that could be
  loop-mounted would be interesting.
 
 Have you considered running a local IMAP server to handle this (and
 any other) maildir?

There would be other problems. All the tools would have to talk
with this server... and for instance, mairix doesn't support IMAP.

 Handling those volumes of email must be bread and butter to hosting
 services. I assume such servers build persistent caches of the
 emails rather than just depending on the filesystem's.

Then this wouldn't solve the problem since the slowness I observe
occurs only when the caches are empty (typically after a reboot).
But actually, as I've said above, only with my tool, not with Mutt.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/
100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421134821.ge18...@xvii.vinc17.org



Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Christian Seiler

Hi,

Am 2015-04-21 14:08, schrieb Mihamina Rakotomandimby:

 I used to manage network through /etc/network/interfaces.
 Most of my use case are vlans (ie: eth0.1) an aliases (ie: eth1:3)
 My context in headless VMs (no DE, no Xorg, no GUI)

 With Jessie and systemd: is it still managed with
/etc/network/interfaces?


Yes, Debian Jessie still uses /etc/init.d/networking, which reads
/etc/network/interfaces by default. (Even on systemd systems, that
script is executed.)

Two comments here:

 - if you install some network managing daemon, such as
   NetworkManager, then this might override the /etc/network
   configuration, but that is nothing new in Jessie, this was
   already the case in previous Debian versions

 - NFS mounts are now done by systemd itself, so instead of
   using the hook previous Debian versions used to mount NFS
   shares once the interface is active, Jessie now makes
   systemd wait for the network and then lets it mount the
   NFS shares directly.

   (I had NO trouble with NFS mounts on Jessie, with the same
   fstab entries as under Wheezy, so unless you do something
   really weird, the old configuration should still work as
   expected, the mechanism is now just a little different.)


 For the mount component, I found that systemd kind of sources
/etc/fstab and converts it to something for it (so, no worry about
fstab), but how about networking?


There is something called systemd-networkd, which is not
part of Jessie's systemd version, but will (probably) be
part of future Debian versions. This offers an alternative
way to configure networking.

Note, however, that systemd-networkd by default does not
touch any network interfaces, you have to tell it explicitly
to do something - so even if that were to be installed, as
long as the old networking scripts still exist, they'd still
be used instead of systemd's component - and only if you
explicitly configure something there will it actually do
anything.

This doesn't concern Jessie anyway, because it doesn't
contain that program.



To summarize: you should have no surprises under Jessie w.r.t.
network configuration. I've set up a couple of different types
of configuration (even complex ones) with Jessie so far (using
/etc/network/interfaces) and didn't run into any trouble.
didn't have

Christian


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/f696446c00c13830d65358e9ff0c9...@iwakd.de



Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Michael Biebl
Am 21.04.2015 um 16:06 schrieb Michael Biebl:
 If you want to use networkd, you'd have to run
 systemctl enable systemd-network.service

Thats systemctl enable systemd-networkd.service. Note the missing 'd'


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


How to bypass login screen in Jessie?

2015-04-21 Thread German
hi. I'd like to bypass the login screen and boot straight to LXDE desktop. How 
do I accomplish this? I am the only user on this system. Thanks

-- 
German gentger...@gmail.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150421103518.c5e3f6f5fee1e0b25a592...@gmail.com



How do I install the Java jni?

2015-04-21 Thread John J. Boyer
Can't find a package that does it so gcc can find it.

Thanks,

-- 
John J. Boyer; President,
AbilitiesSoft, Inc.
http://www.abilitiessoft.org
Madison, Wisconsin USA
We develop software for people with disabilities which is abailable at 
no cost.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421105605.GA8778@jjb-Vinux



/etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Mihamina Rakotomandimby

Hi all,

I used to manage network through /etc/network/interfaces.
Most of my use case are vlans (ie: eth0.1) an aliases (ie: eth1:3)
My context in headless VMs (no DE, no Xorg, no GUI)

With Jessie and systemd: is it still managed with /etc/network/interfaces?

For the mount component, I found that systemd kind of sources 
/etc/fstab and converts it to something for it (so, no worry about 
fstab), but how about networking?


Thanks.


Re: [OT] Tomcat + 2 app

2015-04-21 Thread Camaleón
El Tue, 21 Apr 2015 12:08:59 -0300, Lacho escribió:

 Estuve viendo algunas de las opciones, pero ninguna me dio resultado.
 Con respecto a lo de welcome-file-list estuve viendo pero me parece
 que no funciona con servlet, por que cuando lo probé la aplicación ni
 siquiera iniciaba.

Si nos dices qué es lo que has probado exactamente y con qué resultados 
mejor, así se puede ir descartando cosas.

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/pan.2015.04.21.15.34...@gmail.com



Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Michael Biebl
Am 21.04.2015 um 16:20 schrieb Mihamina Rakotomandimby:
 https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1374521
 https://github.com/linuxmint/systemd/blob/master/debian/ifup@.service
 
 If my reading and deduction is correct, systemd will call ifup that will
 read /etc/network/interface.
 
 But what is going to detect all interfaces and give them as argument to
 each systemd ifup service call?

The ifup@.service is triggered by a udev rule and responsible to handle
allow-hotplug interfaces.

It basically works the same as in wheezy.
The difference is, that in wheezy, the udev rule [1] called ifup
directly, under systemd it calls
ifup@interface.service, and this service does nothing else then run
ifup interface.

This has the benefit, that systemd can track it properly.

Michael

[1] /lib/udev/rules.d/80-networking.rules

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?




signature.asc
Description: OpenPGP digital signature


Re: boot logo in Jessie?

2015-04-21 Thread Christian Seiler

Am 2015-04-21 17:40, schrieb German:

Is that possible to set up boot logo in Jessie? Black screen during
boot is not nice. Thanks


You should install the plymouth and plymouth-themes packages, and
add the 'splash' option to your bootloader (e.g. /etc/default/grub,
GRUB_CMDLINE_LINUX_DEFAULT setting), that should give you a boot
splash screen.

Also, if you want to have Debian-themed artwork for the boot
screen, install the desktop-base package (if that's not already
there).

Don't forget to run update-grub after updating your grub
configuration.

Christian


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5753c906559db5796cc93aef6aedf...@iwakd.de



Re: reading an empty directory after reboot is very slow

2015-04-21 Thread David Wright
Quoting Vincent Lefevre (vinc...@vinc17.net):
 On 2015-04-20 13:04:41 -0500, David Wright wrote:
  Quoting Vincent Lefevre (vinc...@vinc17.net):
   But with the current solution (no automatic moving of an entry), you
   can't miss an entry that hasn't been removed.
[...]
  ...so if you happen to be reading the entry for file5 at the
  time I typed mv, you'll get the entry for file4 twice, under
  two different names. (Or the opposite.)
 
 OK, so, if the rename(2) system call can reorder the entries (this is
 not quite clear because one doesn't see the empty entries here),

No, and you wouldn't *normally* see them with readdir, I'd suppose.

 then
 there is already a problem with the file system. Getting an entry
 twice under different names is not much a problem, IMHO, because one
 can look at the inode number; there's a race condition, but at worst,
 one can just miss a *new* inode (whose number has been reassigned).
 Missing an existing entry is a problem.

...easily demonstrated with

~ $ for j in 1 2 3 4 5 6 ; do mkdir /tmp/testdir/file$j ; done
~ $ ls -lU /tmp/testdir
total 24
drwxr-x--- 2 david david 4096 Apr 21 10:58 file1
drwxr-x--- 2 david david 4096 Apr 21 10:58 file4
drwxr-x--- 2 david david 4096 Apr 21 10:58 file5
drwxr-x--- 2 david david 4096 Apr 21 10:58 file6
drwxr-x--- 2 david david 4096 Apr 21 10:58 file2
drwxr-x--- 2 david david 4096 Apr 21 10:58 file3
~ $ mv -i /tmp/testdir/file3 
/tmp/testdir/file3file3file3file3file3file3file3file3file3file3file3file3file3
~ $ ls -lU /tmp/testdir
total 24
drwxr-x--- 2 david david 4096 Apr 21 10:58 file1
drwxr-x--- 2 david david 4096 Apr 21 10:58 file4
drwxr-x--- 2 david david 4096 Apr 21 10:58 file5
drwxr-x--- 2 david david 4096 Apr 21 10:58 
file3file3file3file3file3file3file3file3file3file3file3file3file3
drwxr-x--- 2 david david 4096 Apr 21 10:58 file6
drwxr-x--- 2 david david 4096 Apr 21 10:58 file2
~ $ 

where file3 goes AWOL.

 What do the backup systems do?

I don't know. Lock the directory and slurp it (if it's not too big),
otherwise check the modification time before and after reading it,
and reread it if necessary, maybe...

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421160558.GA32498@alum



boot logo in Jessie?

2015-04-21 Thread German
Is that possible to set up boot logo in Jessie? Black screen during boot is not 
nice. Thanks

-- 
German gentger...@gmail.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150421114038.f2f8a0445e7dadc07c48f...@gmail.com



Re: OT [Una de bash muy buena...]

2015-04-21 Thread Adrià
On Tue, Apr 21, 2015 at 05:13:50PM +0200, Maykel Franco wrote:
Buenas, llevo unas 2 h intentando realizar esto pero soy incapaz...
Necesito de esta linea por ejemplo:

 [{type:07,number:2705045091096},{type:01,number:2788156539794}{type:08,number:2748168531483}
Me gustaría sacar solo los numeros después de number: , por ejemplo,
solo sacar esto:
2705045091096
2788156539794
2748168531483
He mirado con grep, awk , sed, cut... Soy incapaz...
Alguien podría hecharme un cable?
Gracias de antemano.

¿Y tiene que ser en Bash? Porque lenguajes como Python tienen módulos
para tratar Json que justamente sirven para esto.

Por cierto, recuerda enviar correos en texto plano.

-- 
Adrià García-Alzórriz
0x09494C14
You will attract cultured and artistic people to your home.


signature.asc
Description: Digital signature


Re: OT [Una de bash muy buena...]

2015-04-21 Thread Zeque
El 04/21/2015 12:13 PM, Maykel Franco escribió:
 Buenas, llevo unas 2 h intentando realizar esto pero soy incapaz...
 
 Necesito de esta linea por ejemplo:
 
 [{type:07,number:2705045091096},{type:01,number:2788156539794}{type:08,number:2748168531483}
 
 Me gustaría sacar solo los numeros después de number: , por ejemplo, solo
 sacar esto:
 
 2705045091096
 2788156539794
 2748168531483
 
 He mirado con grep, awk , sed, cut... Soy incapaz...
 
 Alguien podría hecharme un cable?
 
 Gracias de antemano.
 

Maykel

Prueba con esto
echo
'[{type:07,number:2705045091096},{type:01,number:2788156539794}{type:08,number:2748168531483}'|
grep -o --color -E [0-9]{13}

El echo lo hice para simular la busqueda.
Grep -o es para que solo muestre lo que dió con la busqueda

Saludos!





-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55366cb4.5040...@fibertel.com.ar



Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Christian Seiler

Am 2015-04-21 16:20, schrieb Mihamina Rakotomandimby:

Thank you Christian,

Just to be sure, I saw that:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1374521
https://github.com/linuxmint/systemd/blob/master/debian/ifup@.service


I think that's Ubuntu-specific; even though ifup@.service is
installed on Debian systems, at least on my Jessie box it's
never been activated (on a system that actually uses
/etc/network/interfaces) - at least systemctl says so.


If my reading and deduction is correct, systemd will call ifup that
will read /etc/network/interface.


systemd just starts /etc/init.d/networking on my systems (the
same script that is also used under Wheezy, Squeeze, Lenny,
etc.) and that in turn calls ifup in the same way it has
previously been called under Wheezy etc.

I don't see it starting ifup@.service anywhere.

Michael, what's up with that service?

Christian


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/ab3a2faf9b8a5cbe7dd2dc63513c4...@iwakd.de



Re: OT [Una de bash muy buena...]

2015-04-21 Thread Camaleón
El Tue, 21 Apr 2015 12:28:52 -0300, Zeque escribió:

 El 04/21/2015 12:13 PM, Maykel Franco escribió:
 Buenas, llevo unas 2 h intentando realizar esto pero soy incapaz...
 
 Necesito de esta linea por ejemplo:
 
 [{type:07,number:2705045091096},
{type:01,number:2788156539794}
{type:08,number:2748168531483}
 
 Me gustaría sacar solo los numeros después de number: , por ejemplo,
 solo sacar esto:
 
 2705045091096 2788156539794 2748168531483
 
 He mirado con grep, awk , sed, cut... Soy incapaz...
 
 Alguien podría hecharme un cable?
 
 
 Prueba con esto echo
 '[{type:07,number:2705045091096},
{type:01,number:2788156539794}
{type:08,number:2748168531483}'|
 grep -o --color -E [0-9]{13}
 
 El echo lo hice para simular la busqueda.
 Grep -o es para que solo muestre lo que dió con la busqueda

Ojo que ese filtro sólo sirve para campos con 13 caracteres numéricos.

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/pan.2015.04.21.15.55...@gmail.com



Re: [Jessie] Anomalie

2015-04-21 Thread haricoph...@aranha.fr
Le Tue, 21 Apr 2015 20:44:06 +0200,
Yannick VOYEAUD yann...@voyeaud.org a écrit :

 Au passage comment virer complètement Gnome sans casser MATE?

En allant à la pêche. Ça dépend un peu de ce qui est installé, déjà vire
gdm3 qui devient envahissant, et regarde côté gnome-session
gnome-shell... pour ce genre d'opération, synaptic en graphique c'est
probablement plus confortable.

-- 
haricoph...@aranha.fr 

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421235009.054110db@azuki.jisui



Re: How do I install the Java jni?

2015-04-21 Thread Liam O'Toole
On 2015-04-21, John J. Boyer john.bo...@abilitiessoft.org wrote:
 Can't find a package that does it so gcc can find it.

 Thanks,


Do you mean that gcc can't find jni.h? It's included with the JDK. You
need to add something like '-I/usr/lib/jvm/java-7-openjdk-i386/include'
when invoking gcc.

-- 

Liam



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmjdbhv.5un.liam.p.otoole@dipsy.tubbynet



Re: [OT] Tomcat + 2 app

2015-04-21 Thread Carlos Manuel Escalona Villeda
Sí, mira acá está la documentación:

https://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html



El mar., 21 de abr. de 2015 a la(s) 2:34 p. m., Lacho 
marcoscapel...@gmail.com escribió:

 Hola,

 La configuración que me decís, es en server.xml ? o crear virtualhost
 con apache ?
 --
 Lacho:~#


 --
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: https://lists.debian.org/5536a624.3030...@gmail.com




Re: Debian 7 and external monitors and graphics adaptors

2015-04-21 Thread David Wright
Quoting Chris Bannister (cbannis...@slingshot.co.nz):
 On Sun, Apr 19, 2015 at 04:03:37PM +, Curt wrote:
  On 2015-04-19, Cindy-Sue Causey butterflyby...@gmail.com wrote:
  
   With this many others of us not having any problems on multiple
   various browsers, I wonder what (other) secondary things might be
  
  2 is 'many' in your book?
 
 Don't confuse primary and secondary with counting. Think 'primary =
 main' and 'secondary = subsidary' for example. 'There could be a number
 of primary concerns' is a valid English sentence.

I don't think you and I are interpreting 2 in the same manner.
Curt has counted the number of general successes from people (other
than me), ie Lisi and Cindy-Sue. Hence his surprise at Cindy-Sue's
phrase this many others of us.

AFAICT from the postings, there was only 1 report of success with
iceweasel, that from Lisi. (It increased to 2 only when Ric posted.)
Encouraged by these reports, I shall revisit the problem with
iceweasel. I had been afraid that I would have been wasting my time.

I shall now tinker with subsidary [sic] parameters in iceweasel to
see if I can get the username/password boxes to appear. I don't yet
feel comfortable with the look and feel of chromium (rather like
the new google maps).

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421203513.GC32498@alum



Re: Need help fixing an unhandled irq

2015-04-21 Thread Kynn Jones
On Tue, Apr 21, 2015 at 8:49 PM, Kynn Jones kyn...@gmail.com wrote:

 Looking at the output from `/proc/interrupts`

  CPU0   CPU1   CPU2   CPU3
 0: 53  0  0  0
 IR-IO-APIC-edge  timer
 1:  3  0  0  0
 IR-IO-APIC-edge  i8042
 8:  1  0  0  0
 IR-IO-APIC-edge  rtc0
 9:  0  0  0  0
 IR-IO-APIC-fasteoi   acpi
12:  4  0  0  0
 IR-IO-APIC-edge  i8042
 *  16:  29065  0  0  0
 IR-IO-APIC-fasteoi   ehci_hcd:usb1, snd_hda_intel
23:  37100  0  0  0
 IR-IO-APIC-fasteoi   ehci_hcd:usb2
40:  0  0  0  0  DMAR_MSI-edge
 dmar0
41:  0  0  0  0  DMAR_MSI-edge
 dmar1
42:  11425  0  0  0
 IR-PCI-MSI-edge  eth0
43:  53906  0  0  0
 IR-PCI-MSI-edge  ahci
44: 60  0  0  0
 IR-PCI-MSI-edge  xhci_hcd
 *  45:235  0  0  0
 IR-PCI-MSI-edge  snd_hda_intel
   NMI:102 60 51 95   Non-maskable
 interrupts
   LOC:  67413  40257  57679  43949   Local timer
 interrupts
   SPU:  0  0  0  0   Spurious
 interrupts
   PMI:102 60 51 95   Performance
 monitoring interrupts
   IWI:  0  0  0  0   IRQ work
 interrupts
   RES: 150105 180510 183193 156750   Rescheduling
 interrupts
   CAL:396638603655   Function call
 interrupts
   TLB:   2362   3182   3646   3919   TLB shootdowns
   TRM:  0  0  0  0   Thermal event
 interrupts
   THR:  0  0  0  0   Threshold APIC
 interrupts
   MCE:  0  0  0  0   Machine check
 exceptions
   MCP: 13 13 13 13   Machine check
 polls
   ERR:  0
   MIS:  0


 ...I see that for irq 16 there are two entries in the last column:
 ehci_hcd:usb1 and snd_hda_intel, and that there is another snd_hda_intel
 entry for irq 45.  (See the rows indicated by the added asterisks.)

 (FWIW, the system's sound is fine AFAICT.)

 I see a glimmer of hope in this (apparent?) redundancy.  My thinking goes
 like this: (1) *maybe* the snd_hda_intel listed for interrupt 16 is what's
 responsible for the unhandled interrupt, and (2) *maybe* this snd_hda_intel
 can be disabled altogether, in light of the snd_hda_intel listed for
 interrupt 45?  But I really don't know what I'm talking about.  More
 importantly, even if these wishful guesses turn out to be correct, I don't
 know how to go about disabling the snd_hda_intel associated with irq 16.




OK, I found a way to turn off one of the two snd_hda_intel, but it turned
out to be the one on IRQ 45.  (In any case, doing this did not solve the
problem.)

The method I used was

1. find the prefix of the audio device(s) in the output of lspci
2. search for a path under /sys/devices with this prefix in the basename
3. add a line of the form

echo 1  /path/found/in/previous/step/remove

When did step (1) I found two candidate prefixes 00:03.0 and 00.1b.0, from
the lines

00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller
(rev 06)
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition
Audio Controller (rev 04)

but in step (2) I was able to find only one matching path, namely

/sys/devices/pci:00/:00:1b.0

I went ahead and added the line

echo 1  /sys/devices/pci:00/:00:1b.0/remove

to /etc/rc.local, and rebooted.  Then I saw that the line

45:235  0  0  0  IR-PCI-MSI-edge
snd_hda_intel

was missing from the listing from /proc/interrupts, but the line

 16:  18185  0  0  0  IR-IO-APIC-fasteoi
ehci_hcd:usb1, snd_hda_intel

was still there.  Not surprisingly (given that the situation for IRQ 16
appears unchanged), the original problem with the lagging mouse persists.


But at least now I've narrowed my question to: how to turn off

00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller
(rev 06)

?

Does anyone have any ideas?

Thanks in advance!

kj


Re: Need help fixing an unhandled irq

2015-04-21 Thread James

What kind of connection for the mouse?
Does unplugging it and plugging it back in help?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/55370174.5090...@lockie.ca



Re: Debian 7 and external monitors and graphics adaptors

2015-04-21 Thread John Hasler
Celejar writes:
 I run my main browser instance with all JavaScript disabled…

I wrote:
 So do I.  Lots of sites put up banners warning me that some features
 may not operate properly without JS but generally those are exactly the
 features that I specifically don't want.  A few other sites really
 won't work usefully without JS.  In that case I either go elsewhere or
 temporarily enable JS for that site only.

Celejar writes:
 I do find that lots of sites I need won't work without JS,
 particularly banking and commercial sites.

Yes, I guess it's true that I usually have to turn JS on to place
orders.  I don't do any online banking.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87iocooobm@thumper.dhh.gt.org



Re: Debian 7 and external monitors and graphics adaptors

2015-04-21 Thread Celejar
On Sat, 18 Apr 2015 20:51:58 -0500
John Hasler jhas...@newsguy.com wrote:

 Celejar writes:
  I run my main browser instance with all JavaScript disabled…
 
 So do I.  Lots of sites put up banners warning me that some features
 may not operate properly without JS but generally those are exactly the
 features that I specifically don't want.  A few other sites really
 won't work usefully without JS.  In that case I either go elsewhere or
 temporarily enable JS for that site only.

I do find that lots of sites I need won't work without JS, particularly
banking and commercial sites.

Celejar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150421224831.1114cbe1f11ff38c8f7d4...@gmail.com



Re: can't automatically launch lxde

2015-04-21 Thread Gary Dale

On 21/04/15 08:21 PM, James wrote:
I installed lxde as a gui desktop but I can't get it to run 
automatically.

I need to login as me and then do sudo kdm (sudo lxdm doesn't work).


It sounds like kdm isn't starting automatically, so you probably don't 
have any gui starting (is this correct?).


You probably have kdm or lxdm installed but not both, which is why only 
one starts. Lxdm is not a Debian package so if you are running Debian, 
that would explain it.


The easiest way to fix the problem may be to:

sudo apt-get purge kdm
sudo apt-get install kdm

This should fix any corruption that may have occurred and should set up 
kdm to run on startup. If you prefer lxdm, simply change the install 
line to lxdm (assuming that you are running Ubuntu).



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/553719ae.4050...@torfree.net



Installing open-vm-tools in Debian Wheezy

2015-04-21 Thread Eric Gamess
Hello all,

I am trying to install open-vm-tools in Debian 7.8 i386.
I tried:
   apt-get install open-vm-tools


And I got an error message:
Error!  Build of vmhgfs.ko failed for: 3.2.0-4-686-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/open-vm-tools/2012.05.21/build/ for more information.
Setting up open-vm-tools (2:8.8.0+2012.05.21-724730-1+nmu2) ...
FATAL: Module vmhgfs not found.
FATAL: Module vmsync not found.


Some web pages recommend to install open-vm-source. But there is
no such packet in Debian Wheezy.

By the way, it seems that the problem is during the compilation
of file:
/var/lib/dkms/open-vm-tools/2012.05.21/build/vmhgfs/inode.c

What should I do
Thank you.

Eric.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/37ebcc48-a770-4b89-aab7-4696f1fe8...@googlegroups.com



python3-xlib lost in Debian

2015-04-21 Thread mudongliang
Today I try to install a software - youdao dict.
First I try it in vmware machine: Linuxmint and Ubuntu. It can succeed!
But when I do it in Debian , it fails ; And the reason is the lost of
python3-xlib.
So I search in the web page of Debian: this package is not contained by
Debian Jessie or Squeeze! The same to Ubuntu , it has.
What happens about this package?

mudongliang 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/blu436-smtp52d2a737168b54afae43d9bc...@phx.gbl



Grub is not showing after install debian on windows 8.1 laptop

2015-04-21 Thread ??????
I tried to install debian whizzey into my laptop which runs windows 8.1 now, 
and the last step i have chosen to install grub with mbr.
Then it asked me to reboot, after reboot, there is no grub and directly 
launching the windows as normal.


Can anyone help?
How can i get the grub to be shown before windows is showing?

Re: Can't send mail with Jessie

2015-04-21 Thread Paul E Condon
On 20150421_1048-0600, Paul E Condon wrote:
 On 20150421_1137-0500, John J. Boyer wrote:
  I am using msmtp to send mail. However, I get the error Remote protocol 
  errot. The log file shows TLS handshake filed. Operation timed out. 
  There is no problem on an older Vinux system, which I am using to send 
  this message. The author of msmtp tells me that the problem is most 
  likely with the new version of the gnuTLS library that Jessie uses. If 
  this is the case the same problem would occur with exim4 or nullmailer. 
  Is there a way to get the older version of gnuTLS and protect it from 
  updating? What else would you suggest?
  
  Thanks,
 
 If you see this reply, msmtp is working for me in Jessie.
 HTH
 Cheers,

The above reads like a brush-off. I want to add a few more friendly
words. I have been using msmtp for over a year. I started using it
soon after qpopper was dropped from Debian.

All through the time I have been struggling with my transition from
Wheezy to Jessie, msmtp was one thing that worked without trouble or
tweeking.

If you are new to msmtp, post your .msmtprc. I do remember that when I
first started using it I did have difficulty understanding the
instructions. Maybe whatever it was that bothered me, is also the
problem that you are having.  Have you looked at .msmtp.log or
whatever you chose to call its activity log? I think doing that
helped me in my early days with it.

HTH
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421230913.ga2...@big.lan.gnu



Re: boot-time messages, /init touch not found

2015-04-21 Thread songbird
Mike Kupfer wrote:

 Hi, after updating a jessie VM, I noticed a message during boot, before
 lightdm started.  The message was something like

   /init [stuff I didn't catch] touch: not found

 After logging in, I tried using journalctl to find the message, with no
 success.  Is journalctl the right tool to find the message?  If not,
 what is?

  Mike, i'm not running a VM and have the same 
message showing up.

  it is in the early boot stage so you might need
some other way to capture the message, there used
to be a package called bootlog, but i don't know
how well it works with systemd.

  doesn't seem to be affecting anything or preventing
my system from coming up so i've ignore it until i
saw your note.  likely someone changed a script in 
the early boot process that now uses the command 
touch when it should not be assumed to exist yet...

  sorry, i'm short on time to dig into this further
but i wanted to reply at least to know you were 
heard.  :)


  songbird


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/892j0c-on1@id-306963.user.uni-berlin.de



can't automatically launch lxde

2015-04-21 Thread James

I installed lxde as a gui desktop but I can't get it to run automatically.
I need to login as me and then do sudo kdm (sudo lxdm doesn't work).


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5536e990.7060...@lockie.ca



Need help fixing an unhandled irq

2015-04-21 Thread Kynn Jones
When my computer returns from sleep, the mouse has a lag so severe that any
operation dependent on use of the mouse becomes all but impossible.

Looking at the kernel logs I found a message that seems to be related to
the problem described above; it's about an unhandled irq:

Apr 21 21:51:04 capitan kernel: [   61.599288] irq 16: nobody cared
(try booting with the irqpoll option)
Apr 21 21:51:04 capitan kernel: [   61.599300] Pid: 0, comm: swapper/0
Not tainted 3.2.0-4-amd64 #1 Debian 3.2.65-1+deb7u2
Apr 21 21:51:04 capitan kernel: [   61.599305] Call Trace:
Apr 21 21:51:04 capitan kernel: [   61.599309]  IRQ
[81092ddd] ? __report_bad_irq+0x2c/0xb5
Apr 21 21:51:04 capitan kernel: [   61.599331]  [810931e2] ?
note_interrupt+0x1b8/0x23a
Apr 21 21:51:04 capitan kernel: [   61.599339]  [81091554] ?
handle_irq_event_percpu+0x15f/0x17d
Apr 21 21:51:04 capitan kernel: [   61.599346]  [810915a6] ?
handle_irq_event+0x34/0x52
Apr 21 21:51:04 capitan kernel: [   61.599356]  [8106c305] ?
arch_local_irq_save+0x11/0x17
Apr 21 21:51:04 capitan kernel: [   61.599364]  [81093959] ?
handle_fasteoi_irq+0x7c/0xaf
Apr 21 21:51:04 capitan kernel: [   61.599374]  [8100fa51] ?
handle_irq+0x1d/0x21
Apr 21 21:51:04 capitan kernel: [   61.599382]  [8100f62a] ?
do_IRQ+0x42/0x98
Apr 21 21:51:04 capitan kernel: [   61.599392]  [813511ae] ?
common_interrupt+0x6e/0x6e
Apr 21 21:51:04 capitan kernel: [   61.599396]  EOI
[81024404] ? lapic_next_event+0xe/0x13
Apr 21 21:51:04 capitan kernel: [   61.599429]  [a01c835b] ?
arch_local_irq_enable+0x7/0x8 [processor]
Apr 21 21:51:04 capitan kernel: [   61.599442]  [a01c90b3] ?
acpi_idle_enter_c1+0x8d/0xb3 [processor]
Apr 21 21:51:04 capitan kernel: [   61.599452]  [8127180d] ?
cpuidle_idle_call+0xec/0x179
Apr 21 21:51:04 capitan kernel: [   61.599461]  [8100d242] ?
cpu_idle+0xa5/0xf2
Apr 21 21:51:04 capitan kernel: [   61.599470]  [816aab3b] ?
start_kernel+0x3bd/0x3c8
Apr 21 21:51:04 capitan kernel: [   61.599479]  [816aa140] ?
early_idt_handlers+0x140/0x140
Apr 21 21:51:04 capitan kernel: [   61.599487]  [816aa3c4] ?
x86_64_start_kernel+0x104/0x111
Apr 21 21:51:04 capitan kernel: [   61.599491] handlers:
Apr 21 21:51:04 capitan kernel: [   61.599508] [a000c216]
usb_hcd_irq
Apr 21 21:51:04 capitan kernel: [   61.599517] [a02d0cbd]
azx_interrupt
Apr 21 21:51:04 capitan kernel: [   61.599522] Disabling IRQ #16


Looking at the output from `/proc/interrupts`

 CPU0   CPU1   CPU2   CPU3
0: 53  0  0  0
IR-IO-APIC-edge  timer
1:  3  0  0  0
IR-IO-APIC-edge  i8042
8:  1  0  0  0
IR-IO-APIC-edge  rtc0
9:  0  0  0  0
IR-IO-APIC-fasteoi   acpi
   12:  4  0  0  0
IR-IO-APIC-edge  i8042
*  16:  29065  0  0  0
IR-IO-APIC-fasteoi   ehci_hcd:usb1, snd_hda_intel
   23:  37100  0  0  0
IR-IO-APIC-fasteoi   ehci_hcd:usb2
   40:  0  0  0  0  DMAR_MSI-edge
dmar0
   41:  0  0  0  0  DMAR_MSI-edge
dmar1
   42:  11425  0  0  0
IR-PCI-MSI-edge  eth0
   43:  53906  0  0  0
IR-PCI-MSI-edge  ahci
   44: 60  0  0  0
IR-PCI-MSI-edge  xhci_hcd
*  45:235  0  0  0
IR-PCI-MSI-edge  snd_hda_intel
  NMI:102 60 51 95   Non-maskable
interrupts
  LOC:  67413  40257  57679  43949   Local timer
interrupts
  SPU:  0  0  0  0   Spurious interrupts
  PMI:102 60 51 95   Performance
monitoring interrupts
  IWI:  0  0  0  0   IRQ work interrupts
  RES: 150105 180510 183193 156750   Rescheduling
interrupts
  CAL:396638603655   Function call
interrupts
  TLB:   2362   3182   3646   3919   TLB shootdowns
  TRM:  0  0  0  0   Thermal event
interrupts
  THR:  0  0  0  0   Threshold APIC
interrupts
  MCE:  0  0  0  0   Machine check
exceptions
  MCP: 13 13 13 13   Machine check polls
  ERR:  0
  MIS:  0


...I see that for irq 16 there are two entries in the last column:
ehci_hcd:usb1 and snd_hda_intel, and that there is another snd_hda_intel
entry for irq 45.  (See the rows indicated 

Re: apt-get upgrade: packages have been kept back

2015-04-21 Thread ML mail
Yes that totally makes sense, I was actually reading the man page but I did not 
 understand what was the big difference in my case with the OpenJDK packages. I 
only saw that it had to install an additional and new package, maybe that made 
it classify more for a dist-upgrade. Because else it was supposed to be a 
security upgrade so in theory there shouldn't be any wild modifications. 


 On Tuesday, April 21, 2015 12:21 PM, Patrick Weiden 
patr...@dieweidens.de wrote:
   

 Hi,

as the manpage of apt-get tells:

[...]
upgrade
   upgrade is used to install the newest versions of all packages 
currently installed on the system from the sources enumerated in
   /etc/apt/sources.list. Packages currently installed with new 
versions available are retrieved and upgraded; under no circumstances are 
currently
   installed packages removed, or packages not already installed 
retrieved and installed. **New versions of currently installed packages that 
cannot be
   upgraded without changing the install status of another package will 
be left at their current version.** An update must be performed first so that
   apt-get knows that new versions of packages are available.

dist-upgrade
   dist-upgrade in addition to performing the function of upgrade, also 
intelligently handles changing dependencies with new versions of packages;
   apt-get has a smart conflict resolution system, and it will 
attempt to upgrade the most important packages at the expense of less important 
ones
   if necessary. The dist-upgrade command may therefore remove some 
packages. The /etc/apt/sources.list file contains a list of locations from which
   to retrieve desired package files. See also apt_preferences(5) for a 
mechanism for overriding the general settings for individual packages.
[...]

I have marked the - in my opinion - important and interesting sentence inside 
the upgrade part with two stars, which should be applying here. I hope this 
helps.

Best regards,
Patrick


On Tue, Apr 21, 2015 at 11:59 AM, ML mail mlnos...@yahoo.com wrote:

Hi Patrick


dist-upgrade did it. Now as a general rule is it safe to use a dist-upgrade in 
a production environment? I suppose there is a good reason for having upgrade 
and dist-upgrade.

Regards
ML


On Tuesday, April 21, 2015 11:39 AM, Patrick Weiden patr...@dieweidens.de 
wrote:



Hi,

have you tried an apt-get dist-upgrade?
Some packages won't be upgraded by the apt-get upgrade operation. Please try 
the first and tell us the results. Thanks!

Cheers,
Patrick




On Tue, Apr 21, 2015 at 11:26 AM, ML mail mlnos...@yahoo.com wrote:

Hi,

I was wondering why an apt-get upgradeon my Debian wheezy box does not want 
to update the OpenJDK packages as you can see below:


shell$ apt-get upgrade


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre openjdk-6-jre-headless 
openjdk-6-jre-lib
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Anyone has an idea why they are all kept back? Is something broken on my side 
maybe?

Regards
ML


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/947300723.1245321.1429608381379.javamail.ya...@mail.yahoo.com




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1448263282.1248593.1429610360116.javamail.ya...@mail.yahoo.com





  

RE: I need guidance about how to configure a newly installed Jessie ... great progress

2015-04-21 Thread Bonno Bloksma
Hi,

Also 'Expert' doesn't really imply that that user is an expert.

It does to me. Strange name choice if that is not the case.
 
 Would advanced setup be better? Ric
 
 Yeah it would, it implies access to finer grained features than to the skill 
 level of the person installing. 

 Could be just me that sees it that way though. :)

Nope, I think you are absolutely right. I never selected Expert install as I 
am in no way an Expert, but it seems I should have.

I definitely understand pretty much all that is offered there.
I might not use it all but Advanced covers better what the option intends to 
offer.

Bonno Bloksma


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/89d1798a7351d040b4e74e0a043c69d7cdfa4...@einexch-01.tio.nl



Re: apt-get upgrade: packages have been kept back

2015-04-21 Thread Patrick Weiden
Hi,

as the manpage of apt-get tells:

[...]
upgrade
   upgrade is used to install the newest versions of all packages
currently installed on the system from the sources enumerated in
   /etc/apt/sources.list. Packages currently installed with new
versions available are retrieved and upgraded; under no circumstances are
currently
   installed packages removed, or packages not already installed
retrieved and installed. **New versions of currently installed packages
that cannot be
   upgraded without changing the install status of another package
will be left at their current version.** An update must be performed first
so that
   apt-get knows that new versions of packages are available.

dist-upgrade
   dist-upgrade in addition to performing the function of upgrade,
also intelligently handles changing dependencies with new versions of
packages;
   apt-get has a smart conflict resolution system, and it will
attempt to upgrade the most important packages at the expense of less
important ones
   if necessary. The dist-upgrade command may therefore remove some
packages. The /etc/apt/sources.list file contains a list of locations from
which
   to retrieve desired package files. See also apt_preferences(5)
for a mechanism for overriding the general settings for individual packages.
[...]

I have marked the - in my opinion - important and interesting sentence
inside the upgrade part with two stars, which should be applying here. I
hope this helps.

Best regards,
Patrick


On Tue, Apr 21, 2015 at 11:59 AM, ML mail mlnos...@yahoo.com wrote:

 Hi Patrick


 dist-upgrade did it. Now as a general rule is it safe to use a
 dist-upgrade in a production environment? I suppose there is a good reason
 for having upgrade and dist-upgrade.

 Regards
 ML


 On Tuesday, April 21, 2015 11:39 AM, Patrick Weiden patr...@dieweidens.de
 wrote:



 Hi,

 have you tried an apt-get dist-upgrade?
 Some packages won't be upgraded by the apt-get upgrade operation. Please
 try the first and tell us the results. Thanks!

 Cheers,
 Patrick




 On Tue, Apr 21, 2015 at 11:26 AM, ML mail mlnos...@yahoo.com wrote:

 Hi,
 
 I was wondering why an apt-get upgradeon my Debian wheezy box does not
 want to update the OpenJDK packages as you can see below:
 
 
 shell$ apt-get upgrade
 
 
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages have been kept back:
 icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre
 openjdk-6-jre-headless openjdk-6-jre-lib
 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
 
 Anyone has an idea why they are all kept back? Is something broken on my
 side maybe?
 
 Regards
 ML
 
 
 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/947300723.1245321.1429608381379.javamail.ya...@mail.yahoo.com
 
 


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/1448263282.1248593.1429610360116.javamail.ya...@mail.yahoo.com




Re: I need guidance about how to configure a newly installed Jessie ... great progress

2015-04-21 Thread Brian
On Tue 21 Apr 2015 at 11:30:55 +, Bonno Bloksma wrote:

 Also 'Expert' doesn't really imply that that user is an expert.
 
 It does to me. Strange name choice if that is not the case.
  
  Would advanced setup be better? Ric
  
  Yeah it would, it implies access to finer grained features than to the 
  skill level of the person installing. 
 
  Could be just me that sees it that way though. :)
 
 Nope, I think you are absolutely right. I never selected Expert install as
 I am in no way an Expert, but it seems I should have.
 
 I definitely understand pretty much all that is offered there.
 I might not use it all but Advanced covers better what the option intends
 to offer.

What does it offer that is more advanced than what is offered by
partitioning and installing GRUB in the regular install?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/21042015124519.bc310f923...@desktop.copernicus.demon.co.uk



Re: Can't send mail with Jessie

2015-04-21 Thread Paul E Condon
On 20150421_1137-0500, John J. Boyer wrote:
 I am using msmtp to send mail. However, I get the error Remote protocol 
 errot. The log file shows TLS handshake filed. Operation timed out. 
 There is no problem on an older Vinux system, which I am using to send 
 this message. The author of msmtp tells me that the problem is most 
 likely with the new version of the gnuTLS library that Jessie uses. If 
 this is the case the same problem would occur with exim4 or nullmailer. 
 Is there a way to get the older version of gnuTLS and protect it from 
 updating? What else would you suggest?
 
 Thanks,

If you see this reply, msmtp is working for me in Jessie.
HTH
Cheers,
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421164815.gd6...@big.lan.gnu



iptables SNAT,DNAT y caso extraño que no funciona

2015-04-21 Thread sio2
Un saludo a la lista:

He estado jugueteando con iptables y me he encontrado con un caso en el
que no funciona como yo me esperaba. De hecho, me parece que no debería
funcionar así, pero me gustaría que alguien opinara al respecto.

El supuesto es el siguiente:

Máquina 1  192.168.255.2
   |
  Cortafuegos -+
 192.168.255.1 |
Máquina 2  192.168.255.3


O sea las tres máquinas están en la misma red. La prueba consiste en
enviar un ping de M1 a M2, pero pasando por el cortafuegos, de modo que
M1 cree que le responde el cortafuegos y M2 que quien le hace ping es
también el cortafuegos.

De este supuesto he hecho tres casos distintos:

Caso A) El cortafuegos escucha en la red a través de eth2.

Caso B) M1 y M2 están en dos segmentos distintos de la red, que se
   encuentran unidos gracias al cortafuegos. En este caso, eth1 conecta
   con el segmento de M1 y eth2 conecta con el segmento de M2. eth1 y
   eth2 están dentro de una interfaz puente br0.

Caso C) Como B) se monta una interfaz puente br0, pero M1 y M2 caen en
   el mismo segmento de RED, así que los paquetes siempre salen y entran
   por eth1.


Para lograr que M1 y M2 crean que se está comunicando con el cortafuegos
y no entre ellas, he usado SNAT y DNAT. Para el caso A):

# iptables -t nat -A PREROUTING -i eth2 -p icmp \
  -j DNAT --to-destination 192.168.255.3
# iptables -t nat -A POSTROUTING -o eth2 -p icmp -m conntrack --ctstate DNAT \
  -j SNAT --to-source 192.168.255.1

Y para el B) y C) lo mismo pero sustituyendo eth2 por br0. Además para
estar seguro de que M2 sólo es capaz de comunicarse con el cortafuegos:

# iptables -A INPUT -p icmp ! -s 192.168.255.1 -j DROP
# iptables -A OUTPUT -p icmp ! -d 192.168.255.1 -j DROP

Pues bien si en M1 hago:

$ ping -c1 192.168.255.1

Se obtiene respuesta perfectamente en el caso A) y B), pero no en el C).
Pero lo más curioso del asunto, es que si en el caso C), me pongo a
escuchar con tcpdump la interfaz br0 del cortafuegos a ver si saco algo
en claro, śí funciona. :/

Las salidas de tcpdump en el cortafuegos son:

Caso A)

# tcpdump -ni eth1 icmp
18:02:24.110695 IP 192.168.255.2  192.168.255.1: ICMP echo request, etc.
18:02:24.110779 IP 192.168.255.1  192.168.255.3: ICMP echo request, etc.
18:02:24.111491 IP 192.168.255.3  192.168.255.1: ICMP echo reply, etc.
18:02:24.111510 IP 192.168.255.1  192.168.255.2: ICMP echo reply, etc.

Caso B)

# tcpdump -ni eth1 icmp
17:36:57.270693 IP 192.168.255.2  192.168.255.1: ICMP echo request, etc.
17:36:57.271098 IP 192.168.255.1  192.168.255.2: ICMP echo reply, etc.

# tcpdump -ni eth2 icmp 
 
17:36:40.651471 IP 192.168.255.1  192.168.255.3: ICMP echo request, etc.
17:36:40.651928 IP 192.168.255.3  192.168.255.1: ICMP echo reply, etc.

Caso C)
# tcpdump -ni eth1 icmp
18:27:36.902663 IP 192.168.255.2  192.168.255.1: ICMP echo request, etc.

#tcpdump -ni br0 icmp
18:28:23.735113 IP 192.168.255.2  192.168.255.3: ICMP echo request, etc.
18:28:23.735171 IP 192.168.255.1  192.168.255.3: ICMP echo request, etc.
18:28:23.735536 IP 192.168.255.3  192.168.255.2: ICMP echo reply, etc.
18:28:23.735547 IP 192.168.255.1  192.168.255.2: ICMP echo reply, etc.

Esta última monitorizacióm no sé cómo interpretarla. La lógica sería la
del caso A.

-- 
   Harto sabe, si me sabe bien.
  --- Francisco de Quevedo ---


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421163130.ga5...@cubo.casa



Re: I need guidance about how to configure a newly installed Jessie ... great progress

2015-04-21 Thread Paul E Condon
On 20150421_1248+0100, Brian wrote:
 On Tue 21 Apr 2015 at 11:30:55 +, Bonno Bloksma wrote:
 
  Also 'Expert' doesn't really imply that that user is an expert.
  
  It does to me. Strange name choice if that is not the case.
   
   Would advanced setup be better? Ric
   
   Yeah it would, it implies access to finer grained features than to the 
   skill level of the person installing. 
  
   Could be just me that sees it that way though. :)
  
  Nope, I think you are absolutely right. I never selected Expert install as
  I am in no way an Expert, but it seems I should have.
  
  I definitely understand pretty much all that is offered there.
  I might not use it all but Advanced covers better what the option intends
  to offer.
 
 What does it offer that is more advanced than what is offered by
 partitioning and installing GRUB in the regular install?

In my case it offered the option of manual entry of an IP address for
the computer, as opposed to letting DHCP provide an IP address. 

For experts, 'Expert install' apparently offers a check-list of things
to decide this time, like the pre-flight check-list for airplane
pilots. Experts in any topic tend like and use check-list, IMHO.

I learned that almost no one who has deep experience and real
expertise regularly uses the non-expert path and thus can understand
what a newbie is talking about when the newbie is asking for help with
the most recent implementation of netinst. Knowing the context of a
question is important to giving focused comment and help. I see this
as a problem worth thinking about.

I have no idea for a realistic solution. I don't believe any newbie
reads ALL the documentation that is available just a few mouse clicks
away from www.debian.org. Everyone has a point where they decide they
are ready to try it, and they stop reading and start doing. When
should that be? Who is qualified to critisize a mistaken decision?


Cheers,
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421163803.gc6...@big.lan.gnu



Re: OT [Una de bash muy buena...]

2015-04-21 Thread sio2
El Tue, 21 de Apr de 2015, a las 05:13:50PM +0200, Maykel Franco dijo:

 Buenas, llevo unas 2 h intentando realizar esto pero soy incapaz...
 
 Necesito de esta linea por ejemplo:
 
 [{type:07,number:2705045091096},{type:01,number:2788156539794}{type:08,number:2748168531483}

Vaya por delante que eso parece json y lo podrías tratar con jshon,
que tiene paquete en debian. De todos modos:

 Me gustaría sacar solo los numeros después de number: , por ejemplo, solo
 sacar esto:
 
 2705045091096
 2788156539794
 2748168531483
 

Una solución con grep:

$ grep -oP '(?=number:)[0-9]+(?=)'$CADENA
2705045091096
2788156539794
2748168531483

-- 
   Hay dos sistemas de conseguir la felicidad: uno, hacerse
el idiota; otro, serlo.
  --- Enrique Jardiel Poncela. --


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421163813.gb5...@cubo.casa



Jessie Release Party Enschede

2015-04-21 Thread Paul van der Vlis
Hoi,

Hieronder de uitnodiging om op zondag 26 april 21:00 de Jessie release
te vieren. Had nog niet in deze lijst gestaan volgens mij.

Het lijkt allemaal door te gaan.

Groet,
Paul.


 Doorgestuurd bericht 
Onderwerp:  Re: FWD: Jessie Release Date: 2015-04-25
Opnieuw-verstuurd-datum:Mon, 20 Apr 2015 19:23:14 + (UTC)
Opnieuw-verstuurd-door: debian-events...@lists.debian.org
Datum:  Mon, 20 Apr 2015 20:48:42 +0200
Van:Koen k...@bergzand.net
Aan:debian-events...@lists.debian.org



Hoi,

Vanuit SNT wil ik wel het voorstel doen om wat in Enschede te gaan
drinken. Zondag 26 april is er hier ruimte in de vestingbar op de
Universiteit Twente om gezellig wat te drinken en te vieren. Dus:

Wanneer: Zondag 26 april vanaf 9 uur tot vroeg in de ochtend
Waar: Vestingbar Universiteit Twente (52.24301, 6.85219)

Mocht ik wat vergeten zijn hoor ik het wel.

Groeten
Koen Zandberg

On 03/31/2015 09:13 PM, Geert Stappers wrote:

 Hoi,

 Nu er een release datum is,
 kunnen we het ook over een release party hebben.

 Laat de voorstellen voor een plaats en datum maar komen.


 Groeten
 Geert Stappers
 DD


 - Forwarded message from Niels Thykier ni...@thykier.net -

 Date: Tue, 31 Mar 2015 20:58:52 +0200 (CEST)
 From: Niels Thykier ni...@thykier.net
 To: debian-devel-annou...@lists.debian.org
 Cc: debian-rele...@lists.debian.org
 Subject: Jessie Release Date: 2015-04-25

 Jessie Release
 ==

 We now have a target release date of Saturday the 25th of April. We
 have checked with core teams, and this seems to be acceptable for
 everyone.  This means we are able to begin the final preparations for
 a release of Debian 8 - Jessie.

 The intention is only to lift the date if something really critical
 pops up that is not possible to handle as an errata, or if we end up
 technically unable to release that weekend.

 Please keep in mind that we intend to have a quiet period from
 Saturday the 18th of April.  Bug fixes must be *in Jessie* before
 then.

 RC bugs not fixed in time
 =-=-=-=-=-=-=-=-=-=-=-=-=

 Should you have any RC bug fixes that misses the deadline please
 contact the Stable Release Team via a pu bug against the
 release.debian.org pseudopackage, including a debdiff of the current
 and proposed source packages.

 Please note that removals can still occur.  In particular, the
 automatic removal from testing remains active!  We currently have
 *at least* 12 RC bugs eligible for automatic removal before the
 release!

 Got an RC bug you cannot live with?
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 Fix it.  Fix it now! :)

 For:

  * unfixed RC bugs in key packages, please see [1].

  * unfixed RC bugs in non-key packages, please see [2].
- These might be automatically removed before the release.

  * fixed RC bugs pending unblock from RT, please see [3].

  * fixed RC bugs, which are unblocked, please see [4].
- Might be waiting for d-i acks, etc.

 ~Niels
 On behalf of the Debian Release Team!

 [1]
 https://udd.debian.org/bugs/?release=jessie_and_sidmerged=ignkeypackages=onlyfnewerval=7flastmodval=7rc=1ctags=1cdeferred=1sortby=idsorto=ascformat=html#results

 [2]
 https://udd.debian.org/bugs/?release=jessie_and_sidmerged=ignkeypackages=ignfnewerval=7flastmodval=7rc=1ctags=1cdeferred=1sortby=idsorto=ascformat=html#results

 [3]
 https://udd.debian.org/bugs/?release=jessie_not_sidmerged=ignunblock-hint=ignfnewerval=7flastmodval=7rc=1chints=1ctags=1cdeferred=1crttags=1sortby=idsorto=ascformat=html#results

 [4]
 https://udd.debian.org/bugs/?release=jessie_not_sidmerged=ignunblock-hint=onlyfnewerval=7flastmodval=7rc=1chints=1ctags=1cdeferred=1crttags=1sortby=idsorto=ascformat=html#results








-- 
To UNSUBSCRIBE, email to debian-user-dutch-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5536763c.3020...@vandervlis.nl



Re: OT [Una de bash muy buena...]

2015-04-21 Thread Carlos Zuniga
2015-04-21 10:13 GMT-05:00 Maykel Franco maykeldeb...@gmail.com:
 Buenas, llevo unas 2 h intentando realizar esto pero soy incapaz...

 Necesito de esta linea por ejemplo:

 [{type:07,number:2705045091096},{type:01,number:2788156539794}{type:08,number:2748168531483}

 Me gustaría sacar solo los numeros después de number: , por ejemplo, solo
 sacar esto:

 2705045091096
 2788156539794
 2748168531483

 He mirado con grep, awk , sed, cut... Soy incapaz...

 Alguien podría hecharme un cable?

 Gracias de antemano.

Es eso json? esta correcto? (te falta una coma entre el 2do y 3er
elemento y el corchete de cierre al final)

Si el input es json válido, entonces puedes usar jq[0]:

echo 
'[{type:07,number:2705045091096},{type:01,number:2788156539794},{type:08,number:274816853
1483}]' | jq .[] | .number
2705045091096
2788156539794
2748168531483


[0] https://stedolan.github.io/jq/


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caabycjmaoqszc6776j6dam8bhkr549r+brfgrj5314ma3pn...@mail.gmail.com



Re: /etc/network/interfaces in jessie and systemd?

2015-04-21 Thread Michael Biebl
Am 21.04.2015 um 17:15 schrieb Christian Seiler:
 Am 2015-04-21 16:20, schrieb Mihamina Rakotomandimby:
 Thank you Christian,

 Just to be sure, I saw that:
 https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1374521
 https://github.com/linuxmint/systemd/blob/master/debian/ifup@.service
 
 I think that's Ubuntu-specific; even though ifup@.service is
 installed on Debian systems, at least on my Jessie box it's
 never been activated (on a system that actually uses
 /etc/network/interfaces) - at least systemctl says so.
 
 If my reading and deduction is correct, systemd will call ifup that
 will read /etc/network/interface.
 
 systemd just starts /etc/init.d/networking on my systems (the
 same script that is also used under Wheezy, Squeeze, Lenny,
 etc.) and that in turn calls ifup in the same way it has
 previously been called under Wheezy etc.
 
 I don't see it starting ifup@.service anywhere.
 
 Michael, what's up with that service?

/etc/init.d/networking (or networking.service) is responsible for
handling auto interfaces in Debian, ifup@.service, triggered via udev,
is responsible for handling allow-hotplug interfaces.

If you don't have any ifup@.service instances running, and you do use
ifupdown, I guess your interfaces are all marked auto in
/etc/network/interfaces.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: reading an empty directory after reboot is very slow

2015-04-21 Thread Bob Proulx
Vincent Lefevre wrote:
 So, there's still something I don't understand: after dropping the
 caches, why is Mutt fast to read the mailbox (about 1 minute), but
 not my tool (about 30 minutes)?

Are you using mutt's header_cache feature?  It keeps a cache of mail
files off to the side.  It really improves Maildir performance.  I
personally also have maildir_header_cache_verify=no set too.

Bob


signature.asc
Description: Digital signature


Can't send mail with Jessie

2015-04-21 Thread John J. Boyer
I am using msmtp to send mail. However, I get the error Remote protocol 
errot. The log file shows TLS handshake filed. Operation timed out. 
There is no problem on an older Vinux system, which I am using to send 
this message. The author of msmtp tells me that the problem is most 
likely with the new version of the gnuTLS library that Jessie uses. If 
this is the case the same problem would occur with exim4 or nullmailer. 
Is there a way to get the older version of gnuTLS and protect it from 
updating? What else would you suggest?

Thanks,

-- 
John J. Boyer; President,
AbilitiesSoft, Inc.
http://www.abilitiessoft.org
Madison, Wisconsin USA
We develop software for people with disabilities which is abailable at 
no cost.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150421163747.GA9596@jjb-Vinux