Re: Disque Dur SSD

2019-01-26 Thread Basile Starynkevitch



On 1/24/19 9:04 PM, Daniel Caillibaud wrote:

Le 24/01/19 à 17:22, contact  a écrit :

Bonjour

retour d'expérience, j'ai un SSD avec tout dessus, sous Debian depuis 4
ans et je m'en sert quotidiennement sans aucun problèmes à ce jour.

Idem, et j'écris comme un goret sur le disque (dev nodeJs, donc tout de
temps en train d'installer / virer des modules avec leurs milliers de
fichiers, dump de bases à gogo pas tendre avec le disque, etc.), mais mon
disque actuel est pas si vieux

Bref, pour un usage de PC domestique un ssd devrait tenir des années, même
en usage intensif (ou pas, car ça reste faillible => sauvegardes
régulières).


D'accord avec vous deux. Je crois savoir qu'il est important de monter 
le SSD avec l'option discard qui n'est pas active par défaut. Par 
exemple mon /etc/fstab contient


# / was on /dev/sda1 during installation
UUID=371a29d9-f803-4f12-a113-f3592a60a9ea /   ext4 
errors=remount-ro,discard 0   1


et /dev/sda est un SSD, et j'ai du rajouter le discard à la main.

Cette option fait que le pilote prévient le SSD, par la technologie TRIM 
(cf https://en.wikipedia.org/wiki/Trim_(computing) ...) des secteurs 
libérés.


Par contre, j'ai entendu dire que, contrairement aux disques rotatifs 
mécaniques, un SSD tombe totalement en panne tout d'un coup. Alors qu'un 
disque mécanique donne souvent des signes de faiblesses avant la panne 
totale. Conséquemment, je sauvegarde automatiquement par un crontab 
toutes les données importantes vers un disque rotatatif.


Et ma partition de swap n'est pas sur SSD.


--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France



Re: USB hard drives -- recommendations?

2019-01-26 Thread Celejar
On Sat, 26 Jan 2019 03:15:37 +0500
"Alexander V. Makartsev"  wrote:

> On 26.01.2019 2:28, Celejar wrote:
> > On Sat, 26 Jan 2019 01:09:59 +0500
> > "Alexander V. Makartsev"  wrote:
> >
> > ...
> >
> >> If you value your data, my recommendation is to get inexpensive NAS with
> >> iSCSI, like Synology DS218j and run two disks in RAID1 for redundancy.
> >> This decision has many advantages, like:
> >> 1. You still will have your data even in case one drive fails or gets
> >> multiple bad blocks, so that 60Gb Virtual HD image will not turn out to
> >> be a punch card when you will try to use it as a backup.
> > RAID is for uptime, availability, performance - not ensuring the safety
> > of valuable data.
> >
> > https://www.raidisnotabackup.com/
> >
> > Backing up properly is the only way to safeguard valuable data. With
> > proper backups, your data will be safe with or without RAID. Without
> > proper backups, your data will not be safe with or without RAID.
> >
> > Celejar
> >
> >
> Well, James asked for advice on USB disk drive that will be used as
> storage for backups.

Ah, I think I misunderstood somewhat. I interpreted your recommendation
to mean a single copy of the data on the NAS, not that the NAS was a
backup target for data stored primarily somewhere else.

> It may seem like overkill, but I would prefer to be sure that my backups
> are safe and consistent, because there are many ways things could go wrong.
> 
> Speaking of RAID in general, I can see usefulness of URL you provided,
> but only as a guide to fight with "I have RAID, it works, so I can
> forget about it" kind of mentality of inexperienced people.
> Yes, backup is important, but it is also important to be sure that your
> backup will not fail you when you will need it the most, so using RAID
> with proper monitoring and servicing procedures is always better than
> just one drive.

Fair enough.

Celejar



[HS] Paris, débianiste cherche appartement

2019-01-26 Thread Pierre ESTREM

Bonjour à tous,

Totalement hors sujet hormis que je poste l'annonce pour un ami 
développeur debianiste et qu'il s'agit d'une urgence.


L'ami en question travaille à Paris dans le 15ème et il recherche au 
plus près un logement (chambre, studio...).
Si l'un(e) de vous aurez une connaissance louant ce type de logement, 
faites m'en part s'il vous plaît, je trensmettrais à cet ami.


Merci pour votre aide,
Pierre ESTREM



Re: Partition information as text file?

2019-01-26 Thread Felix Miata
Richard Owlett composed on 2019-01-26 15:10 (UTC-0600):

> Felix Miata wrote:

>> Richard Owlett composed on 2019-01-26 08:32 (UTC-0600):

>> I don't use a spreadsheet.

> I was using "spreadsheet" in the most possible generic way ;/

>>  http://fm.no-ip.com/Tmp/Dfsee/

>> http://fm.no-ip.com/Tmp/Dfsee/gb250L04.txt is from GPT partitioning for UEFI.

> I _quickly_ browsed those sites.
> I don't think they were attempting to *ANSWER* "my questions".

Those other than gb250L04.txt were examples of the realities reported by the 
logging processes,
while gb250L04.txt is one of the log remainders kept that comprise my actual 
inventory. That
directory is not my actual inventory.

> I'll attempt to redefine my problem.

> I have:
>multiple machines

As I, >25.

> each having
>multiple disks

Most of mine have but one. With three exceptions, those with more than one have 
more than one
because of RAID.

> each having
>multiple partitions.

Two of mine have more than 50, several more than 40, most between 12 and 30.

> I wish to inventory the above "conglomeration".

> I wish to to answer the question(s):
>How big is each
>How much is available

What's missing in what I keep is freespace available on filesystems, which I 
don't try to keep
track of, but the tool I use probably could include that as well. Unpartitioned 
space is as obvious
as partition sizes.
-- 
Evolution as taught in public schools is religion, not science.

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

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



Hey 

2019-01-26 Thread Ian Martin

Hi dear https://pusdissgicu1976.blogspot.hk/



Re: "Got notification..." message

2019-01-26 Thread songbird
Cindy-Sue Causey wrote:
...
> As an aside, I sent "ps aux" to a text file to easily view that first
> column. The file's only 165 lines long yet the PID column's last
> sequentially numbered entry at that second was "28909". That makes me
> curious as to how those are assigned. Were there that many processes
> that opened then closed when finished, or are there classes of PIDs
> that things fall into, or. :)

  PIDs are assigned when a new process is started, 
the range is between 0 and 32K with 0 and 1 being 
used by systemd or whatever init you are using.

  top is an interesting command to use along with
ps.


  songbird



Re: Partition information as text file?

