Re: [RESEND] lxde error

2018-08-02 Thread 황병희, 黃炳熙

thanks for feedback, Dan^^


On 2018년 08월 03일 00:39, Dan Ritter wrote:

On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:

i'm new to debian. yesterday i did install debian on chromebook. i get
some error when i start lxde. attached file with error [1]. how can i
resolve it?

$ lsb_release -d
Description:Debian GNU/Linux 8.11 (jessie)

$ uname -a
Linux localhost 3.18.0-14597-g61c88fee5b70 #1 SMP PREEMPT Thu Jul 13
12:01:12 PDT 2017 aarch64 GNU/Linux

$ dpkg -l | grep lxde
ii  lxde  6
ii  lxde-common   0.99.0-1
ii  lxde-core 6
ii  lxde-icon-theme   0.5.1-1
ii  task-lxde-desktop 3.31+deb8u1


Perhaps lxsession is not running?

so i did check on terminal as below:

$ ps -ax | grep lxsession
12478 ?Sl 0:00 /usr/bin/lxsession -s LXDE -e LXDE
12674 pts/1S+ 0:00 grep lxsession

i do not know what problem is. it occur every start with lxde.

thanks,



Re: What's the deal with the mpfr versioning? libmpfr4 vs. libmpfr6

2018-08-02 Thread Vincent Lefevre
On 2018-08-01 13:41:32 -0500, David Wright wrote:
> > > That
> [the 4.0.1 source code can build both versions under discussion]
> > > seems unlikely to me. I'm not going to bother to download the
> > > source to find out, but I suspect that the 4 in Packages's "Source:
> > > mpfr4" line is spurious,
> > 
> > Agreed, I hadn't noticed this little "4" in there.  I have no idea what
> > it means.  I was only looking at (and talking about) the Debian
> > version numbers and the "4" and "6" of "libmpfr4" and "libmpfr6".
> 
> It seems plausible that someone thought it should be in there if and
> when versions 1 and 4 were being simultaneously supported around the
> time of squeeze≡testing. Just speculation.

Yes, in the past, one goal was to have the source for both MPFR
versions 2.4 (mpfr) and 3.0 (mpfr4) at the same time in sid.
IIRC, this kind of things was common at that time.

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



Re: Changement de PC : lenteur au boot

2018-08-02 Thread Pascal Hambourg

Le 02/08/2018 à 23:40, andre_deb...@numericable.fr a écrit :


J'ai copié ma Debian Stretch vers un nouveau pc.

Tout marche bien sauf qu'au boot apparait un tiret "-",
je dois attendre 20 bonnes secondes,
puis apparait exactement ce message :
"Gave up waiting for suspend / resume device

Copié comment ? L'UUID du swap a été préservé ?

Regarde dans /etc/initramfs-tools/conf.d/resume.
Si c'est vide, tu peux essayer de reconstruire l'initramfs avec

update-initramfs -u


dmesg donne ce message :
"[drm:drm_edid_block_valid [drm]] *ERROR* EDID checksum is invalid,
remainder is 99"


Problème avec la carte graphique ou l'écran. Ça ne vient pas de la 
configuration de Debian.




Re: What's the deal with the mpfr versioning? libmpfr4 vs. libmpfr6

2018-08-02 Thread Vincent Lefevre
On 2018-07-31 10:01:00 -0400, Stefan Monnier wrote:
> > As for the "6", I'm guessing that they chose that because the library
> > version (yes, another versioning sequence) is 6.0.1 as opposed to 4.1.5.
> 
> That's right, this is an "API version", so I guess it means that the
> 4.0.1 upstream code can be used to build both the API version 4 and
> the API version 6.

This is related to the ABI versions, not API.

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



Re: What's the deal with the mpfr versioning? libmpfr4 vs. libmpfr6

2018-08-02 Thread Vincent Lefevre
On 2018-07-31 00:37:38 +0200, Anders Andersson wrote:
> I just noticed that there are two packages for libmpfr:
> 
> https://packages.debian.org/sid/libmpfr4
> 
> https://packages.debian.org/sid/libmpfr6
> 
> 
> Funny thing is, this is what the versioning says on those pages:
> Package: libmpfr4 (3.1.6-1)
> Package: libmpfr6 (4.0.1-1)
> 
> ...ok, that's strange. Even weirder, they are both built from the same
> sources: mpfr-4.0.1-1.

No. libmpfr4 3.1.6-1 was built from mpfr4 3.1.6-1 and
libmpfr6 4.0.1-1 was built from mpfr4 4.0.1-1.

The package names are different due to ABI incompatibility
between MPFR 3.1 (which implements interfaces 4 and 5) and
MPFR 4.0 (which implements interface 6).

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



Debian>=9.5 + APACHE2>=2.4.25 + HTTP/2

2018-08-02 Thread tech
Hello world,



As the Apache MPM (Multi-Processing Module) prefork no longer supports HTTP/2 
and having updated to 9.5 (breaking my fully working HTTP/2 server), i wonder 
what are the plan for HTTP/2 support.


Is it better to wait for a fix ?

If so, when ?


Is it better to forget MPM, witch i dont know how to do it ( yes, this is 
August and i am lazy )


switching to nginx might be an option, but again, i am lazy...


Thanks.




Re: GPG-Fehler mit debmirror und wheezy-proposed-updates

2018-08-02 Thread Todd Fleisher
Good catch. It seems that sometime after I wrote this email a new signature was 
generated that is no longer generating errors so I guess it was a temporary 
issue.

-T

> On Aug 2, 2018, at 7:28 PM, Ansgar Burchardt  wrote:
> 
> ADD6B7E2 is an encryption subkey.  As this is not used, it was revoked
> later (in 2014).
> 
> Newer archive signing keys no longer have an encryption subkey
> generated.
> 
> Ansgar



Re: GPG-Fehler mit debmirror und wheezy-proposed-updates

2018-08-02 Thread Ansgar Burchardt
Todd Fleisher  writes:
> I’m seeing this as well and suspect it is due to the GPG sub-key
> ADD6B7E2 having been revoked. I am not sure why this has been done,
> perhaps ftpmaster can provide some context?

ADD6B7E2 is an encryption subkey.  As this is not used, it was revoked
later (in 2014).

Newer archive signing keys no longer have an encryption subkey
generated.

Ansgar



Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-02 Thread Carles Pina i Estany


Hi,

On Aug/01/2018, David Christensen wrote:
> On 08/01/2018 03:47 PM, Carles Pina i Estany wrote:

> > The question is:
> > "Please unlock disk m2_root_crypt:"
> > 
> > I expcted to write the password three times.
> 
> Given your crypttab, above, I agree that you should have to enter three
> passphrases.

I've been investigating and I'm still puzzled.

The findings can be resumed:
a) If I boot the kernel with break=premount and then execute
/scripts/local-top/cryptroot: I need to enter the passphrase three times
as expected instead of two. Last one I see the prompt a bit different in
bold (probably comes from systemd?).

b) If I boot the kernel with the parameter "debug" and then I execute
journalctl I can see:
"""
ago 02 23:30:05 pinux systemd-cryptsetup[498]: Added key to keyring as 
604875905.
"""

And if I execute keyctl show:
root@pinux:~# keyctl show
Session Keyring
 935647640 --alswrv  0 65534  keyring: _uid_ses.0
 575581655 --alswrv  0 65534   \_ keyring: _uid.0
 604875905 --alswrv  0 0   \_ user: cryptsetup
root@pinux:~# 

If I wait a bit (more than 90 seconds was the default timeout?):
root@pinux:~# keyctl show
Session Keyring
 935647640 --alswrv  0 65534  keyring: _uid_ses.0
 575581655 --alswrv  0 65534   \_ keyring: _uid.0
root@pinux:~# 

But I thought that keyrings were only used by decrypt_keyctl in /etc/crypttab?
where is this added? My initrd doesn't have keyctl installed.

All of this might be a red herring...

Any more ideas please let me know,

-- 
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157



Changement de PC : lenteur au boot

2018-08-02 Thread andre_debian
Bonsoir,

J'ai copié ma Debian Stretch vers un nouveau pc.

