Bug with lib ssl

2016-06-17 Thread Fabrice Vaillant

Hey

I'm running debian testing and I have encountered a weird bug. Wanted to 
check if that was a real bug or an issue on my end.


The site https://www.w3.org/2010/05/video/mediaevents.html fails on my 
computer with both iceweasel on chromium whereas it succeds on other 
computer (not debian) I have tried it with. The reason is that media 
content downloaded  from media.w3.org over https fail due too :


```
An error occurred during a connection to media.w3.org.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)
```
Similar error message show up when I try to directly download the 
content from the site using curl. I suspect an issue in the ssl 
implementation but I have not been able to reporduce on other site.


Does anybody have a similar problem?

Thanks
Fabrice



Missing gnutls in PlayonLinux(Wine), but not available to install.

2016-06-17 Thread terryc
In trying to start battlenet/Wow) under PlayonLine(Wine), the error
messages include missing gnutls.

After searching around, I've come to the conclusion that it can only be
libguntls26:i386, but further searching indicates this is included in
libgnutls-deb0-28:i386.

If that is the case, it isn't being recognised/
Looking for cluebies here.

System is AMD64 running Debian:Jessie with backports
The PlayonLinix is Ver.  4.2.10
The  Wine has been 1.9.7 thru to 1.9.12 staging

I know about the us.blizzard forum thread.
I know about the winehq recommendation and have tried the purge and
re-install.
Weirdly, my system was able to run the game until a battlenet upgrade
about the beginning of the month, when it "broke".



Re: home directory fail-over using automount ?

2016-06-17 Thread Steve Witt

On Fri, 17 Jun 2016, bri...@aracnet.com wrote:


I have my nfs shares set-up to automount to

/home/nfs4/

and then that directory name is used in the /etc/passwd file.

What i'd like to do is have it use /home/ in the event it 
can't see the nfs server.


it seems like some automount trickery might be possible if, for example, 
nfs mount didn't work it would actually mount /home/ on 
/home/nfs4/.


Haven't found a way to do this, probably because it's a horrible hack, 
or not possible and I should probably be trying to do this some other 
way.


Any suggestions ?


I'm not an NFS expert, but I've been using/sys admin'g NIS/NFS on various 
Sun and Linux systems at home and at work since the late '90s. I have 
never heard of what you're trying to do, but can't categorically say that 
it isn't possible (if the double negative isn't too confusing). I don't 
think the result would be very satisfactory as it seems you'd end up with 
a split home directory with files in both the local and server home 
directories. I think it would be pretty chaotic.


My experience over the years is the NFS automouting is very reliable and 
fairly easy to administer. If your network is stable, then you shouldn't 
have a problem with it at all. If your network isn't stable, then that 
problem should be fixed. I've had software development systems consisting 
of approx. 100 client workstations automouting user home directories from 
a couple of Linux servers (almost always Debian, but some Redhat and SUSE 
- doesn't really matter) with 30 - 40 heavy users. It was very reliable 
and there were almost never any problems.




home directory fail-over using automount ?

2016-06-17 Thread briand
I have my nfs shares set-up to automount to

/home/nfs4/

and then that directory name is used in the /etc/passwd file.

What i'd like to do is have it use /home/ in the event it can't see 
the nfs server.

it seems like some automount trickery might be possible if, for example, nfs 
mount didn't work it would actually mount /home/ on 
/home/nfs4/.

Haven't found a way to do this, probably because it's a horrible hack, or not 
possible and I should probably be trying to do this some other way.

Any suggestions ?

Thank you,

Brian



Re: Canon Printer Setup

2016-06-17 Thread Brian
On Fri 17 Jun 2016 at 16:50:46 -0600, Levi Darrell wrote:

> Hi All,
> 
> I'm attempting to use a Canon Image Class MF628Cw from Debian. I downloaded
> the drivers from the Canon website at
> https://www.usa.canon.com/internet/portal/us/home/support/details/printers/color-laser/mf628cw.
> I installed them via dpkg, then added the printer in CUPS via a web browser
> at localhost:631.
> 
> The printer did not come with a USB cable, and is connected to the LAN.
> CUPS sees the printer, and the printer appears as available when I attempt
> to print from evince. However, after sending the print signal, the printer
> does not print. The "Jobs" page in CUPS says "No jobs," but if I click on
> printer and then click "Show All Jobs," I see the following:

[...snip...]

> *"src = libcanon_pdlwrapper.c, line = 514, err = 0¥nDEBUG: PID 4141 (gs)

Is there anything in the Printing section of the wiki which helps you?
It could be a 32-bit/64-bit issue.



Canon Printer Setup

2016-06-17 Thread Levi Darrell
Hi All,

I'm attempting to use a Canon Image Class MF628Cw from Debian. I downloaded
the drivers from the Canon website at
https://www.usa.canon.com/internet/portal/us/home/support/details/printers/color-laser/mf628cw.
I installed them via dpkg, then added the printer in CUPS via a web browser
at localhost:631.

The printer did not come with a USB cable, and is connected to the LAN.
CUPS sees the printer, and the printer appears as available when I attempt
to print from evince. However, after sending the print signal, the printer
does not print. The "Jobs" page in CUPS says "No jobs," but if I click on
printer and then click "Show All Jobs," I see the following:


▲ ID ▲


Name

User

Size

Pages

State

Control

Canon_MF620C_Series -89

Unknown

Withheld

366k

Unknown

completed at
Fri 17 Jun 2016 04:25:24 PM MDT
*"src = libcanon_pdlwrapper.c, line = 514, err = 0¥nDEBUG: PID 4141 (gs)
exited with no errors."*

Simple Scan does not recognize the printer at all.

I don't know where else to look for the problem.

Levi


probelams para que reconozca la lectorA

2016-06-17 Thread Ruben Horacio Specogna

HOLA BUENAS TARDES LE ESCRIBO PUES MI PC NO RECONOCE MI LECTORA , DE DVD



Re: How to download over https

2016-06-17 Thread Pascal Hambourg

Le 17/06/2016 21:52, Jochen Spieker a écrit :

Pascal Hambourg:


Hmm. I don't know how SSL works, but HTTPS runs on top of TCP so I doubt
that it cares about IP packet size. The task of splitting the TCP payload
stream into IP packets is done by the TCP layer.


Sure, but if your encryption scheme wastes payload in yout packets you
have more overhead for TCP/IP headers in each packet.


Why would encryption increase the payload size ?
Disk encryption with dm-crypt does not (except for the LUKS header).



Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Leon.37428
On 06/17/2016 05:10 PM, Lisi Reisz wrote:
> Those of us on this list who thread (or try to :-( ) are, it seems, a dying 
> breed.
> 
> Lisi

Makes one wonder just how they manage to keep track of conversations, I
was pretty happy when I found out my client supports it.

- Leon



Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Lisi Reisz
On Friday 17 June 2016 21:33:52 Gene Heskett wrote:
> On Friday 17 June 2016 11:50:49 Lisi Reisz wrote:
> > On Friday 17 June 2016 16:29:51 Dalios wrote:
> > > On 06/16/2016 08:50 PM, Gene Heskett wrote:
> > > snip
> > >
> > > > There seems to be sort of a "quantum dis-entanglement" in this
> > > > browser transition (and I am reading between the lines, thinking
> > > > your problem is related to this) because in one swell foop they've
> > > > disabled the help menu's of quite a few programs that used
> > > > iceweasel as their reader for html docs, whether it was a file on
> > > > your own machine, or a link to a site on the web serving up the
> > > > latest docs, which of course do NOT apply to the 3 year old stable
> > > > versions of the programs served up by the repo's
> > > >
> > > > I solved it here the hard, no doubt totally unapproved way, I
> > > > copied /usr/lib/firefox to /usr/lib/iceweasel and then made
> > > > softlinks in the copied directory from iceweasel to firefox.  And
> > > > those programs that serve up their help menu's with iceweasel are
> > > > once again "fat, dumb, and happy".
> > > >
> > > > Tain't right, it will not be updated, but in that event I'll just
> > > > edit the softlinks to actually reference the real thing & nuke the
> > > > rest of that directory as wasted  disk space.
> > > >
> > > > I have no clue what they were thinking when they yanked iceweasel
> > > > out by the roots. I doubt they even considered that something else
> > > > might be dependent on iceweasel/iceweasel as a name.
> > > >
> > > > What should have happened was that iceweasel was updated to be an
> > > > empty package except for that /usr/lib/iceweasel directory and the
> > > > softlinks to firefox.
> > > >
> > > > Grof in the general direction of TPTB.
> > > >
> > > > Cheers, Gene Heskett
> > >
> > > Thanks for your effort and your feedback but I don't think that is a
> > > good solution for me. Maybe I should try re-installing firefox...
> >
> > Have you tried upgrading again?  There may be some new updates.  And
> > have you done full-upgrade?  (dist-upgrade in apt-get)?   To get rid
> > of old stuff that will now get in the way.
> >
> > Lisi
>
> No I haven't Lisi. 

That was aimed at Dalios.  I know you too well, Gene!!  But for most people it 
is a better, safer option than your home-rolling. ;-)

Those of us on this list who thread (or try to :-( ) are, it seems, a dying 
breed.

Lisi

> The last time I did that, I had to start all over 
> again, building me an install I could use.  That was at least a year
> back. It ripped put all the linuxcnc related stuff for starters, I guess
> it thinks email and web browsing is the only thing we do with these
> machines.  Easily fixed by me except for freecad which will not install
> on this final wheezy anymore, but...
>
> I build these machines for ME to use, and if it works and is stable, as
> in still works next week too, well...  It will probably run that way
> until I update with a new install.
>
> If someone tells me I shouldn't do that which I just did to solve a very
> real problem, then along with their finger sharpening, they had better
> be able to explain what is wrong with what I did, in factual terms AND
> how to solve it the _proper_ way.
>
> Thanks Lisi.
> Cheers, Gene Heskett



Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Gene Heskett
On Friday 17 June 2016 11:54:32 Sven Arvidsson wrote:

> On Fri, 2016-06-17 at 18:29 +0300, Dalios wrote:
> > Thanks for your effort and your feedback but I don't think that is a
> > good solution for me. Maybe I should try re-installing firefox...
>
> That is almost never a solution on a Debian system. 
>
> Try running Firefox with a new profile. This is most likely an
> extension you installed is having problems.

This is NOT making any sense, common or otherwise.  The copy of 
firefox-esr I copied to the /usr/lib/iceweasel tree day before 
yesterday, then made softlinks to the firefox-esr executables has 
vanished,  yet now I can type iceweasel in a cli, and get firefox-esr, 
v45.2 I think.  And I've no clue where the heck it went.  Not only that, 
but the program (glade-gtk2) that prompted me to do that has also 
vanished, but ISTR it exhibited quite a few signs of bit rot and I 
removed it.  So, at the instant, I have no gui editor that I can use to 
compose working buttons for an addition I am planning to do for 
LinuxCNC.  gladevcp has a slightly better set of buttons than Tkinter 
has, but that means I am stuck editing .xml files with geany, which does 
have a decent xml syntax highlighter.

I feel like I could do more, and faster to a finished gui in tkinter, IF 
I could find some docs on it.  The linkage is pyvcp.

Any clues about that will be gleefully checked out.

Thanks all.

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



Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Gene Heskett
On Friday 17 June 2016 11:50:49 Lisi Reisz wrote:

> On Friday 17 June 2016 16:29:51 Dalios wrote:
> > On 06/16/2016 08:50 PM, Gene Heskett wrote:
> > snip
> >
> > > There seems to be sort of a "quantum dis-entanglement" in this
> > > browser transition (and I am reading between the lines, thinking
> > > your problem is related to this) because in one swell foop they've
> > > disabled the help menu's of quite a few programs that used
> > > iceweasel as their reader for html docs, whether it was a file on
> > > your own machine, or a link to a site on the web serving up the
> > > latest docs, which of course do NOT apply to the 3 year old stable
> > > versions of the programs served up by the repo's
> > >
> > > I solved it here the hard, no doubt totally unapproved way, I
> > > copied /usr/lib/firefox to /usr/lib/iceweasel and then made
> > > softlinks in the copied directory from iceweasel to firefox.  And
> > > those programs that serve up their help menu's with iceweasel are
> > > once again "fat, dumb, and happy".
> > >
> > > Tain't right, it will not be updated, but in that event I'll just
> > > edit the softlinks to actually reference the real thing & nuke the
> > > rest of that directory as wasted  disk space.
> > >
> > > I have no clue what they were thinking when they yanked iceweasel
> > > out by the roots. I doubt they even considered that something else
> > > might be dependent on iceweasel/iceweasel as a name.
> > >
> > > What should have happened was that iceweasel was updated to be an
> > > empty package except for that /usr/lib/iceweasel directory and the
> > > softlinks to firefox.
> > >
> > > Grof in the general direction of TPTB.
> > >
> > > Cheers, Gene Heskett
> >
> > Thanks for your effort and your feedback but I don't think that is a
> > good solution for me. Maybe I should try re-installing firefox...
>
> Have you tried upgrading again?  There may be some new updates.  And
> have you done full-upgrade?  (dist-upgrade in apt-get)?   To get rid
> of old stuff that will now get in the way.
>
> Lisi

No I haven't Lisi.  The last time I did that, I had to start all over 
again, building me an install I could use.  That was at least a year 
back. It ripped put all the linuxcnc related stuff for starters, I guess 
it thinks email and web browsing is the only thing we do with these 
machines.  Easily fixed by me except for freecad which will not install 
on this final wheezy anymore, but...

I build these machines for ME to use, and if it works and is stable, as 
in still works next week too, well...  It will probably run that way 
until I update with a new install.

If someone tells me I shouldn't do that which I just did to solve a very 
real problem, then along with their finger sharpening, they had better 
be able to explain what is wrong with what I did, in factual terms AND 
how to solve it the _proper_ way.

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



Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Gene Heskett
On Friday 17 June 2016 11:29:51 Dalios wrote:

> On 06/16/2016 08:50 PM, Gene Heskett wrote:
> snip
>
> > There seems to be sort of a "quantum dis-entanglement" in this
> > browser transition (and I am reading between the lines, thinking
> > your problem is related to this) because in one swell foop they've
> > disabled the help menu's of quite a few programs that used iceweasel
> > as their reader for html docs, whether it was a file on your own
> > machine, or a link to a site on the web serving up the latest docs,
> > which of course do NOT apply to the 3 year old stable versions of
> > the programs served up by the repo's
> >
> > I solved it here the hard, no doubt totally unapproved way, I
> > copied /usr/lib/firefox to /usr/lib/iceweasel and then made
> > softlinks in the copied directory from iceweasel to firefox.  And
> > those programs that serve up their help menu's with iceweasel are
> > once again "fat, dumb, and happy".
> >
> > Tain't right, it will not be updated, but in that event I'll just
> > edit the softlinks to actually reference the real thing & nuke the
> > rest of that directory as wasted  disk space.
> >
> > I have no clue what they were thinking when they yanked iceweasel
> > out by the roots. I doubt they even considered that something else
> > might be dependent on iceweasel/iceweasel as a name.
> >
> > What should have happened was that iceweasel was updated to be an
> > empty package except for that /usr/lib/iceweasel directory and the
> > softlinks to firefox.
> >
> > Grof in the general direction of TPTB.
> >
> > Cheers, Gene Heskett
>
> Thanks for your effort and your feedback but I don't think that is a
> good solution for me. Maybe I should try re-installing firefox...
>
> Thanks anyway
> Dalios

That will NOT work when the app complains it can't find iceweasel.  Make 
the directory if its gone, and put the links named iceweasel that point 
at firefox in it.

Humm, not sure where to put it, probably in /etc/aliases, but its 
possible a properly composed alias would also work.  Someone should 
explore that possibility.  Here, it seems to be all user : notheruser 
type stuff.  I don't see such a critter in my home directory though.

Perhaps an export of iceweasel = "firefox", then open a new cli and try 
it. IDK.

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



Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jun 17, 2016 at 09:03:30PM +0200, Sven Joachim wrote:
> On 2016-06-17 13:31 +0200, to...@tuxteam.de wrote:
> 
> > OK. I've got one more hint. Reading through the open(2) man page
> > (assuming it is really open what's failing on you -- what evidence
> > do you have?), EAGAIN isn't listed among the possible errno values,
> > but EWOULDBLOCK
> >
> >EWOULDBLOCK
> >   The O_NONBLOCK flag was specified, and an incompatible
> >   lease was held on the file (see fcntl(2)).
> 
> Thanks, I had only looked at EAGAIN.

Yes, I missed that at first too.

> > Now, on POSIX systems EWOULDBLOCK and EAGAIN could be one and the
> > same.
> 
> On Linux, EWOULDBLOCK is #defined as EAGAIN in asm-generic/errno.h.
> Also they are always the same in the glibc, regardless of the operating
> system kernel.

Thanks for checking!

[...]

> You don't have to write your own program, there is already an 'errno'
> utility in the moreutils package. :-)

Thanks for the hint :-)

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldkWIsACgkQBcgs9XrR2kZAqACfXWGraeoxAEBexs0Aw38PW4sR
OSUAn3XKB78drfAUepHV8XipDecv/01F
=fTHI
-END PGP SIGNATURE-



Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jun 17, 2016 at 02:37:11PM +, Andrey wrote:
>   tuxteam.de> writes:
> 
> > 
> > 
> > On Fri, Jun 17, 2016 at 01:12:00PM +, Andrey wrote:
> > 
> > [...]
> > 
> > But writing a minimal Tcl program and running it through strace might shake
> > out whether they do any fcntl behind the scenes...
> > 
> 
> o.k.
> serv:~$ cat >t.tcl 
> set f [open tst.tst w]
> puts $f test
> close $f
> serv:~$ strace tclsh t.tcl
> ...
> open("tst.tst", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
> fcntl(5, F_SETFD, FD_CLOEXEC)   = 0
> ioctl(5, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS,
> 0x7ffc5a3bb3e0) = -1 ENOTTY (Inappropriate ioctl for device)
> write(5, "test\n", 5)   = 5
> close(5)= 0
> ...
> 
> as it was expected - nothing miraculous 

OK. So it seems there's another path open() --> EWOULDBLOCK in the kernel.
That would be a chance to read some kernel sources... I fear I must give
up here. $DAYJOB and that :-)

