Re: what is special about unrar-free when we have unar ?

2018-08-22 Thread David Wright
On Thu 23 Aug 2018 at 07:58:33 (+0530), shirish शिरीष wrote:
> On 21/08/2018, Reco  wrote:

> >> Does anybody know why unrar-free is till in Debian repo. when we have
> >> unar which does the same or more (support for rarv5 among others) . I
> >> do get the idea that we should have alternatives for any application
> >> or is there something more that I don't know ?

> The last commit to unrar-free was done in 2004 and that 's about  it .
> You can find the commits in /usr/share/doc/unrar-free/changelog.gz

Well, it's still getting security updates; I see one dated 2017-09-07.

> So the question is, are there any corner cases where unrar-free excels
> unar and if not  can or should it  be removed from the Debian repo. ?

As it happens, there was a question that illustrated differences
in their features just yesterday:

https://unix.stackexchange.com/questions/463926/extracting-rar-files-with-unrar-free-and-unar-need-progress-completion-and-ti

so I guess it depends what people's priorities are. Why would you
want it removed?

Cheers,
David.



Re: Dossier .presage dans le home/user/

2018-08-22 Thread Haricophile
Le mercredi 22 août 2018 à 06:34 +0200, Basile Starynkevitch a écrit :
> Je recommendrais plutôt de commencer par file~/.presage/lm.db pour 
> comprendre ce qu'est ce fichier. Ca pourrait être autre chose qu'un
> base 
> SQLite (par exemple, ça pourrait être un fichier indexé pour GDBM).
> 
> D'autre part, le logiciel (probablement presage) qui a créé ce
> fichier 
> est probablement du logiciel libre. On pourrait (si on en a l'envie,
> les 
> compétences, et le temps) en étudier le code source.
> 
> 
> Cordialement

Sinon il y a le vieux bon lsof 
https://debian-facile.org/doc:systeme:lsof

pourquoi faire simple quand on peut faire compliqué... ou le contraire
peut-être.



Re: painted into a corner

2018-08-22 Thread Gene Heskett
On Tuesday 21 August 2018 23:03:29 David Christensen wrote:

> On 08/21/2018 07:29 PM, Gene Heskett wrote:
> > On Tuesday 21 August 2018 22:08:07 Felix Miata wrote:
> >> Gene Heskett composed on 2018-08-21 20:29 (UTC-0400):
> >>> it will not install grub on anything but /dev/sda.
> >>
> >> I've been scratching my head trying to remember the details of
> >> bootloader installation in debian-installer and coming up nada,
> >> except for somehow being able to specify /dev/null as location, let
> >> it complain about bootloader installation failure, and not have it
> >> corrupt my existing bootloader configuration, which always includes
> >> generic/legacy compatible MBR code.
> >
> > Exactly my concern given the bull in a china shop attitude the
> > installer seems to have.
>
> Are you using the d-i in standard "install" mode, or in "advanced ->
> expert" mode?  The latter gives you much more control.
>
I think I did answer this once before David, but I was useing what looked 
to be a simple install, 1 up from the advanced gui install at the bottom 
of the start screen list.

I've been busy getting a verdict and script from the doc today, bought a 
new shredder to replace the one that has a split personality, then 
caring for the missus, and have not tried another install, but will 
tommorrow using the Advanced mode.
>
> David



-- 
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: KDE Bluedevil

2018-08-22 Thread Timothy M Butterworth
David,

When I try to pair a new device it fails with Bluedevil. I tried to
pair multiple devices. I installed GNOME Blueman and was able to pair
the devices. Now that the devices have been paired I can connect to
and disconnect from them with Bluedevil.

Tim

On 8/21/18, David Wright  wrote:
> On Mon 20 Aug 2018 at 20:12:57 (-0400), Timothy M Butterworth wrote:
>> In Debian 9.5 KDE Bluedevil is unable to add devices. Is their any fix
>> for this other then using GNOME Blueman tool.
>
> In the absence of other replies, can you explain what you mean by
> "add devices".
>
> I use bluetooth, bluez, bluez-tools and bluez-obexd for what I do,
> but that might not be all you and others do.
>
> Cheers,
> David.
>
>



Re: what is special about unrar-free when we have unar ?

2018-08-22 Thread Michael Stone

On Thu, Aug 23, 2018 at 07:58:33AM +0530, shirish शिरीष wrote:

So the question is, are there any corner cases where unrar-free excels


As I suggested before, compatability with existing scripts is one 
reason--unar has incompatible command line syntax. (Although along those 
lines, having /usr/bin/unrar be an alternative between two programs with 
incompatible options as currently is horrible.) There are a number of 
other packages which depend on or recommend unrar, which would 
presumably need to be modified to work with unar. (And now I'm wondering 
how many of them break if unrar-nonfree is installed.) In general things 
aren't removed just because there are options.


Mike Stone



Re: what is special about unrar-free when we have unar ?

2018-08-22 Thread shirish शिरीष
at bottom :-

On 21/08/2018, Reco  wrote:
>   Hi.
>
> On Tue, Aug 21, 2018 at 11:26:53PM +0530, shirish शिरीष wrote:
>> Hi all,
>>
>> Please CC me as I'm not following the list per-se (due to traffic
>> constraints and just inability to manage information flow.)
>>
>> Does anybody know why unrar-free is till in Debian repo. when we have
>> unar which does the same or more (support for rarv5 among others) . I
>> do get the idea that we should have alternatives for any application
>> or is there something more that I don't know ?
>
> It's more likely that you've been lucky and haven't met multipart solid
> password-protected RAR5 archives. unar cannot chew on these.
> bsdtar (which has some RAR support) cannot even do 'solid' part of
> previous statement.
> So, it's sad, gross, but unrar-nonfree stays in non-free for all those
> cornercases.
>
> Reco
>

Dear Reco and all,

Except for Michael it seems nobody understood the question I was asking.

There is unrar-free and unrar, both are different  packages  -

$ apt-cache policy unrar-free
unrar-free:
  Installed: 1:0.0.1+cvs20140707-4
  Candidate: 1:0.0.1+cvs20140707-4
  Version table:
 *** 1:0.0.1+cvs20140707-4 500
500 http://deb.debian.org/debian buster/main amd64 Packages
100 http://deb.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status


$ apt-cache policy unrar
unrar:
  Installed: (none)
  Candidate: 1:5.5.8-1
  Version table:
 1:5.5.8-1 500
500 http://deb.debian.org/debian buster/non-free amd64 Packages
100 http://deb.debian.org/debian unstable/non-free amd64 Packages


There is also package unar which is a different  package altogether -

$ apt-cache policy unar
unar:
  Installed: 1.10.1-2+b2
  Candidate: 1.10.1-2+b2
  Version table:
 *** 1.10.1-2+b2 500
500 http://deb.debian.org/debian buster/main amd64 Packages
100 http://deb.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status

See the different  version numbers and either $aptitude show
$PACKAGENAME or tracker.debian.org/$PACKAGENAME to show the
differences.

My query is/was a more simpler one.

The last commit to unrar-free was done in 2004 and that 's about  it .
You can find the commits in /usr/share/doc/unrar-free/changelog.gz

The homepage given doesn't  exist more https://gna.org/projects/unrar/
and the only kind thing about  the package repo. is somebody made a
mirror on github for posterity purposes when the original URL was shut
 down.

https://github.com/Lesik/unrar-free

also see http://www.unrarlib.org/ for some documentation from that time.

So the question is, are there any corner cases where unrar-free excels
unar and if not  can or should it  be removed from the Debian repo. ?

The question has nothing to do with unrar which is non-free but only
asks about packages in Main repo.

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Re: Lightening Hit screwed boot sequence on Stretch

2018-08-22 Thread David Christensen

On 08/22/2018 05:53 AM, J.W. Foster wrote:

Wow, this is all extremely  good and I have not got  a gadget for testing the 
actual computers power supply inline. I did use a good quality meter to check 
the incoming line and it is stable out of the surge protectors at 121 VAC.The 
thing tha concerns me is that only one (Toshiba) drive has the boot sequence 
that stalls. I am pretty sure there is something that is wrong there, just 
don't know what. I does seem to be linked to the video card setup. Please keep 
in mind all my correspondence is coming from one of the Debian 9 systems on 
this box. and I can also use the Win10 or the other. I have in GRUB the ability 
to boot from any of the 4 installed hard drives as well as a DVD drive.Thanks 
for such a complete answer.


Please "reply to list" in your mailer.


Measuring the voltage at your surge arrester outlet strip is a 
reasonable go/no-go test, but a good electrician with specialized 
instruments can gather more detailed information.



A PC power supply tester is well worth the under ~20 USD price.  It is 
not uncommon for one rail to fail and the rest of the power supply to 
keep working.  This failure mode is difficult or impossible to identify 
without a PC power supply tester (or equivalent test jig).



Go to the Toshiba support site, enter your drive model or serial number, 
download the drive diagnostic, and run it:


https://storage.toshiba.com/consumer-hdd/support


David



Re: question about memtest86+

2018-08-22 Thread Jimmy Johnson

On 08/22/2018 02:58 PM, Long Wind wrote:

i install memtest86+ of stretch to test memory
i don't see any error msg, but after a few minutes, it shutdown my PC

does that mean my memory is bad?
i read manual of memtest86+, can't find explaination



Maybe system shutdown due to heat..
--
Jimmy Johnson

Slackware64 14.2 - Just Say No! To SystemD, Plasma5 & Drugs!
KDE 4.14.32 - AMD A8-7600 - EXT4 at sda9
Registered Linux User #380263



Re: question about memtest86+

2018-08-22 Thread Felix Miata
Long Wind composed on 2018-08-22 21:58 (UTC):

> i install memtest86+ of stretch to test memory
> i don't see any error msg, but after a few minutes, it shutdown my PC

> does that mean my memory is bad?
> i read manual of memtest86+, can't find explaination

On recent hardware I have much better success with memtest86:
https://www.memtest86.com/download.htm
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Bash count

2018-08-22 Thread David Christensen

debian-user:

Please ignore previous post.


David



On 08/22/2018 01:33 PM, Gokan Atmaca wrote:

I have a list like the one below. I want to separate those bigger than 101. How
can this be done ?

 715 1.1.1.1
 322 2.2.2.2
 152 3.3.3.3
  61 4.4.4.4



2018-08-22 18:28:07 dpchrist@vstretch ~/sandbox/debian
$ cat gokan-atmaca-20180822-1333.txt
715 1.1.1.1
322 2.2.2.2
152 3.3.3.3
 61 4.4.4.4

2018-08-22 18:28:12 dpchrist@vstretch ~/sandbox/debian
$ perl -ae 'print if 101 < $F[0]' gokan-atmaca-20180822-1333.txt
715 1.1.1.1
322 2.2.2.2
152 3.3.3.3


David



Re: Bash count

2018-08-22 Thread David Christensen

On 08/22/2018 01:33 PM, Gokan Atmaca wrote:

 715 1.1.1.1
 322 2.2.2.2
 152 3.3.3.3
  61 4.4.4.4


2018-08-22 18:28:07 dpchrist@vstretch ~/sandbox/debian
$ cat gokan-atmaca-20180822-1333.txt
715 1.1.1.1
322 2.2.2.2
152 3.3.3.3
 61 4.4.4.4

2018-08-22 18:28:12 dpchrist@vstretch ~/sandbox/debian
$ perl -ae 'print if 101 < $F[0]' gokan-atmaca-20180822-1333.txt
715 1.1.1.1
322 2.2.2.2
152 3.3.3.3


David



Re: question about memtest86+

2018-08-22 Thread Ben Caradoc-Davies

On 23/08/2018 09:58, Long Wind wrote:

i install memtest86+ of stretch to test memory
i don't see any error msg, but after a few minutes, it shutdown my PC
does that mean my memory is bad?
i read manual of memtest86+, can't find explaination


Uncommanded shutdowns may be caused by overheating. What is your CPU 
temperature under load? Your BIOS may shut your computer down if a 
temperature limit is exceeded. Manufacturer? Laptop? Model? CPU? BIOS 
version?


I use and recommend memtester, which can be run after a normal boot 
("userspace"). I found that multiple concurrent instances of memtester 
detected memory problems not found by memtest86+. Run memtester as root 
so it can memlock.  Because memtester runs after a normal boot, you can 
use a desktop temperature monitoring tool. I use the Xfce sensors applet 
polling at one second intervals, and this script:


#!/bin/bash
tmax=0
while true; do
t=$((`cat /sys/class/hwmon/hwmon2/temp1_input`/1000))
tmax=$((t>tmax?t:tmax))
echo "`date '+%T'`: $t / $tmax"
sleep 1
done

I also use thermald to limit CPU temperature (but my problem was not 
temperature). I use a custom service file to reduce the polling interval 
to one second.


Another useful test tool is mprime  
(AKA Prime95 on Windows). Be sure to disable AVX with "CpuSupportsAVX=0" 
in local.txt because synthetic AVX tests can be used to generate 
excessive and unrealistic amounts of heat.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: painted into a corner

2018-08-22 Thread David Christensen

On 08/21/2018 08:25 PM, Gene Heskett wrote:

On Tuesday 21 August 2018 23:03:29 David Christensen wrote:

Are you using the d-i in standard "install" mode, or in "advanced ->
expert" mode?  The latter gives you much more control.


I think I tried that on the first attempt, but the acronyms weren't
familiar. So I backed out.


I think you would find researching and understanding the d-i advanced 
acronyms to be worth the time and effort, especially given your 
specialized uses of Debian GNU/ Linux.



I do not recall seeing any comments on my prior suggestions (?):

https://lists.debian.org/debian-user/2018/08/msg00955.html


David



Proton for Steam on Debian.

2018-08-22 Thread Dominic Knight
Does anyone have any knowledge or experience of this to share. Or even
any thoughts on security which could be useful.

https://github.com/ValveSoftware/Proton/

Under the install for Linux section it says to set up a Debian machine
to run the software on as it requires latest drivers etc. Well, I have
one of them of course - running steam in a flatpak on Buster, but would
be interested to know about game compatabilty (most especially for
Phantom Doctrine if anyone has tried that) of Windows only games using
Steams Proton/Wine configuration.

TIA
Dom.



Re: question about memtest86+

2018-08-22 Thread David Christensen

On 08/22/2018 02:58 PM, Long Wind wrote:

i install memtest86+ of stretch to test memory


Which Memtest86+ did you install on Debian Stretch?  Please provide the URL.


How did you install Memtest86+?



i don't see any error msg, but after a few minutes, it shutdown my PC

does that mean my memory is bad?


How did you run Memtest86+?



i read manual of memtest86+, can't find explaination



David



Re: connecting to two networks simultaneously on buster