Tout marche bien sauf qu'au boot apparait un tiret "-",
je dois attendre 20 bonnes secondes,
puis apparait exactement ce message :
"Gave up waiting for suspend / resume device"

Ce problème n'apparait pas au boot d'une nouvelle Stretch,
installée depuis une image net-install.

dmesg donne ce message :
"[drm:drm_edid_block_valid [drm]] *ERROR* EDID checksum is invalid, 
remainder is 99"

Il doit y avoir une ancienne config ou un device qui gêne le démarrage,
mais comment savoir laquelle ?

Merci d'une piste...

André



Re: A tutorial for MySql installation

2018-08-02 Thread Richard Owlett

On 08/02/2018 02:14 PM, der.hans wrote:

Am 02. Aug, 2018 schwätzte Richard Owlett so:

At the end you say this is for WordPress, that pre-answers some of the
questions I was going to bring up :).


And the questions were?
It allow me to get a handle on where my assumptions differ from the rest 
of the world.




Unless you have specialized needs it doesn't matter which of the MySQL
forks you use. WordPress only uses general MySQL functionality, so use
whatever's in the repo.

For debian there's now default-mysql-server which is a metapackage picking
up MariaDB.

The debian package will give you a sane install with MariaDB listening on
a socket and on localhost port 3306.

By default you can connect from a root shell by just typing "mysql".

Debian has some convenience stuff for upgrades and that moved from using
"debian-sys-maint˝ to using "root".

Read /usr/share/doc/mariadb-server-10.1/README.Debian.gz


That leads to linked links for multiple useful pages - haven't counted 
them all - yet ;}

Thank you.



You shouldn't need to become a database expert to setup a CMS. We can use
more database experts, so if that's your goal, then please do read all the
database docs :).


I doubt I'll become an expert.
However, elsewhere I've said:
I've saved ~6 years of useful posts from this group. I've been trying to figure out how to organize it in order to create a QWSBFA rather than a FAQ. QWSBFA=="Questions Which Should Be Frequently Asked" ;/ 

This may become an additional set of entries.




I did not realize that WordPress is packaged.

The wordpress package provides a convenience script for setting it up.

See /usr/share/doc/wordpress/README.Debian.gz

I just installed stretch and the following was setup with no questions to
me:

# check listening port to make sure something is on MySQL's port, 3306
# the -p option requires running as root
# ss -tlnp | grep 3306
LISTEN 0  80 127.0.0.1:3306 *:*
users:(("mysqld",pid=7326,fd=17))

# check the listed process id, make sure it's mysqld
# ps auxw | grep 7326 | grep -v grep
mysql 7326  0.0  0.4 686096 70444 ?    Ssl  18:49   0:00
/usr/sbin/mysqld

# check which package provided mysqld
# dpkg -S /usr/sbin/mysqld mariadb-server-core-10.1: /usr/sbin/mysqld


Those give me some man pages to lookup.



Back to finding out why communication packets are misbehaving...

ciao,

der.hans


On 08/02/2018 11:21 AM, Nicholas Geovanis wrote:
On Thu, Aug 2, 2018 at 10:01 AM Richard Owlett  
wrote:


I went to the MariaDB homepage and followed links to
[https://mariadb.com/kb/en/library/installing-mariadb-deb-files/].


You should instead be installing it from the usual debian-hosted
repositories,


You're preaching to the choir. I've already mentioned 3 times that I 
want what is in the repository ;}




unless you have a known need for a specific release. The
usual repos normally have multiple releases of MariaDB/MySQL on them.


It tries to be too many things for too many people


MariaDB/MySQL are today DBMS's of commercial depth and quality.


I was referring to the specific web page mentioned.


That
wasn't always the case. One whole lot of Earth's commerce is riding on
them today. They are inherently complex and learning them takes time
and some background perhaps. Maybe Apache CouchDB would be better for
your purposes unless you expect scads of data.


I already listed a specific requirement. It is a prerequisite of 
WordPress.








Re: GPG-Fehler mit debmirror und wheezy-proposed-updates

2018-08-02 Thread Todd Fleisher
Hi Christoph,
I’m seeing this as well and suspect it is due to the GPG sub-key ADD6B7E2 
having been revoked. I am not sure why this has been done, perhaps ftpmaster 
can provide some context?

-T



Re: Surprises during upgrade using Synaptic

2018-08-02 Thread Brian
On Thu 02 Aug 2018 at 08:03:32 -0500, Richard Owlett wrote:

> For the first time I did a system upgrade against the online repository.
> In the past, due to local conditions, my upgrades were by doing a fresh
> install from purchased  DVD sets of latest point release.

You have now moved into an arena that the vast majority Debian users of 
  
have occupied for many, many years. Are you seeking special attention
for issues which have been discussed numerous times in the past and for
which -user archives will provide you with an answer?
> 
> I was greeted by list of locales to added or upgraded. Not seeing any
> possible harm I allowed it. I then got a screen asking to accept my current
> locale. If it already knew my locale, why didn't just initially ask if I
> wanted my current locale updated?

Apparently you are. My locale is GB.UTF-8. UTF makes me very happy. So
does GB. Your locale is something similar. You have no need of any other
locales. Just go with the flow.

> I was then greeted with choices to update several subsystems. I rather
> blindly accepted the recommendations. The explanations display seemed safe -
> would they be of use or just add bloat?

You are either going to upgrade or not. Bloat doesn't come into it. The
packages to upgrade were useful to you before - why shouldn't they be
useful afterwards?

Your mail says - I upgraded Debian; it was completely successful.

> I found Synaptic's Help - un-helpful (didn't give enough info on what was
> happening). Is there a web page aimed at a beginner/intermediate user to
> understand what is happening?

Understanding what is happening begins in the brain. Has it been given
an upgrade recently?

-- 
Brian.



Re: A tutorial for MySql installation

2018-08-02 Thread der.hans

Am 02. Aug, 2018 schwätzte Richard Owlett so:

At the end you say this is for WordPress, that pre-answers some of the
questions I was going to bring up :).

Unless you have specialized needs it doesn't matter which of the MySQL
forks you use. WordPress only uses general MySQL functionality, so use
whatever's in the repo.

For debian there's now default-mysql-server which is a metapackage picking
up MariaDB.

The debian package will give you a sane install with MariaDB listening on
a socket and on localhost port 3306.

By default you can connect from a root shell by just typing "mysql".

Debian has some convenience stuff for upgrades and that moved from using
"debian-sys-maint˝ to using "root".

Read /usr/share/doc/mariadb-server-10.1/README.Debian.gz

You shouldn't need to become a database expert to setup a CMS. We can use
more database experts, so if that's your goal, then please do read all the
database docs :).

I did not realize that WordPress is packaged.

The wordpress package provides a convenience script for setting it up.

See /usr/share/doc/wordpress/README.Debian.gz

I just installed stretch and the following was setup with no questions to
me:

# check listening port to make sure something is on MySQL's port, 3306
# the -p option requires running as root
# ss -tlnp | grep 3306
LISTEN 0  80 127.0.0.1:3306 *:*
users:(("mysqld",pid=7326,fd=17))

# check the listed process id, make sure it's mysqld
# ps auxw | grep 7326 | grep -v grep
mysql 7326  0.0  0.4 686096 70444 ?Ssl  18:49   0:00
/usr/sbin/mysqld

# check which package provided mysqld
# dpkg -S /usr/sbin/mysqld 
mariadb-server-core-10.1: /usr/sbin/mysqld


Back to finding out why communication packets are misbehaving...

ciao,

der.hans


On 08/02/2018 11:21 AM, Nicholas Geovanis wrote:

On Thu, Aug 2, 2018 at 10:01 AM Richard Owlett  wrote:


I went to the MariaDB homepage and followed links to
[https://mariadb.com/kb/en/library/installing-mariadb-deb-files/].


You should instead be installing it from the usual debian-hosted
repositories,


You're preaching to the choir. I've already mentioned 3 times that I want 
what is in the repository ;}




unless you have a known need for a specific release. The
usual repos normally have multiple releases of MariaDB/MySQL on them.


It tries to be too many things for too many people


MariaDB/MySQL are today DBMS's of commercial depth and quality.