[...]

> > I see. So still EWOULDBLOCK is the likely "culprit".
> > 
> 
> I am afraid not, it has nothing to do with NONBLOCKED i/o,
> it's normal BLOCKED.

Sorry I wasn't clear: I was just talking about the errno -- we still
haven't an idea how it comes about. The manpage is but an approximation
to reality :-)

[...]

> >   - have a look at the Emacs sources
> >
> 
> there is nothing particular about emacs
> it my have been 'bash' or anything that uses libc

I wasnt implying that: any of the apps you've caught complaining about
"Resource temporarily unavailable" might do as a help in thinking about
what can be occurring. Can we really say open() returned error and
errno was EWOULDBLOCK after this? (the evidence you've collected seems
to point strongly at this; is there any other possibility?)

> >   - use the LD_PRELOAD trick [1] to install a little spy on open()
> > and let the system running for a while like this (the last one
> > depends on the ratio of how critical your system is and how
> > corageous you are 

Note that this can be a pretty intrusive technique, depending on which
programs you "bug" this way. Tread carefully :-)

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldkWBcACgkQBcgs9XrR2kb8LACeJWTB4vfOfmVOFY894ssx/FSA
YG8An0xHRzRnAW+zM9di7VRiCdGd9SKd
=WxkA
-END PGP SIGNATURE-



Unauthorized Email Access

2016-06-17 Thread Email Team
 - This mail is in HTML. Some elements may be ommited in plain text. -

Your E-mail account was accessed on another device in Nigeria on June 17th, 
2016 08:00 PM  Eastern Time.
If this isn't you, click the link below and sign in from the device you always 
access your email from to confirm you own it and we will block all access from 
other computers.

CLICKHERE
Sign-in verification:
NOTE:
Immediate change of password will result to suspension of account. We apologize 
for any inconvenience and appreciate your understanding. Failure to update your 
account may result in loosing your account within 24 Hrs.
Copyright © 2016 . All rights reserved


Re: How to download over https