2018-08-22 Thread David Wright
On Wed 22 Aug 2018 at 10:29:01 (+1000), Zenaan Harkness wrote:
> On Tue, Aug 21, 2018 at 11:08:10PM +0100, Eric S Fraga wrote:
> > On Tuesday, 21 Aug 2018 at 16:58, Glenn English wrote:
> > > On Tue, Aug 21, 2018 at 3:39 PM Eric S Fraga  wrote:
> > >
> > >> Would somebody please point me to the right magical incantation that
> > >> would allow my desktop computer to have both connections active
> > >> simultaneously?
> > >
> > > I've done that on a couple boxes here -- a laptop (WiFi and an
> > > Ethernet) and a workstation (2 Ethernets)
> > >
> > > On both of them, I wrote a /etc/network/interfaces script to give an
> > > IP to the Ethernet and start at boot. The others are DHCP and don't
> > > come on at boot.
> > 
> > Thanks.  I added a few lines to /e/n/i and everything works just fine
> > now.  The actual lines are
> > 
> > ,
> > | # the USB network for my Gemini
> > | auto enp0s29u1u1
> > | iface enp0s29u1u1 inet static
> > |   address 10.15.19.80
> > `
> > 
> > and I simply "sudo ifup enp0s29u1u1" when I need it.
> > 
> > But I still do not understand why it works automatically on one of the
> > systems but not the other.  One of those mysteries, I guess.
> 
> Static configuration is by necessity (basically) custom setup - i.e.
> requires manual intervention.
> 
> Automatic means the above /e/n/i lines would look like this instead:
> 
> # the USB network for my Gemini
> auto enp0s29u1u1
> iface enp0s29u1u1 inet dhcp
> 
> 
> But of course for network-manager, it would by default use dhcp, and
> you would not manually configure for DHCP in your /e/n/i file.
> 
> Always remember you can do an in-foreground one shot DHCP like so:
> 
> sudo dhclient -d enp0s29u1u1
> 
> which has the benefit that you can easily kill it as desired with a
> CTRL-c, AND you can monitor its output immediately, AND you will see
> immediately if you got the device/ interface name wrong. What's not
> to like?

I'm not sure I understand using DHCP to get the ipaddr for the
network running through the USB connection. Could you explain?

Aside: I will get my knuckles rapped if I explain how I do this
sort of connection using the IPv6 link addresses which means
I don't have to ifup anything before I can transfer files.

Cheers,
David.



Re: Package lists in Debian DVD images

2018-08-22 Thread Zenaan Harkness
(Next thing is, please put your replies at the bottom (not at the
top) of previous message - "bottom posting" is the standard for this
list.)

Have a look in your desktop/menu for "Synaptic Package Manager" - can
you find it?

Inside there you can add the other two DVDs, and then Synaptic will
show you all the packages you have access to.

Let us know if it works, and good luck,



On Wed, Aug 22, 2018 at 03:51:15PM -0600, Sergio Arana wrote:
> I installed from a USB I used rufus 3.1 for windows to burn the image to the 
> USB stick and boot up the machine from the USB drive.
> 
> ⁣Sent from BlueMail ​
> 
> On Aug 22, 2018, 11:24 AM, at 11:24 AM, to...@tuxteam.de wrote:
> >-BEGIN PGP SIGNED MESSAGE-
> >Hash: SHA1
> >
> >On Wed, Aug 22, 2018 at 11:03:14AM -0600, Sergio Arana wrote:
> >> Hi,
> >
> >Hi,
> >
> >first of all: don't just "answer" to a mail in the
> >list with another new topic. This is called "thread
> >hijacking" and confuses the hell out of us, which are
> >here to try to help you, after all :-)
> >
> >I posted my answer with a subject which may attract
> >people who know an answer (there are more than 3000
> >subscribers to this list, you know).
> >
> >> I downloaded all 3 DVD images for Debian 9.5 I installed the first
> >one, but I would like to know how can I check the other two DVDs to see
> >if there is software I might want to use/install.
> >
> >The package lists themselves should be (I think!) in the
> >first DVD. So your packaging system should know about all
> >packages (and tell you to insert whatever DVD is needed
> >while installing).
> >
> >Which program are you using to install packages? Dpkg?
> >Synaptic?
> >
> >Cheers
> >- -- tomás
> >-BEGIN PGP SIGNATURE-
> >Version: GnuPG v1.4.12 (GNU/Linux)
> >
> >iEYEARECAAYFAlt9nBcACgkQBcgs9XrR2kYvAQCcDgIWfMm8uXSpNYB7QhZYkK9G
> >ZWwAnidEYuUd5hvaoiy/doqm7k51vuAf
> >=dC1D
> >-END PGP SIGNATURE-



Re: Accès réseau via USB défaillant (après installation OpenVPN)

2018-08-22 Thread roger . tarani
Ok. Comment fait-on pour ne plus utiliser du tout Network-Manager ?
(PS : ça fait plusieurs fois que j'entends des gens de réseau me dire que 
"c'est buggé" - ou dur à gérer - )
Est-ce que le choix du bureau (Gnome, XFCE, etc.) a une incidence sur la 
présence de Network-Manager?

PS : j'ai compris que le pgm resolvconf ne correspond pas à une méthode 
statique "obsolète".
Que veux-tu dire exactement ?

Quelle est la doc de référence n° 1 sur Debian pour tous ces sujets "sensibles" 
?
 
- Original Message -
From: "Haricophile" 
To: debian-user-french@lists.debian.org
Sent: Wednesday, August 22, 2018 11:09:24 PM
Subject: Re: Accès réseau via USB défaillant (après installation OpenVPN)

Le mercredi 22 août 2018 à 14:39 +0200, roger.tar...@free.fr a écrit :
> Pouvez-vous me faire un retour sur ce sujet réseau ? 
> 
> sur resolvconf 
> sur les avantages et inconvénients de Network-Manager 
> sur la directive "allow-hotplug"dans /etc/network/interfaces

Ce n'est pas une surprise que utiliser un truc automatique et "hotplug"
comme networkmanager ne soit pas totalement en harmonie avec une
méthode statique "obsolète" quoique efficace (et qui a du être mise a
jour de fait).

Je n'ai pas regardé la doc actuelle, mais il me semble bien avoir vu
dans les messages de APT, au fur et a mesure des mises a jour, toute
les informations au sujet de ifupdown et resolvconf.

Moi j'aurais tendance a ne pas mixer un machin déjà assez compliqué,
Networkmanager, avec une autre méthode de connexion, c'est a dire ne
pas utiliser du tout Networkmanager pour une configuration fixe. Dans
le cas contraire, je configure Networkmanager et pas une deuxième
méthode de connexion.

Même si je répond sans avoir relu la doc d'install, je suis presque
certain que l'essentiel est dedans.



question about memtest86+

2018-08-22 Thread Long Wind
i install memtest86+ of stretch to test memory
i don't see any error msg, but after a few minutes, it shutdown my PC

does that mean my memory is bad?
i read manual of memtest86+, can't find explaination


Re: Package lists in Debian DVD images

2018-08-22 Thread Sergio Arana
I installed from a USB I used rufus 3.1 for windows to burn the image to the 
USB stick and boot up the machine from the USB drive.

⁣Sent from BlueMail ​

On Aug 22, 2018, 11:24 AM, at 11:24 AM, to...@tuxteam.de wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On Wed, Aug 22, 2018 at 11:03:14AM -0600, Sergio Arana wrote:
>> Hi,
>
>Hi,
>
>first of all: don't just "answer" to a mail in the
>list with another new topic. This is called "thread
>hijacking" and confuses the hell out of us, which are
>here to try to help you, after all :-)
>
>I posted my answer with a subject which may attract
>people who know an answer (there are more than 3000
>subscribers to this list, you know).
>
>> I downloaded all 3 DVD images for Debian 9.5 I installed the first
>one, but I would like to know how can I check the other two DVDs to see
>if there is software I might want to use/install.
>
>The package lists themselves should be (I think!) in the
>first DVD. So your packaging system should know about all
>packages (and tell you to insert whatever DVD is needed
>while installing).
>
>Which program are you using to install packages? Dpkg?
>Synaptic?
>
>Cheers
>- -- tomás
>-BEGIN PGP SIGNATURE-
>Version: GnuPG v1.4.12 (GNU/Linux)
>
>iEYEARECAAYFAlt9nBcACgkQBcgs9XrR2kYvAQCcDgIWfMm8uXSpNYB7QhZYkK9G
>ZWwAnidEYuUd5hvaoiy/doqm7k51vuAf
>=dC1D
>-END PGP SIGNATURE-


Re: Accès réseau via USB défaillant (après installation OpenVPN)

2018-08-22 Thread Haricophile
Le mercredi 22 août 2018 à 14:39 +0200, roger.tar...@free.fr a écrit :
> Pouvez-vous me faire un retour sur ce sujet réseau ? 
> 
> sur resolvconf 
> sur les avantages et inconvénients de Network-Manager 
> sur la directive "allow-hotplug"dans /etc/network/interfaces

Ce n'est pas une surprise que utiliser un truc automatique et "hotplug"
comme networkmanager ne soit pas totalement en harmonie avec une
méthode statique "obsolète" quoique efficace (et qui a du être mise a
jour de fait).

Je n'ai pas regardé la doc actuelle, mais il me semble bien avoir vu
dans les messages de APT, au fur et a mesure des mises a jour, toute
les informations au sujet de ifupdown et resolvconf.

Moi j'aurais tendance a ne pas mixer un machin déjà assez compliqué,
Networkmanager, avec une autre méthode de connexion, c'est a dire ne
pas utiliser du tout Networkmanager pour une configuration fixe. Dans
le cas contraire, je configure Networkmanager et pas une deuxième
méthode de connexion.

Même si je répond sans avoir relu la doc d'install, je suis presque
certain que l'essentiel est dedans.



Re: Bash count

2018-08-22 Thread Gokan Atmaca
> awk '$1 > 100' num

Very thanks...




On Wed, Aug 22, 2018 at 11:41 PM Emmanuel Gelati  wrote:
>
> If you want to print the bigger then 101 on the column
>
> awk '$1 > 100' num
>   
>  2.4.2
> 715 1.1.1.1
> 322 2.2.2.2
> 152 3.3.3.3
>
>
> 2018-08-22 22:33 GMT+02:00 Gokan Atmaca :
>>
>> Hello
>>
>> I have a list like the one below. I want to separate those bigger than 101. 
>> How can this be done ?
>>
>> 715 1.1.1.1
>> 322 2.2.2.2
>> 152 3.3.3.3
>>  61 4.4.4.4
>>
>> Thanks.
>>
>
>
>
> --
>   .~.
>   /V\
>  //  \\
> /(   )\
> ^`~'^





  .~.
  /V\--- Thanks...
 //  \\