I was referring to the specific web page mentioned.


That
wasn't always the case. One whole lot of Earth's commerce is riding on
them today. They are inherently complex and learning them takes time
and some background perhaps. Maybe Apache CouchDB would be better for
your purposes unless you expect scads of data.


I already listed a specific requirement. It is a prerequisite of WordPress.


--
#  https://www.LuftHans.com   https://www.PhxLinux.org
#  "The only thing that interferes with my learning is my education."
#   -- Albert Einstein

Re: Kernel compilation problem

2018-08-02 Thread Taren
I did finally get the 4.17.11 kernel to compile so that my large drives 
are visible now, but I had to use a 'shotgun' approach in including as 
many SCSI/SATA/etc variables as possible.



I do intend on comparing the non-functioning config for 4.17.11 against 
both the functioning config, as well as against the config for 4.9.0-7-amd.



Thanks.


Taren


On 08/02/2018 10:30 AM, David Wright wrote:

On Wed 01 Aug 2018 at 23:37:33 (-0600), Taren wrote:

I'm running Stretch, with kernel 4.9.0.7, and am trying to compile a
new kernel (preferably 4.17.11) into which I can boot.
The kernel builds successfully, but whenever I try booting into the
new kernel, I end up in emergency mode, with the error

 Unit dev-disk-by\x2duuid-.device has failed.

 The result is timeout.

This device is anmd device, with two mirrors (each 2.7T in size).
The submirrors are present when I boot into 4.9.0.7 (installed when
the system was built).
However, they do not appear to be visible under any kernel which I
build and try to boot into.

I've tried setting LBDAF in the kernel configuration, but that
requires that a 32bit kernel be built (and x64 deselected), and I'm
running on an AMD 8350 chip, which is x86_64.
Kernel 4.9.0.7 does not have LBDAF set (and x64 is set), yet it's
able to see my 2.7T drives, and my raid device mounts with no
problem.

I think this is a red herring. 32bit kernels need LBDAF for large
disks because they have to be told to use 64bit addressing for
them. Obviously 64bit kernels don't need telling, so that option
is made unavailable.


Would someone point me in the correct direction for configuring a
new kernel, so that my 2T+ drives are visible?

In the absence of other replies, I can only suggest
(a) comparing /boot/config-4.9.0-7-amd64 with the one you've
 built to see whether something is missing,
(b) compare the output of lsinitramfs /boot/initrd.img-4.9.0-7-amd64
 with the one you've built to see likewise.
I'm assuming with (b) that the disks have to be found by using the
initramfs before the system can continue booting with the filesystem
contained on those disks.

Cheers,
David.






Re: convertir un odt en markdown

2018-08-02 Thread Bernard Schoenacker



- Mail original -
> De: "Étienne Mollier" 
> À: debian-user-french@lists.debian.org
> Envoyé: Jeudi 2 Août 2018 19:22:14
> Objet: Re: convertir un odt en markdown
> 
> 
> 
> On 08/02/2018 07:15 PM, Bernard Schoenacker wrote:
> >  je recherche une solution pour convertir un document
> >  "texte" (*.odt) en markdown
> >  
> >  comment le faire en ligne de commande
> 
> Bonjour Bernard,
> 
> Regarde du côté de "pandoc".  Je l'ai vu à l'œuvre pour de la
> conversion TeX/HTML, et il gère une quantité impressionnante de
> formats.
> 
> J'imagine qu'une commande de cet ordre ferait l'affaire
> 
>   $ pandoc -f odt -t markdown texte.odt > texte.md
> 
> Amicalement,
> --
> Étienne Mollier 
> 
> 
bonjour,

désolé mais c'est presque ça :

pandoc -s file.odt -t markdown -o file.md

merci pour tout

slt
bernard



Re: A tutorial for MySql installation

2018-08-02 Thread Richard Owlett

On 08/02/2018 11:21 AM, Nicholas Geovanis wrote:

On Thu, Aug 2, 2018 at 10:01 AM Richard Owlett  wrote:


I went to the MariaDB homepage and followed links to
[https://mariadb.com/kb/en/library/installing-mariadb-deb-files/].


You should instead be installing it from the usual debian-hosted
repositories,


You're preaching to the choir. I've already mentioned 3 times that I 
want what is in the repository ;}




unless you have a known need for a specific release. The
usual repos normally have multiple releases of MariaDB/MySQL on them.


It tries to be too many things for too many people


MariaDB/MySQL are today DBMS's of commercial depth and quality.


I was referring to the specific web page mentioned.


That
wasn't always the case. One whole lot of Earth's commerce is riding on
them today. They are inherently complex and learning them takes time
and some background perhaps. Maybe Apache CouchDB would be better for
your purposes unless you expect scads of data.


I already listed a specific requirement. It is a prerequisite of WordPress.






Re: convertir un odt en markdown

2018-08-02 Thread Bernard Schoenacker



- Mail original -
> De: "Étienne Mollier" 
> À: debian-user-french@lists.debian.org
> Envoyé: Jeudi 2 Août 2018 19:22:14
> Objet: Re: convertir un odt en markdown
> 
> 
> 
> On 08/02/2018 07:15 PM, Bernard Schoenacker wrote:
> >  je recherche une solution pour convertir un document
> >  "texte" (*.odt) en markdown
> >  
> >  comment le faire en ligne de commande
> 
> Bonjour Bernard,
> 
> Regarde du côté de "pandoc".  Je l'ai vu à l'œuvre pour de la
> conversion TeX/HTML, et il gère une quantité impressionnante de
> formats.
> 
> J'imagine qu'une commande de cet ordre ferait l'affaire
> 
>   $ pandoc -f odt -t markdown texte.odt > texte.md
> 
> Amicalement,
> --
> Étienne Mollier 
> 
> 
bonjour,

j'ai trouvé la réponse sur stack exchange :

https://writing.stackexchange.com/questions/9056/from-markdown-to-odt-and-vice-versa-a-possible-distraction-free-writing-workfl


You indeed want to convert to HTML first:

pandoc OdtFile.odt -o HtmlFile.html

and then proceed to create markdown file the same way:

pandoc HtmlFile.html -o MarkDown.text


par contre je ne sais pas gérer le flux temporaire pour
tuber le résultat

merci
slt
bernard



Re: A tutorial for MySql installation

2018-08-02 Thread Richard Owlett

On 08/02/2018 10:08 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Aug 02, 2018 at 09:10:12AM -0500, Richard Owlett wrote:

On 08/02/2018 08:27 AM, to...@tuxteam.de wrote:


[...]


It was pointed out that MySql would be more suitable.


I don't understand this statement...


Nor did I :/
During my reading before attempting to install MariaDB it was either
an enhanced MySql or a renaming to avoid confusion with something
that didn't meet how Debian defines FOSS.


It was a reaction by some of the MySQL original developers (Monty
Widenius among others) to the fact that Oracle, by buying Sun's
leftovers, gained control of MySQL (MySQL had been sold to Sun before).

Obviously they didn't trust Oracle to be a good governor of a free
competition to their crown jewel, and they forked MySQL (which is
possible, because it was under a free license). See [1].

[...]


Note: Network and LAN are different things here. You don't
need a "running LAN" [...]



That may have been the source of one set of problems. I couldn't see
a distinction in the documentation between references that strictly
applied to a network server and what applied to the database server.


There isn't actually a big difference for the server whether it is
serving local clients or clients over the network. Authentication
is stricter for network clients (you can limit them by IP address
and so on), but that should be all.


Is there something focused on that topic. If it's explanation
doesn't solve my comprehension problems, at least it would be common
ground for me ask further intelligent questions.


The problem is that there are *lots* of docs (it is a complex
topic, after all). You can start a long browsing excursion here

   https://mariadb.org/learn/



My reading assignment for a long weekend that will be too hot outdoors.

Thanks.





Re: Surprises during upgrade using Synaptic

2018-08-02 Thread Richard Owlett

On 08/02/2018 10:23 AM, David Wright wrote:

On Thu 02 Aug 2018 at 08:03:32 (-0500), Richard Owlett wrote:

For the first time I did a system upgrade against the online repository.
In the past, due to local conditions, my upgrades were by doing a
fresh install from purchased  DVD sets of latest point release.