2019-01-26 Thread Alexander V. Makartsev
On 27.01.2019 2:10, Richard Owlett wrote:
> On 01/26/2019 01:32 PM, Felix Miata wrote:
>> Richard Owlett composed on 2019-01-26 08:32 (UTC-0600):
>>
>>> I am attempting to create a spreadsheet to document the content of
>>> multiple disks of multiple machines.
>>
>>> Gparted displays the desired information.
>>> *HOWEVER* I see no way to capture the information.
>>
>>> At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives
>>> most of the desired information.
>>
>>> It omits partition size, used space, and unused space.
>>
>>> Suggestions?
>>
>> I don't use a spreadsheet.
>
> I was using "spreadsheet" in the most possible generic way ;/
>
>> I use the logs automatically created by the non-FOSS
>> partitioner I use, DFSee.
>
> My goal is more "report on reality" rather than "create a reality".
>
>> Various examples of its logs are here:
>>
>> http://fm.no-ip.com/Tmp/Dfsee/
>>
>> http://fm.no-ip.com/Tmp/Dfsee/gb250L04.txt is from GPT partitioning
>> for UEFI.
>
> I _quickly_ browsed those sites.
> I don't think they were attempting to *ANSWER* "my questions".
>
>>
>> The gb250 is the hostname. The L04 is serialization of the report's
>> creation. It's
>> content is reduced to that which I find useful data for tracking
>> what's where among
>> my 100+ disks.
>>
>> Sometimes I append output from lsblk or parted -l.
>>
>> hdparm and smartctl might also provide some of what you're looking for.
>>
>
> I'll attempt to redefine my problem.
>
> I have:
>   multiple machines
> each having
>   multiple disks
> each having
>   multiple partitions.
>
> I wish to inventory the above "conglomeration".
>
> I wish to to answer the question(s):
>   How big is each
>   How much is available
>
> OWL now DUCKS fer cover ;/
>
>
Maybe some non-standard utility will fulfill your needs? Try installing
"inxi" and type:
$ inxi -DRoplu

It has many options and also different output settings.

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



Re: docs for the vfd in a 6040 gantry mill

2019-01-26 Thread Gene Heskett
On Saturday 26 January 2019 10:43:31 Dan Ritter wrote:

> Gene Heskett wrote:
> > Greetings all;
> >
> >  I have received a file on this device, but only very scantily
> > converted to English. Perhaps enough to be helpfull if its docx
> > graphics were displayed properly. Nut LibreOffice does the worst
> > cockup of converting a docx to something usefull I've ever seen.
> >
> > Do we have anything better than LibreOffice to show us a .docx file?
>
> Not really, but LibreOffice 6 is significantly better than the 5
> which ships in Stretch. You'll need to get it from their site,
> but it does come in .deb format.
>
>
> -dsr-

And 6 is only in 64 bit format?  Nope, found x86 version. 6.1.4  Works 
some better, but scaleing and location of text marking signals is still 
way out of position with the line drawn gfx.

Someplace, there is a register or terminal to convert it from 10 volt to 
5 volt, but I can't find it.  Time to find a mesa spinx1 and insert it 
into the signal path I guess. Makes a 0-10 volt analog signal out of the 
average of the pwm.
 
My control runs at 98% PWM when I ask it for 24 thousand rpms, which is 
exactly correct. but feed that as a 0-5 volt signal, it only runs at 
about 5400 rpms, or nominally 24% of what its told. The spinx1 will need 
5 wires in the cable.  More fun and games...

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: Partition information as text file?

2019-01-26 Thread Richard Owlett

On 01/26/2019 01:32 PM, Felix Miata wrote:

Richard Owlett composed on 2019-01-26 08:32 (UTC-0600):


I am attempting to create a spreadsheet to document the content of
multiple disks of multiple machines.



Gparted displays the desired information.
*HOWEVER* I see no way to capture the information.



At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives
most of the desired information.



It omits partition size, used space, and unused space.



Suggestions?


I don't use a spreadsheet.


I was using "spreadsheet" in the most possible generic way ;/


I use the logs automatically created by the non-FOSS
partitioner I use, DFSee.


My goal is more "report on reality" rather than "create a reality".


Various examples of its logs are here:

http://fm.no-ip.com/Tmp/Dfsee/

http://fm.no-ip.com/Tmp/Dfsee/gb250L04.txt is from GPT partitioning for UEFI.


I _quickly_ browsed those sites.
I don't think they were attempting to *ANSWER* "my questions".



The gb250 is the hostname. The L04 is serialization of the report's creation. 
It's
content is reduced to that which I find useful data for tracking what's where 
among
my 100+ disks.

Sometimes I append output from lsblk or parted -l.

hdparm and smartctl might also provide some of what you're looking for.



I'll attempt to redefine my problem.

I have:
  multiple machines
each having
  multiple disks
each having
  multiple partitions.

I wish to inventory the above "conglomeration".

I wish to to answer the question(s):
  How big is each
  How much is available

OWL now DUCKS fer cover ;/







Re: "Got notification..." message

2019-01-26 Thread Cindy-Sue Causey
On 1/26/19, Cindy-Sue Causey  wrote:
> On 1/26/19, Pierre Frenkiel  wrote:
>> hi,
>> I just discovred today that I have every day, in syslog, more than 10
>> lines of message like:
>>
>>   inetd.service: Got notification message from PID 31376, but reception
>>   only permitted for main PID 10222
>>
>> (I didn't find any useful answer from Google)
>> I'm not aware of any not working program, but it's rather frustating, in
>> addition that syslog is unusually very big, every day.
>
>
< some rambling of my own snipped >
>
> So... maybe see if you can identify which two processes go by whatever
> numbers appear for the newest lines to see if those packages are still
> running. You *possibly* can do that very quickly by placing your
> newest numbers where I used "1136" in my example for terminal command
> "ps aux | grep 1136":
>
> $ ps aux | grep 1136
> candyca+  1136  0.0  0.4 297668  4684 ?Sl   Jan24   2:13
> /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py --tray
> candyca+ 25753  0.0  0.0   6384   796 pts/1S+   15:13   0:00 grep 1136


I had never tracked down what "ps" is. It's a snapshot of running
processes. Process snapshot. ps.

Found this in "man ps"

$ ps -q 1136 -o comm=

MUCH NICER. It presents this instead of all that excess feedback from "ps aux":

$ ps -q 1136 -o comm=
wicd-client

MUCH NICER. Much cleaner, much easier to grasp that particular
information when needed.

< whole bunch more of my own rambling snipped >

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

* runs with birdseed *



Re: "Got notification..." message

2019-01-26 Thread Cindy-Sue Causey
On 1/26/19, Pierre Frenkiel  wrote:
> hi,
> I just discovred today that I have every day, in syslog, more than 10
> lines of message like:
>
>   inetd.service: Got notification message from PID 31376, but reception
>   only permitted for main PID 10222
>
> (I didn't find any useful answer from Google)
> I'm not aware of any not working program, but it's rather frustating, in
> addition that syslog is unusually very big, every day.


This is coming from someone who was naive about this a half hour ago.
I knew UUID and UID were about identification so I searched "what is
pid identification linux".

Landed information that it's about "process identification"... so I
gave "ps aux" a shot by letting it run wide open. I wanted to see if
"ps" labels the columns. It does. Second column = PID.

The numbers there change CONSTANTLY depending on how we open and close
everything we do. That's another of those Life lessons learned on the
fly because things like PysolFC, Firefox, and Xfce4-terminal all
change for me constantly during each session. You always have to track
down that new number during those times you might have to do things
like... "kill". :D

The reason I'm saying that is because something else likely now bears
the numbers you shared.  It's further no shock that you couldn't find
an exact match online because that is VERY specific to your usage. If
you reboot after reading this. something else yet again possibly will
be represented by those same two figures *IF* they even appear at all.

So... maybe see if you can identify which two processes go by whatever
numbers appear for the newest lines to see if those packages are still
running. You *possibly* can do that very quickly by placing your
newest numbers where I used "1136" in my example for terminal command
"ps aux | grep 1136":

$ ps aux | grep 1136
candyca+  1136  0.0  0.4 297668  4684 ?Sl   Jan24   2:13
/usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py --tray
candyca+ 25753  0.0  0.0   6384   796 pts/1S+   15:13   0:00 grep 1136

Maybe, anyway. This is totally by the seat of my britches because no
one else had had a chance to answer yet. I'm bold in posting it
because it's actually working in a comprehensible way with my setup
here just this second. :)

That "reception only permitted for main" that you're seeing tells me
something's trying to share a message, sometimes simply an advisement
but also possibly a warning or error, in a way that it's not allowed
to do, but I'm not sure how *to attempt* to work through that without
knowing exactly what's involved.

My still naive reading of what you're seeing is that "PID 31376" is
trying to communicate with, hopefully just advise "inetd.service", but
whatever "PID 31376" is sending is only permitted to be used/accessed
by "PID 10222".

OR NOT, but that would be my first a-sumption if this had been found
on my machine. :)