/(   )\
^`~'^

On Wed, Aug 22, 2018 at 11:41 PM Emmanuel Gelati  wrote:
>
> If you want to print the bigger then 101 on the column
>
> awk '$1 > 100' num
>   
>  2.4.2
> 715 1.1.1.1
> 322 2.2.2.2
> 152 3.3.3.3
>
>
> 2018-08-22 22:33 GMT+02:00 Gokan Atmaca :
>>
>> Hello
>>
>> I have a list like the one below. I want to separate those bigger than 101. 
>> How can this be done ?
>>
>> 715 1.1.1.1
>> 322 2.2.2.2
>> 152 3.3.3.3
>>  61 4.4.4.4
>>
>> Thanks.
>>
>
>
>
> --
>   .~.
>   /V\
>  //  \\
> /(   )\
> ^`~'^



Re: Bash count

2018-08-22 Thread Emmanuel Gelati
yes, that was a typo.

2018-08-22 22:42 GMT+02:00 Greg Wooledge :

> On Wed, Aug 22, 2018 at 11:33:51PM +0300, Gokan Atmaca wrote:
> > Hello
> >
> > I have a list like the one below. I want to separate those bigger than
> 101. How
> > can this be done ?
> >
> > 715 1.1.1.1
> > 322 2.2.2.2
> > 152 3.3.3.3
> >  61 4.4.4.4
>
> awk '$1 > 101'
>
>


-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: Bash count

2018-08-22 Thread Greg Wooledge
On Wed, Aug 22, 2018 at 11:33:51PM +0300, Gokan Atmaca wrote:
> Hello
> 
> I have a list like the one below. I want to separate those bigger than 101. 
> How
> can this be done ?
> 
> 715 1.1.1.1
> 322 2.2.2.2
> 152 3.3.3.3
>  61 4.4.4.4

awk '$1 > 101'



Bash count

2018-08-22 Thread Gokan Atmaca
Hello

I have a list like the one below. I want to separate those bigger than 101. How
can this be done ?

715 1.1.1.1
322 2.2.2.2
152 3.3.3.3
 61 4.4.4.4

Thanks.


Re: Status of java-package

2018-08-22 Thread Michael Stone

On Wed, Aug 22, 2018 at 07:34:59PM +0200, Erwan David wrote:

I am surprised of the disapperance of javaws, since many mangement
console use them... And I do not count on hardware (or SOC) vendors to
upgrade them to whatever the new scheme will be.


It's better in the long term to keep around a dedicated vm to talk to 
the old stuff than carry old unmaintained java forever forward. The 
resources to maintain a bunch of old java releases simply don't exist.


Mike Stone



Re: Status of java-package

2018-08-22 Thread Erwan David
Le 08/22/18 à 18:32, Sven Hoexter a écrit :
> On Wed, Aug 22, 2018 at 04:10:29PM +0200, Erwan David wrote:
>
> Hi,
>
>> Thanks. Alas I have some mangement console for (surprise ?) oracle SAN
>> storage which only work with oracle Java. I'll keep an working one for
>> this...
> I hope it's not something based on Webstart? Because Webstart will no
> longer be part of Java 11. So I guess at least some of us will have to
> keep a copy of a JRE with javaws around for some time.
> That is also the reason why the Java 8 support in the current java-package
> shipped in Debian is kind of sufficient. Java 9 and 10 are only short
> term releases and starting with Java 11 quite a few things will change,
> and I think there is no real need for this repackaging of Oracle JREs
> anymore.
>
> Cheers,
> Sven
>
>
Alas java .class compiled with java 10 cannot be run by a java 8 VM, so
it is difficult.

I'll keep a copy of java 8 or 10 for those things.

I am surprised of the disapperance of javaws, since many mangement
console use them... And I do not count on hardware (or SOC) vendors to
upgrade them to whatever the new scheme will be.



Re: Slow XFS write

2018-08-22 Thread Reco
Hi.

On Wed, Aug 22, 2018 at 04:15:30PM +0200, Martin LEUSCH wrote:
> To complete the description there is infos about the XFS partition:
> 
> meta-data=/dev/sda4  isize=256agcount=11, agsize=268435455 
> blks
>  =   sectsz=512   attr=2, projid32bit=1
>  =   crc=0finobt=0
> data =   bsize=4096   blocks=2920268544, imaxpct=5
>  =   sunit=0  swidth=0 blks
> naming   =version 2  bsize=4096   ascii-ci=0 ftype=0
> log  =internal   bsize=4096   blocks=521728, version=2
>  =   sectsz=512   sunit=0 blks, lazy-count=1
> realtime =none   extsz=4096   blocks=0, rtextents=0

Nothing unusual IMO. Certainly nothing that could explain such a
slowdown.

Can you provide a result of 'perf top'? Just to be sure it's xfs that's
to be blamed.

> And infos about the RAID5 volume:

Looks suspiciously similar to LSI MegaRAID.
Is controller firmware current? Is it possible to upgrade it?
Since you seem to have BBU, have you considered enabling WriteBack mode?

Reco



Package lists in Debian DVD images

2018-08-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 22, 2018 at 11:03:14AM -0600, Sergio Arana wrote:
> Hi,

Hi,

first of all: don't just "answer" to a mail in the
list with another new topic. This is called "thread
hijacking" and confuses the hell out of us, which are
here to try to help you, after all :-)

I posted my answer with a subject which may attract
people who know an answer (there are more than 3000
subscribers to this list, you know).

> I downloaded all 3 DVD images for Debian 9.5 I installed the first one, but I 
> would like to know how can I check the other two DVDs to see if there is 
> software I might want to use/install.

The package lists themselves should be (I think!) in the
first DVD. So your packaging system should know about all
packages (and tell you to insert whatever DVD is needed
while installing).

Which program are you using to install packages? Dpkg?
Synaptic?

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