I was greeted by list of locales to added or upgraded. Not seeing
any possible harm I allowed it. I then got a screen asking to accept
my current locale. If it already knew my locale, why didn't just
initially ask if I wanted my current locale updated?

I was then greeted with choices to update several subsystems. I
rather blindly accepted the recommendations. The explanations
display seemed safe - would they be of use or just add bloat?

I found Synaptic's Help - un-helpful (didn't give enough info on
what was happening). Is there a web page aimed at a
beginner/intermediate user to understand what is happening?


As a first-timer, the best thing to do is let synaptic install
whatever it wants. Bloat will probably do you no harm.

As you gain experience, you'll be able to make your own judgments
as to what's really necessary, and then be a little more selective.
Again, as a greenhorn, you could just reinstall from scratch with
your new-found experience.

One idea that you might try is to have a drive partitioned with
several partitions, so that you can do these reinstalls on one
partition while leaving usable system(s) untouched until
you're happy with their successor.


The ONLY way to go :}
From Squeeze on, each of my installs have been made to a fresh 
partition. That was usually because I wanted to experiment with a 
different configuration.


Thanks.




Re: Surprises during upgrade using Synaptic

2018-08-02 Thread Richard Owlett

On 08/02/2018 10:24 AM, bw wrote:



On Thu, 2 Aug 2018, Richard Owlett wrote:


For the first time I did a system upgrade against the online repository.
In the past, due to local conditions, my upgrades were by doing a fresh
install from purchased  DVD sets of latest point release.

I was greeted by list of locales to added or upgraded. Not seeing any possible
harm I allowed it. I then got a screen asking to accept my current locale. If
it already knew my locale, why didn't just initially ask if I wanted my
current locale updated?

I was then greeted with choices to update several subsystems. I rather blindly
accepted the recommendations. The explanations display seemed safe - would
they be of use or just add bloat?

I found Synaptic's Help - un-helpful (didn't give enough info on what was
happening). Is there a web page aimed at a beginner/intermediate user to
understand what is happening?

TIA




What problem are you trying to solve?  https://wiki.debian.org/Synaptic
says synaptic is "targeted at ease of use" so maybe that is why it
does not have the helpful additional info you are looking for?


I suspected as much. I have a strange collection of background. I was 
introduced to programming with CORC/CUPL at Cornell in the early 60's. 
Dartmouth's BASIC later filled that market niche. In the 70's did some 
database management in dBaseII under close supervision. Later I did 
maintenance of 8085 assembler. I was never involved at the OS level 
until using Debian Squeeze.




On the other hand, each pkg can include scripts that run before or after
installation.  That may be why you were asked a question.  I think there
may be several ways to do it, but debconf https://wiki.debian.org/debconf
is probably the way it is handled for most pkgs?

Every pkg has a changelog, a debian changelog, sometime a NEWS.debian, and
usually one or two readme files at /usr/share/doc/ so maybe
looking up the readme for pkg locales will answer one of the questions.

good wiki here also https://wiki.debian.org/DebianPackageManagement



Next time I'll use command line tools. Looking up the man pages will 
help in deciding what path I wish to follow. Also, I suspect any 
questions will be at a more fine grained level.


I have bookmarked your links.

Thank you.



Re: convertir un odt en markdown

2018-08-02 Thread Étienne Mollier



On 08/02/2018 07:15 PM, Bernard Schoenacker wrote:
>  je recherche une solution pour convertir un document
>  "texte" (*.odt) en markdown
>  
>  comment le faire en ligne de commande

Bonjour Bernard,

Regarde du côté de "pandoc".  Je l'ai vu à l'œuvre pour de la
conversion TeX/HTML, et il gère une quantité impressionnante de
formats.

J'imagine qu'une commande de cet ordre ferait l'affaire

$ pandoc -f odt -t markdown texte.odt > texte.md

Amicalement,
-- 
Étienne Mollier 



convertir un odt en markdown

2018-08-02 Thread Bernard Schoenacker
 bonjour,
 
 je recherche une solution pour convertir un document
 "texte" (*.odt) en markdown
 
 comment le faire en ligne de commande
 
 merci
 slt
 bernard
 



Re: Kernel compilation problem

2018-08-02 Thread David Wright
On Wed 01 Aug 2018 at 23:37:33 (-0600), Taren wrote:
> I'm running Stretch, with kernel 4.9.0.7, and am trying to compile a
> new kernel (preferably 4.17.11) into which I can boot.
> The kernel builds successfully, but whenever I try booting into the
> new kernel, I end up in emergency mode, with the error
> 
> Unit dev-disk-by\x2duuid-.device has failed.
> 
> The result is timeout.
> 
> This device is anmd device, with two mirrors (each 2.7T in size).
> The submirrors are present when I boot into 4.9.0.7 (installed when
> the system was built).
> However, they do not appear to be visible under any kernel which I
> build and try to boot into.
> 
> I've tried setting LBDAF in the kernel configuration, but that
> requires that a 32bit kernel be built (and x64 deselected), and I'm
> running on an AMD 8350 chip, which is x86_64.
> Kernel 4.9.0.7 does not have LBDAF set (and x64 is set), yet it's
> able to see my 2.7T drives, and my raid device mounts with no
> problem.

I think this is a red herring. 32bit kernels need LBDAF for large
disks because they have to be told to use 64bit addressing for
them. Obviously 64bit kernels don't need telling, so that option
is made unavailable.

> Would someone point me in the correct direction for configuring a
> new kernel, so that my 2T+ drives are visible?

In the absence of other replies, I can only suggest
(a) comparing /boot/config-4.9.0-7-amd64 with the one you've
built to see whether something is missing,
(b) compare the output of lsinitramfs /boot/initrd.img-4.9.0-7-amd64
with the one you've built to see likewise.
I'm assuming with (b) that the disks have to be found by using the
initramfs before the system can continue booting with the filesystem
contained on those disks.

Cheers,
David.



Re: A tutorial for MySql installation

2018-08-02 Thread Nicholas Geovanis
On Thu, Aug 2, 2018 at 10:01 AM Richard Owlett  wrote:
>
> I went to the MariaDB homepage and followed links to
> [https://mariadb.com/kb/en/library/installing-mariadb-deb-files/].

You should instead be installing it from the usual debian-hosted
repositories, unless you have a known need for a specific release. The
usual repos normally have multiple releases of MariaDB/MySQL on them.

> It tries to be too many things for too many people

MariaDB/MySQL are today DBMS's of commercial depth and quality. That
wasn't always the case. One whole lot of Earth's commerce is riding on
them today. They are inherently complex and learning them takes time
and some background perhaps. Maybe Apache CouchDB would be better for
your purposes unless you expect scads of data.



Re: [RESEND] lxde error

2018-08-02 Thread Dan Ritter
On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:
> i'm new to debian. yesterday i did install debian on chromebook. i get
> some error when i start lxde. attached file with error [1]. how can i
> resolve it? 
> 
> $ lsb_release -d
> Description:Debian GNU/Linux 8.11 (jessie)
> 
> $ uname -a
> Linux localhost 3.18.0-14597-g61c88fee5b70 #1 SMP PREEMPT Thu Jul 13
> 12:01:12 PDT 2017 aarch64 GNU/Linux
> 
> $ dpkg -l | grep lxde
> ii  lxde  6 
> ii  lxde-common   0.99.0-1
> ii  lxde-core 6  
> ii  lxde-icon-theme   0.5.1-1
> ii  task-lxde-desktop 3.31+deb8u1   
> 

Perhaps lxsession is not running?

-dsr-



Re: Surprises during upgrade using Synaptic

2018-08-02 Thread David Wright
On Thu 02 Aug 2018 at 08:03:32 (-0500), Richard Owlett wrote:
> For the first time I did a system upgrade against the online repository.
> In the past, due to local conditions, my upgrades were by doing a
> fresh install from purchased  DVD sets of latest point release.
> 
> I was greeted by list of locales to added or upgraded. Not seeing
> any possible harm I allowed it. I then got a screen asking to accept
> my current locale. If it already knew my locale, why didn't just
> initially ask if I wanted my current locale updated?
> 
> I was then greeted with choices to update several subsystems. I
> rather blindly accepted the recommendations. The explanations
> display seemed safe - would they be of use or just add bloat?
> 
> I found Synaptic's Help - un-helpful (didn't give enough info on
> what was happening). Is there a web page aimed at a
> beginner/intermediate user to understand what is happening?