2016-06-17 Thread Jochen Spieker
Pascal Hambourg:
> Le 16/06/2016 22:13, Dan Purgert a écrit :
> 
>> as well as making the overall amount of data
>> transmitted somewhat larger.  This is because encrypted blocks have
>> specific size requirements (...)
>> 
>> Remeber that a single packet can only carry 1460 bytes, before
>> accounting for services that specify MTUs <1500 .  If you're using
>> something like 64-byte blocks for the encryption scheme (which is fairly
>> common, so I'm going with that from here on out), you're limited to only
>> sending 1408 bytes / packet of actual data, assuming zero overhead.  For
>> the 660 602 880 bytes of "cd1" from the debian installer suite, this
>> means you're transmitting 469,178 fully loaded packets, plus 1 partial
>> (approx 315 bytes) ... or a total transmission of 689 691 975 bytes.
> 
> Hmm. I don't know how SSL works, but HTTPS runs on top of TCP so I doubt
> that it cares about IP packet size. The task of splitting the TCP payload
> stream into IP packets is done by the TCP layer.

Sure, but if your encryption scheme wastes payload in yout packets you
have more overhead for TCP/IP headers in each packet. I have yet to
actually meet someone who optimizes on that level but at Google scale
these things obviously matter.

J.
-- 
Whenever I hear the word 'art' I reach for my visa card.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: How to download over https

2016-06-17 Thread Jochen Spieker
Jörg-Volker Peetz:
> Jörg-Volker Peetz wrote on 06/16/16 15:12:
>> Did you take a look here: https://www.debian.org/CD/verify , "Verifying
>> authenticity of Debian CDs"?
>> 
>> The https protocol would add quite some overhead to the download of the
>> iso-files which are already big by them self.
>> 
> This statement has to be corrected: the overhead of https is hardly 
> perceptible
> on "modern" hardware. (See, e.g.,
> https://www.keycdn.com/blog/https-performance-overhead/ ,
> https://www.imperialviolet.org/2010/06/25/overclocking-ssl.html )

It really depends on what you are looking at. Clients have no reason to
care about that but if you are running a busy site that's a whole
different issue.

The first link of yours doesn't really discuss the server-side
implications. The second one is from 2010 and talks about how Google
prefers RC4 for its speed but RC4 is almost completely dead today (see
RfC 7465).  Incidentally, Google switched off RC4 for Gmail just
yesterday:

http://news.softpedia.com/news/google-drops-sslv3-and-rc4-support-in-gmail-504176.shtml

Admittedly, one of the main issues with HTTPS is the number of
handshakes your hardware can do per second. That probably isn't a
problem for the CD image download server that we are discussing here.
But for (non-distributed) sites that serve a huge number of requests
(think tens of thousands of requests per second) and (unlike Google) use
off-the-shelf hardware and software that's a different issue.  I am
working on such a site and our customer has to spend big bucks for our
load balancers (F5 BIG IP) which terminate SSL connections in our
environment.

J.
-- 
In this bunker there are women and children. There are no weapons.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Dalios
On 06/17/2016 06:54 PM, Sven Arvidsson wrote:
> On Fri, 2016-06-17 at 18:29 +0300, Dalios wrote:
>> Thanks for your effort and your feedback but I don't think that is a
>> good solution for me. Maybe I should try re-installing firefox...
> 
> That is almost never a solution on a Debian system. 
> 
> Try running Firefox with a new profile. This is most likely an
> extension you installed is having problems.
> 

You are right! Firefox starts without errors with the "firefox" as well
as the "exo-open --launch WebBrowser" command even for the first firefox
window.

It is weird though as all eight add-ons were installed in iceweasel for
some months or at least some weeks before firefox was installed in place
of iceweasel. I will now install add-ons on the new profile one-by-one
to see if I can find the guilty one.


Thanks for your help,
Dalios



Re: open - resource temporarily unavailable

2016-06-17 Thread Sven Joachim
On 2016-06-17 13:31 +0200, to...@tuxteam.de wrote:

> OK. I've got one more hint. Reading through the open(2) man page
> (assuming it is really open what's failing on you -- what evidence
> do you have?), EAGAIN isn't listed among the possible errno values,
> but EWOULDBLOCK
>
>EWOULDBLOCK
>   The O_NONBLOCK flag was specified, and an incompatible
>   lease was held on the file (see fcntl(2)).

Thanks, I had only looked at EAGAIN.

> Now, on POSIX systems EWOULDBLOCK and EAGAIN could be one and the
> same.

On Linux, EWOULDBLOCK is #defined as EAGAIN in asm-generic/errno.h.
Also they are always the same in the glibc, regardless of the operating
system kernel.

> Lo and behold, a small test program on my box reveals that
> both at least translate to 'Resource temporarily unavailable':
>
> #include 
> #include 
> #include 
> 
> int main(int argc, char *argv[])
> {
>  printf("EAGAIN is '%s'\n"
> "EWOULDBLOCK is '%s'\n",
> strerror(EAGAIN),
> strerror(EWOULDBLOCK));
> }
> 
> ==>
> 
> tomas@rasputin:~/prog/C$ ./errno
> EAGAIN is 'Resource temporarily unavailable'
> EWOULDBLOCK is 'Resource temporarily unavailable'

You don't have to write your own program, there is already an 'errno'
utility in the moreutils package. :-)

Cheers,
   Sven



Re: open - resource temporarily unavailable

2016-06-17 Thread Sven Joachim
On 2016-06-17 18:12 +0200, Mart van de Wege wrote:

> Andrey  writes:
>
>>   tuxteam.de> writes:
>>
>>> Other things to check: does that happen on any files? On a
>>> specific file system? If yes: how is that one mounted?
>>> 
>>
>> It happens to any file on any ext4 partition which are locally mounted.
>>
>> Is there a way to find out at least which part of the system is responsible
>> for 'resource temporarily unavailable'.
>>
>>
> What's the output of 'df -i'? If you create lots of files, maybe you ran
> out of inodes?

In this case the error would be "No space left on device".

,
|  ENOSPC pathname  was to be created but the device containing path‐
| name has no room for the new file.
`

Cheers,
   Sven



Re: How to download over https

2016-06-17 Thread Pascal Hambourg

Le 16/06/2016 22:13, Dan Purgert a écrit :

Pascal Hambourg wrote:

Le 16/06/2016 18:18, Dan Purgert a écrit :
1)

So, the fact that HTTPS doesn't ~actually~ provide you with any security
when a "malicious party" has root accesss to the webserver,



AND that it
adds overhead to the transmission


Does it really add network overhead of just CPU overhead on the server ?


CPU on both ends,


Sure, but the server is most concerned, a client does not usually handle 
hundreds or thousands of concurrent HTTPS connections.



as well as making the overall amount of data
transmitted somewhat larger.  This is because encrypted blocks have
specific size requirements (...)

Remeber that a single packet can only carry 1460 bytes, before
accounting for services that specify MTUs <1500 .  If you're using
something like 64-byte blocks for the encryption scheme (which is fairly
common, so I'm going with that from here on out), you're limited to only
sending 1408 bytes / packet of actual data, assuming zero overhead.  For
the 660 602 880 bytes of "cd1" from the debian installer suite, this
means you're transmitting 469,178 fully loaded packets, plus 1 partial
(approx 315 bytes) ... or a total transmission of 689 691 975 bytes.


Hmm. I don't know how SSL works, but HTTPS runs on top of TCP so I doubt 
that it cares about IP packet size. The task of splitting the TCP 
payload stream into IP packets is done by the TCP layer.




Re: exim 4

2016-06-17 Thread Camaleón
El día 16 de junio de 2016, 15:52,   escribió:

(reenvío a la lista, llegó al privado)

> si porq  mira te explico yo por ejemplo me mando un correo yo mismo desde
> josealfr...@ucm.hlg.sld.cu o lo mando a  cualqueir  parte  y sale  perfecto
> y si me  lo reenvio me  llega bien  ahora  si le  mando el correo a
> josealfr...@infomed.sld.cu  llega bien  pero si hago esto de enviar  un
> correo de  josealfr...@infomed.sld.cu  a  josealfr...@ucm.hlg.sld.cu
> es donde  no entran pero  a  esta cuenta  josealfr...@ucm.hlg.sld.cu entran
> correode donde  quiera  desde  donde  unico no entran es de
> usua...@infomed.sld.cu  q deebe ser alguna autentificacion  o algo

Vamos a ver... ¿tu servidor de correo Exim 4 qué dominios gestiona?

Porque estás hablando de dos direcciones con dominios distintos
("josealfr...@ucm.hlg.sld.cu" y  "josealfr...@infomed.sld.cu"). De lo
que dices más arriba entiendo que desde la cuenta
"josealfr...@ucm.hlg.sld.cu" puedes enviar correos y recibir sin
problemas y que la dirección que te da error es la de
"josealfr...@infomed.sld.cu", que no te permite enviar hacia
"josealfr...@infomed.sld.cu" y cuando mandas un correo te aparece
registrado el mensaje que enviabas. Bien, pues el mensaje era este:

   josealfr...@ucm.hlg.sld.cu
 SMTP error from remote mail server after RCPT
TO::
 host naix.hlg.sld.cu [201.220.196.178]: 550 No esta autenticado
en el servidor o no pude hacer relay

Lo que yo interpreto, si lo que he escrito arriba es correcto, es que
el servidor de correo que gestiona el dominio "ucm.hlg.sld.cu" no
acepta mensajes del servidor "infomed.sld.cu" pero sí de otros
servidores remotos, lo cual me lleva a pensar que existe algún tipo de
cruce entre los dos dominios (comparten DNS, están en la misma red, lo
gestiona el mismo servidor de correo, o existe algún tipo de enlace o
vínculo entre ellos) porque lo "normal" sería que recharaza todos los
correos no sólo los de un dominio en particular en base al valor
"dc_relay_domains" de Exim.

Entremos al asunto...

sm01@stt008:~$ host infomed.sld.cu
infomed.sld.cu has address 201.220.222.59
infomed.sld.cu mail is handled by 10 mx.sld.cu.
  ^^^

sm01@stt008:~$ host ucm.hlg.sld.cu
ucm.hlg.sld.cu has address 201.220.196.182
ucm.hlg.sld.cu mail is handled by 5 naix.hlg.sld.cu.
ucm.hlg.sld.cu mail is handled by 10 mx.sld.cu.
  

sm01@stt008:~$ host mx.sld.cu
mx.sld.cu has address 201.220.222.97
mx.sld.cu has address 201.220.222.15
mx.sld.cu has address 201.220.222.66

Ahí tienes el meollo: los dos dominios comparten servidor de correo
por lo que estará entrando en conflicto con algún tipo de
configuración interna de Exim que tendrás que tenerlo configurado para
gestionar peticiones multidominio. Así a bote pronto, yo empezaría por
revisar qué contiene la variable "dc_relay_domains".

Saludos,

-- 
Camaleón



Firefox ESR & gnome keyring consommation CPU

2016-06-17 Thread Damien TOURDE
Bonjour,

Depuis être passé de iceweasel a firefox-esr (ou est-ce une coincidence
?), firefox freeze énormément, et l'occupation CPU de gnome-keyring-d
monte en flèche à ces moments).

Je ne sais pas bien quoi vous envoyer comme log pour que vous m'aidiez,
mais voilà en tout cas la situation.

Une idée ?




  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
COMMAND
  
 6922 damien20   0  361484  19432   4796 R  66,8  0,2  40:45.69
gnome-keyring-
d  
18254 damien20   0 3151564 1,996g  53752 R  24,6 26,0  22:31.35
firefox-esr                



Re: open - resource temporarily unavailable

2016-06-17 Thread Mart van de Wege
Andrey  writes:

>   tuxteam.de> writes:
>
>> Other things to check: does that happen on any files? On a
>> specific file system? If yes: how is that one mounted?
>> 
>
> It happens to any file on any ext4 partition which are locally mounted.
>
> Is there a way to find out at least which part of the system is responsible
> for 'resource temporarily unavailable'.
>
>
What's the output of 'df -i'? If you create lots of files, maybe you ran
out of inodes?

Mart

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



Re: ThinkPad fan

2016-06-17 Thread Sven Arvidsson
On Fri, 2016-06-17 at 12:58 +0300, Francesco Montanari wrote:
> Hi,
> 
> I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage
> looks
> reasonable. However, high temperatures (96 C) are reached when CPUs
> are
> running intensively for more than one minute or so. The fan speed at
> those
> temperatures is about 4500 rpm.
> 
> Do you think it is ok, or do you suggest to force lower temperatures,
> e.g.,
> with thinkfan [1]?

It isn't unusual with a temperature like that during load, but it
mostly seems to happen when playing demanding games on a laptop.

I wouldn't worry about it if it just happens momentarily, but long
running tasks that stress the system like that is probably not suitable
on a laptop.

Anyway, as others have pointed out, check for dust and make sure that
you don't impede air flow yourself (by placing it on bed for example).

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se



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


Re: ThinkPad fan

2016-06-17 Thread Gene Heskett
On Friday 17 June 2016 10:21:26 Lisi Reisz wrote:

> On Friday 17 June 2016 15:01:39 Gene Heskett wrote:
> > On Friday 17 June 2016 08:22:02 Cindy-Sue Causey wrote:
> > > On 6/17/16, Cindy-Sue Causey  wrote:
> > > > On 6/17/16, Dan Purgert  wrote:
> > > >> Francesco Montanari wrote:
> > > >>> I recently installed Jessie on a Lenovo ThinkPad T420. The fan
> > > >>> usage looks
> > > >>> reasonable. However, high temperatures (96 C) are reached when
> > > >>> CPUs are running intensively for more than one minute or so.
> > > >>> The fan speed at those
> > > >>> temperatures is about 4500 rpm.
> > > >>>
> > > >>> Do you think it is ok, or do you suggest to force lower
> > > >>> temperatures, e.g.,with thinkfan [1]?
> > > >>
> > > >> Absolutely.  95C is pushing the thermal thresholds of CPU dies
> > > >> (IIRC, 100C is the burnout temp on most).  Clean your heatsink
> > > >> too.
> > > >
> > > > Consider this an emergency situation that needs immediately
> > > > addressed. For example, if I personally didn't already have my
> > > > brain circuits mentally locked up on fighting setting up home
> > > > wifi, I'd be searching the Net for an external laptop fan, the
> > > > USB kind that sits under the laptop (oh, and a replacement
> > > > dialup modem). In the meantime, I currently have a desktop fan
> > > > faced toward mine, and it's definitely helping.
> > >
> > > I literally hate when this happens. A thought occurred as fast as
> > > that last email was sent. Low income types like myself don't
> > > always have enough pennies to rub together to even buy a cheap fan
> > > of any kind on demand. Doesn't mean we've completely run out of
> > > alternatives. The dogs busted my first laptop fan's USB connection
> > > couple years ago, but I still used the stand part of it
> > > successfully as a coolant aid for another year or so (until they
> > > broke that, too).
> > >
> > > ANYTHING that can *safely* get a laptop off the desktop surface
> > > helps even if no extra fan is available in an emergency. Give air
> > > every chance possible to circulate all around the machine.
> > >
> > > Mine's currently sitting on top of... knitting needles. They're
> > > placed so that they are not near the hottest parts of the laptop
> > > and so that they do not interfere with any other type of airflow,
> > > either. Just another #Life Lesson Learned the Hard Way due to
> > > losing couple machines over the years k/t the whole low income
> > > thing,
> > > yada-yada-grin...
> > >
> > > Cindy :)
> >
> > I would saw a couple of the old, small matching sized thread spools
> > in two, cutting so you have a long half and a short half. Put the
> > short ones under the front edge, and the long ones under the rear
> > edge, possibly securing them beside its existing feet with some
> > fabric glue I'd expect you have in the sewing kit.  That would leave
> > far more open space for the heat to be carried away than the
> > knitting needles would. And that sort of glue would allow easy
> > removal in the event you'd have to open it and they are hiding an
> > assembly screw.
>
> Like it: :-))
>
> But it requires equipment, like a hacksaw and vice to cut the spools
> smoothly and matching-ly, or your laptop would wobble.  Not all of us
> have fully equipped workshops, Gene. ;-)
>
Ordinary saw, and level the wobble out with sandpaper.  Spools these days 
are some sort of foam plastic moldings, might even be cuttable with a 
sharp knife.  Its even possible the glue could wreck the spool by 
dissolving it, one of the reasons I said fabric glue, that may be a 
safer formula than anything full of aromatics.  They are usually bad 
news for foamed plastic.

> But I love the idea!  Really ingenious.  Have you tried it??
>
> Lisi

No.  My only lappy, an ancient HP DV-5120-us, doesn't run that hot. The 
fan kicks in for maybe 10 seconds at 30+ second intervals.  I've used it 
for my "on the road" computer since about 2002.  Email, and a bit of web 
browsing, and acting like a terminal occasionally is about it. OEM 
battery still runs it for a little while but its getting tired too.

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



Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Sven Arvidsson
On Fri, 2016-06-17 at 18:29 +0300, Dalios wrote:
> Thanks for your effort and your feedback but I don't think that is a
> good solution for me. Maybe I should try re-installing firefox...

That is almost never a solution on a Debian system. 

Try running Firefox with a new profile. This is most likely an
extension you installed is having problems.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se



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


Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Lisi Reisz
On Friday 17 June 2016 16:29:51 Dalios wrote:
> On 06/16/2016 08:50 PM, Gene Heskett wrote:
> snip
>
> > There seems to be sort of a "quantum dis-entanglement" in this browser
> > transition (and I am reading between the lines, thinking your problem is
> > related to this) because in one swell foop they've disabled the help
> > menu's of quite a few programs that used iceweasel as their reader for
> > html docs, whether it was a file on your own machine, or a link to a
> > site on the web serving up the latest docs, which of course do NOT apply
> > to the 3 year old stable versions of the programs served up by the
> > repo's
> >
> > I solved it here the hard, no doubt totally unapproved way, I
> > copied /usr/lib/firefox to /usr/lib/iceweasel and then made softlinks in
> > the copied directory from iceweasel to firefox.  And those programs that
> > serve up their help menu's with iceweasel are once again "fat, dumb, and
> > happy".
> >
> > Tain't right, it will not be updated, but in that event I'll just edit
> > the softlinks to actually reference the real thing & nuke the rest of
> > that directory as wasted  disk space.
> >
> > I have no clue what they were thinking when they yanked iceweasel out by
> > the roots. I doubt they even considered that something else might be
> > dependent on iceweasel/iceweasel as a name.
> >
> > What should have happened was that iceweasel was updated to be an empty
> > package except for that /usr/lib/iceweasel directory and the softlinks
> > to firefox.
> >
> > Grof in the general direction of TPTB.
> >
> > Cheers, Gene Heskett
>
> Thanks for your effort and your feedback but I don't think that is a
> good solution for me. Maybe I should try re-installing firefox...

Have you tried upgrading again?  There may be some new updates.  And have you 
done full-upgrade?  (dist-upgrade in apt-get)?   To get rid of old stuff that 
will now get in the way.

Lisi



Re: ThinkPad fan

2016-06-17 Thread Joe Pfeiffer
Francesco Montanari  writes:

> Hi,
>
> I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage
> looks reasonable. However, high temperatures (96 C) are reached when
> CPUs are running intensively for more than one minute or so. The fan
> speed at those temperatures is about 4500 rpm.
>
> Do you think it is ok, or do you suggest to force lower temperatures,
> e.g., with thinkfan [1]?
>
> Thanks,
> Francesco
>
> [1] https://packages.debian.org/jessie/thinkfan

That's unlikely to hurt anything, but from the package description it
sounds like will only slow a fan down if it doesn't need to run fast,
which isn't your problem.

>From my experience on overheating laptops, the first thing I'd do would
be to clean everything.  Laptops have much more constrained air paths
than desktops, and it's easy for air inlets (this is where I've seen
problems most frequently) or heat sinks to get clogged so you don't get
the flow you need.



Re: error trying to launch the first firefox window on Debian Jessie

2016-06-17 Thread Dalios
On 06/16/2016 08:50 PM, Gene Heskett wrote:
snip
> There seems to be sort of a "quantum dis-entanglement" in this browser 
> transition (and I am reading between the lines, thinking your problem is 
> related to this) because in one swell foop they've disabled the help 
> menu's of quite a few programs that used iceweasel as their reader for 
> html docs, whether it was a file on your own machine, or a link to a 
> site on the web serving up the latest docs, which of course do NOT apply 
> to the 3 year old stable versions of the programs served up by the 
> repo's
> 
> I solved it here the hard, no doubt totally unapproved way, I 
> copied /usr/lib/firefox to /usr/lib/iceweasel and then made softlinks in 
> the copied directory from iceweasel to firefox.  And those programs that 
> serve up their help menu's with iceweasel are once again "fat, dumb, and 
> happy".
> 
> Tain't right, it will not be updated, but in that event I'll just edit 
> the softlinks to actually reference the real thing & nuke the rest of 
> that directory as wasted  disk space.
> 
> I have no clue what they were thinking when they yanked iceweasel out by 
> the roots. I doubt they even considered that something else might be 
> dependent on iceweasel/iceweasel as a name.
> 
> What should have happened was that iceweasel was updated to be an empty 
> package except for that /usr/lib/iceweasel directory and the softlinks 
> to firefox.
> 
> Grof in the general direction of TPTB.
> 
> Cheers, Gene Heskett
> 

Thanks for your effort and your feedback but I don't think that is a
good solution for me. Maybe I should try re-installing firefox...

Thanks anyway
Dalios



Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Thiago Zoroastro
Agradeço o esclarecimento com fontes. É bom ver os atores decidindo de perto.

O próprio pessoal da Mozilla tomou essa decisão, pelo que ficou evidenciado.

Com existência do Icecat, o Iceweasel parece ter os dias contados.
 

Em Sexta-feira, 17 de Junho de 2016 10:34, Sheldon Led 
 escreveu:
 

 O que ocorreu na verdade é que, em 2006 a Mozilla não aceitava todas as 
mudanças que os desenvolvedores do Debian faziam no Firefox (e outros 
aplicativos da Mozilla), daí para aplicar tais mudanças, de acordo com a 
DFSG[1] nº 4, eles redistribuiram o Firefox (e outros aplicativos da Mozilla) 
sobre outra marca/nome[2].

Ao longo de 10 anos, a Mozilla e o Debian perceberam que todas as alterações 
feitas pelos desenvolvedores debian eram aceitas pela Mozilla, e abriram uma 
discussão[3] para o Debian voltar a utilizar a marca do Firefox.


1 - https://www.debian.org/social_contract
2 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354622
3 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815006

--
Sheldon Ledhttp://sheldonled.com

2016-06-17 10:00 GMT-03:00 Fred Maranhão :

2016-06-17 7:30 GMT-03:00 Antonio Terceiro :
...
> essa política foi alterada, e aí o nome e o logo alternativos não são
> mais necessários.

mas eu já tinha me apegado à doninha...





  

Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey
  tuxteam.de> writes:

> 
> 
> On Fri, Jun 17, 2016 at 01:12:00PM +, Andrey wrote:
> 
> [...]
> 
> But writing a minimal Tcl program and running it through strace might shake
> out whether they do any fcntl behind the scenes...
> 

o.k.
serv:~$ cat >t.tcl 
set f [open tst.tst w]
puts $f test
close $f
serv:~$ strace tclsh t.tcl
...
open("tst.tst", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fcntl(5, F_SETFD, FD_CLOEXEC)   = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS,
0x7ffc5a3bb3e0) = -1 ENOTTY (Inappropriate ioctl for device)
write(5, "test\n", 5)   = 5
close(5)= 0
...

as it was expected - nothing miraculous 


> > how it could be when I tried to save a file from Emacs and got 'Resource
> > temporarily unavailable'
> > 
> > well, I included all open(2) errors in your test:
> > 
> > int nerr[]={EACCES,EEXIST,EFAULT,EFBIG,EINTR,EINVAL,EISDIR,ELOOP,
> > EMFILE,ENAMETOOLONG,ENODEV,ENOENT,ENOMEM,ENOSPC,ENOTDIR,ENXIO,
> > EOPNOTSUPP,EOVERFLOW,EPERM,EROFS,ETXTBSY,EWOULDBLOCK};
> 
> I see. So still EWOULDBLOCK is the likely "culprit".
> 

I am afraid not, it has nothing to do with NONBLOCKED i/o,
it's normal BLOCKED.

> I see three things you might try:
> 
>   - sift through the kernel sources watching out for a possible
> EWOULDBLOCK return on open()
> 
>   - have a look at the Emacs sources
>

there is nothing particular about emacs
it my have been 'bash' or anything that uses libc
 
>   - use the LD_PRELOAD trick [1] to install a little spy on open()
> and let the system running for a while like this (the last one
> depends on the ratio of how critical your system is and how
> corageous you are 
> 
> regards
> [1]
https://rafalcieslak.wordpress.com/2013/04/02
/dynamic-linker-tricks-using-ld_preload
-to-cheat-inject-features-and-investigate-programs/
> 

Thank you Thomas! it is something I'll look at later, although system is
quite busy and critical.

I am still wondering could be systemd somehow imposes limits on resources,
 not having a clue what should I watch for.

All the best,
  Andrey





Re: Plus possible d'imprimer depuis LibreOffice

2016-06-17 Thread Bernard Schoenacker
Le Fri, 17 Jun 2016 16:02:23 +0200,
andre_deb...@numericable.fr a écrit :

> > Le Fri, 17 Jun 2016 15:37:22 +0200,
> > andre_deb...@numericable.fr a écrit :  
> > > Depuis peu, je n'arrive plus à imprimer, uniquement depuis
> > > LibreOffice (LO).
> > > Pourtant Cups ne signale aucune erreur, j'ai malgré tout
> > > réinstallé mon imprimante (epson), relancé cups, 
> > > l'imprimante est bien détectée par LO, et pareil.
> > > Si je fais un copier/coller de mon document LibreOffice,
> > > et que je le colle dans un nouveau texte, ça imprime.
> > > Quel est ce mystère ?
> > > et que faut-il faire pour configurer son imprimante dans LO ?
> > > Merci de votre aide.  André  
> 
> On Friday 17 June 2016 15:57:15 Bernard Schoenacker wrote:
> > bonjour,
> > est il possible de passer par l'export pdf et ensuite de l'imprimer
> > en ligne de commande ou de passer par evince ?
> > lp -d "epson"  (mon-fichier.pdf || mon-ficher.odt)
> > slt bernard  
> 
> Est-il possible de lire les mails d'origine :
> > je n'arrive plus à imprimer, uniquement depuis LibreOffice (LO).  
> 
> L'imprimante imprime dans tous les cas sauf avec LibreOffice.
> 
> André
> 

bonjour,

essayes de trouver une doc complète sur spadmin libreoffice, mais j'ai
l'impression que ce genre de chose est passée à la trappe depuis la
version 5.x ...

en voici la question :

https://ask.libreoffice.org/en/question/55890/has-libreoffice-50-intentionally-dropped-printer-support-on-linux/


The graphical utility spadmin is now removed in favor of these new
features and the operating system's standard printer administration
tools. (Caolán McNamara)

source:

https://wiki.documentfoundation.org/ReleaseNotes/4.3#CUPS.2C_fax_machines_and_spadmin

en voici un morceau (doc obsolète pour la version 5) :

https://forum.ubuntu-fr.org/viewtopic.php?id=440340

slt
bernard



Re: ThinkPad fan

2016-06-17 Thread Lisi Reisz
On Friday 17 June 2016 15:01:39 Gene Heskett wrote:
> On Friday 17 June 2016 08:22:02 Cindy-Sue Causey wrote:
> > On 6/17/16, Cindy-Sue Causey  wrote:
> > > On 6/17/16, Dan Purgert  wrote:
> > >> Francesco Montanari wrote:
> > >>> I recently installed Jessie on a Lenovo ThinkPad T420. The fan
> > >>> usage looks
> > >>> reasonable. However, high temperatures (96 C) are reached when
> > >>> CPUs are running intensively for more than one minute or so. The
> > >>> fan speed at those
> > >>> temperatures is about 4500 rpm.
> > >>>
> > >>> Do you think it is ok, or do you suggest to force lower
> > >>> temperatures, e.g.,with thinkfan [1]?
> > >>
> > >> Absolutely.  95C is pushing the thermal thresholds of CPU dies
> > >> (IIRC, 100C is the burnout temp on most).  Clean your heatsink too.
> > >
> > > Consider this an emergency situation that needs immediately
> > > addressed. For example, if I personally didn't already have my brain
> > > circuits mentally locked up on fighting setting up home wifi, I'd be
> > > searching the Net for an external laptop fan, the USB kind that sits
> > > under the laptop (oh, and a replacement dialup modem). In the
> > > meantime, I currently have a desktop fan faced toward mine, and it's
> > > definitely helping.
> >
> > I literally hate when this happens. A thought occurred as fast as that
> > last email was sent. Low income types like myself don't always have
> > enough pennies to rub together to even buy a cheap fan of any kind on
> > demand. Doesn't mean we've completely run out of alternatives. The
> > dogs busted my first laptop fan's USB connection couple years ago, but
> > I still used the stand part of it successfully as a coolant aid for
> > another year or so (until they broke that, too).
> >
> > ANYTHING that can *safely* get a laptop off the desktop surface helps
> > even if no extra fan is available in an emergency. Give air every
> > chance possible to circulate all around the machine.
> >
> > Mine's currently sitting on top of... knitting needles. They're placed
> > so that they are not near the hottest parts of the laptop and so that
> > they do not interfere with any other type of airflow, either. Just
> > another #Life Lesson Learned the Hard Way due to losing couple
> > machines over the years k/t the whole low income thing,
> > yada-yada-grin...
> >
> > Cindy :)
>
> I would saw a couple of the old, small matching sized thread spools in
> two, cutting so you have a long half and a short half. Put the short
> ones under the front edge, and the long ones under the rear edge,
> possibly securing them beside its existing feet with some fabric glue
> I'd expect you have in the sewing kit.  That would leave far more open
> space for the heat to be carried away than the knitting needles would.
> And that sort of glue would allow easy removal in the event you'd have to
> open it and they are hiding an assembly screw.

Like it: :-))

But it requires equipment, like a hacksaw and vice to cut the spools smoothly 
and matching-ly, or your laptop would wobble.  Not all of us have fully 
equipped workshops, Gene. ;-) 

But I love the idea!  Really ingenious.  Have you tried it??

Lisi



Re: ThinkPad fan

2016-06-17 Thread Gene Heskett
On Friday 17 June 2016 09:25:57 Lisi Reisz wrote:

> On Friday 17 June 2016 13:52:51 cbannis...@slingshot.co.nz wrote:
> > (I guess some logical solutions aren't under consideration.)
>
> I have yet to meet a dog-owner whose logical faculties extend to their
> dogs. :-/
>
> Lisi

Now that you mention it, Lisi...   When our Blaze (an AKC registered 
Shelty, good house dog, good watch dog) died about 6 years back, he was 
such a part of the family I wanted to get another.  But Dee, my bride of 
26 years now also understood that it was a lot of work she with her 
copd, no longer felt like doing, she took him to the vet, and to be 
shampooed and groomed. I still miss him, and while he was "it was always 
there" fed, if I got out a bowl of anything, I could count on him 
sitting beside my chair in sphinx position because he knew he'd get to 
lick the bowl.  And it took me about a year to quit putting my ice cream 
or cereal bowls on the floor when I was done.  I'd only been doing it 
for a decade.  Old habits...

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



Re: ThinkPad fan

2016-06-17 Thread deloptes
Lisi Reisz wrote:

> On Friday 17 June 2016 13:52:51 cbannis...@slingshot.co.nz wrote:
>> (I guess some logical solutions aren't under consideration.)
> 
> I have yet to meet a dog-owner whose logical faculties extend to their
> dogs. :-/
> 
> Lisi

(y) those were good jokes



Re: Plus possible d'imprimer depuis LibreOffice

2016-06-17 Thread andre_debian
> Le Fri, 17 Jun 2016 15:37:22 +0200,
> andre_deb...@numericable.fr a écrit :
> > Depuis peu, je n'arrive plus à imprimer, uniquement depuis
> > LibreOffice (LO).
> > Pourtant Cups ne signale aucune erreur, j'ai malgré tout
> > réinstallé mon imprimante (epson), relancé cups, 
> > l'imprimante est bien détectée par LO, et pareil.
> > Si je fais un copier/coller de mon document LibreOffice,
> > et que je le colle dans un nouveau texte, ça imprime.
> > Quel est ce mystère ?
> > et que faut-il faire pour configurer son imprimante dans LO ?
> > Merci de votre aide.  André

On Friday 17 June 2016 15:57:15 Bernard Schoenacker wrote:
> bonjour,
> est il possible de passer par l'export pdf et ensuite de l'imprimer en
> ligne de commande ou de passer par evince ?
> lp -d "epson"  (mon-fichier.pdf || mon-ficher.odt)
> slt bernard

Est-il possible de lire les mails d'origine :
> je n'arrive plus à imprimer, uniquement depuis LibreOffice (LO).

L'imprimante imprime dans tous les cas sauf avec LibreOffice.

André



Re: ThinkPad fan

2016-06-17 Thread Gene Heskett
On Friday 17 June 2016 08:22:02 Cindy-Sue Causey wrote:

> On 6/17/16, Cindy-Sue Causey  wrote:
> > On 6/17/16, Dan Purgert  wrote:
> >> Francesco Montanari wrote:
> >>> I recently installed Jessie on a Lenovo ThinkPad T420. The fan
> >>> usage looks
> >>> reasonable. However, high temperatures (96 C) are reached when
> >>> CPUs are running intensively for more than one minute or so. The
> >>> fan speed at those
> >>> temperatures is about 4500 rpm.
> >>>
> >>> Do you think it is ok, or do you suggest to force lower
> >>> temperatures, e.g.,with thinkfan [1]?
> >>
> >> Absolutely.  95C is pushing the thermal thresholds of CPU dies
> >> (IIRC, 100C is the burnout temp on most).  Clean your heatsink too.
> >
> > Consider this an emergency situation that needs immediately
> > addressed. For example, if I personally didn't already have my brain
> > circuits mentally locked up on fighting setting up home wifi, I'd be
> > searching the Net for an external laptop fan, the USB kind that sits
> > under the laptop (oh, and a replacement dialup modem). In the
> > meantime, I currently have a desktop fan faced toward mine, and it's
> > definitely helping.
>
> I literally hate when this happens. A thought occurred as fast as that
> last email was sent. Low income types like myself don't always have
> enough pennies to rub together to even buy a cheap fan of any kind on
> demand. Doesn't mean we've completely run out of alternatives. The
> dogs busted my first laptop fan's USB connection couple years ago, but
> I still used the stand part of it successfully as a coolant aid for
> another year or so (until they broke that, too).
>
> ANYTHING that can *safely* get a laptop off the desktop surface helps
> even if no extra fan is available in an emergency. Give air every
> chance possible to circulate all around the machine.
>
> Mine's currently sitting on top of... knitting needles. They're placed
> so that they are not near the hottest parts of the laptop and so that
> they do not interfere with any other type of airflow, either. Just
> another #Life Lesson Learned the Hard Way due to losing couple
> machines over the years k/t the whole low income thing,
> yada-yada-grin...
>
> Cindy :)

I would saw a couple of the old, small matching sized thread spools in 
two, cutting so you have a long half and a short half. Put the short 
ones under the front edge, and the long ones under the rear edge, 
possibly securing them beside its existing feet with some fabric glue 
I'd expect you have in the sewing kit.  That would leave far more open 
space for the heat to be carried away than the knitting needles would.
And that sort of glue would allow easy removal in the event you'd have to 
open it and they are hiding an assembly screw.

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



Re: Plus possible d'imprimer depuis LibreOffice

2016-06-17 Thread Bernard Schoenacker
Le Fri, 17 Jun 2016 15:37:22 +0200,
andre_deb...@numericable.fr a écrit :

> Hello à tous,
> 
> Depuis peu, je n'arrive plus à imprimer, uniquement depuis
> LibreOffice (LO).
> 
> Pourtant Cups ne signale aucune erreur, j'ai malgré tout
> réinstallé mon imprimante (epson), relancé cups, 
> l'imprimante est bien détectée par LO, et pareil.
> 
> Si je fais un copier/coller de mon document LibreOffice,
> et que je le colle dans un nouveau texte, ça imprime.
> 
> Quel est ce mystère ?
> et que faut-il faire pour configurer son imprimante dans LO ?
> 
> Merci de votre aide.
> 
> André
> 

bonjour,

est il possible de passer par l'export pdf et ensuite de l'imprimer en
ligne de commande ou de passer par evince ?

lp -d "epson"  (mon-fichier.pdf || mon-ficher.odt)

slt
bernard



Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jun 17, 2016 at 01:12:00PM +, Andrey wrote:

[...]

> well, although it may be not convincing to you:
> in Tcl it's return from -
> 'open $fname w'
> from man open(3tcl):
> 'w  Open  the  file  for  writing only.  Truncate it if it exists.  If it
>  does not exist, create a new file.'

You don't need to convince me :) -- I just noted that I didn't remember seeing
any evidence (which could well have been blindness on my side).

[...]

But writing a minimal Tcl program and running it through strace might shake
out whether they do any fcntl behind the scenes...

> how it could be when I tried to save a file from Emacs and got 'Resource
> temporarily unavailable'
> 
> well, I included all open(2) errors in your test:
> 
> int nerr[]={EACCES,EEXIST,EFAULT,EFBIG,EINTR,EINVAL,EISDIR,ELOOP,
>   EMFILE,ENAMETOOLONG,ENODEV,ENOENT,ENOMEM,ENOSPC,ENOTDIR,ENXIO,
>   EOPNOTSUPP,EOVERFLOW,EPERM,EROFS,ETXTBSY,EWOULDBLOCK};

I see. So still EWOULDBLOCK is the likely "culprit".

I see three things you might try:

  - sift through the kernel sources watching out for a possible
EWOULDBLOCK return on open()

  - have a look at the Emacs sources

  - use the LD_PRELOAD trick [1] to install a little spy on open()
and let the system running for a while like this (the last one
depends on the ratio of how critical your system is and how
corageous you are ;-)

regards
[1] 
https://rafalcieslak.wordpress.com/2013/04/02/dynamic-linker-tricks-using-ld_preload-to-cheat-inject-features-and-investigate-programs/

- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldj/1MACgkQBcgs9XrR2kYOGQCggYh3j5nex/pHIo5mp1WQ+Vor
sysAn2v8YPaeyN6ImvBvWKCg/QAvgSpc
=7A6z
-END PGP SIGNATURE-



Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Jack Jr.

  
  
Em breve deve vir o ícone do
Thunderbird também se for seguido o mesmo raciocínio...

Jack Pogorelsky Junior
Eng. Mecânico
Tel: +55 (51) 9348-0140
Site: sulmail.com/pogorelsky
E-mail: j...@sulmail.com

  
Em 17-06-2016 10:00, Fred Maranhão
  escreveu:


  2016-06-17 7:30 GMT-03:00 Antonio Terceiro :
...

  
essa política foi alterada, e aí o nome e o logo alternativos não são
mais necessários.

  
  
mas eu já tinha me apegado à doninha...




  




Re: How to download over https

2016-06-17 Thread Gene Heskett
On Friday 17 June 2016 04:15:51 Jörg-Volker Peetz wrote:

> Jörg-Volker Peetz wrote on 06/16/16 15:12:
> > Did you take a look here: https://www.debian.org/CD/verify ,
> > "Verifying authenticity of Debian CDs"?
> >
> > The https protocol would add quite some overhead to the download of
> > the iso-files which are already big by them self.
>
> This statement has to be corrected: the overhead of https is hardly
> perceptible on "modern" hardware. (See, e.g.,
> https://www.keycdn.com/blog/https-performance-overhead/ ,
> https://www.imperialviolet.org/2010/06/25/overclocking-ssl.html )
>
> Regards,
> jvp.

I would concur with JVP, I have my 3 machine tool computers mounted with 
sshfs for file sharing, and do 90% of my gcode work on them with an 
ssh -Y shared key login.  2 of those machines are relatively slow dual 
core atoms that are configured such that normal sw only has access to 
one of their 2 core's, with the other being dedicated to the realtime 
parts of LinuxCNC.  No noticeable lags.  And I don't see lags that could 
be caused by https-anywhere as I browse the net often enough to 
discontinue its use.

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



Plus possible d'imprimer depuis LibreOffice

2016-06-17 Thread andre_debian
Hello à tous,

Depuis peu, je n'arrive plus à imprimer, uniquement depuis LibreOffice (LO).

Pourtant Cups ne signale aucune erreur, j'ai malgré tout
réinstallé mon imprimante (epson), relancé cups, 
l'imprimante est bien détectée par LO, et pareil.

Si je fais un copier/coller de mon document LibreOffice,
et que je le colle dans un nouveau texte, ça imprime.

Quel est ce mystère ?
et que faut-il faire pour configurer son imprimante dans LO ?

Merci de votre aide.

André



Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Sheldon Led
O que ocorreu na verdade é que, em 2006 a Mozilla não aceitava todas as
mudanças que os desenvolvedores do Debian faziam no Firefox (e outros
aplicativos da Mozilla), daí para aplicar tais mudanças, de acordo com a
DFSG[1] nº 4, eles redistribuiram o Firefox (e outros aplicativos da
Mozilla) sobre outra marca/nome[2].

Ao longo de 10 anos, a Mozilla e o Debian perceberam que todas as
alterações feitas pelos desenvolvedores debian eram aceitas pela Mozilla, e
abriram uma discussão[3] para o Debian voltar a utilizar a marca do Firefox.


1 - https://www.debian.org/social_contract
2 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354622
3 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815006

--
Sheldon Led
http://sheldonled.com

2016-06-17 10:00 GMT-03:00 Fred Maranhão :

> 2016-06-17 7:30 GMT-03:00 Antonio Terceiro :
> ...
> > essa política foi alterada, e aí o nome e o logo alternativos não são
> > mais necessários.
>
> mas eu já tinha me apegado à doninha...
>
>


Re: ThinkPad fan

2016-06-17 Thread Lisi Reisz
On Friday 17 June 2016 13:52:51 cbannis...@slingshot.co.nz wrote:
> (I guess some logical solutions aren't under consideration.)

I have yet to meet a dog-owner whose logical faculties extend to their 
dogs. :-/

Lisi



Re: ThinkPad fan

2016-06-17 Thread Lisi Reisz
On Friday 17 June 2016 13:22:02 Cindy-Sue Causey wrote:
> They're placed
> so that they are not near the hottest parts of the laptop

Provided they are not in any way obstructing airflow, then assuming they are 
metal ones you WANT them near or under the heat to help conduct it away.  I 
am assuming they are not plastic (shudder - how does anyone manage to knit on 
plastic?), and bamboo is expensive, but you might have saved those pennies 
up   So metal seems reasonably likely.

Lisi



Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey
  tuxteam.de> writes:

> 
> 
> On Fri, Jun 17, 2016 at 11:06:15AM +, Andrey wrote:
> >   tuxteam.de> writes:
> 
> [...]
> 
> > > If the problem is somehow repeatable [...]
> 
> > It happens very rare and rather unpredictable 
> > sometimes when a lot of files are created
> > and sometimes without such obvious signs.
> 
> Darn. This makes the problem "interesting".
> 
> > > Other things to check: does that happen on any files? On a
> > > specific file system? If yes: how is that one mounted?
> > > 
> > 
> > It happens to any file on any ext4 partition which are locally mounted.
> > 
> > Is there a way to find out at least which part of the system is responsible
> > for 'resource temporarily unavailable'.
> 
> OK. I've got one more hint. Reading through the open(2) man page
> (assuming it is really open what's failing on you -- what evidence
> do you have?),

well, although it may be not convincing to you:
in Tcl it's return from -
'open $fname w'
from man open(3tcl):
'w  Open  the  file  for  writing only.  Truncate it if it exists.  If it
 does not exist, create a new file.'

which is translated to libc open
open (fname, O_CREAT|O_WRONLY|O_TRUNC) (or create())


> EAGAIN isn't listed among the possible errno values,
> but EWOULDBLOCK
> 
>EWOULDBLOCK
>   The O_NONBLOCK flag was specified, and an incompatible
>   lease was held on the file (see fcntl(2)).
>

But in my case it's normal - not NONBLOCK file

> Now, on POSIX systems EWOULDBLOCK and EAGAIN could be one and the
> same. Lo and behold, a small test program on my box reveals that
> both at least translate to 'Resource temporarily unavailable':
> 
> #include 
> #include 
> #include 
> 
> int main(int argc, char *argv[])
> {
>  printf("EAGAIN is '%s'\n"
> "EWOULDBLOCK is '%s'\n",
> strerror(EAGAIN),
> strerror(EWOULDBLOCK));
> }
> 
> ==>
> 
> tomas  rasputin:~/prog/C$ ./errno
> EAGAIN is 'Resource temporarily unavailable'
> EWOULDBLOCK is 'Resource temporarily unavailable'
> 
> This will all depend on things like kernel version, libc and whatnot,
> but the most likely candidate at the moment seems to be the app playing
> games with fcntl leases.
> 

how it could be when I tried to save a file from Emacs and got 'Resource
temporarily unavailable'

well, I included all open(2) errors in your test:

int nerr[]={EACCES,EEXIST,EFAULT,EFBIG,EINTR,EINVAL,EISDIR,ELOOP,
EMFILE,ENAMETOOLONG,ENODEV,ENOENT,ENOMEM,ENOSPC,ENOTDIR,ENXIO,
EOPNOTSUPP,EOVERFLOW,EPERM,EROFS,ETXTBSY,EWOULDBLOCK};
char
*terr[]={"EACCES","EEXIST","EFAULT","EFBIG","EINTR","EINVAL","EISDIR","ELOOP",
 
"EMFILE","ENAMETOOLONG","ENODEV","ENOENT","ENOMEM","ENOSPC","ENOTDIR","ENXIO",
  "EOPNOTSUPP","EOVERFLOW","EPERM","EROFS","ETXTBSY","EWOULDBLOCK"};

int main(int argc, char *argv[])
{ int i;
  for (i=0; i

Re: Firefox 47 saccade sur des vidéos en mode plein écran

2016-06-17 Thread Michel Memeteau - EKIMIA
Dans les 2 cas , verifie avec clique -droit sur la video , stats for nerds
si la video est en VP9 ou H264 , elle devrait etre en VP9 dans les 2 cas

[image: photo]
*Michel Memeteau*
Directeur, Ekimia SAS
+33 (0)9 72 30 83 34 <+33+9+72+30+83+34> | m...@ekimia.fr | Notre WebBoutique
: http://shop.ekimia.fr  | 49 chemin union 13720 La
bouilladisse
 FRANCE




Contactez nous directement par Tchat sur http://bit.ly/ekichat




Le 17 juin 2016 à 11:47, Jean-Marc  a écrit :

> salut la liste,
>
> Depuis la mie à jour de Firefox de 46 à 47 sur ma Debian Stretch/Sid, j'ai
> des soucis pour afficher une vidéo en plein écran.
>
> Un simple essai d'une vidéo sur youtube, si je passe en PE, ça bloque et
> la vidéo s'affiche par saccades.
>
> Je n'ai pas encore fait de recherche mais j'aimerais savoir si d'autres
> personnes sont sujette au même phénomène.
>
> Et si j’essaie avec Firfox-ESR 45.2, ce problème n'apparaît pas.
>
> Merci.
>
> Jean-Marc 
>


Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Fred Maranhão
2016-06-17 7:30 GMT-03:00 Antonio Terceiro :
...
> essa política foi alterada, e aí o nome e o logo alternativos não são
> mais necessários.

mas eu já tinha me apegado à doninha...



Re: ThinkPad fan

2016-06-17 Thread Tom Grace

On 17/06/2016 10:58, Francesco Montanari wrote:

I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage
looks reasonable. However, high temperatures (96 C) are reached when
CPUs are running intensively for more than one minute or so. The fan
speed at those temperatures is about 4500 rpm.
Back when I had a ThinkPad, I found it would shut itself down at around 
that temperature. I also found that 4500 RPM isn't exactly the highest 
speed the fan can run.


I wrote https://github.com/theothertom/thinkpad-temp_mon to control the 
fan and have it spin faster over 80C. Before you have a go, note that 
I've not touched that code in >4 years (and don't have a thinkpad any 
more), so it might take a bit of poking before it works.




Re: ThinkPad fan

2016-06-17 Thread cbannister
On Fri, Jun 17, 2016 at 08:22:02AM -0400, Cindy-Sue Causey wrote:
> I literally hate when this happens. A thought occurred as fast as that
> last email was sent. Low income types like myself don't always have
> enough pennies to rub together to even buy a cheap fan of any kind on
> demand. Doesn't mean we've completely run out of alternatives. The
> dogs busted my first laptop fan's USB connection couple years ago, but
> I still used the stand part of it successfully as a coolant aid for
> another year or so (until they broke that, too).

Then logically it sounds like you should sell the dogs, get cash and
will save on further expenditure relating to them *plus* your household
appliances will be under less risk! :)

(I guess some logical solutions aren't under consideration.)

-- 
The media's the most powerful entity on earth. 
They have the power to make the innocent guilty 
and to make the guilty innocent, and that's power.
 -- Malcolm X



Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Luís Cláudio A . Gama
Artigo da PC World sobre IceWeasel

http://www.pcworld.com/article/3036509/linux/iceweasel-will-be-renamed-firefox-as-relations-between-debian-and-mozilla-thaw.html



Sent with MailTrack


Luís Cláudio Alves Gama
Fone: 11-4602-3400
Cel:11-9 8452-4087
e-mail: luisg...@sabordelivery.com.br


*ADVERTÊNCIA*: *Esta mensagem é enviada de empresa de tecnologia e pode
conter informações sigilosas, confidenciais ou privilegiadas entre
profissional e cliente, sendo ilegal a divulgação ou reprodução, total ou
parcial de seu conteúdo.*



* Antes de imprimir,* *pense em seu compromisso com o* *Meio Ambiente.*

Em 17 de junho de 2016 08:41, Marcos Antonio Rufino do Egito <
mareg...@gmail.com> escreveu:

> Boas debianos.
> Eu que venho experimentando o debão em um net e pc, percebi essa alteração
> já a algum tempo, também tinha lido isso em algum lugar já faz um tempo ...
> está semana fiz uma atualização no PC que uso pra trabalhar e gostei do
> Jessie release 5.
> Como trabalho com a galera da ponta os usuários que apenas usam não estão
> nem aí pro que rola nos bastidores, estas mudanças foram providências pois
> era uma queixa, perdi as contas de quantas vezes tive que seguir os
> tutoriais de como por o Firefox no debian
>
> Bom uso o debão desde 1994 já tive altos e baixos com ele mas não largo o
> osso 
>
> Abraços!
> Em 17 de jun de 2016 7:31 AM, "Antonio Terceiro" 
> escreveu:
>
>> On Fri, Jun 17, 2016 at 01:45:07AM -0300, Linux - Junior Polegato wrote:
>> > Olá!
>> >
>> > Faz meses que o firefox-esr entrou no lugar do Iceweasel no Testing,
>> agora
>> > está indo para as versões estáveis...
>> >
>> > O Iceweasel existia devido há divergências entre os mantenedores do
>> Debian
>> > e a Mozilla, mas depois de 10 anos eles se entenderam e "formaram um
>> time
>> > só".
>>
>> é ... não era bem isso. A mozilla tinha uma política de marcas que
>> proibia distribuir binários modificados (exemplo backports de correções
>> de segurança) que usassem a marca "Firefox", tanto o nome quanto o log ,
>> e por isso os mantenedores no debian preciaram renomear e mudar o logo.
>>
>> essa política foi alterada, e aí o nome e o logo alternativos não são
>> mais necessários.
>>
>> a cobertura que saiu no Linux Weekly News alguns meses atrás me pareceu
>> razoável:
>> https://lwn.net/Articles/676799/
>>
>


Re: ThinkPad fan

2016-06-17 Thread Cindy-Sue Causey
On 6/17/16, Cindy-Sue Causey  wrote:
> On 6/17/16, Dan Purgert  wrote:
>> Francesco Montanari wrote:
>>> I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage
>>> looks
>>> reasonable. However, high temperatures (96 C) are reached when CPUs are
>>> running intensively for more than one minute or so. The fan speed at
>>> those
>>> temperatures is about 4500 rpm.
>>>
>>> Do you think it is ok, or do you suggest to force lower temperatures,
>>> e.g.,with thinkfan [1]?
>>
>> Absolutely.  95C is pushing the thermal thresholds of CPU dies (IIRC,
>> 100C is the burnout temp on most).  Clean your heatsink too.
>
>
> Consider this an emergency situation that needs immediately addressed.
> For example, if I personally didn't already have my brain circuits
> mentally locked up on fighting setting up home wifi, I'd be searching
> the Net for an external laptop fan, the USB kind that sits under the
> laptop (oh, and a replacement dialup modem). In the meantime, I
> currently have a desktop fan faced toward mine, and it's definitely
> helping.


I literally hate when this happens. A thought occurred as fast as that
last email was sent. Low income types like myself don't always have
enough pennies to rub together to even buy a cheap fan of any kind on
demand. Doesn't mean we've completely run out of alternatives. The
dogs busted my first laptop fan's USB connection couple years ago, but
I still used the stand part of it successfully as a coolant aid for
another year or so (until they broke that, too).

ANYTHING that can *safely* get a laptop off the desktop surface helps
even if no extra fan is available in an emergency. Give air every
chance possible to circulate all around the machine.

Mine's currently sitting on top of... knitting needles. They're placed
so that they are not near the hottest parts of the laptop and so that
they do not interfere with any other type of airflow, either. Just
another #Life Lesson Learned the Hard Way due to losing couple
machines over the years k/t the whole low income thing,
yada-yada-grin...

Cindy :)

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

* runs with duct tape *



Re: ThinkPad fan

2016-06-17 Thread Cindy-Sue Causey
On 6/17/16, Dan Purgert  wrote:
> Francesco Montanari wrote:
>> I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage
>> looks
>> reasonable. However, high temperatures (96 C) are reached when CPUs are
>> running intensively for more than one minute or so. The fan speed at
>> those
>> temperatures is about 4500 rpm.
>>
>> Do you think it is ok, or do you suggest to force lower temperatures,
>> e.g.,with thinkfan [1]?
>
> Absolutely.  95C is pushing the thermal thresholds of CPU dies (IIRC,
> 100C is the burnout temp on most).  Clean your heatsink too.


Ditto (same thought process here). I just this week lost a ~3-year-old
*external*, i.e. not even internal, dialup modem to (external) heat in
the house. If you run disks in an internal laptop DVD writer/player,
they'll be so hot they'll almost burn you.

Consider this an emergency situation that needs immediately addressed.
For example, if I personally didn't already have my brain circuits
mentally locked up on fighting setting up home wifi, I'd be searching
the Net for an external laptop fan, the USB kind that sits under the
laptop (oh, and a replacement dialup modem). In the meantime, I
currently have a desktop fan faced toward mine, and it's definitely
helping.

The thing to remember about fans is they don't "cool" like an air
conditioning. They only blow hot air around. Our ongoing job is to
make sure our fans have the easiest time possible shoving hot air
*_out and away from_* our machines.

Just thinking out loud... :)

Cindy :)

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

* runs with duct tape *



Re: ThinkPad fan

2016-06-17 Thread Norbert Kiszka
Dnia 2016-06-17, pią o godzinie 10:26 +, Dan Purgert pisze:
> Francesco Montanari wrote:
> > I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage looks
> > reasonable. However, high temperatures (96 C) are reached when CPUs are
> > running intensively for more than one minute or so. The fan speed at those
> > temperatures is about 4500 rpm.
> >
> > Do you think it is ok, or do you suggest to force lower temperatures,
> > e.g.,with thinkfan [1]?
> 
> Absolutely.  95C is pushing the thermal thresholds of CPU dies (IIRC,
> 100C is the burnout temp on most).  Clean your heatsink too.
> 
> 

Personally on too much dust, i screwing heatsink out and put into water
- but after initial blowing.




Re: Samba 4.2.10+dfsg-0+deb8u3 and group specific policies

2016-06-17 Thread Virgo Pärna
On Thu, 16 Jun 2016 12:58:44 + (UTC), Virgo Pärna  
wrote:
>
>   Just checking if anyone else has problems with group specific
> Group Policies with Samba Active Directory domain controller with latest
> samba update (from 5th of June)? 
>   I have one policy that is only allowed for specific computers.
> Those computers are part of special groups and groups have permission
> for that policy. But those computers get "Access denied" when trying to
> read that policy (GPT.INI). It worked before last update.
>

Seems to be a case of
 - adding 
guest ok = yes 
fixed the problem.

Domain was converted from NT style domain and in past computer
accounts were in nobody group. So anyone having such machine accounts
should do some cleanup.


-- 
Virgo Pärna 
virgo.pa...@mail.ee



Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Marcos Antonio Rufino do Egito
Boas debianos.
Eu que venho experimentando o debão em um net e pc, percebi essa alteração
já a algum tempo, também tinha lido isso em algum lugar já faz um tempo ...
está semana fiz uma atualização no PC que uso pra trabalhar e gostei do
Jessie release 5.
Como trabalho com a galera da ponta os usuários que apenas usam não estão
nem aí pro que rola nos bastidores, estas mudanças foram providências pois
era uma queixa, perdi as contas de quantas vezes tive que seguir os
tutoriais de como por o Firefox no debian

Bom uso o debão desde 1994 já tive altos e baixos com ele mas não largo o
osso 

Abraços!
Em 17 de jun de 2016 7:31 AM, "Antonio Terceiro" 
escreveu:

> On Fri, Jun 17, 2016 at 01:45:07AM -0300, Linux - Junior Polegato wrote:
> > Olá!
> >
> > Faz meses que o firefox-esr entrou no lugar do Iceweasel no Testing,
> agora
> > está indo para as versões estáveis...
> >
> > O Iceweasel existia devido há divergências entre os mantenedores do
> Debian
> > e a Mozilla, mas depois de 10 anos eles se entenderam e "formaram um time
> > só".
>
> é ... não era bem isso. A mozilla tinha uma política de marcas que
> proibia distribuir binários modificados (exemplo backports de correções
> de segurança) que usassem a marca "Firefox", tanto o nome quanto o log ,
> e por isso os mantenedores no debian preciaram renomear e mudar o logo.
>
> essa política foi alterada, e aí o nome e o logo alternativos não são
> mais necessários.
>
> a cobertura que saiu no Linux Weekly News alguns meses atrás me pareceu
> razoável:
> https://lwn.net/Articles/676799/
>


Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Luiz Paulo Colombiano
Terceiro,

Grato pelas informações. Não conhecia essa matéria do Linux Weekly.

Inteh

Em 17/06/16, Antonio Terceiro escreveu:
> On Fri, Jun 17, 2016 at 01:45:07AM -0300, Linux - Junior Polegato wrote:
>> Olá!
>>
>> Faz meses que o firefox-esr entrou no lugar do Iceweasel no Testing,
>> agora
>> está indo para as versões estáveis...
>>
>> O Iceweasel existia devido há divergências entre os mantenedores do
>> Debian
>> e a Mozilla, mas depois de 10 anos eles se entenderam e "formaram um time
>> só".
>
> é ... não era bem isso. A mozilla tinha uma política de marcas que
> proibia distribuir binários modificados (exemplo backports de correções
> de segurança) que usassem a marca "Firefox", tanto o nome quanto o log ,
> e por isso os mantenedores no debian preciaram renomear e mudar o logo.
>
> essa política foi alterada, e aí o nome e o logo alternativos não são
> mais necessários.
>
> a cobertura que saiu no Linux Weekly News alguns meses atrás me pareceu
> razoável:
> https://lwn.net/Articles/676799/
>


-- 
==
..:Luiz Paulo Colombiano:..

{{{Contra Negantem Principia Non Est Disputandum}}}

>>Linux User # 415937

>> Herd_ (((Soluções em Software e Hardware Livre para empoderamento dos
oprimidos))) >> http://equipetechhunters.blogspot.com <<

>>Lattes:http://lattes.cnpq.br/9789604686994795<

"Ninguna “verdad absoluta”, ninguna ciencia teológica, se encuentra alojada
en un libro, como algo separado de la práctica cotidiana. Esta es solo una
caja de herramientas, un laberinto salvaje. No para adherirse, sino para
cuestionarse y cuestionar la historia de las luchas en curso. No para
acumular lecturas, sino para estimular la discusión contra toda lógica
paralizante."
http://cabezasdetormenta.noblogs.org/literaturaparaelincendio/



Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jun 17, 2016 at 11:06:15AM +, Andrey wrote:
>   tuxteam.de> writes:

[...]

> > If the problem is somehow repeatable [...]

> It happens very rare and rather unpredictable 
> sometimes when a lot of files are created
> and sometimes without such obvious signs.

Darn. This makes the problem "interesting".

> > Other things to check: does that happen on any files? On a
> > specific file system? If yes: how is that one mounted?
> > 
> 
> It happens to any file on any ext4 partition which are locally mounted.
> 
> Is there a way to find out at least which part of the system is responsible
> for 'resource temporarily unavailable'.

OK. I've got one more hint. Reading through the open(2) man page
(assuming it is really open what's failing on you -- what evidence
do you have?), EAGAIN isn't listed among the possible errno values,
but EWOULDBLOCK

   EWOULDBLOCK
  The O_NONBLOCK flag was specified, and an incompatible
  lease was held on the file (see fcntl(2)).

Now, on POSIX systems EWOULDBLOCK and EAGAIN could be one and the
same. Lo and behold, a small test program on my box reveals that
both at least translate to 'Resource temporarily unavailable':

#include 
#include 
#include 

int main(int argc, char *argv[])
{
 printf("EAGAIN is '%s'\n"
"EWOULDBLOCK is '%s'\n",
strerror(EAGAIN),
strerror(EWOULDBLOCK));
}

==>

tomas@rasputin:~/prog/C$ ./errno
EAGAIN is 'Resource temporarily unavailable'
EWOULDBLOCK is 'Resource temporarily unavailable'


This will all depend on things like kernel version, libc and whatnot,
but the most likely candidate at the moment seems to be the app playing
games with fcntl leases.

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldj35cACgkQBcgs9XrR2kbwSwCfU1kdxFV6vp/xvS0/O1WuUEj8
IWgAnA9jtNDLJxc4AVtg17gDNYrxX3AR
=pnjY
-END PGP SIGNATURE-



Re: Samba 4.2.10+dfsg-0+deb8u3 and group specific policies

2016-06-17 Thread Virgo Pärna
On Thu, 16 Jun 2016 13:31:07 + (UTC), Virgo Pärna  
wrote:
>
>   Or maybe I'm wrong about it been about group specific policies.
> Because when I removed permission for that group, then it fails with
> another policy - and then it fails with another policy. 
>   But strange thing is, that while Windows Vista reports error,
> Windows 10 succeeds.
>

Seems that the problem is with entire sysvol share. 
I used psexec -s -i cmd.exe to run cmd.exe as SYSTEM user in Windows
computers.
Windows 10 can access \\domain\sysvol and \\dc\sysvol just fine.
Windows XP (cannot try in Windows Vista currently) cannot access 
\\domain\sysvol nor \\dc\sysvol (but they can access other normal
shares). Also, user logged in to system can access shares normaly. Only
system has the issue.

When XP accesses sysvol, then samba log is (end of it):
[2016/06/17 14:19:48.160146,  3]
../source3/lib/access.c:338(allow_access)
  Allowed connection from 10.10.10.36 (10.10.10.36)

But with Windows 10 it is:
[2016/06/17 14:20:38.916353,  3]
../source3/lib/access.c:338(allow_access)
  Allowed connection from 10.10.10.46 (10.10.10.46)
[2016/06/17 14:20:38.919349,  2]
../lib/util/modules.c:196(do_smb_load_module)
  Module 'acl_xattr' loaded
[2016/06/17 14:20:38.922148,  2]
../lib/util/modules.c:196(do_smb_load_module)
  Module 'dfs_samba4' loaded
[2016/06/17 14:20:38.922200,  2]
../source3/modules/vfs_acl_xattr.c:193(connect_acl_xattr)
  connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true'
and 'force unknown acl user = true' for service sysvol

-- 
Virgo Pärna 
virgo.pa...@mail.ee



Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey
  tuxteam.de> writes:

> 
> 
> On Fri, Jun 17, 2016 at 09:24:37AM +, Andrey wrote:
> > 
> > Sven Joachim  gmx.de> writes:
> > 
> > > 
> > > On 2016-06-16 21:46 +0600, Andrew P. Cherepenko wrote:
> > > 
> > > > Hello list,
> > > >   'open()' for creating file sometimes returns an error:
> > > > couldn't open "myfile.txt": resource temporarily unavailable
> > > > either in background process or interactively (ex: in Emacs when
> > > > trying to save a file).
> > > 
> > > Are you sure that it's opening the file which fails in that way, and not
> > > writing to it?
> > 
> > Yes. I am pretty sure.
> 
> If the problem is somehow repeatable, you might try to run your
> program under strace to actually pinpoint the system call setting
> EAGAIN (perhaps you've already done that, but I couldn't imply
> that from your post).
>

It happens very rare and rather unpredictable 
sometimes when a lot of files are created
and sometimes without such obvious signs.

> Other things to check: does that happen on any files? On a
> specific file system? If yes: how is that one mounted?
> 

It happens to any file on any ext4 partition which are locally mounted.

Is there a way to find out at least which part of the system is responsible
for 'resource temporarily unavailable'.


All the best,
  Andrey





Re: ThinkPad fan

2016-06-17 Thread Hans
Hi, 

the rotation of the fan does not mean, it is cooling! I believe, there is a 
lot of dust in the exit for the warm air. So, I suggest, to open your notebook 
and make sure, that the air is good flooding.

The temperature for Intel cpus (as far as I know), should be about 40-60 
degrees, whilst those from AMD are at the same clock speed a little bit 
higher, so about 60-80 degrees Celsius.
 
These are no absolutely temeperatures, just a mark. 90-100 degrees is much too 
high.

Also check, what is controlling the fan: BIOS or some software.

Good luck, 

Hans


>Do you think it is ok, or do you suggest to force lower temperatures, e.g., 
>with thinkfan [1]?

>Thanks,
>Francesco



systemd and plymouth not caching LUKS passwords

2016-06-17 Thread Ramon Diaz-Uriarte

Dear All,

It is my understanding that both systemd per se from v227 and plymouth
will cache passwords[1]. However, there is no caching of LUKS passwords in
my setting, a laptop with two encrypted partitions, corresponding to root
and swap, and where both share the passphrase.

I am using systemd 230-2 and plymouth 0.9.2-3+b1 and running kernel
linux-image-4.6.0-1-amd64 (kernel 4.5 behaves the same way). Trying with or
without plymouth makes no difference (i.e., I am always asked for both
passwords).

I wonder if there is something I need to set/unset, or if I need to create
some (which?) script in /etc/systemd/system. 

My /etc/crypttab is

crypt-sda5  UUID=   noneluks
crypt-sda2  UUID=   noneluks


And my /etc/fstab is

proc/proc   procdefaults0   0
UUID= /boot   ext3defaults  
  0   2
/dev/mapper/crypt-sda5 / ext4 errors=remount-ro,user_xattr 0 1
/dev/mapper/crypt-sda2  noneswapsw  
0   0


Best,



[1] Changes in v227:
https://lists.freedesktop.org/archives/systemd-devel/2015-October/034509.html,
or for instance the step-by-step instructions on setting full disk
encryption at htps://thesimplecomputer.info/full-disk-encryption-with-ubuntu


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdia...@gmail.com
   ramon.d...@iib.uam.es

http://ligarto.org/rdiaz



Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Antonio Terceiro
On Fri, Jun 17, 2016 at 01:45:07AM -0300, Linux - Junior Polegato wrote:
> Olá!
> 
> Faz meses que o firefox-esr entrou no lugar do Iceweasel no Testing, agora
> está indo para as versões estáveis...
> 
> O Iceweasel existia devido há divergências entre os mantenedores do Debian
> e a Mozilla, mas depois de 10 anos eles se entenderam e "formaram um time
> só".

é ... não era bem isso. A mozilla tinha uma política de marcas que
proibia distribuir binários modificados (exemplo backports de correções
de segurança) que usassem a marca "Firefox", tanto o nome quanto o log ,
e por isso os mantenedores no debian preciaram renomear e mudar o logo.

essa política foi alterada, e aí o nome e o logo alternativos não são
mais necessários.

a cobertura que saiu no Linux Weekly News alguns meses atrás me pareceu
razoável:
https://lwn.net/Articles/676799/


signature.asc
Description: PGP signature


Re: How to download over https

2016-06-17 Thread Dan Purgert
Jörg-Volker Peetz wrote:
> Jörg-Volker Peetz wrote on 06/16/16 15:12:
>> Did you take a look here: https://www.debian.org/CD/verify , "Verifying
>> authenticity of Debian CDs"?
>> 
>> The https protocol would add quite some overhead to the download of the
>> iso-files which are already big by them self.
>> 
> This statement has to be corrected: the overhead of https is hardly
> perceptible on "modern" hardware. (See, e.g.,
> https://www.keycdn.com/blog/https-performance-overhead/ ,
> https://www.imperialviolet.org/2010/06/25/overclocking-ssl.html )
>

Yeah, it's not much in the way for the hardware ... but it's still
electricity and bandwidth that needs paying for.

Not that I'm opposed to 'secure' transmissions by any means -- I'm more
personally opposed to "it MUST be HTTPS or else it's no good" thinking
that has started cropping up more and more recently. 

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| 



Re: cron, sshfs and sudo

2016-06-17 Thread Dan Purgert
Wim Bertels wrote:
> use case: use cron to mount a sshfs share (with automatic key auth)
>
> on 1 installation this is working fine:
> [snipped the script]
>
> on the other it keeps failing because the passphrase needs to be entered
> to unlock the key, it doesn't fail however without sudo and a custom
> user1 crontab entry; but as cron is run by root, this should be able to
> do easier
>
> suggestions?

"Install 1" may be using something like gnome keyring manager with a
saved SSH passphrase.  For auto-mounting, you may also be able to safely
use passphrase-less keys.

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| 



Re: ThinkPad fan

2016-06-17 Thread Dan Purgert
Francesco Montanari wrote:
> I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage looks
> reasonable. However, high temperatures (96 C) are reached when CPUs are
> running intensively for more than one minute or so. The fan speed at those
> temperatures is about 4500 rpm.
>
> Do you think it is ok, or do you suggest to force lower temperatures,
> e.g.,with thinkfan [1]?

Absolutely.  95C is pushing the thermal thresholds of CPU dies (IIRC,
100C is the burnout temp on most).  Clean your heatsink too.


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| 



Re: Iceweasel substituido por Firefox?

2016-06-17 Thread Antonio Terceiro
On Fri, Jun 17, 2016 at 03:58:13AM +, vitorhug...@hotmail.com wrote:
> Depois que adotaram o system-d as coisas ficaram meio estranhas pro Debian

uma coisa não tem absolutamente nada a ver com a outra. ninguém tem
obrigação de saber o que está acontecendo no desenvolvimento do debian,
mas também não precisa ficar falando bobagem e espalhando FUD.


signature.asc
Description: PGP signature


ThinkPad fan

2016-06-17 Thread Francesco Montanari
Hi,

I recently installed Jessie on a Lenovo ThinkPad T420. The fan usage looks
reasonable. However, high temperatures (96 C) are reached when CPUs are
running intensively for more than one minute or so. The fan speed at those
temperatures is about 4500 rpm.

Do you think it is ok, or do you suggest to force lower temperatures, e.g.,
with thinkfan [1]?

Thanks,
Francesco

[1] https://packages.debian.org/jessie/thinkfan


Firefox 47 saccade sur des vidéos en mode plein écran

2016-06-17 Thread Jean-Marc
salut la liste,

Depuis la mie à jour de Firefox de 46 à 47 sur ma Debian Stretch/Sid, j'ai des 
soucis pour afficher une vidéo en plein écran.

Un simple essai d'une vidéo sur youtube, si je passe en PE, ça bloque et la 
vidéo s'affiche par saccades.

Je n'ai pas encore fait de recherche mais j'aimerais savoir si d'autres 
personnes sont sujette au même phénomène.

Et si j’essaie avec Firfox-ESR 45.2, ce problème n'apparaît pas.

Merci.

Jean-Marc 


pgp5zmEZj7Y8U.pgp
Description: PGP signature


Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jun 17, 2016 at 09:24:37AM +, Andrey wrote:
> 
> Sven Joachim  gmx.de> writes:
> 
> > 
> > On 2016-06-16 21:46 +0600, Andrew P. Cherepenko wrote:
> > 
> > > Hello list,
> > >   'open()' for creating file sometimes returns an error:
> > > couldn't open "myfile.txt": resource temporarily unavailable
> > > either in background process or interactively (ex: in Emacs when
> > > trying to save a file).
> > 
> > Are you sure that it's opening the file which fails in that way, and not
> > writing to it?
> 
> Yes. I am pretty sure.

If the problem is somehow repeatable, you might try to run your
program under strace to actually pinpoint the system call setting
EAGAIN (perhaps you've already done that, but I couldn't imply
that from your post).

Other things to check: does that happen on any files? On a
specific file system? If yes: how is that one mounted?

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldjxrkACgkQBcgs9XrR2kb10QCfbG3dnreanrEM7PkE4C4PO/vI
/RwAnRFhCuZYevv8PBzt+50rR9O4v4rm
=T3NR
-END PGP SIGNATURE-



Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey

Sven Joachim  gmx.de> writes:

> 
> On 2016-06-16 21:46 +0600, Andrew P. Cherepenko wrote:
> 
> > Hello list,
> >   'open()' for creating file sometimes returns an error:
> > couldn't open "myfile.txt": resource temporarily unavailable
> > either in background process or interactively (ex: in Emacs when
> > trying to save a file).
> 
> Are you sure that it's opening the file which fails in that way, and not
> writing to it?

Yes. I am pretty sure.

> 
> > system: Debian 8.5
> > with kernel: linux-image-3.16.0-4-amd64
> > and systemd 215-17+deb8u4
> >
> > Is that concerned with some imposed limits on the kernel resources ?
> 
> Probably not.  The only limit that should play a role here is the number
> of file descriptors, and the error would be EMFILE ("Too many open
> files") rather than EAGAIN.

The computer is a kind of server.
It is writing every second to about 100 files, every 8 hours creating new
files and closing old ones.
It has been running 7/24 for years without stopping.
All files are on its local disk (in three partitions).
It all worked fairly well on Debian 7 (linux kernel 3.20-4-amd64) for quite
long time until I moved it to Debian 8 a few weeks ago.


Thank you Sven, but I'd rather like to get some advice how I could trace and
pin down the problem.

For the present I have not even got a clue where it could be.
Is it in the kernel or systemd or elsewhere ?

following -
http://0pointer.de/blog/projects/resources.html
(Is it perhaps outdated ?)

I've put DefaultControllers= in /etc/systemd/system.conf
for my desktop and reboot it.
I couldn't see any difference in journal
 there isn't DefaultControllers
in 'man systemd-system.conf' )
Surely it was a blind shoot - I don't like such alike.
But what can I do ?
There is nothing in logs concerning the error and it's not easy to reproduce.


Thanks,
  Andrey




Ass: Configurar HP Deskjet 3630

2016-06-17 Thread danielal...@mailcat.cat
Sí senyor. Tot funcionant sense cap problema. Gràcies.
Enviat des del meu mòbil LG
-- Missatge original--De:BlackholdData:dj., 16 juny 2016 22:12Per a: 
Daniel;Cc: debian usuaris en CATALA;Assumpte:Re: Configurar HP Deskjet 3630
hplip is your friend...- Blackholdhttp://blackhold.nusepas.com@blackhold_~> cal 
lluitar contra el fort per deixar de ser febles, i contranosaltres mateixos 
quan siguem forts (Esquirols)<°((( > ha escrit:> Hola:>> He de configurar una 
HP Deskjet 3630 per fer-la funcionar amb Debian 8> Jessie. Algú s'hi ha 
trobat?>> Gràcies.>> --> Daniel Elias> Usuari de Linux nº 461584>

Ass: Configurar HP Deskjet 3630

2016-06-17 Thread danielal...@mailcat.cat


Enviat des del meu mòbil LGGràcies. Per camins semblants als que dius, he anat 
a parar a la versió 3.16.5 i s'ha instalat sense cap problema, tant al PC fixe 
amb Debian 8.0 Jessie com al portàtil de la mitja taronja amb Debian 7.3 
Wheezy. A la xarxa wi-fi i tot! I podem imprimir els dos.
-- Missatge original--De:Xavier De Yzaguirre i MauraData:dv., 17 juny 
2016 11:10Per a: debian usuaris en CATALA;Cc: Assumpte:Re: Configurar HP 
Deskjet 3630
Ull que es una multifunció wi-fi, has d'utilitzar la versió 3.15.6.

trobo aixó:

Model NameMin. HPLIP VersionSupport Level11ParallelUSBNetwork or JetDirect1Scan 
to PC3Photo Card Access4PC Send Fax5PC Initiated Copy6Services and 
Status7Driver Plug-in8HP Deskjet 3630 All-in-one 
Printer3.15.6FullNoYesYesYesNoNoNoYesNoHP Deskjet Ink Advantage 3630 All-in-one 
Printer3.15.6FullNoYesYesYesNoNoNoYesNo
All information provided is believed to be accurate but is not 
guaranteed.Notes:1 Network support indicates built-in ethernet and/or wireless 
networking. Alternatively, many devices may be operatedon the network using an 
external JetDirect print server. Not all network configurations are supported. 
Please referto the HPLIP FAQs for more information.2 USB mass storage only. You 
may mount the photocard as a storage drive over USB only. Refer toyour 
distribution's documentation for setup and usage instructions.3 Scan supported 
means that PC initiated scan using a SANE compatible software application is 
supported over parallel, USB, or network (depending on I/O connection). 
Information on digital sending products is covered in note 9, below.4 Photo 
supported means that the printer's photo card slots are readable using either 
USB mass storage (USB only) or hp-unload (USB, parallel or network).5 Fax 
supported means that PC initiated fax send is supported using hp-sendfax, once 
an appropria
 te CUPS fax queue is set up. Fax support varies on Linux distributions, based 
on the availability of python-dbus version 0.80 or greater (versions before 
0.80 will not work with HPLIP). Click on the model name of each printer to get 
more detailed information.6 Copy supported means that PC initiated copying is 
supported using hp-makecopies.7 "Services and status" means that ink/toner 
levels, error reporting, and services such as alignment, and color calibration 
are available (via the HP Device Manager aka Toolbox).8 ("Required") A 
downloadable driver plug-in is required for printing support. ("Optional")  A 
downloadable driver plug-in is optional for printing support and may increase 
the speed, quality, or other aspect of printed output.  ("No" or "None") A 
driver plug-in is not required nor available. Driver plug-ins are released 
under a proprietary (non-open) license and are not part of the HPLIP tarball 
release. For more information, please refer to this KB article 9 Device suppor
 ts digital sending, not standard scanning protocols. See this KB article for 
more info.10 Feature support depends on the specific Linux distribution being 
used.11 For a definition of Support Levels, please refer to this KB article.12 
For more information, please refer to this KB article.13 The "Summary of 
Available Features in Various Linux Distributions" table lists available 
features for distros that are supported by the HPLIP automatic tarball 
installer. Distros that are not listed will require a manual install procedure 
(See this page for more information).14"Qt3" and "Qt4" refer to the supported 
UI toolkit. If "Qt3" is indicated, then the distro supports a GUI interface 
using the Qt3 UI toolkit. The Qt4 toolkit is not supported for the distro in 
this case. If "Qt4" is indicated, then the distro supports a GUI interface 
using the Qt4 UI toolkit. In this case, the Qt3 UI toolkit may also be 
available and used if desired. The appropriate UI toolkit will be automatically 
installed 
 by the HPLIP installer.15"Recommended" means that the printer is fully 
supported in HPLIP and is recommended for use on your Linux system. For 
information of what "fully supported" means, see this KB article.
**
Au, sort.


Xavier De Yzaguirre
xdeyzaguirre(at)gmail(dot)com


El dia 16 de juny de 2016, 22:11, Blackhold  ha 
escrit:
hplip is your friend...

- Blackhold
http://blackhold.nusepas.com
@blackhold_
~> cal lluitar contra el fort per deixar de ser febles, i contra
nosaltres mateixos quan siguem forts (Esquirols)
<°((( ><


El dia 16 de juny de 2016, 21:01, Daniel  ha escrit:
> Hola:
>
> He de configurar una HP Deskjet 3630 per fer-la funcionar amb Debian 8
> Jessie. Algú s'hi ha trobat?
>
> Gràcies.
>
> --
> Daniel Elias
> Usuari de Linux nº 461584
>




Re: Configurar HP Deskjet 3630

2016-06-17 Thread Xavier De Yzaguirre i Maura
Ull que es una multifunció wi-fi, has d'utilitzar la versió 3.15.6.

trobo aixó:

*Model Name* *Min. HPLIP Version* *Support Level11
*
*Parallel* *USB* *Network or JetDirect1
*
*Scan
to PC3
*
*Photo
Card Access4
*
*PC
Send Fax5
*
*PC
Initiated Copy6
*
*Services
and Status7
*
*Driver
Plug-in8
*
HP Deskjet 3630 All-in-one Printer

3.15.6 Full No Yes Yes Yes No No No Yes No
HP Deskjet Ink Advantage 3630 All-in-one Printer

3.15.6 Full No Yes Yes Yes No No No Yes No
*All information provided is believed to be accurate but is not guaranteed.*

*Notes:*

1 Network support indicates built-in ethernet and/or wireless networking.
Alternatively, many devices may be operated on the network using an
external JetDirect print server. Not all network configurations are
supported. Please refer to the HPLIP FAQs for more information.

2 USB mass storage only. You may mount the photocard as a storage drive
over USB only. Refer to your distribution's documentation for setup and
usage instructions.

3 Scan supported means that PC initiated scan using a SANE compatible
software application is supported over parallel, USB, or network (depending
on I/O connection). Information on digital sending products is covered in
note 9, below.

4 Photo supported means that the printer's photo card slots are readable
using either USB mass storage (USB only) or hp-unload (USB, parallel or
network).

5 Fax supported means that PC initiated fax send is supported using
hp-sendfax, once an appropriate CUPS fax queue is set up. Fax support
varies on Linux distributions, based on the availability of python-dbus
version 0.80 or greater (versions before 0.80 will not work with HPLIP).
Click on the model name of each printer to get more detailed information.

6 Copy supported means that PC initiated copying is supported using
hp-makecopies.

7 "Services and status" means that ink/toner levels, error reporting, and
services such as alignment, and color calibration are available (via the HP
Device Manager aka Toolbox).

8 ("Required") A downloadable driver plug-in is required for printing
support. ("Optional") A downloadable driver plug-in is optional for
printing support and may increase the speed, quality, or other aspect of
printed output. ("No" or "None") A driver plug-in is not required nor
available. Driver plug-ins are released under a proprietary (non-open)
license and are not part of the HPLIP tarball release. For more
information, please refer to this KB article


9 Device supports digital sending, not standard scanning protocols. See
this KB article  for more info.

10 Feature support depends on the specific Linux distribution being used.

11 For a definition of Support Levels, please refer to this KB article.


12 For more information, please refer to this KB article
.

13 The "Summary of Available Features in Various Linux Distributions" table
lists available features for distros that are supported by the HPLIP
automatic tarball installer. Distros that are not listed will require a
manual install procedure (See this page
 for more
information).

14"Qt3" and "Qt4" refer to the supported UI toolkit. If "Qt3" is indicated,
then the distro supports a GUI interface using the Qt3 UI toolkit. The Qt4
toolkit is not supported for the distro in this case. If "Qt4" is
indicated, then the distro supports a GUI interface using the Qt4 UI
toolkit. In this case, the Qt3 UI toolkit may also be available and used if
desired. The appropriate UI toolkit will be automatically installed by the
HPLIP installer.

15"Recommended" means that the printer is fully supported in HPLIP and is
recommended for use on your Linux system. For information of what "fully
supported" means, see this KB article. 




**

Au, sort.


*Xavier De Yzaguirre*
xdeyzaguirre(at)gmail(dot)com


El dia 16 de juny de 2016, 22:11, Blackhold 

Re: How to download over https

2016-06-17 Thread Jörg-Volker Peetz
Jörg-Volker Peetz wrote on 06/16/16 15:12:
> Did you take a look here: https://www.debian.org/CD/verify , "Verifying
> authenticity of Debian CDs"?
> 
> The https protocol would add quite some overhead to the download of the
> iso-files which are already big by them self.
> 
This statement has to be corrected: the overhead of https is hardly perceptible
on "modern" hardware. (See, e.g.,
https://www.keycdn.com/blog/https-performance-overhead/ ,
https://www.imperialviolet.org/2010/06/25/overclocking-ssl.html )

Regards,
jvp.




cron, sshfs and sudo

2016-06-17 Thread Wim Bertels
Hallo,

use case: use cron to mount a sshfs share (with automatic key auth)

on 1 installation this is working fine:
script:
"
#!/bin/bash

sudo -u user1 sshfs user1@123.234.1.2:/var/user1/shared /mnt/shared

exit
"

on the other it keeps failing because the passphrase needs to be entered
to unlock the key, it doesn't fail however without sudo and a custom
user1 crontab entry; but as cron is run by root, this should be able to
do easier

suggestions?

mvg,
Wim




Re: boot times out after dist-upgrade on Stretch

2016-06-17 Thread Borden Rhodes
First, a huge shout out to /usr/share/doc/systemd/README.Debian.gz for
telling me that appending systemd.debug-shell to the linux line in
grub would let me run a shell even whilst the main boot couldn't drop
into an emergency shell. I think this should be writ in large friendly
letters at the start of any boot-related troubleshooting guide from
now on.

With that, I could dump journalctl and systemctl list-jobs to files.
In perusing these files, it confirms that boot chokes at 4
dev-disk-by\x2duuid-<...>.device, dev-mapper-sda5_crypt.device &
dev-mapper-LVG\x2d.device, but curiously not
dev-mapper-LVG\x2droot. root, of course, has a fstab pass value of 1
whereas the others have a pass value of 2. Is this a clue? The
list-jobs dumps also show some 94 other units waiting in line to run.

A little search-fu later, it seems I may have caught this bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758808. However,
other searches on other distros suggest everything from hdparm needing
to be removed (didn't work), to incorrect fstab entries (did you guys
see any error in them?), to lunar cycles, to a butterfly flapping its
wings etc.

Anyhow, notwithstanding any better ideas, I think I'm going to
redirect this conversation to bug 758808.

> Date: Thu, 16 Jun 2016 13:56:48 -0400
> From: Borden Rhodes 
> To: debian-user@lists.debian.org
> Subject: Re: boot times out after dist-upgrade on Stretch
> Message-ID: 
> 
> Content-Type: text/plain; charset=UTF-8
>
> Thank you for getting back to me, Sven,
>
> I normally run apt-get update; apt-get dist-upgrade immediately after
> my computer boots. According to the messages log, I turned the
> computer on about 5 minutes before running that command and the last
> log entry was about 3.5 hours later at 22:59. I hadn't fiddled with
> any other settings during that boot. Unfortunately, without /var
> loading on the dead boots, I can't get any log information except when
> I successfully boot into the recovery console.
>
> I should have mentioned that I also tried booting from the 4.5 kernel
> and got the exact same symptoms. I also tried running update-grub in
> case it had made a mistake whilst installing the 4.6 kernel.
>
> Notwithstanding better ideas, I'm thinking of doing the Windows Safe
> Mode troubleshooting method where I work out the systemd differences
> between the default and recovery targets and gradually add services
> until I find the one that breaks the system. I'm inferring that, since
> recovery mode works but normal mode doesn't, then one of the
> targets/services in normal mode is to blame for the lock up. I don't
> suppose I could trouble the list for a resource on how to do that?