As an aside, I sent "ps aux" to a text file to easily view that first
column. The file's only 165 lines long yet the PID column's last
sequentially numbered entry at that second was "28909". That makes me
curious as to how those are assigned. Were there that many processes
that opened then closed when finished, or are there classes of PIDs
that things fall into, or. :)

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

* runs with birdseed *



Re: Partition information as text file?

2019-01-26 Thread Felix Miata
Richard Owlett composed on 2019-01-26 08:32 (UTC-0600):

> I am attempting to create a spreadsheet to document the content of 
> multiple disks of multiple machines.

> Gparted displays the desired information.
> *HOWEVER* I see no way to capture the information.

> At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives 
> most of the desired information.

> It omits partition size, used space, and unused space.

> Suggestions?

I don't use a spreadsheet. I use the logs automatically created by the non-FOSS
partitioner I use, DFSee. Various examples of its logs are here:

http://fm.no-ip.com/Tmp/Dfsee/

http://fm.no-ip.com/Tmp/Dfsee/gb250L04.txt is from GPT partitioning for UEFI.

The gb250 is the hostname. The L04 is serialization of the report's creation. 
It's
content is reduced to that which I find useful data for tracking what's where 
among
my 100+ disks.

Sometimes I append output from lsblk or parted -l.

hdparm and smartctl might also provide some of what you're looking for.
-- 
Evolution as taught in public schools is religion, not science.

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

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



Re: Disque Dur SSD

2019-01-26 Thread Patrice Constans

*Bonsoir,**
**Ce qui serait encore plus cool serait que personne ne puisse, à 
l'ouverture de thunderbird, lire ou prendre connaissance d'un mail tant 
qu'il n'a pas saisi le bon mot de passe.**

**Bonne soirée à tous, Patrice.*

Le 25/01/2019 à 15:29, Cyrille Biot a écrit :

D'ailleurs si il y avait une fonction pour que thunderbird oublie les
mots de passe des boites mails avant d'hiberner / mettre en veille, ca
serait cool.

Avec pm-utils, il doit y avoir moyen de gérer cela, non ?
Il suffit de vider "vider" le fichier où ils sont stockés et de 
configurer ensuite les crochets de pm-utils




--
"Mai los ases son vièlhs, mai venon fats  !"

const...@univ-perp.fr

Patrice CONSTANS
Installations Informatiques
I.U.T. de Perpignan,
Dept. Statistique et Informatique Décisionnelle
11000 CARCASSONNE
Tel : 04 68 47 74 57
Fax : 04 68 47 71 63

ATTENTION Le message contenu dans cet email ainsi que dans tout fichier attaché 
est destiné exclusivement aux personnes dont le nom figure ci-dessus. Il peut 
contenir des informations confidentielles ou protégées par le secret 
professionnel et dont la divulgation est strictement prohibée. Si vous avez 
reçu cet email par erreur,détruisez-en le contenu. Vous n'êtes pas autorisé, 
dans cette hypothèse, à copier, distribuer ou conserver ce message. Merci.

WARNING This information in this mail and in any attachments is intended for 
the above-mentioned addressees only. It may contain privileged or confidential 
informationthe review, dissemination or disclosure of which is strictly 
prohibited. If you have received this email by error, please destroy it. In 
this case, you are not authorisedto disclose, copy, distribute, or retain this 
message or any part of it. Thank you.



Re: Apt Database

2019-01-26 Thread Jens Holzhäuser
On Sat, Jan 26, 2019 at 06:12:11PM +, J.Arun Mani wrote:
> Hello,
> Im developing a small graphical-application (based on Python) which helps in 
> user installing a software using Apt.
> I have been able to use Apt in Python using Subprocess module.

What's wrong with synaptic?

> Next question is regarding Database. Apt stores everything in a database, is 
> there any "technical" way to access it?

Maybe check out the python-apt package (I don't know it, I just googled
its existence).

Jens



Apt Database

2019-01-26 Thread J.Arun Mani
Hello,
Im developing a small graphical-application (based on Python) which helps in 
user installing a software using Apt.
I have been able to use Apt in Python using Subprocess module.

But the problem is, whenever we are installing or doing any activity, we would 
like to see its progress. So I want to set up a progress bar showing how much 
download has been completed. How can I do it? If it was simply downloading file 
from a link, we could do this by setting up chunk size, but Apt offers no such 
choice.

Or simply Im confused how to set up a progress bar whenever Apt downloads 
something. Do you have any solution?

Next question is regarding Database. Apt stores everything in a database, is 
there any "technical" way to access it?
Example- If I give this command-
$ apt recommends python
I get output something like this-
"Apt found the following packages as recommended:
XXX
YYY
ZZZ
You can install them by the following command-
apt install XXX YYY ZZZ
"
But I don't want such chatterbox replies. I want a specific fruitful reply
Like, it can give something like this;
"
{package:python, recommends:XXX, YYY, ZZZ}
"
This would be more useful and less buggy for coding in applications. Is there 
any way of getting something liks that? If not, then graphical packs like 
Synaptic are able to do it??

I KINDLY REQUEST FOR YOUR HELP AND HOPE MY QUESTIONS ARE CLEAR.

Thank You
J. Arun Mani

Re: Message FAILED au boot

2019-01-26 Thread ajh-valmer
> > Le samedi 26 janvier 2019, 12:37:35 CET ajh-valmer a écrit :
> > > Au boot de Stretch, juste après le boot de Grub,
> > > en 1ère ligne, j'ai un FAILED, en rouge et majuscules.
> > > Impossible de lire l'info, ça va trop vite.

On Saturday 26 January 2019 12:44:05 Jean-Michel OLTRA wrote:
> systemctl --failed ??? :
C'est un problème de connexion réseau.

> Le Sat, 26 Jan 2019   MERLIN Philippe  écrivait:
> J'ai déjà eu ce problème et la seule méthode que j'ai trouvé 
> est empirique, filmer avec un smartphone l'écran et repassé 
> au ralenti les messages :
Pas eu besoin, mais l'idée est à retenir :-)

On Saturday 26 January 2019 14:32:08 erwin wrote:
> J'ai aussi ce message dans les premières lignes: 
> il me semble que cela concerne la connexion au réseau. 
> Je me demande si ce n'est pas un problème de timing.

Effectivement, /etc/network/interfaces,
effacer les lignes "eth0" :
FAILED n'apparaît plus au boot.

Dommage que l'analyse des fichiers de logs ne
mentionne pas la ligne de ce failed.

En tout cas, merci de votre aide, résolu.



Re: USB hard drives -- recommendations?