As a first-timer, the best thing to do is let synaptic install
whatever it wants. Bloat will probably do you no harm.

As you gain experience, you'll be able to make your own judgments
as to what's really necessary, and then be a little more selective.
Again, as a greenhorn, you could just reinstall from scratch with
your new-found experience.

One idea that you might try is to have a drive partitioned with
several partitions, so that you can do these reinstalls on one
partition while leaving usable system(s) untouched until
you're happy with their successor.

Cheers,
David.



Re: A tutorial for MySql installation

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

On Thu, Aug 02, 2018 at 09:10:12AM -0500, Richard Owlett wrote:
> On 08/02/2018 08:27 AM, to...@tuxteam.de wrote:

[...]

> >>It was pointed out that MySql would be more suitable.
> >
> >I don't understand this statement...
> 
> Nor did I :/
> During my reading before attempting to install MariaDB it was either
> an enhanced MySql or a renaming to avoid confusion with something
> that didn't meet how Debian defines FOSS.

It was a reaction by some of the MySQL original developers (Monty
Widenius among others) to the fact that Oracle, by buying Sun's
leftovers, gained control of MySQL (MySQL had been sold to Sun before).

Obviously they didn't trust Oracle to be a good governor of a free
competition to their crown jewel, and they forked MySQL (which is
possible, because it was under a free license). See [1].

[...]

> >Note: Network and LAN are different things here. You don't
> >need a "running LAN" [...]

> That may have been the source of one set of problems. I couldn't see
> a distinction in the documentation between references that strictly
> applied to a network server and what applied to the database server.

There isn't actually a big difference for the server whether it is
serving local clients or clients over the network. Authentication
is stricter for network clients (you can limit them by IP address
and so on), but that should be all.

> Is there something focused on that topic. If it's explanation
> doesn't solve my comprehension problems, at least it would be common
> ground for me ask further intelligent questions.

The problem is that there are *lots* of docs (it is a complex
topic, after all). You can start a long browsing excursion here

  https://mariadb.org/learn/

> IIRC there were two different types of accounts (and associated
> passwords) to be set up. I messed up and was unable to untangle the
> mess.

Shit happens. For relational databases there's a fine-grained access
control system. Typically you start by setting up a "root" user
(perhaps there is one and you only need to set up its credentials),
who can create databases and grant rights to the more pedestrian
users.

> >>Is there a suitable tutorial for Debian 9 and whatever release of
> >>MySql is in the repository?
> >
> >MySQL and MariaDB shouldn't be very different in this respect,
> >I guess...
> 
>  I was aiming at MySql as I understood it shared the same
> end-user interface as MariaDB [...]

They do share much more. MariaDB is aimed at being a "drop in"
replacement for MySQL for those who want to keep Oracle at some
distance.

> I don't have a strong preference for MySql over MariaDB. I need a
> tutorial valid for the version in the current repository.

Pick one. I'd pick MariaDB, but hey. I'm a bit wary of BigCorps.

> Once burned, twice shy.

Yes, more or less.

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

iEYEARECAAYFAltjHm8ACgkQBcgs9XrR2kbWQwCfUqllC9MTdXVEajYhnR2wKedN
MRkAn0JcPyDuYkV/FtFoQO5qPKU3aeo4
=x3Xl
-END PGP SIGNATURE-



Re: A tutorial for MySql installation

2018-08-02 Thread Richard Owlett

On 08/02/2018 09:10 AM, Richard Owlett wrote:

On 08/02/2018 08:27 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Aug 02, 2018 at 08:20:08AM -0500, Richard Owlett wrote:

Some time ago failed to install MariaDB. I hadn't realized it was
tightly aimed at being on a network server.


The MariaDB server *is* conceptually a network server, as is the
MySQL server (but see below).


It was pointed out that MySql would be more suitable.


I don't understand this statement...


Nor did I :/
During my reading before attempting to install MariaDB it was either an 
enhanced MySql or a renaming to avoid confusion with something that 
didn't meet how Debian defines FOSS.





  I attempted to install it. It failed
due to reasons I don't recall. I suspect that part of the problem
was I was attempting to follow instructions aimed at an older
release of MySql.

I am running Debian 9 (just did a system upgrade from 9.0).
My hardware is a Thinkpad T510.
I am the only user with physical access to the machine.
I do *NOT* have any LAN software installed.


Note: Network and LAN are different things here. You don't
need a "running LAN" to have a (MariaDB, Mysql, PostgreSQL)
server running. But conceptually, they offer their services
at something which can be considered a network connection
(be it a local TCP/IP socket or a Unix domain socket).


That may have been the source of one set of problems. I couldn't see a 
distinction in the documentation between references that strictly 
applied to a network server and what applied to the database server.


Is there something focused on that topic. If it's explanation doesn't 
solve my comprehension problems, at least it would be common ground for 
me ask further intelligent questions.


IIRC there were two different types of accounts (and associated 
passwords) to be set up. I messed up and was unable to untangle the mess.





Is there a suitable tutorial for Debian 9 and whatever release of
MySql is in the repository?


MySQL and MariaDB shouldn't be very different in this respect,
I guess...


 I was aiming at MySql as I understood it shared the same 
end-user interface as MariaDB. I had originally aimed at MariaDB as a 
consultant for my church had created a web-page for us using WordPress 
which depends on MariaDB. My goal was to be able to do routine _content_ 
updates. Having worked for DEC in the 70's and heard war stories from 
senior field service supervisors, I was *NOT* about to apply any changes 
to a live website website without testing locally!


I don't have a strong preference for MySql over MariaDB. I need a 
tutorial valid for the version in the current repository.


Once burned, twice shy.

TIA



I now know that MariaDB 10.1 is what I should install and is the 
preferred release in the repository.