iEYEARECAAYFAlt9nBcACgkQBcgs9XrR2kYvAQCcDgIWfMm8uXSpNYB7QhZYkK9G
ZWwAnidEYuUd5hvaoiy/doqm7k51vuAf
=dC1D
-END PGP SIGNATURE-



Re: Status of java-package

2018-08-22 Thread Sergio Arana
Hi,

I downloaded all 3 DVD images for Debian 9.5 I installed the first one, but I 
would like to know how can I check the other two DVDs to see if there is 
software I might want to use/install.

Thanks,

⁣Sent from BlueMail ​

On Aug 22, 2018, 10:34 AM, at 10:34 AM, Sven Hoexter  wrote:
>On Wed, Aug 22, 2018 at 04:10:29PM +0200, Erwan David wrote:
>
>Hi,
>
>> Thanks. Alas I have some mangement console for (surprise ?) oracle
>SAN
>> storage which only work with oracle Java. I'll keep an working one
>for
>> this...
>
>I hope it's not something based on Webstart? Because Webstart will no
>longer be part of Java 11. So I guess at least some of us will have to
>keep a copy of a JRE with javaws around for some time.
>That is also the reason why the Java 8 support in the current
>java-package
>shipped in Debian is kind of sufficient. Java 9 and 10 are only short
>term releases and starting with Java 11 quite a few things will change,
>and I think there is no real need for this repackaging of Oracle JREs
>anymore.
>
>Cheers,
>Sven


Re: Status of java-package

2018-08-22 Thread Sven Hoexter
On Wed, Aug 22, 2018 at 04:10:29PM +0200, Erwan David wrote:

Hi,

> Thanks. Alas I have some mangement console for (surprise ?) oracle SAN
> storage which only work with oracle Java. I'll keep an working one for
> this...

I hope it's not something based on Webstart? Because Webstart will no
longer be part of Java 11. So I guess at least some of us will have to
keep a copy of a JRE with javaws around for some time.
That is also the reason why the Java 8 support in the current java-package
shipped in Debian is kind of sufficient. Java 9 and 10 are only short
term releases and starting with Java 11 quite a few things will change,
and I think there is no real need for this repackaging of Oracle JREs
anymore.

Cheers,
Sven



Re: Slow XFS write

2018-08-22 Thread Michael Stone

On Wed, Aug 22, 2018 at 11:53:25AM -0400, Michael Stone wrote:
Can you rebuild the partition? If so, unmount it then perform the dd 
directly to the device.


To be clear, ^^^ this will destroy the filesystem.

Mike Stone



Re: Gemini PDA -- Voice assist -- does that work with all the OSs

2018-08-22 Thread Eric S Fraga
On Wednesday, 22 Aug 2018 at 10:40, rhkra...@gmail.com wrote:
> I now see that the Gemini PDA is available with 4 operating systems
> (maybe one is still vaporware), but they are Linux, Android, and 2
> versions of Sailfish.
>
> It has a voice assist button, and I'd like to know more about how this
> works:

It does not work as such on Debian; it's an Android feature.  

The button is just a key like any other.  When running X11 in Debian, it
generates the XF86Send key event when pressed.  You can, of course, bind
this to anything you want, including some voice assist application if
such were to exist...

-- 
Eric S Fraga via Emacs 27.0.50 & org 9.1.13 on Debian buster/sid



Re: Slow XFS write

2018-08-22 Thread Michael Stone

On Wed, Aug 22, 2018 at 04:02:42PM +0200, Martin LEUSCH wrote:

what happens with
dd if=/dev/zero of=/var/srv/nfs/testfile bs=64k count=16k conv=fsync

And this is direct on the server, not via NFS, right?


I've got same result as previous test.
tests with dd command are executed directly on the server.