2019-01-26 Thread Cindy-Sue Causey
On 1/25/19, Peter Ehlert  wrote:
> On 1/25/19 9:24 AM, James H. H. Lampert wrote:
>> Fellow List members:
>>
>> Would anybody care to voice an opinion on USB external hard drives in
>> the 2 terabyte size range, for automated backup purposes?
>>
>> We've been looking at the Seagate "Expansion" and the WD "Elements";
>> I've noticed that on Amazon, both have a fair number of negative
>> reviews citing reliability issues. (We recently discovered that our
>> current Seagate had apparently failed on us.)
>>
>> Any opinions? Seagate? WD? Toshiba? Something else?
>
>
> I avoid USB drives, in preference to internal drives... speed and security.
> When I use them I am extremely careful, because they all seem to have a
> spinning disk inside, not shock resistant, and subject to early failure
> due to heat.
> I do have several, but they are not what I really Trust to keep precious
> data.
>
> a separate box that is out of harm is best, even a separate low end
> computer to act as a storage device.
> syncthing is my tool of choice to sync from my laptop to a desktop
> then LuckyBackup on a schedule to Copy the sync folder into a second
> Storage drive.


I've gone the (open, not enclosed) external hard drive route. It's
what I'm using right now. It's a ~4-year-old single bay dock that
handles one 3TB WD fine but mounts and unmounts ENDLESSLY when another
of the exact same make/model is inserted.

The other hard drive feels like it's "swaying" this dock so the hard
drive must keep unseating itself or something. It was my
Life-on-the-fly ah-ha moment about why some of these things are rated
for no more than 2TB. Must be all about the physics of the (totally
cool) momentum going on inside those hard drive cases

Docks and similar are "hinky" at best. They have unreliable stability
regardless of the brand k/t one's environment's effect on that
external USB connection. In my case, it's a mix of my klutziness and
my dogs always clamoring around right next to me here as I type.

Brand-wise, I've used 3 hard drives mentioned here: HGST, Seagate, and
WD. All three have worked AMAZINGLY under the ongoing duress of
_extreme_ temperature _extremes_.

KNOCK ON WOOD, not one has ever had a hardware failure that was not
Human inflicted. ALL have been bottom dollar refurbished products.

Thanks to being a poverty level techie, my backup picks to date have
been about using a mix of docks and those $10 to $15 wired
contraptions that offer you the ability to dip back into your old PATA
hard drives. On a whim last year, I purchased one of those
contraptions for no reason. It became a $4.52 Lifesaver a few weeks
later.

I was able to use that contraption to yank a *PATA* hard drive from an
approximate 2002 Hewlett Packard laptop, install some Puppy Linux
friendly files, and get back to accessing the Net via (GACK!)
hsfmodem. Until that moment, "that other operating system" had been my
modem provider for years, but it finally met the match of someone able
to crack/hack into it and bring it to its knees.

All Linux now, baby, specifically thanks to that $4.52 spent on one of
the flakiest backup options possibly available

 BUT on the flipside, I have a heartbreaking, Life changing data loss
story related to that same kind of contraption six years ago. Moral of
the story for the archives: ONLY FOR EMERGENCIES, not daily use, but
it doesn't hurt to have one or two laying around just because they're
that cheap. Oh, and they DO actually work. :)

Turns out the contraption I bought is deemed a/an "HDD cable
converter". I call it girl's best friend forever:

https://www.newegg.com/Product/Product.aspx?Item=9SIABR04YT8223

That was bought while researching going the server route. I don't
fully understand RAID (yet?), but I do keep hearing about problems
with users losing data when something inevitably crashes.

Those same data losses occur regularly with USB connections. I
mitigate by consciously, regularly unmounting then remounting
partitions like my massive photography backups after new data has been
included. May be a false sense of security, but I haven't noticed any
important data loss ever since pursuing that route toward data
protection.

A server type setup could be better (less flakily) hardwired than USB.
That's my interest in it. Prices are *almost* attainable at literally
abject poverty level so surely they're accessible to anyone anywhere
outside that demographic.

Even if a final server choice's hardwire connector is something not
available on a favored laptop or "pad" whoosie-what's-it, there seems
to be no end to the type of 99 cent adapters available to work around
that setback. That CHOICE can open up its own can of worms with
respect to flaky connections that inevitably lead to data loss, but
anyway. :)

PS I was just looking at that converter listing one more time before
sending this off. $4.52 a while back, and there they claim "No limit
on hard drive capacity".

That's going to at least in part be about that sway 

Re: Enet names