I went to the MariaDB homepage and followed links to 
[https://mariadb.com/kb/en/library/installing-mariadb-deb-files/].


It tries to be too many things for too many people
Along my convoluted path I came across a suggestion to use Synaptic and 
"just follow the prompts"(sic).


I'd like to know what the prompts will be so I can have thought out 
responses available. Some of my previous problems may have been due to 
blindly following prompts I didn't understand.


As it is a GUI ( not the command line ) I will not be able to use 
"script" to log exactly what happens. Is some log that will have the 
equivalent information so that when I get in trouble there will be an 
audit trail?








Re: Question about /proc/loadavg

2018-08-02 Thread Martin Drescher
Hi Andy,

Am 02.08.2018 um 13:01 schrieb Andy Smith:
> Hi Martin,
> 
> On Tue, Jul 31, 2018 at 09:31:42AM +0200, Martin Drescher wrote:
[...]
>> 4.9. It is not a real problem, that Debian is running well.
> 
> It is likely that the kernel's idea of what is a "runnable" process
> has changed since the vintage of the Red Hat kernel, compared to the
> kernel which Debian stable uses.
> 
> The Debian kernel will be much closer to upstream. The RHEL kernel
> will be much older with backports only of security issues and
> serious bugs. Tweaking of load average stats probably did not make
> the grade for a backport.

That is what I thought. What I'm struggling with is, how to set alert levels 
new deployed Debian machines compared to the older ones.
 
> Here is some more information about how Linux load average is
> calculated. This may help you to narrow down which processes are
> being considered differently between the two kernels.
> 
> 

That is a quite good source you're suggesting here, thanks!

> Cheers,
> Andy

That IS a good idea (did we talk before?): 30°C outside, 34°C in office: On my 
way to the Biergarten by now...
Cheers, Martin!




Please consider the environment,  ()
do you really need HTML email?/\




signature.asc
Description: OpenPGP digital signature


Re: A tutorial for MySql installation

2018-08-02 Thread Richard Owlett

On 08/02/2018 08:27 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Aug 02, 2018 at 08:20:08AM -0500, Richard Owlett wrote:

Some time ago failed to install MariaDB. I hadn't realized it was
tightly aimed at being on a network server.


The MariaDB server *is* conceptually a network server, as is the
MySQL server (but see below).


It was pointed out that MySql would be more suitable.


I don't understand this statement...


Nor did I :/
During my reading before attempting to install MariaDB it was either an 
enhanced MySql or a renaming to avoid confusion with something that 
didn't meet how Debian defines FOSS.





  I attempted to install it. It failed
due to reasons I don't recall. I suspect that part of the problem
was I was attempting to follow instructions aimed at an older
release of MySql.

I am running Debian 9 (just did a system upgrade from 9.0).
My hardware is a Thinkpad T510.
I am the only user with physical access to the machine.
I do *NOT* have any LAN software installed.


Note: Network and LAN are different things here. You don't
need a "running LAN" to have a (MariaDB, Mysql, PostgreSQL)
server running. But conceptually, they offer their services
at something which can be considered a network connection
(be it a local TCP/IP socket or a Unix domain socket).


That may have been the source of one set of problems. I couldn't see a 
distinction in the documentation between references that strictly 
applied to a network server and what applied to the database server.


Is there something focused on that topic. If it's explanation doesn't 
solve my comprehension problems, at least it would be common ground for 
me ask further intelligent questions.


IIRC there were two different types of accounts (and associated 
passwords) to be set up. I messed up and was unable to untangle the mess.





Is there a suitable tutorial for Debian 9 and whatever release of
MySql is in the repository?


MySQL and MariaDB shouldn't be very different in this respect,
I guess...


 I was aiming at MySql as I understood it shared the same 
end-user interface as MariaDB. I had originally aimed at MariaDB as a 
consultant for my church had created a web-page for us using WordPress 
which depends on MariaDB. My goal was to be able to do routine _content_ 
updates. Having worked for DEC in the 70's and heard war stories from 
senior field service supervisors, I was *NOT* about to apply any changes 
to a live website website without testing locally!


I don't have a strong preference for MySql over MariaDB. I need a 
tutorial valid for the version in the current repository.


Once burned, twice shy.

TIA




[RESEND] lxde error

2018-08-02 Thread 황병희
i'm new to debian. yesterday i did install debian on chromebook. i get
some error when i start lxde. attached file with error [1]. how can i
resolve it? 

$ lsb_release -d
Description:Debian GNU/Linux 8.11 (jessie)

$ uname -a
Linux localhost 3.18.0-14597-g61c88fee5b70 #1 SMP PREEMPT Thu Jul 13
12:01:12 PDT 2017 aarch64 GNU/Linux

$ dpkg -l | grep lxde
ii  lxde  6 
ii  lxde-common   0.99.0-1
ii  lxde-core 6  
ii  lxde-icon-theme   0.5.1-1
ii  task-lxde-desktop 3.31+deb8u1   

thanks,

[1]
https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg



Re: A tutorial for MySql installation

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

On Thu, Aug 02, 2018 at 08:20:08AM -0500, Richard Owlett wrote:
> Some time ago failed to install MariaDB. I hadn't realized it was
> tightly aimed at being on a network server.

The MariaDB server *is* conceptually a network server, as is the
MySQL server (but see below).

> It was pointed out that MySql would be more suitable.

I don't understand this statement...

>  I attempted to install it. It failed
> due to reasons I don't recall. I suspect that part of the problem
> was I was attempting to follow instructions aimed at an older
> release of MySql.
> 
> I am running Debian 9 (just did a system upgrade from 9.0).
> My hardware is a Thinkpad T510.
> I am the only user with physical access to the machine.
> I do *NOT* have any LAN software installed.

Note: Network and LAN are different things here. You don't
need a "running LAN" to have a (MariaDB, Mysql, PostgreSQL)
server running. But conceptually, they offer their services
at something which can be considered a network connection
(be it a local TCP/IP socket or a Unix domain socket).

> Is there a suitable tutorial for Debian 9 and whatever release of
> MySql is in the repository?

MySQL and MariaDB shouldn't be very different in this respect,
I guess...

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

iEQEARECAAYFAltjBtgACgkQBcgs9XrR2kYFJACYoJZWutiBM4npL6m5BzUt8xJW
CwCY1sWGm8WEDt1Lqn+q88S4Zu+MKQ==
=o4VZ
-END PGP SIGNATURE-



A tutorial for MySql installation

2018-08-02 Thread Richard Owlett
Some time ago failed to install MariaDB. I hadn't realized it was 
tightly aimed at being on a network server. It was pointed out that 
MySql would be more suitable. I attempted to install it. It failed due 
to reasons I don't recall. I suspect that part of the problem was I was 
attempting to follow instructions aimed at an older release of MySql.


I am running Debian 9 (just did a system upgrade from 9.0).
My hardware is a Thinkpad T510.
I am the only user with physical access to the machine.
I do *NOT* have any LAN software installed.

Is there a suitable tutorial for Debian 9 and whatever release of MySql 
is in the repository?


TIA




Surprises during upgrade using Synaptic

2018-08-02 Thread Richard Owlett

For the first time I did a system upgrade against the online repository.
In the past, due to local conditions, my upgrades were by doing a fresh 
install from purchased  DVD sets of latest point release.


I was greeted by list of locales to added or upgraded. Not seeing any 
possible harm I allowed it. I then got a screen asking to accept my 
current locale. If it already knew my locale, why didn't just initially 
ask if I wanted my current locale updated?


I was then greeted with choices to update several subsystems. I rather 
blindly accepted the recommendations. The explanations display seemed 
safe - would they be of use or just add bloat?


I found Synaptic's Help - un-helpful (didn't give enough info on what 
was happening). Is there a web page aimed at a beginner/intermediate 
user to understand what is happening?


TIA



Re: Kernel compilation problem

2018-08-02 Thread Taren

Correction:


The kernel version I'm using (which sees my 2.7T drives) is 4.9.0-7-amd, 
not 4.9.0.7.


I can provide the .config file for 4.17.11, if needed.

On 08/01/2018 11:37 PM, Taren wrote:
I'm running Stretch, with kernel 4.9.0.7, and am trying to compile a 
new kernel (preferably 4.17.11) into which I can boot.



The kernel builds successfully, but whenever I try booting into the 
new kernel, I end up in emergency mode, with the error



Unit dev-disk-by\x2duuid-.device has failed.

The result is timeout.


This device is anmd device, with two mirrors (each 2.7T in size). The 
submirrors are present when I boot into 4.9.0.7 (installed when the 
system was built).


However, they do not appear to be visible under any kernel which I 
build and try to boot into.



I've tried setting LBDAF in the kernel configuration, but that 
requires that a 32bit kernel be built (and x64 deselected), and I'm 
running on an AMD 8350 chip, which is x86_64.



Kernel 4.9.0.7 does not have LBDAF set (and x64 is set), yet it's able 
to see my 2.7T drives, and my raid device mounts with no problem.



Would someone point me in the correct direction for configuring a new 
kernel, so that my 2T+ drives are visible?



Thanks


Taren





Re: Question about /proc/loadavg

2018-08-02 Thread Andy Smith
Hi Martin,

On Tue, Jul 31, 2018 at 09:31:42AM +0200, Martin Drescher wrote:
> I'm running a bunch of HTTP servers, most of them running a RHEL
> 6, which is a kernel version 2.6. All patches applied, so that
> Meltdown and Spectre stuff should be included. Some of the servers
> where migrated to a Debian 9 with a kernel version 4.9, also all
> patches applied. What I see is a tremendous difference in
> /proc/loadavg. It is like 3 ~ 4 in kernel 2.6 and like 15 ~ 20 in
> 4.9. It is not a real problem, that Debian is running well.

It is likely that the kernel's idea of what is a "runnable" process
has changed since the vintage of the Red Hat kernel, compared to the
kernel which Debian stable uses.

The Debian kernel will be much closer to upstream. The RHEL kernel
will be much older with backports only of security issues and
serious bugs. Tweaking of load average stats probably did not make
the grade for a backport.

Here is some more information about how Linux load average is
calculated. This may help you to narrow down which processes are
being considered differently between the two kernels.



Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: a dh keys question?