Can you rebuild the partition? If so, unmount it then perform the dd 
directly to the device. (of=/dev/sda2 or whatever) What's the hardware 
raid vendor? Honestly, the performance of ext4 partition is also 
horrible, just not as bad as the xfs partition. What's the hardware raid 
model? Does it have a battery backed cache? (I will guess not, because 
the test is only 1G and that should fit into most current caches?) If 
the test directly to the partition shows good performance, then it might 
be an alignment issue; try recreating the fs with `mkfs.xfs -d 
su=64k,sw=2 ...`. If the performance is the same to the raw partition 
(and still much worse than the root partition) then the partition 
alignment itself might be off--which means recreating the partitions. 
(fsck and mkfs.xfs normally handle this automatically, but that depends 
on the raid controller+driver passing the information up, and per your 
xfsinfo output, that didn't happen.)


Mike Stone



Re: Lancer Emacs en Buster sous un terminal graphique

2018-08-22 Thread Vincent Lefevre
On 2018-08-16 11:34:45 +0200, MENGUAL Jean-Philippe wrote:
> Ah oui, j'avais pas compris le sens de nox. Maintenant que tu le dis
> c'est évident. Donc en effet, enlever emacs25 et emacs-lucid l'oblige à
> installer emacs25-nox, et alors enfin, on vire la partie graphique.
> Parfait en somme. Retenons que enlever emacs25 cherchera à le remplacer
> par une autre GUI, il faut bien purger les deux paquets, lucid et
> emacs25 pour que cela passe à emacs25-nox.

Ou alternativement, installer emacs25-nox, ce qui a pour effet de
désinstaller les autres, car il y a un conflit entre les 3 paquets.

Sur une machine multi-utilisateur, une solution pour utiliser
l'option -nw sans avoir à la taper explicitement est soit d'utiliser
un alias du style alias emacs='emacs -nw', soit d'écrire un wrapper
à mettre dans $HOME/bin:

#!/bin/sh
exec /usr/bin/emacs -nw "$@"

(Le exec permet d'éviter de laisser traîner un shell tant qu'emacs
tourne.)

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: Gemini PDA -- Voice assist -- does that work with all the OSs

2018-08-22 Thread Dan Ritter
On Wed, Aug 22, 2018 at 10:40:52AM -0400, rhkra...@gmail.com wrote:
> I now see that the Gemini PDA is available with 4 operating systems (maybe 
> one 
> is still vaporware), but they are Linux, Android, and 2 versions of Sailfish.
> 
> It has a voice assist button, and I'd like to know more about how this works:
> 
>* does it work with all the operating systems available on the Gemini?  If 
> not, which OSs does it work with?  
> 
> A somewhat related / alternate question is whether that voice assist is 
> totally hardware driven (which I doubt) or does it require software (in which 
> case, that software might work only in some of the available OSs.
> 
>* presumably, for voice assist to work while the Gemini is in your pocket 
> (which is mentioned on at least one webpage), the Gemini must be on and 
> booted 
> into an appropriate OS?


The button just starts an Android app (assuming Android is
running) that does voice search through Google's or someone
else's system. Nothing special in hardware, no support in other
OS.

-dsr-



Gemini PDA -- Voice assist -- does that work with all the OSs

2018-08-22 Thread rhkramer
I now see that the Gemini PDA is available with 4 operating systems (maybe one 
is still vaporware), but they are Linux, Android, and 2 versions of Sailfish.

It has a voice assist button, and I'd like to know more about how this works:

   * does it work with all the operating systems available on the Gemini?  If 
not, which OSs does it work with?  

A somewhat related / alternate question is whether that voice assist is 
totally hardware driven (which I doubt) or does it require software (in which 
case, that software might work only in some of the available OSs.

   * presumably, for voice assist to work while the Gemini is in your pocket 
(which is mentioned on at least one webpage), the Gemini must be on and booted 
into an appropriate OS?

Thanks



Re: Slow XFS write

2018-08-22 Thread Martin LEUSCH

To complete the description there is infos about the XFS partition:

meta-data=/dev/sda4  isize=256agcount=11, agsize=268435455 blks
 =   sectsz=512   attr=2, projid32bit=1
 =   crc=0finobt=0
data =   bsize=4096   blocks=2920268544, imaxpct=5
 =   sunit=0  swidth=0 blks
naming   =version 2  bsize=4096   ascii-ci=0 ftype=0
log  =internal   bsize=4096   blocks=521728, version=2
 =   sectsz=512   sunit=0 blks, lazy-count=1
realtime =none   extsz=4096   blocks=0, rtextents=0

And infos about the RAID5 volume:

Virtual Drive: 0 (Target Id: 0)
Name:
RAID Level  : Primary-5, Secondary-0, RAID Level Qualifier-3
Size: 10.915 TB
Sector Size : 512
Parity Size : 5.457 TB
State   : Optimal
Strip Size  : 64 KB
Number Of Drives: 3
Span Depth  : 1
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if 
Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if 
Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disk's Default
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No

Le 22/08/2018 à 11:41, Martin LEUSCH a écrit :

Hi,


I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a 
system partition with ext4 and a data partition with XFS.


I get only 10 MB/s in write speed on the XFS data partition and 80 
MB/s on the system partition.



XFS mount option:

/dev/sda4 on /var/srv/nfs type xfs (rw,relatime,attr2,inode64,noquota)

Is there a way to have better performance? Is XFS a good choice in 
this situation?







Re: Status of java-package

2018-08-22 Thread Erwan David
On Wed, Aug 22, 2018 at 11:55:49AM CEST, Sven Hoexter  said:
> On Tue, Aug 21, 2018 at 05:49:19PM +0200, Erwan David wrote:
> > Hi,
> > 
> > This package makes a .deb from oracle .tar.gz It does not package java
> > 9 nor java 10.  Is there a problem with those versions ?  Is the
> > packaged abandonned, and in this case is there anotehr method to uses
> > oracle JRE on debian ?
> 
> I'm currently maintaining my own fork because I did not get around
> to properly hijack the package. I had at some point contact with one
> of the prior maintainers but we could not get around merging my Java 9
> changes at that point.
> 
> So for now my fork is here:
> https://git.sven.stormbind.net/?p=sven/java-package.git;a=summary
> 
> Usage instruction if you do not want to build a Debian package out
> of it:
> https://sven.stormbind.net/blog/posts/deb_java-package-oracle-jdk9/
> 
> 
> It's not completely polished but I'm reluctant to invest more time
> because I assume we all move on to OpenJDK in some form in Januar 2019.
> 
> Context:
> As far as I know Oracle JRE/JDK builds will be only available for paying
> customers on a contract by September 2018 for Java 11 and January 2019
> for Java 8. At that point everyone else will propably migrate to some form
> of OpenJDK. If it's the one shipped by your distro or 3rd parties like
> Azul needs to be determined on a case by case basis I guess.
> There will still be reference binary OpenJDK builds published on
> jdk.java.net but I'm not sure if it's worth to provide support for them
> in java-package.
> 
> 
> Cheers,
> Sven

Thanks. Alas I have some mangement console for (surprise ?) oracle SAN
storage which only work with oracle Java. I'll keep an working one for
this...

-- 
Erwan



Re: Slow XFS write

2018-08-22 Thread Martin LEUSCH

Le 22/08/2018 à 15:17, Michael Stone a écrit :

On Wed, Aug 22, 2018 at 02:25:51PM +0200, Martin LEUSCH wrote:
I tested write speed with dd command like "dd if=/dev/zero 
of=/var/srv/nfs/

testfile bs=1G count=1 oflag=direct".
The 10 MB/s for the data partition also correspond to the behavior I 
get in
real situation, when I copy a big file on NFS, 12GB are copied 
quickly then
hang for 15 or 20 minutes. When I copy big file with scp, It copy 
quickly the

at the beginning then decrease to 10 MB/s till the end.


what happens with
dd if=/dev/zero of=/var/srv/nfs/testfile bs=64k count=16k conv=fsync

And this is direct on the server, not via NFS, right?


I've got same result as previous test.
tests with dd command are executed directly on the server.



WalMart: linux dual band wifi adapters

2018-08-22 Thread Jude DaShiell
If anyone else has and uses the WalMart app on their phone or tablet or
ipad could you please search for this kind of dual band linux compatible
wifi adapter with that app and share advice as to which is the best
available product for me?  I'm using a tower with usb ports and need to be
able to talk to the adapter and router through nmtui or similar command
line applications.



--



Re: xfce4-session launched from .xinitrc, clobbers xrandr settings

2018-08-22 Thread Dan Ritter
On Wed, Aug 22, 2018 at 07:21:55PM +1000, Zenaan Harkness wrote:
> OK, so I thought I'd wait 3 weeks, and yeah, I know, it's only been
> 20 days, but hey, color me impatient.
> 
> What I ended up doing is just adding an xrandr entry to my xfce4
> session, but this seems to slow the startup of the GUI starting -
> i.e. it seems like XFCE4 does some internal default monitor (xrandr)
> layout, then runs my script which sets my preferred xrandr config/
> layout.
> 
> Although I can't really be sure - I'm not sure how to properly test
> this, as it could just be a time/impatience illusion.
> 

Here's my complete .xinitrc, which I am currently using and
gives me no problems.


xinput set-button-map "Logitech Unifying Device. Wireless
PID:1028" 1 2 3 4 5 8 9 6 7
xinput set-button-map "Logitech Unifying Device. Wireless
PID:1025" 1 2 3 4 5 8 9 6 7

. /home/dsr/bin/xadjust
exec xfce4-session


Here's xadjust:


#!/bin/sh
xrandr  --addmode VGA1 1920x1200
xrandr  --addmode HDMI1 1920x1200
xrandr --output VGA1 --mode 1920x1200
xrandr --output VGA1 --rotate normal
xrandr --output HDMI1 --mode 1920x1200
xrandr --output HDMI1 --left-of VGA1
xrandr --output HDMI1 --rotate left


xfce's Settings -> Display shows the config consistent with
this, and if I make changes there, they are adopted until the 
session ends.

-dsr-



Re: Slow XFS write

2018-08-22 Thread Michael Stone

On Wed, Aug 22, 2018 at 02:25:51PM +0200, Martin LEUSCH wrote:

I tested write speed with dd command like "dd if=/dev/zero of=/var/srv/nfs/
testfile bs=1G count=1 oflag=direct".
The 10 MB/s for the data partition also correspond to the behavior I get in
real situation, when I copy a big file on NFS, 12GB are copied quickly then
hang for 15 or 20 minutes. When I copy big file with scp, It copy quickly the
at the beginning then decrease to 10 MB/s till the end.


what happens with
dd if=/dev/zero of=/var/srv/nfs/testfile bs=64k count=16k conv=fsync

And this is direct on the server, not via NFS, right?



Re: Accès réseau via USB défaillant (après installation OpenVPN)

2018-08-22 Thread roger . tarani

Suite et fin (heureuse) de cette histoire. 
j'espère que cette expérience servira à d'autres. 



TEST 
Dans /etc/resolv.conf (géré dynamiquement par Network Manager), en ajoutant 
manuellement : 
nameserver 192.168.0.1 
nameserver 8.8.8.8 
la machine (qui voyait tout le réseau local) a pu retrouver accès à internet. 


Il semble bien qu'il faut agir ici, et plus précisément sur le programme qui 
gère ce fichier essentiel. 

Après lecture, j'ai installé le programme resolvconf (non installé par défaut 
avec Debian) : 

$ sudo apt-get install resolvconf 


J'ai modifié le fichier /etc/network/interfaces comme suit : 


$ cat /etc/network/interfaces 
# config eth0 IP statique 
auto eth0 
iface eth0 inet static 
address 192.168.0.153 
netmask 255.255.255.0 
dns-nameservers 192.168.0.1 8.8.8.8 
# directives optionnelles : 
gateway 192.168.0.1 
network 192.168.0.1 
broadcast 192.168.0.255 



ATENTION: dns-nameserver s avec un 's' et les adresses IP des DNS sur la même 
ligne séparées par des espaces. 
Avec ces informations, resolvconf génère le fichier /etc/resolv.conf avec des 
directives nameserver individuelles sans s . 



$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) 
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN 
nameserver 192.168.0.1 
nameserver 8.8.8.8 



TEST 
Si on retire manuellement de ce fichier ces directives nameserver, 
instantanément la machine n'accède plus à internet. 
$ ping -c 3 yahoo.fr 
ping: unknown host yahoo.fr 


Si on redémarre le réseau 

$ sudo /etc/init.d/networking restart 
on constate que resolvconf a généré un nouveau fichier /etc/resolv.conf (et 
l'accès à internet est rétabli) : 
$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) 
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN 
nameserver 192.168.0.1 
nameserver 8.8.8.8 




Le fichier de configuration resolv.conf contient des informations sur les 
serveurs de noms de domaine que le système doit utiliser. Néanmoins, quand 
plusieurs programmes doivent modifer dynamiquement le fichier de configuration 
resolv.conf , ils peuvent se chevaucher et le fichier peut ne plus être 
synchronisé. Le programme resolvconf s'occupe de ce problème. Il agit comme un 
intermédiaire entre les programmes qui fournissent des informations sur les 
serveurs de noms de domaine (par exemple les clients dhcp) et les programmes 
qui les utilisent (par exemple resolver). 


Références : 
https://wiki.debian.org/fr/NetworkConfiguration#Le_programme_resolvconf 




Tout semble stable (redémarrage, branchement-débranchement de modem 4G USB). 


Pouvez-vous me faire un retour sur ce sujet réseau ? 

sur resolvconf 
sur les avantages et inconvénients de Network-Manager 
sur la directive "allow-hotplug"dans /etc/network/interfaces 
.. 



Merci 





Re: Slow XFS write

2018-08-22 Thread Martin LEUSCH

Le 22/08/2018 à 13:15, Michael Stone a écrit :

On Wed, Aug 22, 2018 at 11:41:08AM +0200, Martin LEUSCH wrote:
I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a 
system partition with ext4 and a data partition with XFS.


I get only 10 MB/s in write speed on the XFS data partition and 80 
MB/s on the system partition.


how are you testing this? 
I tested write speed with dd command like "dd if=/dev/zero 
of=/var/srv/nfs/testfile bs=1G count=1 oflag=direct".
The 10 MB/s for the data partition also correspond to the behavior I get 
in real situation, when I copy a big file on NFS, 12GB are copied 
quickly then hang for 15 or 20 minutes. When I copy big file with scp, 
It copy quickly the at the beginning then decrease to 10 MB/s till the end.


Re: Slow XFS write

2018-08-22 Thread Michael Stone

On Wed, Aug 22, 2018 at 11:41:08AM +0200, Martin LEUSCH wrote:
I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a 
system partition with ext4 and a data partition with XFS.


I get only 10 MB/s in write speed on the XFS data partition and 80 
MB/s on the system partition.


how are you testing this?

Is there a way to have better performance? Is XFS a good choice in 
this situation?


it's unlikely that the filesystem is the issue, both xfs and ext4 are 
more than capable of saturating a 3 disk raid5.


Mike Stone



Re: Microsoft Does It Again

2018-08-22 Thread Martin
Am 22.08.2018 um 12:49 schrieb Stephen P. Molnar:
> 
> 
> On 08/22/2018 03:30 AM, Eric S Fraga wrote:
>> On Tuesday, 21 Aug 2018 at 19:03, Martin wrote:
>>> If you can not open this with LibreOffice Calc, you may give it a shot
>>> with that Google spreadsheet thing.
>> and gnumeric may also be worth trying as it has worked quite well for me
>> in the past for xlsx files.
> Thanks for the suggestion.  Already tried that - didn't wok.

Just came to my mind: There is a free (or trial?) version available of Amazon 
WorkSpaces. If you have an AWS account, you should get the latest MS Office 
stuff there.
 



Re: Microsoft Does It Again

2018-08-22 Thread Stephen P. Molnar




On 08/22/2018 03:30 AM, Eric S Fraga wrote:

On Tuesday, 21 Aug 2018 at 19:03, Martin wrote:

If you can not open this with LibreOffice Calc, you may give it a shot
with that Google spreadsheet thing.

and gnumeric may also be worth trying as it has worked quite well for me
in the past for xlsx files.

Thanks for the suggestion.  Already tried that - didn't wok.

--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Re: Status of java-package

2018-08-22 Thread Sven Hoexter
On Tue, Aug 21, 2018 at 12:30:49PM -0400, Roberto C. Sánchez wrote:

Hi,

> Incidentally, it has been a long time since I encountered any Java that
> would run on the Oracle JVM but not on OpenJDK.  Are you sure you need
> to even bother with the Oracle JVM?

The main point so far was to aid debugging because you could be certain
on which code base you build and run it.
If everyone is using a slightly different build it's quite hard to track
down bugs. In one of my past jobs someone actually found three bugs in
the JVM and we once were victim of a regression in the expat parsers
in a few Java releases.

If you can not say for sure at which exact version your developers are,
and which one you use in production, and that often across Windows, OS X,
and various Linux distributions, the situation can be quite unpleasant.

I actually do not care for my desktop system at home, but if you run
a lot of stuff on the JVM in production, it can be an issue.

Sven



Re: Status of java-package

2018-08-22 Thread Sven Hoexter
On Tue, Aug 21, 2018 at 05:49:19PM +0200, Erwan David wrote:
>   Hi,
> 
> This package makes a .deb from oracle .tar.gz It does not package java
> 9 nor java 10.  Is there a problem with those versions ?  Is the
> packaged abandonned, and in this case is there anotehr method to uses
> oracle JRE on debian ?

I'm currently maintaining my own fork because I did not get around
to properly hijack the package. I had at some point contact with one
of the prior maintainers but we could not get around merging my Java 9
changes at that point.

So for now my fork is here:
https://git.sven.stormbind.net/?p=sven/java-package.git;a=summary

Usage instruction if you do not want to build a Debian package out
of it:
https://sven.stormbind.net/blog/posts/deb_java-package-oracle-jdk9/


It's not completely polished but I'm reluctant to invest more time
because I assume we all move on to OpenJDK in some form in Januar 2019.

Context:
As far as I know Oracle JRE/JDK builds will be only available for paying
customers on a contract by September 2018 for Java 11 and January 2019
for Java 8. At that point everyone else will propably migrate to some form
of OpenJDK. If it's the one shipped by your distro or 3rd parties like
Azul needs to be determined on a case by case basis I guess.
There will still be reference binary OpenJDK builds published on
jdk.java.net but I'm not sure if it's worth to provide support for them
in java-package.


Cheers,
Sven



Slow XFS write

2018-08-22 Thread Martin LEUSCH

Hi,


I have a NFS server with a hardware RAID5 on 3 HDD of 6 TB. I have a 
system partition with ext4 and a data partition with XFS.


I get only 10 MB/s in write speed on the XFS data partition and 80 MB/s 
on the system partition.



XFS mount option:

/dev/sda4 on /var/srv/nfs type xfs (rw,relatime,attr2,inode64,noquota)

Is there a way to have better performance? Is XFS a good choice in this 
situation?





Re: xfce4-session launched from .xinitrc, clobbers xrandr settings

2018-08-22 Thread Zenaan Harkness
OK, so I thought I'd wait 3 weeks, and yeah, I know, it's only been
20 days, but hey, color me impatient.

What I ended up doing is just adding an xrandr entry to my xfce4
session, but this seems to slow the startup of the GUI starting -
i.e. it seems like XFCE4 does some internal default monitor (xrandr)
layout, then runs my script which sets my preferred xrandr config/
layout.

Although I can't really be sure - I'm not sure how to properly test
this, as it could just be a time/impatience illusion.

Thoughts?
Zenaan



On Wed, Aug 02, 2017 at 10:34:57PM +1000, Zenaan Harkness wrote:
> Does anyone here launch xfce4 from .xinitrc, or from console?
> 
> xfce4-session clobbers xrandr settings when run from .xinitrc (via
> .xinit from Linux console).
> 
> When starting from console, I know the monitor layout I want, and
> don't like the delay (and blanking between changes) of having to
> manually re-run my preferred layout script, so I'd like xfce4 to
> respect my "current" monitor layout as set by xrandr just prior to
> launching the xfce4 desktop - is this possible?
> 
> TIA,
> Zenaan
> 
> 
> 
> Further details:
> 
> After running a few tests, it seems that xfce4 has its own idea of
> the "current monitor configuration" and imposes this on each session
> start.
> 
> This kind of makes sense - normally one wants to begin a new xfce4
> login with the same monitor configuration/layout as the previous
> login.
> 
> Although sometimes that's not possible due to disconnection of
> monitors (common case when moving a laptop around, and where only one
> of the normal laptop locations has one or more external monitors).
> 
> 
> I have scriptified my xrandr settings, so that I can relatively
> easily configure keyboard shortcuts to swap between different monitor
> configurations/ layouts.
> 
> But .xinitrc is my ultimate startup script, not the opaque binary
> known as xfce4-xsession - even though I have to run this from
> .xinitrc to get my xfce4 desktop.
> 
> Good News --- xfce4-session respects other ".xinitrc"
> environment without clobbering:
>  - does not clobber .Xresources/xrdb loaded settings
>  - does not clobber current keyboard repeat rate (actually not
>entirely sure, I may not be properly testing this one)
>  - environment vars ARE passed through (very handy!)
> 
> Bad News -- xrandr configuration is clobbered.
> 
> Potential other preference: respect setting of root window, e.g.
> xsetroot -gray -mod 5 5 # not very important
> 
> 
> This custom randr script is necessary for me to use - to e.g.
> establish some params for potential future xterm launches - another,
> dynamic, script, which lays out arbitrary xterms based on "current"
> monitor resolutions and of course orientations and offsets. Have not
> yet coded a script to dynamically determine number of monitors and
> their current rotation and offsets relative to one another, so I have
> to decide in advance what I want, and pack various env vars, then run
> xrandr, so that later I have the -full- parameters of the current
> monitor layout.
> 
> Also, scripting randr means I can more easily get precise monitor
> offsets (e.g. monitor 1 at y=646), which is useful to cause mouse
> movement between monitors to line up properly.
> 
> 
> 
> Here's my environment:
>  - Debian Stretch/9
>  - Linux 4.9.0-3-amd64
>  - oldish Core2Duo laptop
>  - two external monitors, each same size
>  - one monitor I normally rotate
> 
> 
> Steps to reproduce evidencing this limitation:
> 
> 
> 1) login to Linux console
> 
> 
> 2) set env vars, init xauth, assemble and launch xinit e.g.:
> 
> #!/bin/bash
> # "mystartx"
> export XDG_... env vars ...
> export DESKTOP_SESSION="xfce"
> export GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:"
> export GLADE_PIXMAP_PATH="$GLADE_PIXMAP_PATH:"
> export GLADE_MODULE_PATH="$GLADE_MODULE_PATH:"
> which xdg-user-dirs-update >/dev/null 2>&1 && xdg-user-dirs-update
> 
> export XAUTHORITY="$HOME"/.Xauthority
> mcookie="$(/usr/bin/mcookie)"
> xserverauthfile=`mktemp --tmpdir serverauth.XXX`
> xauth -q -f ...
> 
> # This is the important line:
> xinit $HOME/.xinitrc -- /usr/bin/X :0 vt1 -keeptty \
>  -logverbose 5 -auth $xserverauthfile
> 
> 
> 3) here's ~/.xinitrc :
> 
> #!/bin/bash
> xrdb -load $HOME/.Xresources # these are not clobbered by xfce
> xsetroot -gray -mod 5 5 # this is clobbered
> test -z "$DBUS_SESSION_BUS_ADDRESS" && {
>  eval `dbus-launch --sh-syntax`
>  dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS
> }
> dbus-update-activation-environment --systemd DISPLAY XAUTHORITY
> # disable laptop internal monitor:
> xrandr --output LVDS-1 --off
> # enable two external monitors:
> xrandr --verbose --output DP-1 --pos 0x646 --mode 1920x1200 --rotate \
>  normal --output DP-2 --pos 1920x0 --mode 1920x1200 --rotate left
> 
> #exec xterm -geometry 80x60+0+646 # this alternative runs successfully
> 
> # this alternative clobbers xrandr layout, disabling second monitor:
> exec ck-launch-session 

Re: Microsoft Does It Again

2018-08-22 Thread Eric S Fraga
On Tuesday, 21 Aug 2018 at 19:03, Martin wrote:
> If you can not open this with LibreOffice Calc, you may give it a shot
> with that Google spreadsheet thing. 

and gnumeric may also be worth trying as it has worked quite well for me
in the past for xlsx files.
-- 
Eric S Fraga via Emacs 27.0.50 & org 9.1.13 on Debian buster/sid



Re: Installer Redmine sur Debian

2018-08-22 Thread Sébastien Dinot
- Mail original -
> Je vois sur ton wiki que quand tu crées un compte utilisateur système
> nommé redmine, le répertoire d'accueil est /opt/redmine
> Peux tu m'expliquer si /opt/ est un chemin standard, et, pourquoi
> mettre l'utilisateur ici ?

Selon le FHS (Filesystem Hierarchy Standard) (1), /opt est réservé aux 
logiciels « optionnels » (2).

> C'est peut être à cet endroit que vont les utilisateurs système en
> général ?

Non.

> Est ce dangereux de créer un utilisateur système pour utiliser
> Redmine, dans un précédent échange, on m'a conseillé de ne pas le
> faire car cet utilisateur aurait trop de droits.

À l'époque, j'avais lu dans la doc que le compte redmine devait être de type 
système. Je me suis aperçu plus tard que cela n'était nécessaire que lorsqu'on 
utilisait le serveur webrick intégré à Redmine, afin que ce dernier puisse 
écouter sur les ports 80 et 443. Mais cela n'est pas nécessaire lorsqu'on 
utilise un serveur Apache ou NGinx en frontal.

Le compte sous lequel tourne la seule instance de Redmine que j'administre 
encore a pour uid 1005. Il ne s'agit donc pas d'un compte système.

Sébastien

(1) FHS : http://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
  https://fr.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

(2) /opt : 
http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES

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



Re: Openssl ciphers is not means SSL supported?

2018-08-22 Thread Miwa Susumu
Hi.

2018-08-22 14:43 GMT+09:00 Reco :
>> [question 1]
>> 'openssl ciphers -v' output ciphers. include SSL protocol version.
>> I have 'SSLv3' by 'openssl ciphers -v'
>> but debian openssl package disable ssl3. by configure option.
>> (see configure option in debian/rules file).
>>
>> my openssl doesn't support SSLv3. is it right?
>
> Debian's openssl does support ciphers that were associated with SSLv3,
> but all these ciphers can be used for TLS too.
> The support of SSLv3 protocol itself is disabled.

oh! I see.


>> [question 2]
>> What can I know which SSL version is supported by openssl?
>
> "openssl list -disabled" should show all disabled features, here they
> include SSL3. The support for SSL2 was lost by openssl a long time ago.

woops. openssl 1.0.2 doesn't have 'list' command (1.1.0 has 'list').
Instead, I can 'openssl ciphers' command.

$ openssl ciphers -ssl3
Error in cipher list
140431216178832:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no
cipher match:ssl_lib.c:1294:

$ openssl ciphers -tls1
ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA (snip)


> So, which version of SSL does Debian's openssl support? No version at
> all.
> Which version of TLS does Debian's openssl support? 1.0, 1.1 and 1.2.

I understand.
thanks!

-- 
miwarin