2019-01-26 Thread David Wright
On Sat 26 Jan 2019 at 06:44:07 (-0500), rhkra...@gmail.com wrote:
> On Saturday, January 26, 2019 06:18:59 AM Pascal Hambourg wrote:
> > Network interfaces are not character nor block devices and do not have
> > nodes in /dev.
> > 
> > Reverting to the "natural" kernel names has issues : interface names may
> > not be persistent and change across reboots. More details following the
> > link provided by Alexander.
> 
> Hmm, from the peanut gallery (and, at this time in the morning, pretty much 
> non-thinking (if I ever do ;-) (And I'm not the OP.): does that violate / 
> disprove the Linux meme that "everything is a file"?

As far as the user is concerned, isn't that what sockets are for?
I assume it would be pointless for the kernel to expose an actual
stream of bytes to anything but itself.

Cheers,
David.



Re: docs for the vfd in a 6040 gantry mill

2019-01-26 Thread John Hasler
apt-cache search docx
returns

antiword - Converts MS Word files to text, PS, PDF and XML
okular-backend-odt - Okular backend for ODT documents
docx2txt - Convert Microsoft OOXML files to plain text
pandoc - general markup converter
tea - graphical text editor with syntax highlighting

Look at the descriptions to see if any might be useful.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Boot fails unless nomodeset is set

2019-01-26 Thread Robert Pommrich
Am 23.01.19 um 16:56 schrieb Felix Miata:
> Robert Pommrich composed on 2019-01-23 15:58 (UTC+0100):
> 
>> I checked and indeed found it a Richland one.
> 
>> But no combination of radeon.si_support and amdgpu.si_support helped.
> ...
>>Display Server: X.Org 1.19.2 drivers: ati,radeon (unloaded:
>> modesetting,fbdev,vesa)
> ...
>>Resolution: 1920x1080@60.00hz, 1280x1024@60.02hz
> 
>> VGA-0 connected 1280x1024+1920+0 (normal left inverted right x axis y
>> axis) 338mm x 270mm
> 
>> Any other ideas?
> 
> You're using the ati/radeon driver. Have you tried the modesetting? Either 
> specify modesetting in
> /etc/X11/xorg.conf.d/50-device.conf, or purge xserver-xorg-video-ati & 
> xserver-xorg-video-radeon.
> 

I configured modesetting as driver:

# cat /etc/X11/xorg.conf.d/50-device.conf
Section "Device"
  Identifier "AMD"
  Driver "modesetting"
EndSection

It is used now:

# inxi -GxxSM
System:Host: schmiede Kernel: 3.16.0-6-amd64 x86_64 (64 bit gcc:
4.9.2) Desktop: Awesome 4.0 dm: lightdm
   Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: desktop Mobo: MSI model: FM2-A75IA-E53 (MS-7792) v:
1.0 BIOS: American Megatrends v: V2.2 date: 07/10/2013
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD
8570D] bus-ID: 00:01.0 chip-ID: 1002:990e
   Display Server: X.Org 1.19.2 driver: modesetting Resolution:
1920x1080@60.00hz, 1280x1024@60.02hz
   GLX Renderer: AMD ARUBA (DRM 2.39.0 / 3.16.0-6-amd64, LLVM 6.0.0)
   GLX Version: 3.1 Mesa 18.2.8 Direct Rendering: Yes


But my machine is still rebooting hard with kernels higher than 3.16.

Any other ideas?

Best
Robert



systemd-journald failed to open runtime journal

2019-01-26 Thread Liam Morland
Hello,

Recently, I have been getting floaded with console messages like this:

systemd-journald failed to open runtime journal: cannot allocate memory

Rebooting puts a stop to it for a few hours. Even when the messages are 
coming up, /proc/meminfo does not appear to show a lack of memory.

Does anyone have any idea what is happening?

Linux burns 4.19.0-1-686-pae #1 SMP Debian 4.19.12-1 (2018-12-22) i686 GNU/Linux
systemd 240-4
Debian buster/sid

Thanks,
Liam

-- 
Liam MorlandCanadian Scouting Camps Directory
https://Liam.Morland.ca/https://ScoutDocs.ca/Camps/



Re: policykit polkit me crée des soucis

2019-01-26 Thread Daniel Huhardeaux

Le 26/01/2019 à 17:27, MERLIN Philippe a écrit :

Le samedi 26 janvier 2019, 15:18:08 CET Daniel Huhardeaux a écrit :

Le 26/01/2019 à 15:06, MERLIN Philippe a écrit :

Le samedi 26 janvier 2019, 14:40:45 CET Daniel Huhardeaux a écrit :

Le 26/01/2019 à 12:03, MERLIN Philippe a écrit :

Bonjour,





Tout d'abord gparted est une application qui se lance par le menu KDE et
je ne suis pas  tout à fait d'accord la fenêtre qui s'ouvre demande
expressément le mot de passe de root.


Dans ce cas je pense que le problème peut venir du fait que l'entrée
attendue est à faire avec un clavier QWERTY

Daniel

Tout d'abord, merci pour la réponse.
Cela pouvait être une bonne idée, j'ai essayé malheureusement j'ai eu le
message "Échec de l'authentification" .


Tu n'as pas dit ce qui se passait lorsque tu saisissais le mot de passe 
root ? Même message ? Que disent les logs ?



Je ne sais pas ou cherché .
Es ce normal que le répertoire /etc/polkit-1/localauthority n'est lisible que
par root ?


rwx soit 700


Tous les répertoires sous localauthority toujours sous etc sont vides ?


Oui. Je n'ai que (dans /localauthority.conf.d)

50-localauthority.conf
51-debian-sudo.conf

et (dans nullbackend.conf.d)

50-nullbackend.conf

Daniel



"Got notification..." message

2019-01-26 Thread Pierre Frenkiel

hi,
I just discovred today that I have every day, in syslog, more than 10
lines of message like:

 inetd.service: Got notification message from PID 31376, but reception
 only permitted for main PID 10222

(I didn't find any useful answer from Google)
I'm not aware of any not working program, but it's rather frustating, in
addition that syslog is unusually very big, every day.

best regards,
--
Pierre Frenkiel



Re: Partition information as text file?

2019-01-26 Thread David Wright
On Sat 26 Jan 2019 at 08:32:28 (-0600), Richard Owlett wrote:
> I am attempting to create a spreadsheet to document the content of
> multiple disks of multiple machines.
> 
> Gparted displays the desired information.
> *HOWEVER* I see no way to capture the information.
> 
> At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives
> most of the desired information.
> 
> It omits partition size, used space, and unused space.
> 
> Suggestions?

Just remove the g[nome] from the command name.

# parted -l
Model: ATA ST500LX005-1CW16 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End SizeFile system Name  
Flags
 1  1049kB  1050MB  1049MB  ntfsBasic data partition  
hidden, diag
 2  1050MB  1322MB  273MB   fat32   EFI system partition  
boot, hidden, esp
 3  1322MB  2371MB  1049MB  fat32   Basic data partition  
hidden
 4  2371MB  2505MB  134MB   Microsoft reserved partition  
msftres
 5  2505MB  178GB   175GB   ntfsBasic data partition  
msftdata
 6  178GB   220GB   41.9GB  ext4Linux-A
 7  220GB   262GB   41.9GB  ext4Linux-B
 8  262GB   452GB   191GB   Linux-Home
 9  452GB   452GB   8389kB  Linux-BIOS-Boot   
bios_grub
10  452GB   457GB   4502MB  linux-swap(v1)  Linux-Swap
11  457GB   457GB   367MB   ntfs  
hidden, diag
12  457GB   458GB   1074MB  ntfsBasic data partition  
msftdata
13  458GB   485GB   26.8GB  ntfsBasic data partition  
msftdata
14  485GB   500GB   15.1GB  ntfsBasic data partition  
hidden, diag

If you want a lot more information than is there, one method is:

$ for j in /sys/class/block/* ; do udevadm info "$j" ; done | less

but it will need parsing before you can can dump any of it in a
spreadsheet. (And note that the output is not in sequence because
of globbing.)

Cheers,
David.



Re: policykit polkit me crée des soucis

2019-01-26 Thread contact

François-Marie BILLARD
Le 26/01/2019 à 17:27, MERLIN Philippe a écrit :

Le samedi 26 janvier 2019, 15:18:08 CET Daniel Huhardeaux a écrit :

Le 26/01/2019 à 15:06, MERLIN Philippe a écrit :

Le samedi 26 janvier 2019, 14:40:45 CET Daniel Huhardeaux a écrit :

Le 26/01/2019 à 12:03, MERLIN Philippe a écrit :

Bonjour,

Tout d'abord gparted est une application qui se lance par le menu KDE et
je ne suis pas  tout à fait d'accord la fenêtre qui s'ouvre demande
expressément le mot de passe de root.

Dans ce cas je pense que le problème peut venir du fait que l'entrée
attendue est à faire avec un clavier QWERTY

Daniel

Tout d'abord, merci pour la réponse.
Cela pouvait être une bonne idée, j'ai essayé malheureusement j'ai eu le
message "Échec de l'authentification" .
Je ne sais pas ou cherché .
Es ce normal que le répertoire /etc/polkit-1/localauthority n'est lisible que
par root ?
Tous les répertoires sous localauthority toujours sous etc sont vides ?
Philippe Merlin




Bonjour

sous stretch le dit fichier à les droits comme ceci :


drwx--   7 root root  4096 oct.   9 2015 localauthority


François-Marie




Re: Partition information as text file?

2019-01-26 Thread Pascal Hambourg

Le 26/01/2019 à 17:28, Richard Owlett a écrit :

On 01/26/2019 09:45 AM, Pascal Hambourg wrote:

Le 26/01/2019 à 16:12, Richard Owlett a écrit :

On 01/26/2019 08:36 AM, Jude DaShiell wrote:

lsblk >>lsblk.txt


I had misinterpreted "SIZE  size of the device" in the response
to "lsblk --help". I did not equate "device" to "partition".

But I still need to know how much of each partition is used/unused.


Usually, all of a partition is used.


HUH??
Either we are using terms differently OR I'm weird OR both ;


Probably. When you write "partition", you actually mean "filesystem".
These are two distinct things. A partition is just a raw block device 
which does not know what is is used for. A filesystem is a data structure.


I'm explicitly wish the information Gparted displays for each partition 
of a physical device.


The column titles are "Partition", "File System", "Label", "Size", 
"Used", "Unused", and "Flags".


I need all but the last as text.

And Gparted has no problem displaying the information independent of 
being mounted or not.


Yes it does. I have seen it display wrong size information about 
unmounted partitions.




Re: Partition information as text file?

2019-01-26 Thread Richard Owlett

On 01/26/2019 09:45 AM, Pascal Hambourg wrote:

Le 26/01/2019 à 16:12, Richard Owlett a écrit :

On 01/26/2019 08:36 AM, Jude DaShiell wrote:

lsblk >>lsblk.txt


I had misinterpreted "SIZE  size of the device" in the response
to "lsblk --help". I did not equate "device" to "partition".

But I still need to know how much of each partition is used/unused.


Usually, all of a partition is used.


HUH??
Either we are using terms differently OR I'm weird OR both ;

I'm explicitly wish the information Gparted displays for each partition 
of a physical device.


The column titles are "Partition", "File System", "Label", "Size", 
"Used", "Unused", and "Flags".


I need all but the last as text.

And Gparted has no problem displaying the information independent of 
being mounted or not.


If the partition contains a 
filesystem, swap area, RAID member or LVM physical volume, these data 
structures use all the partition space. How much of the space within the 
data structure is used is outside the scope of the partition level and 
requires tools specific to the data structure type.


Note that df can show only the used space of mounted filesystems and is 
not always accurate (btrfs).










Re: policykit polkit me crée des soucis

2019-01-26 Thread MERLIN Philippe
Le samedi 26 janvier 2019, 15:18:08 CET Daniel Huhardeaux a écrit :
> Le 26/01/2019 à 15:06, MERLIN Philippe a écrit :
> > Le samedi 26 janvier 2019, 14:40:45 CET Daniel Huhardeaux a écrit :
> >> Le 26/01/2019 à 12:03, MERLIN Philippe a écrit :
> >>> Bonjour,
> >> 
>
> > Tout d'abord gparted est une application qui se lance par le menu KDE et
> > je ne suis pas  tout à fait d'accord la fenêtre qui s'ouvre demande
> > expressément le mot de passe de root.
> 
> Dans ce cas je pense que le problème peut venir du fait que l'entrée
> attendue est à faire avec un clavier QWERTY
> 
> Daniel
Tout d'abord, merci pour la réponse.
Cela pouvait être une bonne idée, j'ai essayé malheureusement j'ai eu le 
message "Échec de l'authentification" .
Je ne sais pas ou cherché .
Es ce normal que le répertoire /etc/polkit-1/localauthority n'est lisible que 
par root ?
Tous les répertoires sous localauthority toujours sous etc sont vides ?
Philippe Merlin





Re: Enet names

2019-01-26 Thread tomas
On Sat, Jan 26, 2019 at 06:44:07AM -0500, rhkra...@gmail.com wrote:
> On Saturday, January 26, 2019 06:18:59 AM Pascal Hambourg wrote:
> > Network interfaces are not character nor block devices and do not have
> > nodes in /dev.

[...]

> Hmm, from the peanut gallery (and, at this time in the morning, pretty much 
> non-thinking (if I ever do ;-) (And I'm not the OP.): does that violate / 
> disprove the Linux meme that "everything is a file"?

Yes.

Try Plan9 if you want to come closer to that ideal.

Cheers
-- t


signature.asc
Description: Digital signature


Re: Enet names

2019-01-26 Thread mick crane

On 2019-01-25 18:19, ghe wrote:

Buster, computer with MAC identified Ethernet ports

Is there a way to relabel Ethernet ports? Without changing things in a
number of config files?

I see on the web that changing udev used to do that, but now there are
at least 2 files to modify.

I'm gently moving to a new ISP, and I'm trying to set up new, virtual 
IP

addresses on my Enet ports. Webmin tells me that enp0s31f6 is too long.
I could do it in /etc/network/interfaces, but Webmin does all that 
quite

painlessly. Without typos.

I'd like to replace the /dev/random names with something understandable
to a mortal.

I was thinking of creating an alias in /dev pointing eth0 at enp0s31f6.
But where to put it? .bashrc would be convenient, but it'd be too late.
In an init file? Is the s.*d word going to do init files forever?


I read the otherday that you can do that in grub

https://www.itzgeek.com/how-tos/linux/debian/change-default-network-name-ens33-to-old-eth0-on-debian-9.html

never tried

mick


--
Key ID4BFEBB31



Re: Partition information as text file?

2019-01-26 Thread Pascal Hambourg

Le 26/01/2019 à 16:12, Richard Owlett a écrit :

On 01/26/2019 08:36 AM, Jude DaShiell wrote:

lsblk >>lsblk.txt


I had misinterpreted "SIZE  size of the device" in the response
to "lsblk --help". I did not equate "device" to "partition".

But I still need to know how much of each partition is used/unused.


Usually, all of a partition is used. If the partition contains a 
filesystem, swap area, RAID member or LVM physical volume, these data 
structures use all the partition space. How much of the space within the 
data structure is used is outside the scope of the partition level and 
requires tools specific to the data structure type.


Note that df can show only the used space of mounted filesystems and is 
not always accurate (btrfs).




Re: docs for the vfd in a 6040 gantry mill

2019-01-26 Thread Dan Ritter
Gene Heskett wrote: 
> Greetings all;
> 
>  I have received a file on this device, but only very scantily converted 
> to English. Perhaps enough to be helpfull if its docx graphics were 
> displayed properly. Nut LibreOffice does the worst cockup of converting 
> a docx to something usefull I've ever seen.
> 
> Do we have anything better than LibreOffice to show us a .docx file?

Not really, but LibreOffice 6 is significantly better than the 5
which ships in Stretch. You'll need to get it from their site,
but it does come in .deb format.


-dsr-



docs for the vfd in a 6040 gantry mill

2019-01-26 Thread Gene Heskett
Greetings all;

 I have received a file on this device, but only very scantily converted 
to English. Perhaps enough to be helpfull if its docx graphics were 
displayed properly. Nut LibreOffice does the worst cockup of converting 
a docx to something usefull I've ever seen.

Do we have anything better than LibreOffice to show us a .docx file?

Thanks everybody.

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: Partition information as text file?

2019-01-26 Thread Richard Owlett

On 01/26/2019 08:36 AM, Jude DaShiell wrote:

lsblk >>lsblk.txt


I had misinterpreted "SIZE  size of the device" in the response
to "lsblk --help". I did not equate "device" to "partition".

But I still need to know how much of each partition is used/unused.



On Sat, 26 Jan 2019, Richard Owlett wrote:


Date: Sat, 26 Jan 2019 09:32:28
From: Richard Owlett 
To: debian-user 
Subject: Partition information as text file?
Resent-Date: Sat, 26 Jan 2019 14:33:38 + (UTC)
Resent-From: debian-user@lists.debian.org

I am attempting to create a spreadsheet to document the content of multiple
disks of multiple machines.

Gparted displays the desired information.
*HOWEVER* I see no way to capture the information.

At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives most of
the desired information.

It omits partition size, used space, and unused space.

Suggestions?
TIA










Re: Partition information as text file?

2019-01-26 Thread Paul Sutton
I had misinterpreted "SIZE  size of the device" in the response
> to "lsblk --help". I did not equate "device" to "partition".
>
> But I still need to know how much of each partition is used/unused.
>
>
Hi

df -h gives you that info

Filesystem  Size  Used Avail Use% Mounted on
udev    1.5G 0  1.5G   0% /dev
tmpfs   299M  4.6M  294M   2% /run
/dev/sda1    28G  9.0G   18G  35% /

Hope this helps


Paul


>
-- 
Paul Sutton
http://www.zleap.net
https://www.linkedin.com/in/zleap/
Twitter : @zleap2018



signature.asc
Description: OpenPGP digital signature


Re: Partition information as text file?

2019-01-26 Thread Jude DaShiell
lsblk >>lsblk.txt
On Sat, 26 Jan 2019, Richard Owlett wrote:

> Date: Sat, 26 Jan 2019 09:32:28
> From: Richard Owlett 
> To: debian-user 
> Subject: Partition information as text file?
> Resent-Date: Sat, 26 Jan 2019 14:33:38 + (UTC)
> Resent-From: debian-user@lists.debian.org
>
> I am attempting to create a spreadsheet to document the content of multiple
> disks of multiple machines.
>
> Gparted displays the desired information.
> *HOWEVER* I see no way to capture the information.
>
> At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives most of
> the desired information.
>
> It omits partition size, used space, and unused space.
>
> Suggestions?
> TIA
>
>
>

-- 



Partition information as text file?

2019-01-26 Thread Richard Owlett
I am attempting to create a spreadsheet to document the content of 
multiple disks of multiple machines.


Gparted displays the desired information.
*HOWEVER* I see no way to capture the information.

At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives 
most of the desired information.


It omits partition size, used space, and unused space.

Suggestions?
TIA




Re: policykit polkit me crée des soucis

2019-01-26 Thread Daniel Huhardeaux

Le 26/01/2019 à 15:06, MERLIN Philippe a écrit :

Le samedi 26 janvier 2019, 14:40:45 CET Daniel Huhardeaux a écrit :

Le 26/01/2019 à 12:03, MERLIN Philippe a écrit :

Bonjour,


Bonjour


Je suis en Sid Kde AMD64 et j'ai des soucis avec l'authentification du mot
de passe de root avec polkit.
Je prends un exemple qui montre le problème,  je suis  un utilisateur sans
privilège et je veux utiliser l'application gparted il me demande le mot
de
passe de root que je lui donne mais il n'est pas reconnu. Pourquoi ?


Je suppose que sudo est utilisé, il faut donc saisir le mot de passe de
l'utilisateur, pas celui de root.


Tout d'abord gparted est une application qui se lance par le menu KDE et je ne
suis pas  tout à fait d'accord la fenêtre qui s'ouvre demande expressément le
mot de passe de root.


Dans ce cas je pense que le problème peut venir du fait que l'entrée 
attendue est à faire avec un clavier QWERTY


Daniel



Re: policykit polkit me crée des soucis

2019-01-26 Thread MERLIN Philippe
Le samedi 26 janvier 2019, 14:40:45 CET Daniel Huhardeaux a écrit :
> Le 26/01/2019 à 12:03, MERLIN Philippe a écrit :
> > Bonjour,
> 
> Bonjour
> 
> > Je suis en Sid Kde AMD64 et j'ai des soucis avec l'authentification du mot
> > de passe de root avec polkit.
> > Je prends un exemple qui montre le problème,  je suis  un utilisateur sans
> > privilège et je veux utiliser l'application gparted il me demande le mot
> > de
> > passe de root que je lui donne mais il n'est pas reconnu. Pourquoi ?
> 
> Je suppose que sudo est utilisé, il faut donc saisir le mot de passe de
> l'utilisateur, pas celui de root.
> 
Tout d'abord gparted est une application qui se lance par le menu KDE et je ne 
suis pas  tout à fait d'accord la fenêtre qui s'ouvre demande expressément le 
mot de passe de root.
Merci.
Philippe Merlin







Re: policykit polkit me crée des soucis

2019-01-26 Thread Daniel Huhardeaux

Le 26/01/2019 à 12:03, MERLIN Philippe a écrit :

Bonjour,


Bonjour


Je suis en Sid Kde AMD64 et j'ai des soucis avec l'authentification du mot de
passe de root avec polkit.
Je prends un exemple qui montre le problème,  je suis  un utilisateur sans
privilège et je veux utiliser l'application gparted il me demande le mot de
passe de root que je lui donne mais il n'est pas reconnu. Pourquoi ?


Je suppose que sudo est utilisé, il faut donc saisir le mot de passe de 
l'utilisateur, pas celui de root.



A l'avance je réponds le mot de passe est correct et il marche très bien si
j'ouvre une fenêtre Konsole et je tape su -.


Ici c'est bien le mot de passe root à saisir.


Ce problème apparaît dans d'autres cas et même punition.
En examinant j'ai remarqué que le répertoire /etc/polkit-1/localauthority
n'est accessible que par root pas de droits de lecture par groupe ou Autres es
ce normal.
J'ai cherché sur Google mais je n'ai pas trouvé la solution ni un post parlant
de ce problème.
A l'avance merci pour vos suggestions.
Philippe Merlin



Daniel



Re: Message FAILED au boot

2019-01-26 Thread erwin
Le Sat, 26 Jan 2019 14:10:23 +0100
MERLIN Philippe  écrivait:

> Le samedi 26 janvier 2019, 12:37:35 CET ajh-valmer a écrit :
> > Bonjour,
> > 
> > Au boot de Stretch, juste après le boot de Grub,
> > en 1ère ligne, j'ai un FAILED, en rouge et majuscules.
> > Impossible de lire l'info, ça va trop vite.
> > 
J'ai aussi ce message dans les premières lignes: il me semble que cela concerne 
la connexion au réseau.
Je me demande si ce n'est pas un problème de timing.
Erwin



Re: Message FAILED au boot

2019-01-26 Thread MERLIN Philippe
Le samedi 26 janvier 2019, 12:37:35 CET ajh-valmer a écrit :
> Bonjour,
> 
> Au boot de Stretch, juste après le boot de Grub,
> en 1ère ligne, j'ai un FAILED, en rouge et majuscules.
> Impossible de lire l'info, ça va trop vite.
> 
> J'ai tenté :
> dmesg | grep FAILED
> cat /var/log/messages | grep FAILED
> cat /var/log/boot | grep FAILED
> réponse vide.
> 
> Comment prendre connaissance de ce FAILED ?
> 
> Merci.
> 
> A. Valmer

J'ai déjà eu ce problème et la seule méthode que j'ai trouvé est empirique , 
filmer avec un smartphone l'écran et repassé au ralenti les messages.
Philippe MERLIN




Re: Message FAILED au boot

2019-01-26 Thread Jean-Michel OLTRA


Bonjour,


Le samedi 26 janvier 2019, ajh-valmer a écrit...


> Au boot de Stretch, juste après le boot de Grub,
> en 1ère ligne, j'ai un FAILED, en rouge et majuscules.
> Impossible de lire l'info, ça va trop vite.

> Comment prendre connaissance de ce FAILED ?

systemctl --failed ???

-- 
jm



Re: Enet names

2019-01-26 Thread rhkramer
On Saturday, January 26, 2019 06:18:59 AM Pascal Hambourg wrote:
> Network interfaces are not character nor block devices and do not have
> nodes in /dev.
> 
> Reverting to the "natural" kernel names has issues : interface names may
> not be persistent and change across reboots. More details following the
> link provided by Alexander.

Hmm, from the peanut gallery (and, at this time in the morning, pretty much 
non-thinking (if I ever do ;-) (And I'm not the OP.): does that violate / 
disprove the Linux meme that "everything is a file"?



Message FAILED au boot

2019-01-26 Thread ajh-valmer
Bonjour,

Au boot de Stretch, juste après le boot de Grub,
en 1ère ligne, j'ai un FAILED, en rouge et majuscules.
Impossible de lire l'info, ça va trop vite.

J'ai tenté :
dmesg | grep FAILED
cat /var/log/messages | grep FAILED
cat /var/log/boot | grep FAILED
réponse vide.

Comment prendre connaissance de ce FAILED ?

Merci.

A. Valmer



Re: Enet names

2019-01-26 Thread Pascal Hambourg

Le 25/01/2019 à 19:19, ghe a écrit :

Buster, computer with MAC identified Ethernet ports

Is there a way to relabel Ethernet ports? Without changing things in a
number of config files?


Short answare : no.


I'm gently moving to a new ISP, and I'm trying to set up new, virtual IP
addresses on my Enet ports. Webmin tells me that enp0s31f6 is too long.


Then Webmin is broken. It should accept any interface name that the 
kernel accepts.



I could do it in /etc/network/interfaces, but Webmin does all that quite
painlessly. Without typos.


Not so painlessly, according to the above, if it forces you to change 
interface names.



I'd like to replace the /dev/random names with something understandable
to a mortal.


enp0s31f6 is not random at all, rather the opposite ; it is a 
(supposedly) predictable naming scheme based on the hardware topology :


en = ethernet (wl would stand for wireless)
p0 = PCI bus 0
s31 = slot 31 (no physical slot if embedded on the motherboard)
f6 = function 6 in the device

I wrote "supposedly" because, unfortunately, on some motherboards it has 
been reported that PCI bus or slot numbers may change when another PCI 
device is added or removed.



I was thinking of creating an alias in /dev pointing eth0 at enp0s31f6.


Network interfaces are not character nor block devices and do not have 
nodes in /dev.


Reverting to the "natural" kernel names has issues : interface names may 
not be persistent and change across reboots. More details following the 
link provided by Alexander.




policykit polkit me crée des soucis

2019-01-26 Thread MERLIN Philippe
Bonjour,
Je suis en Sid Kde AMD64 et j'ai des soucis avec l'authentification du mot de 
passe de root avec polkit.
Je prends un exemple qui montre le problème,  je suis  un utilisateur sans 
privilège et je veux utiliser l'application gparted il me demande le mot de 
passe de root que je lui donne mais il n'est pas reconnu. Pourquoi ? 
A l'avance je réponds le mot de passe est correct et il marche très bien si 
j'ouvre une fenêtre Konsole et je tape su -.
Ce problème apparaît dans d'autres cas et même punition.
En examinant j'ai remarqué que le répertoire /etc/polkit-1/localauthority 
n'est accessible que par root pas de droits de lecture par groupe ou Autres es 
ce normal.
J'ai cherché sur Google mais je n'ai pas trouvé la solution ni un post parlant 
de ce problème.
A l'avance merci pour vos suggestions.
Philippe Merlin





Re: Debian em Blade com storage

2019-01-26 Thread Helio Loureiro
Use openstack ou kubernetes se for possível trabalhar só com containers.

OpenStack tem suporte à containers também mas nunca testei.  Dá trabalho
instalar e configurar mas o resultado compensa.

Promox é coisa pequena.  Serve pra solução caseira.

./helio

On Wed, Jan 23, 2019, 21:31 Sandro  Pessoal , muito boa tarde !! Gostaria de saber a opiniao dos senhores
> quanto a instalação
> de Sistema em um parque de servidores;
> Tenho um Blade com 3 laminas Dell Power Edge R630 de 128 GB Ram cada e um
> storage
> HP 3par de 96 Teras. Gostaria de colocar essas 3 laminas em cluster e
> estou pensando no Debian ou Proxmox, gostaria de saber a opiniao dos
> senhores
> Abs
> --
> Sandro Alves
>
>
>


Re: MariaDB: Repair by sorting

2019-01-26 Thread Helio Loureiro
Com 43k registros devia ter levado só alguns segundos.  Olha nos logs que
deve estar dando erro em algo como lock na tabela pra fazer a alteração.

./helio

On Wed, Jan 16, 2019, 16:09 Ednardo Lobo  Tenho uma tabela (t1) com 42.890 registros e necessitei inserir uma nova
> coluna a ela da seguinte forma: ALTER TABLE t1 ADD COLUMN c4 char(40).
> Entretanto, já se completaram 24 horas e o comando ainda encontra-se em
> processamento, veja:
>
> root# mysqladmin processlist
>
>
> +--+-+---+---+--+
> | db   | Command | Time  | State | Info
>
>
> +--+-+---+---+--+
> | mysql_64 | Query   | 84176 | Repair by sorting | ALTER TABLE t1 ADD
> COLUMN c4 char(40)|
>
> +--+-+---+---+--+
>
> A tabela não está corrompida, pois verifiquei antes.
>
> Estou utilizando o MariaDB 10.1.37-MariaDB-0+deb9u1 Debian 9.6.
>
> Agradeço qualquer sugestão,
>
> --
>  Ednardo Lobo
>
>  LOBO's NET: www.lobosnet.com | eboleto: www.eboleto.com
>
>  +55 62   3202-2571
>  +55 62 9 8158-9632 (whatsapp)
>
>


Re: Enet names

2019-01-26 Thread Alexander V. Makartsev
On 26.01.2019 4:58, ghe wrote:
> On 1/25/19 1:47 PM, Étienne Mollier wrote:
>
>> My apologies, on rereading I realize it is unclear that both
>> assertions (modifying Grub entries or creating a systemd link)
>> are two separate distinct solutions.
> Very little prob. Doing vi /etc/default/grub, vi
> /etc/network/interfaces, update-grub, reboot works great. It took me
> only a few hours to put the Ethernet interfaces back to intelligible.
>
> Thanks much for the directions.
>
> Futzing with systemd makes one wonder what MS has on some of the Linux
> system programmers.
>
I recommend you to read through this article to understand rationale
behind changes "that dreaded, terrible and complicated systemd" has
implemented. [1]
I'm sure you will understand that there is a possibility "net.ifnames=0"
approach will come back some time later to bite you.
If you have several interfaces and their names will be randomly changed
at some point, you will end up at least with non functional interfaces
and\or iptables rules.
So I advise you to use more robust, manageable and simple link-file
approach and use your personal naming scheme. [2]

[1]
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
[2] https://www.freedesktop.org/software/systemd/man/systemd.link.html

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



Re: missing avidemux Debian package

2019-01-26 Thread deloptes
Andrea Borgia wrote:

> Noted, as this tip would have been very useful a few weeks ago :P
> Anyhow, I moved to "testing" so this is probably an issue solved for good.

Well, I hope it will not be the last one for you :)
Read the upgrade notes from Debian - saved me many troubles and I know
people have problems with multimedia, but I think it is possible to solve
them easily if you are experienced.

regards




Re: missing avidemux Debian package

2019-01-26 Thread Andrea Borgia

Il 25/01/19 19:44, deloptes ha scritto:


# dpkg --get-selections before upgrade (is in the upgrade notes AFAIR > and 
then need to reinstall packages that are kept back. when reinstalling
they pull the right dependencies. Indeed it is a bit of work ... like
20-30min, but upgrade is done every 3-4y, so ...


Noted, as this tip would have been very useful a few weeks ago :P
Anyhow, I moved to "testing" so this is probably an issue solved for good.

Regards,
Andrea.



Re: Enet names

2019-01-26 Thread deloptes
ghe wrote:

> Futzing with systemd makes one wonder what MS has on some of the Linux
> system programmers.

:D