2018-08-02 Thread Dan Purgert
Karen Lewellen wrote:
> There is no error at all in any way shape or form that I am given 
> indicating that there is a key range overflow.

Because you're either (a) not running the 'ssh' command with enough
verbosity to get the full error text, OR (b) your choice of tool simply
does not have the capability to print that verbosity.

The message you posted a few mails ago - "DH Key exchange failed" - is
nearly always because the two sides cannot agree on a key modulo.

> I have successfully reached  locations with various editions of openssh, 
> including in the 7 plus range...on a different port. 

And yet you've still provided no proof one way or the other.  We really
are trying to help you get to the bottom of this (or, well, at least I
was) -- but you're not exactly helping me help you.

> There are some indications likewise  that my isp indeed blocked port 22 
> and 
> 21 access for what they consider non standard applications i. e. Linux, 
> which  is not on my desktop, or DOS, which is on my desktop.

Given that port 22 is the standard port for SSH, I would be VERY
surprised that an ISP would get in the way of it.  I mean, sure, they
might've goofed - but if they were blocking it, you WOULD NOT be getting
far enough to have a diffie-hellman key exchange failure.  That's one of
the last parts of the handshake between an ssh server and ssh client ... 

> i cannot update what does not exist for me.
> I can however invest resources  where the solution  I have discovered
> does exist.

Well, since it seems you don't actually want help getting to the bottom
of the issue, good luck to you then.

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: [alert] 20356#20356: *17513 open socket Nginx

2018-08-02 Thread Gokan Atmaca
>
> 2018/08/02 10:05:13 [alert] 20356#20356: *17425 open socket #20 left
> in connection 112
> 2018/08/02 10:05:13 [alert] 20355#20355: *17285 open socket #94 left
> in connection 87
> 2018/08/02 10:05:13 [alert] 20356#20356: *17427 open socket #25 left
> in connection 113

Other problem:

[3744409.963342] TCP: request_sock_TCP: Possible SYN flooding on port
80. Sending cookies.  Check SNMP counters.
[3768838.719316] perf: interrupt took too long (5025 > 4991), lowering
kernel.perf_event_max_sample_rate to 39750





On Thu, Aug 2, 2018 at 12:12 PM, Gokan Atmaca  wrote:
> Hello
>
> I am using debian 9.4. I am using Nginx 1.10 and Php7.2. I'm getting
> mistakes like the following.
>
> 2018/08/02 10:05:13 [alert] 20356#20356: *17425 open socket #20 left
> in connection 112
> 2018/08/02 10:05:13 [alert] 20355#20355: *17285 open socket #94 left
> in connection 87
> 2018/08/02 10:05:13 [alert] 20356#20356: *17427 open socket #25 left
> in connection 113
>
> other error:
> 2018/08/02 10:04:47 [error] 20352#20352: *17128 upstream timed out
> (110: Connection timed out) while reading response header from
> upstream, client: 11.11.11.300, server: www.x.net, request: "GET
> /nowplaying/ HTTP/1.1", upstream:
> "fastcgi://unix:/var/run/php/php7.2-fpm.sock", host: "www.x.net",
> referrer: "http://www.x.net/;
>
> What can be the problem ?



Re: Quel debian sur un samsung 500T + tactile

2018-08-02 Thread andre_debian
On Wednesday 01 August 2018 11:29:23 Daniel Huhardeaux wrote:
> Le 31/07/2018 à 18:07, andre_deb...@numericable.fr a écrit :
> > Est-ce que Linux globalement fonctionne bien en mode tactile ?
> > J'avais un portable tactile Acer, il fonctionnait bien avec Windows-8,
> > mais pas trop avec Debian (bureau Trinity).

> Jamais eu de problème avec Ubuntu

Ubuntu n'est pas Debian.

Sans doute que ça dépend aussi du Bureau utilisé...



[alert] 20356#20356: *17513 open socket Nginx

2018-08-02 Thread Gokan Atmaca
Hello

I am using debian 9.4. I am using Nginx 1.10 and Php7.2. I'm getting
mistakes like the following.

2018/08/02 10:05:13 [alert] 20356#20356: *17425 open socket #20 left
in connection 112
2018/08/02 10:05:13 [alert] 20355#20355: *17285 open socket #94 left
in connection 87
2018/08/02 10:05:13 [alert] 20356#20356: *17427 open socket #25 left
in connection 113

other error:
2018/08/02 10:04:47 [error] 20352#20352: *17128 upstream timed out
(110: Connection timed out) while reading response header from
upstream, client: 11.11.11.300, server: www.x.net, request: "GET
/nowplaying/ HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php/php7.2-fpm.sock", host: "www.x.net",
referrer: "http://www.x.net/;

What can be the problem ?



Re: Trouble with multistrap and even apt-get

2018-08-02 Thread Zenaan Harkness
On Wed, Aug 01, 2018 at 02:50:14PM -0700, Tabor Kelly wrote:
> Hello,
> 
> What I really want is for this to work (it works without the --source-dir):
> 
> mkdir packages && multistrap -f /usr/share/multistrap/stretch.conf -d
> ./chroot --source-dir ./packages > multistrap_log.txt 2>&1
> 
> However, apt-get fails to find the source packages, but I can't figure
> out why. I copied /usr/sbin/multistrapand edited it to see that this is
> the command that is failing:
> 
> APT_CONFIG=/tmp/multistrap.I7F4HN apt-get  -o Apt::Architecture=amd64 -o
> Dir::Etc::TrustedParts=/work/multistrap.debug/chroot/etc/apt/trusted.gpg.d
> -o Dir::Etc::Trusted=/work/multistrap.debug/chroot/etc/apt/trusted.gpg
> -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o
> Dir=/work/multistrap.debug/chroot/ -o
> Dir::Etc=/work/multistrap.debug/chroot/etc/apt/ -o
> Dir::Etc::Parts=/work/multistrap.debug/chroot/etc/apt/apt.conf.d/ -o
> Dir::Etc::PreferencesParts=/work/multistrap.debug/chroot/etc/apt/preferences.d/
> -o APT::Default-Release='*' -o
> Dir::State=/work/multistrap.debug/chroot/var/lib/apt/ -o
> Dir::State::Status=/work/multistrap.debug/chroot/var/lib/dpkg/status -o
> Dir::Cache=/work/multistrap.debug/chroot/var/cache/apt/ -d source acl


The errors below seem to be hunting for "source" packages. Perhaps
you are missing an option to add apt sources for "source" packages?

(I haven't used multistrap sorry.)


...
> Reading package lists...
> E: Unable to find a source package for debian-archive-keyring
> Reading package lists...
> E: Unable to find a source package for debianutils
> Reading package lists...
> E: Unable to find a source package for diffutils
> Reading package lists...
> E: Unable to find a source package for dpkg
...
> Multistrap system installed successfully in /work/multistrap/chroot/.


> deb [arch=amd64] http://http.debian.net/debian stretch main
> deb-src http://http.debian.net/debian stretch main

Are these two lines part of the log, or did you add them to that log?


(Also, I recommend running an apt (or squid) proxy, so that you don't
 re-download packages unnecessarily.)


Good luck,



Re: update hell

2018-08-02 Thread Thomas D Dial
On Thu, 2018-08-02 at 13:32 +1200, Ben Caradoc-Davies wrote:
> On 02/08/18 13:05, Default User wrote:
> > So, if apt-get is for non-trivial upgrades, then why not for daily
> > use?

In my experience, major upgrades using aptitude sometimes get seriously
bogged down resolving dependencies, whereas apt-get and apt generally
run smoothly.

I also have found it generally works better to do apt-get upgrade
followed by apt-get dist-upgrade rather than trying to do it all in one
step, and that with rare exceptions, it all comes out right in the end,
although there occasionally are oopses that require a bit of additional
effort. If there are difference between apt-get and apt other than some
of the command names, I have not noticed them, and now generally use
apt.

Tom Dial

> I use it daily and for trivial upgrades.
> 
> > Not efficient to have multiple choices. Debian, please choose one
> > and
> > deprecate the others.
> 
> Debian is all about multiple choices. Debian tries to include
> everything 
> that meets the DFSG, from choice of init system, filesystems,
> servers, 
> to desktop. Debian is inclusive.
> 
> Choice reduces happiness:
> https://www.ted.com/talks/dan_gilbert_asks_why_are_we_happy
> 
> For enhanced new-user happiness, other distributions provide more 
> curated selections. Once users have become accustomed to a curated 
> subset, the breadth and flexibility of Debian makes it easy to
> reproduce 
> a selection found in a more limited distribution.
> 
> > I patiently await your hate mail.
> 
> You did not mention systemd; no hate mail for you!  ;-)
> 
> Kind regards,
> 



Re: update hell

2018-08-02 Thread Joe
On Wed, 1 Aug 2018 21:05:48 -0400
Default User  wrote:

> Deep thoughts:
> 
> Debian docs seem to say that apt-get is best for significant upgrades.
> 
> Why?

Because it handles large numbers of simultaneous package upgrades
better.

> 
> But that aptitude is best for daily package management.
> 
> Why?
> 

Because it has more intelligent dependency handling, and will offer
various partial solutions when apt-get will just want to remove large
numbers of packages. When faced with hundreds of packages to sort out
dependencies for, aptitude can take a very long time to find an
answer, by which I mean hours rather than minutes.

> So, if apt-get is for non-trivial upgrades, then why not for daily
> use?
> 
> And if aptitude is preferred for daily, use, why not for serious
> upgrades?
> 
> Not efficient to have multiple choices. Debian, please choose one and
> deprecate the others.
> 
> I patiently await your hate mail.
> 

It *is* efficient to have more than one alternative. It is not
efficient to have more than one *identical* alternative, and the
various Debian package tools are not identical. Should there be only
one web browser, only one email client, etc? Only one operating system?

-- 
Joe



Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-02 Thread Carles Pina i Estany


Hi,

On Aug/02/2018, Matthew Crews wrote:
> On 8/1/18 3:47 PM, Carles Pina i Estany wrote:
> > 
> > Hi,
> > 
> > I have a Debian Stretch and recently I added a new cyphered partition.
> > All works well but I don't understand why and it's bothering me.
> 
> *snip*
> 
> > A question would be:
> > a) How to enter the passphrase only once?
> > b) When/where (scripts) and how is the passphrase stored?
> 
> a) Short version:
> 
> Use LVM to set up your partitions. This can be done in the installer.
> Have your overall hierarchy look like this:

I might do it another time - is that I'm more familiar (for when things
go wrong, and only because I have more experience) with usual partition
and not LVM and serve my purpose. As said, I might use LVM another time
:-)

I was asking "how to enter the passphrase only once" only to understand
why I'm entering it twice and not three times :-)

[...]

> b) Read the manpage for cryptsetup. It has everything you need to
> understand how LUKS encryption works.

When I read it and also the initrd scripts I didn't understand why I
need to type it twice only when I was expecting three times... if I need
to read again some specific section let me know. I'll have another look
just in case.

Thanks for the other information! It might be handy at some point! :-)

-- 
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157



Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-02 Thread Carles Pina i Estany


Hi,

On Aug/01/2018, David Christensen wrote:
> On 08/01/2018 03:47 PM, Carles Pina i Estany wrote:
> > Hi,
> 
> Hello.  :-)
> 
> 
> > I have a Debian Stretch and recently I added a new cyphered partition.
> > All works well but I don't understand why and it's bothering me.
> > 
> > Setup:
> > $ cat /etc/crypttab
> > m2_root_crypt UUID=4e655198-a111-... none luks,discard
> > m2_swap_crypt UUID=56485640-8a04-... none luks,discard
> > ssd_dades_crypt UUID=8d1d855d-17a7-... none luks,discard
> > 
> > All three partitions have the same passphrase.
> > 
> > On restart I'm asked for two passwords:
> > m2_root_crypt
> > m2_swap_crypt
> 
> You should have set up your encrypted swap partition to use a random
> passphrase every boot.  (A side benefit is that you never have to enter a
> passphrase for swap.)

Well, I thought "I might do a later day" and "I can test hibernation
this way". I'm fine entering the password 3 times if needed, I don't
restart that often at all I use suspend.

> The Debian Installer for Stretch put the following line in my crypttab:
> 
> sda2_crypt /dev/sda2 /dev/urandom cipher=aes-xts-plain64,size=256,swap

thanks I'll test it some day for fun :-)

> I changed the source device field to point to a path under
> /dev/disk/by-id so that my swap partition is found even if the
> /dev/sd* entries change (which can happen when I move or add disks):
> 
> sda2_crypt /dev/disk/by-id/ata-INTEL_SSDSC2CW060A3_**-part2
> /dev/urandom cipher=aes-xts-plain64,size=256,swap
> 
> 
> > The question is:
> > "Please unlock disk m2_root_crypt:"
> > 
> > I expcted to write the password three times.
> 
> Given your crypttab, above, I agree that you should have to enter three
> passphrases.

this is what I'd like to know: why I need to enter the passphrase twice
and not three times.

> > My only theory is that after the root partition is decyphered it's also
> > mounted and then systemd-ask-password is used somehow (how?) and
> > --keyname= is used to "Configure a kernel keyring key name". I haven't
> > tested or seen scripts that do this.
> > 
> > I'm reading initrd scripts/local-top/cryptroot and bin/cryptoot-unlock
> > (where I can see the string "Please unlock disk") and I don't see
> > anything like this happening. Maybe initrd lib/cryptsetup/askpass is
> > doing it?
> > 
> > A question would be:
> > a) How to enter the passphrase only once?
> > b) When/where (scripts) and how is the passphrase stored?
> > 
> > This is just to know as the system is working perfectly.
> > 
> > Thanks for reading all of this!
> 
> My guess is that you made a mistake and stepped on your encrypted container
> (ssd_dades_crypt?) when you created the new file system.  Did you keep a
> copy of your console session?  Posting it would help.

Sadly I didn't keep a copy of my console session.

> Please run the following commands and post your console session (substitute
> DIR with the directory where your new file system is mounted):
> 
> # grep crypt /etc/fstab
> 
> # ll /dev/mapper
> 
> # mount | grep DIR

Commands and something extra:
root@pinux:~# grep crypt /etc/fstab 
/dev/mapper/m2_root_crypt   /   ext4errors=remount-ro 0 
  1
/dev/mapper/m2_swap_crypt   noneswapsw  0   0
/dev/mapper/ssd_dades_crypt /home/carles/dades  ext4
errors=remount-ro 0 1
root@pinux:~# ls -l /dev/mapper/
total 0
crw--- 1 root root 10, 236 ago  1 23:34 control
lrwxrwxrwx 1 root root   7 ago  1 23:34 m2_root_crypt -> ../dm-0
lrwxrwxrwx 1 root root   7 ago  1 23:34 m2_swap_crypt -> ../dm-1
lrwxrwxrwx 1 root root   7 ago  1 23:34 ssd_dades_crypt -> ../dm-2
root@pinux:~# mount | grep DIR
root@pinux:~# mount | grep dades
/dev/mapper/ssd_dades_crypt on /home/carles/dades type ext4 
(rw,relatime,errors=remount-ro,data=ordered)
root@pinux:~# free -m
  totalusedfree  shared  buff/cache   available
Mem:  11711 9698622 1422119   10286
Swap: 12285   0   12285
root@pinux:~# cat /proc/swaps 
FilenameTypeSizeUsedPriority
/dev/dm-1   partition   125808600   
-1
root@pinux:~# lsblk 
NAMEMAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda   8:00   477G  0 disk  
└─sda18:10   477G  0 part  
  └─ssd_dades_crypt 254:20   477G  0 crypt /home/carles/dades
sdb   8:16   0   477G  0 disk  
├─sdb18:17   0   190M  0 part  /boot
├─sdb28:18   0 1K  0 part  
├─sdb58:21   012G  0 part  
│ └─m2_swap_crypt   254:1012G  0 crypt [SWAP]
└─sdb68:22   0 464,8G  0 part  
  └─m2_root_crypt   254:00 464,8G  0 crypt /

As said, I just want to understand why I'm typing it twice and not three times
:)

Thanks for any ideas!

-- 
Carles Pina i Estany
Web: